== sanity-dom test sanityn: Run sanityn with Data-on-MDT files ========================================================== 14:04:25 (1776189865) oleg323-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 oleg323-client.virtnet: -o user_xattr,flock oleg323-server@tcp:/lustre /mnt/lustre2 Started clients oleg323-client.virtnet: 192.168.203.123@tcp:/lustre on /mnt/lustre2 type lustre (rw,checksum,flock,user_xattr,lruresize,lazystatfs,nouser_fid2path,verbose,encrypt) oleg323-client.virtnet: executing check_config_client /mnt/lustre oleg323-client.virtnet: Checking config lustre mounted on /mnt/lustre Checking servers environments Checking clients oleg323-client.virtnet environments Using TIMEOUT=20 osc.lustre-OST0000-osc-ffff8b3b1082c000.idle_timeout=debug osc.lustre-OST0000-osc-ffff8b3b1147d800.idle_timeout=debug osc.lustre-OST0001-osc-ffff8b3b1082c000.idle_timeout=debug osc.lustre-OST0001-osc-ffff8b3b1147d800.idle_timeout=debug disable quota as required oleg323-server: oleg323-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.0462654 s, 22.7 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/f60346] == sanityn test 1: Check attribute updates on 2 mount points ========================================================== 14:05:08 (1776189908) /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 (7s) == sanityn test 2a: check cached attribute updates on 2 mtpt's ================================================================== 14:05:15 (1776189915) -rw-r--r-- 1 root root 0 Apr 14 14:05 /mnt/lustre2/f2a /mnt/lustre/f2a has type file OK /mnt/lustre/f2a has perms 0777 OK PASS 2a (6s) == sanityn test 2b: check cached attribute updates on 2 mtpt's ================================================================== 14:05:20 (1776189920) -rw-r--r-- 1 root root 0 Apr 14 14:05 /mnt/lustre2/f2b /mnt/lustre2/f2b has type file OK /mnt/lustre2/f2b has perms 0777 OK PASS 2b (8s) == sanityn test 2c: check cached attribute updates on 2 mtpt's root ============================================================= 14:05:28 (1776189928) /mnt/lustre2 has type dir OK /mnt/lustre2 has perms 0777 OK PASS 2c (7s) == sanityn test 2d: check cached attribute updates on 2 mtpt's root ============================================================= 14:05:35 (1776189935) /mnt/lustre2 has type dir OK /mnt/lustre2 has perms 0755 OK PASS 2d (6s) == sanityn test 2e: check chmod on root is propagated to others ========================================================== 14:05:41 (1776189941) total 264 -rwxrwxrwx 1 root root 0 Apr 14 14:05 f2a -rwxrwxrwx 1 root root 0 Apr 14 14:05 f2b -rw-r--r-- 1 root root 1625847 Apr 14 13:47 ffsx.sanity-dom -rw-r--r-- 1 root root 0 Apr 14 13:46 ffsx.sanity-dom.fsxgood -rw-r--r-- 1 root root 79137 Apr 14 13:47 ffsx.sanity-dom.fsxlog total 264 -rwxrwxrwx 1 root root 0 Apr 14 14:05 f2a -rwxrwxrwx 1 root root 0 Apr 14 14:05 f2b -rw-r--r-- 1 root root 1625847 Apr 14 13:47 ffsx.sanity-dom -rw-r--r-- 1 root root 0 Apr 14 13:46 ffsx.sanity-dom.fsxgood -rw-r--r-- 1 root root 79137 Apr 14 13:47 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.00515588 s, 99.3 kB/s PASS 2e (6s) == sanityn test 2f: check attr/owner updates on DNE with 2 mtpt's ========================================================== 14:05:47 (1776189947) SKIP: sanityn test_2f needs >= 2 MDTs SKIP 2f (3s) == sanityn test 2g: check blocks update on sync write ==== 14:05:50 (1776189950) 2+0 records in 2+0 records out 2097152 bytes (2.1 MB, 2.0 MiB) copied, 0.592545 s, 3.5 MB/s /mnt/lustre/f2g.sanityn has 4113 blocks /mnt/lustre2/f2g.sanityn has 4113 blocks PASS 2g (7s) == sanityn test 4: fstat validation on multiple mount points ==================================================================== 14:05:57 (1776189957) PASS 4 (6s) == sanityn test 5: create a file on one mount, truncate it on the other ========================================================== 14:06:03 (1776189963) /mnt/lustre/f5 has type file OK /mnt/lustre/f5 has size 100 OK PASS 5 (6s) == sanityn test 6: remove of open file on other node ============================================================================ 14:06:09 (1776189969) 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 (6s) == sanityn test 7: remove of open directory on other node ======================================================================= 14:06:16 (1776189976) creating directory /mnt/lustre/d7 opening directory unlinking /mnt/lustre/d7 Ok, everything goes well. PASS 7 (6s) == sanityn test 8: remove of open special file on other node ==================================================================== 14:06:21 (1776189981) creating special file /mnt/lustre/f8.sanityn opening file unlinking /mnt/lustre/f8.sanityn Ok, everything goes well. PASS 8 (6s) == sanityn test 9a: append of file with sub-page size on multiple mounts ========================================================== 14:06:27 (1776189987) PASS 9a (6s) == sanityn test 9b: append to striped sparse file ======== 14:06:33 (1776189993) 1+0 records in 1+0 records out 1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.0582739 s, 18.0 MB/s 3+0 records in 3+0 records out 3 bytes copied, 0.111653 s, 0.0 kB/s Data read (expecting 'foo'): foo PASS 9b (5s) == sanityn test 10a: write of file with sub-page size on multiple mounts ========================================================== 14:06:39 (1776189999) 1+0 records in 1+0 records out 1 byte copied, 0.007927 s, 0.1 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.0101676 s, 0.1 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.00992154 s, 0.1 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.0126738 s, 0.1 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.0182882 s, 0.1 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.018231 s, 0.1 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.0114428 s, 0.1 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.00912789 s, 0.1 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.0166349 s, 0.1 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.00910766 s, 0.1 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.0225301 s, 0.0 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.00642857 s, 0.2 kB/s PASS 10a (7s) == sanityn test 10b: write of file with sub-page size on multiple mounts ========================================================== 14:06:46 (1776190006) 1+0 records in 1+0 records out 3072 bytes (3.1 kB, 3.0 KiB) copied, 0.00826268 s, 372 kB/s 1+0 records in 1+0 records out 4096 bytes (4.1 kB, 4.0 KiB) copied, 0.0549087 s, 74.6 kB/s 1+0 records in 1+0 records out 3072 bytes (3.1 kB, 3.0 KiB) copied, 0.000225318 s, 13.6 MB/s PASS 10b (7s) == sanityn test 11: execution of file opened for write should return error ============================================================== 14:06:53 (1776190013) multiop /mnt/lustre/d11/f vO_c TMPPIPE=/tmp/multiop_open_wait_pipe.60346 /home/green/git/lustre-release/lustre/tests/sanityn.sh: line 273: /mnt/lustre2/d11/f: Text file busy PASS 11 (8s) == sanityn test 12: test lock ordering (link, stat, unlink) ========================================================== 14:07:01 (1776190021) warning: '-runtime' deprecated, use '-t runtime' instead - link 391 (time 1776190033.67 total 10.01 last 39.04) - link 935 (time 1776190043.68 total 20.02 last 54.36) - link 1476 (time 1776190053.69 total 30.03 last 54.07) - link 2002 (time 1776190063.69 total 40.04 last 52.55) - link 2556 (time 1776190073.70 total 50.04 last 55.39) - link 2932 (time 1776190083.70 total 60.04 last 37.60) - link 3274 (time 1776190093.71 total 70.05 last 34.15) - link 3648 (time 1776190103.72 total 80.06 last 37.37) - link 3979 (time 1776190113.75 total 90.09 last 33.00) total: 4282 link in 100.03 seconds: 42.81 ops/second using seed 870860319 running for 100 seconds - stat 523 (time 1776190035 ; total 11 ; last 11) - stat 4578 (time 1776190046 ; total 22 ; last 11) - stat 8392 (time 1776190057 ; total 33 ; last 11) - stat 10000 (time 1776190060 ; total 36 ; last 3) - stat 14328 (time 1776190071 ; total 47 ; last 11) - stat 18368 (time 1776190082 ; total 58 ; last 11) - stat 20000 (time 1776190087 ; total 63 ; last 5) - stat 23796 (time 1776190098 ; total 74 ; last 11) - stat 27438 (time 1776190109 ; total 85 ; last 11) - stat 30000 (time 1776190116 ; total 92 ; last 7) total: 32387 stats in 100 seconds: 323.869995 stats/second - unlinked 0 (time 1776190074 ; total 0 ; last 0) unlink(/mnt/lustre2/lockdir/lockfile4282) error: No such file or directory total: 4281 unlinks in 98 seconds: 43.683674 unlinks/second /home/green/git/lustre-release/lustre/tests/lockorder.sh: line 77: kill: (72281) - No such process /home/green/git/lustre-release/lustre/tests/lockorder.sh: line 78: kill: (72283) - No such process PASS 12 (156s) == sanityn test 14aa: execution of file open for write returns -ETXTBSY ========================================================== 14:09:37 (1776190177) multiop /mnt/lustre/d14aa.sanityn/f14aa.sanityn vOw_c TMPPIPE=/tmp/multiop_open_wait_pipe.60346 /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 4309: 72882 Terminated $MULTIOP_PROG $FILE v$ARGS > $TMPPIPE (wd: ~) PASS 14aa (6s) == sanityn test 14ab: open(RDWR) of executing file returns -ETXTBSY ========================================================== 14:09:43 (1776190183) open(O_RDWR|O_CREAT): Text file busy /home/green/git/lustre-release/lustre/tests/test-framework.sh: line 4309: 73456 Terminated $DIR1/$tdir/sleep 60 (wd: ~) PASS 14ab (5s) == sanityn test 14b: truncate of executing file returns -ETXTBSY ================================================================ 14:09:48 (1776190188) 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: 74030 Terminated $DIR1/$tdir/sleep 60 PASS 14b (4s) == sanityn test 14c: open(O_TRUNC) of executing file return -ETXTBSY ============================================================ 14:09:53 (1776190193) cp: cannot create regular file '/mnt/lustre2/d14c.sanityn/sleep': Text file busy /home/green/git/lustre-release/lustre/tests/sanityn.sh: line 335: 74607 Terminated $DIR1/$tdir/sleep 60 PASS 14c (5s) == sanityn test 14d: chmod of executing file is still possible ================================================================== 14:09:58 (1776190198) chmod /home/green/git/lustre-release/lustre/tests/sanityn.sh: line 346: 75183 Terminated $DIR1/$tdir/sleep 60 PASS 14d (7s) == sanityn test 17: resource creation/LVB creation race ========================================================================= 14:10:05 (1776190205) fail_loc=0x8000030a PASS 17 (8s) == sanityn test 19: test concurrent uncached read races ========================================================================= 14:10:13 (1776190213) oleg323-server: error: get_param: param_path 'osd-*/lustre-MDT*/read_cache_enable': No such file or directory pdsh@oleg323-client: oleg323-server: ssh exited with exit code 2 SKIP: sanityn test_19 not cache-capable obdfilter SKIP 19 (3s) == sanityn test 20: test extra readahead page left in cache ============================================================== 14:10:16 (1776190216) PASS 20 (5s) == sanityn test 23: others should see updated atime while another read============================================================== 14:10:21 (1776190221) now is 1776190223 starting reads multiop /mnt/lustre/f23.sanityn vor20_c TMPPIPE=/tmp/multiop_open_wait_pipe.60346 new atime is 1776190284 PASS 23 (69s) == sanityn test 27: align non-overlapping extent locks from request ============================================================= 14:11:30 (1776190290) dd 1 started 4+0 records in 4+0 records out 16793600 bytes (17 MB, 16 MiB) copied, 0.662001 s, 25.4 MB/s dd 2 started 1+0 records in 1+0 records out 15728640 bytes (16 MB, 15 MiB) copied, 1.34102 s, 11.7 MB/s 1+0 records in 1+0 records out 8192 bytes (8.2 kB, 8.0 KiB) copied, 0.0374047 s, 219 kB/s dd 3 finished PASS 27 (12s) == sanityn test 39a: test from 11063 ============================================================================================ 14:11:42 (1776190302) repeat after cancel_lru_locks PASS 39a (5s) == sanityn test 39b: 11063 problem 1 ============================================================================================ 14:11:47 (1776190307) repeat after cancel_lru_locks PASS 39b (7s) == sanityn test 39c: check truncate mtime update ================================================================================ 14:11:55 (1776190315) repeat after cancel_lru_locks PASS 39c (7s) == sanityn test 39d: sync write should update mtime ====== 14:12:02 (1776190322) fail_loc=0x411 fail_loc=0 PASS 39d (6s) == sanityn test 51a: layout lock: refresh layout should work ========================================================== 14:12:09 (1776190329) 0+1 records in 0+1 records out 158 bytes copied, 0.0280968 s, 5.6 kB/s /home/green/git/lustre-release/lustre/tests/sanityn.sh: line 3146: kill: (81465) - No such process PASS 51a (7s) == sanityn test 51c: layout lock: IT_LAYOUT blocked and correct layout can be returned ========================================================== 14:12:17 (1776190337) 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.0277894 s, 36.8 kB/s PASS 51c (10s) == sanityn test 51d: layout lock: losing layout lock should clean up memory map region ========================================================== 14:12:27 (1776190347) 1+0 records in 1+0 records out 1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.0377325 s, 27.8 MB/s Before revoking layout lock: 1024 KB mapped PASS 51d (6s) == sanityn test 107a: Basic grouplock conflict =========== 14:12:35 (1776190355) 10+0 records in 10+0 records out 10485760 bytes (10 MB, 10 MiB) copied, 0.413233 s, 25.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:0x3d7:0x0] } multiop /mnt/lustre/f107a.sanityn vOG14091995_g14091995c TMPPIPE=/tmp/multiop_open_wait_pipe.60346 multiop /mnt/lustre2/f107a.sanityn vO_G16022000r10g16022000c TMPPIPE=/tmp/multiop_open_wait_pipe.60346 First grouplock blocks second one PASS 107a (8s) == sanityn test 107b: Grouplock is added to the head of waiting list ========================================================== 14:12:42 (1776190362) 10+0 records in 10+0 records out 10485760 bytes (10 MB, 10 MiB) copied, 0.251481 s, 41.7 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:0x3d7:0x0] } multiop /mnt/lustre/f107b.sanityn vOG14091995_g14091995c TMPPIPE=/tmp/multiop_open_wait_pipe.60346 Grouplock blocks IO First grouplock blocks second one Second grouplock blocks IO PASS 107b (12s) cleanup: ====================================================== == sanityn test complete, duration 509 sec =============== 14:12:55 (1776190375) Stopping clients: oleg323-client.virtnet /mnt/lustre2 (opts:) Stopping client oleg323-client.virtnet /mnt/lustre2 opts: