== sanity-dom test sanityn: Run sanityn with Data-on-MDT files ========================================================== 15:19:46 (1746127186) 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 oleg122-server: ls: cannot access /home/green/git/lustre-release/lustre/tests/except/sanityn.*ex: No such file or directory excepting tests: 28 skipping tests SLOW=no: 33a === sanityn: start setup 15:19:55 (1746127195) === Starting client oleg122-client.virtnet: -o user_xattr,flock 192.168.201.122@tcp:/lustre /mnt/lustre2 Started clients oleg122-client.virtnet: 192.168.201.122@tcp:/lustre on /mnt/lustre2 type lustre (rw,checksum,noencrypt,flock,lazystatfs,lruresize,nolock,statfs_project,nouser_fid2path,user_xattr,verbose) oleg122-client.virtnet: executing check_config_client /mnt/lustre oleg122-client.virtnet: Checking config lustre mounted on /mnt/lustre Checking servers environments Checking clients oleg122-client.virtnet environments Using TIMEOUT=20 osc.lustre-OST0000-osc-ffff8800820f3800.idle_timeout=debug osc.lustre-OST0000-osc-ffff880088427000.idle_timeout=debug osc.lustre-OST0001-osc-ffff8800820f3800.idle_timeout=debug osc.lustre-OST0001-osc-ffff880088427000.idle_timeout=debug disable quota as required oleg122-server: oleg122-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:20:13 (1746127213) === 1+0 records in 1+0 records out 1048576 bytes (1.0 MB) copied, 0.0179997 s, 58.3 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/f13488] == sanityn test 1: Check attribute updates on 2 mount points ========================================================== 15:20:14 (1746127214) /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 ================================================================== 15:20:18 (1746127218) -rw-r--r-- 1 root root 0 May 1 15:20 /mnt/lustre2/f2a /mnt/lustre/f2a has type file OK /mnt/lustre/f2a has perms 0777 OK PASS 2a (3s) == sanityn test 2b: check cached attribute updates on 2 mtpt's ================================================================== 15:20:21 (1746127221) -rw-r--r-- 1 root root 0 May 1 15:20 /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 ============================================================= 15:20:24 (1746127224) /mnt/lustre2 has type dir OK /mnt/lustre2 has perms 0777 OK PASS 2c (3s) == sanityn test 2d: check cached attribute updates on 2 mtpt's root ============================================================= 15:20:27 (1746127227) /mnt/lustre2 has type dir OK /mnt/lustre2 has perms 0755 OK PASS 2d (4s) == sanityn test 2e: check chmod on root is propagated to others ========================================================== 15:20:31 (1746127231) total 436 -rwxrwxrwx 1 root root 0 May 1 15:20 f2a -rwxrwxrwx 1 root root 0 May 1 15:20 f2b -rw-r--r-- 1 root root 1929735 May 1 15:06 ffsx.sanity-dom -rw-r--r-- 1 root root 0 May 1 15:05 ffsx.sanity-dom.fsxgood -rw-r--r-- 1 root root 97609 May 1 15:06 ffsx.sanity-dom.fsxlog total 436 -rwxrwxrwx 1 root root 0 May 1 15:20 f2a -rwxrwxrwx 1 root root 0 May 1 15:20 f2b -rw-r--r-- 1 root root 1929735 May 1 15:06 ffsx.sanity-dom -rw-r--r-- 1 root root 0 May 1 15:05 ffsx.sanity-dom.fsxgood -rw-r--r-- 1 root root 97609 May 1 15:06 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.00388652 s, 132 kB/s PASS 2e (4s) == sanityn test 2f: check attr/owner updates on DNE with 2 mtpt's ========================================================== 15:20:35 (1746127235) /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 (3s) == sanityn test 2g: check blocks update on sync write ==== 15:20:38 (1746127238) 2+0 records in 2+0 records out 2097152 bytes (2.1 MB) copied, 0.123349 s, 17.0 MB/s /mnt/lustre/f2g.sanityn has 4104 blocks /mnt/lustre2/f2g.sanityn has 4104 blocks PASS 2g (3s) == sanityn test 4: fstat validation on multiple mount points ==================================================================== 15:20:41 (1746127241) PASS 4 (4s) == sanityn test 5: create a file on one mount, truncate it on the other ========================================================== 15:20:45 (1746127245) /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 ============================================================================ 15:20:48 (1746127248) 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 (3s) == sanityn test 7: remove of open directory on other node ======================================================================= 15:20:51 (1746127251) creating directory /mnt/lustre/d7 opening directory unlinking /mnt/lustre/d7 Ok, everything goes well. PASS 7 (3s) == sanityn test 8: remove of open special file on other node ==================================================================== 15:20:54 (1746127254) creating special file /mnt/lustre/f8.sanityn opening file unlinking /mnt/lustre/f8.sanityn Ok, everything goes well. PASS 8 (4s) == sanityn test 9a: append of file with sub-page size on multiple mounts ========================================================== 15:20:58 (1746127258) PASS 9a (4s) == sanityn test 9b: append to striped sparse file ======== 15:21:02 (1746127262) 1+0 records in 1+0 records out 1048576 bytes (1.0 MB) copied, 0.0227964 s, 46.0 MB/s 3+0 records in 3+0 records out 3 bytes (3 B) copied, 0.028648 s, 0.1 kB/s Data read (expecting 'foo'): foo PASS 9b (3s) == sanityn test 10a: write of file with sub-page size on multiple mounts ========================================================== 15:21:06 (1746127266) 1+0 records in 1+0 records out 1 byte (1 B) copied, 0.00898989 s, 0.1 kB/s 1+0 records in 1+0 records out 1 byte (1 B) copied, 0.00892735 s, 0.1 kB/s 1+0 records in 1+0 records out 1 byte (1 B) copied, 0.00434848 s, 0.2 kB/s 1+0 records in 1+0 records out 1 byte (1 B) copied, 0.00677355 s, 0.1 kB/s 1+0 records in 1+0 records out 1 byte (1 B) copied, 0.0071809 s, 0.1 kB/s 1+0 records in 1+0 records out 1 byte (1 B) copied, 0.00607621 s, 0.2 kB/s 1+0 records in 1+0 records out 1 byte (1 B) copied, 0.00599154 s, 0.2 kB/s 1+0 records in 1+0 records out 1 byte (1 B) copied, 0.00703564 s, 0.1 kB/s 1+0 records in 1+0 records out 1 byte (1 B) copied, 0.0126379 s, 0.1 kB/s 1+0 records in 1+0 records out 1 byte (1 B) copied, 0.0171073 s, 0.1 kB/s 1+0 records in 1+0 records out 1 byte (1 B) copied, 0.0139055 s, 0.1 kB/s 1+0 records in 1+0 records out 1 byte (1 B) copied, 0.015571 s, 0.1 kB/s PASS 10a (5s) == sanityn test 10b: write of file with sub-page size on multiple mounts ========================================================== 15:21:10 (1746127270) 1+0 records in 1+0 records out 3072 bytes (3.1 kB) copied, 0.00603268 s, 509 kB/s 1+0 records in 1+0 records out 4096 bytes (4.1 kB) copied, 0.0313934 s, 130 kB/s 1+0 records in 1+0 records out 3072 bytes (3.1 kB) copied, 0.00108569 s, 2.8 MB/s PASS 10b (3s) == sanityn test 11: execution of file opened for write should return error ============================================================== 15:21:13 (1746127273) striped dir -i1 -c2 -H crush /mnt/lustre/d11 multiop /mnt/lustre/d11/f vO_c TMPPIPE=/tmp/multiop_open_wait_pipe.13488 /home/green/git/lustre-release/lustre/tests/sanityn.sh: line 301: /mnt/lustre2/d11/f: Text file busy PASS 11 (4s) == sanityn test 12: test lock ordering (link, stat, unlink) ========================================================== 15:21:17 (1746127277) warning: '-runtime' deprecated, use '-t runtime' instead - link 735 (time 1746127288.54 total 10.00 last 73.48) - link 1520 (time 1746127298.55 total 20.01 last 78.48) - link 2362 (time 1746127308.55 total 30.01 last 84.17) - link 3086 (time 1746127318.56 total 40.01 last 72.37) - link 3799 (time 1746127328.57 total 50.03 last 71.18) - link 4335 (time 1746127338.58 total 60.04 last 53.56) - link 4983 (time 1746127348.58 total 70.04 last 64.77) - link 5696 (time 1746127358.60 total 80.06 last 71.16) - link 6276 (time 1746127368.61 total 90.07 last 57.97) total: 7050 link in 100.00 seconds: 70.50 ops/second using seed 815312987 running for 100 seconds - stat 1399 (time 1746127290 ; total 11 ; last 11) - stat 10000 (time 1746127296 ; total 17 ; last 6) - stat 20000 (time 1746127303 ; total 24 ; last 7) - stat 30000 (time 1746127311 ; total 32 ; last 8) - stat 40000 (time 1746127318 ; total 39 ; last 7) - stat 50000 (time 1746127326 ; total 47 ; last 8) - stat 55526 (time 1746127337 ; total 58 ; last 11) - stat 58250 (time 1746127348 ; total 69 ; last 11) - stat 60000 (time 1746127354 ; total 75 ; last 6) - stat 62855 (time 1746127365 ; total 86 ; last 11) - stat 65911 (time 1746127376 ; total 97 ; last 11) total: 67020 stats in 100 seconds: 670.200012 stats/second - unlinked 0 (time 1746127329 ; total 0 ; last 0) unlink(/mnt/lustre2/lockdir/lockfile7050) error: No such file or directory total: 7049 unlinks in 91 seconds: 77.461540 unlinks/second /home/green/git/lustre-release/lustre/tests/lockorder.sh: line 77: kill: (27886) - No such process /home/green/git/lustre-release/lustre/tests/lockorder.sh: line 78: kill: (27889) - No such process PASS 12 (145s) == sanityn test 14aa: execution of file open for write returns -ETXTBSY ========================================================== 15:23:42 (1746127422) striped dir -i0 -c2 -H crush /mnt/lustre/d14aa.sanityn multiop /mnt/lustre/d14aa.sanityn/f14aa.sanityn vOw_c TMPPIPE=/tmp/multiop_open_wait_pipe.13488 /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 4880: 28651 Terminated $MULTIOP_PROG $FILE v$ARGS > $TMPPIPE (wd: ~) PASS 14aa (3s) == sanityn test 14ab: open(RDWR) of executing file returns -ETXTBSY ========================================================== 15:23:45 (1746127425) striped dir -i0 -c2 -H crush2 /mnt/lustre/d14ab.sanityn open(O_RDWR|O_CREAT): Text file busy /home/green/git/lustre-release/lustre/tests/test-framework.sh: line 4880: 29298 Terminated $DIR1/$tdir/sleep 60 (wd: ~) PASS 14ab (3s) == sanityn test 14b: truncate of executing file returns -ETXTBSY ================================================================ 15:23:48 (1746127428) striped dir -i0 -c2 -H all_char /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: 29943 Terminated $DIR1/$tdir/sleep 60 PASS 14b (4s) == sanityn test 14c: open(O_TRUNC) of executing file return -ETXTBSY ============================================================ 15:23:52 (1746127432) 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: 30592 Terminated $DIR1/$tdir/sleep 60 PASS 14c (4s) == sanityn test 14d: chmod of executing file is still possible ================================================================== 15:23:56 (1746127436) striped dir -i0 -c2 -H crush2 /mnt/lustre/d14d.sanityn chmod /home/green/git/lustre-release/lustre/tests/sanityn.sh: line 374: 31241 Terminated $DIR1/$tdir/sleep 60 PASS 14d (5s) == sanityn test 17: resource creation/LVB creation race ========================================================================= 15:24:01 (1746127441) fail_loc=0x8000030a PASS 17 (7s) == sanityn test 19: test concurrent uncached read races ========================================================================= 15:24:08 (1746127448) 32+0 records in 32+0 records out 16777216 bytes (17 MB) copied, 0.4121 s, 40.7 MB/s loop 5 loop 10 loop 15 loop 20 PASS 19 (19s) == sanityn test 20: test extra readahead page left in cache ============================================================== 15:24:27 (1746127467) striped dir -i0 -c2 -H crush2 /mnt/lustre/d20.sanityn PASS 20 (4s) == sanityn test 23: others should see updated atime while another read============================================================== 15:24:31 (1746127471) now is 1746127472 starting reads multiop /mnt/lustre/f23.sanityn vor20_c TMPPIPE=/tmp/multiop_open_wait_pipe.13488 new atime is 1746127533 PASS 23 (65s) == sanityn test 27: align non-overlapping extent locks from request ============================================================= 15:25:36 (1746127536) 4+0 records in 4+0 records out 16793600 bytes (17 MB) copied, 0.377247 s, 44.5 MB/s dd 1 started dd 2 started 1+0 records in 1+0 records out 15728640 bytes (16 MB) copied, 0.327282 s, 48.1 MB/s 1+0 records in 1+0 records out 8192 bytes (8.2 kB) copied, 0.0235834 s, 347 kB/s dd 3 finished PASS 27 (8s) == sanityn test 39a: file mtime does not change after rename ========================================================== 15:25:44 (1746127544) repeat after cancel_lru_locks PASS 39a (4s) == sanityn test 39b: file mtime the same on clients with/out lock ========================================================== 15:25:48 (1746127548) repeat after cancel_lru_locks PASS 39b (6s) == sanityn test 39c: check truncate mtime update ================================================================================ 15:25:54 (1746127554) repeat after cancel_lru_locks PASS 39c (5s) == sanityn test 39d: sync write should update mtime ====== 15:25:59 (1746127559) fail_loc=0x411 fail_loc=0 PASS 39d (4s) == sanityn test 51a: layout lock: refresh layout should work ========================================================== 15:26:03 (1746127563) 0+1 records in 0+1 records out 159 bytes (159 B) copied, 0.0219344 s, 7.2 kB/s /home/green/git/lustre-release/lustre/tests/sanityn.sh: line 3519: kill: (7271) - No such process PASS 51a (6s) == sanityn test 51c: layout lock: IT_LAYOUT blocked and correct layout can be returned ========================================================== 15:26:09 (1746127569) fail_loc=0x172 Setting layout to have 2 stripes ... 1+0 records in 1+0 records out 1024 bytes (1.0 kB) copied, 0.0264543 s, 38.7 kB/s PASS 51c (9s) == sanityn test 51d: layout lock: losing layout lock should clean up memory map region ========================================================== 15:26:18 (1746127578) 1+0 records in 1+0 records out 1048576 bytes (1.0 MB) copied, 0.0182771 s, 57.4 MB/s Before revoking layout lock: 1024 KB mapped PASS 51d (5s) == sanityn test 107a: Basic grouplock conflict =========== 15:26:23 (1746127583) 10+0 records in 10+0 records out 10485760 bytes (10 MB) copied, 0.26529 s, 39.5 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: 4194304 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.13488 multiop /mnt/lustre2/f107a.sanityn vO_G16022000r10g16022000c TMPPIPE=/tmp/multiop_open_wait_pipe.13488 First grouplock blocks second one PASS 107a (6s) == sanityn test 107b: Grouplock is added to the head of waiting list ========================================================== 15:26:29 (1746127589) 10+0 records in 10+0 records out 10485760 bytes (10 MB) copied, 0.215721 s, 48.6 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: 4194304 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.13488 Grouplock blocks IO First grouplock blocks second one Second grouplock blocks IO PASS 107b (11s) cleanup: ====================================================== == sanityn test complete, duration 415 sec =============== 15:26:41 (1746127601) === sanityn: start cleanup 15:26:42 (1746127602) === Stopping clients: oleg122-client.virtnet /mnt/lustre2 (opts:) Stopping client oleg122-client.virtnet /mnt/lustre2 opts: === sanityn: finish cleanup 15:26:46 (1746127606) ===