== sanity-dom test sanityn: Run sanityn with Data-on-MDT files ========================================================== 01:35:56 (1724304956) mgs: CentOS Linux release 7.9.2009 (Core) MGS_OS_VERSION_ID=7 MGS_OS_ID=centos MGS_OS_VERSION_CODE=117440512 MGS_OS_ID_LIKE=rhel fedora centos mds1: CentOS Linux release 7.9.2009 (Core) MDS1_OS_ID_LIKE=rhel fedora centos MDS1_OS_ID=centos MDS1_OS_VERSION_ID=7 MDS1_OS_VERSION_CODE=117440512 ost1: CentOS Linux release 7.9.2009 (Core) OST1_OS_VERSION_CODE=117440512 OST1_OS_VERSION_ID=7 OST1_OS_ID_LIKE=rhel fedora centos OST1_OS_ID=centos client: CentOS Linux release 7.9.2009 (Core) CLIENT_OS_ID=centos CLIENT_OS_ID_LIKE=rhel fedora centos CLIENT_OS_VERSION_CODE=117440512 CLIENT_OS_VERSION_ID=7 excepting tests: 28 skipping tests SLOW=no: 33a === sanityn: start setup 01:36:01 (1724304961) === Starting client oleg154-client.virtnet: -o user_xattr,flock 192.168.201.154@tcp:/lustre /mnt/lustre2 Started clients oleg154-client.virtnet: 192.168.201.154@tcp:/lustre on /mnt/lustre2 type lustre (rw,checksum,flock,user_xattr,lruresize,lazystatfs,nouser_fid2path,verbose,noencrypt,statfs_project) oleg154-client.virtnet: executing check_config_client /mnt/lustre oleg154-client.virtnet: Checking config lustre mounted on /mnt/lustre Checking servers environments Checking clients oleg154-client.virtnet environments Using TIMEOUT=20 osc.lustre-OST0000-osc-ffff8800b66fb000.idle_timeout=debug osc.lustre-OST0000-osc-ffff88012a410800.idle_timeout=debug osc.lustre-OST0001-osc-ffff8800b66fb000.idle_timeout=debug osc.lustre-OST0001-osc-ffff88012a410800.idle_timeout=debug disable quota as required oleg154-server: oleg154-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 01:36:09 (1724304969) === 1+0 records in 1+0 records out 1048576 bytes (1.0 MB) copied, 0.0138417 s, 75.8 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/f10400] == sanityn test 1: Check attribute updates on 2 mount points ========================================================== 01:36:09 (1724304969) /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) == sanityn test 2a: check cached attribute updates on 2 mtpt's ================================================================== 01:36:12 (1724304972) -rw-r--r-- 1 root root 0 Aug 22 01:36 /mnt/lustre2/f2a /mnt/lustre/f2a has type file OK /mnt/lustre/f2a has perms 0777 OK PASS 2a (1s) == sanityn test 2b: check cached attribute updates on 2 mtpt's ================================================================== 01:36:13 (1724304973) -rw-r--r-- 1 root root 0 Aug 22 01:36 /mnt/lustre2/f2b /mnt/lustre2/f2b has type file OK /mnt/lustre2/f2b has perms 0777 OK PASS 2b (2s) == sanityn test 2c: check cached attribute updates on 2 mtpt's root ============================================================= 01:36:15 (1724304975) /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 ============================================================= 01:36:17 (1724304977) /mnt/lustre2 has type dir OK /mnt/lustre2 has perms 0755 OK PASS 2d (2s) == sanityn test 2e: check chmod on root is propagated to others ========================================================== 01:36:19 (1724304979) total 496 -rwxrwxrwx 1 root root 0 Aug 22 01:36 f2a -rwxrwxrwx 1 root root 0 Aug 22 01:36 f2b -rw-r--r-- 1 root root 2074728 Aug 22 01:28 ffsx.sanity-dom -rw-r--r-- 1 root root 0 Aug 22 01:28 ffsx.sanity-dom.fsxgood -rw-r--r-- 1 root root 96996 Aug 22 01:28 ffsx.sanity-dom.fsxlog total 496 -rwxrwxrwx 1 root root 0 Aug 22 01:36 f2a -rwxrwxrwx 1 root root 0 Aug 22 01:36 f2b -rw-r--r-- 1 root root 2074728 Aug 22 01:28 ffsx.sanity-dom -rw-r--r-- 1 root root 0 Aug 22 01:28 ffsx.sanity-dom.fsxgood -rw-r--r-- 1 root root 96996 Aug 22 01:28 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.0024156 s, 212 kB/s PASS 2e (2s) == sanityn test 2f: check attr/owner updates on DNE with 2 mtpt's ========================================================== 01:36:21 (1724304981) /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 (2s) == sanityn test 2g: check blocks update on sync write ==== 01:36:23 (1724304983) 2+0 records in 2+0 records out 2097152 bytes (2.1 MB) copied, 0.0765209 s, 27.4 MB/s /mnt/lustre/f2g.sanityn has 4104 blocks /mnt/lustre2/f2g.sanityn has 4104 blocks PASS 2g (1s) == sanityn test 4: fstat validation on multiple mount points ==================================================================== 01:36:24 (1724304984) PASS 4 (3s) == sanityn test 5: create a file on one mount, truncate it on the other ========================================================== 01:36:27 (1724304987) /mnt/lustre/f5 has type file OK /mnt/lustre/f5 has size 100 OK PASS 5 (1s) == sanityn test 6: remove of open file on other node ============================================================================ 01:36:29 (1724304989) 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 ======================================================================= 01:36:30 (1724304990) 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 ==================================================================== 01:36:32 (1724304992) creating special file /mnt/lustre/f8.sanityn opening file unlinking /mnt/lustre/f8.sanityn Ok, everything goes well. PASS 8 (1s) == sanityn test 9a: append of file with sub-page size on multiple mounts ========================================================== 01:36:33 (1724304993) PASS 9a (2s) == sanityn test 9b: append to striped sparse file ======== 01:36:35 (1724304995) 1+0 records in 1+0 records out 1048576 bytes (1.0 MB) copied, 0.0145838 s, 71.9 MB/s 3+0 records in 3+0 records out 3 bytes (3 B) copied, 0.0184172 s, 0.2 kB/s Data read (expecting 'foo'): foo PASS 9b (2s) == sanityn test 10a: write of file with sub-page size on multiple mounts ========================================================== 01:36:37 (1724304997) 1+0 records in 1+0 records out 1 byte (1 B) copied, 0.0021227 s, 0.5 kB/s 1+0 records in 1+0 records out 1 byte (1 B) copied, 0.0042534 s, 0.2 kB/s 1+0 records in 1+0 records out 1 byte (1 B) copied, 0.003119 s, 0.3 kB/s 1+0 records in 1+0 records out 1 byte (1 B) copied, 0.00345959 s, 0.3 kB/s 1+0 records in 1+0 records out 1 byte (1 B) copied, 0.00342087 s, 0.3 kB/s 1+0 records in 1+0 records out 1 byte (1 B) copied, 0.00390238 s, 0.3 kB/s 1+0 records in 1+0 records out 1 byte (1 B) copied, 0.00309214 s, 0.3 kB/s 1+0 records in 1+0 records out 1 byte (1 B) copied, 0.00318006 s, 0.3 kB/s 1+0 records in 1+0 records out 1 byte (1 B) copied, 0.00221124 s, 0.5 kB/s 1+0 records in 1+0 records out 1 byte (1 B) copied, 0.0033825 s, 0.3 kB/s 1+0 records in 1+0 records out 1 byte (1 B) copied, 0.00355263 s, 0.3 kB/s 1+0 records in 1+0 records out 1 byte (1 B) copied, 0.00360342 s, 0.3 kB/s PASS 10a (2s) == sanityn test 10b: write of file with sub-page size on multiple mounts ========================================================== 01:36:39 (1724304999) 1+0 records in 1+0 records out 3072 bytes (3.1 kB) copied, 0.00361591 s, 850 kB/s 1+0 records in 1+0 records out 4096 bytes (4.1 kB) copied, 0.0168679 s, 243 kB/s 1+0 records in 1+0 records out 3072 bytes (3.1 kB) copied, 0.000257337 s, 11.9 MB/s PASS 10b (2s) == sanityn test 11: execution of file opened for write should return error ============================================================== 01:36:41 (1724305001) striped dir -i1 -c2 -H fnv_1a_64 /mnt/lustre/d11 multiop /mnt/lustre/d11/f vO_c TMPPIPE=/tmp/multiop_open_wait_pipe.10400 /home/green/git/lustre-release/lustre/tests/sanityn.sh: line 301: /mnt/lustre2/d11/f: Text file busy PASS 11 (2s) == sanityn test 12: test lock ordering (link, stat, unlink) ========================================================== 01:36:43 (1724305003) warning: '-runtime' deprecated, use '-t runtime' instead - link 1622 (time 1724305013.90 total 10.01 last 162.10) - link 3733 (time 1724305023.90 total 20.01 last 211.09) - link 5646 (time 1724305033.91 total 30.01 last 191.23) - link 7241 (time 1724305043.92 total 40.03 last 159.26) - link 7917 (time 1724305053.93 total 50.03 last 67.55) - link 8377 (time 1724305063.94 total 60.04 last 45.97) - link 8937 (time 1724305073.95 total 70.05 last 55.94) - link 9897 (time 1724305083.95 total 80.06 last 95.95) - link 10679 (time 1724305093.96 total 90.06 last 78.14) total: 11532 link in 100.01 seconds: 115.31 ops/second using seed 1246063221 running for 100 seconds - stat 2182 (time 1724305015 ; total 11 ; last 11) - stat 10000 (time 1724305017 ; total 13 ; last 2) - stat 20000 (time 1724305021 ; total 17 ; last 4) - stat 30000 (time 1724305025 ; total 21 ; last 4) - stat 40000 (time 1724305029 ; total 25 ; last 4) - stat 50000 (time 1724305033 ; total 29 ; last 4) - stat 60000 (time 1724305037 ; total 33 ; last 4) - stat 70000 (time 1724305041 ; total 37 ; last 4) - stat 80000 (time 1724305049 ; total 45 ; last 8) - stat 89511 (time 1724305060 ; total 56 ; last 11) - stat 90000 (time 1724305062 ; total 58 ; last 2) - stat 91989 (time 1724305073 ; total 69 ; last 11) - stat 96968 (time 1724305084 ; total 80 ; last 11) - stat 100000 (time 1724305091 ; total 87 ; last 7) - stat 104365 (time 1724305102 ; total 98 ; last 11) total: 105656 stats in 100 seconds: 1056.560059 stats/second - unlinked 0 (time 1724305054 ; total 0 ; last 0) - unlinked 10000 (time 1724305161 ; total 107 ; last 107) unlink(/mnt/lustre2/lockdir/lockfile11532) error: No such file or directory total: 11531 unlinks in 120 seconds: 96.091667 unlinks/second /home/green/git/lustre-release/lustre/tests/lockorder.sh: line 77: kill: (24056) - No such process /home/green/git/lustre-release/lustre/tests/lockorder.sh: line 78: kill: (24059) - No such process PASS 12 (173s) == sanityn test 14aa: execution of file open for write returns -ETXTBSY ========================================================== 01:39:36 (1724305176) 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.10400 /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 4819: 24841 Terminated $MULTIOP_PROG $FILE v$ARGS > $TMPPIPE (wd: ~) PASS 14aa (3s) == sanityn test 14ab: open(RDWR) of executing file returns -ETXTBSY ========================================================== 01:39:39 (1724305179) 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 4819: 25485 Terminated $DIR1/$tdir/sleep 60 (wd: ~) PASS 14ab (2s) == sanityn test 14b: truncate of executing file returns -ETXTBSY ================================================================ 01:39:41 (1724305181) 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 351: 26126 Terminated $DIR1/$tdir/sleep 60 PASS 14b (2s) == sanityn test 14c: open(O_TRUNC) of executing file return -ETXTBSY ============================================================ 01:39:44 (1724305184) striped dir -i0 -c2 -H fnv_1a_64 /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 363: 26769 Terminated $DIR1/$tdir/sleep 60 PASS 14c (2s) == sanityn test 14d: chmod of executing file is still possible ================================================================== 01:39:46 (1724305186) striped dir -i0 -c2 -H all_char /mnt/lustre/d14d.sanityn chmod /home/green/git/lustre-release/lustre/tests/sanityn.sh: line 374: 27413 Terminated $DIR1/$tdir/sleep 60 PASS 14d (4s) == sanityn test 17: resource creation/LVB creation race ========================================================================= 01:39:51 (1724305191) fail_loc=0x8000030a PASS 17 (5s) == sanityn test 19: test concurrent uncached read races ========================================================================= 01:39:56 (1724305196) 32+0 records in 32+0 records out 16777216 bytes (17 MB) copied, 0.25651 s, 65.4 MB/s loop 5 loop 10 loop 15 loop 20 PASS 19 (13s) == sanityn test 20: test extra readahead page left in cache ============================================================== 01:40:09 (1724305209) striped dir -i0 -c2 -H crush /mnt/lustre/d20.sanityn PASS 20 (4s) == sanityn test 23: others should see updated atime while another read============================================================== 01:40:13 (1724305213) now is 1724305215 starting reads multiop /mnt/lustre/f23.sanityn vor20_c TMPPIPE=/tmp/multiop_open_wait_pipe.10400 new atime is 1724305276 PASS 23 (65s) == sanityn test 27: align non-overlapping extent locks from request ============================================================= 01:41:18 (1724305278) 4+0 records in 4+0 records out 16793600 bytes (17 MB) copied, 0.255643 s, 65.7 MB/s dd 1 started dd 2 started 1+0 records in 1+0 records out 15728640 bytes (16 MB) copied, 0.231085 s, 68.1 MB/s 1+0 records in 1+0 records out 8192 bytes (8.2 kB) copied, 0.0141964 s, 577 kB/s dd 3 finished PASS 27 (6s) == sanityn test 39a: file mtime does not change after rename ========================================================== 01:41:24 (1724305284) repeat after cancel_lru_locks PASS 39a (3s) == sanityn test 39b: file mtime the same on clients with/out lock ========================================================== 01:41:27 (1724305287) repeat after cancel_lru_locks PASS 39b (4s) == sanityn test 39c: check truncate mtime update ================================================================================ 01:41:31 (1724305291) repeat after cancel_lru_locks PASS 39c (4s) == sanityn test 39d: sync write should update mtime ====== 01:41:35 (1724305295) fail_loc=0x411 fail_loc=0 PASS 39d (3s) == sanityn test 51a: layout lock: refresh layout should work ========================================================== 01:41:39 (1724305299) 0+1 records in 0+1 records out 159 bytes (159 B) copied, 0.012654 s, 12.6 kB/s /home/green/git/lustre-release/lustre/tests/sanityn.sh: line 3514: kill: (3383) - No such process PASS 51a (5s) == sanityn test 51c: layout lock: IT_LAYOUT blocked and correct layout can be returned ========================================================== 01:41:44 (1724305304) fail_loc=0x172 Setting layout to have 2 stripes ... 1+0 records in 1+0 records out 1024 bytes (1.0 kB) copied, 0.0120459 s, 85.0 kB/s PASS 51c (7s) == sanityn test 51d: layout lock: losing layout lock should clean up memory map region ========================================================== 01:41:51 (1724305311) 1+0 records in 1+0 records out 1048576 bytes (1.0 MB) copied, 0.017701 s, 59.2 MB/s Before revoking layout lock: 1024 KB mapped PASS 51d (4s) == sanityn test 107a: Basic grouplock conflict =========== 01:41:55 (1724305315) 10+0 records in 10+0 records out 10485760 bytes (10 MB) copied, 0.240402 s, 43.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_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: [0x280000401:0x1fd:0x0] } multiop /mnt/lustre/f107a.sanityn vOG14091995_g14091995c TMPPIPE=/tmp/multiop_open_wait_pipe.10400 multiop /mnt/lustre2/f107a.sanityn vO_G16022000r10g16022000c TMPPIPE=/tmp/multiop_open_wait_pipe.10400 First grouplock blocks second one PASS 107a (5s) == sanityn test 107b: Grouplock is added to the head of waiting list ========================================================== 01:42:00 (1724305320) 10+0 records in 10+0 records out 10485760 bytes (10 MB) copied, 0.127236 s, 82.4 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: 1 lmm_objects: - 0: { l_ost_idx: 1, l_fid: [0x2c0000401:0x1fc:0x0] } multiop /mnt/lustre/f107b.sanityn vOG14091995_g14091995c TMPPIPE=/tmp/multiop_open_wait_pipe.10400 Grouplock blocks IO First grouplock blocks second one Second grouplock blocks IO PASS 107b (9s) cleanup: ====================================================== == sanityn test complete, duration 374 sec =============== 01:42:10 (1724305330) === sanityn: start cleanup 01:42:10 (1724305330) === Stopping clients: oleg154-client.virtnet /mnt/lustre2 (opts:) Stopping client oleg154-client.virtnet /mnt/lustre2 opts: === sanityn: finish cleanup 01:42:11 (1724305331) ===