== sanity-dom test sanity: Run sanity with Data-on-MDT files ========================================================== 07:07:28 (1750590448) 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 oleg441-server: /home/green/git/lustre-release/lustre/tests/except/sanity.0f.ex oleg441-server: /home/green/git/lustre-release/lustre/tests/except/sanity.ex - see client > v2_15_63-134-gdacc4b6d38 for LU-15963, go 312 - need mds1 <= 2.14.55-100-g8a84c7f9c7 for LU-14927, skip 0f - need mds1 < v2_14_55-100-g8a84c7f9c7 for LU-14927, skip 0f excepting tests: 42a 42c 42b 118c 118d 407 119i 411b skipping tests SLOW=no: 27m 60i 64b 68 71 135 136 230d 300o 842 === sanity: start setup 07:07:41 (1750590461) === Stopping clients: oleg441-client.virtnet /mnt/lustre2 (opts:) Stopping client oleg441-client.virtnet /mnt/lustre2 opts: oleg441-client.virtnet: executing check_config_client /mnt/lustre oleg441-client.virtnet: Checking config lustre mounted on /mnt/lustre Checking servers environments Checking clients oleg441-client.virtnet environments Using TIMEOUT=20 osc.lustre-OST0000-osc-ffff8800b6349800.idle_timeout=debug osc.lustre-OST0001-osc-ffff8800b6349800.idle_timeout=debug disable quota as required oleg441-server: oleg441-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all osd-ldiskfs.track_declares_assert=1 === sanity: finish setup 07:08:00 (1750590480) === 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/f16697] preparing for tests involving mounts mke2fs 1.46.2.wc5 (26-Mar-2022) debug=all == sanity test 36a: MDS utime check (mknod, utime) ======= 07:08:03 (1750590483) utime: good mknod times 1750590482 <= 1750590483 <= 1750590483 for /mnt/lustre/f36 utime: good utime mtimes 100000, atime 200000 PASS 36a (3s) == sanity test 36b: OST utime check (open, utime) ======== 07:08:06 (1750590486) utime: good utime mtimes 100000, atime 200000 PASS 36b (2s) == sanity test 36c: non-root MDS utime check (mknod, utime) ========================================================== 07:08:08 (1750590488) striped dir -i0 -c2 -H fnv_1a_64 /mnt/lustre/d36 running as uid/gid/euid/egid 500/500/500/500, groups: 500 [utime] [/mnt/lustre/d36/f36] utime: good mknod times 1750590488 <= 1750590489 <= 1750590489 for /mnt/lustre/d36/f36 utime: good utime mtimes 100000, atime 200000 PASS 36c (3s) == sanity test 36d: non-root OST utime check (open, utime) ========================================================== 07:08:11 (1750590491) running as uid/gid/euid/egid 500/500/500/500, groups: 500 [utime] [/mnt/lustre/d36/f36] utime: good utime mtimes 100000, atime 200000 PASS 36d (3s) == sanity test 36e: utime on non-owned file (should return error) ========================================================== 07:08:14 (1750590494) striped dir -i0 -c2 -H crush2 /mnt/lustre/d36e.sanity running as uid/gid/euid/egid 500/500/500/500, groups: 500 [utime] [/mnt/lustre/d36e.sanity/f36e.sanity] utime: utime(/mnt/lustre/d36e.sanity/f36e.sanity) failed: rc 1: Operation not permitted PASS 36e (3s) == sanity test 36f: utime on file racing with OST BRW write ==================================================================== 07:08:17 (1750590497) striped dir -i0 -c2 -H crush2 /mnt/lustre/d36f.sanity fail_loc=0x80000214 Sun Jun 22 07:08:17 EDT 2025 1750590497 Sun Jun 22 07:08:18 EDT 2025 1750590498 PASS 36f (4s) == sanity test 36g: FMD cache expiry =============================================================================== 07:08:21 (1750590501) striped dir -i0 -c2 -H all_char /mnt/lustre/d36g.sanity FMD max age: 30s FMD before: 6 FMD after: 0 PASS 36g (46s) == sanity test 36h: utime on file racing with OST BRW write ==================================================================== 07:09:07 (1750590547) striped dir -i0 -c2 -H all_char /mnt/lustre/d36h.sanity fail_loc=0x80000227 Sun Jun 22 07:09:08 EDT 2025 1750590548 Sun Jun 22 07:09:09 EDT 2025 1750590549 PASS 36h (4s) == sanity test 36i: change mtime on striped directory ==== 07:09:11 (1750590551) striped dir -i0 -c2 -H all_char /mnt/lustre/d36i.sanity PASS 36i (3s) == sanity test 39a: mtime changed on create ============== 07:09:14 (1750590554) Succeed in opening file "/mnt/lustre/f39a.sanity2"(flags=O_CREAT) PASS 39a (6s) == sanity test 39b: mtime change on open, link, unlink, rename ================================================================ 07:09:20 (1750590560) striped dir -i1 -c1 -H fnv_1a_64 /mnt/lustre/d39b.sanity repeat after cancel_lru_locks PASS 39b (6s) == sanity test 39c: mtime change on rename ===================================================================================== 07:09:26 (1750590566) repeat after cancel_lru_locks PASS 39c (5s) == sanity test 39d: create, utime, stat ======================================================================================== 07:09:31 (1750590571) repeat after cancel_lru_locks PASS 39d (4s) == sanity test 39e: create, stat, utime, stat ================================================================================== 07:09:35 (1750590575) repeat after cancel_lru_locks PASS 39e (4s) == sanity test 39f: create, stat, sleep, utime, stat =========================================================================== 07:09:39 (1750590579) repeat after cancel_lru_locks PASS 39f (5s) == sanity test 39g: write, chmod, stat ========================================================================================= 07:09:44 (1750590584) repeat after cancel_lru_locks PASS 39g (5s) == sanity test 39h: write, utime within one second, stat ======================================================================= 07:09:49 (1750590589) repeat after cancel_lru_locks PASS 39h (4s) == sanity test 39i: write, rename, stat ======================================================================================== 07:09:53 (1750590593) repeat after cancel_lru_locks PASS 39i (5s) == sanity test 39j: write, rename, close, stat ================================================================================= 07:09:58 (1750590598) debug=-1 debug_mb=150 debug=-1 debug_mb=150 fail_loc=0x80000412 multiop /mnt/lustre/f39j.sanity voO_RDWR:w2097152_c TMPPIPE=/tmp/multiop_open_wait_pipe.16697 repeat after cancel_lru_locks fail_loc=0 debug_mb=21 debug_mb=21 PASS 39j (8s) == sanity test 39k: write, utime, close, stat ================================================================================== 07:10:06 (1750590606) multiop /mnt/lustre/f39k.sanity voO_RDWR:w2097152_c TMPPIPE=/tmp/multiop_open_wait_pipe.16697 repeat after cancel_lru_locks PASS 39k (6s) == sanity test 39l: directory atime update ===================================================================================== 07:10:12 (1750590612) PASS 39l (12s) == sanity test 39m: test atime and mtime before 1970 ===== 07:10:24 (1750590624) repeat after cancel_lru_locks PASS 39m (5s) == sanity test 39n: check that O_NOATIME is honored ====== 07:10:29 (1750590629) 1+0 records in 1+0 records out PASS 39n (15s) == sanity test 39o: directory cached attributes updated after create ========================================================== 07:10:44 (1750590644) a b PASS 39o (4s) == sanity test 39p: remote directory cached attributes updated after create ================================================================== 07:10:48 (1750590648) striped dir -i1 -c2 -H crush2 /mnt/lustre/d39p.sanity/d39p.sanity striped dir -i1 -c2 -H fnv_1a_64 /mnt/lustre/d39p.sanity/d39p.sanity/remote_dir1 striped dir -i1 -c2 -H crush2 /mnt/lustre/d39p.sanity/d39p.sanity/remote_dir2 remote_dir1 remote_dir2 PASS 39p (4s) == sanity test 39r: lazy atime update on OST ============= 07:10:52 (1750590652) obdfilter.lustre-OST0000.atime_diff=5 obdfilter.lustre-OST0001.atime_diff=5 1+0 records in 1+0 records out 4096 bytes (4.1 kB) copied, 0.00350982 s, 1.2 MB/s 1+0 records in 1+0 records out 4096 bytes (4.1 kB) copied, 0.0207045 s, 198 kB/s client atime: 1750590664 OST atime: atime: 0x6857e4c8:00000000 -- Sun Jun 22 07:11:04 2025 obdfilter.lustre-OST0000.atime_diff=0 obdfilter.lustre-OST0001.atime_diff=0 PASS 39r (18s) == sanity test 39q: close won't zero out atime =========== 07:11:10 (1750590670) multiop /mnt/lustre/d39q.sanity vD_c TMPPIPE=/tmp/multiop_open_wait_pipe.16697 PASS 39q (4s) == sanity test 39s: relatime is supported ================ 07:11:14 (1750590674) 192.168.204.141@tcp:/lustre /mnt/lustre lustre rw,checksum,noencrypt,flock,lazystatfs,lruresize,nolock,statfs_project,nouser_fid2path,user_xattr,verbose 0 0 Stopping client oleg441-client.virtnet /mnt/lustre (opts:) Starting client: oleg441-client.virtnet: -o relatime 192.168.204.141@tcp:/lustre /mnt/lustre 1+0 records in 1+0 records out Stopping client oleg441-client.virtnet /mnt/lustre (opts:) Starting client: oleg441-client.virtnet: -o user_xattr,flock 192.168.204.141@tcp:/lustre /mnt/lustre PASS 39s (11s) == sanity test 39u: stat race ============================ 07:11:25 (1750590685) 1+0 records in 1+0 records out 1048576 bytes (1.0 MB) copied, 0.0851548 s, 12.3 MB/s fail_loc=0x80001434 PASS 39u (17s) == sanity test 40: failed open(O_TRUNC) doesn't truncate ======================================================================= 07:11:42 (1750590702) 1+0 records in 1+0 records out 4096 bytes (4.1 kB) copied, 0.00891612 s, 459 kB/s running as uid/gid/euid/egid 500/500/500/500, groups: 500 [openfile] [-f] [O_WRONLY:O_TRUNC] [/mnt/lustre/f40.sanity] Error in opening file "/mnt/lustre/f40.sanity"(flags=O_WRONLY) 13: Permission denied /mnt/lustre/f40.sanity has type file OK /mnt/lustre/f40.sanity has size 4096 OK PASS 40 (3s) == sanity test 41: test small file write + fstat =============================================================================== 07:11:46 (1750590706) First String: abcdefghijklmnopqr Second String: abcdefghiabcdefghijklmnopqr abcdefghiabcdefghijklmnopqr abcdefghiabcdefghijklmnopqr Pass! PASS 41 (3s) == sanity test 42d: test complete truncate of file with cached dirty data ========================================================== 07:11:50 (1750590710) debug=+cache vm.dirty_writeback_centisecs = 0 vm.dirty_writeback_centisecs = 0 vm.dirty_ratio = 50 vm.dirty_background_ratio = 25 100+0 records in 100+0 records out 102400 bytes (102 kB) copied, 0.0366924 s, 2.8 MB/s vm.dirty_writeback_centisecs = 500 vm.dirty_background_ratio = 10 vm.dirty_ratio = 20 checking grant......UUID 1K-blocks Used Available Use% Mounted on lustre-MDT0000_UUID 1414116 3416 1284216 1% /mnt/lustre[MDT:0] lustre-MDT0001_UUID 1414116 1888 1285800 1% /mnt/lustre[MDT:1] lustre-OST0000_UUID 3833116 1544 3605476 1% /mnt/lustre[OST:0] lustre-OST0001_UUID 3833116 2560 3604460 1% /mnt/lustre[OST:1] filesystem_summary: 7666232 4104 7209936 1% /mnt/lustre pass grant check: client:16875520 server:16875520 PASS 42d (4s) == sanity test 42e: verify sub-RPC writes are not done synchronously ========================================================== 07:11:54 (1750590714) striped dir -i0 -c2 -H crush /mnt/lustre/d42e.sanitye total: 1000 open/close in 6.51 seconds: 153.58 ops/second total: 934 open/close in 6.24 seconds: 149.71 ops/second 1+0 records in 1+0 records out 489684992 bytes (490 MB) copied, 21.1767 s, 23.1 MB/s osc.lustre-OST0000-osc-ffff8800a86df800.cur_dirty_bytes=0 osc.lustre-OST0000-osc-ffff8800a86df800.cur_grant_bytes=79585280 osc.lustre-OST0000-osc-ffff8800a86df800.cur_dirty_bytes=71188480 osc.lustre-OST0000-osc-ffff8800a86df800.cur_grant_bytes=0 osc.lustre-OST0000-osc-ffff8800a86df800.rpc_stats=0 osc.lustre-OST0000-osc-ffff8800a86df800.rpc_stats= snapshot_time: 1750590831.387387481 secs.nsecs start_time: 1750590824.743518820 secs.nsecs elapsed_time: 6.643868661 secs.nsecs read RPCs in flight: 0 write RPCs in flight: 0 DIO RPCs in flight: 0 pending write pages: 0 pending read pages: 0 read write pages per rpc rpcs % cum % | rpcs % cum % 1: 0 0 0 | 332 80 80 2: 0 0 0 | 0 0 80 4: 0 0 0 | 1 0 80 8: 0 0 0 | 0 0 80 16: 0 0 0 | 13 3 83 32: 0 0 0 | 0 0 83 64: 0 0 0 | 1 0 83 128: 0 0 0 | 0 0 83 256: 0 0 0 | 68 16 100 read write rpcs in flight rpcs % cum % | rpcs % cum % 1: 0 0 0 | 341 82 82 2: 0 0 0 | 44 10 92 3: 0 0 0 | 18 4 97 4: 0 0 0 | 3 0 97 5: 0 0 0 | 2 0 98 6: 0 0 0 | 1 0 98 7: 0 0 0 | 6 1 100 read write offset rpcs % cum % | rpcs % cum % 0: 0 0 0 | 103 24 24 1: 0 0 0 | 21 5 29 2: 0 0 0 | 42 10 40 4: 0 0 0 | 84 20 60 8: 0 0 0 | 165 39 100 sanity test_42e: @@@@@@ FAIL: less than 16-pages write RPCs 80% > 15% Trace dump: = /home/green/git/lustre-release/lustre/tests/test-framework.sh:7348:error() = /home/green/git/lustre-release/lustre/tests/sanity.sh:5866:test_42e() = /home/green/git/lustre-release/lustre/tests/test-framework.sh:7725:run_one() = /home/green/git/lustre-release/lustre/tests/test-framework.sh:7788:run_one_logged() = /home/green/git/lustre-release/lustre/tests/test-framework.sh:7587:run_test() = /home/green/git/lustre-release/lustre/tests/sanity.sh:5873:main() Dumping lctl log to /tmp/testlogs//sanity.test_42e.*.1750590832.log rsync: chown "/tmp/testlogs/.sanity.test_42e.debug_log.oleg441-server.1750590832.log.MElAxd" failed: Operation not permitted (1) rsync: chown "/tmp/testlogs/.sanity.test_42e.dmesg.oleg441-server.1750590832.log.1pnprx" 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] checking grant......UUID 1K-blocks Used Available Use% Mounted on lustre-MDT0000_UUID 1414116 3516 1284172 1% /mnt/lustre[MDT:0] lustre-MDT0001_UUID 1414116 1988 1285700 1% /mnt/lustre[MDT:1] lustre-OST0000_UUID 3833116 42768 3564164 2% /mnt/lustre[OST:0] lustre-OST0001_UUID 3833116 2560 3604460 1% /mnt/lustre[OST:1] filesystem_summary: 7666232 45328 7168624 1% /mnt/lustre pass grant check: client:498319360 server:498319360 FAIL 42e (145s) == sanity test 43A: execution of file opened for write should return -ETXTBSY ========================================================== 07:14:19 (1750590859) striped dir -i1 -c2 -H crush /mnt/lustre/d43A.sanity /home/green/git/lustre-release/lustre/tests/sanity.sh: line 5883: /mnt/lustre/d43A.sanity/f43A.sanity: Text file busy PASS 43A (4s) == sanity test 43a: open(RDWR) of file being executed should return -ETXTBSY ========================================================== 07:14:23 (1750590863) striped dir -i1 -c2 -H all_char /mnt/lustre/d43a.sanity open(O_RDWR|O_CREAT): Text file busy /home/green/git/lustre-release/lustre/tests/test-framework.sh: line 4953: 13249 Terminated $DIR/$tdir/sleep 60 (wd: ~) PASS 43a (3s) == sanity test 43b: truncate of file being executed should return -ETXTBSY ========================================================== 07:14:27 (1750590867) striped dir -i1 -c2 -H all_char /mnt/lustre/d43b.sanity truncate: cannot truncate '/mnt/lustre/d43b.sanity/sleep' to length 0: Text file busy /home/green/git/lustre-release/lustre/tests/test-framework.sh: line 4953: 13898 Terminated $DIR/$tdir/sleep 60 (wd: ~) PASS 43b (5s) == sanity test 43c: md5sum of copy into lustre =========== 07:14:31 (1750590871) striped dir -i1 -c2 -H all_char /mnt/lustre/d43c.sanity bash: OK PASS 43c (3s) == sanity test 46: dirtying a previously written page ========================================================================== 07:14:34 (1750590874) vm.dirty_writeback_centisecs = 0 vm.dirty_writeback_centisecs = 0 vm.dirty_ratio = 50 vm.dirty_background_ratio = 25 1+0 records in 1+0 records out 4096 bytes (4.1 kB) copied, 0.00729986 s, 561 kB/s 1+0 records in 1+0 records out 4096 bytes (4.1 kB) copied, 0.00749053 s, 547 kB/s 1+0 records in 1+0 records out 4096 bytes (4.1 kB) copied, 0.00125786 s, 3.3 MB/s vm.dirty_writeback_centisecs = 500 vm.dirty_background_ratio = 10 vm.dirty_ratio = 20 PASS 46 (2s) == sanity test 56r: check lfs find -size works =========== 07:14:37 (1750590877) striped dir -i0 -c2 -H fnv_1a_64 /mnt/lustre/d56r.sanity striped dir -i0 -c2 -H crush2 /mnt/lustre/d56r.sanity/dir1 striped dir -i0 -c2 -H crush /mnt/lustre/d56r.sanity/dir2 striped dir -i0 -c2 -H fnv_1a_64 /mnt/lustre/d56r.sanity/dir3 PASS 56r (4s) == sanity test 101e: check read-ahead for small read(1k) for small files(500k) ========================================================== 07:14:42 (1750590882) Creating 100 500K test files Cancel LRU locks on lustre client to flush the client cache Reset readahead stats llite.lustre-ffff8800a86df800.max_cached_mb= users: 6 max_cached_mb: 1865 used_mb: 49 unused_mb: 1816 unevict_mb: 0 reclaim_count: 0 max_read_ahead_mb: 256 used_read_ahead_mb: 0 llite.lustre-ffff8800a86df800.read_ahead_stats= snapshot_time 1750590918.753234666 secs.nsecs start_time 1750590906.909672083 secs.nsecs elapsed_time 11.843562583 secs.nsecs hits 12300 samples [pages] misses 200 samples [pages] zero_size_window 100 samples [pages] failed_to_fast_read 200 samples [pages] readahead_pages 100 samples [pages] 123 123 12300 PASS 101e (42s) resend_count is set to 4 4 resend_count is set to 4 4 resend_count is set to 4 4 resend_count is set to 4 4 resend_count is set to 4 4 == sanity test 119a: Short directIO read must return actual read amount ========================================================== 07:15:24 (1750590924) directio on /mnt/lustre/f119a.sanity for 1x524288 bytes PASS PASS 119a (4s) == sanity test 131a: test iov's crossing stripe boundary for writev/readv ========================================================== 07:15:28 (1750590928) PASS 131a (4s) == sanity test 131b: test append writev ================== 07:15:32 (1750590932) /mnt/lustre/f131b.sanity has type file OK /mnt/lustre/f131b.sanity has size 3145728 OK /mnt/lustre/f131b.sanity has type file OK /mnt/lustre/f131b.sanity has size 5767168 OK PASS 131b (4s) == sanity test 131c: test read/write on file w/o objects ========================================================== 07:15:36 (1750590936) Write error: Bad file descriptor (rc = -1, len = 1048576) PASS 131c (4s) == sanity test 131d: test short read ===================== 07:15:40 (1750590940) PASS 131d (3s) == sanity test 131e: test read hitting hole ============== 07:15:44 (1750590944) PASS 131e (3s) == sanity test 150a: truncate/append tests =============== 07:15:47 (1750590947) 1+0 records in 1+0 records out 6096 bytes (6.1 kB) copied, 0.000427967 s, 14.2 MB/s Stopping client oleg441-client.virtnet /mnt/lustre (opts:) Starting client: oleg441-client.virtnet: -o user_xattr,flock 192.168.204.141@tcp:/lustre /mnt/lustre Filesystem 1024-blocks Used Available Capacity Mounted on 192.168.204.141@tcp:/lustre 7666232 4112 7209928 1% /mnt/lustre Waiting for MDT destroys to complete PASS 150a (13s) == sanity test 150b: Verify fallocate (prealloc) functionality ========================================================== 07:16:00 (1750590960) keep default fallocate mode: 0