== sanity-dom test sanityn: Run sanityn with Data-on-MDT files ========================================================== 13:48:20 (1734115700) 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 oleg142-server: ls: cannot access /home/green/git/lustre-release/lustre/tests/except/sanityn.*ex: No such file or directory excepting tests: 28 102 skipping tests SLOW=no: 33a === sanityn: start setup 13:48:24 (1734115704) === Starting client oleg142-client.virtnet: -o user_xattr,flock 192.168.201.142@tcp:/lustre /mnt/lustre2 Started clients oleg142-client.virtnet: 192.168.201.142@tcp:/lustre on /mnt/lustre2 type lustre (rw,checksum,flock,user_xattr,lruresize,lazystatfs,nouser_fid2path,verbose,noencrypt,statfs_project) oleg142-client.virtnet: executing check_config_client /mnt/lustre oleg142-client.virtnet: Checking config lustre mounted on /mnt/lustre Checking servers environments Checking clients oleg142-client.virtnet environments Using TIMEOUT=20 osc.lustre-OST0000-osc-ffff8800aaab2000.idle_timeout=debug osc.lustre-OST0000-osc-ffff8800b612d800.idle_timeout=debug osc.lustre-OST0001-osc-ffff8800aaab2000.idle_timeout=debug osc.lustre-OST0001-osc-ffff8800b612d800.idle_timeout=debug disable quota as required oleg142-server: oleg142-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all === sanityn: finish setup 13:48:31 (1734115711) === 1+0 records in 1+0 records out 1048576 bytes (1.0 MB) copied, 0.00953344 s, 110 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/f4745] == sanityn test 1: Check attribute updates on 2 mount points ========================================================== 13:48:31 (1734115711) /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 (1s) == sanityn test 2a: check cached attribute updates on 2 mtpt's ================================================================== 13:48:33 (1734115713) -rw-r--r-- 1 root root 0 Dec 13 13: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 ================================================================== 13:48:34 (1734115714) -rw-r--r-- 1 root root 0 Dec 13 13:48 /mnt/lustre2/f2b /mnt/lustre2/f2b has type file OK /mnt/lustre2/f2b has perms 0777 OK PASS 2b (1s) == sanityn test 2c: check cached attribute updates on 2 mtpt's root ============================================================= 13:48:35 (1734115715) /mnt/lustre2 has type dir OK /mnt/lustre2 has perms 0777 OK PASS 2c (1s) == sanityn test 2d: check cached attribute updates on 2 mtpt's root ============================================================= 13:48:36 (1734115716) /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 ========================================================== 13:48:38 (1734115718) total 453 -rwxrwxrwx 1 root root 0 Dec 13 13:48 f2a -rwxrwxrwx 1 root root 0 Dec 13 13:48 f2b -rw-r--r-- 1 root root 1580717 Dec 13 13:42 ffsx.sanity-dom -rw-r--r-- 1 root root 0 Dec 13 13:42 ffsx.sanity-dom.fsxgood -rw-r--r-- 1 root root 72589 Dec 13 13:42 ffsx.sanity-dom.fsxlog total 453 -rwxrwxrwx 1 root root 0 Dec 13 13:48 f2a -rwxrwxrwx 1 root root 0 Dec 13 13:48 f2b -rw-r--r-- 1 root root 1580717 Dec 13 13:42 ffsx.sanity-dom -rw-r--r-- 1 root root 0 Dec 13 13:42 ffsx.sanity-dom.fsxgood -rw-r--r-- 1 root root 72589 Dec 13 13:42 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 (512 B) copied, 0.00135645 s, 377 kB/s PASS 2e (1s) == sanityn test 2f: check attr/owner updates on DNE with 2 mtpt's ========================================================== 13:48:39 (1734115719) SKIP: sanityn test_2f needs >= 2 MDTs SKIP 2f (1s) == sanityn test 2g: check blocks update on sync write ==== 13:48:40 (1734115720) 2+0 records in 2+0 records out 2097152 bytes (2.1 MB) copied, 0.066671 s, 31.5 MB/s /mnt/lustre/f2g.sanityn has 4113 blocks /mnt/lustre2/f2g.sanityn has 4113 blocks PASS 2g (1s) == sanityn test 4: fstat validation on multiple mount points ==================================================================== 13:48:41 (1734115721) PASS 4 (3s) == sanityn test 5: create a file on one mount, truncate it on the other ========================================================== 13:48:44 (1734115724) /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 ============================================================================ 13:48:45 (1734115725) 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 ======================================================================= 13:48:47 (1734115727) creating directory /mnt/lustre/d7 opening directory unlinking /mnt/lustre/d7 Ok, everything goes well. PASS 7 (1s) == sanityn test 8: remove of open special file on other node ==================================================================== 13:48:48 (1734115728) 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 ========================================================== 13:48:50 (1734115730) PASS 9a (2s) == sanityn test 9b: append to striped sparse file ======== 13:48:52 (1734115732) 1+0 records in 1+0 records out 1048576 bytes (1.0 MB) copied, 0.0117757 s, 89.0 MB/s 3+0 records in 3+0 records out 3 bytes (3 B) copied, 0.0223764 s, 0.1 kB/s Data read (expecting 'foo'): foo PASS 9b (1s) == sanityn test 10a: write of file with sub-page size on multiple mounts ========================================================== 13:48:53 (1734115733) 1+0 records in 1+0 records out 1 byte (1 B) copied, 0.00114609 s, 0.9 kB/s 1+0 records in 1+0 records out 1 byte (1 B) copied, 0.00222993 s, 0.4 kB/s 1+0 records in 1+0 records out 1 byte (1 B) copied, 0.00231304 s, 0.4 kB/s 1+0 records in 1+0 records out 1 byte (1 B) copied, 0.00230717 s, 0.4 kB/s 1+0 records in 1+0 records out 1 byte (1 B) copied, 0.0022471 s, 0.4 kB/s 1+0 records in 1+0 records out 1 byte (1 B) copied, 0.00240805 s, 0.4 kB/s 1+0 records in 1+0 records out 1 byte (1 B) copied, 0.00231484 s, 0.4 kB/s 1+0 records in 1+0 records out 1 byte (1 B) copied, 0.0028785 s, 0.3 kB/s 1+0 records in 1+0 records out 1 byte (1 B) copied, 0.00303498 s, 0.3 kB/s 1+0 records in 1+0 records out 1 byte (1 B) copied, 0.00236034 s, 0.4 kB/s 1+0 records in 1+0 records out 1 byte (1 B) copied, 0.00265288 s, 0.4 kB/s 1+0 records in 1+0 records out 1 byte (1 B) copied, 0.00231882 s, 0.4 kB/s PASS 10a (2s) == sanityn test 10b: write of file with sub-page size on multiple mounts ========================================================== 13:48:55 (1734115735) 1+0 records in 1+0 records out 3072 bytes (3.1 kB) copied, 0.00151596 s, 2.0 MB/s 1+0 records in 1+0 records out 4096 bytes (4.1 kB) copied, 0.00690486 s, 593 kB/s 1+0 records in 1+0 records out 3072 bytes (3.1 kB) copied, 0.000166495 s, 18.5 MB/s PASS 10b (2s) == sanityn test 11: execution of file opened for write should return error ============================================================== 13:48:57 (1734115737) multiop /mnt/lustre/d11/f vO_c TMPPIPE=/tmp/multiop_open_wait_pipe.4745 /home/green/git/lustre-release/lustre/tests/sanityn.sh: line 301: /mnt/lustre2/d11/f: Text file busy PASS 11 (1s) == sanityn test 12: test lock ordering (link, stat, unlink) ========================================================== 13:48:58 (1734115738) warning: '-runtime' deprecated, use '-t runtime' instead - link 3009 (time 1734115749.23 total 10.00 last 300.84) - link 7579 (time 1734115759.23 total 20.00 last 456.93) - link 10000 (time 1734115764.15 total 24.92 last 491.97) - link 14782 (time 1734115774.15 total 34.92 last 478.20) - link 19399 (time 1734115784.15 total 44.93 last 461.68) - link 23849 (time 1734115794.15 total 54.93 last 444.93) - link 27489 (time 1734115804.15 total 64.93 last 364.00) - link 30000 (time 1734115811.07 total 71.84 last 363.24) - link 33463 (time 1734115821.07 total 81.84 last 346.27) - link 36834 (time 1734115831.07 total 91.84 last 337.03) total: 39780 link in 100.00 seconds: 397.80 ops/second using seed 2704493954 running for 100 seconds - stat 3598 (time 1734115751 ; total 11 ; last 11) - stat 10000 (time 1734115759 ; total 19 ; last 8) - stat 18429 (time 1734115770 ; total 30 ; last 11) - stat 20000 (time 1734115771 ; total 31 ; last 1) - stat 27412 (time 1734115782 ; total 42 ; last 11) - stat 30000 (time 1734115785 ; total 45 ; last 3) - stat 36994 (time 1734115796 ; total 56 ; last 11) - stat 40000 (time 1734115802 ; total 62 ; last 6) - stat 45502 (time 1734115813 ; total 73 ; last 11) - stat 50000 (time 1734115822 ; total 82 ; last 9) - stat 54928 (time 1734115833 ; total 93 ; last 11) total: 59434 stats in 100 seconds: 594.340027 stats/second - unlinked 0 (time 1734115790 ; total 0 ; last 0) - unlinked 10000 (time 1734115841 ; total 51 ; last 51) - unlinked 20000 (time 1734115865 ; total 75 ; last 24) - unlinked 30000 (time 1734115889 ; total 99 ; last 24) unlink(/mnt/lustre2/lockdir/lockfile39780) error: No such file or directory total: 39779 unlinks in 122 seconds: 326.057373 unlinks/second /home/green/git/lustre-release/lustre/tests/lockorder.sh: line 77: kill: (18409) - No such process /home/green/git/lustre-release/lustre/tests/lockorder.sh: line 78: kill: (18412) - No such process PASS 12 (175s) == sanityn test 14aa: execution of file open for write returns -ETXTBSY ========================================================== 13:51:53 (1734115913) multiop /mnt/lustre/d14aa.sanityn/f14aa.sanityn vOw_c TMPPIPE=/tmp/multiop_open_wait_pipe.4745 /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 4860: 19189 Terminated $MULTIOP_PROG $FILE v$ARGS > $TMPPIPE (wd: ~) PASS 14aa (1s) == sanityn test 14ab: open(RDWR) of executing file returns -ETXTBSY ========================================================== 13:51:54 (1734115914) open(O_RDWR|O_CREAT): Text file busy /home/green/git/lustre-release/lustre/tests/test-framework.sh: line 4860: 19823 Terminated $DIR1/$tdir/sleep 60 (wd: ~) PASS 14ab (2s) == sanityn test 14b: truncate of executing file returns -ETXTBSY ================================================================ 13:51:56 (1734115916) 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: 20457 Terminated $DIR1/$tdir/sleep 60 PASS 14b (1s) == sanityn test 14c: open(O_TRUNC) of executing file return -ETXTBSY ============================================================ 13:51:57 (1734115917) cp: cannot create regular file '/mnt/lustre2/d14c.sanityn/sleep': Text file busy /home/green/git/lustre-release/lustre/tests/sanityn.sh: line 363: 21091 Terminated $DIR1/$tdir/sleep 60 PASS 14c (2s) == sanityn test 14d: chmod of executing file is still possible ================================================================== 13:51:59 (1734115919) chmod /home/green/git/lustre-release/lustre/tests/sanityn.sh: line 374: 21725 Terminated $DIR1/$tdir/sleep 60 PASS 14d (2s) == sanityn test 17: resource creation/LVB creation race ========================================================================= 13:52:01 (1734115921) fail_loc=0x8000030a PASS 17 (3s) == sanityn test 19: test concurrent uncached read races ========================================================================= 13:52:04 (1734115924) oleg142-server: error: get_param: param_path 'osd-*/lustre-MDT*/read_cache_enable': No such file or directory pdsh@oleg142-client: oleg142-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 ============================================================== 13:52:05 (1734115925) PASS 20 (2s) == sanityn test 23: others should see updated atime while another read============================================================== 13:52:07 (1734115927) now is 1734115927 starting reads multiop /mnt/lustre/f23.sanityn vor20_c TMPPIPE=/tmp/multiop_open_wait_pipe.4745 new atime is 1734115988 PASS 23 (62s) == sanityn test 27: align non-overlapping extent locks from request ============================================================= 13:53:10 (1734115990) 4+0 records in 4+0 records out 16793600 bytes (17 MB) copied, 0.117361 s, 143 MB/s dd 1 started dd 2 started 1+0 records in 1+0 records out 15728640 bytes (16 MB) copied, 0.255096 s, 61.7 MB/s 1+0 records in 1+0 records out 8192 bytes (8.2 kB) copied, 0.00333843 s, 2.5 MB/s dd 3 finished PASS 27 (4s) == sanityn test 39a: file mtime does not change after rename ========================================================== 13:53:13 (1734115993) repeat after cancel_lru_locks PASS 39a (2s) == sanityn test 39b: file mtime the same on clients with/out lock ========================================================== 13:53:15 (1734115995) repeat after cancel_lru_locks PASS 39b (2s) == sanityn test 39c: check truncate mtime update ================================================================================ 13:53:17 (1734115997) repeat after cancel_lru_locks PASS 39c (3s) == sanityn test 39d: sync write should update mtime ====== 13:53:20 (1734116000) fail_loc=0x411 fail_loc=0 PASS 39d (1s) == sanityn test 51a: layout lock: refresh layout should work ========================================================== 13:53:22 (1734116002) 0+1 records in 0+1 records out 159 bytes (159 B) copied, 0.00317172 s, 50.1 kB/s /home/green/git/lustre-release/lustre/tests/sanityn.sh: line 3518: kill: (28730) - No such process PASS 51a (3s) == sanityn test 51c: layout lock: IT_LAYOUT blocked and correct layout can be returned ========================================================== 13:53:25 (1734116005) fail_loc=0x172 Setting layout to have 2 stripes ... 1+0 records in 1+0 records out 1024 bytes (1.0 kB) copied, 0.00442718 s, 231 kB/s PASS 51c (6s) == sanityn test 51d: layout lock: losing layout lock should clean up memory map region ========================================================== 13:53:31 (1734116011) 1+0 records in 1+0 records out 1048576 bytes (1.0 MB) copied, 0.00849214 s, 123 MB/s Before revoking layout lock: 1024 KB mapped PASS 51d (2s) == sanityn test 107a: Basic grouplock conflict =========== 13:53:33 (1734116013) 10+0 records in 10+0 records out 10485760 bytes (10 MB) copied, 0.0589693 s, 178 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: 1 lmm_objects: - 0: { l_ost_idx: 1, l_fid: [0x280000400:0x3db:0x0] } multiop /mnt/lustre/f107a.sanityn vOG14091995_g14091995c TMPPIPE=/tmp/multiop_open_wait_pipe.4745 multiop /mnt/lustre2/f107a.sanityn vO_G16022000r10g16022000c TMPPIPE=/tmp/multiop_open_wait_pipe.4745 First grouplock blocks second one PASS 107a (4s) == sanityn test 107b: Grouplock is added to the head of waiting list ========================================================== 13:53:37 (1734116017) 10+0 records in 10+0 records out 10485760 bytes (10 MB) copied, 0.0588238 s, 178 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: 0 lmm_objects: - 0: { l_ost_idx: 0, l_fid: [0x240000400:0x3dd:0x0] } multiop /mnt/lustre/f107b.sanityn vOG14091995_g14091995c TMPPIPE=/tmp/multiop_open_wait_pipe.4745 Grouplock blocks IO First grouplock blocks second one Second grouplock blocks IO PASS 107b (7s) cleanup: ====================================================== == sanityn test complete, duration 325 sec =============== 13:53:45 (1734116025) === sanityn: start cleanup 13:53:45 (1734116025) === Stopping clients: oleg142-client.virtnet /mnt/lustre2 (opts:) Stopping client oleg142-client.virtnet /mnt/lustre2 opts: === sanityn: finish cleanup 13:53:46 (1734116026) ===