== sanity-dom test sanityn: Run sanityn with Data-on-MDT files ========================================================== 07:48:34 (1784288914) 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 oleg123-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 07:48:40 (1784288920) === Starting client oleg123-client.virtnet: -o user_xattr,flock 192.168.201.123@tcp:/lustre /mnt/lustre2 Mount client oleg123-client.virtnet: mount -t lustre -o user_xattr,flock 192.168.201.123@tcp:/lustre /mnt/lustre2 Started clients oleg123-client.virtnet: 192.168.201.123@tcp:/lustre on /mnt/lustre2 type lustre (rw,flock,checksum,encrypt,lazystatfs,lruresize,nolock,statfs_project,nouser_fid2path,user_xattr,verbose) oleg123-client.virtnet: executing check_config_client /mnt/lustre oleg123-client.virtnet: Checking config lustre mounted on /mnt/lustre Checking servers environments Checking clients oleg123-client.virtnet environments Using TIMEOUT=20 osc.lustre-OST0000-osc-ffff983a4685b000.idle_timeout=debug osc.lustre-OST0000-osc-ffff983a48a01000.idle_timeout=debug osc.lustre-OST0001-osc-ffff983a4685b000.idle_timeout=debug osc.lustre-OST0001-osc-ffff983a48a01000.idle_timeout=debug disable quota as required oleg123-server: oleg123-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all === sanityn: finish setup 07:48:51 (1784288931) === 1+0 records in 1+0 records out 1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.0149514 s, 70.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/f66995] == sanityn test 1: Check attribute updates on 2 mount points ========================================================== 07:48:52 (1784288932) /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 (3s) == sanityn test 2a: check cached attribute updates on 2 mtpt's ================================================================== 07:48:55 (1784288935) -rw-r--r-- 1 root root 0 Jul 17 07:48 /mnt/lustre2/f2a /mnt/lustre/f2a has type file OK /mnt/lustre/f2a has perms 0777 OK PASS 2a (2s) == sanityn test 2b: check cached attribute updates on 2 mtpt's ================================================================== 07:48:57 (1784288937) -rw-r--r-- 1 root root 0 Jul 17 07:48 /mnt/lustre2/f2b /mnt/lustre2/f2b has type file OK /mnt/lustre2/f2b has perms 0777 OK PASS 2b (3s) == sanityn test 2c: check cached attribute updates on 2 mtpt's root ============================================================= 07:49:00 (1784288940) /mnt/lustre2 has type dir OK /mnt/lustre2 has perms 0777 OK PASS 2c (2s) == sanityn test 2d: check cached attribute updates on 2 mtpt's root ============================================================= 07:49:02 (1784288942) /mnt/lustre2 has type dir OK /mnt/lustre2 has perms 0755 OK PASS 2d (3s) == sanityn test 2e: check chmod on root is propagated to others ========================================================== 07:49:05 (1784288945) total 636 -rwxrwxrwx 1 root root 0 Jul 17 07:48 f2a -rwxrwxrwx 1 root root 0 Jul 17 07:48 f2b -rw-r--r-- 1 root root 1569660 Jul 17 07:40 ffsx.sanity-dom -rw-r--r-- 1 root root 0 Jul 17 07:40 ffsx.sanity-dom.fsxgood -rw-r--r-- 1 root root 72904 Jul 17 07:40 ffsx.sanity-dom.fsxlog total 636 -rwxrwxrwx 1 root root 0 Jul 17 07:48 f2a -rwxrwxrwx 1 root root 0 Jul 17 07:48 f2b -rw-r--r-- 1 root root 1569660 Jul 17 07:40 ffsx.sanity-dom -rw-r--r-- 1 root root 0 Jul 17 07:40 ffsx.sanity-dom.fsxgood -rw-r--r-- 1 root root 72904 Jul 17 07:40 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.00180074 s, 284 kB/s PASS 2e (2s) == sanityn test 2f: check attr/owner updates on DNE with 2 mtpt's ========================================================== 07:49:07 (1784288947) SKIP: sanityn test_2f needs >= 2 MDTs SKIP 2f (1s) == sanityn test 2g: check blocks update on sync write ==== 07:49:08 (1784288948) 2+0 records in 2+0 records out 2097152 bytes (2.1 MB, 2.0 MiB) copied, 0.0801659 s, 26.2 MB/s /mnt/lustre/f2g.sanityn has 4109 blocks /mnt/lustre2/f2g.sanityn has 4109 blocks PASS 2g (2s) == sanityn test 4: fstat validation on multiple mount points ==================================================================== 07:49:10 (1784288950) PASS 4 (3s) == sanityn test 5: create a file on one mount, truncate it on the other ========================================================== 07:49:13 (1784288953) /mnt/lustre/f5 has type file OK /mnt/lustre/f5 has size 100 OK PASS 5 (3s) == sanityn test 6: remove of open file on other node ============================================================================ 07:49:16 (1784288956) 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) == sanityn test 7: remove of open directory on other node ======================================================================= 07:49:18 (1784288958) creating directory /mnt/lustre/d7 opening directory unlinking /mnt/lustre/d7 Ok, everything goes well. PASS 7 (2s) == sanityn test 8: remove of open special file on other node ==================================================================== 07:49:20 (1784288960) creating special file /mnt/lustre/f8.sanityn opening file unlinking /mnt/lustre/f8.sanityn Ok, everything goes well. PASS 8 (2s) == sanityn test 9a: append of file with sub-page size on multiple mounts ========================================================== 07:49:22 (1784288962) PASS 9a (3s) == sanityn test 9b: append to striped sparse file ======== 07:49:25 (1784288965) 1+0 records in 1+0 records out 1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.0147763 s, 71.0 MB/s 3+0 records in 3+0 records out 3 bytes copied, 0.011461 s, 0.3 kB/s Data read (expecting 'foo'): foo PASS 9b (2s) == sanityn test 10a: write of file with sub-page size on multiple mounts ========================================================== 07:49:27 (1784288967) 1+0 records in 1+0 records out 1 byte copied, 0.00171739 s, 0.6 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.00264439 s, 0.4 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.00304921 s, 0.3 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.00288308 s, 0.3 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.00704832 s, 0.1 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.00246138 s, 0.4 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.00274819 s, 0.4 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.00389199 s, 0.3 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.00392623 s, 0.3 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.00314686 s, 0.3 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.00365609 s, 0.3 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.00294844 s, 0.3 kB/s PASS 10a (2s) == sanityn test 10b: write of file with sub-page size on multiple mounts ========================================================== 07:49:29 (1784288969) 1+0 records in 1+0 records out 3072 bytes (3.1 kB, 3.0 KiB) copied, 0.00177477 s, 1.7 MB/s 1+0 records in 1+0 records out 4096 bytes (4.1 kB, 4.0 KiB) copied, 0.00971947 s, 421 kB/s 1+0 records in 1+0 records out 3072 bytes (3.1 kB, 3.0 KiB) copied, 0.000203851 s, 15.1 MB/s PASS 10b (3s) == sanityn test 11: execution of file opened for write should return error ============================================================== 07:49:32 (1784288972) multiop /mnt/lustre/d11/f vO_c TMPPIPE=/tmp/multiop_open_wait_pipe.66995 /home/green/git/lustre-release/lustre/tests/sanityn.sh: line 298: /mnt/lustre2/d11/f: Text file busy PASS 11 (2s) == sanityn test 12: test lock ordering (link, stat, unlink) ========================================================== 07:49:34 (1784288974) warning: '-runtime' deprecated, use '-t runtime' instead - link 2256 (time 1784288985.42 total 10.00 last 225.50) - link 5209 (time 1784288995.42 total 20.01 last 295.28) - link 7866 (time 1784289005.42 total 30.01 last 265.66) - link 10000 (time 1784289014.28 total 38.87 last 240.88) - link 12512 (time 1784289024.28 total 48.87 last 251.13) - link 14820 (time 1784289034.28 total 58.87 last 230.75) - link 16776 (time 1784289044.29 total 68.87 last 195.56) - link 18641 (time 1784289054.29 total 78.87 last 186.50) - link 20000 (time 1784289061.01 total 85.60 last 202.08) - link 21826 (time 1784289071.01 total 95.60 last 182.55) total: 22770 link in 100.00 seconds: 227.69 ops/second using seed 4173791420 running for 100 seconds - stat 2592 (time 1784288987 ; total 11 ; last 11) - stat 8726 (time 1784288998 ; total 22 ; last 11) - stat 10000 (time 1784289000 ; total 24 ; last 2) - stat 16384 (time 1784289011 ; total 35 ; last 11) - stat 20000 (time 1784289017 ; total 41 ; last 6) - stat 25620 (time 1784289028 ; total 52 ; last 11) - stat 28770 (time 1784289039 ; total 63 ; last 11) - stat 30000 (time 1784289043 ; total 67 ; last 4) - stat 32817 (time 1784289054 ; total 78 ; last 11) - stat 35653 (time 1784289065 ; total 89 ; last 11) - stat 39213 (time 1784289076 ; total 100 ; last 11) total: 39214 stats in 100 seconds: 392.140015 stats/second - unlinked 0 (time 1784289026 ; total 0 ; last 0) - unlinked 10000 (time 1784289092 ; total 66 ; last 66) - unlinked 20000 (time 1784289126 ; total 100 ; last 34) unlink(/mnt/lustre2/lockdir/lockfile22770) error: No such file or directory total: 22769 unlinks in 109 seconds: 208.889908 unlinks/second /home/green/git/lustre-release/lustre/tests/lockorder.sh: line 77: kill: (79527) - No such process /home/green/git/lustre-release/lustre/tests/lockorder.sh: line 78: kill: (79529) - No such process PASS 12 (162s) == sanityn test 14aa: execution of file open for write returns -ETXTBSY ========================================================== 07:52:16 (1784289136) multiop /mnt/lustre/d14aa.sanityn/f14aa.sanityn vOw_c TMPPIPE=/tmp/multiop_open_wait_pipe.66995 /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 5041: 80133 Terminated $MULTIOP_PROG $FILE v$ARGS > $TMPPIPE (wd: ~) PASS 14aa (2s) == sanityn test 14ab: open(RDWR) of executing file returns -ETXTBSY ========================================================== 07:52:19 (1784289139) open(O_RDWR|O_CREAT): Text file busy /home/green/git/lustre-release/lustre/tests/test-framework.sh: line 5041: 80712 Terminated $DIR1/$tdir/sleep 60 (wd: ~) PASS 14ab (1s) == sanityn test 14b: truncate of executing file returns -ETXTBSY ================================================================ 07:52:21 (1784289141) 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: 81289 Terminated $DIR1/$tdir/sleep 60 PASS 14b (2s) == sanityn test 14c: open(O_TRUNC) of executing file return -ETXTBSY ============================================================ 07:52:23 (1784289143) cp: cannot create regular file '/mnt/lustre2/d14c.sanityn/sleep': Text file busy /home/green/git/lustre-release/lustre/tests/sanityn.sh: line 360: 81870 Terminated $DIR1/$tdir/sleep 60 PASS 14c (2s) == sanityn test 14d: chmod of executing file is still possible ================================================================== 07:52:25 (1784289145) chmod /home/green/git/lustre-release/lustre/tests/sanityn.sh: line 371: 82451 Terminated $DIR1/$tdir/sleep 60 PASS 14d (2s) == sanityn test 17: resource creation/LVB creation race ========================================================================= 07:52:27 (1784289147) fail_loc=0x8000030a PASS 17 (5s) == sanityn test 19: test concurrent uncached read races ========================================================================= 07:52:32 (1784289152) oleg123-server: error: get_param: param_path 'osd-*/lustre-MDT*/read_cache_enable': No such file or directory pdsh@oleg123-client: oleg123-server: ssh exited with exit code 2 SKIP: sanityn test_19 not cache-capable obdfilter SKIP 19 (1s) == sanityn test 20: test extra readahead page left in cache ============================================================== 07:52:33 (1784289153) PASS 20 (2s) == sanityn test 23: others should see updated atime while another read============================================================== 07:52:35 (1784289155) now is 1784289156 starting reads multiop /mnt/lustre/f23.sanityn vor20_c TMPPIPE=/tmp/multiop_open_wait_pipe.66995 new atime is 1784289217 PASS 23 (63s) == sanityn test 27: align non-overlapping extent locks from request ============================================================= 07:53:39 (1784289219) 4+0 records in 4+0 records out 16793600 bytes (17 MB, 16 MiB) copied, 0.170658 s, 98.4 MB/s dd 1 started dd 2 started 1+0 records in 1+0 records out 15728640 bytes (16 MB, 15 MiB) copied, 0.092892 s, 169 MB/s 1+0 records in 1+0 records out 8192 bytes (8.2 kB, 8.0 KiB) copied, 0.00416767 s, 2.0 MB/s dd 3 finished PASS 27 (4s) == sanityn test 39a: file mtime does not change after rename ========================================================== 07:53:43 (1784289223) repeat after cancel_lru_locks PASS 39a (3s) == sanityn test 39b: file mtime the same on clients with/out lock ========================================================== 07:53:46 (1784289226) repeat after cancel_lru_locks PASS 39b (3s) == sanityn test 39c: check truncate mtime update ================================================================================ 07:53:49 (1784289229) repeat after cancel_lru_locks PASS 39c (3s) == sanityn test 39d: sync write should update mtime ====== 07:53:52 (1784289232) fail_loc=0x411 fail_loc=0 PASS 39d (2s) == sanityn test 51a: layout lock: refresh layout should work ========================================================== 07:53:54 (1784289234) 0+1 records in 0+1 records out 158 bytes copied, 0.00375119 s, 42.1 kB/s /home/green/git/lustre-release/lustre/tests/sanityn.sh: line 3690: kill: (88819) - No such process PASS 51a (4s) == sanityn test 51c: layout lock: IT_LAYOUT blocked and correct layout can be returned ========================================================== 07:53:58 (1784289238) 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.00396296 s, 258 kB/s PASS 51c (6s) == sanityn test 51d: layout lock: losing layout lock should clean up memory map region ========================================================== 07:54:04 (1784289244) 1+0 records in 1+0 records out 1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.012857 s, 81.6 MB/s Before revoking layout lock: 1024 KB mapped PASS 51d (3s) == sanityn test 107a: Basic grouplock conflict =========== 07:54:08 (1784289248) 10+0 records in 10+0 records out 10485760 bytes (10 MB, 10 MiB) copied, 0.100162 s, 105 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: [0x280000400:0x3cf:0x0] } multiop /mnt/lustre/f107a.sanityn vOG14091995_g14091995c TMPPIPE=/tmp/multiop_open_wait_pipe.66995 multiop /mnt/lustre2/f107a.sanityn vO_G16022000r10g16022000c TMPPIPE=/tmp/multiop_open_wait_pipe.66995 First grouplock blocks second one PASS 107a (4s) == sanityn test 107b: Grouplock is added to the head of waiting list ========================================================== 07:54:12 (1784289252) 10+0 records in 10+0 records out 10485760 bytes (10 MB, 10 MiB) copied, 0.102348 s, 102 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: [0x240000400:0x3d0:0x0] } multiop /mnt/lustre/f107b.sanityn vOG14091995_g14091995c TMPPIPE=/tmp/multiop_open_wait_pipe.66995 Grouplock blocks IO First grouplock blocks second one Second grouplock blocks IO PASS 107b (8s) cleanup: ====================================================== == sanityn test complete, duration 347 sec =============== 07:54:21 (1784289261) === sanityn: start cleanup 07:54:21 (1784289261) === Stopping clients: oleg123-client.virtnet /mnt/lustre2 (opts:) Stopping client oleg123-client.virtnet /mnt/lustre2 opts: === sanityn: finish cleanup 07:54:23 (1784289263) ===