== sanity-dom test sanityn: Run sanityn with Data-on-MDT files ========================================================== 21:19:37 (1788916777) 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 use SANITYN_ONLY='1 2 4 5 6 7 8 9 10 11 12 14 17 19 20 23 27 39 51a 51c 51d 107' SANITYN_EXCEPT='' oleg340-server: ls: cannot access '/home/green/git/lustre-release/lustre/tests/except/sanityn.*ex': No such file or directory only running tests: sanity sanityn 1 2 4 5 6 7 8 9 10 11 12 14 17 19 20 23 27 39 51a 51c 51d 107 excepting tests: 40a skipping tests SLOW=no: 33a === sanityn: start setup 21:20:08 (1788916808) === Starting client oleg340-client.virtnet: -o user_xattr,flock 192.168.203.140@tcp:/lustre /mnt/lustre2 Mount client oleg340-client.virtnet: mount -t lustre -o user_xattr,flock 192.168.203.140@tcp:/lustre /mnt/lustre2 Started clients oleg340-client.virtnet: 192.168.203.140@tcp:/lustre on /mnt/lustre2 type lustre (rw,flock,checksum,encrypt,lazystatfs,lruresize,nolock,statfs_project,nosync_on_close,nouser_fid2path,user_xattr,verbose) oleg340-client.virtnet: executing check_config_client /mnt/lustre oleg340-client.virtnet: Checking config lustre mounted on /mnt/lustre Checking servers environments Checking clients oleg340-client.virtnet environments Using TIMEOUT=20 osc.lustre-OST0000-osc-ffff95af489d3800.idle_timeout=debug osc.lustre-OST0000-osc-ffff95af4bc04000.idle_timeout=debug osc.lustre-OST0001-osc-ffff95af489d3800.idle_timeout=debug osc.lustre-OST0001-osc-ffff95af4bc04000.idle_timeout=debug disable quota as required oleg340-server: oleg340-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all osd-ldiskfs.track_declares_assert=1 === sanityn: finish setup 21:21:00 (1788916860) === 1+0 records in 1+0 records out 1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.0362865 s, 28.9 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/f70676] == sanityn test 1: Check attribute updates on 2 mount points ========================================================== 21:21:02 (1788916862) /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 ================================================================== 21:21:09 (1788916869) -rw-r--r-- 1 root root 0 Sep 8 21:21 /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 ================================================================== 21:21:16 (1788916876) -rw-r--r-- 1 root root 0 Sep 8 21:21 /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 ============================================================= 21:21:23 (1788916883) /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 ============================================================= 21:21:30 (1788916890) /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 ========================================================== 21:21:35 (1788916895) total 0 -rwxrwxrwx 1 root root 0 Sep 8 21:21 f2a -rwxrwxrwx 1 root root 0 Sep 8 21:21 f2b total 0 -rwxrwxrwx 1 root root 0 Sep 8 21:21 f2a -rwxrwxrwx 1 root root 0 Sep 8 21:21 f2b 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.0104573 s, 49.0 kB/s PASS 2e (7s) == sanityn test 2f: check attr/owner updates on DNE with 2 mtpt's ========================================================== 21:21:42 (1788916902) /mnt/lustre2/d2f.sanityn/remote_dir/f2f.sanityn has type file OK /mnt/lustre2/d2f.sanityn/remote_dir/f2f.sanityn has perms 0777 OK /mnt/lustre2/d2f.sanityn/remote_dir/f2f.sanityn is owned by user #500 OK /mnt/lustre2/d2f.sanityn/remote_dir/f2f.sanityn is owned by group #500 OK Can't lstat /mnt/lustre2/d2f.sanityn/remote_dir/f2f.sanityn: No such file or directory PASS 2f (6s) == sanityn test 2g: check blocks update on sync write ==== 21:21:48 (1788916908) 2+0 records in 2+0 records out 2097152 bytes (2.1 MB, 2.0 MiB) copied, 0.221259 s, 9.5 MB/s /mnt/lustre/f2g.sanityn has 4096 blocks /mnt/lustre2/f2g.sanityn has 4096 blocks PASS 2g (6s) == sanityn test 4: fstat validation on multiple mount points ==================================================================== 21:21:54 (1788916914) PASS 4 (7s) == sanityn test 5: create a file on one mount, truncate it on the other ========================================================== 21:22:01 (1788916921) /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 ============================================================================ 21:22:07 (1788916927) 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 ======================================================================= 21:22:13 (1788916933) creating directory /mnt/lustre/d7 opening directory unlinking /mnt/lustre/d7 Ok, everything goes well. PASS 7 (5s) == sanityn test 8: remove of open special file on other node ==================================================================== 21:22:18 (1788916938) 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 ========================================================== 21:22:24 (1788916944) PASS 9a (8s) == sanityn test 9b: append to striped sparse file ======== 21:22:32 (1788916952) 1+0 records in 1+0 records out 1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.0407069 s, 25.8 MB/s 3+0 records in 3+0 records out 3 bytes copied, 0.0793279 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 ========================================================== 21:22:40 (1788916960) 1+0 records in 1+0 records out 1 byte copied, 0.00889068 s, 0.1 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.011887 s, 0.1 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.0138377 s, 0.1 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.0156907 s, 0.1 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.0145532 s, 0.1 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.0125545 s, 0.1 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.0105122 s, 0.1 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.0108188 s, 0.1 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.0132666 s, 0.1 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.0105329 s, 0.1 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.0422591 s, 0.0 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.0193268 s, 0.1 kB/s PASS 10a (9s) == sanityn test 10b: write of file with sub-page size on multiple mounts ========================================================== 21:22:49 (1788916969) 1+0 records in 1+0 records out 3072 bytes (3.1 kB, 3.0 KiB) copied, 0.0112916 s, 272 kB/s 1+0 records in 1+0 records out 4096 bytes (4.1 kB, 4.0 KiB) copied, 0.0641161 s, 63.9 kB/s 1+0 records in 1+0 records out 3072 bytes (3.1 kB, 3.0 KiB) copied, 0.00109984 s, 2.8 MB/s PASS 10b (6s) == sanityn test 11: execution of file opened for write should return error ============================================================== 21:22:56 (1788916976) striped dir -i1 -c2 -H all_char /mnt/lustre/d11 multiop /mnt/lustre/d11/f vO_c TMPPIPE=/tmp/multiop_open_wait_pipe.70676 /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) ========================================================== 21:23:03 (1788916983) warning: '-runtime' deprecated, use '-t runtime' instead - link 365 (time 1788916996.42 total 10.02 last 36.42) - link 844 (time 1788917006.43 total 20.03 last 47.84) - link 1352 (time 1788917016.44 total 30.04 last 50.78) - link 1838 (time 1788917026.44 total 40.04 last 48.56) - link 2330 (time 1788917036.47 total 50.07 last 49.06) - link 2660 (time 1788917046.51 total 60.11 last 32.87) - link 3008 (time 1788917056.53 total 70.14 last 34.72) - link 3337 (time 1788917066.55 total 80.15 last 32.84) - link 3672 (time 1788917076.60 total 90.21 last 33.33) total: 4015 link in 100.03 seconds: 40.14 ops/second using seed 2922285822 running for 100 seconds - stat 650 (time 1788916998 ; total 11 ; last 11) - stat 7350 (time 1788917009 ; total 22 ; last 11) - stat 10000 (time 1788917012 ; total 25 ; last 3) - stat 16470 (time 1788917023 ; total 36 ; last 11) - stat 20000 (time 1788917029 ; total 42 ; last 6) - stat 24824 (time 1788917040 ; total 53 ; last 11) - stat 27733 (time 1788917051 ; total 64 ; last 11) - stat 30000 (time 1788917058 ; total 71 ; last 7) - stat 32592 (time 1788917069 ; total 82 ; last 11) - stat 35584 (time 1788917080 ; total 93 ; last 11) total: 37453 stats in 100 seconds: 374.529999 stats/second - unlinked 0 (time 1788917037 ; total 0 ; last 0) unlink(/mnt/lustre2/lockdir/lockfile4015) error: No such file or directory total: 4014 unlinks in 92 seconds: 43.630436 unlinks/second /home/green/git/lustre-release/lustre/tests/lockorder.sh: line 77: kill: (84031) - No such process /home/green/git/lustre-release/lustre/tests/lockorder.sh: line 78: kill: (84033) - No such process PASS 12 (151s) == sanityn test 14aa: execution of file open for write returns -ETXTBSY ========================================================== 21:25:34 (1788917134) striped dir -i0 -c2 -H crush2 /mnt/lustre/d14aa.sanityn multiop /mnt/lustre/d14aa.sanityn/f14aa.sanityn vOw_c TMPPIPE=/tmp/multiop_open_wait_pipe.70676 /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 5091: 84647 Terminated $MULTIOP_PROG $FILE v$ARGS > $TMPPIPE (wd: ~) PASS 14aa (6s) == sanityn test 14ab: open(RDWR) of executing file returns -ETXTBSY ========================================================== 21:25:40 (1788917140) striped dir -i0 -c2 -H fnv_1a_64 /mnt/lustre/d14ab.sanityn open(O_RDWR|O_CREAT): Text file busy /home/green/git/lustre-release/lustre/tests/test-framework.sh: line 5091: 85238 Terminated $DIR1/$tdir/sleep 60 (wd: ~) PASS 14ab (5s) == sanityn test 14b: truncate of executing file returns -ETXTBSY ================================================================ 21:25:45 (1788917145) striped dir -i0 -c2 -H crush2 /mnt/lustre/d14b.sanityn 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: 85828 Terminated $DIR1/$tdir/sleep 60 PASS 14b (6s) == sanityn test 14c: open(O_TRUNC) of executing file return -ETXTBSY ============================================================ 21:25:51 (1788917151) striped dir -i0 -c2 -H crush2 /mnt/lustre/d14c.sanityn cp: cannot create regular file '/mnt/lustre2/d14c.sanityn/sleep': Text file busy /home/green/git/lustre-release/lustre/tests/sanityn.sh: line 360: 86422 Terminated $DIR1/$tdir/sleep 60 PASS 14c (5s) == sanityn test 14d: chmod of executing file is still possible ================================================================== 21:25:56 (1788917156) striped dir -i0 -c2 -H all_char /mnt/lustre/d14d.sanityn chmod /home/green/git/lustre-release/lustre/tests/sanityn.sh: line 371: 87015 Terminated $DIR1/$tdir/sleep 60 PASS 14d (5s) == sanityn test 17: resource creation/LVB creation race ========================================================================= 21:26:01 (1788917161) fail_loc=0x8000030a PASS 17 (8s) == sanityn test 19: test concurrent uncached read races ========================================================================= 21:26:09 (1788917169) 32+0 records in 32+0 records out 16777216 bytes (17 MB, 16 MiB) copied, 0.237373 s, 70.7 MB/s loop 5 loop 10 loop 15 loop 20 PASS 19 (17s) == sanityn test 20: test extra readahead page left in cache ============================================================== 21:26:26 (1788917186) striped dir -i0 -c2 -H crush2 /mnt/lustre/d20.sanityn PASS 20 (4s) == sanityn test 23: others should see updated atime while another read============================================================== 21:26:30 (1788917190) now is 1788917192 starting reads multiop /mnt/lustre/f23.sanityn vor20_c TMPPIPE=/tmp/multiop_open_wait_pipe.70676 new atime is 1788917253 PASS 23 (67s) == sanityn test 27: align non-overlapping extent locks from request ============================================================= 21:27:37 (1788917257) 4+0 records in 4+0 records out 16793600 bytes (17 MB, 16 MiB) copied, 0.322344 s, 52.1 MB/s dd 1 started dd 2 started 1+0 records in 1+0 records out 15728640 bytes (16 MB, 15 MiB) copied, 0.298749 s, 52.6 MB/s 1+0 records in 1+0 records out 8192 bytes (8.2 kB, 8.0 KiB) copied, 0.0378918 s, 216 kB/s dd 3 finished PASS 27 (10s) == sanityn test 39a: file mtime does not change after rename ========================================================== 21:27:48 (1788917268) repeat after cancel_lru_locks PASS 39a (5s) == sanityn test 39b: file mtime the same on clients with/out lock ========================================================== 21:27:53 (1788917273) repeat after cancel_lru_locks PASS 39b (6s) == sanityn test 39c: check truncate mtime update ================================================================================ 21:27:59 (1788917279) repeat after cancel_lru_locks PASS 39c (5s) == sanityn test 39d: sync write should update mtime ====== 21:28:05 (1788917285) fail_loc=0x411 fail_loc=0 PASS 39d (5s) == sanityn test 51a: layout lock: refresh layout should work ========================================================== 21:28:10 (1788917290) 0+1 records in 0+1 records out 158 bytes copied, 0.0294056 s, 5.4 kB/s /home/green/git/lustre-release/lustre/tests/sanityn.sh: line 3690: kill: (94696) - No such process PASS 51a (7s) == sanityn test 51c: layout lock: IT_LAYOUT blocked and correct layout can be returned ========================================================== 21:28:17 (1788917297) 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.0335285 s, 30.5 kB/s PASS 51c (10s) == sanityn test 51d: layout lock: losing layout lock should clean up memory map region ========================================================== 21:28:27 (1788917307) 1+0 records in 1+0 records out 1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.043074 s, 24.3 MB/s Before revoking layout lock: 1024 KB mapped PASS 51d (6s) == sanityn test 107a: Basic grouplock conflict =========== 21:28:34 (1788917314) 10+0 records in 10+0 records out 10485760 bytes (10 MB, 10 MiB) copied, 0.379035 s, 27.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: [0x2c0000401:0x1f2:0x0] } multiop /mnt/lustre/f107a.sanityn vOG14091995_g14091995c TMPPIPE=/tmp/multiop_open_wait_pipe.70676 multiop /mnt/lustre2/f107a.sanityn vO_G16022000r10g16022000c TMPPIPE=/tmp/multiop_open_wait_pipe.70676 First grouplock blocks second one PASS 107a (8s) == sanityn test 107b: Grouplock is added to the head of waiting list ========================================================== 21:28:41 (1788917321) 10+0 records in 10+0 records out 10485760 bytes (10 MB, 10 MiB) copied, 0.30881 s, 34.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: [0x280000401:0x1f3:0x0] } multiop /mnt/lustre/f107b.sanityn vOG14091995_g14091995c TMPPIPE=/tmp/multiop_open_wait_pipe.70676 Grouplock blocks IO First grouplock blocks second one Second grouplock blocks IO PASS 107b (11s) cleanup: ====================================================== == sanityn test complete, duration 555 sec =============== 21:28:54 (1788917334) === sanityn: start cleanup 21:28:55 (1788917335) === Stopping clients: oleg340-client.virtnet /mnt/lustre2 (opts:) Stopping client oleg340-client.virtnet /mnt/lustre2 opts: === sanityn: finish cleanup 21:29:00 (1788917340) ===