== sanity-dom test sanityn: Run sanityn with Data-on-MDT files ========================================================== 12:34:22 (1731346462) 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 excepting tests: 28 102 skipping tests SLOW=no: 33a === sanityn: start setup 12:34:27 (1731346467) === Starting client oleg310-client.virtnet: -o user_xattr,flock 192.168.203.110@tcp:/lustre /mnt/lustre2 Started clients oleg310-client.virtnet: 192.168.203.110@tcp:/lustre on /mnt/lustre2 type lustre (rw,checksum,flock,user_xattr,lruresize,lazystatfs,nouser_fid2path,verbose,noencrypt,statfs_project) oleg310-client.virtnet: executing check_config_client /mnt/lustre oleg310-client.virtnet: Checking config lustre mounted on /mnt/lustre Checking servers environments Checking clients oleg310-client.virtnet environments Using TIMEOUT=20 osc.lustre-OST0000-osc-ffff8800a9e12000.idle_timeout=debug osc.lustre-OST0000-osc-ffff8800b5e60000.idle_timeout=debug osc.lustre-OST0001-osc-ffff8800a9e12000.idle_timeout=debug osc.lustre-OST0001-osc-ffff8800b5e60000.idle_timeout=debug disable quota as required oleg310-server: oleg310-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all === sanityn: finish setup 12:34:37 (1731346477) === 1+0 records in 1+0 records out 1048576 bytes (1.0 MB) copied, 0.0142248 s, 73.7 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/f4742] == sanityn test 1: Check attribute updates on 2 mount points ========================================================== 12:34:38 (1731346478) /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 (2s) == sanityn test 2a: check cached attribute updates on 2 mtpt's ================================================================== 12:34:40 (1731346480) -rw-r--r-- 1 root root 0 Nov 11 12:34 /mnt/lustre2/f2a /mnt/lustre/f2a has type file OK /mnt/lustre/f2a has perms 0777 OK PASS 2a (3s) == sanityn test 2b: check cached attribute updates on 2 mtpt's ================================================================== 12:34:43 (1731346483) -rw-r--r-- 1 root root 0 Nov 11 12:34 /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 ============================================================= 12:34:44 (1731346484) /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 ============================================================= 12:34:46 (1731346486) /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 ========================================================== 12:34:47 (1731346487) total 1177 -rwxrwxrwx 1 root root 0 Nov 11 12:34 f2a -rwxrwxrwx 1 root root 0 Nov 11 12:34 f2b -rw-r--r-- 1 root root 1089848 Nov 11 12:28 ffsx.sanity-dom -rw-r--r-- 1 root root 1089848 Nov 11 12:28 ffsx.sanity-dom.fsxgood -rw-r--r-- 1 root root 12876 Nov 11 12:28 ffsx.sanity-dom.fsxlog total 1177 -rwxrwxrwx 1 root root 0 Nov 11 12:34 f2a -rwxrwxrwx 1 root root 0 Nov 11 12:34 f2b -rw-r--r-- 1 root root 1089848 Nov 11 12:28 ffsx.sanity-dom -rw-r--r-- 1 root root 1089848 Nov 11 12:28 ffsx.sanity-dom.fsxgood -rw-r--r-- 1 root root 12876 Nov 11 12:28 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.00149462 s, 343 kB/s PASS 2e (2s) == sanityn test 2f: check attr/owner updates on DNE with 2 mtpt's ========================================================== 12:34:49 (1731346489) SKIP: sanityn test_2f needs >= 2 MDTs SKIP 2f (1s) == sanityn test 2g: check blocks update on sync write ==== 12:34:50 (1731346490) 2+0 records in 2+0 records out 2097152 bytes (2.1 MB) copied, 6.74597 s, 311 kB/s /mnt/lustre/f2g.sanityn has 4123 blocks /mnt/lustre2/f2g.sanityn has 4123 blocks PASS 2g (8s) == sanityn test 4: fstat validation on multiple mount points ==================================================================== 12:34:58 (1731346498) Blocks don't match 2, 10 sanityn test_4: @@@@@@ FAIL: test_4 failed with 1 Trace dump: = /home/green/git/lustre-release/lustre/tests/test-framework.sh:7208:error() = /home/green/git/lustre-release/lustre/tests/test-framework.sh:7558:run_one() = /home/green/git/lustre-release/lustre/tests/test-framework.sh:7621:run_one_logged() = /home/green/git/lustre-release/lustre/tests/test-framework.sh:7424:run_test() = /home/green/git/lustre-release/lustre/tests/sanityn.sh:203:main() Dumping lctl log to /tmp/testlogs//sanityn.test_4.*.1731346500.log rsync: chown "/tmp/testlogs/.sanityn.test_4.debug_log.oleg310-server.1731346500.log.yxiGfi" failed: Operation not permitted (1) rsync: chown "/tmp/testlogs/.sanityn.test_4.dmesg.oleg310-server.1731346500.log.QU0W3u" failed: Operation not permitted (1) rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1651) [generator=3.1.2] FAIL 4 (4s) == sanityn test 5: create a file on one mount, truncate it on the other ========================================================== 12:35:03 (1731346503) /mnt/lustre/f5 has type file OK /mnt/lustre/f5 has size 100 OK PASS 5 (1s) == sanityn test 6: remove of open file on other node ============================================================================ 12:35:04 (1731346504) 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 (2s) == sanityn test 7: remove of open directory on other node ======================================================================= 12:35:06 (1731346506) creating directory /mnt/lustre/d7 opening directory unlinking /mnt/lustre/d7 Ok, everything goes well. PASS 7 (2s) == sanityn test 8: remove of open special file on other node ==================================================================== 12:35:08 (1731346508) creating special file /mnt/lustre/f8.sanityn opening file unlinking /mnt/lustre/f8.sanityn Ok, everything goes well. PASS 8 (1s) == sanityn test 9a: append of file with sub-page size on multiple mounts ========================================================== 12:35:09 (1731346509) PASS 9a (2s) == sanityn test 9b: append to striped sparse file ======== 12:35:11 (1731346511) 1+0 records in 1+0 records out 1048576 bytes (1.0 MB) copied, 0.0172677 s, 60.7 MB/s 3+0 records in 3+0 records out 3 bytes (3 B) copied, 0.0279152 s, 0.1 kB/s Data read (expecting 'foo'): foo PASS 9b (2s) == sanityn test 10a: write of file with sub-page size on multiple mounts ========================================================== 12:35:13 (1731346513) 1+0 records in 1+0 records out 1 byte (1 B) copied, 0.00188628 s, 0.5 kB/s 1+0 records in 1+0 records out 1 byte (1 B) copied, 0.00491437 s, 0.2 kB/s 1+0 records in 1+0 records out 1 byte (1 B) copied, 0.00479207 s, 0.2 kB/s 1+0 records in 1+0 records out 1 byte (1 B) copied, 0.00291576 s, 0.3 kB/s 1+0 records in 1+0 records out 1 byte (1 B) copied, 0.00366456 s, 0.3 kB/s 1+0 records in 1+0 records out 1 byte (1 B) copied, 0.028516 s, 0.0 kB/s 1+0 records in 1+0 records out 1 byte (1 B) copied, 0.00344895 s, 0.3 kB/s 1+0 records in 1+0 records out 1 byte (1 B) copied, 0.00369611 s, 0.3 kB/s 1+0 records in 1+0 records out 1 byte (1 B) copied, 0.0146383 s, 0.1 kB/s 1+0 records in 1+0 records out 1 byte (1 B) copied, 0.00651149 s, 0.2 kB/s 1+0 records in 1+0 records out 1 byte (1 B) copied, 0.00421024 s, 0.2 kB/s 1+0 records in 1+0 records out 1 byte (1 B) copied, 0.00296989 s, 0.3 kB/s PASS 10a (2s) == sanityn test 10b: write of file with sub-page size on multiple mounts ========================================================== 12:35:15 (1731346515) 1+0 records in 1+0 records out 3072 bytes (3.1 kB) copied, 0.00278637 s, 1.1 MB/s 1+0 records in 1+0 records out 4096 bytes (4.1 kB) copied, 0.0136815 s, 299 kB/s 1+0 records in 1+0 records out 3072 bytes (3.1 kB) copied, 0.000257358 s, 11.9 MB/s PASS 10b (2s) == sanityn test 11: execution of file opened for write should return error ============================================================== 12:35:17 (1731346517) multiop /mnt/lustre/d11/f vO_c TMPPIPE=/tmp/multiop_open_wait_pipe.4742 /home/green/git/lustre-release/lustre/tests/sanityn.sh: line 301: /mnt/lustre2/d11/f: Text file busy PASS 11 (2s) == sanityn test 12: test lock ordering (link, stat, unlink) ========================================================== 12:35:20 (1731346520) warning: '-runtime' deprecated, use '-t runtime' instead - link 2016 (time 1731346530.63 total 10.01 last 201.49) - link 5630 (time 1731346540.63 total 20.01 last 361.40) - link 10000 (time 1731346548.82 total 28.20 last 533.60) - link 14318 (time 1731346558.82 total 38.20 last 431.75) - link 19047 (time 1731346568.82 total 48.20 last 472.81) - link 20000 (time 1731346571.21 total 50.59 last 398.82) - link 23691 (time 1731346581.22 total 60.59 last 368.98) - link 26290 (time 1731346591.22 total 70.59 last 259.86) - link 28766 (time 1731346601.22 total 80.59 last 247.56) - link 30000 (time 1731346605.96 total 85.34 last 260.24) - link 32189 (time 1731346615.96 total 95.34 last 218.86) total: 33208 link in 100.00 seconds: 332.07 ops/second using seed 3615822745 running for 100 seconds - stat 2388 (time 1731346532 ; total 11 ; last 11) - stat 10000 (time 1731346541 ; total 20 ; last 9) - stat 19475 (time 1731346552 ; total 31 ; last 11) - stat 20000 (time 1731346552 ; total 31 ; last 0) - stat 29001 (time 1731346563 ; total 42 ; last 11) - stat 30000 (time 1731346564 ; total 43 ; last 1) - stat 37731 (time 1731346575 ; total 54 ; last 11) - stat 40000 (time 1731346579 ; total 58 ; last 4) - stat 44442 (time 1731346590 ; total 69 ; last 11) - stat 48683 (time 1731346601 ; total 80 ; last 11) - stat 50000 (time 1731346604 ; total 83 ; last 3) - stat 54233 (time 1731346615 ; total 94 ; last 11) total: 56930 stats in 100 seconds: 569.299988 stats/second - unlinked 0 (time 1731346571 ; total 0 ; last 0) - unlinked 10000 (time 1731346632 ; total 61 ; last 61) - unlinked 20000 (time 1731346665 ; total 94 ; last 33) - unlinked 30000 (time 1731346698 ; total 127 ; last 33) unlink(/mnt/lustre2/lockdir/lockfile33208) error: No such file or directory total: 33207 unlinks in 137 seconds: 242.386856 unlinks/second /home/green/git/lustre-release/lustre/tests/lockorder.sh: line 77: kill: (18390) - No such process /home/green/git/lustre-release/lustre/tests/lockorder.sh: line 78: kill: (18393) - No such process PASS 12 (190s) == sanityn test 14aa: execution of file open for write returns -ETXTBSY ========================================================== 12:38:29 (1731346709) multiop /mnt/lustre/d14aa.sanityn/f14aa.sanityn vOw_c TMPPIPE=/tmp/multiop_open_wait_pipe.4742 /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 4851: 19182 Terminated $MULTIOP_PROG $FILE v$ARGS > $TMPPIPE (wd: ~) PASS 14aa (2s) == sanityn test 14ab: open(RDWR) of executing file returns -ETXTBSY ========================================================== 12:38:31 (1731346711) open(O_RDWR|O_CREAT): Text file busy /home/green/git/lustre-release/lustre/tests/test-framework.sh: line 4851: 19817 Terminated $DIR1/$tdir/sleep 60 (wd: ~) PASS 14ab (2s) == sanityn test 14b: truncate of executing file returns -ETXTBSY ================================================================ 12:38:33 (1731346713) 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: 20449 Terminated $DIR1/$tdir/sleep 60 PASS 14b (1s) == sanityn test 14c: open(O_TRUNC) of executing file return -ETXTBSY ============================================================ 12:38:34 (1731346714) cp: cannot create regular file '/mnt/lustre2/d14c.sanityn/sleep': Text file busy /home/green/git/lustre-release/lustre/tests/sanityn.sh: line 363: 21083 Terminated $DIR1/$tdir/sleep 60 PASS 14c (2s) == sanityn test 14d: chmod of executing file is still possible ================================================================== 12:38:36 (1731346716) chmod /home/green/git/lustre-release/lustre/tests/sanityn.sh: line 374: 21718 Terminated $DIR1/$tdir/sleep 60 PASS 14d (1s) == sanityn test 17: resource creation/LVB creation race ========================================================================= 12:38:37 (1731346717) fail_loc=0x8000030a PASS 17 (4s) == sanityn test 19: test concurrent uncached read races ========================================================================= 12:38:41 (1731346721) oleg310-server: error: get_param: param_path 'osd-*/lustre-MDT*/read_cache_enable': No such file or directory pdsh@oleg310-client: oleg310-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 ============================================================== 12:38:42 (1731346722) PASS 20 (2s) == sanityn test 23: others should see updated atime while another read============================================================== 12:38:44 (1731346724) now is 1731346724 starting reads multiop /mnt/lustre/f23.sanityn vor20_c TMPPIPE=/tmp/multiop_open_wait_pipe.4742 new atime is 1731346785 PASS 23 (62s) == sanityn test 27: align non-overlapping extent locks from request ============================================================= 12:39:46 (1731346786) 4+0 records in 4+0 records out 16793600 bytes (17 MB) copied, 0.222354 s, 75.5 MB/s dd 1 started dd 2 started 1+0 records in 1+0 records out 15728640 bytes (16 MB) copied, 0.269535 s, 58.4 MB/s 1+0 records in 1+0 records out 8192 bytes (8.2 kB) copied, 0.00346746 s, 2.4 MB/s dd 3 finished PASS 27 (4s) == sanityn test 39a: file mtime does not change after rename ========================================================== 12:39:50 (1731346790) repeat after cancel_lru_locks PASS 39a (2s) == sanityn test 39b: file mtime the same on clients with/out lock ========================================================== 12:39:52 (1731346792) repeat after cancel_lru_locks PASS 39b (2s) == sanityn test 39c: check truncate mtime update ================================================================================ 12:39:54 (1731346794) repeat after cancel_lru_locks PASS 39c (2s) == sanityn test 39d: sync write should update mtime ====== 12:39:56 (1731346796) fail_loc=0x411 fail_loc=0 PASS 39d (2s) == sanityn test 51a: layout lock: refresh layout should work ========================================================== 12:39:58 (1731346798) 0+1 records in 0+1 records out 159 bytes (159 B) copied, 0.00273933 s, 58.0 kB/s /home/green/git/lustre-release/lustre/tests/sanityn.sh: line 3518: kill: (28715) - No such process PASS 51a (3s) == sanityn test 51c: layout lock: IT_LAYOUT blocked and correct layout can be returned ========================================================== 12:40:01 (1731346801) fail_loc=0x172 Setting layout to have 2 stripes ... 1+0 records in 1+0 records out 1024 bytes (1.0 kB) copied, 0.00320724 s, 319 kB/s PASS 51c (6s) == sanityn test 51d: layout lock: losing layout lock should clean up memory map region ========================================================== 12:40:07 (1731346807) 1+0 records in 1+0 records out 1048576 bytes (1.0 MB) copied, 0.0241627 s, 43.4 MB/s Before revoking layout lock: 1024 KB mapped PASS 51d (2s) == sanityn test 107a: Basic grouplock conflict =========== 12:40:09 (1731346809) 10+0 records in 10+0 records out 10485760 bytes (10 MB) copied, 0.0629153 s, 167 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:0x3dc:0x0] } multiop /mnt/lustre/f107a.sanityn vOG14091995_g14091995c TMPPIPE=/tmp/multiop_open_wait_pipe.4742 multiop /mnt/lustre2/f107a.sanityn vO_G16022000r10g16022000c TMPPIPE=/tmp/multiop_open_wait_pipe.4742 First grouplock blocks second one PASS 107a (4s) == sanityn test 107b: Grouplock is added to the head of waiting list ========================================================== 12:40:13 (1731346813) 10+0 records in 10+0 records out 10485760 bytes (10 MB) copied, 0.156434 s, 67.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_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.4742 Grouplock blocks IO First grouplock blocks second one Second grouplock blocks IO PASS 107b (7s) cleanup: ====================================================== == sanityn test complete, duration 359 sec =============== 12:40:21 (1731346821) sanityn: FAIL: test_4 test_4 failed with 1 === sanityn: start cleanup 12:40:21 (1731346821) === Stopping clients: oleg310-client.virtnet /mnt/lustre2 (opts:) Stopping client oleg310-client.virtnet /mnt/lustre2 opts: === sanityn: finish cleanup 12:40:22 (1731346822) ===