== sanity-dom test sanityn: Run sanityn with Data-on-MDT files ========================================================== 16:39:38 (1771969178) oleg307-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 Starting client oleg307-client.virtnet: -o user_xattr,flock oleg307-server@tcp:/lustre /mnt/lustre2 Started clients oleg307-client.virtnet: 192.168.203.107@tcp:/lustre on /mnt/lustre2 type lustre (rw,checksum,flock,user_xattr,lruresize,lazystatfs,nouser_fid2path,verbose,encrypt) oleg307-client.virtnet: executing check_config_client /mnt/lustre oleg307-client.virtnet: Checking config lustre mounted on /mnt/lustre Checking servers environments Checking clients oleg307-client.virtnet environments Using TIMEOUT=20 osc.lustre-OST0000-osc-ffff8beb8aaad000.idle_timeout=debug osc.lustre-OST0000-osc-ffff8beb8cb61800.idle_timeout=debug osc.lustre-OST0001-osc-ffff8beb8aaad000.idle_timeout=debug osc.lustre-OST0001-osc-ffff8beb8cb61800.idle_timeout=debug disable quota as required oleg307-server: oleg307-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all 8 1+0 records in 1+0 records out 1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.0104607 s, 100 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/f60242] == sanityn test 1: Check attribute updates on 2 mount points ========================================================== 16:39:51 (1771969191) /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 ================================================================== 16:39:53 (1771969193) -rw-r--r-- 1 root root 0 Feb 24 16:39 /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 ================================================================== 16:39:56 (1771969196) -rw-r--r-- 1 root root 0 Feb 24 16:39 /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:39:58 (1771969198) /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 ============================================================= 16:40:00 (1771969200) /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:40:02 (1771969202) total 256 -rwxrwxrwx 1 root root 0 Feb 24 16:39 f2a -rwxrwxrwx 1 root root 0 Feb 24 16:39 f2b -rw-r--r-- 1 root root 259995 Feb 24 16:32 ffsx.sanity-dom -rw-r--r-- 1 root root 0 Feb 24 16:31 ffsx.sanity-dom.fsxgood -rw-r--r-- 1 root root 79069 Feb 24 16:32 ffsx.sanity-dom.fsxlog total 256 -rwxrwxrwx 1 root root 0 Feb 24 16:39 f2a -rwxrwxrwx 1 root root 0 Feb 24 16:39 f2b -rw-r--r-- 1 root root 259995 Feb 24 16:32 ffsx.sanity-dom -rw-r--r-- 1 root root 0 Feb 24 16:31 ffsx.sanity-dom.fsxgood -rw-r--r-- 1 root root 79069 Feb 24 16:32 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 copied, 0.00219235 s, 234 kB/s PASS 2e (2s) == sanityn test 2f: check attr/owner updates on DNE with 2 mtpt's ========================================================== 16:40:04 (1771969204) SKIP: sanityn test_2f needs >= 2 MDTs SKIP 2f (1s) == sanityn test 2g: check blocks update on sync write ==== 16:40:06 (1771969206) 2+0 records in 2+0 records out 2097152 bytes (2.1 MB, 2.0 MiB) copied, 0.100525 s, 20.9 MB/s /mnt/lustre/f2g.sanityn has 4113 blocks /mnt/lustre2/f2g.sanityn has 4113 blocks PASS 2g (3s) == sanityn test 4: fstat validation on multiple mount points ==================================================================== 16:40:08 (1771969208) PASS 4 (3s) == sanityn test 5: create a file on one mount, truncate it on the other ========================================================== 16:40:11 (1771969211) /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:40:13 (1771969213) 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 ======================================================================= 16:40:15 (1771969215) 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 ==================================================================== 16:40:18 (1771969218) 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 ========================================================== 16:40:20 (1771969220) PASS 9a (2s) == sanityn test 9b: append to striped sparse file ======== 16:40:22 (1771969222) 1+0 records in 1+0 records out 1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.0192361 s, 54.5 MB/s 3+0 records in 3+0 records out 3 bytes copied, 0.0118933 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:40:24 (1771969224) 1+0 records in 1+0 records out 1 byte copied, 0.00147448 s, 0.7 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.00158703 s, 0.6 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.00293782 s, 0.3 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.00211303 s, 0.5 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.00273305 s, 0.4 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.0017671 s, 0.6 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.0027299 s, 0.4 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.00151005 s, 0.7 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.00388264 s, 0.3 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.00239856 s, 0.4 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.00334586 s, 0.3 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.00205247 s, 0.5 kB/s PASS 10a (3s) == sanityn test 10b: write of file with sub-page size on multiple mounts ========================================================== 16:40:27 (1771969227) 1+0 records in 1+0 records out 3072 bytes (3.1 kB, 3.0 KiB) copied, 0.00185635 s, 1.7 MB/s 1+0 records in 1+0 records out 4096 bytes (4.1 kB, 4.0 KiB) copied, 0.0281239 s, 146 kB/s 1+0 records in 1+0 records out 3072 bytes (3.1 kB, 3.0 KiB) copied, 0.000240553 s, 12.8 MB/s PASS 10b (2s) == sanityn test 11: execution of file opened for write should return error ============================================================== 16:40:29 (1771969229) multiop /mnt/lustre/d11/f vO_c TMPPIPE=/tmp/multiop_open_wait_pipe.60242 /home/green/git/lustre-release/lustre/tests/sanityn.sh: line 273: /mnt/lustre2/d11/f: Text file busy PASS 11 (2s) == sanityn test 12: test lock ordering (link, stat, unlink) ========================================================== 16:40:31 (1771969231) warning: '-runtime' deprecated, use '-t runtime' instead - link 2661 (time 1771969242.31 total 10.01 last 265.97) - link 5271 (time 1771969252.31 total 20.01 last 261.00) - link 7998 (time 1771969262.32 total 30.01 last 272.58) - link 10000 (time 1771969268.64 total 36.33 last 316.61) - link 12927 (time 1771969278.64 total 46.33 last 292.67) - link 15230 (time 1771969288.65 total 56.34 last 230.25) - link 17254 (time 1771969298.65 total 66.34 last 202.39) - link 19224 (time 1771969308.65 total 76.34 last 196.99) - link 20000 (time 1771969313.16 total 80.85 last 171.82) - link 21897 (time 1771969323.17 total 90.86 last 189.63) total: 23720 link in 100.00 seconds: 237.20 ops/second using seed 1148120978 running for 100 seconds - stat 3175 (time 1771969244 ; total 11 ; last 11) - stat 10000 (time 1771969251 ; total 18 ; last 7) - stat 18775 (time 1771969262 ; total 29 ; last 11) - stat 20000 (time 1771969263 ; total 30 ; last 1) - stat 28474 (time 1771969274 ; total 41 ; last 11) - stat 30000 (time 1771969276 ; total 43 ; last 2) - stat 38442 (time 1771969287 ; total 54 ; last 11) - stat 40000 (time 1771969289 ; total 56 ; last 2) - stat 47101 (time 1771969300 ; total 67 ; last 11) - stat 50000 (time 1771969304 ; total 71 ; last 4) - stat 56663 (time 1771969315 ; total 82 ; last 11) - stat 60000 (time 1771969320 ; total 87 ; last 5) - stat 66818 (time 1771969331 ; total 98 ; last 11) total: 68836 stats in 100 seconds: 688.359985 stats/second - unlinked 0 (time 1771969283 ; total 0 ; last 0) - unlinked 10000 (time 1771969344 ; total 61 ; last 61) - unlinked 20000 (time 1771969375 ; total 92 ; last 31) unlink(/mnt/lustre2/lockdir/lockfile23720) error: No such file or directory total: 23719 unlinks in 105 seconds: 225.895233 unlinks/second /home/green/git/lustre-release/lustre/tests/lockorder.sh: line 77: kill: (72163) - No such process /home/green/git/lustre-release/lustre/tests/lockorder.sh: line 78: kill: (72165) - No such process PASS 12 (159s) == sanityn test 14aa: execution of file open for write returns -ETXTBSY ========================================================== 16:43:10 (1771969390) multiop /mnt/lustre/d14aa.sanityn/f14aa.sanityn vOw_c TMPPIPE=/tmp/multiop_open_wait_pipe.60242 /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: 72761 Terminated $MULTIOP_PROG $FILE v$ARGS > $TMPPIPE (wd: ~) PASS 14aa (2s) == sanityn test 14ab: open(RDWR) of executing file returns -ETXTBSY ========================================================== 16:43:12 (1771969392) open(O_RDWR|O_CREAT): Text file busy /home/green/git/lustre-release/lustre/tests/test-framework.sh: line 4298: 73333 Terminated $DIR1/$tdir/sleep 60 (wd: ~) PASS 14ab (2s) == sanityn test 14b: truncate of executing file returns -ETXTBSY ================================================================ 16:43:14 (1771969394) 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: 73905 Terminated $DIR1/$tdir/sleep 60 PASS 14b (2s) == sanityn test 14c: open(O_TRUNC) of executing file return -ETXTBSY ============================================================ 16:43:16 (1771969396) cp: cannot create regular file '/mnt/lustre2/d14c.sanityn/sleep': Text file busy /home/green/git/lustre-release/lustre/tests/sanityn.sh: line 335: 74481 Terminated $DIR1/$tdir/sleep 60 PASS 14c (2s) == sanityn test 14d: chmod of executing file is still possible ================================================================== 16:43:18 (1771969398) chmod /home/green/git/lustre-release/lustre/tests/sanityn.sh: line 346: 75056 Terminated $DIR1/$tdir/sleep 60 PASS 14d (3s) == sanityn test 17: resource creation/LVB creation race ========================================================================= 16:43:21 (1771969401) fail_loc=0x8000030a PASS 17 (4s) == sanityn test 19: test concurrent uncached read races ========================================================================= 16:43:25 (1771969405) oleg307-server: error: get_param: param_path 'osd-*/lustre-MDT*/read_cache_enable': No such file or directory pdsh@oleg307-client: oleg307-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 ============================================================== 16:43:26 (1771969406) PASS 20 (2s) == sanityn test 23: others should see updated atime while another read============================================================== 16:43:29 (1771969409) now is 1771969409 starting reads multiop /mnt/lustre/f23.sanityn vor20_c TMPPIPE=/tmp/multiop_open_wait_pipe.60242 new atime is 1771969470 PASS 23 (63s) == sanityn test 27: align non-overlapping extent locks from request ============================================================= 16:44:32 (1771969472) 4+0 records in 4+0 records out 16793600 bytes (17 MB, 16 MiB) copied, 0.212632 s, 79.0 MB/s dd 1 started dd 2 started 1+0 records in 1+0 records out 15728640 bytes (16 MB, 15 MiB) copied, 0.389255 s, 40.4 MB/s 1+0 records in 1+0 records out 8192 bytes (8.2 kB, 8.0 KiB) copied, 0.00374712 s, 2.2 MB/s dd 3 finished PASS 27 (5s) == sanityn test 39a: test from 11063 ============================================================================================ 16:44:37 (1771969477) repeat after cancel_lru_locks PASS 39a (2s) == sanityn test 39b: 11063 problem 1 ============================================================================================ 16:44:39 (1771969479) repeat after cancel_lru_locks PASS 39b (3s) == sanityn test 39c: check truncate mtime update ================================================================================ 16:44:42 (1771969482) repeat after cancel_lru_locks PASS 39c (3s) == sanityn test 39d: sync write should update mtime ====== 16:44:45 (1771969485) fail_loc=0x411 fail_loc=0 PASS 39d (2s) == sanityn test 51a: layout lock: refresh layout should work ========================================================== 16:44:48 (1771969488) 0+1 records in 0+1 records out 158 bytes copied, 0.00409143 s, 38.6 kB/s /home/green/git/lustre-release/lustre/tests/sanityn.sh: line 3146: kill: (81335) - No such process PASS 51a (4s) == sanityn test 51c: layout lock: IT_LAYOUT blocked and correct layout can be returned ========================================================== 16:44:52 (1771969492) fail_loc=0x172 Setting layout to have 2 stripes ... 1+0 records in 1+0 records out 1024 bytes (1.0 kB, 1.0 KiB) copied, 0.00383286 s, 267 kB/s PASS 51c (6s) == sanityn test 51d: layout lock: losing layout lock should clean up memory map region ========================================================== 16:44:59 (1771969499) 1+0 records in 1+0 records out 1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.0120172 s, 87.3 MB/s Before revoking layout lock: 1024 KB mapped PASS 51d (4s) == sanityn test 107a: Basic grouplock conflict =========== 16:45:02 (1771969502) 10+0 records in 10+0 records out 10485760 bytes (10 MB, 10 MiB) copied, 0.116021 s, 90.4 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:0x3d8:0x0] } multiop /mnt/lustre/f107a.sanityn vOG14091995_g14091995c TMPPIPE=/tmp/multiop_open_wait_pipe.60242 multiop /mnt/lustre2/f107a.sanityn vO_G16022000r10g16022000c TMPPIPE=/tmp/multiop_open_wait_pipe.60242 First grouplock blocks second one PASS 107a (4s) == sanityn test 107b: Grouplock is added to the head of waiting list ========================================================== 16:45:06 (1771969506) 10+0 records in 10+0 records out 10485760 bytes (10 MB, 10 MiB) copied, 0.12116 s, 86.5 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:0x3d6:0x0] } multiop /mnt/lustre/f107b.sanityn vOG14091995_g14091995c TMPPIPE=/tmp/multiop_open_wait_pipe.60242 Grouplock blocks IO First grouplock blocks second one Second grouplock blocks IO PASS 107b (9s) cleanup: ====================================================== == sanityn test complete, duration 337 sec =============== 16:45:15 (1771969515) Stopping clients: oleg307-client.virtnet /mnt/lustre2 (opts:) Stopping client oleg307-client.virtnet /mnt/lustre2 opts: