== sanity-dom test sanityn: Run sanityn with Data-on-MDT files ========================================================== 17:18:17 (1776201497) oleg312-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 oleg312-client.virtnet: -o user_xattr,flock oleg312-server@tcp:/lustre /mnt/lustre2 Started clients oleg312-client.virtnet: 192.168.203.112@tcp:/lustre on /mnt/lustre2 type lustre (rw,checksum,flock,user_xattr,lruresize,lazystatfs,nouser_fid2path,verbose,encrypt) oleg312-client.virtnet: executing check_config_client /mnt/lustre oleg312-client.virtnet: Checking config lustre mounted on /mnt/lustre Checking servers environments Checking clients oleg312-client.virtnet environments Using TIMEOUT=20 osc.lustre-OST0000-osc-ffff9dacc8607800.idle_timeout=debug osc.lustre-OST0000-osc-ffff9dacd05c8800.idle_timeout=debug osc.lustre-OST0001-osc-ffff9dacc8607800.idle_timeout=debug osc.lustre-OST0001-osc-ffff9dacd05c8800.idle_timeout=debug disable quota as required oleg312-server: oleg312-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.0349274 s, 30.0 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/f60333] == sanityn test 1: Check attribute updates on 2 mount points ========================================================== 17:19:00 (1776201540) /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 ================================================================== 17:19:07 (1776201547) -rw-r--r-- 1 root root 0 Apr 14 17:19 /mnt/lustre2/f2a /mnt/lustre/f2a has type file OK /mnt/lustre/f2a has perms 0777 OK PASS 2a (7s) == sanityn test 2b: check cached attribute updates on 2 mtpt's ================================================================== 17:19:14 (1776201554) -rw-r--r-- 1 root root 0 Apr 14 17:19 /mnt/lustre2/f2b /mnt/lustre2/f2b has type file OK /mnt/lustre2/f2b has perms 0777 OK PASS 2b (5s) == sanityn test 2c: check cached attribute updates on 2 mtpt's root ============================================================= 17:19:19 (1776201559) /mnt/lustre2 has type dir OK /mnt/lustre2 has perms 0777 OK PASS 2c (6s) == sanityn test 2d: check cached attribute updates on 2 mtpt's root ============================================================= 17:19:26 (1776201566) /mnt/lustre2 has type dir OK /mnt/lustre2 has perms 0755 OK PASS 2d (5s) == sanityn test 2e: check chmod on root is propagated to others ========================================================== 17:19:31 (1776201571) total 286 -rwxrwxrwx 1 root root 0 Apr 14 17:19 f2a -rwxrwxrwx 1 root root 0 Apr 14 17:19 f2b -rw-r--r-- 1 root root 1629572 Apr 14 17:01 ffsx.sanity-dom -rw-r--r-- 1 root root 0 Apr 14 17:00 ffsx.sanity-dom.fsxgood -rw-r--r-- 1 root root 81719 Apr 14 17:01 ffsx.sanity-dom.fsxlog total 286 -rwxrwxrwx 1 root root 0 Apr 14 17:19 f2a -rwxrwxrwx 1 root root 0 Apr 14 17:19 f2b -rw-r--r-- 1 root root 1629572 Apr 14 17:01 ffsx.sanity-dom -rw-r--r-- 1 root root 0 Apr 14 17:00 ffsx.sanity-dom.fsxgood -rw-r--r-- 1 root root 81719 Apr 14 17:01 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.0079966 s, 64.0 kB/s PASS 2e (7s) == sanityn test 2f: check attr/owner updates on DNE with 2 mtpt's ========================================================== 17:19:38 (1776201578) SKIP: sanityn test_2f needs >= 2 MDTs SKIP 2f (2s) == sanityn test 2g: check blocks update on sync write ==== 17:19:40 (1776201580) 2+0 records in 2+0 records out 2097152 bytes (2.1 MB, 2.0 MiB) copied, 0.365447 s, 5.7 MB/s /mnt/lustre/f2g.sanityn has 4113 blocks /mnt/lustre2/f2g.sanityn has 4113 blocks PASS 2g (6s) == sanityn test 4: fstat validation on multiple mount points ==================================================================== 17:19:46 (1776201586) PASS 4 (7s) == sanityn test 5: create a file on one mount, truncate it on the other ========================================================== 17:19:53 (1776201593) /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 ============================================================================ 17:19:59 (1776201599) 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 (5s) == sanityn test 7: remove of open directory on other node ======================================================================= 17:20:04 (1776201604) 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 ==================================================================== 17:20:10 (1776201610) 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 ========================================================== 17:20:16 (1776201616) PASS 9a (6s) == sanityn test 9b: append to striped sparse file ======== 17:20:22 (1776201622) 1+0 records in 1+0 records out 1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.0372721 s, 28.1 MB/s 3+0 records in 3+0 records out 3 bytes copied, 0.102804 s, 0.0 kB/s Data read (expecting 'foo'): foo PASS 9b (6s) == sanityn test 10a: write of file with sub-page size on multiple mounts ========================================================== 17:20:28 (1776201628) 1+0 records in 1+0 records out 1 byte copied, 0.00833972 s, 0.1 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.0170801 s, 0.1 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.0182631 s, 0.1 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.00977945 s, 0.1 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.00987965 s, 0.1 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.00469353 s, 0.2 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.00688594 s, 0.1 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.0129833 s, 0.1 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.0173406 s, 0.1 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.00502661 s, 0.2 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.00927735 s, 0.1 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.0064416 s, 0.2 kB/s PASS 10a (6s) == sanityn test 10b: write of file with sub-page size on multiple mounts ========================================================== 17:20:34 (1776201634) 1+0 records in 1+0 records out 3072 bytes (3.1 kB, 3.0 KiB) copied, 0.00758973 s, 405 kB/s 1+0 records in 1+0 records out 4096 bytes (4.1 kB, 4.0 KiB) copied, 0.0653026 s, 62.7 kB/s 1+0 records in 1+0 records out 3072 bytes (3.1 kB, 3.0 KiB) copied, 0.000467288 s, 6.6 MB/s PASS 10b (6s) == sanityn test 11: execution of file opened for write should return error ============================================================== 17:20:40 (1776201640) multiop /mnt/lustre/d11/f vO_c TMPPIPE=/tmp/multiop_open_wait_pipe.60333 /home/green/git/lustre-release/lustre/tests/sanityn.sh: line 273: /mnt/lustre2/d11/f: Text file busy PASS 11 (6s) == sanityn test 12: test lock ordering (link, stat, unlink) ========================================================== 17:20:46 (1776201646) warning: '-runtime' deprecated, use '-t runtime' instead - link 457 (time 1776201658.47 total 10.04 last 45.52) - link 1102 (time 1776201668.47 total 20.04 last 64.48) - link 1791 (time 1776201678.49 total 30.06 last 68.77) - link 2392 (time 1776201688.50 total 40.07 last 60.04) - link 2966 (time 1776201698.51 total 50.09 last 57.31) - link 3303 (time 1776201708.52 total 60.10 last 33.67) - link 3644 (time 1776201718.54 total 70.11 last 34.04) - link 3981 (time 1776201728.54 total 80.12 last 33.69) - link 4289 (time 1776201738.55 total 90.12 last 30.77) total: 4601 link in 100.01 seconds: 46.00 ops/second using seed 2849175134 running for 100 seconds - stat 703 (time 1776201660 ; total 11 ; last 11) - stat 5581 (time 1776201671 ; total 22 ; last 11) - stat 10000 (time 1776201681 ; total 32 ; last 10) - stat 14157 (time 1776201692 ; total 43 ; last 11) - stat 18697 (time 1776201703 ; total 54 ; last 11) - stat 20000 (time 1776201707 ; total 58 ; last 4) - stat 23659 (time 1776201718 ; total 69 ; last 11) - stat 27356 (time 1776201729 ; total 80 ; last 11) - stat 30000 (time 1776201737 ; total 88 ; last 8) - stat 33723 (time 1776201748 ; total 99 ; last 11) total: 34214 stats in 100 seconds: 342.140015 stats/second - unlinked 0 (time 1776201699 ; total 0 ; last 0) unlink(/mnt/lustre2/lockdir/lockfile4601) error: No such file or directory total: 4600 unlinks in 99 seconds: 46.464645 unlinks/second /home/green/git/lustre-release/lustre/tests/lockorder.sh: line 77: kill: (72266) - No such process /home/green/git/lustre-release/lustre/tests/lockorder.sh: line 78: kill: (72268) - No such process PASS 12 (157s) == sanityn test 14aa: execution of file open for write returns -ETXTBSY ========================================================== 17:23:23 (1776201803) multiop /mnt/lustre/d14aa.sanityn/f14aa.sanityn vOw_c TMPPIPE=/tmp/multiop_open_wait_pipe.60333 /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: 72867 Terminated $MULTIOP_PROG $FILE v$ARGS > $TMPPIPE (wd: ~) PASS 14aa (7s) == sanityn test 14ab: open(RDWR) of executing file returns -ETXTBSY ========================================================== 17:23:30 (1776201810) open(O_RDWR|O_CREAT): Text file busy /home/green/git/lustre-release/lustre/tests/test-framework.sh: line 4298: 73441 Terminated $DIR1/$tdir/sleep 60 (wd: ~) PASS 14ab (5s) == sanityn test 14b: truncate of executing file returns -ETXTBSY ================================================================ 17:23:36 (1776201816) 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: 74013 Terminated $DIR1/$tdir/sleep 60 PASS 14b (6s) == sanityn test 14c: open(O_TRUNC) of executing file return -ETXTBSY ============================================================ 17:23:42 (1776201822) cp: cannot create regular file '/mnt/lustre2/d14c.sanityn/sleep': Text file busy /home/green/git/lustre-release/lustre/tests/sanityn.sh: line 335: 74590 Terminated $DIR1/$tdir/sleep 60 PASS 14c (6s) == sanityn test 14d: chmod of executing file is still possible ================================================================== 17:23:48 (1776201828) chmod /home/green/git/lustre-release/lustre/tests/sanityn.sh: line 346: 75166 Terminated $DIR1/$tdir/sleep 60 PASS 14d (7s) == sanityn test 17: resource creation/LVB creation race ========================================================================= 17:23:55 (1776201835) fail_loc=0x8000030a PASS 17 (9s) == sanityn test 19: test concurrent uncached read races ========================================================================= 17:24:04 (1776201844) oleg312-server: error: get_param: param_path 'osd-*/lustre-MDT*/read_cache_enable': No such file or directory pdsh@oleg312-client: oleg312-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 ============================================================== 17:24:07 (1776201847) PASS 20 (6s) == sanityn test 23: others should see updated atime while another read============================================================== 17:24:13 (1776201853) now is 1776201856 starting reads multiop /mnt/lustre/f23.sanityn vor20_c TMPPIPE=/tmp/multiop_open_wait_pipe.60333 new atime is 1776201917 PASS 23 (69s) == sanityn test 27: align non-overlapping extent locks from request ============================================================= 17:25:22 (1776201922) dd 1 started 4+0 records in 4+0 records out 16793600 bytes (17 MB, 16 MiB) copied, 0.562895 s, 29.8 MB/s dd 2 started 1+0 records in 1+0 records out 15728640 bytes (16 MB, 15 MiB) copied, 1.27724 s, 12.3 MB/s 1+0 records in 1+0 records out 8192 bytes (8.2 kB, 8.0 KiB) copied, 0.0255208 s, 321 kB/s dd 3 finished PASS 27 (11s) == sanityn test 39a: test from 11063 ============================================================================================ 17:25:34 (1776201934) repeat after cancel_lru_locks PASS 39a (6s) == sanityn test 39b: 11063 problem 1 ============================================================================================ 17:25:41 (1776201941) repeat after cancel_lru_locks PASS 39b (8s) == sanityn test 39c: check truncate mtime update ================================================================================ 17:25:48 (1776201948) repeat after cancel_lru_locks PASS 39c (7s) == sanityn test 39d: sync write should update mtime ====== 17:25:55 (1776201955) fail_loc=0x411 fail_loc=0 PASS 39d (7s) == sanityn test 51a: layout lock: refresh layout should work ========================================================== 17:26:02 (1776201962) 0+1 records in 0+1 records out 158 bytes copied, 0.0161613 s, 9.8 kB/s /home/green/git/lustre-release/lustre/tests/sanityn.sh: line 3146: kill: (81449) - No such process PASS 51a (8s) == sanityn test 51c: layout lock: IT_LAYOUT blocked and correct layout can be returned ========================================================== 17:26:10 (1776201970) 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.0150774 s, 67.9 kB/s PASS 51c (12s) == sanityn test 51d: layout lock: losing layout lock should clean up memory map region ========================================================== 17:26:22 (1776201982) 1+0 records in 1+0 records out 1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.0306931 s, 34.2 MB/s Before revoking layout lock: 1024 KB mapped PASS 51d (8s) == sanityn test 107a: Basic grouplock conflict =========== 17:26:30 (1776201990) 10+0 records in 10+0 records out 10485760 bytes (10 MB, 10 MiB) copied, 0.286282 s, 36.6 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.60333 multiop /mnt/lustre2/f107a.sanityn vO_G16022000r10g16022000c TMPPIPE=/tmp/multiop_open_wait_pipe.60333 First grouplock blocks second one PASS 107a (9s) == sanityn test 107b: Grouplock is added to the head of waiting list ========================================================== 17:26:39 (1776201999) 10+0 records in 10+0 records out 10485760 bytes (10 MB, 10 MiB) copied, 0.46643 s, 22.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.60333 Grouplock blocks IO First grouplock blocks second one Second grouplock blocks IO PASS 107b (12s) cleanup: ====================================================== == sanityn test complete, duration 515 sec =============== 17:26:53 (1776202013) Stopping clients: oleg312-client.virtnet /mnt/lustre2 (opts:) Stopping client oleg312-client.virtnet /mnt/lustre2 opts: