== sanity-dom test sanityn: Run sanityn with Data-on-MDT files ========================================================== 18:15:46 (1784585746) MGS_OS_ID_LIKE=rhel centos fedora rocky MGS_OS_VERSION_ID=8.10 MGS_OS_ID=rocky MGS_OS_VERSION_CODE=134873088 MDS1_OS_VERSION_ID=8.10 MDS1_OS_VERSION_CODE=134873088 MDS1_OS_ID_LIKE=rhel centos fedora rocky MDS1_OS_ID=rocky OST1_OS_VERSION_CODE=134873088 OST1_OS_ID_LIKE=rhel centos fedora rocky OST1_OS_VERSION_ID=8.10 OST1_OS_ID=rocky CLIENT_OS_ID=rocky CLIENT_OS_VERSION_CODE=134873088 CLIENT_OS_VERSION_ID=8.10 CLIENT_OS_ID_LIKE=rhel centos fedora rocky oleg256-server: ls: cannot access '/home/green/git/lustre-release/lustre/tests/except/sanityn.*ex': No such file or directory excepting tests: 40a skipping tests SLOW=no: 33a === sanityn: start setup 18:16:08 (1784585768) === Starting client oleg256-client.virtnet: -o user_xattr,flock 192.168.202.156@tcp:/lustre /mnt/lustre2 Mount client oleg256-client.virtnet: mount -t lustre -o user_xattr,flock 192.168.202.156@tcp:/lustre /mnt/lustre2 Started clients oleg256-client.virtnet: 192.168.202.156@tcp:/lustre on /mnt/lustre2 type lustre (rw,flock,checksum,encrypt,lazystatfs,lruresize,nolock,statfs_project,nosync_on_close,nouser_fid2path,user_xattr,verbose) oleg256-client.virtnet: executing check_config_client /mnt/lustre oleg256-client.virtnet: Checking config lustre mounted on /mnt/lustre Checking servers environments Checking clients oleg256-client.virtnet environments Using TIMEOUT=20 osc.lustre-OST0000-osc-ffff8cffc57af000.idle_timeout=debug osc.lustre-OST0000-osc-ffff8cffc66e1800.idle_timeout=debug osc.lustre-OST0001-osc-ffff8cffc57af000.idle_timeout=debug osc.lustre-OST0001-osc-ffff8cffc66e1800.idle_timeout=debug disable quota as required oleg256-server: oleg256-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all === sanityn: finish setup 18:16:49 (1784585809) === 1+0 records in 1+0 records out 1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.0207989 s, 50.4 MB/s running as uid/gid/euid/egid 500/500/500/500, groups: 500 [true] running as uid/gid/euid/egid 500/500/500/500, groups: 500 [touch] [/mnt/lustre/d0_runas_test/f66946] == sanityn test 1: Check attribute updates on 2 mount points ========================================================== 18:16:51 (1784585811) /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 ================================================================== 18:16:59 (1784585819) -rw-r--r-- 1 root root 0 Jul 20 18:17 /mnt/lustre2/f2a /mnt/lustre/f2a has type file OK /mnt/lustre/f2a has perms 0777 OK PASS 2a (8s) == sanityn test 2b: check cached attribute updates on 2 mtpt's ================================================================== 18:17:06 (1784585826) -rw-r--r-- 1 root root 0 Jul 20 18:17 /mnt/lustre2/f2b /mnt/lustre2/f2b has type file OK /mnt/lustre2/f2b has perms 0777 OK PASS 2b (7s) == sanityn test 2c: check cached attribute updates on 2 mtpt's root ============================================================= 18:17:14 (1784585834) /mnt/lustre2 has type dir OK /mnt/lustre2 has perms 0777 OK PASS 2c (8s) == sanityn test 2d: check cached attribute updates on 2 mtpt's root ============================================================= 18:17:21 (1784585841) /mnt/lustre2 has type dir OK /mnt/lustre2 has perms 0755 OK PASS 2d (7s) == sanityn test 2e: check chmod on root is propagated to others ========================================================== 18:17:28 (1784585848) total 1484 -rwxrwxrwx 1 root root 0 Jul 20 18:17 f2a -rwxrwxrwx 1 root root 0 Jul 20 18:17 f2b -rw-r--r-- 1 root root 2023262 Jul 20 17:55 ffsx.sanity-dom -rw-r--r-- 1 root root 0 Jul 20 17:54 ffsx.sanity-dom.fsxgood -rw-r--r-- 1 root root 73292 Jul 20 17:55 ffsx.sanity-dom.fsxlog total 1484 -rwxrwxrwx 1 root root 0 Jul 20 18:17 f2a -rwxrwxrwx 1 root root 0 Jul 20 18:17 f2b -rw-r--r-- 1 root root 2023262 Jul 20 17:55 ffsx.sanity-dom -rw-r--r-- 1 root root 0 Jul 20 17:54 ffsx.sanity-dom.fsxgood -rw-r--r-- 1 root root 73292 Jul 20 17:55 ffsx.sanity-dom.fsxlog running as uid/gid/euid/egid 500/500/500/500, groups: 500 [dd] [if=/dev/zero] [of=/mnt/lustre2/f2e.sanityn] [count=1] 1+0 records in 1+0 records out 512 bytes copied, 0.0149283 s, 34.3 kB/s PASS 2e (8s) == sanityn test 2f: check attr/owner updates on DNE with 2 mtpt's ========================================================== 18:17:36 (1784585856) SKIP: sanityn test_2f needs >= 2 MDTs SKIP 2f (3s) == sanityn test 2g: check blocks update on sync write ==== 18:17:39 (1784585859) 2+0 records in 2+0 records out 2097152 bytes (2.1 MB, 2.0 MiB) copied, 0.502358 s, 4.2 MB/s /mnt/lustre/f2g.sanityn has 4109 blocks /mnt/lustre2/f2g.sanityn has 4109 blocks PASS 2g (8s) == sanityn test 4: fstat validation on multiple mount points ==================================================================== 18:17:48 (1784585868) PASS 4 (8s) == sanityn test 5: create a file on one mount, truncate it on the other ========================================================== 18:17:55 (1784585875) /mnt/lustre/f5 has type file OK /mnt/lustre/f5 has size 100 OK PASS 5 (9s) == sanityn test 6: remove of open file on other node ============================================================================ 18:18:04 (1784585884) 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 ======================================================================= 18:18:11 (1784585891) creating directory /mnt/lustre/d7 opening directory unlinking /mnt/lustre/d7 Ok, everything goes well. PASS 7 (7s) == sanityn test 8: remove of open special file on other node ==================================================================== 18:18:18 (1784585898) creating special file /mnt/lustre/f8.sanityn opening file unlinking /mnt/lustre/f8.sanityn Ok, everything goes well. PASS 8 (7s) == sanityn test 9a: append of file with sub-page size on multiple mounts ========================================================== 18:18:25 (1784585905) PASS 9a (7s) == sanityn test 9b: append to striped sparse file ======== 18:18:32 (1784585912) 1+0 records in 1+0 records out 1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.0412289 s, 25.4 MB/s 3+0 records in 3+0 records out 3 bytes copied, 0.0692294 s, 0.0 kB/s Data read (expecting 'foo'): foo PASS 9b (8s) == sanityn test 10a: write of file with sub-page size on multiple mounts ========================================================== 18:18:40 (1784585920) 1+0 records in 1+0 records out 1 byte copied, 0.0197578 s, 0.1 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.0169109 s, 0.1 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.0200016 s, 0.0 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.0301824 s, 0.0 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.0211329 s, 0.0 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.0257431 s, 0.0 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.0282146 s, 0.0 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.0238127 s, 0.0 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.0200844 s, 0.0 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.011403 s, 0.1 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.0192309 s, 0.1 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.0135753 s, 0.1 kB/s PASS 10a (9s) == sanityn test 10b: write of file with sub-page size on multiple mounts ========================================================== 18:18:50 (1784585930) 1+0 records in 1+0 records out 3072 bytes (3.1 kB, 3.0 KiB) copied, 0.0234087 s, 131 kB/s 1+0 records in 1+0 records out 4096 bytes (4.1 kB, 4.0 KiB) copied, 0.0512979 s, 79.8 kB/s 1+0 records in 1+0 records out 3072 bytes (3.1 kB, 3.0 KiB) copied, 0.00359997 s, 853 kB/s PASS 10b (7s) == sanityn test 11: execution of file opened for write should return error ============================================================== 18:18:57 (1784585937) multiop /mnt/lustre/d11/f vO_c TMPPIPE=/tmp/multiop_open_wait_pipe.66946 /home/green/git/lustre-release/lustre/tests/sanityn.sh: line 298: /mnt/lustre2/d11/f: Text file busy PASS 11 (7s) == sanityn test 12: test lock ordering (link, stat, unlink) ========================================================== 18:19:04 (1784585944) warning: '-runtime' deprecated, use '-t runtime' instead - link 360 (time 1784585957.36 total 10.03 last 35.91) - link 771 (time 1784585967.39 total 20.06 last 40.97) - link 1313 (time 1784585977.41 total 30.08 last 54.07) - link 1770 (time 1784585987.42 total 40.09 last 45.67) - link 2230 (time 1784585997.42 total 50.09 last 45.97) - link 2553 (time 1784586007.47 total 60.14 last 32.16) - link 2922 (time 1784586017.49 total 70.16 last 36.82) - link 3292 (time 1784586027.50 total 80.18 last 36.94) - link 3656 (time 1784586037.51 total 90.18 last 36.37) total: 3939 link in 100.01 seconds: 39.38 ops/second using seed 140460099 running for 100 seconds - stat 495 (time 1784585959 ; total 11 ; last 11) - stat 3446 (time 1784585970 ; total 22 ; last 11) - stat 6628 (time 1784585981 ; total 33 ; last 11) - stat 9554 (time 1784585992 ; total 44 ; last 11) - stat 10000 (time 1784585993 ; total 45 ; last 1) - stat 12434 (time 1784586004 ; total 56 ; last 11) - stat 14634 (time 1784586015 ; total 67 ; last 11) - stat 16654 (time 1784586026 ; total 78 ; last 11) - stat 19001 (time 1784586037 ; total 89 ; last 11) - stat 20000 (time 1784586044 ; total 96 ; last 7) total: 20565 stats in 100 seconds: 205.649994 stats/second - unlinked 0 (time 1784585998 ; total 0 ; last 0) unlink(/mnt/lustre2/lockdir/lockfile3939) error: No such file or directory total: 3938 unlinks in 98 seconds: 40.183674 unlinks/second /home/green/git/lustre-release/lustre/tests/lockorder.sh: line 77: kill: (79506) - No such process /home/green/git/lustre-release/lustre/tests/lockorder.sh: line 78: kill: (79508) - No such process PASS 12 (159s) == sanityn test 14aa: execution of file open for write returns -ETXTBSY ========================================================== 18:21:43 (1784586103) multiop /mnt/lustre/d14aa.sanityn/f14aa.sanityn vOw_c TMPPIPE=/tmp/multiop_open_wait_pipe.66946 /home/green/git/lustre-release/lustre/tests/sanityn.sh: line 333: /mnt/lustre2/d14aa.sanityn/f14aa.sanityn: Text file busy /home/green/git/lustre-release/lustre/tests/test-framework.sh: line 5041: 80111 Terminated $MULTIOP_PROG $FILE v$ARGS > $TMPPIPE (wd: ~) PASS 14aa (8s) == sanityn test 14ab: open(RDWR) of executing file returns -ETXTBSY ========================================================== 18:21:51 (1784586111) open(O_RDWR|O_CREAT): Text file busy /home/green/git/lustre-release/lustre/tests/test-framework.sh: line 5041: 80691 Terminated $DIR1/$tdir/sleep 60 (wd: ~) PASS 14ab (7s) == sanityn test 14b: truncate of executing file returns -ETXTBSY ================================================================ 18:21:59 (1784586119) truncate: cannot truncate '/mnt/lustre2/d14b.sanityn/sleep' to length 60: Text file busy /home/green/git/lustre-release/lustre/tests/sanityn.sh: line 348: 81272 Terminated $DIR1/$tdir/sleep 60 PASS 14b (9s) == sanityn test 14c: open(O_TRUNC) of executing file return -ETXTBSY ============================================================ 18:22:08 (1784586128) cp: cannot create regular file '/mnt/lustre2/d14c.sanityn/sleep': Text file busy /home/green/git/lustre-release/lustre/tests/sanityn.sh: line 360: 81863 Terminated $DIR1/$tdir/sleep 60 PASS 14c (8s) == sanityn test 14d: chmod of executing file is still possible ================================================================== 18:22:16 (1784586136) chmod /home/green/git/lustre-release/lustre/tests/sanityn.sh: line 371: 82445 Terminated $DIR1/$tdir/sleep 60 PASS 14d (10s) == sanityn test 17: resource creation/LVB creation race ========================================================================= 18:22:26 (1784586146) fail_loc=0x8000030a PASS 17 (13s) == sanityn test 19: test concurrent uncached read races ========================================================================= 18:22:39 (1784586159) oleg256-server: error: get_param: param_path 'osd-*/lustre-MDT*/read_cache_enable': No such file or directory pdsh@oleg256-client: oleg256-server: ssh exited with exit code 2 SKIP: sanityn test_19 not cache-capable obdfilter SKIP 19 (5s) == sanityn test 20: test extra readahead page left in cache ============================================================== 18:22:44 (1784586164) PASS 20 (9s) == sanityn test 23: others should see updated atime while another read============================================================== 18:22:53 (1784586173) now is 1784586176 starting reads multiop /mnt/lustre/f23.sanityn vor20_c TMPPIPE=/tmp/multiop_open_wait_pipe.66946 new atime is 1784586237 PASS 23 (70s) == sanityn test 27: align non-overlapping extent locks from request ============================================================= 18:24:03 (1784586243) dd 1 started 4+0 records in 4+0 records out 16793600 bytes (17 MB, 16 MiB) copied, 0.835587 s, 20.1 MB/s dd 2 started 1+0 records in 1+0 records out 15728640 bytes (16 MB, 15 MiB) copied, 0.754479 s, 20.8 MB/s 1+0 records in 1+0 records out 8192 bytes (8.2 kB, 8.0 KiB) copied, 0.0504625 s, 162 kB/s dd 3 finished PASS 27 (15s) == sanityn test 39a: file mtime does not change after rename ========================================================== 18:24:19 (1784586259) repeat after cancel_lru_locks PASS 39a (8s) == sanityn test 39b: file mtime the same on clients with/out lock ========================================================== 18:24:27 (1784586267) repeat after cancel_lru_locks PASS 39b (9s) == sanityn test 39c: check truncate mtime update ================================================================================ 18:24:36 (1784586276) repeat after cancel_lru_locks PASS 39c (9s) == sanityn test 39d: sync write should update mtime ====== 18:24:45 (1784586285) fail_loc=0x411 fail_loc=0 PASS 39d (8s) == sanityn test 51a: layout lock: refresh layout should work ========================================================== 18:24:55 (1784586295) 0+1 records in 0+1 records out 158 bytes copied, 0.0295303 s, 5.4 kB/s /home/green/git/lustre-release/lustre/tests/sanityn.sh: line 3690: kill: (88820) - No such process PASS 51a (10s) == sanityn test 51c: layout lock: IT_LAYOUT blocked and correct layout can be returned ========================================================== 18:25:04 (1784586304) 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.0393523 s, 26.0 kB/s PASS 51c (13s) == sanityn test 51d: layout lock: losing layout lock should clean up memory map region ========================================================== 18:25:17 (1784586317) 1+0 records in 1+0 records out 1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.0504018 s, 20.8 MB/s Before revoking layout lock: 1024 KB mapped PASS 51d (9s) == sanityn test 107a: Basic grouplock conflict =========== 18:25:28 (1784586328) 10+0 records in 10+0 records out 10485760 bytes (10 MB, 10 MiB) copied, 0.46157 s, 22.7 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_mdt_index: 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: 4194304 lmm_pattern: raid0 lmm_layout_gen: 0 lmm_stripe_offset: 1 lmm_objects: - 0: { l_ost_idx: 1, l_fid: [0x280000400:0x3ce:0x0] } multiop /mnt/lustre/f107a.sanityn vOG14091995_g14091995c TMPPIPE=/tmp/multiop_open_wait_pipe.66946 multiop /mnt/lustre2/f107a.sanityn vO_G16022000r10g16022000c TMPPIPE=/tmp/multiop_open_wait_pipe.66946 First grouplock blocks second one PASS 107a (12s) == sanityn test 107b: Grouplock is added to the head of waiting list ========================================================== 18:25:41 (1784586341) 10+0 records in 10+0 records out 10485760 bytes (10 MB, 10 MiB) copied, 0.510636 s, 20.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_mdt_index: 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: 4194304 lmm_pattern: raid0 lmm_layout_gen: 0 lmm_stripe_offset: 0 lmm_objects: - 0: { l_ost_idx: 0, l_fid: [0x240000400:0x3d1:0x0] } multiop /mnt/lustre/f107b.sanityn vOG14091995_g14091995c TMPPIPE=/tmp/multiop_open_wait_pipe.66946 Grouplock blocks IO First grouplock blocks second one Second grouplock blocks IO PASS 107b (15s) cleanup: ====================================================== == sanityn test complete, duration 610 sec =============== 18:25:58 (1784586358) === sanityn: start cleanup 18:26:00 (1784586360) === Stopping clients: oleg256-client.virtnet /mnt/lustre2 (opts:) Stopping client oleg256-client.virtnet /mnt/lustre2 opts: === sanityn: finish cleanup 18:26:09 (1784586369) ===