== sanity-dom test sanityn: Run sanityn with Data-on-MDT files ========================================================== 03:17:20 (1711091840) excepting tests: 28 102 skipping tests SLOW=no: 33a === sanityn: start setup 03:17:22 (1711091842) === Starting client oleg448-client.virtnet: -o user_xattr,flock oleg448-server@tcp:/lustre /mnt/lustre2 Started clients oleg448-client.virtnet: 192.168.204.148@tcp:/lustre on /mnt/lustre2 type lustre (rw,checksum,flock,user_xattr,lruresize,lazystatfs,nouser_fid2path,verbose,noencrypt,statfs_project) oleg448-client.virtnet: executing check_config_client /mnt/lustre oleg448-client.virtnet: Checking config lustre mounted on /mnt/lustre Checking servers environments Checking clients oleg448-client.virtnet environments Using TIMEOUT=20 osc.lustre-OST0000-osc-ffff880080af3800.idle_timeout=debug osc.lustre-OST0000-osc-ffff8800b60b5000.idle_timeout=debug osc.lustre-OST0001-osc-ffff880080af3800.idle_timeout=debug osc.lustre-OST0001-osc-ffff8800b60b5000.idle_timeout=debug disable quota as required oleg448-server: oleg448-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all === sanityn: finish setup 03:17:28 (1711091848) === 1+0 records in 1+0 records out 1048576 bytes (1.0 MB) copied, 0.0102316 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/f9012] debug_raw_pointers=Y debug_raw_pointers=Y == sanityn test 1: Check attribute updates on 2 mount points ========================================================== 03:17:29 (1711091849) /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) 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 ================================================================== 03:17:32 (1711091852) -rw-r--r-- 1 root root 0 Mar 22 03:17 /mnt/lustre2/f2a /mnt/lustre/f2a has type file OK /mnt/lustre/f2a has perms 0777 OK PASS 2a (1s) 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 ================================================================== 03:17:35 (1711091855) -rw-r--r-- 1 root root 0 Mar 22 03:17 /mnt/lustre2/f2b /mnt/lustre2/f2b has type file OK /mnt/lustre2/f2b has perms 0777 OK PASS 2b (2s) 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 ============================================================= 03:17:37 (1711091857) /mnt/lustre2 has type dir OK /mnt/lustre2 has perms 0777 OK PASS 2c (2s) 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 ============================================================= 03:17:40 (1711091860) /mnt/lustre2 has type dir OK /mnt/lustre2 has perms 0755 OK PASS 2d (2s) 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 ========================================================== 03:17:43 (1711091863) total 620 -rwxrwxrwx 1 root root 0 Mar 22 03:17 f2a -rwxrwxrwx 1 root root 0 Mar 22 03:17 f2b -rw-r--r-- 1 root root 1918950 Mar 22 03:10 ffsx.sanity-dom -rw-r--r-- 1 root root 0 Mar 22 03:10 ffsx.sanity-dom.fsxgood -rw-r--r-- 1 root root 76862 Mar 22 03:10 ffsx.sanity-dom.fsxlog total 620 -rwxrwxrwx 1 root root 0 Mar 22 03:17 f2a -rwxrwxrwx 1 root root 0 Mar 22 03:17 f2b -rw-r--r-- 1 root root 1918950 Mar 22 03:10 ffsx.sanity-dom -rw-r--r-- 1 root root 0 Mar 22 03:10 ffsx.sanity-dom.fsxgood -rw-r--r-- 1 root root 76862 Mar 22 03: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.00121603 s, 421 kB/s PASS 2e (1s) 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 ========================================================== 03:17:46 (1711091866) 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 ==== 03:17:48 (1711091868) 2+0 records in 2+0 records out 2097152 bytes (2.1 MB) copied, 0.0731586 s, 28.7 MB/s /mnt/lustre/f2g.sanityn has 4109 blocks /mnt/lustre2/f2g.sanityn has 4109 blocks PASS 2g (2s) 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 ==================================================================== 03:17:51 (1711091871) PASS 4 (2s) 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 ========================================================== 03:17:55 (1711091875) /mnt/lustre/f5 has type file OK /mnt/lustre/f5 has size 100 OK PASS 5 (1s) 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 ============================================================================ 03:17:58 (1711091878) 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) 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 ======================================================================= 03:18:01 (1711091881) creating directory /mnt/lustre/d7 opening directory unlinking /mnt/lustre/d7 Ok, everything goes well. PASS 7 (1s) 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 ==================================================================== 03:18:03 (1711091883) creating special file /mnt/lustre/f8.sanityn opening file unlinking /mnt/lustre/f8.sanityn Ok, everything goes well. PASS 8 (2s) 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 ========================================================== 03:18:07 (1711091887) PASS 9a (2s) debug_raw_pointers=1 debug_raw_pointers=1 debug_raw_pointers=Y debug_raw_pointers=Y == sanityn test 9b: append to striped sparse file ======== 03:18:10 (1711091890) 1+0 records in 1+0 records out 1048576 bytes (1.0 MB) copied, 0.0109894 s, 95.4 MB/s 3+0 records in 3+0 records out 3 bytes (3 B) copied, 0.033661 s, 0.1 kB/s Data read (expecting 'foo'): foo PASS 9b (1s) 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 ========================================================== 03:18:13 (1711091893) 1+0 records in 1+0 records out 1 byte (1 B) copied, 0.00126292 s, 0.8 kB/s 1+0 records in 1+0 records out 1 byte (1 B) copied, 0.00216532 s, 0.5 kB/s 1+0 records in 1+0 records out 1 byte (1 B) copied, 0.0021094 s, 0.5 kB/s 1+0 records in 1+0 records out 1 byte (1 B) copied, 0.00218093 s, 0.5 kB/s 1+0 records in 1+0 records out 1 byte (1 B) copied, 0.00247409 s, 0.4 kB/s 1+0 records in 1+0 records out 1 byte (1 B) copied, 0.00240281 s, 0.4 kB/s 1+0 records in 1+0 records out 1 byte (1 B) copied, 0.00201089 s, 0.5 kB/s 1+0 records in 1+0 records out 1 byte (1 B) copied, 0.00215361 s, 0.5 kB/s 1+0 records in 1+0 records out 1 byte (1 B) copied, 0.0022032 s, 0.5 kB/s 1+0 records in 1+0 records out 1 byte (1 B) copied, 0.00214131 s, 0.5 kB/s 1+0 records in 1+0 records out 1 byte (1 B) copied, 0.00211484 s, 0.5 kB/s 1+0 records in 1+0 records out 1 byte (1 B) copied, 0.0021418 s, 0.5 kB/s PASS 10a (1s) 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 ========================================================== 03:18:16 (1711091896) 1+0 records in 1+0 records out 3072 bytes (3.1 kB) copied, 0.00137956 s, 2.2 MB/s 1+0 records in 1+0 records out 4096 bytes (4.1 kB) copied, 0.00636596 s, 643 kB/s 1+0 records in 1+0 records out 3072 bytes (3.1 kB) copied, 0.000179338 s, 17.1 MB/s PASS 10b (1s) 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 ============================================================== 03:18:19 (1711091899) multiop /mnt/lustre/d11/f vO_c TMPPIPE=/tmp/multiop_open_wait_pipe.9012 /home/green/git/lustre-release/lustre/tests/sanityn.sh: line 301: /mnt/lustre2/d11/f: Text file busy PASS 11 (1s) 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) ========================================================== 03:18:22 (1711091902) warning: '-runtime' deprecated, use '-t runtime' instead - link 3130 (time 1711091912.71 total 10.00 last 312.98) - link 7739 (time 1711091922.72 total 20.00 last 460.88) - link 10000 (time 1711091927.49 total 24.77 last 473.99) - link 14809 (time 1711091937.49 total 34.77 last 480.84) - link 19413 (time 1711091947.49 total 44.77 last 460.39) - link 23606 (time 1711091957.49 total 54.77 last 419.25) - link 27726 (time 1711091967.49 total 64.78 last 411.94) - link 30000 (time 1711091973.23 total 70.51 last 396.22) - link 33915 (time 1711091983.23 total 80.52 last 391.39) - link 37974 (time 1711091993.23 total 90.52 last 405.84) - link 40000 (time 1711091998.20 total 95.48 last 408.11) total: 41661 link in 100.00 seconds: 416.61 ops/second using seed 3821123566 running for 100 seconds - stat 3351 (time 1711091914 ; total 11 ; last 11) - stat 10000 (time 1711091921 ; total 18 ; last 7) - stat 19915 (time 1711091932 ; total 29 ; last 11) - stat 20000 (time 1711091932 ; total 29 ; last 0) - stat 30000 (time 1711091942 ; total 39 ; last 10) - stat 39333 (time 1711091953 ; total 50 ; last 11) - stat 40000 (time 1711091953 ; total 50 ; last 0) - stat 46754 (time 1711091964 ; total 61 ; last 11) - stat 50000 (time 1711091968 ; total 65 ; last 4) - stat 56092 (time 1711091979 ; total 76 ; last 11) - stat 60000 (time 1711091984 ; total 81 ; last 5) - stat 67292 (time 1711091995 ; total 92 ; last 11) - stat 70000 (time 1711091998 ; total 95 ; last 3) total: 72923 stats in 100 seconds: 729.229980 stats/second - unlinked 0 (time 1711091953 ; total 0 ; last 0) - unlinked 10000 (time 1711091999 ; total 46 ; last 46) - unlinked 20000 (time 1711092021 ; total 68 ; last 22) - unlinked 30000 (time 1711092044 ; total 91 ; last 23) - unlinked 40000 (time 1711092066 ; total 113 ; last 22) unlink(/mnt/lustre2/lockdir/lockfile41661) error: No such file or directory total: 41660 unlinks in 117 seconds: 356.068390 unlinks/second /home/green/git/lustre-release/lustre/tests/lockorder.sh: line 77: kill: (23861) - No such process /home/green/git/lustre-release/lustre/tests/lockorder.sh: line 78: kill: (23864) - No such process PASS 12 (169s) 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 ========================================================== 03:21:12 (1711092072) multiop /mnt/lustre/d14aa.sanityn/f14aa.sanityn vOw_c TMPPIPE=/tmp/multiop_open_wait_pipe.9012 /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 4661: 24743 Terminated $MULTIOP_PROG $FILE v$ARGS > $TMPPIPE (wd: ~) PASS 14aa (2s) 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 ========================================================== 03:21:15 (1711092075) open(O_RDWR|O_CREAT): Text file busy /home/green/git/lustre-release/lustre/tests/test-framework.sh: line 4661: 25482 Terminated $DIR1/$tdir/sleep 60 (wd: ~) PASS 14ab (2s) 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 ================================================================ 03:21:18 (1711092078) 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: 26218 Terminated $DIR1/$tdir/sleep 60 PASS 14b (2s) 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 ============================================================ 03:21:21 (1711092081) cp: cannot create regular file '/mnt/lustre2/d14c.sanityn/sleep': Text file busy /home/green/git/lustre-release/lustre/tests/sanityn.sh: line 363: 26957 Terminated $DIR1/$tdir/sleep 60 PASS 14c (2s) 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 ================================================================== 03:21:24 (1711092084) chmod /home/green/git/lustre-release/lustre/tests/sanityn.sh: line 374: 27696 Terminated $DIR1/$tdir/sleep 60 PASS 14d (2s) debug_raw_pointers=1 debug_raw_pointers=1 debug_raw_pointers=Y debug_raw_pointers=Y == sanityn test 17: resource creation/LVB creation race ========================================================================= 03:21:27 (1711092087) fail_loc=0x8000030a PASS 17 (4s) debug_raw_pointers=1 debug_raw_pointers=1 debug_raw_pointers=Y debug_raw_pointers=Y == sanityn test 19: test concurrent uncached read races ========================================================================= 03:21:33 (1711092093) oleg448-server: error: get_param: param_path 'osd-*/lustre-MDT*/read_cache_enable': No such file or directory pdsh@oleg448-client: oleg448-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 ============================================================== 03:21:35 (1711092095) PASS 20 (2s) 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============================================================== 03:21:38 (1711092098) now is 1711092099 starting reads multiop /mnt/lustre/f23.sanityn vor20_c TMPPIPE=/tmp/multiop_open_wait_pipe.9012 new atime is 1711092160 PASS 23 (63s) 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 ============================================================= 03:22:42 (1711092162) 4+0 records in 4+0 records out 16793600 bytes (17 MB) copied, 0.129541 s, 130 MB/s dd 1 started dd 2 started 1+0 records in 1+0 records out 15728640 bytes (16 MB) copied, 0.156498 s, 101 MB/s 1+0 records in 1+0 records out 8192 bytes (8.2 kB) copied, 0.00365264 s, 2.2 MB/s dd 3 finished PASS 27 (4s) 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 ========================================================== 03:22:48 (1711092168) repeat after cancel_lru_locks PASS 39a (1s) 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 ========================================================== 03:22:51 (1711092171) repeat after cancel_lru_locks PASS 39b (2s) debug_raw_pointers=1 debug_raw_pointers=1 debug_raw_pointers=Y debug_raw_pointers=Y == sanityn test 39c: check truncate mtime update ================================================================================ 03:22:55 (1711092175) repeat after cancel_lru_locks PASS 39c (3s) debug_raw_pointers=1 debug_raw_pointers=1 debug_raw_pointers=Y debug_raw_pointers=Y == sanityn test 39d: sync write should update mtime ====== 03:22:59 (1711092179) fail_loc=0x411 fail_loc=0 PASS 39d (2s) 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 ========================================================== 03:23:02 (1711092182) 0+1 records in 0+1 records out 159 bytes (159 B) copied, 0.00311003 s, 51.1 kB/s /home/green/git/lustre-release/lustre/tests/sanityn.sh: line 3445: kill: (3332) - No such process PASS 51a (3s) 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 ========================================================== 03:23:07 (1711092187) fail_loc=0x172 Setting layout to have 2 stripes ... 1+0 records in 1+0 records out 1024 bytes (1.0 kB) copied, 0.00480071 s, 213 kB/s PASS 51c (5s) 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 ========================================================== 03:23:14 (1711092194) 1+0 records in 1+0 records out 1048576 bytes (1.0 MB) copied, 0.00836867 s, 125 MB/s Before revoking layout lock: 1024 KB mapped PASS 51d (2s) debug_raw_pointers=1 debug_raw_pointers=1 debug_raw_pointers=Y debug_raw_pointers=Y == sanityn test 107a: Basic grouplock conflict =========== 03:23:18 (1711092198) 10+0 records in 10+0 records out 10485760 bytes (10 MB) copied, 0.0952735 s, 110 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.9012 multiop /mnt/lustre2/f107a.sanityn vO_G16022000r10g16022000c TMPPIPE=/tmp/multiop_open_wait_pipe.9012 First grouplock blocks second one PASS 107a (3s) 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 ========================================================== 03:23:23 (1711092203) 10+0 records in 10+0 records out 10485760 bytes (10 MB) copied, 0.0698996 s, 150 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.9012 Grouplock blocks IO First grouplock blocks second one Second grouplock blocks IO PASS 107b (7s) debug_raw_pointers=1 debug_raw_pointers=1 cleanup: ====================================================== == sanityn test complete, duration 371 sec =============== 03:23:31 (1711092211) === sanityn: start cleanup 03:23:32 (1711092212) === Stopping clients: oleg448-client.virtnet /mnt/lustre2 (opts:) Stopping client oleg448-client.virtnet /mnt/lustre2 opts: === sanityn: finish cleanup 03:23:32 (1711092212) ===