== sanity-dom test sanityn: Run sanityn with Data-on-MDT files ========================================================== 02:20:32 (1733642432) mgs: CentOS Linux release 7.9.2009 (Core) MGS_OS_VERSION_ID=7 MGS_OS_ID=centos MGS_OS_VERSION_CODE=117440512 MGS_OS_ID_LIKE=rhel fedora centos mds1: CentOS Linux release 7.9.2009 (Core) MDS1_OS_ID_LIKE=rhel fedora centos MDS1_OS_ID=centos MDS1_OS_VERSION_ID=7 MDS1_OS_VERSION_CODE=117440512 ost1: CentOS Linux release 7.9.2009 (Core) OST1_OS_VERSION_CODE=117440512 OST1_OS_VERSION_ID=7 OST1_OS_ID_LIKE=rhel fedora centos OST1_OS_ID=centos client: CentOS Linux release 7.9.2009 (Core) CLIENT_OS_ID=centos CLIENT_OS_ID_LIKE=rhel fedora centos CLIENT_OS_VERSION_CODE=117440512 CLIENT_OS_VERSION_ID=7 oleg131-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 === sanityn: start setup 02:20:37 (1733642437) === Starting client oleg131-client.virtnet: -o user_xattr,flock 192.168.201.131@tcp:/lustre /mnt/lustre2 Started clients oleg131-client.virtnet: 192.168.201.131@tcp:/lustre on /mnt/lustre2 type lustre (rw,checksum,flock,user_xattr,lruresize,lazystatfs,nouser_fid2path,verbose,noencrypt,statfs_project) oleg131-client.virtnet: executing check_config_client /mnt/lustre oleg131-client.virtnet: Checking config lustre mounted on /mnt/lustre Checking servers environments Checking clients oleg131-client.virtnet environments Using TIMEOUT=20 osc.lustre-OST0000-osc-ffff8800a8c9b800.idle_timeout=debug osc.lustre-OST0000-osc-ffff8800a92c2000.idle_timeout=debug osc.lustre-OST0001-osc-ffff8800a8c9b800.idle_timeout=debug osc.lustre-OST0001-osc-ffff8800a92c2000.idle_timeout=debug disable quota as required oleg131-server: oleg131-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all === sanityn: finish setup 02:20:44 (1733642444) === 1+0 records in 1+0 records out 1048576 bytes (1.0 MB) copied, 0.010354 s, 101 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/f4493] == sanityn test 1: Check attribute updates on 2 mount points ========================================================== 02:20:45 (1733642445) /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 (1s) == sanityn test 2a: check cached attribute updates on 2 mtpt's ================================================================== 02:20:46 (1733642446) -rw-r--r-- 1 root root 0 Dec 8 02:20 /mnt/lustre2/f2a /mnt/lustre/f2a has type file OK /mnt/lustre/f2a has perms 0777 OK PASS 2a (2s) == sanityn test 2b: check cached attribute updates on 2 mtpt's ================================================================== 02:20:48 (1733642448) -rw-r--r-- 1 root root 0 Dec 8 02:20 /mnt/lustre2/f2b /mnt/lustre2/f2b has type file OK /mnt/lustre2/f2b has perms 0777 OK PASS 2b (1s) == sanityn test 2c: check cached attribute updates on 2 mtpt's root ============================================================= 02:20:49 (1733642449) /mnt/lustre2 has type dir OK /mnt/lustre2 has perms 0777 OK PASS 2c (2s) == sanityn test 2d: check cached attribute updates on 2 mtpt's root ============================================================= 02:20:51 (1733642451) /mnt/lustre2 has type dir OK /mnt/lustre2 has perms 0755 OK PASS 2d (1s) == sanityn test 2e: check chmod on root is propagated to others ========================================================== 02:20:52 (1733642452) total 707 -rwxrwxrwx 1 root root 0 Dec 8 02:20 f2a -rwxrwxrwx 1 root root 0 Dec 8 02:20 f2b -rw-r--r-- 1 root root 1974954 Dec 8 02:14 ffsx.sanity-dom -rw-r--r-- 1 root root 0 Dec 8 02:14 ffsx.sanity-dom.fsxgood -rw-r--r-- 1 root root 75568 Dec 8 02:14 ffsx.sanity-dom.fsxlog total 707 -rwxrwxrwx 1 root root 0 Dec 8 02:20 f2a -rwxrwxrwx 1 root root 0 Dec 8 02:20 f2b -rw-r--r-- 1 root root 1974954 Dec 8 02:14 ffsx.sanity-dom -rw-r--r-- 1 root root 0 Dec 8 02:14 ffsx.sanity-dom.fsxgood -rw-r--r-- 1 root root 75568 Dec 8 02:14 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 (512 B) copied, 0.00167892 s, 305 kB/s PASS 2e (2s) == sanityn test 2f: check attr/owner updates on DNE with 2 mtpt's ========================================================== 02:20:54 (1733642454) SKIP: sanityn test_2f needs >= 2 MDTs SKIP 2f (0s) == sanityn test 2g: check blocks update on sync write ==== 02:20:54 (1733642454) 2+0 records in 2+0 records out 2097152 bytes (2.1 MB) copied, 0.0688205 s, 30.5 MB/s /mnt/lustre/f2g.sanityn has 4113 blocks /mnt/lustre2/f2g.sanityn has 4113 blocks PASS 2g (2s) == sanityn test 4: fstat validation on multiple mount points ==================================================================== 02:20:56 (1733642456) PASS 4 (2s) == sanityn test 5: create a file on one mount, truncate it on the other ========================================================== 02:20:58 (1733642458) /mnt/lustre/f5 has type file OK /mnt/lustre/f5 has size 100 OK PASS 5 (2s) == sanityn test 6: remove of open file on other node ============================================================================ 02:21:00 (1733642460) 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 (1s) == sanityn test 7: remove of open directory on other node ======================================================================= 02:21:01 (1733642461) creating directory /mnt/lustre/d7 opening directory unlinking /mnt/lustre/d7 Ok, everything goes well. PASS 7 (1s) == sanityn test 8: remove of open special file on other node ==================================================================== 02:21:02 (1733642462) creating special file /mnt/lustre/f8.sanityn opening file unlinking /mnt/lustre/f8.sanityn Ok, everything goes well. PASS 8 (2s) == sanityn test 9a: append of file with sub-page size on multiple mounts ========================================================== 02:21:04 (1733642464) PASS 9a (1s) == sanityn test 9b: append to striped sparse file ======== 02:21:05 (1733642465) 1+0 records in 1+0 records out 1048576 bytes (1.0 MB) copied, 0.0101047 s, 104 MB/s 3+0 records in 3+0 records out 3 bytes (3 B) copied, 0.00804333 s, 0.4 kB/s Data read (expecting 'foo'): foo PASS 9b (2s) == sanityn test 10a: write of file with sub-page size on multiple mounts ========================================================== 02:21:07 (1733642467) 1+0 records in 1+0 records out 1 byte (1 B) copied, 0.00125282 s, 0.8 kB/s 1+0 records in 1+0 records out 1 byte (1 B) copied, 0.00205851 s, 0.5 kB/s 1+0 records in 1+0 records out 1 byte (1 B) copied, 0.0020504 s, 0.5 kB/s 1+0 records in 1+0 records out 1 byte (1 B) copied, 0.00196016 s, 0.5 kB/s 1+0 records in 1+0 records out 1 byte (1 B) copied, 0.00230699 s, 0.4 kB/s 1+0 records in 1+0 records out 1 byte (1 B) copied, 0.00195645 s, 0.5 kB/s 1+0 records in 1+0 records out 1 byte (1 B) copied, 0.00182931 s, 0.5 kB/s 1+0 records in 1+0 records out 1 byte (1 B) copied, 0.0021523 s, 0.5 kB/s 1+0 records in 1+0 records out 1 byte (1 B) copied, 0.00221068 s, 0.5 kB/s 1+0 records in 1+0 records out 1 byte (1 B) copied, 0.00228244 s, 0.4 kB/s 1+0 records in 1+0 records out 1 byte (1 B) copied, 0.00214873 s, 0.5 kB/s 1+0 records in 1+0 records out 1 byte (1 B) copied, 0.00215627 s, 0.5 kB/s PASS 10a (1s) == sanityn test 10b: write of file with sub-page size on multiple mounts ========================================================== 02:21:08 (1733642468) 1+0 records in 1+0 records out 3072 bytes (3.1 kB) copied, 0.00126966 s, 2.4 MB/s 1+0 records in 1+0 records out 4096 bytes (4.1 kB) copied, 0.00657442 s, 623 kB/s 1+0 records in 1+0 records out 3072 bytes (3.1 kB) copied, 0.00021616 s, 14.2 MB/s PASS 10b (2s) == sanityn test 11: execution of file opened for write should return error ============================================================== 02:21:10 (1733642470) multiop /mnt/lustre/d11/f vO_c TMPPIPE=/tmp/multiop_open_wait_pipe.4493 /home/green/git/lustre-release/lustre/tests/sanityn.sh: line 301: /mnt/lustre2/d11/f: Text file busy PASS 11 (1s) == sanityn test 12: test lock ordering (link, stat, unlink) ========================================================== 02:21:11 (1733642471) warning: '-runtime' deprecated, use '-t runtime' instead - link 3350 (time 1733642482.22 total 10.00 last 334.94) - link 8106 (time 1733642492.22 total 20.00 last 475.53) - link 10000 (time 1733642496.05 total 23.84 last 494.10) - link 14945 (time 1733642506.05 total 33.84 last 494.44) - link 20000 (time 1733642515.99 total 43.77 last 508.83) - link 24696 (time 1733642525.99 total 53.77 last 469.54) - link 28053 (time 1733642535.99 total 63.78 last 335.65) - link 30000 (time 1733642541.44 total 69.22 last 357.52) - link 33661 (time 1733642551.44 total 79.22 last 366.03) - link 37397 (time 1733642561.44 total 89.22 last 373.54) - link 40000 (time 1733642568.60 total 96.38 last 363.67) total: 41292 link in 100.00 seconds: 412.92 ops/second using seed 897620556 running for 100 seconds - stat 3977 (time 1733642484 ; total 11 ; last 11) - stat 10000 (time 1733642490 ; total 17 ; last 6) - stat 19415 (time 1733642501 ; total 28 ; last 11) - stat 20000 (time 1733642501 ; total 28 ; last 0) - stat 29413 (time 1733642512 ; total 39 ; last 11) - stat 30000 (time 1733642512 ; total 39 ; last 0) - stat 39668 (time 1733642523 ; total 50 ; last 11) - stat 40000 (time 1733642523 ; total 50 ; last 0) - stat 45619 (time 1733642534 ; total 61 ; last 11) - stat 50000 (time 1733642542 ; total 69 ; last 8) - stat 55719 (time 1733642553 ; total 80 ; last 11) - stat 60000 (time 1733642560 ; total 87 ; last 7) - stat 65763 (time 1733642571 ; total 98 ; last 11) total: 67955 stats in 100 seconds: 679.549988 stats/second - unlinked 0 (time 1733642523 ; total 0 ; last 0) - unlinked 10000 (time 1733642574 ; total 51 ; last 51) - unlinked 20000 (time 1733642596 ; total 73 ; last 22) - unlinked 30000 (time 1733642618 ; total 95 ; last 22) - unlinked 40000 (time 1733642640 ; total 117 ; last 22) unlink(/mnt/lustre2/lockdir/lockfile41292) error: No such file or directory total: 41291 unlinks in 120 seconds: 344.091675 unlinks/second /home/green/git/lustre-release/lustre/tests/lockorder.sh: line 77: kill: (18155) - No such process /home/green/git/lustre-release/lustre/tests/lockorder.sh: line 78: kill: (18158) - No such process PASS 12 (173s) == sanityn test 14aa: execution of file open for write returns -ETXTBSY ========================================================== 02:24:04 (1733642644) multiop /mnt/lustre/d14aa.sanityn/f14aa.sanityn vOw_c TMPPIPE=/tmp/multiop_open_wait_pipe.4493 /home/green/git/lustre-release/lustre/tests/sanityn.sh: line 336: /mnt/lustre2/d14aa.sanityn/f14aa.sanityn: Text file busy /home/green/git/lustre-release/lustre/tests/test-framework.sh: line 4858: 18934 Terminated $MULTIOP_PROG $FILE v$ARGS > $TMPPIPE (wd: ~) PASS 14aa (1s) == sanityn test 14ab: open(RDWR) of executing file returns -ETXTBSY ========================================================== 02:24:05 (1733642645) open(O_RDWR|O_CREAT): Text file busy /home/green/git/lustre-release/lustre/tests/test-framework.sh: line 4858: 19567 Terminated $DIR1/$tdir/sleep 60 (wd: ~) PASS 14ab (2s) == sanityn test 14b: truncate of executing file returns -ETXTBSY ================================================================ 02:24:07 (1733642647) truncate: cannot truncate '/mnt/lustre2/d14b.sanityn/sleep' to length 60: Text file busy /home/green/git/lustre-release/lustre/tests/sanityn.sh: line 351: 20201 Terminated $DIR1/$tdir/sleep 60 PASS 14b (1s) == sanityn test 14c: open(O_TRUNC) of executing file return -ETXTBSY ============================================================ 02:24:08 (1733642648) cp: cannot create regular file '/mnt/lustre2/d14c.sanityn/sleep': Text file busy /home/green/git/lustre-release/lustre/tests/sanityn.sh: line 363: 20836 Terminated $DIR1/$tdir/sleep 60 PASS 14c (1s) == sanityn test 14d: chmod of executing file is still possible ================================================================== 02:24:09 (1733642649) chmod /home/green/git/lustre-release/lustre/tests/sanityn.sh: line 374: 21471 Terminated $DIR1/$tdir/sleep 60 PASS 14d (2s) == sanityn test 17: resource creation/LVB creation race ========================================================================= 02:24:11 (1733642651) fail_loc=0x8000030a PASS 17 (4s) == sanityn test 19: test concurrent uncached read races ========================================================================= 02:24:15 (1733642655) oleg131-server: error: get_param: param_path 'osd-*/lustre-MDT*/read_cache_enable': No such file or directory pdsh@oleg131-client: oleg131-server: ssh exited with exit code 2 SKIP: sanityn test_19 not cache-capable obdfilter SKIP 19 (1s) == sanityn test 20: test extra readahead page left in cache ============================================================== 02:24:16 (1733642656) PASS 20 (1s) == sanityn test 23: others should see updated atime while another read============================================================== 02:24:17 (1733642657) now is 1733642658 starting reads multiop /mnt/lustre/f23.sanityn vor20_c TMPPIPE=/tmp/multiop_open_wait_pipe.4493 new atime is 1733642719 PASS 23 (63s) == sanityn test 27: align non-overlapping extent locks from request ============================================================= 02:25:20 (1733642720) 4+0 records in 4+0 records out 16793600 bytes (17 MB) copied, 0.13203 s, 127 MB/s dd 1 started dd 2 started 1+0 records in 1+0 records out 15728640 bytes (16 MB) copied, 0.230583 s, 68.2 MB/s 1+0 records in 1+0 records out 8192 bytes (8.2 kB) copied, 0.00346281 s, 2.4 MB/s dd 3 finished PASS 27 (4s) == sanityn test 39a: file mtime does not change after rename ========================================================== 02:25:24 (1733642724) repeat after cancel_lru_locks PASS 39a (1s) == sanityn test 39b: file mtime the same on clients with/out lock ========================================================== 02:25:26 (1733642726) repeat after cancel_lru_locks PASS 39b (3s) == sanityn test 39c: check truncate mtime update ================================================================================ 02:25:28 (1733642728) repeat after cancel_lru_locks PASS 39c (3s) == sanityn test 39d: sync write should update mtime ====== 02:25:31 (1733642731) fail_loc=0x411 fail_loc=0 PASS 39d (1s) == sanityn test 51a: layout lock: refresh layout should work ========================================================== 02:25:32 (1733642732) 0+1 records in 0+1 records out 159 bytes (159 B) copied, 0.00313294 s, 50.8 kB/s /home/green/git/lustre-release/lustre/tests/sanityn.sh: line 3518: kill: (28469) - No such process PASS 51a (4s) == sanityn test 51c: layout lock: IT_LAYOUT blocked and correct layout can be returned ========================================================== 02:25:36 (1733642736) fail_loc=0x172 Setting layout to have 2 stripes ... 1+0 records in 1+0 records out 1024 bytes (1.0 kB) copied, 0.00339344 s, 302 kB/s PASS 51c (5s) == sanityn test 51d: layout lock: losing layout lock should clean up memory map region ========================================================== 02:25:41 (1733642741) 1+0 records in 1+0 records out 1048576 bytes (1.0 MB) copied, 0.0088244 s, 119 MB/s Before revoking layout lock: 1024 KB mapped PASS 51d (3s) == sanityn test 107a: Basic grouplock conflict =========== 02:25:44 (1733642744) 10+0 records in 10+0 records out 10485760 bytes (10 MB) copied, 0.0640859 s, 164 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: 1 lmm_objects: - 0: { l_ost_idx: 1, l_fid: [0x280000400:0x3db:0x0] } multiop /mnt/lustre/f107a.sanityn vOG14091995_g14091995c TMPPIPE=/tmp/multiop_open_wait_pipe.4493 multiop /mnt/lustre2/f107a.sanityn vO_G16022000r10g16022000c TMPPIPE=/tmp/multiop_open_wait_pipe.4493 First grouplock blocks second one PASS 107a (4s) == sanityn test 107b: Grouplock is added to the head of waiting list ========================================================== 02:25:48 (1733642748) 10+0 records in 10+0 records out 10485760 bytes (10 MB) copied, 0.0609754 s, 172 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: 0 lmm_objects: - 0: { l_ost_idx: 0, l_fid: [0x240000400:0x3dd:0x0] } multiop /mnt/lustre/f107b.sanityn vOG14091995_g14091995c TMPPIPE=/tmp/multiop_open_wait_pipe.4493 Grouplock blocks IO First grouplock blocks second one Second grouplock blocks IO PASS 107b (7s) cleanup: ====================================================== == sanityn test complete, duration 323 sec =============== 02:25:56 (1733642756) === sanityn: start cleanup 02:25:56 (1733642756) === Stopping clients: oleg131-client.virtnet /mnt/lustre2 (opts:) Stopping client oleg131-client.virtnet /mnt/lustre2 opts: === sanityn: finish cleanup 02:25:57 (1733642757) ===