== sanity-dom test sanityn: Run sanityn with Data-on-MDT files ========================================================== 10:34:39 (1729089279) 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 10:34:45 (1729089285) === Starting client oleg124-client.virtnet: -o user_xattr,flock 192.168.201.124@tcp:/lustre /mnt/lustre2 Started clients oleg124-client.virtnet: 192.168.201.124@tcp:/lustre on /mnt/lustre2 type lustre (rw,checksum,flock,user_xattr,lruresize,lazystatfs,nouser_fid2path,verbose,noencrypt,statfs_project) oleg124-client.virtnet: executing check_config_client /mnt/lustre oleg124-client.virtnet: Checking config lustre mounted on /mnt/lustre Checking servers environments Checking clients oleg124-client.virtnet environments Using TIMEOUT=20 osc.lustre-OST0000-osc-ffff880088604000.idle_timeout=debug osc.lustre-OST0000-osc-ffff8800b609e000.idle_timeout=debug osc.lustre-OST0001-osc-ffff880088604000.idle_timeout=debug osc.lustre-OST0001-osc-ffff8800b609e000.idle_timeout=debug disable quota as required oleg124-server: oleg124-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 10:34:56 (1729089296) === 1+0 records in 1+0 records out 1048576 bytes (1.0 MB) copied, 0.0125829 s, 83.3 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/f12120] == sanityn test 1: Check attribute updates on 2 mount points ========================================================== 10:34:56 (1729089296) /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 ================================================================== 10:34:58 (1729089298) -rw-r--r-- 1 root root 0 Oct 16 10:34 /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 ================================================================== 10:35:01 (1729089301) -rw-r--r-- 1 root root 0 Oct 16 10:35 /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 ============================================================= 10:35:03 (1729089303) /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 ============================================================= 10:35:04 (1729089304) /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 ========================================================== 10:35:06 (1729089306) total 556 -rwxrwxrwx 1 root root 0 Oct 16 10:34 f2a -rwxrwxrwx 1 root root 0 Oct 16 10:35 f2b -rw-r--r-- 1 root root 1478615 Oct 16 10:25 ffsx.sanity-dom -rw-r--r-- 1 root root 0 Oct 16 10:25 ffsx.sanity-dom.fsxgood -rw-r--r-- 1 root root 94988 Oct 16 10:25 ffsx.sanity-dom.fsxlog total 556 -rwxrwxrwx 1 root root 0 Oct 16 10:34 f2a -rwxrwxrwx 1 root root 0 Oct 16 10:35 f2b -rw-r--r-- 1 root root 1478615 Oct 16 10:25 ffsx.sanity-dom -rw-r--r-- 1 root root 0 Oct 16 10:25 ffsx.sanity-dom.fsxgood -rw-r--r-- 1 root root 94988 Oct 16 10:25 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.00488327 s, 105 kB/s PASS 2e (2s) == sanityn test 2f: check attr/owner updates on DNE with 2 mtpt's ========================================================== 10:35:08 (1729089308) /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 ==== 10:35:10 (1729089310) 2+0 records in 2+0 records out 2097152 bytes (2.1 MB) copied, 0.0833467 s, 25.2 MB/s /mnt/lustre/f2g.sanityn has 4104 blocks /mnt/lustre2/f2g.sanityn has 4104 blocks PASS 2g (2s) == sanityn test 4: fstat validation on multiple mount points ==================================================================== 10:35:12 (1729089312) PASS 4 (3s) == sanityn test 5: create a file on one mount, truncate it on the other ========================================================== 10:35:15 (1729089315) /mnt/lustre/f5 has type file OK /mnt/lustre/f5 has size 100 OK PASS 5 (2s) == sanityn test 6: remove of open file on other node ============================================================================ 10:35:17 (1729089317) 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 ======================================================================= 10:35:19 (1729089319) 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 ==================================================================== 10:35:21 (1729089321) 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 ========================================================== 10:35:22 (1729089322) PASS 9a (2s) == sanityn test 9b: append to striped sparse file ======== 10:35:24 (1729089324) 1+0 records in 1+0 records out 1048576 bytes (1.0 MB) copied, 0.0190226 s, 55.1 MB/s 3+0 records in 3+0 records out 3 bytes (3 B) copied, 0.0184939 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 ========================================================== 10:35:26 (1729089326) 1+0 records in 1+0 records out 1 byte (1 B) copied, 0.00289766 s, 0.3 kB/s 1+0 records in 1+0 records out 1 byte (1 B) copied, 0.00316261 s, 0.3 kB/s 1+0 records in 1+0 records out 1 byte (1 B) copied, 0.00395906 s, 0.3 kB/s 1+0 records in 1+0 records out 1 byte (1 B) copied, 0.00434047 s, 0.2 kB/s 1+0 records in 1+0 records out 1 byte (1 B) copied, 0.00511704 s, 0.2 kB/s 1+0 records in 1+0 records out 1 byte (1 B) copied, 0.0042522 s, 0.2 kB/s 1+0 records in 1+0 records out 1 byte (1 B) copied, 0.00407168 s, 0.2 kB/s 1+0 records in 1+0 records out 1 byte (1 B) copied, 0.00517289 s, 0.2 kB/s 1+0 records in 1+0 records out 1 byte (1 B) copied, 0.00407794 s, 0.2 kB/s 1+0 records in 1+0 records out 1 byte (1 B) copied, 0.00308681 s, 0.3 kB/s 1+0 records in 1+0 records out 1 byte (1 B) copied, 0.00406136 s, 0.2 kB/s 1+0 records in 1+0 records out 1 byte (1 B) copied, 0.00331826 s, 0.3 kB/s PASS 10a (2s) == sanityn test 10b: write of file with sub-page size on multiple mounts ========================================================== 10:35:29 (1729089329) 1+0 records in 1+0 records out 3072 bytes (3.1 kB) copied, 0.00181104 s, 1.7 MB/s 1+0 records in 1+0 records out 4096 bytes (4.1 kB) copied, 0.0125068 s, 328 kB/s 1+0 records in 1+0 records out 3072 bytes (3.1 kB) copied, 0.000233078 s, 13.2 MB/s PASS 10b (1s) == sanityn test 11: execution of file opened for write should return error ============================================================== 10:35:30 (1729089330) striped dir -i1 -c2 -H crush /mnt/lustre/d11 multiop /mnt/lustre/d11/f vO_c TMPPIPE=/tmp/multiop_open_wait_pipe.12120 /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) ========================================================== 10:35:32 (1729089332) warning: '-runtime' deprecated, use '-t runtime' instead - link 1858 (time 1729089343.03 total 10.00 last 185.74) - link 4393 (time 1729089353.04 total 20.01 last 253.41) - link 6569 (time 1729089363.04 total 30.01 last 217.56) - link 8646 (time 1729089373.04 total 40.01 last 207.66) - link 10000 (time 1729089378.69 total 45.67 last 239.42) - link 11688 (time 1729089388.70 total 55.67 last 168.75) - link 13004 (time 1729089398.70 total 65.67 last 131.52) - link 14045 (time 1729089408.71 total 75.69 last 103.99) - link 15359 (time 1729089418.72 total 85.69 last 131.34) - link 16921 (time 1729089428.72 total 95.70 last 156.12) total: 17686 link in 100.00 seconds: 176.86 ops/second using seed 4113537277 running for 100 seconds - stat 5096 (time 1729089345 ; total 11 ; last 11) - stat 10000 (time 1729089346 ; total 12 ; last 1) - stat 20000 (time 1729089350 ; total 16 ; last 4) - stat 30000 (time 1729089353 ; total 19 ; last 3) - stat 40000 (time 1729089357 ; total 23 ; last 4) - stat 50000 (time 1729089361 ; total 27 ; last 4) - stat 60000 (time 1729089365 ; total 31 ; last 4) - stat 70000 (time 1729089368 ; total 34 ; last 3) - stat 80000 (time 1729089372 ; total 38 ; last 4) - stat 90000 (time 1729089376 ; total 42 ; last 4) - stat 100000 (time 1729089380 ; total 46 ; last 4) - stat 110000 (time 1729089384 ; total 50 ; last 4) - stat 116714 (time 1729089395 ; total 61 ; last 11) - stat 120000 (time 1729089400 ; total 66 ; last 5) - stat 124420 (time 1729089411 ; total 77 ; last 11) - stat 130000 (time 1729089419 ; total 85 ; last 8) - stat 137239 (time 1729089430 ; total 96 ; last 11) - stat 140000 (time 1729089433 ; total 99 ; last 3) total: 140958 stats in 100 seconds: 1409.579956 stats/second - unlinked 0 (time 1729089384 ; total 0 ; last 0) - unlinked 10000 (time 1729089463 ; total 79 ; last 79) unlink(/mnt/lustre2/lockdir/lockfile17686) error: No such file or directory total: 17685 unlinks in 111 seconds: 159.324326 unlinks/second /home/green/git/lustre-release/lustre/tests/lockorder.sh: line 77: kill: (26317) - No such process /home/green/git/lustre-release/lustre/tests/lockorder.sh: line 78: kill: (26320) - No such process PASS 12 (165s) == sanityn test 14aa: execution of file open for write returns -ETXTBSY ========================================================== 10:38:17 (1729089497) 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.12120 /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 4827: 27103 Terminated $MULTIOP_PROG $FILE v$ARGS > $TMPPIPE (wd: ~) PASS 14aa (2s) == sanityn test 14ab: open(RDWR) of executing file returns -ETXTBSY ========================================================== 10:38:19 (1729089499) striped dir -i0 -c2 -H all_char /mnt/lustre/d14ab.sanityn open(O_RDWR|O_CREAT): Text file busy /home/green/git/lustre-release/lustre/tests/test-framework.sh: line 4827: 27750 Terminated $DIR1/$tdir/sleep 60 (wd: ~) PASS 14ab (2s) == sanityn test 14b: truncate of executing file returns -ETXTBSY ================================================================ 10:38:22 (1729089502) striped dir -i0 -c2 -H fnv_1a_64 /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: 28397 Terminated $DIR1/$tdir/sleep 60 PASS 14b (2s) == sanityn test 14c: open(O_TRUNC) of executing file return -ETXTBSY ============================================================ 10:38:24 (1729089504) striped dir -i0 -c2 -H all_char /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: 29044 Terminated $DIR1/$tdir/sleep 60 PASS 14c (2s) == sanityn test 14d: chmod of executing file is still possible ================================================================== 10:38:26 (1729089506) striped dir -i0 -c2 -H crush2 /mnt/lustre/d14d.sanityn chmod /home/green/git/lustre-release/lustre/tests/sanityn.sh: line 374: 29691 Terminated $DIR1/$tdir/sleep 60 PASS 14d (3s) == sanityn test 17: resource creation/LVB creation race ========================================================================= 10:38:29 (1729089509) fail_loc=0x8000030a PASS 17 (4s) == sanityn test 19: test concurrent uncached read races ========================================================================= 10:38:33 (1729089513) 32+0 records in 32+0 records out 16777216 bytes (17 MB) copied, 0.170701 s, 98.3 MB/s loop 5 loop 10 loop 15 loop 20 PASS 19 (8s) == sanityn test 20: test extra readahead page left in cache ============================================================== 10:38:41 (1729089521) striped dir -i0 -c2 -H all_char /mnt/lustre/d20.sanityn PASS 20 (1s) == sanityn test 23: others should see updated atime while another read============================================================== 10:38:42 (1729089522) now is 1729089523 starting reads multiop /mnt/lustre/f23.sanityn vor20_c TMPPIPE=/tmp/multiop_open_wait_pipe.12120 new atime is 1729089584 PASS 23 (63s) == sanityn test 27: align non-overlapping extent locks from request ============================================================= 10:39:45 (1729089585) 4+0 records in 4+0 records out 16793600 bytes (17 MB) copied, 0.146504 s, 115 MB/s dd 1 started dd 2 started 1+0 records in 1+0 records out 15728640 bytes (16 MB) copied, 0.184215 s, 85.4 MB/s 1+0 records in 1+0 records out 8192 bytes (8.2 kB) copied, 0.00597378 s, 1.4 MB/s dd 3 finished PASS 27 (5s) == sanityn test 39a: file mtime does not change after rename ========================================================== 10:39:50 (1729089590) repeat after cancel_lru_locks PASS 39a (2s) == sanityn test 39b: file mtime the same on clients with/out lock ========================================================== 10:39:52 (1729089592) repeat after cancel_lru_locks PASS 39b (3s) == sanityn test 39c: check truncate mtime update ================================================================================ 10:39:55 (1729089595) repeat after cancel_lru_locks PASS 39c (2s) == sanityn test 39d: sync write should update mtime ====== 10:39:57 (1729089597) fail_loc=0x411 fail_loc=0 PASS 39d (2s) == sanityn test 51a: layout lock: refresh layout should work ========================================================== 10:39:59 (1729089599) 0+1 records in 0+1 records out 159 bytes (159 B) copied, 0.00432433 s, 36.8 kB/s /home/green/git/lustre-release/lustre/tests/sanityn.sh: line 3518: kill: (5683) - No such process PASS 51a (3s) == sanityn test 51c: layout lock: IT_LAYOUT blocked and correct layout can be returned ========================================================== 10:40:02 (1729089602) fail_loc=0x172 Setting layout to have 2 stripes ... 1+0 records in 1+0 records out 1024 bytes (1.0 kB) copied, 0.00490087 s, 209 kB/s PASS 51c (6s) == sanityn test 51d: layout lock: losing layout lock should clean up memory map region ========================================================== 10:40:08 (1729089608) 1+0 records in 1+0 records out 1048576 bytes (1.0 MB) copied, 0.00804603 s, 130 MB/s Before revoking layout lock: 1024 KB mapped PASS 51d (3s) == sanityn test 107a: Basic grouplock conflict =========== 10:40:11 (1729089611) 10+0 records in 10+0 records out 10485760 bytes (10 MB) copied, 0.0894032 s, 117 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.12120 multiop /mnt/lustre2/f107a.sanityn vO_G16022000r10g16022000c TMPPIPE=/tmp/multiop_open_wait_pipe.12120 First grouplock blocks second one PASS 107a (4s) == sanityn test 107b: Grouplock is added to the head of waiting list ========================================================== 10:40:15 (1729089615) 10+0 records in 10+0 records out 10485760 bytes (10 MB) copied, 0.0711523 s, 147 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:0x1fa:0x0] } multiop /mnt/lustre/f107b.sanityn vOG14091995_g14091995c TMPPIPE=/tmp/multiop_open_wait_pipe.12120 Grouplock blocks IO First grouplock blocks second one Second grouplock blocks IO PASS 107b (7s) cleanup: ====================================================== == sanityn test complete, duration 344 sec =============== 10:40:23 (1729089623) === sanityn: start cleanup 10:40:23 (1729089623) === Stopping clients: oleg124-client.virtnet /mnt/lustre2 (opts:) Stopping client oleg124-client.virtnet /mnt/lustre2 opts: === sanityn: finish cleanup 10:40:24 (1729089624) ===