== sanity-dom test sanityn: Run sanityn with Data-on-MDT files ========================================================== 00:09:51 (1789186191) 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 oleg326-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 00:10:05 (1789186205) === Starting client oleg326-client.virtnet: -o user_xattr,flock 192.168.203.126@tcp:/lustre /mnt/lustre2 Mount client oleg326-client.virtnet: mount -t lustre -o user_xattr,flock 192.168.203.126@tcp:/lustre /mnt/lustre2 Started clients oleg326-client.virtnet: 192.168.203.126@tcp:/lustre on /mnt/lustre2 type lustre (rw,flock,checksum,encrypt,lazystatfs,lruresize,nolock,statfs_project,nosync_on_close,nouser_fid2path,user_xattr,verbose) oleg326-client.virtnet: executing check_config_client /mnt/lustre oleg326-client.virtnet: Checking config lustre mounted on /mnt/lustre Checking servers environments Checking clients oleg326-client.virtnet environments Using TIMEOUT=20 osc.lustre-OST0000-osc-ffff9dbe104aa800.idle_timeout=debug osc.lustre-OST0000-osc-ffff9dbe1072c000.idle_timeout=debug osc.lustre-OST0001-osc-ffff9dbe104aa800.idle_timeout=debug osc.lustre-OST0001-osc-ffff9dbe1072c000.idle_timeout=debug disable quota as required oleg326-server: oleg326-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all === sanityn: finish setup 00:10:28 (1789186228) === 1+0 records in 1+0 records out 1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.0295966 s, 35.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/f68444] == sanityn test 1: Check attribute updates on 2 mount points ========================================================== 00:10:30 (1789186230) /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 ================================================================== 00:10:34 (1789186234) -rw-r--r-- 1 root root 0 Sep 12 00:10 /mnt/lustre2/f2a /mnt/lustre/f2a has type file OK /mnt/lustre/f2a has perms 0777 OK PASS 2a (4s) == sanityn test 2b: check cached attribute updates on 2 mtpt's ================================================================== 00:10:39 (1789186239) -rw-r--r-- 1 root root 0 Sep 12 00:10 /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 ============================================================= 00:10:43 (1789186243) /mnt/lustre2 has type dir OK /mnt/lustre2 has perms 0777 OK PASS 2c (5s) == sanityn test 2d: check cached attribute updates on 2 mtpt's root ============================================================= 00:10:48 (1789186248) /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 ========================================================== 00:10:53 (1789186253) total 780 -rwxrwxrwx 1 root root 0 Sep 12 00:10 f2a -rwxrwxrwx 1 root root 0 Sep 12 00:10 f2b -rw-r--r-- 1 root root 1864313 Sep 11 23:51 ffsx.sanity-dom -rw-r--r-- 1 root root 0 Sep 11 23:50 ffsx.sanity-dom.fsxgood -rw-r--r-- 1 root root 84338 Sep 11 23:51 ffsx.sanity-dom.fsxlog total 780 -rwxrwxrwx 1 root root 0 Sep 12 00:10 f2a -rwxrwxrwx 1 root root 0 Sep 12 00:10 f2b -rw-r--r-- 1 root root 1864313 Sep 11 23:51 ffsx.sanity-dom -rw-r--r-- 1 root root 0 Sep 11 23:50 ffsx.sanity-dom.fsxgood -rw-r--r-- 1 root root 84338 Sep 11 23:51 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.0130035 s, 39.4 kB/s PASS 2e (4s) == sanityn test 2f: check attr/owner updates on DNE with 2 mtpt's ========================================================== 00:10:57 (1789186257) SKIP: sanityn test_2f needs >= 2 MDTs SKIP 2f (3s) == sanityn test 2g: check blocks update on sync write ==== 00:11:00 (1789186260) 2+0 records in 2+0 records out 2097152 bytes (2.1 MB, 2.0 MiB) copied, 0.252843 s, 8.3 MB/s /mnt/lustre/f2g.sanityn has 4109 blocks /mnt/lustre2/f2g.sanityn has 4109 blocks PASS 2g (5s) == sanityn test 4: fstat validation on multiple mount points ==================================================================== 00:11:05 (1789186265) PASS 4 (5s) == sanityn test 5: create a file on one mount, truncate it on the other ========================================================== 00:11:10 (1789186270) /mnt/lustre/f5 has type file OK /mnt/lustre/f5 has size 100 OK PASS 5 (5s) == sanityn test 6: remove of open file on other node ============================================================================ 00:11:15 (1789186275) 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 (4s) == sanityn test 7: remove of open directory on other node ======================================================================= 00:11:19 (1789186279) 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 ==================================================================== 00:11:23 (1789186283) 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 ========================================================== 00:11:28 (1789186288) PASS 9a (5s) == sanityn test 9b: append to striped sparse file ======== 00:11:33 (1789186293) 1+0 records in 1+0 records out 1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.0363071 s, 28.9 MB/s 3+0 records in 3+0 records out 3 bytes copied, 0.0648776 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 ========================================================== 00:11:37 (1789186297) 1+0 records in 1+0 records out 1 byte copied, 0.00428188 s, 0.2 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.00457025 s, 0.2 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.00666037 s, 0.2 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.00761689 s, 0.1 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.00643095 s, 0.2 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.00580833 s, 0.2 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.00528035 s, 0.2 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.00794725 s, 0.1 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.00854862 s, 0.1 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.00715747 s, 0.1 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.00881867 s, 0.1 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.00926827 s, 0.1 kB/s PASS 10a (5s) == sanityn test 10b: write of file with sub-page size on multiple mounts ========================================================== 00:11:42 (1789186302) 1+0 records in 1+0 records out 3072 bytes (3.1 kB, 3.0 KiB) copied, 0.00456232 s, 673 kB/s 1+0 records in 1+0 records out 4096 bytes (4.1 kB, 4.0 KiB) copied, 0.0337648 s, 121 kB/s 1+0 records in 1+0 records out 3072 bytes (3.1 kB, 3.0 KiB) copied, 0.000250246 s, 12.3 MB/s PASS 10b (4s) == sanityn test 11: execution of file opened for write should return error ============================================================== 00:11:46 (1789186306) multiop /mnt/lustre/d11/f vO_c TMPPIPE=/tmp/multiop_open_wait_pipe.68444 /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) ========================================================== 00:11:51 (1789186311) warning: '-runtime' deprecated, use '-t runtime' instead - link 606 (time 1789186322.41 total 10.00 last 60.60) - link 1411 (time 1789186332.42 total 20.01 last 80.44) - link 2182 (time 1789186342.42 total 30.01 last 77.07) - link 2998 (time 1789186352.43 total 40.02 last 81.54) - link 3645 (time 1789186362.43 total 50.02 last 64.70) - link 4173 (time 1789186372.44 total 60.03 last 52.75) - link 4671 (time 1789186382.46 total 70.05 last 49.72) - link 5219 (time 1789186392.46 total 80.05 last 54.80) - link 5794 (time 1789186402.47 total 90.06 last 57.42) total: 6492 link in 100.00 seconds: 64.92 ops/second using seed 2906431211 running for 100 seconds - stat 776 (time 1789186324 ; total 11 ; last 11) - stat 4917 (time 1789186335 ; total 22 ; last 11) - stat 8673 (time 1789186346 ; total 33 ; last 11) - stat 10000 (time 1789186349 ; total 36 ; last 3) - stat 13721 (time 1789186360 ; total 47 ; last 11) - stat 16246 (time 1789186371 ; total 58 ; last 11) - stat 18627 (time 1789186382 ; total 69 ; last 11) - stat 20000 (time 1789186387 ; total 74 ; last 5) - stat 22036 (time 1789186398 ; total 85 ; last 11) - stat 24123 (time 1789186409 ; total 96 ; last 11) total: 25260 stats in 100 seconds: 252.600006 stats/second - unlinked 0 (time 1789186363 ; total 0 ; last 0) unlink(/mnt/lustre2/lockdir/lockfile6492) error: No such file or directory total: 6491 unlinks in 102 seconds: 63.637257 unlinks/second /home/green/git/lustre-release/lustre/tests/lockorder.sh: line 77: kill: (80989) - No such process /home/green/git/lustre-release/lustre/tests/lockorder.sh: line 78: kill: (80991) - No such process PASS 12 (157s) == sanityn test 14aa: execution of file open for write returns -ETXTBSY ========================================================== 00:14:28 (1789186468) multiop /mnt/lustre/d14aa.sanityn/f14aa.sanityn vOw_c TMPPIPE=/tmp/multiop_open_wait_pipe.68444 /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 5116: 81593 Terminated $MULTIOP_PROG $FILE v$ARGS > $TMPPIPE (wd: ~) PASS 14aa (4s) == sanityn test 14ab: open(RDWR) of executing file returns -ETXTBSY ========================================================== 00:14:32 (1789186472) open(O_RDWR|O_CREAT): Text file busy /home/green/git/lustre-release/lustre/tests/test-framework.sh: line 5116: 82173 Terminated $DIR1/$tdir/sleep 60 (wd: ~) PASS 14ab (4s) == sanityn test 14b: truncate of executing file returns -ETXTBSY ================================================================ 00:14:36 (1789186476) 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: 82752 Terminated $DIR1/$tdir/sleep 60 PASS 14b (5s) == sanityn test 14c: open(O_TRUNC) of executing file return -ETXTBSY ============================================================ 00:14:41 (1789186481) cp: cannot create regular file '/mnt/lustre2/d14c.sanityn/sleep': Text file busy /home/green/git/lustre-release/lustre/tests/sanityn.sh: line 360: 83333 Terminated $DIR1/$tdir/sleep 60 PASS 14c (4s) == sanityn test 14d: chmod of executing file is still possible ================================================================== 00:14:45 (1789186485) chmod /home/green/git/lustre-release/lustre/tests/sanityn.sh: line 371: 83915 Terminated $DIR1/$tdir/sleep 60 PASS 14d (6s) == sanityn test 17: resource creation/LVB creation race ========================================================================= 00:14:51 (1789186491) fail_loc=0x8000030a PASS 17 (7s) == sanityn test 19: test concurrent uncached read races ========================================================================= 00:14:58 (1789186498) oleg326-server: error: get_param: param_path 'osd-*/lustre-MDT*/read_cache_enable': No such file or directory pdsh@oleg326-client: oleg326-server: ssh exited with exit code 2 SKIP: sanityn test_19 not cache-capable obdfilter SKIP 19 (2s) == sanityn test 20: test extra readahead page left in cache ============================================================== 00:15:00 (1789186500) PASS 20 (4s) == sanityn test 23: others should see updated atime while another read============================================================== 00:15:05 (1789186505) now is 1789186506 starting reads multiop /mnt/lustre/f23.sanityn vor20_c TMPPIPE=/tmp/multiop_open_wait_pipe.68444 new atime is 1789186567 PASS 23 (66s) == sanityn test 27: align non-overlapping extent locks from request ============================================================= 00:16:10 (1789186570) dd 1 started 4+0 records in 4+0 records out 16793600 bytes (17 MB, 16 MiB) copied, 0.494659 s, 33.9 MB/s dd 2 started 1+0 records in 1+0 records out 15728640 bytes (16 MB, 15 MiB) copied, 0.463112 s, 34.0 MB/s 1+0 records in 1+0 records out 8192 bytes (8.2 kB, 8.0 KiB) copied, 0.0243191 s, 337 kB/s dd 3 finished PASS 27 (9s) == sanityn test 39a: file mtime does not change after rename ========================================================== 00:16:19 (1789186579) repeat after cancel_lru_locks PASS 39a (4s) == sanityn test 39b: file mtime the same on clients with/out lock ========================================================== 00:16:23 (1789186583) repeat after cancel_lru_locks PASS 39b (6s) == sanityn test 39c: check truncate mtime update ================================================================================ 00:16:29 (1789186589) repeat after cancel_lru_locks PASS 39c (5s) == sanityn test 39d: sync write should update mtime ====== 00:16:34 (1789186594) fail_loc=0x411 fail_loc=0 PASS 39d (4s) == sanityn test 51a: layout lock: refresh layout should work ========================================================== 00:16:39 (1789186599) 0+1 records in 0+1 records out 158 bytes copied, 0.0115594 s, 13.7 kB/s /home/green/git/lustre-release/lustre/tests/sanityn.sh: line 3690: kill: (90285) - No such process PASS 51a (6s) == sanityn test 51c: layout lock: IT_LAYOUT blocked and correct layout can be returned ========================================================== 00:16:45 (1789186605) 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.0408835 s, 25.0 kB/s PASS 51c (9s) == sanityn test 51d: layout lock: losing layout lock should clean up memory map region ========================================================== 00:16:54 (1789186614) 1+0 records in 1+0 records out 1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.0318228 s, 33.0 MB/s Before revoking layout lock: 1024 KB mapped PASS 51d (6s) == sanityn test 107a: Basic grouplock conflict =========== 00:17:00 (1789186620) 10+0 records in 10+0 records out 10485760 bytes (10 MB, 10 MiB) copied, 0.196122 s, 53.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:0x3cf:0x0] } multiop /mnt/lustre/f107a.sanityn vOG14091995_g14091995c TMPPIPE=/tmp/multiop_open_wait_pipe.68444 multiop /mnt/lustre2/f107a.sanityn vO_G16022000r10g16022000c TMPPIPE=/tmp/multiop_open_wait_pipe.68444 First grouplock blocks second one PASS 107a (6s) == sanityn test 107b: Grouplock is added to the head of waiting list ========================================================== 00:17:06 (1789186626) 10+0 records in 10+0 records out 10485760 bytes (10 MB, 10 MiB) copied, 0.235286 s, 44.6 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:0x3d2:0x0] } multiop /mnt/lustre/f107b.sanityn vOG14091995_g14091995c TMPPIPE=/tmp/multiop_open_wait_pipe.68444 Grouplock blocks IO First grouplock blocks second one Second grouplock blocks IO PASS 107b (11s) cleanup: ====================================================== == sanityn test complete, duration 446 sec =============== 00:17:18 (1789186638) === sanityn: start cleanup 00:17:19 (1789186639) === Stopping clients: oleg326-client.virtnet /mnt/lustre2 (opts:) Stopping client oleg326-client.virtnet /mnt/lustre2 opts: === sanityn: finish cleanup 00:17:23 (1789186643) ===