== sanity-dom test sanityn: Run sanityn with Data-on-MDT files ========================================================== 14:00:41 (1779127241) mgs: Rocky Linux release 8.10 (Green Obsidian) MGS_OS_ID_LIKE=rhel centos fedora rocky MGS_OS_VERSION_ID=8.10 MGS_OS_ID=rocky MGS_OS_VERSION_CODE=134873088 mds1: Rocky Linux release 8.10 (Green Obsidian) MDS1_OS_VERSION_ID=8.10 MDS1_OS_VERSION_CODE=134873088 MDS1_OS_ID_LIKE=rhel centos fedora rocky MDS1_OS_ID=rocky ost1: Rocky Linux release 8.10 (Green Obsidian) OST1_OS_VERSION_CODE=134873088 OST1_OS_ID_LIKE=rhel centos fedora rocky OST1_OS_VERSION_ID=8.10 OST1_OS_ID=rocky client: Rocky Linux release 8.10 (Green Obsidian) CLIENT_OS_ID=rocky CLIENT_OS_VERSION_CODE=134873088 CLIENT_OS_VERSION_ID=8.10 CLIENT_OS_ID_LIKE=rhel centos fedora rocky oleg139-server: ls: cannot access '/home/green/git/lustre-release/lustre/tests/except/sanityn.*ex': No such file or directory excepting tests: 40a skipping tests SLOW=no: 33a === sanityn: start setup 14:01:05 (1779127265) === Starting client oleg139-client.virtnet: -o user_xattr,flock 192.168.201.139@tcp:/lustre /mnt/lustre2 Mount client oleg139-client.virtnet: mount -t lustre -o user_xattr,flock 192.168.201.139@tcp:/lustre /mnt/lustre2 Started clients oleg139-client.virtnet: 192.168.201.139@tcp:/lustre on /mnt/lustre2 type lustre (rw,flock,checksum,encrypt,lazystatfs,lruresize,nolock,statfs_project,nouser_fid2path,user_xattr,verbose) oleg139-client.virtnet: executing check_config_client /mnt/lustre oleg139-client.virtnet: Checking config lustre mounted on /mnt/lustre Checking servers environments Checking clients oleg139-client.virtnet environments Using TIMEOUT=20 osc.lustre-OST0000-osc-ffff951002fe0800.idle_timeout=debug osc.lustre-OST0000-osc-ffff951040657800.idle_timeout=debug osc.lustre-OST0001-osc-ffff951002fe0800.idle_timeout=debug osc.lustre-OST0001-osc-ffff951040657800.idle_timeout=debug disable quota as required oleg139-server: oleg139-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all osd-ldiskfs.track_declares_assert=1 === sanityn: finish setup 14:01:50 (1779127310) === 1+0 records in 1+0 records out 1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.0505815 s, 20.7 MB/s running as uid/gid/euid/egid 500/500/500/500, groups: 500 [true] running as uid/gid/euid/egid 500/500/500/500, groups: 500 [touch] [/mnt/lustre/d0_runas_test/f75760] == sanityn test 1: Check attribute updates on 2 mount points ========================================================== 14:01:53 (1779127313) /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 (12s) == sanityn test 2a: check cached attribute updates on 2 mtpt's ================================================================== 14:02:05 (1779127325) -rw-r--r-- 1 root root 0 May 18 14:02 /mnt/lustre2/f2a /mnt/lustre/f2a has type file OK /mnt/lustre/f2a has perms 0777 OK PASS 2a (8s) == sanityn test 2b: check cached attribute updates on 2 mtpt's ================================================================== 14:02:14 (1779127334) -rw-r--r-- 1 root root 0 May 18 14:02 /mnt/lustre2/f2b /mnt/lustre2/f2b has type file OK /mnt/lustre2/f2b has perms 0777 OK PASS 2b (9s) == sanityn test 2c: check cached attribute updates on 2 mtpt's root ============================================================= 14:02:23 (1779127343) /mnt/lustre2 has type dir OK /mnt/lustre2 has perms 0777 OK PASS 2c (7s) == sanityn test 2d: check cached attribute updates on 2 mtpt's root ============================================================= 14:02:31 (1779127351) /mnt/lustre2 has type dir OK /mnt/lustre2 has perms 0755 OK PASS 2d (8s) == sanityn test 2e: check chmod on root is propagated to others ========================================================== 14:02:38 (1779127358) total 552 -rwxrwxrwx 1 root root 0 May 18 14:02 f2a -rwxrwxrwx 1 root root 0 May 18 14:02 f2b -rw-r--r-- 1 root root 1493373 May 18 13:33 ffsx.sanity-dom -rw-r--r-- 1 root root 0 May 18 13:32 ffsx.sanity-dom.fsxgood -rw-r--r-- 1 root root 110823 May 18 13:33 ffsx.sanity-dom.fsxlog total 552 -rwxrwxrwx 1 root root 0 May 18 14:02 f2a -rwxrwxrwx 1 root root 0 May 18 14:02 f2b -rw-r--r-- 1 root root 1493373 May 18 13:33 ffsx.sanity-dom -rw-r--r-- 1 root root 0 May 18 13:32 ffsx.sanity-dom.fsxgood -rw-r--r-- 1 root root 110823 May 18 13:33 ffsx.sanity-dom.fsxlog running as uid/gid/euid/egid 500/500/500/500, groups: 500 [dd] [if=/dev/zero] [of=/mnt/lustre2/f2e.sanityn] [count=1] 1+0 records in 1+0 records out 512 bytes copied, 0.00604453 s, 84.7 kB/s PASS 2e (7s) == sanityn test 2f: check attr/owner updates on DNE with 2 mtpt's ========================================================== 14:02:45 (1779127365) /mnt/lustre2/d2f.sanityn/remote_dir/f2f.sanityn has type file OK /mnt/lustre2/d2f.sanityn/remote_dir/f2f.sanityn has perms 0777 OK /mnt/lustre2/d2f.sanityn/remote_dir/f2f.sanityn is owned by user #500 OK /mnt/lustre2/d2f.sanityn/remote_dir/f2f.sanityn is owned by group #500 OK Can't lstat /mnt/lustre2/d2f.sanityn/remote_dir/f2f.sanityn: No such file or directory PASS 2f (9s) == sanityn test 2g: check blocks update on sync write ==== 14:02:54 (1779127374) 2+0 records in 2+0 records out 2097152 bytes (2.1 MB, 2.0 MiB) copied, 0.239187 s, 8.8 MB/s /mnt/lustre/f2g.sanityn has 4096 blocks /mnt/lustre2/f2g.sanityn has 4096 blocks PASS 2g (9s) == sanityn test 4: fstat validation on multiple mount points ==================================================================== 14:03:03 (1779127383) PASS 4 (10s) == sanityn test 5: create a file on one mount, truncate it on the other ========================================================== 14:03:13 (1779127393) /mnt/lustre/f5 has type file OK /mnt/lustre/f5 has size 100 OK PASS 5 (8s) == sanityn test 6: remove of open file on other node ============================================================================ 14:03:21 (1779127401) 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 (8s) == sanityn test 7: remove of open directory on other node ======================================================================= 14:03:30 (1779127410) creating directory /mnt/lustre/d7 opening directory unlinking /mnt/lustre/d7 Ok, everything goes well. PASS 7 (11s) == sanityn test 8: remove of open special file on other node ==================================================================== 14:03:40 (1779127420) creating special file /mnt/lustre/f8.sanityn opening file unlinking /mnt/lustre/f8.sanityn Ok, everything goes well. PASS 8 (9s) == sanityn test 9a: append of file with sub-page size on multiple mounts ========================================================== 14:03:49 (1779127429) PASS 9a (9s) == sanityn test 9b: append to striped sparse file ======== 14:03:58 (1779127438) 1+0 records in 1+0 records out 1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.0258088 s, 40.6 MB/s 3+0 records in 3+0 records out 3 bytes copied, 0.0587122 s, 0.1 kB/s Data read (expecting 'foo'): foo PASS 9b (9s) == sanityn test 10a: write of file with sub-page size on multiple mounts ========================================================== 14:04:07 (1779127447) 1+0 records in 1+0 records out 1 byte copied, 0.0140993 s, 0.1 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.00909088 s, 0.1 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.0143686 s, 0.1 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.0143694 s, 0.1 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.0127228 s, 0.1 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.0108515 s, 0.1 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.00738989 s, 0.1 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.00639868 s, 0.2 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.00905388 s, 0.1 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.0199258 s, 0.1 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.0139905 s, 0.1 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.0273481 s, 0.0 kB/s PASS 10a (11s) == sanityn test 10b: write of file with sub-page size on multiple mounts ========================================================== 14:04:18 (1779127458) 1+0 records in 1+0 records out 3072 bytes (3.1 kB, 3.0 KiB) copied, 0.00871514 s, 352 kB/s 1+0 records in 1+0 records out 4096 bytes (4.1 kB, 4.0 KiB) copied, 0.101632 s, 40.3 kB/s 1+0 records in 1+0 records out 3072 bytes (3.1 kB, 3.0 KiB) copied, 0.00563927 s, 545 kB/s PASS 10b (11s) == sanityn test 11: execution of file opened for write should return error ============================================================== 14:04:29 (1779127469) striped dir -i1 -c2 -H crush2 /mnt/lustre/d11 multiop /mnt/lustre/d11/f vO_c TMPPIPE=/tmp/multiop_open_wait_pipe.75760 /home/green/git/lustre-release/lustre/tests/sanityn.sh: line 300: /mnt/lustre2/d11/f: Text file busy PASS 11 (10s) == sanityn test 12: test lock ordering (link, stat, unlink) ========================================================== 14:04:40 (1779127480) warning: '-runtime' deprecated, use '-t runtime' instead - link 379 (time 1779127492.40 total 10.00 last 37.90) - link 816 (time 1779127502.43 total 20.03 last 43.58) - link 1300 (time 1779127512.43 total 30.04 last 48.36) - link 1771 (time 1779127522.44 total 40.04 last 47.09) - link 2284 (time 1779127532.45 total 50.05 last 51.25) - link 2656 (time 1779127542.46 total 60.06 last 37.15) - link 2941 (time 1779127552.49 total 70.09 last 28.41) - link 3164 (time 1779127562.52 total 80.12 last 22.24) - link 3507 (time 1779127572.54 total 90.14 last 34.22) total: 3793 link in 100.02 seconds: 37.92 ops/second using seed 1804147037 running for 100 seconds - stat 683 (time 1779127494 ; total 11 ; last 11) - stat 7421 (time 1779127505 ; total 22 ; last 11) - stat 10000 (time 1779127509 ; total 26 ; last 4) - stat 15672 (time 1779127520 ; total 37 ; last 11) - stat 20000 (time 1779127527 ; total 44 ; last 7) - stat 24830 (time 1779127538 ; total 55 ; last 11) - stat 27654 (time 1779127549 ; total 66 ; last 11) - stat 29414 (time 1779127560 ; total 77 ; last 11) - stat 30000 (time 1779127562 ; total 79 ; last 2) - stat 32731 (time 1779127573 ; total 90 ; last 11) total: 34935 stats in 100 seconds: 349.350006 stats/second - unlinked 0 (time 1779127533 ; total 0 ; last 0) unlink(/mnt/lustre2/lockdir/lockfile3793) error: No such file or directory total: 3792 unlinks in 90 seconds: 42.133335 unlinks/second /home/green/git/lustre-release/lustre/tests/lockorder.sh: line 77: kill: (88980) - No such process /home/green/git/lustre-release/lustre/tests/lockorder.sh: line 78: kill: (88982) - No such process PASS 12 (149s) == sanityn test 14aa: execution of file open for write returns -ETXTBSY ========================================================== 14:07:09 (1779127629) striped dir -i0 -c2 -H crush2 /mnt/lustre/d14aa.sanityn multiop /mnt/lustre/d14aa.sanityn/f14aa.sanityn vOw_c TMPPIPE=/tmp/multiop_open_wait_pipe.75760 /home/green/git/lustre-release/lustre/tests/sanityn.sh: line 335: /mnt/lustre2/d14aa.sanityn/f14aa.sanityn: Text file busy /home/green/git/lustre-release/lustre/tests/test-framework.sh: line 5023: 89596 Terminated $MULTIOP_PROG $FILE v$ARGS > $TMPPIPE (wd: ~) PASS 14aa (8s) == sanityn test 14ab: open(RDWR) of executing file returns -ETXTBSY ========================================================== 14:07:17 (1779127637) striped dir -i0 -c2 -H all_char /mnt/lustre/d14ab.sanityn open(O_RDWR|O_CREAT): Text file busy /home/green/git/lustre-release/lustre/tests/test-framework.sh: line 5023: 90187 Terminated $DIR1/$tdir/sleep 60 (wd: ~) PASS 14ab (8s) == sanityn test 14b: truncate of executing file returns -ETXTBSY ================================================================ 14:07:25 (1779127645) striped dir -i0 -c2 -H crush /mnt/lustre/d14b.sanityn truncate: cannot truncate '/mnt/lustre2/d14b.sanityn/sleep' to length 60: Text file busy /home/green/git/lustre-release/lustre/tests/sanityn.sh: line 350: 90780 Terminated $DIR1/$tdir/sleep 60 PASS 14b (9s) == sanityn test 14c: open(O_TRUNC) of executing file return -ETXTBSY ============================================================ 14:07:34 (1779127654) striped dir -i0 -c2 -H crush2 /mnt/lustre/d14c.sanityn cp: cannot create regular file '/mnt/lustre2/d14c.sanityn/sleep': Text file busy /home/green/git/lustre-release/lustre/tests/sanityn.sh: line 362: 91378 Terminated $DIR1/$tdir/sleep 60 PASS 14c (10s) == sanityn test 14d: chmod of executing file is still possible ================================================================== 14:07:44 (1779127664) striped dir -i0 -c2 -H all_char /mnt/lustre/d14d.sanityn chmod /home/green/git/lustre-release/lustre/tests/sanityn.sh: line 373: 91972 Terminated $DIR1/$tdir/sleep 60 PASS 14d (11s) == sanityn test 17: resource creation/LVB creation race ========================================================================= 14:07:56 (1779127676) fail_loc=0x8000030a PASS 17 (12s) == sanityn test 19: test concurrent uncached read races ========================================================================= 14:08:09 (1779127689) 32+0 records in 32+0 records out 16777216 bytes (17 MB, 16 MiB) copied, 0.340034 s, 49.3 MB/s loop 5 loop 10 loop 15 loop 20 PASS 19 (30s) == sanityn test 20: test extra readahead page left in cache ============================================================== 14:08:39 (1779127719) striped dir -i0 -c2 -H crush /mnt/lustre/d20.sanityn PASS 20 (7s) == sanityn test 23: others should see updated atime while another read============================================================== 14:08:46 (1779127726) now is 1779127729 starting reads multiop /mnt/lustre/f23.sanityn vor20_c TMPPIPE=/tmp/multiop_open_wait_pipe.75760 new atime is 1779127790 PASS 23 (71s) == sanityn test 27: align non-overlapping extent locks from request ============================================================= 14:09:57 (1779127797) dd 1 started 4+0 records in 4+0 records out 16793600 bytes (17 MB, 16 MiB) copied, 0.661683 s, 25.4 MB/s dd 2 started 1+0 records in 1+0 records out 15728640 bytes (16 MB, 15 MiB) copied, 0.36283 s, 43.3 MB/s 1+0 records in 1+0 records out 8192 bytes (8.2 kB, 8.0 KiB) copied, 0.0584009 s, 140 kB/s dd 3 finished PASS 27 (16s) == sanityn test 39a: file mtime does not change after rename ========================================================== 14:10:13 (1779127813) repeat after cancel_lru_locks PASS 39a (9s) == sanityn test 39b: file mtime the same on clients with/out lock ========================================================== 14:10:22 (1779127822) repeat after cancel_lru_locks PASS 39b (9s) == sanityn test 39c: check truncate mtime update ================================================================================ 14:10:32 (1779127832) repeat after cancel_lru_locks PASS 39c (9s) == sanityn test 39d: sync write should update mtime ====== 14:10:41 (1779127841) fail_loc=0x411 fail_loc=0 PASS 39d (8s) == sanityn test 51a: layout lock: refresh layout should work ========================================================== 14:10:50 (1779127850) 0+1 records in 0+1 records out 158 bytes copied, 0.0292445 s, 5.4 kB/s /home/green/git/lustre-release/lustre/tests/sanityn.sh: line 3581: kill: (99657) - No such process PASS 51a (11s) == sanityn test 51c: layout lock: IT_LAYOUT blocked and correct layout can be returned ========================================================== 14:11:01 (1779127861) fail_loc=0x172 Setting layout to have 2 stripes ... 1+0 records in 1+0 records out 1024 bytes (1.0 kB, 1.0 KiB) copied, 0.047014 s, 21.8 kB/s PASS 51c (13s) == sanityn test 51d: layout lock: losing layout lock should clean up memory map region ========================================================== 14:11:15 (1779127875) 1+0 records in 1+0 records out 1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.0808463 s, 13.0 MB/s Before revoking layout lock: 1024 KB mapped PASS 51d (10s) == sanityn test 107a: Basic grouplock conflict =========== 14:11:26 (1779127886) 10+0 records in 10+0 records out 10485760 bytes (10 MB, 10 MiB) copied, 0.67717 s, 15.5 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_mdt_index: 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: 4194304 lmm_pattern: raid0 lmm_layout_gen: 0 lmm_stripe_offset: 0 lmm_objects: - 0: { l_ost_idx: 0, l_fid: [0x280000401:0x1f4:0x0] } multiop /mnt/lustre/f107a.sanityn vOG14091995_g14091995c TMPPIPE=/tmp/multiop_open_wait_pipe.75760 multiop /mnt/lustre2/f107a.sanityn vO_G16022000r10g16022000c TMPPIPE=/tmp/multiop_open_wait_pipe.75760 First grouplock blocks second one PASS 107a (13s) == sanityn test 107b: Grouplock is added to the head of waiting list ========================================================== 14:11:39 (1779127899) 10+0 records in 10+0 records out 10485760 bytes (10 MB, 10 MiB) copied, 0.70116 s, 15.0 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_mdt_index: 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: 4194304 lmm_pattern: raid0 lmm_layout_gen: 0 lmm_stripe_offset: 1 lmm_objects: - 0: { l_ost_idx: 1, l_fid: [0x2c0000401:0x1f2:0x0] } multiop /mnt/lustre/f107b.sanityn vOG14091995_g14091995c TMPPIPE=/tmp/multiop_open_wait_pipe.75760 Grouplock blocks IO First grouplock blocks second one Second grouplock blocks IO PASS 107b (16s) cleanup: ====================================================== == sanityn test complete, duration 675 sec =============== 14:11:58 (1779127918) === sanityn: start cleanup 14:12:00 (1779127920) === Stopping clients: oleg139-client.virtnet /mnt/lustre2 (opts:) Stopping client oleg139-client.virtnet /mnt/lustre2 opts: === sanityn: finish cleanup 14:12:09 (1779127929) ===