== sanity-dom test sanityn: Run sanityn with Data-on-MDT files ========================================================== 11:11:23 (1788361883) 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 oleg157-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 11:11:36 (1788361896) === Starting client oleg157-client.virtnet: -o user_xattr,flock 192.168.201.157@tcp:/lustre /mnt/lustre2 Mount client oleg157-client.virtnet: mount -t lustre -o user_xattr,flock 192.168.201.157@tcp:/lustre /mnt/lustre2 Started clients oleg157-client.virtnet: 192.168.201.157@tcp:/lustre on /mnt/lustre2 type lustre (rw,flock,checksum,encrypt,lazystatfs,lruresize,nolock,statfs_project,nosync_on_close,nouser_fid2path,user_xattr,verbose) oleg157-client.virtnet: executing check_config_client /mnt/lustre oleg157-client.virtnet: Checking config lustre mounted on /mnt/lustre Checking servers environments Checking clients oleg157-client.virtnet environments Using TIMEOUT=20 osc.lustre-OST0000-osc-ffff8e704c356000.idle_timeout=debug osc.lustre-OST0000-osc-ffff8e70737da800.idle_timeout=debug osc.lustre-OST0001-osc-ffff8e704c356000.idle_timeout=debug osc.lustre-OST0001-osc-ffff8e70737da800.idle_timeout=debug disable quota as required oleg157-server: oleg157-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all === sanityn: finish setup 11:11:57 (1788361917) === 1+0 records in 1+0 records out 1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.0242544 s, 43.2 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/f66924] == sanityn test 1: Check attribute updates on 2 mount points ========================================================== 11:11:58 (1788361918) /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 (4s) == sanityn test 2a: check cached attribute updates on 2 mtpt's ================================================================== 11:12:02 (1788361922) -rw-r--r-- 1 root root 0 Sep 2 11:12 /mnt/lustre2/f2a /mnt/lustre/f2a has type file OK /mnt/lustre/f2a has perms 0777 OK PASS 2a (5s) == sanityn test 2b: check cached attribute updates on 2 mtpt's ================================================================== 11:12:07 (1788361927) -rw-r--r-- 1 root root 0 Sep 2 11:12 /mnt/lustre2/f2b /mnt/lustre2/f2b has type file OK /mnt/lustre2/f2b has perms 0777 OK PASS 2b (4s) == sanityn test 2c: check cached attribute updates on 2 mtpt's root ============================================================= 11:12:11 (1788361931) /mnt/lustre2 has type dir OK /mnt/lustre2 has perms 0777 OK PASS 2c (4s) == sanityn test 2d: check cached attribute updates on 2 mtpt's root ============================================================= 11:12:15 (1788361935) /mnt/lustre2 has type dir OK /mnt/lustre2 has perms 0755 OK PASS 2d (4s) == sanityn test 2e: check chmod on root is propagated to others ========================================================== 11:12:19 (1788361939) total 329 -rwxrwxrwx 1 root root 0 Sep 2 11:12 f2a -rwxrwxrwx 1 root root 0 Sep 2 11:12 f2b -rw-r--r-- 1 root root 887712 Sep 2 10:57 ffsx.sanity-dom -rw-r--r-- 1 root root 0 Sep 2 10:56 ffsx.sanity-dom.fsxgood -rw-r--r-- 1 root root 75184 Sep 2 10:57 ffsx.sanity-dom.fsxlog total 329 -rwxrwxrwx 1 root root 0 Sep 2 11:12 f2a -rwxrwxrwx 1 root root 0 Sep 2 11:12 f2b -rw-r--r-- 1 root root 887712 Sep 2 10:57 ffsx.sanity-dom -rw-r--r-- 1 root root 0 Sep 2 10:56 ffsx.sanity-dom.fsxgood -rw-r--r-- 1 root root 75184 Sep 2 10:57 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.00684902 s, 74.8 kB/s PASS 2e (3s) == sanityn test 2f: check attr/owner updates on DNE with 2 mtpt's ========================================================== 11:12:23 (1788361943) SKIP: sanityn test_2f needs >= 2 MDTs SKIP 2f (1s) == sanityn test 2g: check blocks update on sync write ==== 11:12:25 (1788361945) 2+0 records in 2+0 records out 2097152 bytes (2.1 MB, 2.0 MiB) copied, 0.172779 s, 12.1 MB/s /mnt/lustre/f2g.sanityn has 4109 blocks /mnt/lustre2/f2g.sanityn has 4109 blocks PASS 2g (4s) == sanityn test 4: fstat validation on multiple mount points ==================================================================== 11:12:29 (1788361949) PASS 4 (5s) == sanityn test 5: create a file on one mount, truncate it on the other ========================================================== 11:12:34 (1788361954) /mnt/lustre/f5 has type file OK /mnt/lustre/f5 has size 100 OK PASS 5 (4s) == sanityn test 6: remove of open file on other node ============================================================================ 11:12:38 (1788361958) 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 (3s) == sanityn test 7: remove of open directory on other node ======================================================================= 11:12:41 (1788361961) creating directory /mnt/lustre/d7 opening directory unlinking /mnt/lustre/d7 Ok, everything goes well. PASS 7 (4s) == sanityn test 8: remove of open special file on other node ==================================================================== 11:12:45 (1788361965) creating special file /mnt/lustre/f8.sanityn opening file unlinking /mnt/lustre/f8.sanityn Ok, everything goes well. PASS 8 (5s) == sanityn test 9a: append of file with sub-page size on multiple mounts ========================================================== 11:12:50 (1788361970) PASS 9a (4s) == sanityn test 9b: append to striped sparse file ======== 11:12:54 (1788361974) 1+0 records in 1+0 records out 1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.0437755 s, 24.0 MB/s 3+0 records in 3+0 records out 3 bytes copied, 0.0659909 s, 0.0 kB/s Data read (expecting 'foo'): foo PASS 9b (4s) == sanityn test 10a: write of file with sub-page size on multiple mounts ========================================================== 11:12:58 (1788361978) 1+0 records in 1+0 records out 1 byte copied, 0.00872307 s, 0.1 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.00958298 s, 0.1 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.0116705 s, 0.1 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.0126784 s, 0.1 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.00687986 s, 0.1 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.0100984 s, 0.1 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.00601825 s, 0.2 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.0224895 s, 0.0 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.0126188 s, 0.1 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.00481542 s, 0.2 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.00942913 s, 0.1 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.00979958 s, 0.1 kB/s PASS 10a (5s) == sanityn test 10b: write of file with sub-page size on multiple mounts ========================================================== 11:13:03 (1788361983) 1+0 records in 1+0 records out 3072 bytes (3.1 kB, 3.0 KiB) copied, 0.00388283 s, 791 kB/s 1+0 records in 1+0 records out 4096 bytes (4.1 kB, 4.0 KiB) copied, 0.0210851 s, 194 kB/s 1+0 records in 1+0 records out 3072 bytes (3.1 kB, 3.0 KiB) copied, 0.000291982 s, 10.5 MB/s PASS 10b (4s) == sanityn test 11: execution of file opened for write should return error ============================================================== 11:13:07 (1788361987) multiop /mnt/lustre/d11/f vO_c TMPPIPE=/tmp/multiop_open_wait_pipe.66924 /home/green/git/lustre-release/lustre/tests/sanityn.sh: line 298: /mnt/lustre2/d11/f: Text file busy PASS 11 (5s) == sanityn test 12: test lock ordering (link, stat, unlink) ========================================================== 11:13:12 (1788361992) warning: '-runtime' deprecated, use '-t runtime' instead - link 692 (time 1788362003.34 total 10.01 last 69.13) - link 1346 (time 1788362013.36 total 20.03 last 65.24) - link 2169 (time 1788362023.38 total 30.05 last 82.20) - link 2961 (time 1788362033.38 total 40.05 last 79.17) - link 3741 (time 1788362043.39 total 50.06 last 77.91) - link 4240 (time 1788362053.40 total 60.07 last 49.86) - link 4772 (time 1788362063.41 total 70.08 last 53.14) - link 5286 (time 1788362073.42 total 80.09 last 51.36) - link 5755 (time 1788362083.42 total 90.09 last 46.89) total: 6256 link in 100.00 seconds: 62.56 ops/second using seed 1752693673 running for 100 seconds - stat 918 (time 1788362005 ; total 11 ; last 11) - stat 4759 (time 1788362016 ; total 22 ; last 11) - stat 9484 (time 1788362027 ; total 33 ; last 11) - stat 10000 (time 1788362028 ; total 34 ; last 1) - stat 14015 (time 1788362039 ; total 45 ; last 11) - stat 17088 (time 1788362050 ; total 56 ; last 11) - stat 20000 (time 1788362060 ; total 66 ; last 10) - stat 22159 (time 1788362071 ; total 77 ; last 11) - stat 24608 (time 1788362082 ; total 88 ; last 11) - stat 27132 (time 1788362093 ; total 99 ; last 11) total: 27741 stats in 100 seconds: 277.410004 stats/second - unlinked 0 (time 1788362044 ; total 0 ; last 0) unlink(/mnt/lustre2/lockdir/lockfile6256) error: No such file or directory total: 6255 unlinks in 108 seconds: 57.916668 unlinks/second /home/green/git/lustre-release/lustre/tests/lockorder.sh: line 77: kill: (79468) - No such process /home/green/git/lustre-release/lustre/tests/lockorder.sh: line 78: kill: (79470) - No such process PASS 12 (164s) == sanityn test 14aa: execution of file open for write returns -ETXTBSY ========================================================== 11:15:56 (1788362156) multiop /mnt/lustre/d14aa.sanityn/f14aa.sanityn vOw_c TMPPIPE=/tmp/multiop_open_wait_pipe.66924 /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 5070: 80073 Terminated $MULTIOP_PROG $FILE v$ARGS > $TMPPIPE (wd: ~) PASS 14aa (4s) == sanityn test 14ab: open(RDWR) of executing file returns -ETXTBSY ========================================================== 11:16:00 (1788362160) open(O_RDWR|O_CREAT): Text file busy /home/green/git/lustre-release/lustre/tests/test-framework.sh: line 5070: 80651 Terminated $DIR1/$tdir/sleep 60 (wd: ~) PASS 14ab (4s) == sanityn test 14b: truncate of executing file returns -ETXTBSY ================================================================ 11:16:04 (1788362164) 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: 81229 Terminated $DIR1/$tdir/sleep 60 PASS 14b (4s) == sanityn test 14c: open(O_TRUNC) of executing file return -ETXTBSY ============================================================ 11:16:08 (1788362168) cp: cannot create regular file '/mnt/lustre2/d14c.sanityn/sleep': Text file busy /home/green/git/lustre-release/lustre/tests/sanityn.sh: line 360: 81811 Terminated $DIR1/$tdir/sleep 60 PASS 14c (4s) == sanityn test 14d: chmod of executing file is still possible ================================================================== 11:16:12 (1788362172) chmod /home/green/git/lustre-release/lustre/tests/sanityn.sh: line 371: 82392 Terminated $DIR1/$tdir/sleep 60 PASS 14d (6s) == sanityn test 17: resource creation/LVB creation race ========================================================================= 11:16:18 (1788362178) fail_loc=0x8000030a PASS 17 (7s) == sanityn test 19: test concurrent uncached read races ========================================================================= 11:16:25 (1788362185) oleg157-server: error: get_param: param_path 'osd-*/lustre-MDT*/read_cache_enable': No such file or directory pdsh@oleg157-client: oleg157-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 ============================================================== 11:16:28 (1788362188) PASS 20 (4s) == sanityn test 23: others should see updated atime while another read============================================================== 11:16:32 (1788362192) now is 1788362194 starting reads multiop /mnt/lustre/f23.sanityn vor20_c TMPPIPE=/tmp/multiop_open_wait_pipe.66924 new atime is 1788362255 PASS 23 (68s) == sanityn test 27: align non-overlapping extent locks from request ============================================================= 11:17:40 (1788362260) dd 1 started 4+0 records in 4+0 records out 16793600 bytes (17 MB, 16 MiB) copied, 0.579386 s, 29.0 MB/s dd 2 started 1+0 records in 1+0 records out 15728640 bytes (16 MB, 15 MiB) copied, 0.282409 s, 55.7 MB/s 1+0 records in 1+0 records out 8192 bytes (8.2 kB, 8.0 KiB) copied, 0.0303729 s, 270 kB/s dd 3 finished PASS 27 (9s) == sanityn test 39a: file mtime does not change after rename ========================================================== 11:17:50 (1788362270) repeat after cancel_lru_locks PASS 39a (5s) == sanityn test 39b: file mtime the same on clients with/out lock ========================================================== 11:17:55 (1788362275) repeat after cancel_lru_locks PASS 39b (5s) == sanityn test 39c: check truncate mtime update ================================================================================ 11:18:00 (1788362280) repeat after cancel_lru_locks PASS 39c (6s) == sanityn test 39d: sync write should update mtime ====== 11:18:06 (1788362286) fail_loc=0x411 fail_loc=0 PASS 39d (4s) == sanityn test 51a: layout lock: refresh layout should work ========================================================== 11:18:11 (1788362291) 0+1 records in 0+1 records out 158 bytes copied, 0.0182712 s, 8.6 kB/s /home/green/git/lustre-release/lustre/tests/sanityn.sh: line 3690: kill: (88767) - No such process PASS 51a (7s) == sanityn test 51c: layout lock: IT_LAYOUT blocked and correct layout can be returned ========================================================== 11:18:18 (1788362298) 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.0469052 s, 21.8 kB/s PASS 51c (10s) == sanityn test 51d: layout lock: losing layout lock should clean up memory map region ========================================================== 11:18:28 (1788362308) 1+0 records in 1+0 records out 1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.0268702 s, 39.0 MB/s Before revoking layout lock: 1024 KB mapped PASS 51d (6s) == sanityn test 107a: Basic grouplock conflict =========== 11:18:35 (1788362315) 10+0 records in 10+0 records out 10485760 bytes (10 MB, 10 MiB) copied, 0.31313 s, 33.5 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.66924 multiop /mnt/lustre2/f107a.sanityn vO_G16022000r10g16022000c TMPPIPE=/tmp/multiop_open_wait_pipe.66924 First grouplock blocks second one PASS 107a (7s) == sanityn test 107b: Grouplock is added to the head of waiting list ========================================================== 11:18:43 (1788362323) 10+0 records in 10+0 records out 10485760 bytes (10 MB, 10 MiB) copied, 0.283573 s, 37.0 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.66924 Grouplock blocks IO First grouplock blocks second one Second grouplock blocks IO PASS 107b (11s) cleanup: ====================================================== == sanityn test complete, duration 451 sec =============== 11:18:55 (1788362335) === sanityn: start cleanup 11:18:56 (1788362336) === Stopping clients: oleg157-client.virtnet /mnt/lustre2 (opts:) Stopping client oleg157-client.virtnet /mnt/lustre2 opts: === sanityn: finish cleanup 11:19:00 (1788362340) ===