== sanity-dom test sanityn: Run sanityn with Data-on-MDT files ========================================================== 12:22:02 (1709054522) excepting tests: 28 102 skipping tests SLOW=no: 33a === sanityn: start setup 12:22:06 (1709054526) === Starting client oleg135-client.virtnet: -o user_xattr,flock oleg135-server@tcp:/lustre /mnt/lustre2 Started clients oleg135-client.virtnet: 192.168.201.135@tcp:/lustre on /mnt/lustre2 type lustre (rw,checksum,flock,user_xattr,lruresize,lazystatfs,nouser_fid2path,verbose,noencrypt,statfs_project) oleg135-client.virtnet: executing check_config_client /mnt/lustre oleg135-client.virtnet: Checking config lustre mounted on /mnt/lustre Checking servers environments Checking clients oleg135-client.virtnet environments Using TIMEOUT=20 osc.lustre-OST0000-osc-ffff880086d93000.idle_timeout=debug osc.lustre-OST0000-osc-ffff88012a9e7800.idle_timeout=debug osc.lustre-OST0001-osc-ffff880086d93000.idle_timeout=debug osc.lustre-OST0001-osc-ffff88012a9e7800.idle_timeout=debug disable quota as required oleg135-server: oleg135-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all === sanityn: finish setup 12:22:21 (1709054541) === 1+0 records in 1+0 records out 1048576 bytes (1.0 MB) copied, 0.0102663 s, 102 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/f8185] debug_raw_pointers=Y debug_raw_pointers=Y == sanityn test 1: Check attribute updates on 2 mount points ========================================================== 12:22:23 (1709054543) /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) debug_raw_pointers=1 debug_raw_pointers=1 debug_raw_pointers=Y debug_raw_pointers=Y == sanityn test 2a: check cached attribute updates on 2 mtpt's ================================================================== 12:22:32 (1709054552) -rw-r--r-- 1 root root 0 Feb 27 12:22 /mnt/lustre2/f2a /mnt/lustre/f2a has type file OK /mnt/lustre/f2a has perms 0777 OK PASS 2a (3s) debug_raw_pointers=1 debug_raw_pointers=1 debug_raw_pointers=Y debug_raw_pointers=Y == sanityn test 2b: check cached attribute updates on 2 mtpt's ================================================================== 12:22:39 (1709054559) -rw-r--r-- 1 root root 0 Feb 27 12:22 /mnt/lustre2/f2b /mnt/lustre2/f2b has type file OK /mnt/lustre2/f2b has perms 0777 OK PASS 2b (3s) debug_raw_pointers=1 debug_raw_pointers=1 debug_raw_pointers=Y debug_raw_pointers=Y == sanityn test 2c: check cached attribute updates on 2 mtpt's root ============================================================= 12:22:46 (1709054566) /mnt/lustre2 has type dir OK /mnt/lustre2 has perms 0777 OK PASS 2c (4s) debug_raw_pointers=1 debug_raw_pointers=1 debug_raw_pointers=Y debug_raw_pointers=Y == sanityn test 2d: check cached attribute updates on 2 mtpt's root ============================================================= 12:22:54 (1709054574) /mnt/lustre2 has type dir OK /mnt/lustre2 has perms 0755 OK PASS 2d (3s) debug_raw_pointers=1 debug_raw_pointers=1 debug_raw_pointers=Y debug_raw_pointers=Y == sanityn test 2e: check chmod on root is propagated to others ========================================================== 12:23:00 (1709054580) total 777 -rwxrwxrwx 1 root root 0 Feb 27 12:22 f2a -rwxrwxrwx 1 root root 0 Feb 27 12:22 f2b -rw-r--r-- 1 root root 1017498 Feb 27 12:10 ffsx.sanity-dom -rw-r--r-- 1 root root 0 Feb 27 12:09 ffsx.sanity-dom.fsxgood -rw-r--r-- 1 root root 71732 Feb 27 12:10 ffsx.sanity-dom.fsxlog total 777 -rwxrwxrwx 1 root root 0 Feb 27 12:22 f2a -rwxrwxrwx 1 root root 0 Feb 27 12:22 f2b -rw-r--r-- 1 root root 1017498 Feb 27 12:10 ffsx.sanity-dom -rw-r--r-- 1 root root 0 Feb 27 12:09 ffsx.sanity-dom.fsxgood -rw-r--r-- 1 root root 71732 Feb 27 12:10 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.0082068 s, 62.4 kB/s PASS 2e (4s) debug_raw_pointers=1 debug_raw_pointers=1 debug_raw_pointers=Y debug_raw_pointers=Y == sanityn test 2f: check attr/owner updates on DNE with 2 mtpt's ========================================================== 12:23:08 (1709054588) SKIP: sanityn test_2f needs >= 2 MDTs SKIP 2f (1s) debug_raw_pointers=1 debug_raw_pointers=1 debug_raw_pointers=Y debug_raw_pointers=Y == sanityn test 2g: check blocks update on sync write ==== 12:23:13 (1709054593) 2+0 records in 2+0 records out 2097152 bytes (2.1 MB) copied, 0.231048 s, 9.1 MB/s /mnt/lustre/f2g.sanityn has 4109 blocks /mnt/lustre2/f2g.sanityn has 4109 blocks PASS 2g (4s) debug_raw_pointers=1 debug_raw_pointers=1 debug_raw_pointers=Y debug_raw_pointers=Y == sanityn test 4: fstat validation on multiple mount points ==================================================================== 12:23:21 (1709054601) PASS 4 (5s) debug_raw_pointers=1 debug_raw_pointers=1 debug_raw_pointers=Y debug_raw_pointers=Y == sanityn test 5: create a file on one mount, truncate it on the other ========================================================== 12:23:29 (1709054609) /mnt/lustre/f5 has type file OK /mnt/lustre/f5 has size 100 OK PASS 5 (4s) debug_raw_pointers=1 debug_raw_pointers=1 debug_raw_pointers=Y debug_raw_pointers=Y == sanityn test 6: remove of open file on other node ============================================================================ 12:23:36 (1709054616) 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) debug_raw_pointers=1 debug_raw_pointers=1 debug_raw_pointers=Y debug_raw_pointers=Y == sanityn test 7: remove of open directory on other node ======================================================================= 12:23:43 (1709054623) creating directory /mnt/lustre/d7 opening directory unlinking /mnt/lustre/d7 Ok, everything goes well. PASS 7 (4s) debug_raw_pointers=1 debug_raw_pointers=1 debug_raw_pointers=Y debug_raw_pointers=Y == sanityn test 8: remove of open special file on other node ==================================================================== 12:23:50 (1709054630) creating special file /mnt/lustre/f8.sanityn opening file unlinking /mnt/lustre/f8.sanityn Ok, everything goes well. PASS 8 (4s) debug_raw_pointers=1 debug_raw_pointers=1 debug_raw_pointers=Y debug_raw_pointers=Y == sanityn test 9a: append of file with sub-page size on multiple mounts ========================================================== 12:23:58 (1709054638) PASS 9a (5s) debug_raw_pointers=1 debug_raw_pointers=1 debug_raw_pointers=Y debug_raw_pointers=Y == sanityn test 9b: append to striped sparse file ======== 12:24:07 (1709054647) 1+0 records in 1+0 records out 1048576 bytes (1.0 MB) copied, 0.0329338 s, 31.8 MB/s 3+0 records in 3+0 records out 3 bytes (3 B) copied, 0.0511444 s, 0.1 kB/s Data read (expecting 'foo'): foo PASS 9b (4s) debug_raw_pointers=1 debug_raw_pointers=1 debug_raw_pointers=Y debug_raw_pointers=Y == sanityn test 10a: write of file with sub-page size on multiple mounts ========================================================== 12:24:14 (1709054654) 1+0 records in 1+0 records out 1 byte (1 B) copied, 0.00275937 s, 0.4 kB/s 1+0 records in 1+0 records out 1 byte (1 B) copied, 0.0072007 s, 0.1 kB/s 1+0 records in 1+0 records out 1 byte (1 B) copied, 0.00500685 s, 0.2 kB/s 1+0 records in 1+0 records out 1 byte (1 B) copied, 0.00444606 s, 0.2 kB/s 1+0 records in 1+0 records out 1 byte (1 B) copied, 0.012983 s, 0.1 kB/s 1+0 records in 1+0 records out 1 byte (1 B) copied, 0.0204245 s, 0.0 kB/s 1+0 records in 1+0 records out 1 byte (1 B) copied, 0.00720134 s, 0.1 kB/s 1+0 records in 1+0 records out 1 byte (1 B) copied, 0.0141812 s, 0.1 kB/s 1+0 records in 1+0 records out 1 byte (1 B) copied, 0.00999452 s, 0.1 kB/s 1+0 records in 1+0 records out 1 byte (1 B) copied, 0.00901957 s, 0.1 kB/s 1+0 records in 1+0 records out 1 byte (1 B) copied, 0.00978682 s, 0.1 kB/s 1+0 records in 1+0 records out 1 byte (1 B) copied, 0.00722193 s, 0.1 kB/s PASS 10a (5s) debug_raw_pointers=1 debug_raw_pointers=1 debug_raw_pointers=Y debug_raw_pointers=Y == sanityn test 10b: write of file with sub-page size on multiple mounts ========================================================== 12:24:23 (1709054663) 1+0 records in 1+0 records out 3072 bytes (3.1 kB) copied, 0.00689883 s, 445 kB/s 1+0 records in 1+0 records out 4096 bytes (4.1 kB) copied, 0.0315346 s, 130 kB/s 1+0 records in 1+0 records out 3072 bytes (3.1 kB) copied, 0.000230882 s, 13.3 MB/s PASS 10b (4s) debug_raw_pointers=1 debug_raw_pointers=1 debug_raw_pointers=Y debug_raw_pointers=Y == sanityn test 11: execution of file opened for write should return error ============================================================== 12:24:30 (1709054670) multiop /mnt/lustre/d11/f vO_c TMPPIPE=/tmp/multiop_open_wait_pipe.8185 /home/green/git/lustre-release/lustre/tests/sanityn.sh: line 301: /mnt/lustre2/d11/f: Text file busy PASS 11 (4s) debug_raw_pointers=1 debug_raw_pointers=1 debug_raw_pointers=Y debug_raw_pointers=Y == sanityn test 12: test lock ordering (link, stat, unlink) ========================================================== 12:24:38 (1709054678) warning: '-runtime' deprecated, use '-t runtime' instead - link 804 (time 1709054689.59 total 10.01 last 80.35) - link 1632 (time 1709054699.60 total 20.02 last 82.72) - link 2481 (time 1709054709.60 total 30.02 last 84.86) - link 3403 (time 1709054719.61 total 40.03 last 92.14) - link 4381 (time 1709054729.61 total 50.03 last 97.79) - link 5196 (time 1709054739.62 total 60.04 last 81.40) - link 5812 (time 1709054758.39 total 78.81 last 32.82) - link 6505 (time 1709054768.44 total 88.86 last 68.99) - link 7313 (time 1709054778.44 total 98.86 last 80.80) total: 7412 link in 100.00 seconds: 74.12 ops/second using seed 3670059241 running for 100 seconds - stat 1161 (time 1709054691 ; total 11 ; last 11) - stat 10000 (time 1709054701 ; total 21 ; last 10) - stat 19080 (time 1709054712 ; total 32 ; last 11) - stat 20000 (time 1709054713 ; total 33 ; last 1) - stat 28784 (time 1709054724 ; total 44 ; last 11) - stat 30000 (time 1709054725 ; total 45 ; last 1) - stat 36251 (time 1709054736 ; total 56 ; last 11) - stat 39475 (time 1709054747 ; total 67 ; last 11) - stat 39581 (time 1709054758 ; total 78 ; last 11) - stat 40000 (time 1709054760 ; total 80 ; last 2) - stat 42539 (time 1709054771 ; total 91 ; last 11) total: 45720 stats in 100 seconds: 457.200012 stats/second - unlinked 0 (time 1709054730 ; total 0 ; last 0) unlink(/mnt/lustre2/lockdir/lockfile7412) error: No such file or directory total: 7411 unlinks in 152 seconds: 48.756580 unlinks/second /home/green/git/lustre-release/lustre/tests/lockorder.sh: line 77: kill: (23122) - No such process /home/green/git/lustre-release/lustre/tests/lockorder.sh: line 78: kill: (23125) - No such process PASS 12 (206s) debug_raw_pointers=1 debug_raw_pointers=1 debug_raw_pointers=Y debug_raw_pointers=Y == sanityn test 14aa: execution of file open for write returns -ETXTBSY ========================================================== 12:28:07 (1709054887) multiop /mnt/lustre/d14aa.sanityn/f14aa.sanityn vOw_c TMPPIPE=/tmp/multiop_open_wait_pipe.8185 /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 4637: 24035 Terminated $MULTIOP_PROG $FILE v$ARGS > $TMPPIPE (wd: ~) PASS 14aa (3s) debug_raw_pointers=1 debug_raw_pointers=1 debug_raw_pointers=Y debug_raw_pointers=Y == sanityn test 14ab: open(RDWR) of executing file returns -ETXTBSY ========================================================== 12:28:14 (1709054894) open(O_RDWR|O_CREAT): Text file busy /home/green/git/lustre-release/lustre/tests/test-framework.sh: line 4637: 24777 Terminated $DIR1/$tdir/sleep 60 (wd: ~) PASS 14ab (3s) debug_raw_pointers=1 debug_raw_pointers=1 debug_raw_pointers=Y debug_raw_pointers=Y == sanityn test 14b: truncate of executing file returns -ETXTBSY ================================================================ 12:28:19 (1709054899) 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: 25516 Terminated $DIR1/$tdir/sleep 60 PASS 14b (3s) debug_raw_pointers=1 debug_raw_pointers=1 debug_raw_pointers=Y debug_raw_pointers=Y == sanityn test 14c: open(O_TRUNC) of executing file return -ETXTBSY ============================================================ 12:28:25 (1709054905) cp: cannot create regular file '/mnt/lustre2/d14c.sanityn/sleep': Text file busy /home/green/git/lustre-release/lustre/tests/sanityn.sh: line 363: 26258 Terminated $DIR1/$tdir/sleep 60 PASS 14c (3s) debug_raw_pointers=1 debug_raw_pointers=1 debug_raw_pointers=Y debug_raw_pointers=Y == sanityn test 14d: chmod of executing file is still possible ================================================================== 12:28:30 (1709054910) chmod /home/green/git/lustre-release/lustre/tests/sanityn.sh: line 374: 26998 Terminated $DIR1/$tdir/sleep 60 PASS 14d (3s) debug_raw_pointers=1 debug_raw_pointers=1 debug_raw_pointers=Y debug_raw_pointers=Y == sanityn test 17: resource creation/LVB creation race ========================================================================= 12:28:36 (1709054916) fail_loc=0x8000030a PASS 17 (5s) debug_raw_pointers=1 debug_raw_pointers=1 debug_raw_pointers=Y debug_raw_pointers=Y == sanityn test 19: test concurrent uncached read races ========================================================================= 12:28:44 (1709054924) oleg135-server: error: get_param: param_path 'osd-*/lustre-MDT*/read_cache_enable': No such file or directory pdsh@oleg135-client: oleg135-server: ssh exited with exit code 2 SKIP: sanityn test_19 not cache-capable obdfilter SKIP 19 (1s) debug_raw_pointers=1 debug_raw_pointers=1 debug_raw_pointers=Y debug_raw_pointers=Y == sanityn test 20: test extra readahead page left in cache ============================================================== 12:28:48 (1709054928) PASS 20 (3s) debug_raw_pointers=1 debug_raw_pointers=1 debug_raw_pointers=Y debug_raw_pointers=Y == sanityn test 23: others should see updated atime while another read============================================================== 12:28:54 (1709054934) now is 1709054935 starting reads multiop /mnt/lustre/f23.sanityn vor20_c TMPPIPE=/tmp/multiop_open_wait_pipe.8185 new atime is 1709054997 PASS 23 (66s) debug_raw_pointers=1 debug_raw_pointers=1 debug_raw_pointers=Y debug_raw_pointers=Y == sanityn test 27: align non-overlapping extent locks from request ============================================================= 12:30:03 (1709055003) 4+0 records in 4+0 records out 16793600 bytes (17 MB) copied, 0.242291 s, 69.3 MB/s dd 1 started dd 2 started 1+0 records in 1+0 records out 15728640 bytes (16 MB) copied, 0.394701 s, 39.8 MB/s 1+0 records in 1+0 records out 8192 bytes (8.2 kB) copied, 0.0193659 s, 423 kB/s dd 3 finished PASS 27 (8s) debug_raw_pointers=1 debug_raw_pointers=1 debug_raw_pointers=Y debug_raw_pointers=Y == sanityn test 39a: file mtime does not change after rename ========================================================== 12:30:15 (1709055015) repeat after cancel_lru_locks PASS 39a (4s) debug_raw_pointers=1 debug_raw_pointers=1 debug_raw_pointers=Y debug_raw_pointers=Y == sanityn test 39b: file mtime the same on clients with/out lock ========================================================== 12:30:23 (1709055023) repeat after cancel_lru_locks PASS 39b (5s) debug_raw_pointers=1 debug_raw_pointers=1 debug_raw_pointers=Y debug_raw_pointers=Y == sanityn test 39c: check truncate mtime update ================================================================================ 12:30:31 (1709055031) repeat after cancel_lru_locks PASS 39c (4s) debug_raw_pointers=1 debug_raw_pointers=1 debug_raw_pointers=Y debug_raw_pointers=Y == sanityn test 39d: sync write should update mtime ====== 12:30:39 (1709055039) fail_loc=0x411 fail_loc=0 PASS 39d (3s) debug_raw_pointers=1 debug_raw_pointers=1 debug_raw_pointers=Y debug_raw_pointers=Y == sanityn test 51a: layout lock: refresh layout should work ========================================================== 12:30:46 (1709055046) 0+1 records in 0+1 records out 159 bytes (159 B) copied, 0.00940629 s, 16.9 kB/s /home/green/git/lustre-release/lustre/tests/sanityn.sh: line 3445: kill: (2664) - No such process PASS 51a (6s) debug_raw_pointers=1 debug_raw_pointers=1 debug_raw_pointers=Y debug_raw_pointers=Y == sanityn test 51c: layout lock: IT_LAYOUT blocked and correct layout can be returned ========================================================== 12:30:56 (1709055056) fail_loc=0x172 Setting layout to have 2 stripes ... 1+0 records in 1+0 records out 1024 bytes (1.0 kB) copied, 0.0538387 s, 19.0 kB/s PASS 51c (8s) debug_raw_pointers=1 debug_raw_pointers=1 debug_raw_pointers=Y debug_raw_pointers=Y == sanityn test 51d: layout lock: losing layout lock should clean up memory map region ========================================================== 12:31:08 (1709055068) 1+0 records in 1+0 records out 1048576 bytes (1.0 MB) copied, 0.018337 s, 57.2 MB/s Before revoking layout lock: 1024 KB mapped PASS 51d (4s) debug_raw_pointers=1 debug_raw_pointers=1 debug_raw_pointers=Y debug_raw_pointers=Y == sanityn test 107a: Basic grouplock conflict =========== 12:31:15 (1709055075) 10+0 records in 10+0 records out 10485760 bytes (10 MB) copied, 0.209118 s, 50.1 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: 0 lmm_objects: - 0: { l_ost_idx: 0, l_fid: [0x240000400:0x3dc:0x0] } multiop /mnt/lustre/f107a.sanityn vOG14091995_g14091995c TMPPIPE=/tmp/multiop_open_wait_pipe.8185 multiop /mnt/lustre2/f107a.sanityn vO_G16022000r10g16022000c TMPPIPE=/tmp/multiop_open_wait_pipe.8185 First grouplock blocks second one PASS 107a (6s) debug_raw_pointers=1 debug_raw_pointers=1 debug_raw_pointers=Y debug_raw_pointers=Y == sanityn test 107b: Grouplock is added to the head of waiting list ========================================================== 12:31:24 (1709055084) 10+0 records in 10+0 records out 10485760 bytes (10 MB) copied, 0.229383 s, 45.7 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: 1 lmm_objects: - 0: { l_ost_idx: 1, l_fid: [0x280000400:0x3db:0x0] } multiop /mnt/lustre/f107b.sanityn vOG14091995_g14091995c TMPPIPE=/tmp/multiop_open_wait_pipe.8185 Grouplock blocks IO First grouplock blocks second one Second grouplock blocks IO PASS 107b (9s) debug_raw_pointers=1 debug_raw_pointers=1 cleanup: ====================================================== == sanityn test complete, duration 572 sec =============== 12:31:35 (1709055095) === sanityn: start cleanup 12:31:36 (1709055096) === Stopping clients: oleg135-client.virtnet /mnt/lustre2 (opts:) Stopping client oleg135-client.virtnet /mnt/lustre2 opts: === sanityn: finish cleanup 12:31:37 (1709055097) ===