== sanity-dom test sanityn: Run sanityn with Data-on-MDT files ========================================================== 16:19:17 (1748981957) oleg311-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 Starting client oleg311-client.virtnet: -o user_xattr,flock oleg311-server@tcp:/lustre /mnt/lustre2 Started clients oleg311-client.virtnet: 192.168.203.111@tcp:/lustre on /mnt/lustre2 type lustre (rw,checksum,flock,user_xattr,lruresize,lazystatfs,nouser_fid2path,verbose,noencrypt) oleg311-client.virtnet: executing check_config_client /mnt/lustre oleg311-client.virtnet: Checking config lustre mounted on /mnt/lustre Checking servers environments Checking clients oleg311-client.virtnet environments Using TIMEOUT=20 osc.lustre-OST0000-osc-ffff8800a9025800.idle_timeout=debug osc.lustre-OST0000-osc-ffff880136bf4000.idle_timeout=debug osc.lustre-OST0001-osc-ffff8800a9025800.idle_timeout=debug osc.lustre-OST0001-osc-ffff880136bf4000.idle_timeout=debug disable quota as required oleg311-server: oleg311-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all 8 osd-ldiskfs.track_declares_assert=1 1+0 records in 1+0 records out 1048576 bytes (1.0 MB) copied, 0.0102206 s, 103 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/f3417] == sanityn test 1: Check attribute updates on 2 mount points ========================================================== 16:19:27 (1748981967) /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 ================================================================== 16:19:28 (1748981968) -rw-r--r-- 1 root root 0 Jun 3 16:19 /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 ================================================================== 16:19:29 (1748981969) -rw-r--r-- 1 root root 0 Jun 3 16:19 /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 ============================================================= 16:19:31 (1748981971) /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 ============================================================= 16:19:32 (1748981972) /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 ========================================================== 16:19:34 (1748981974) total 136 -rwxrwxrwx 1 root root 0 Jun 3 16:19 f2a -rwxrwxrwx 1 root root 0 Jun 3 16:19 f2b -rw-r--r-- 1 root root 1396556 Jun 3 16:13 ffsx.sanity-dom -rw-r--r-- 1 root root 0 Jun 3 16:13 ffsx.sanity-dom.fsxgood -rw-r--r-- 1 root root 106768 Jun 3 16:13 ffsx.sanity-dom.fsxlog total 136 -rwxrwxrwx 1 root root 0 Jun 3 16:19 f2a -rwxrwxrwx 1 root root 0 Jun 3 16:19 f2b -rw-r--r-- 1 root root 1396556 Jun 3 16:13 ffsx.sanity-dom -rw-r--r-- 1 root root 0 Jun 3 16:13 ffsx.sanity-dom.fsxgood -rw-r--r-- 1 root root 106768 Jun 3 16:13 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.00149124 s, 343 kB/s PASS 2e (1s) == sanityn test 2f: check attr/owner updates on DNE with 2 mtpt's ========================================================== 16:19:35 (1748981975) SKIP: sanityn test_2f needs >= 2 MDTs SKIP 2f (1s) == sanityn test 2g: check blocks update on sync write ==== 16:19:36 (1748981976) 2+0 records in 2+0 records out 2097152 bytes (2.1 MB) copied, 0.0525162 s, 39.9 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 ==================================================================== 16:19:37 (1748981977) PASS 4 (2s) == sanityn test 5: create a file on one mount, truncate it on the other ========================================================== 16:19:39 (1748981979) /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 ============================================================================ 16:19:41 (1748981981) 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 (1s) == sanityn test 7: remove of open directory on other node ======================================================================= 16:19:42 (1748981982) 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 ==================================================================== 16:19:44 (1748981984) 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 ========================================================== 16:19:45 (1748981985) PASS 9a (1s) == sanityn test 9b: append to striped sparse file ======== 16:19:46 (1748981986) 1+0 records in 1+0 records out 1048576 bytes (1.0 MB) copied, 0.0104399 s, 100 MB/s 3+0 records in 3+0 records out 3 bytes (3 B) copied, 0.00918981 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 ========================================================== 16:19:48 (1748981988) 1+0 records in 1+0 records out 1 byte (1 B) copied, 0.00115588 s, 0.9 kB/s 1+0 records in 1+0 records out 1 byte (1 B) copied, 0.00121878 s, 0.8 kB/s 1+0 records in 1+0 records out 1 byte (1 B) copied, 0.00219816 s, 0.5 kB/s 1+0 records in 1+0 records out 1 byte (1 B) copied, 0.00122311 s, 0.8 kB/s 1+0 records in 1+0 records out 1 byte (1 B) copied, 0.00198611 s, 0.5 kB/s 1+0 records in 1+0 records out 1 byte (1 B) copied, 0.00144151 s, 0.7 kB/s 1+0 records in 1+0 records out 1 byte (1 B) copied, 0.0025029 s, 0.4 kB/s 1+0 records in 1+0 records out 1 byte (1 B) copied, 0.00113004 s, 0.9 kB/s 1+0 records in 1+0 records out 1 byte (1 B) copied, 0.00204654 s, 0.5 kB/s 1+0 records in 1+0 records out 1 byte (1 B) copied, 0.00121901 s, 0.8 kB/s 1+0 records in 1+0 records out 1 byte (1 B) copied, 0.00196717 s, 0.5 kB/s 1+0 records in 1+0 records out 1 byte (1 B) copied, 0.00113866 s, 0.9 kB/s PASS 10a (1s) == sanityn test 10b: write of file with sub-page size on multiple mounts ========================================================== 16:19:49 (1748981989) 1+0 records in 1+0 records out 3072 bytes (3.1 kB) copied, 0.00132525 s, 2.3 MB/s 1+0 records in 1+0 records out 4096 bytes (4.1 kB) copied, 0.00599162 s, 684 kB/s 1+0 records in 1+0 records out 3072 bytes (3.1 kB) copied, 0.000258084 s, 11.9 MB/s PASS 10b (2s) == sanityn test 11: execution of file opened for write should return error ============================================================== 16:19:51 (1748981991) multiop /mnt/lustre/d11/f vO_c TMPPIPE=/tmp/multiop_open_wait_pipe.3417 /home/green/git/lustre-release/lustre/tests/sanityn.sh: line 273: /mnt/lustre2/d11/f: Text file busy PASS 11 (1s) == sanityn test 12: test lock ordering (link, stat, unlink) ========================================================== 16:19:52 (1748981992) warning: '-runtime' deprecated, use '-t runtime' instead - link 3343 (time 1748982003.26 total 10.00 last 334.29) - link 7979 (time 1748982013.26 total 20.00 last 463.55) - link 10000 (time 1748982017.61 total 24.35 last 465.09) - link 14430 (time 1748982027.61 total 34.35 last 442.93) - link 18327 (time 1748982037.61 total 44.35 last 389.60) - link 20000 (time 1748982041.73 total 48.47 last 405.98) - link 22930 (time 1748982051.73 total 58.48 last 292.90) - link 25221 (time 1748982061.74 total 68.48 last 229.04) - link 27561 (time 1748982071.74 total 78.48 last 233.95) - link 29907 (time 1748982081.74 total 88.48 last 234.57) - link 32151 (time 1748982091.74 total 98.48 last 224.32) total: 32455 link in 100.00 seconds: 324.54 ops/second using seed 2312691718 running for 100 seconds - stat 3944 (time 1748982005 ; total 11 ; last 11) - stat 10000 (time 1748982011 ; total 17 ; last 6) - stat 20000 (time 1748982021 ; total 27 ; last 10) - stat 30000 (time 1748982031 ; total 37 ; last 10) - stat 39285 (time 1748982042 ; total 48 ; last 11) - stat 40000 (time 1748982042 ; total 48 ; last 0) - stat 49621 (time 1748982053 ; total 59 ; last 11) - stat 50000 (time 1748982053 ; total 59 ; last 0) - stat 59503 (time 1748982064 ; total 70 ; last 11) - stat 60000 (time 1748982064 ; total 70 ; last 0) - stat 69544 (time 1748982075 ; total 81 ; last 11) - stat 70000 (time 1748982075 ; total 81 ; last 0) - stat 79653 (time 1748982086 ; total 92 ; last 11) - stat 80000 (time 1748982086 ; total 92 ; last 0) total: 87307 stats in 100 seconds: 873.070007 stats/second - unlinked 0 (time 1748982044 ; total 0 ; last 0) - unlinked 10000 (time 1748982102 ; total 58 ; last 58) - unlinked 20000 (time 1748982128 ; total 84 ; last 26) - unlinked 30000 (time 1748982152 ; total 108 ; last 24) unlink(/mnt/lustre2/lockdir/lockfile32455) error: No such file or directory total: 32454 unlinks in 114 seconds: 284.684204 unlinks/second /home/green/git/lustre-release/lustre/tests/lockorder.sh: line 77: kill: (16530) - No such process /home/green/git/lustre-release/lustre/tests/lockorder.sh: line 78: kill: (16533) - No such process PASS 12 (167s) == sanityn test 14aa: execution of file open for write returns -ETXTBSY ========================================================== 16:22:39 (1748982159) multiop /mnt/lustre/d14aa.sanityn/f14aa.sanityn vOw_c TMPPIPE=/tmp/multiop_open_wait_pipe.3417 /home/green/git/lustre-release/lustre/tests/sanityn.sh: line 308: /mnt/lustre2/d14aa.sanityn/f14aa.sanityn: Text file busy /home/green/git/lustre-release/lustre/tests/test-framework.sh: line 4298: 17296 Terminated $MULTIOP_PROG $FILE v$ARGS > $TMPPIPE (wd: ~) PASS 14aa (1s) == sanityn test 14ab: open(RDWR) of executing file returns -ETXTBSY ========================================================== 16:22:40 (1748982160) open(O_RDWR|O_CREAT): Text file busy /home/green/git/lustre-release/lustre/tests/test-framework.sh: line 4298: 17925 Terminated $DIR1/$tdir/sleep 60 (wd: ~) PASS 14ab (2s) == sanityn test 14b: truncate of executing file returns -ETXTBSY ================================================================ 16:22:42 (1748982162) truncate: cannot truncate '/mnt/lustre2/d14b.sanityn/sleep' to length 60: Text file busy /home/green/git/lustre-release/lustre/tests/sanityn.sh: line 323: 18552 Terminated $DIR1/$tdir/sleep 60 PASS 14b (1s) == sanityn test 14c: open(O_TRUNC) of executing file return -ETXTBSY ============================================================ 16:22:43 (1748982163) cp: cannot create regular file '/mnt/lustre2/d14c.sanityn/sleep': Text file busy /home/green/git/lustre-release/lustre/tests/sanityn.sh: line 335: 19180 Terminated $DIR1/$tdir/sleep 60 PASS 14c (2s) == sanityn test 14d: chmod of executing file is still possible ================================================================== 16:22:45 (1748982165) chmod /home/green/git/lustre-release/lustre/tests/sanityn.sh: line 346: 19810 Terminated $DIR1/$tdir/sleep 60 PASS 14d (1s) == sanityn test 17: resource creation/LVB creation race ========================================================================= 16:22:46 (1748982166) fail_loc=0x8000030a PASS 17 (4s) == sanityn test 19: test concurrent uncached read races ========================================================================= 16:22:50 (1748982170) 32+0 records in 32+0 records out 16777216 bytes (17 MB) copied, 0.154138 s, 109 MB/s loop 5 loop 10 loop 15 loop 20 PASS 19 (7s) == sanityn test 20: test extra readahead page left in cache ============================================================== 16:22:57 (1748982177) PASS 20 (1s) == sanityn test 23: others should see updated atime while another read============================================================== 16:22:58 (1748982178) now is 1748982179 starting reads multiop /mnt/lustre/f23.sanityn vor20_c TMPPIPE=/tmp/multiop_open_wait_pipe.3417 new atime is 1748982240 PASS 23 (63s) == sanityn test 27: align non-overlapping extent locks from request ============================================================= 16:24:01 (1748982241) 4+0 records in 4+0 records out 16793600 bytes (17 MB) copied, 0.134185 s, 125 MB/s dd 1 started dd 2 started 1+0 records in 1+0 records out 15728640 bytes (16 MB) copied, 0.12416 s, 127 MB/s 1+0 records in 1+0 records out 8192 bytes (8.2 kB) copied, 0.00475587 s, 1.7 MB/s dd 3 finished PASS 27 (4s) == sanityn test 39a: test from 11063 ============================================================================================ 16:24:05 (1748982245) repeat after cancel_lru_locks PASS 39a (1s) == sanityn test 39b: 11063 problem 1 ============================================================================================ 16:24:06 (1748982246) repeat after cancel_lru_locks PASS 39b (3s) == sanityn test 39c: check truncate mtime update ================================================================================ 16:24:09 (1748982249) repeat after cancel_lru_locks PASS 39c (2s) == sanityn test 39d: sync write should update mtime ====== 16:24:11 (1748982251) fail_loc=0x411 fail_loc=0 PASS 39d (1s) == sanityn test 51a: layout lock: refresh layout should work ========================================================== 16:24:13 (1748982253) 0+1 records in 0+1 records out 159 bytes (159 B) copied, 0.00348755 s, 45.6 kB/s /home/green/git/lustre-release/lustre/tests/sanityn.sh: line 3146: kill: (27929) - No such process PASS 51a (3s) == sanityn test 51c: layout lock: IT_LAYOUT blocked and correct layout can be returned ========================================================== 16:24:16 (1748982256) fail_loc=0x172 Setting layout to have 2 stripes ... 1+0 records in 1+0 records out 1024 bytes (1.0 kB) copied, 0.00374776 s, 273 kB/s PASS 51c (6s) == sanityn test 51d: layout lock: losing layout lock should clean up memory map region ========================================================== 16:24:22 (1748982262) 1+0 records in 1+0 records out 1048576 bytes (1.0 MB) copied, 0.00890214 s, 118 MB/s Before revoking layout lock: 1024 KB mapped PASS 51d (2s) == sanityn test 107a: Basic grouplock conflict =========== 16:24:24 (1748982264) 10+0 records in 10+0 records out 10485760 bytes (10 MB) copied, 0.0784776 s, 134 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: [0x100000000:0x3e3:0x0] } multiop /mnt/lustre/f107a.sanityn vOG14091995_g14091995c TMPPIPE=/tmp/multiop_open_wait_pipe.3417 multiop /mnt/lustre2/f107a.sanityn vO_G16022000r10g16022000c TMPPIPE=/tmp/multiop_open_wait_pipe.3417 First grouplock blocks second one PASS 107a (4s) == sanityn test 107b: Grouplock is added to the head of waiting list ========================================================== 16:24:28 (1748982268) 10+0 records in 10+0 records out 10485760 bytes (10 MB) copied, 0.0705756 s, 149 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: [0x100010000:0x3e2:0x0] } multiop /mnt/lustre/f107b.sanityn vOG14091995_g14091995c TMPPIPE=/tmp/multiop_open_wait_pipe.3417 Grouplock blocks IO First grouplock blocks second one Second grouplock blocks IO PASS 107b (7s) cleanup: ====================================================== == sanityn test complete, duration 318 sec =============== 16:24:36 (1748982276) Stopping clients: oleg311-client.virtnet /mnt/lustre2 (opts:) Stopping client oleg311-client.virtnet /mnt/lustre2 opts: