== sanity-zero test sanityn: Run sanityn with zero offset files ========================================================== 15:08:11 (1789412891) MGS_OS_ID_LIKE=rhel centos fedora rocky MGS_OS_VERSION_ID=8.10 MGS_OS_ID=rocky MGS_OS_VERSION_CODE=134873088 MDS1_OS_VERSION_ID=8.10 MDS1_OS_VERSION_CODE=134873088 MDS1_OS_ID_LIKE=rhel centos fedora rocky MDS1_OS_ID=rocky OST1_OS_VERSION_CODE=134873088 OST1_OS_ID_LIKE=rhel centos fedora rocky OST1_OS_VERSION_ID=8.10 OST1_OS_ID=rocky CLIENT_OS_ID=rocky CLIENT_OS_VERSION_CODE=134873088 CLIENT_OS_VERSION_ID=8.10 CLIENT_OS_ID_LIKE=rhel centos fedora rocky oleg145-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 15:08:36 (1789412916) === Starting client oleg145-client.virtnet: -o user_xattr,flock 192.168.201.145@tcp:/lustre /mnt/lustre2 Mount client oleg145-client.virtnet: mount -t lustre -o user_xattr,flock 192.168.201.145@tcp:/lustre /mnt/lustre2 Started clients oleg145-client.virtnet: 192.168.201.145@tcp:/lustre on /mnt/lustre2 type lustre (rw,flock,checksum,encrypt,lazystatfs,lruresize,nolock,statfs_project,nosync_on_close,nouser_fid2path,user_xattr,verbose) oleg145-client.virtnet: executing check_config_client /mnt/lustre oleg145-client.virtnet: Checking config lustre mounted on /mnt/lustre Checking servers environments Checking clients oleg145-client.virtnet environments Using TIMEOUT=20 osc.lustre-OST0000-osc-ffff9f1411304800.idle_timeout=debug osc.lustre-OST0000-osc-ffff9f1421048800.idle_timeout=debug osc.lustre-OST0001-osc-ffff9f1411304800.idle_timeout=debug osc.lustre-OST0001-osc-ffff9f1421048800.idle_timeout=debug disable quota as required oleg145-server: oleg145-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 15:09:19 (1789412959) === 1+0 records in 1+0 records out 1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.0549017 s, 19.1 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/f81023] == sanityn test 1: Check attribute updates on 2 mount points ========================================================== 15:09:22 (1789412962) /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 (9s) == sanityn test 2a: check cached attribute updates on 2 mtpt's ================================================================== 15:09:31 (1789412971) -rw-r--r-- 1 root root 0 Sep 14 15:09 /mnt/lustre2/f2a /mnt/lustre/f2a has type file OK /mnt/lustre/f2a has perms 0777 OK PASS 2a (10s) == sanityn test 2b: check cached attribute updates on 2 mtpt's ================================================================== 15:09:41 (1789412981) -rw-r--r-- 1 root root 0 Sep 14 15:09 /mnt/lustre2/f2b /mnt/lustre2/f2b has type file OK /mnt/lustre2/f2b has perms 0777 OK PASS 2b (10s) == sanityn test 2c: check cached attribute updates on 2 mtpt's root ============================================================= 15:09:51 (1789412991) /mnt/lustre2 has type dir OK /mnt/lustre2 has perms 0777 OK PASS 2c (9s) == sanityn test 2d: check cached attribute updates on 2 mtpt's root ============================================================= 15:10:00 (1789413000) /mnt/lustre2 has type dir OK /mnt/lustre2 has perms 0755 OK PASS 2d (7s) == sanityn test 2e: check chmod on root is propagated to others ========================================================== 15:10:08 (1789413008) total 756 -rwxrwxrwx 1 root root 0 Sep 14 15:09 f2a -rwxrwxrwx 1 root root 0 Sep 14 15:09 f2b -rw-r--r-- 1 root root 7125646 Sep 14 14:43 ffsx.sanity-zero -rw-r--r-- 1 root root 0 Sep 14 14:42 ffsx.sanity-zero.fsxgood -rw-r--r-- 1 root root 109138 Sep 14 14:43 ffsx.sanity-zero.fsxlog total 756 -rwxrwxrwx 1 root root 0 Sep 14 15:09 f2a -rwxrwxrwx 1 root root 0 Sep 14 15:09 f2b -rw-r--r-- 1 root root 7125646 Sep 14 14:43 ffsx.sanity-zero -rw-r--r-- 1 root root 0 Sep 14 14:42 ffsx.sanity-zero.fsxgood -rw-r--r-- 1 root root 109138 Sep 14 14:43 ffsx.sanity-zero.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.0389873 s, 13.1 kB/s PASS 2e (8s) == sanityn test 2f: check attr/owner updates on DNE with 2 mtpt's ========================================================== 15:10:16 (1789413016) SKIP: sanityn test_2f needs >= 2 MDTs SKIP 2f (4s) == sanityn test 2g: check blocks update on sync write ==== 15:10:20 (1789413020) 2+0 records in 2+0 records out 2097152 bytes (2.1 MB, 2.0 MiB) copied, 0.226931 s, 9.2 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 ==================================================================== 15:10:29 (1789413029) PASS 4 (11s) == sanityn test 5: create a file on one mount, truncate it on the other ========================================================== 15:10:40 (1789413040) /mnt/lustre/f5 has type file OK /mnt/lustre/f5 has size 100 OK PASS 5 (11s) == sanityn test 6: remove of open file on other node ============================================================================ 15:10:52 (1789413052) 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 (10s) == sanityn test 7: remove of open directory on other node ======================================================================= 15:11:02 (1789413062) creating directory /mnt/lustre/d7 opening directory unlinking /mnt/lustre/d7 Ok, everything goes well. PASS 7 (7s) == sanityn test 8: remove of open special file on other node ==================================================================== 15:11:10 (1789413070) creating special file /mnt/lustre/f8.sanityn opening file unlinking /mnt/lustre/f8.sanityn Ok, everything goes well. PASS 8 (8s) == sanityn test 9a: append of file with sub-page size on multiple mounts ========================================================== 15:11:18 (1789413078) PASS 9a (10s) == sanityn test 9b: append to striped sparse file ======== 15:11:28 (1789413088) 1+0 records in 1+0 records out 1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.0931219 s, 11.3 MB/s 3+0 records in 3+0 records out 3 bytes copied, 0.140854 s, 0.0 kB/s Data read (expecting 'foo'): foo PASS 9b (9s) == sanityn test 10a: write of file with sub-page size on multiple mounts ========================================================== 15:11:37 (1789413097) 1+0 records in 1+0 records out 1 byte copied, 0.0135349 s, 0.1 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.0173137 s, 0.1 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.0198367 s, 0.1 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.0146093 s, 0.1 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.0189221 s, 0.1 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.0173879 s, 0.1 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.0198481 s, 0.1 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.0113018 s, 0.1 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.0130502 s, 0.1 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.018063 s, 0.1 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.0384192 s, 0.0 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.00972081 s, 0.1 kB/s PASS 10a (10s) == sanityn test 10b: write of file with sub-page size on multiple mounts ========================================================== 15:11:47 (1789413107) 1+0 records in 1+0 records out 3072 bytes (3.1 kB, 3.0 KiB) copied, 0.022472 s, 137 kB/s 1+0 records in 1+0 records out 4096 bytes (4.1 kB, 4.0 KiB) copied, 0.0626554 s, 65.4 kB/s 1+0 records in 1+0 records out 3072 bytes (3.1 kB, 3.0 KiB) copied, 0.000286945 s, 10.7 MB/s PASS 10b (9s) == sanityn test 11: execution of file opened for write should return error ============================================================== 15:11:56 (1789413116) multiop /mnt/lustre/d11/f vO_c TMPPIPE=/tmp/multiop_open_wait_pipe.81023 /home/green/git/lustre-release/lustre/tests/sanityn.sh: line 298: /mnt/lustre2/d11/f: Text file busy PASS 11 (9s) == sanityn test 12: test lock ordering (link, stat, unlink) ========================================================== 15:12:05 (1789413125) warning: '-runtime' deprecated, use '-t runtime' instead - link 314 (time 1789413138.44 total 10.01 last 31.36) - link 602 (time 1789413148.49 total 20.05 last 28.68) - link 915 (time 1789413158.50 total 30.07 last 31.25) - link 1222 (time 1789413168.51 total 40.08 last 30.68) - link 1527 (time 1789413178.54 total 50.11 last 30.41) - link 1832 (time 1789413188.54 total 60.11 last 30.48) - link 2100 (time 1789413198.57 total 70.14 last 26.72) - link 2352 (time 1789413208.60 total 80.17 last 25.13) - link 2649 (time 1789413218.60 total 90.17 last 29.69) total: 2975 link in 100.04 seconds: 29.74 ops/second using seed 1543716467 running for 100 seconds - stat 3953 (time 1789413140 ; total 11 ; last 11) - stat 9359 (time 1789413151 ; total 22 ; last 11) - stat 10000 (time 1789413152 ; total 23 ; last 1) - stat 15429 (time 1789413163 ; total 34 ; last 11) - stat 19880 (time 1789413174 ; total 45 ; last 11) - stat 20000 (time 1789413174 ; total 45 ; last 0) - stat 24238 (time 1789413185 ; total 56 ; last 11) - stat 26736 (time 1789413196 ; total 67 ; last 11) - stat 28693 (time 1789413207 ; total 78 ; last 11) - stat 30000 (time 1789413213 ; total 84 ; last 6) - stat 32266 (time 1789413224 ; total 95 ; last 11) total: 33442 stats in 100 seconds: 334.420013 stats/second - unlinked 0 (time 1789413179 ; total 0 ; last 0) unlink(/mnt/lustre2/lockdir/lockfile2975) error: No such file or directory total: 2974 unlinks in 78 seconds: 38.128204 unlinks/second /home/green/git/lustre-release/lustre/tests/lockorder.sh: line 77: kill: (93682) - No such process /home/green/git/lustre-release/lustre/tests/lockorder.sh: line 78: kill: (93685) - No such process PASS 12 (138s) == sanityn test 14aa: execution of file open for write returns -ETXTBSY ========================================================== 15:14:23 (1789413263) multiop /mnt/lustre/d14aa.sanityn/f14aa.sanityn vOw_c TMPPIPE=/tmp/multiop_open_wait_pipe.81023 /home/green/git/lustre-release/lustre/tests/sanityn.sh: line 333: /mnt/lustre2/d14aa.sanityn/f14aa.sanityn: Text file busy /home/green/git/lustre-release/lustre/tests/test-framework.sh: line 5116: 94284 Terminated $MULTIOP_PROG $FILE v$ARGS > $TMPPIPE (wd: ~) PASS 14aa (7s) == sanityn test 14ab: open(RDWR) of executing file returns -ETXTBSY ========================================================== 15:14:31 (1789413271) open(O_RDWR|O_CREAT): Text file busy /home/green/git/lustre-release/lustre/tests/test-framework.sh: line 5116: 94864 Terminated $DIR1/$tdir/sleep 60 (wd: ~) PASS 14ab (7s) == sanityn test 14b: truncate of executing file returns -ETXTBSY ================================================================ 15:14:38 (1789413278) truncate: cannot truncate '/mnt/lustre2/d14b.sanityn/sleep' to length 60: Text file busy /home/green/git/lustre-release/lustre/tests/sanityn.sh: line 348: 95443 Terminated $DIR1/$tdir/sleep 60 PASS 14b (9s) == sanityn test 14c: open(O_TRUNC) of executing file return -ETXTBSY ============================================================ 15:14:47 (1789413287) cp: cannot create regular file '/mnt/lustre2/d14c.sanityn/sleep': Text file busy /home/green/git/lustre-release/lustre/tests/sanityn.sh: line 360: 96026 Terminated $DIR1/$tdir/sleep 60 PASS 14c (9s) == sanityn test 14d: chmod of executing file is still possible ================================================================== 15:14:56 (1789413296) chmod /home/green/git/lustre-release/lustre/tests/sanityn.sh: line 371: 96610 Terminated $DIR1/$tdir/sleep 60 PASS 14d (9s) == sanityn test 17: resource creation/LVB creation race ========================================================================= 15:15:05 (1789413305) fail_loc=0x8000030a PASS 17 (11s) == sanityn test 19: test concurrent uncached read races ========================================================================= 15:15:16 (1789413316) 32+0 records in 32+0 records out 16777216 bytes (17 MB, 16 MiB) copied, 0.513555 s, 32.7 MB/s loop 5 loop 10 loop 15 loop 20 PASS 19 (39s) == sanityn test 20: test extra readahead page left in cache ============================================================== 15:15:55 (1789413355) PASS 20 (9s) == sanityn test 23: others should see updated atime while another read============================================================== 15:16:04 (1789413364) now is 1789413366 starting reads multiop /mnt/lustre/f23.sanityn vor20_c TMPPIPE=/tmp/multiop_open_wait_pipe.81023 new atime is 1789413428 PASS 23 (69s) == sanityn test 27: align non-overlapping extent locks from request ============================================================= 15:17:13 (1789413433) 4+0 records in 4+0 records out 16793600 bytes (17 MB, 16 MiB) copied, 0.400401 s, 41.9 MB/s dd 1 started dd 2 started 1+0 records in 1+0 records out 15728640 bytes (16 MB, 15 MiB) copied, 0.473439 s, 33.2 MB/s 1+0 records in 1+0 records out 8192 bytes (8.2 kB, 8.0 KiB) copied, 0.0207258 s, 395 kB/s dd 3 finished PASS 27 (16s) == sanityn test 39a: file mtime does not change after rename ========================================================== 15:17:29 (1789413449) repeat after cancel_lru_locks PASS 39a (9s) == sanityn test 39b: file mtime the same on clients with/out lock ========================================================== 15:17:38 (1789413458) repeat after cancel_lru_locks PASS 39b (11s) == sanityn test 39c: check truncate mtime update ================================================================================ 15:17:49 (1789413469) repeat after cancel_lru_locks PASS 39c (10s) == sanityn test 39d: sync write should update mtime ====== 15:17:59 (1789413479) fail_loc=0x411 fail_loc=0 PASS 39d (7s) == sanityn test 51a: layout lock: refresh layout should work ========================================================== 15:18:07 (1789413487) 0+1 records in 0+1 records out 158 bytes copied, 0.035622 s, 4.4 kB/s /home/green/git/lustre-release/lustre/tests/sanityn.sh: line 3690: kill: (104189) - No such process PASS 51a (9s) == sanityn test 51c: layout lock: IT_LAYOUT blocked and correct layout can be returned ========================================================== 15:18:16 (1789413496) 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.020881 s, 49.0 kB/s PASS 51c (13s) == sanityn test 51d: layout lock: losing layout lock should clean up memory map region ========================================================== 15:18:29 (1789413509) 1+0 records in 1+0 records out 1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.0668951 s, 15.7 MB/s Before revoking layout lock: 1024 KB mapped PASS 51d (8s) == sanityn test 107a: Basic grouplock conflict =========== 15:18:38 (1789413518) 10+0 records in 10+0 records out 10485760 bytes (10 MB, 10 MiB) copied, 0.48078 s, 21.8 MB/s /mnt/lustre/f107a.sanityn lcm_layout_gen: 2 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: 10485760 lmm_stripe_count: 2 lmm_stripe_size: 2097152 lmm_pattern: raid0,zerostart lmm_layout_gen: 0 lmm_stripe_offset: 0 lmm_objects: - 0: { l_ost_idx: 0, l_fid: [0x240000400:0x4d9:0x0] } - 1: { l_ost_idx: 1, l_fid: [0x280000400:0x4d0:0x0] } lcme_id: 2 lcme_mirror_id: 0 lcme_flags: 0 lcme_extent.e_start: 10485760 lcme_extent.e_end: EOF lmm_stripe_count: 4 lmm_stripe_size: 2097152 lmm_pattern: raid0,overstriped,zerostart lmm_layout_gen: 0 lmm_stripe_offset: -1 multiop /mnt/lustre/f107a.sanityn vOG14091995_g14091995c TMPPIPE=/tmp/multiop_open_wait_pipe.81023 multiop /mnt/lustre2/f107a.sanityn vO_G16022000r10g16022000c TMPPIPE=/tmp/multiop_open_wait_pipe.81023 First grouplock blocks second one PASS 107a (10s) == sanityn test 107b: Grouplock is added to the head of waiting list ========================================================== 15:18:48 (1789413528) 10+0 records in 10+0 records out 10485760 bytes (10 MB, 10 MiB) copied, 0.467372 s, 22.4 MB/s /mnt/lustre/f107b.sanityn lcm_layout_gen: 2 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: 10485760 lmm_stripe_count: 2 lmm_stripe_size: 2097152 lmm_pattern: raid0,zerostart lmm_layout_gen: 0 lmm_stripe_offset: 0 lmm_objects: - 0: { l_ost_idx: 0, l_fid: [0x240000400:0x4dc:0x0] } - 1: { l_ost_idx: 1, l_fid: [0x280000400:0x4d3:0x0] } lcme_id: 2 lcme_mirror_id: 0 lcme_flags: 0 lcme_extent.e_start: 10485760 lcme_extent.e_end: EOF lmm_stripe_count: 4 lmm_stripe_size: 2097152 lmm_pattern: raid0,overstriped,zerostart lmm_layout_gen: 0 lmm_stripe_offset: -1 multiop /mnt/lustre/f107b.sanityn vOG14091995_g14091995c TMPPIPE=/tmp/multiop_open_wait_pipe.81023 Grouplock blocks IO First grouplock blocks second one Second grouplock blocks IO PASS 107b (15s) cleanup: ====================================================== == sanityn test complete, duration 652 sec =============== 15:19:05 (1789413545) === sanityn: start cleanup 15:19:07 (1789413547) === Stopping clients: oleg145-client.virtnet /mnt/lustre2 (opts:) Stopping client oleg145-client.virtnet /mnt/lustre2 opts: === sanityn: finish cleanup 15:19:13 (1789413553) ===