== sanity-dom test sanityn: Run sanityn with Data-on-MDT files ========================================================== 10:57:54 (1713279474) excepting tests: 28 102 skipping tests SLOW=no: 33a === sanityn: start setup 10:57:57 (1713279477) === Starting client oleg404-client.virtnet: -o user_xattr,flock oleg404-server@tcp:/lustre /mnt/lustre2 Started clients oleg404-client.virtnet: 192.168.204.104@tcp:/lustre on /mnt/lustre2 type lustre (rw,checksum,flock,user_xattr,lruresize,lazystatfs,nouser_fid2path,verbose,noencrypt,statfs_project) oleg404-client.virtnet: executing check_config_client /mnt/lustre oleg404-client.virtnet: Checking config lustre mounted on /mnt/lustre Checking servers environments Checking clients oleg404-client.virtnet environments Using TIMEOUT=20 osc.lustre-OST0000-osc-ffff8800ac356000.idle_timeout=debug osc.lustre-OST0000-osc-ffff88012c7dd000.idle_timeout=debug osc.lustre-OST0001-osc-ffff8800ac356000.idle_timeout=debug osc.lustre-OST0001-osc-ffff88012c7dd000.idle_timeout=debug disable quota as required oleg404-server: oleg404-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all === sanityn: finish setup 10:58:03 (1713279483) === 1+0 records in 1+0 records out 1048576 bytes (1.0 MB) copied, 0.01058 s, 99.1 MB/s running as uid/gid/euid/egid 500/500/500/500, groups: [true] running as uid/gid/euid/egid 500/500/500/500, groups: [touch] [/mnt/lustre/d0_runas_test/f9208] debug_raw_pointers=Y debug_raw_pointers=Y == sanityn test 1: Check attribute updates on 2 mount points ========================================================== 10:58:04 (1713279484) /mnt/lustre/f1.sanityn has type file OK /mnt/lustre/f1.sanityn has perms 0777 OK /mnt/lustre/f1.sanityn has type file OK /mnt/lustre/f1.sanityn has perms 0666 OK /mnt/lustre/f1.sanityn: absent OK PASS 1 (2s) debug_raw_pointers=1 debug_raw_pointers=1 debug_raw_pointers=Y debug_raw_pointers=Y == sanityn test 2a: check cached attribute updates on 2 mtpt's ================================================================== 10:58:07 (1713279487) -rw-r--r-- 1 root root 0 Apr 16 10:58 /mnt/lustre2/f2a /mnt/lustre/f2a has type file OK /mnt/lustre/f2a has perms 0777 OK PASS 2a (2s) debug_raw_pointers=1 debug_raw_pointers=1 debug_raw_pointers=Y debug_raw_pointers=Y == sanityn test 2b: check cached attribute updates on 2 mtpt's ================================================================== 10:58:11 (1713279491) -rw-r--r-- 1 root root 0 Apr 16 10:58 /mnt/lustre2/f2b /mnt/lustre2/f2b has type file OK /mnt/lustre2/f2b has perms 0777 OK PASS 2b (2s) debug_raw_pointers=1 debug_raw_pointers=1 debug_raw_pointers=Y debug_raw_pointers=Y == sanityn test 2c: check cached attribute updates on 2 mtpt's root ============================================================= 10:58:15 (1713279495) /mnt/lustre2 has type dir OK /mnt/lustre2 has perms 0777 OK PASS 2c (2s) debug_raw_pointers=1 debug_raw_pointers=1 debug_raw_pointers=Y debug_raw_pointers=Y == sanityn test 2d: check cached attribute updates on 2 mtpt's root ============================================================= 10:58:19 (1713279499) /mnt/lustre2 has type dir OK /mnt/lustre2 has perms 0755 OK PASS 2d (2s) debug_raw_pointers=1 debug_raw_pointers=1 debug_raw_pointers=Y debug_raw_pointers=Y == sanityn test 2e: check chmod on root is propagated to others ========================================================== 10:58:22 (1713279502) total 201 -rwxrwxrwx 1 root root 0 Apr 16 10:58 f2a -rwxrwxrwx 1 root root 0 Apr 16 10:58 f2b -rw-r--r-- 1 root root 57761 Apr 16 10:50 ffsx.sanity-dom -rw-r--r-- 1 root root 0 Apr 16 10:50 ffsx.sanity-dom.fsxgood -rw-r--r-- 1 root root 74152 Apr 16 10:50 ffsx.sanity-dom.fsxlog total 201 -rwxrwxrwx 1 root root 0 Apr 16 10:58 f2a -rwxrwxrwx 1 root root 0 Apr 16 10:58 f2b -rw-r--r-- 1 root root 57761 Apr 16 10:50 ffsx.sanity-dom -rw-r--r-- 1 root root 0 Apr 16 10:50 ffsx.sanity-dom.fsxgood -rw-r--r-- 1 root root 74152 Apr 16 10:50 ffsx.sanity-dom.fsxlog running as uid/gid/euid/egid 500/500/500/500, groups: [dd] [if=/dev/zero] [of=/mnt/lustre2/f2e.sanityn] [count=1] 1+0 records in 1+0 records out 512 bytes (512 B) copied, 0.00161073 s, 318 kB/s PASS 2e (2s) debug_raw_pointers=1 debug_raw_pointers=1 debug_raw_pointers=Y debug_raw_pointers=Y == sanityn test 2f: check attr/owner updates on DNE with 2 mtpt's ========================================================== 10:58:26 (1713279506) SKIP: sanityn test_2f needs >= 2 MDTs SKIP 2f (1s) debug_raw_pointers=1 debug_raw_pointers=1 debug_raw_pointers=Y debug_raw_pointers=Y == sanityn test 2g: check blocks update on sync write ==== 10:58:28 (1713279508) 2+0 records in 2+0 records out 2097152 bytes (2.1 MB) copied, 0.112951 s, 18.6 MB/s /mnt/lustre/f2g.sanityn has 4109 blocks /mnt/lustre2/f2g.sanityn has 4109 blocks PASS 2g (2s) debug_raw_pointers=1 debug_raw_pointers=1 debug_raw_pointers=Y debug_raw_pointers=Y == sanityn test 4: fstat validation on multiple mount points ==================================================================== 10:58:32 (1713279512) PASS 4 (3s) debug_raw_pointers=1 debug_raw_pointers=1 debug_raw_pointers=Y debug_raw_pointers=Y == sanityn test 5: create a file on one mount, truncate it on the other ========================================================== 10:58:36 (1713279516) /mnt/lustre/f5 has type file OK /mnt/lustre/f5 has size 100 OK PASS 5 (1s) debug_raw_pointers=1 debug_raw_pointers=1 debug_raw_pointers=Y debug_raw_pointers=Y == sanityn test 6: remove of open file on other node ============================================================================ 10:58:39 (1713279519) opening writing unlinking /mnt/lustre2/f6.sanityn accessing (1) seeking (1) accessing (2) fstat... reading comparing data truncating seeking (2) writing again seeking (3) reading again comparing data again closing SUCCESS - goto beer PASS 6 (2s) debug_raw_pointers=1 debug_raw_pointers=1 debug_raw_pointers=Y debug_raw_pointers=Y == sanityn test 7: remove of open directory on other node ======================================================================= 10:58:43 (1713279523) creating directory /mnt/lustre/d7 opening directory unlinking /mnt/lustre/d7 Ok, everything goes well. PASS 7 (1s) debug_raw_pointers=1 debug_raw_pointers=1 debug_raw_pointers=Y debug_raw_pointers=Y == sanityn test 8: remove of open special file on other node ==================================================================== 10:58:46 (1713279526) creating special file /mnt/lustre/f8.sanityn opening file unlinking /mnt/lustre/f8.sanityn Ok, everything goes well. PASS 8 (2s) debug_raw_pointers=1 debug_raw_pointers=1 debug_raw_pointers=Y debug_raw_pointers=Y == sanityn test 9a: append of file with sub-page size on multiple mounts ========================================================== 10:58:50 (1713279530) PASS 9a (1s) debug_raw_pointers=1 debug_raw_pointers=1 debug_raw_pointers=Y debug_raw_pointers=Y == sanityn test 9b: append to striped sparse file ======== 10:58:53 (1713279533) 1+0 records in 1+0 records out 1048576 bytes (1.0 MB) copied, 0.0102151 s, 103 MB/s 3+0 records in 3+0 records out 3 bytes (3 B) copied, 0.0218983 s, 0.1 kB/s Data read (expecting 'foo'): foo PASS 9b (1s) debug_raw_pointers=1 debug_raw_pointers=1 debug_raw_pointers=Y debug_raw_pointers=Y == sanityn test 10a: write of file with sub-page size on multiple mounts ========================================================== 10:58:56 (1713279536) 1+0 records in 1+0 records out 1 byte (1 B) copied, 0.00128078 s, 0.8 kB/s 1+0 records in 1+0 records out 1 byte (1 B) copied, 0.00217017 s, 0.5 kB/s 1+0 records in 1+0 records out 1 byte (1 B) copied, 0.0026717 s, 0.4 kB/s 1+0 records in 1+0 records out 1 byte (1 B) copied, 0.00206598 s, 0.5 kB/s 1+0 records in 1+0 records out 1 byte (1 B) copied, 0.00211866 s, 0.5 kB/s 1+0 records in 1+0 records out 1 byte (1 B) copied, 0.00237846 s, 0.4 kB/s 1+0 records in 1+0 records out 1 byte (1 B) copied, 0.00217974 s, 0.5 kB/s 1+0 records in 1+0 records out 1 byte (1 B) copied, 0.002117 s, 0.5 kB/s 1+0 records in 1+0 records out 1 byte (1 B) copied, 0.00199672 s, 0.5 kB/s 1+0 records in 1+0 records out 1 byte (1 B) copied, 0.0021071 s, 0.5 kB/s 1+0 records in 1+0 records out 1 byte (1 B) copied, 0.00255363 s, 0.4 kB/s 1+0 records in 1+0 records out 1 byte (1 B) copied, 0.00228188 s, 0.4 kB/s PASS 10a (2s) debug_raw_pointers=1 debug_raw_pointers=1 debug_raw_pointers=Y debug_raw_pointers=Y == sanityn test 10b: write of file with sub-page size on multiple mounts ========================================================== 10:58:59 (1713279539) 1+0 records in 1+0 records out 3072 bytes (3.1 kB) copied, 0.00175468 s, 1.8 MB/s 1+0 records in 1+0 records out 4096 bytes (4.1 kB) copied, 0.00680267 s, 602 kB/s 1+0 records in 1+0 records out 3072 bytes (3.1 kB) copied, 0.000186452 s, 16.5 MB/s PASS 10b (2s) debug_raw_pointers=1 debug_raw_pointers=1 debug_raw_pointers=Y debug_raw_pointers=Y == sanityn test 11: execution of file opened for write should return error ============================================================== 10:59:02 (1713279542) multiop /mnt/lustre/d11/f vO_c TMPPIPE=/tmp/multiop_open_wait_pipe.9208 /home/green/git/lustre-release/lustre/tests/sanityn.sh: line 301: /mnt/lustre2/d11/f: Text file busy PASS 11 (2s) debug_raw_pointers=1 debug_raw_pointers=1 debug_raw_pointers=Y debug_raw_pointers=Y == sanityn test 12: test lock ordering (link, stat, unlink) ========================================================== 10:59:06 (1713279546) warning: '-runtime' deprecated, use '-t runtime' instead - link 3634 (time 1713279556.73 total 10.00 last 363.36) - link 8902 (time 1713279566.73 total 20.00 last 526.74) - link 14511 (time 1713279576.73 total 30.00 last 560.85) - link 19896 (time 1713279586.73 total 40.00 last 538.50) - link 25387 (time 1713279596.73 total 50.00 last 549.07) - link 29291 (time 1713279606.73 total 60.01 last 390.29) - link 32993 (time 1713279616.73 total 70.01 last 370.10) - link 36762 (time 1713279626.74 total 80.01 last 376.89) - link 40000 (time 1713279635.11 total 88.39 last 386.46) - link 43855 (time 1713279645.11 total 98.39 last 385.48) total: 44475 link in 100.00 seconds: 444.74 ops/second using seed 2456087254 running for 100 seconds - stat 3835 (time 1713279558 ; total 11 ; last 11) - stat 10000 (time 1713279563 ; total 16 ; last 5) - stat 20000 (time 1713279573 ; total 26 ; last 10) - stat 30000 (time 1713279583 ; total 36 ; last 10) - stat 40000 (time 1713279593 ; total 46 ; last 10) - stat 48657 (time 1713279604 ; total 57 ; last 11) - stat 50000 (time 1713279606 ; total 59 ; last 2) - stat 57221 (time 1713279617 ; total 70 ; last 11) - stat 60000 (time 1713279621 ; total 74 ; last 4) - stat 66962 (time 1713279632 ; total 85 ; last 11) - stat 70000 (time 1713279636 ; total 89 ; last 4) - stat 77317 (time 1713279647 ; total 100 ; last 11) total: 77318 stats in 100 seconds: 773.179993 stats/second - unlinked 0 (time 1713279597 ; total 0 ; last 0) - unlinked 10000 (time 1713279646 ; total 49 ; last 49) - unlinked 20000 (time 1713279681 ; total 84 ; last 35) - unlinked 30000 (time 1713279705 ; total 108 ; last 24) - unlinked 40000 (time 1713279733 ; total 136 ; last 28) unlink(/mnt/lustre2/lockdir/lockfile44475) error: No such file or directory total: 44474 unlinks in 147 seconds: 302.544220 unlinks/second /home/green/git/lustre-release/lustre/tests/lockorder.sh: line 77: kill: (24159) - No such process /home/green/git/lustre-release/lustre/tests/lockorder.sh: line 78: kill: (24161) - No such process PASS 12 (199s) debug_raw_pointers=1 debug_raw_pointers=1 debug_raw_pointers=Y debug_raw_pointers=Y == sanityn test 14aa: execution of file open for write returns -ETXTBSY ========================================================== 11:02:27 (1713279747) multiop /mnt/lustre/d14aa.sanityn/f14aa.sanityn vOw_c TMPPIPE=/tmp/multiop_open_wait_pipe.9208 /home/green/git/lustre-release/lustre/tests/sanityn.sh: line 336: /mnt/lustre2/d14aa.sanityn/f14aa.sanityn: Text file busy /home/green/git/lustre-release/lustre/tests/test-framework.sh: line 4697: 25063 Terminated $MULTIOP_PROG $FILE v$ARGS > $TMPPIPE (wd: ~) PASS 14aa (1s) debug_raw_pointers=1 debug_raw_pointers=1 debug_raw_pointers=Y debug_raw_pointers=Y == sanityn test 14ab: open(RDWR) of executing file returns -ETXTBSY ========================================================== 11:02:30 (1713279750) open(O_RDWR|O_CREAT): Text file busy /home/green/git/lustre-release/lustre/tests/test-framework.sh: line 4697: 25801 Terminated $DIR1/$tdir/sleep 60 (wd: ~) PASS 14ab (2s) debug_raw_pointers=1 debug_raw_pointers=1 debug_raw_pointers=Y debug_raw_pointers=Y == sanityn test 14b: truncate of executing file returns -ETXTBSY ================================================================ 11:02:35 (1713279755) truncate: cannot truncate '/mnt/lustre2/d14b.sanityn/sleep' to length 60: Text file busy /home/green/git/lustre-release/lustre/tests/sanityn.sh: line 351: 26539 Terminated $DIR1/$tdir/sleep 60 PASS 14b (2s) debug_raw_pointers=1 debug_raw_pointers=1 debug_raw_pointers=Y debug_raw_pointers=Y == sanityn test 14c: open(O_TRUNC) of executing file return -ETXTBSY ============================================================ 11:02:38 (1713279758) cp: cannot create regular file '/mnt/lustre2/d14c.sanityn/sleep': Text file busy /home/green/git/lustre-release/lustre/tests/sanityn.sh: line 363: 27278 Terminated $DIR1/$tdir/sleep 60 PASS 14c (2s) debug_raw_pointers=1 debug_raw_pointers=1 debug_raw_pointers=Y debug_raw_pointers=Y == sanityn test 14d: chmod of executing file is still possible ================================================================== 11:02:42 (1713279762) chmod /home/green/git/lustre-release/lustre/tests/sanityn.sh: line 374: 28017 Terminated $DIR1/$tdir/sleep 60 PASS 14d (2s) debug_raw_pointers=1 debug_raw_pointers=1 debug_raw_pointers=Y debug_raw_pointers=Y == sanityn test 17: resource creation/LVB creation race ========================================================================= 11:02:46 (1713279766) fail_loc=0x8000030a PASS 17 (4s) debug_raw_pointers=1 debug_raw_pointers=1 debug_raw_pointers=Y debug_raw_pointers=Y == sanityn test 19: test concurrent uncached read races ========================================================================= 11:02:52 (1713279772) oleg404-server: error: get_param: param_path 'osd-*/lustre-MDT*/read_cache_enable': No such file or directory pdsh@oleg404-client: oleg404-server: ssh exited with exit code 2 SKIP: sanityn test_19 not cache-capable obdfilter SKIP 19 (1s) debug_raw_pointers=1 debug_raw_pointers=1 debug_raw_pointers=Y debug_raw_pointers=Y == sanityn test 20: test extra readahead page left in cache ============================================================== 11:02:55 (1713279775) PASS 20 (2s) debug_raw_pointers=1 debug_raw_pointers=1 debug_raw_pointers=Y debug_raw_pointers=Y == sanityn test 23: others should see updated atime while another read============================================================== 11:02:59 (1713279779) now is 1713279780 starting reads multiop /mnt/lustre/f23.sanityn vor20_c TMPPIPE=/tmp/multiop_open_wait_pipe.9208 new atime is 1713279841 PASS 23 (64s) debug_raw_pointers=1 debug_raw_pointers=1 debug_raw_pointers=Y debug_raw_pointers=Y == sanityn test 27: align non-overlapping extent locks from request ============================================================= 11:04:05 (1713279845) 4+0 records in 4+0 records out 16793600 bytes (17 MB) copied, 0.221707 s, 75.7 MB/s dd 1 started dd 2 started 1+0 records in 1+0 records out 15728640 bytes (16 MB) copied, 0.182932 s, 86.0 MB/s 1+0 records in 1+0 records out 8192 bytes (8.2 kB) copied, 0.00696139 s, 1.2 MB/s dd 3 finished PASS 27 (5s) debug_raw_pointers=1 debug_raw_pointers=1 debug_raw_pointers=Y debug_raw_pointers=Y == sanityn test 39a: file mtime does not change after rename ========================================================== 11:04:12 (1713279852) repeat after cancel_lru_locks PASS 39a (3s) debug_raw_pointers=1 debug_raw_pointers=1 debug_raw_pointers=Y debug_raw_pointers=Y == sanityn test 39b: file mtime the same on clients with/out lock ========================================================== 11:04:17 (1713279857) repeat after cancel_lru_locks PASS 39b (3s) debug_raw_pointers=1 debug_raw_pointers=1 debug_raw_pointers=Y debug_raw_pointers=Y == sanityn test 39c: check truncate mtime update ================================================================================ 11:04:22 (1713279862) repeat after cancel_lru_locks PASS 39c (3s) debug_raw_pointers=1 debug_raw_pointers=1 debug_raw_pointers=Y debug_raw_pointers=Y == sanityn test 39d: sync write should update mtime ====== 11:04:27 (1713279867) fail_loc=0x411 fail_loc=0 PASS 39d (2s) debug_raw_pointers=1 debug_raw_pointers=1 debug_raw_pointers=Y debug_raw_pointers=Y == sanityn test 51a: layout lock: refresh layout should work ========================================================== 11:04:32 (1713279872) 0+1 records in 0+1 records out 159 bytes (159 B) copied, 0.00654988 s, 24.3 kB/s /home/green/git/lustre-release/lustre/tests/sanityn.sh: line 3445: kill: (3666) - No such process PASS 51a (4s) debug_raw_pointers=1 debug_raw_pointers=1 debug_raw_pointers=Y debug_raw_pointers=Y == sanityn test 51c: layout lock: IT_LAYOUT blocked and correct layout can be returned ========================================================== 11:04:38 (1713279878) fail_loc=0x172 Setting layout to have 2 stripes ... 1+0 records in 1+0 records out 1024 bytes (1.0 kB) copied, 0.00730548 s, 140 kB/s PASS 51c (7s) debug_raw_pointers=1 debug_raw_pointers=1 debug_raw_pointers=Y debug_raw_pointers=Y == sanityn test 51d: layout lock: losing layout lock should clean up memory map region ========================================================== 11:04:47 (1713279887) 1+0 records in 1+0 records out 1048576 bytes (1.0 MB) copied, 0.0138238 s, 75.9 MB/s Before revoking layout lock: 1024 KB mapped PASS 51d (4s) debug_raw_pointers=1 debug_raw_pointers=1 debug_raw_pointers=Y debug_raw_pointers=Y == sanityn test 107a: Basic grouplock conflict =========== 11:04:53 (1713279893) 10+0 records in 10+0 records out 10485760 bytes (10 MB) copied, 0.112351 s, 93.3 MB/s /mnt/lustre/f107a.sanityn lcm_layout_gen: 3 lcm_mirror_count: 1 lcm_entry_count: 2 lcme_id: 1 lcme_mirror_id: 0 lcme_flags: init lcme_extent.e_start: 0 lcme_extent.e_end: 1048576 lmm_stripe_count: 0 lmm_stripe_size: 1048576 lmm_pattern: mdt lmm_layout_gen: 0 lmm_stripe_offset: 0 lcme_id: 2 lcme_mirror_id: 0 lcme_flags: init lcme_extent.e_start: 1048576 lcme_extent.e_end: EOF lmm_stripe_count: 1 lmm_stripe_size: 1048576 lmm_pattern: raid0 lmm_layout_gen: 0 lmm_stripe_offset: 1 lmm_objects: - 0: { l_ost_idx: 1, l_fid: [0x280000400:0x3db:0x0] } multiop /mnt/lustre/f107a.sanityn vOG14091995_g14091995c TMPPIPE=/tmp/multiop_open_wait_pipe.9208 multiop /mnt/lustre2/f107a.sanityn vO_G16022000r10g16022000c TMPPIPE=/tmp/multiop_open_wait_pipe.9208 First grouplock blocks second one PASS 107a (4s) debug_raw_pointers=1 debug_raw_pointers=1 debug_raw_pointers=Y debug_raw_pointers=Y == sanityn test 107b: Grouplock is added to the head of waiting list ========================================================== 11:04:59 (1713279899) 10+0 records in 10+0 records out 10485760 bytes (10 MB) copied, 0.0909433 s, 115 MB/s /mnt/lustre/f107b.sanityn lcm_layout_gen: 3 lcm_mirror_count: 1 lcm_entry_count: 2 lcme_id: 1 lcme_mirror_id: 0 lcme_flags: init lcme_extent.e_start: 0 lcme_extent.e_end: 1048576 lmm_stripe_count: 0 lmm_stripe_size: 1048576 lmm_pattern: mdt lmm_layout_gen: 0 lmm_stripe_offset: 0 lcme_id: 2 lcme_mirror_id: 0 lcme_flags: init lcme_extent.e_start: 1048576 lcme_extent.e_end: EOF lmm_stripe_count: 1 lmm_stripe_size: 1048576 lmm_pattern: raid0 lmm_layout_gen: 0 lmm_stripe_offset: 0 lmm_objects: - 0: { l_ost_idx: 0, l_fid: [0x240000400:0x3dd:0x0] } multiop /mnt/lustre/f107b.sanityn vOG14091995_g14091995c TMPPIPE=/tmp/multiop_open_wait_pipe.9208 Grouplock blocks IO First grouplock blocks second one Second grouplock blocks IO PASS 107b (8s) debug_raw_pointers=1 debug_raw_pointers=1 cleanup: ====================================================== == sanityn test complete, duration 434 sec =============== 11:05:08 (1713279908) === sanityn: start cleanup 11:05:09 (1713279909) === Stopping clients: oleg404-client.virtnet /mnt/lustre2 (opts:) Stopping client oleg404-client.virtnet /mnt/lustre2 opts: === sanityn: finish cleanup 11:05:09 (1713279909) ===