== sanity-dom test sanityn: Run sanityn with Data-on-MDT files ========================================================== 21:16:11 (1788916571) 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 use SANITYN_ONLY='1 2 4 5 6 7 8 9 10 11 12 14 17 19 20 23 27 39 51a 51c 51d 107' SANITYN_EXCEPT='' oleg227-server: ls: cannot access '/home/green/git/lustre-release/lustre/tests/except/sanityn.*ex': No such file or directory only running tests: sanity sanityn 1 2 4 5 6 7 8 9 10 11 12 14 17 19 20 23 27 39 51a 51c 51d 107 excepting tests: 40a skipping tests SLOW=no: 33a === sanityn: start setup 21:16:36 (1788916596) === Starting client oleg227-client.virtnet: -o user_xattr,flock 192.168.202.127@tcp:/lustre /mnt/lustre2 Mount client oleg227-client.virtnet: mount -t lustre -o user_xattr,flock 192.168.202.127@tcp:/lustre /mnt/lustre2 Started clients oleg227-client.virtnet: 192.168.202.127@tcp:/lustre on /mnt/lustre2 type lustre (rw,flock,checksum,encrypt,lazystatfs,lruresize,nolock,statfs_project,nosync_on_close,nouser_fid2path,user_xattr,verbose) oleg227-client.virtnet: executing check_config_client /mnt/lustre oleg227-client.virtnet: Checking config lustre mounted on /mnt/lustre Checking servers environments Checking clients oleg227-client.virtnet environments Using TIMEOUT=20 osc.lustre-OST0000-osc-ffff8d1bd0f5f000.idle_timeout=debug osc.lustre-OST0000-osc-ffff8d1bd80c9000.idle_timeout=debug osc.lustre-OST0001-osc-ffff8d1bd0f5f000.idle_timeout=debug osc.lustre-OST0001-osc-ffff8d1bd80c9000.idle_timeout=debug disable quota as required oleg227-server: oleg227-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 21:17:29 (1788916649) === 1+0 records in 1+0 records out 1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.0864768 s, 12.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/f70650] == sanityn test 1: Check attribute updates on 2 mount points ========================================================== 21:17:33 (1788916653) /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 ================================================================== 21:17:43 (1788916663) -rw-r--r-- 1 root root 0 Sep 8 21:17 /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 ================================================================== 21:17:51 (1788916671) -rw-r--r-- 1 root root 0 Sep 8 21:17 /mnt/lustre2/f2b /mnt/lustre2/f2b has type file OK /mnt/lustre2/f2b has perms 0777 OK PASS 2b (8s) == sanityn test 2c: check cached attribute updates on 2 mtpt's root ============================================================= 21:17:59 (1788916679) /mnt/lustre2 has type dir OK /mnt/lustre2 has perms 0777 OK PASS 2c (8s) == sanityn test 2d: check cached attribute updates on 2 mtpt's root ============================================================= 21:18:07 (1788916687) /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 ========================================================== 21:18:15 (1788916695) total 0 -rwxrwxrwx 1 root root 0 Sep 8 21:17 f2a -rwxrwxrwx 1 root root 0 Sep 8 21:17 f2b total 0 -rwxrwxrwx 1 root root 0 Sep 8 21:17 f2a -rwxrwxrwx 1 root root 0 Sep 8 21:17 f2b 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.00921532 s, 55.6 kB/s PASS 2e (10s) == sanityn test 2f: check attr/owner updates on DNE with 2 mtpt's ========================================================== 21:18:25 (1788916705) /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 (12s) == sanityn test 2g: check blocks update on sync write ==== 21:18:37 (1788916717) 2+0 records in 2+0 records out 2097152 bytes (2.1 MB, 2.0 MiB) copied, 0.1694 s, 12.4 MB/s /mnt/lustre/f2g.sanityn has 4096 blocks /mnt/lustre2/f2g.sanityn has 4096 blocks PASS 2g (7s) == sanityn test 4: fstat validation on multiple mount points ==================================================================== 21:18:45 (1788916725) PASS 4 (10s) == sanityn test 5: create a file on one mount, truncate it on the other ========================================================== 21:18:55 (1788916735) /mnt/lustre/f5 has type file OK /mnt/lustre/f5 has size 100 OK PASS 5 (7s) == sanityn test 6: remove of open file on other node ============================================================================ 21:19:02 (1788916742) 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 ======================================================================= 21:19:11 (1788916751) creating directory /mnt/lustre/d7 opening directory unlinking /mnt/lustre/d7 Ok, everything goes well. PASS 7 (10s) == sanityn test 8: remove of open special file on other node ==================================================================== 21:19:21 (1788916761) 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 ========================================================== 21:19:30 (1788916770) PASS 9a (10s) == sanityn test 9b: append to striped sparse file ======== 21:19:40 (1788916780) 1+0 records in 1+0 records out 1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.0636538 s, 16.5 MB/s 3+0 records in 3+0 records out 3 bytes copied, 0.0967078 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 ========================================================== 21:19:49 (1788916789) 1+0 records in 1+0 records out 1 byte copied, 0.00794295 s, 0.1 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.0106687 s, 0.1 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.0258389 s, 0.0 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.0156604 s, 0.1 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.0267091 s, 0.0 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.0256101 s, 0.0 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.0564076 s, 0.0 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.0143986 s, 0.1 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.0297352 s, 0.0 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.0131202 s, 0.1 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.0105973 s, 0.1 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.0147255 s, 0.1 kB/s PASS 10a (11s) == sanityn test 10b: write of file with sub-page size on multiple mounts ========================================================== 21:20:00 (1788916800) 1+0 records in 1+0 records out 3072 bytes (3.1 kB, 3.0 KiB) copied, 0.011465 s, 268 kB/s 1+0 records in 1+0 records out 4096 bytes (4.1 kB, 4.0 KiB) copied, 0.0709629 s, 57.7 kB/s 1+0 records in 1+0 records out 3072 bytes (3.1 kB, 3.0 KiB) copied, 0.000258672 s, 11.9 MB/s PASS 10b (6s) == sanityn test 11: execution of file opened for write should return error ============================================================== 21:20:06 (1788916806) striped dir -i1 -c2 -H crush2 /mnt/lustre/d11 multiop /mnt/lustre/d11/f vO_c TMPPIPE=/tmp/multiop_open_wait_pipe.70650 /home/green/git/lustre-release/lustre/tests/sanityn.sh: line 298: /mnt/lustre2/d11/f: Text file busy PASS 11 (10s) == sanityn test 12: test lock ordering (link, stat, unlink) ========================================================== 21:20:16 (1788916816) warning: '-runtime' deprecated, use '-t runtime' instead - link 415 (time 1788916828.49 total 10.01 last 41.46) - link 1007 (time 1788916838.50 total 20.02 last 59.13) - link 1528 (time 1788916848.51 total 30.03 last 52.06) - link 2087 (time 1788916858.52 total 40.03 last 55.87) - link 2635 (time 1788916868.52 total 50.04 last 54.77) - link 2996 (time 1788916878.53 total 60.05 last 36.07) - link 3352 (time 1788916888.54 total 70.06 last 35.57) - link 3710 (time 1788916898.57 total 80.09 last 35.68) - link 4048 (time 1788916908.58 total 90.09 last 33.79) total: 4444 link in 100.05 seconds: 44.42 ops/second using seed 2484920235 running for 100 seconds - stat 1079 (time 1788916830 ; total 11 ; last 11) - stat 9718 (time 1788916841 ; total 22 ; last 11) - stat 10000 (time 1788916841 ; total 22 ; last 0) - stat 16380 (time 1788916852 ; total 33 ; last 11) - stat 20000 (time 1788916856 ; total 37 ; last 4) - stat 27142 (time 1788916867 ; total 48 ; last 11) - stat 30000 (time 1788916874 ; total 55 ; last 7) - stat 32869 (time 1788916885 ; total 66 ; last 11) - stat 36259 (time 1788916896 ; total 77 ; last 11) - stat 39348 (time 1788916907 ; total 88 ; last 11) - stat 40000 (time 1788916909 ; total 90 ; last 2) total: 42774 stats in 100 seconds: 427.739990 stats/second - unlinked 0 (time 1788916869 ; total 0 ; last 0) unlink(/mnt/lustre2/lockdir/lockfile4444) error: No such file or directory total: 4443 unlinks in 85 seconds: 52.270588 unlinks/second /home/green/git/lustre-release/lustre/tests/lockorder.sh: line 77: kill: (84007) - No such process /home/green/git/lustre-release/lustre/tests/lockorder.sh: line 78: kill: (84009) - No such process PASS 12 (142s) == sanityn test 14aa: execution of file open for write returns -ETXTBSY ========================================================== 21:22:38 (1788916958) striped dir -i0 -c2 -H all_char /mnt/lustre/d14aa.sanityn multiop /mnt/lustre/d14aa.sanityn/f14aa.sanityn vOw_c TMPPIPE=/tmp/multiop_open_wait_pipe.70650 /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 5091: 84625 Terminated $MULTIOP_PROG $FILE v$ARGS > $TMPPIPE (wd: ~) PASS 14aa (4s) == sanityn test 14ab: open(RDWR) of executing file returns -ETXTBSY ========================================================== 21:22:43 (1788916963) striped dir -i0 -c2 -H crush /mnt/lustre/d14ab.sanityn open(O_RDWR|O_CREAT): Text file busy /home/green/git/lustre-release/lustre/tests/test-framework.sh: line 5091: 85216 Terminated $DIR1/$tdir/sleep 60 (wd: ~) PASS 14ab (4s) == sanityn test 14b: truncate of executing file returns -ETXTBSY ================================================================ 21:22:48 (1788916968) striped dir -i0 -c2 -H crush2 /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 348: 85805 Terminated $DIR1/$tdir/sleep 60 PASS 14b (4s) == sanityn test 14c: open(O_TRUNC) of executing file return -ETXTBSY ============================================================ 21:22:53 (1788916973) 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 360: 86400 Terminated $DIR1/$tdir/sleep 60 PASS 14c (6s) == sanityn test 14d: chmod of executing file is still possible ================================================================== 21:22:59 (1788916979) striped dir -i0 -c2 -H fnv_1a_64 /mnt/lustre/d14d.sanityn chmod /home/green/git/lustre-release/lustre/tests/sanityn.sh: line 371: 86994 Terminated $DIR1/$tdir/sleep 60 PASS 14d (7s) == sanityn test 17: resource creation/LVB creation race ========================================================================= 21:23:06 (1788916986) fail_loc=0x8000030a PASS 17 (9s) == sanityn test 19: test concurrent uncached read races ========================================================================= 21:23:15 (1788916995) 32+0 records in 32+0 records out 16777216 bytes (17 MB, 16 MiB) copied, 0.212869 s, 78.8 MB/s loop 5 loop 10 loop 15 loop 20 PASS 19 (17s) == sanityn test 20: test extra readahead page left in cache ============================================================== 21:23:32 (1788917012) striped dir -i0 -c2 -H all_char /mnt/lustre/d20.sanityn PASS 20 (4s) == sanityn test 23: others should see updated atime while another read============================================================== 21:23:36 (1788917016) now is 1788917018 starting reads multiop /mnt/lustre/f23.sanityn vor20_c TMPPIPE=/tmp/multiop_open_wait_pipe.70650 new atime is 1788917079 PASS 23 (66s) == sanityn test 27: align non-overlapping extent locks from request ============================================================= 21:24:42 (1788917082) 4+0 records in 4+0 records out 16793600 bytes (17 MB, 16 MiB) copied, 0.238908 s, 70.3 MB/s dd 1 started dd 2 started 1+0 records in 1+0 records out 15728640 bytes (16 MB, 15 MiB) copied, 0.164422 s, 95.7 MB/s 1+0 records in 1+0 records out 8192 bytes (8.2 kB, 8.0 KiB) copied, 0.0240344 s, 341 kB/s dd 3 finished PASS 27 (8s) == sanityn test 39a: file mtime does not change after rename ========================================================== 21:24:50 (1788917090) repeat after cancel_lru_locks PASS 39a (3s) == sanityn test 39b: file mtime the same on clients with/out lock ========================================================== 21:24:53 (1788917093) repeat after cancel_lru_locks PASS 39b (5s) == sanityn test 39c: check truncate mtime update ================================================================================ 21:24:58 (1788917098) repeat after cancel_lru_locks PASS 39c (5s) == sanityn test 39d: sync write should update mtime ====== 21:25:03 (1788917103) fail_loc=0x411 fail_loc=0 PASS 39d (4s) == sanityn test 51a: layout lock: refresh layout should work ========================================================== 21:25:07 (1788917107) 0+1 records in 0+1 records out 158 bytes copied, 0.0167744 s, 9.4 kB/s /home/green/git/lustre-release/lustre/tests/sanityn.sh: line 3690: kill: (94671) - No such process PASS 51a (5s) == sanityn test 51c: layout lock: IT_LAYOUT blocked and correct layout can be returned ========================================================== 21:25:12 (1788917112) 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.0175566 s, 58.3 kB/s PASS 51c (8s) == sanityn test 51d: layout lock: losing layout lock should clean up memory map region ========================================================== 21:25:20 (1788917120) 1+0 records in 1+0 records out 1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.0172909 s, 60.6 MB/s Before revoking layout lock: 1024 KB mapped PASS 51d (4s) == sanityn test 107a: Basic grouplock conflict =========== 21:25:24 (1788917124) 10+0 records in 10+0 records out 10485760 bytes (10 MB, 10 MiB) copied, 0.235149 s, 44.6 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: 1 lmm_objects: - 0: { l_ost_idx: 1, l_fid: [0x2c0000401:0x1f2:0x0] } multiop /mnt/lustre/f107a.sanityn vOG14091995_g14091995c TMPPIPE=/tmp/multiop_open_wait_pipe.70650 multiop /mnt/lustre2/f107a.sanityn vO_G16022000r10g16022000c TMPPIPE=/tmp/multiop_open_wait_pipe.70650 First grouplock blocks second one PASS 107a (6s) == sanityn test 107b: Grouplock is added to the head of waiting list ========================================================== 21:25:30 (1788917130) 10+0 records in 10+0 records out 10485760 bytes (10 MB, 10 MiB) copied, 0.161276 s, 65.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: 0 lmm_objects: - 0: { l_ost_idx: 0, l_fid: [0x280000401:0x1f3:0x0] } multiop /mnt/lustre/f107b.sanityn vOG14091995_g14091995c TMPPIPE=/tmp/multiop_open_wait_pipe.70650 Grouplock blocks IO First grouplock blocks second one Second grouplock blocks IO PASS 107b (9s) cleanup: ====================================================== == sanityn test complete, duration 568 sec =============== 21:25:40 (1788917140) === sanityn: start cleanup 21:25:41 (1788917141) === Stopping clients: oleg227-client.virtnet /mnt/lustre2 (opts:) Stopping client oleg227-client.virtnet /mnt/lustre2 opts: === sanityn: finish cleanup 21:25:43 (1788917143) ===