== sanity-dom test sanity: Run sanity with Data-on-MDT files ========================================================== 13:16:13 (1743527773) 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: 42a 42c 42b 118c 118d 407 56x 56xa 56xb 411b skipping tests SLOW=no: 27m 60i 64b 68 71 135 136 230d 300o 842 === sanity: start setup 13:16:18 (1743527778) === Stopping clients: oleg217-client.virtnet /mnt/lustre2 (opts:) Stopping client oleg217-client.virtnet /mnt/lustre2 opts: oleg217-client.virtnet: executing check_config_client /mnt/lustre oleg217-client.virtnet: Checking config lustre mounted on /mnt/lustre Checking servers environments Checking clients oleg217-client.virtnet environments Using TIMEOUT=20 osc.lustre-OST0000-osc-ffff8800b6042000.idle_timeout=debug osc.lustre-OST0001-osc-ffff8800b6042000.idle_timeout=debug disable quota as required oleg217-server: oleg217-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 13:16:26 (1743527786) === 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/f14979] preparing for tests involving mounts mke2fs 1.46.2.wc5 (26-Mar-2022) debug=all == sanity test 36a: MDS utime check (mknod, utime) ======= 13:16:27 (1743527787) utime: good mknod times 1743527786 <= 1743527787 <= 1743527787 for /mnt/lustre/f36 utime: good utime mtimes 100000, atime 200000 PASS 36a (1s) == sanity test 36b: OST utime check (open, utime) ======== 13:16:28 (1743527788) utime: good utime mtimes 100000, atime 200000 PASS 36b (2s) == sanity test 36c: non-root MDS utime check (mknod, utime) ========================================================== 13:16:30 (1743527790) striped dir -i0 -c2 -H crush /mnt/lustre/d36 running as uid/gid/euid/egid 500/500/500/500, groups: [utime] [/mnt/lustre/d36/f36] utime: good mknod times 1743527789 <= 1743527790 <= 1743527790 for /mnt/lustre/d36/f36 utime: good utime mtimes 100000, atime 200000 PASS 36c (1s) == sanity test 36d: non-root OST utime check (open, utime) ========================================================== 13:16:31 (1743527791) running as uid/gid/euid/egid 500/500/500/500, groups: [utime] [/mnt/lustre/d36/f36] utime: good utime mtimes 100000, atime 200000 PASS 36d (2s) == sanity test 36e: utime on non-owned file (should return error) ========================================================== 13:16:33 (1743527793) striped dir -i0 -c2 -H fnv_1a_64 /mnt/lustre/d36e.sanity running as uid/gid/euid/egid 500/500/500/500, groups: [utime] [/mnt/lustre/d36e.sanity/f36e.sanity] utime: utime(/mnt/lustre/d36e.sanity/f36e.sanity) failed: rc 1: Operation not permitted PASS 36e (2s) == sanity test 36f: utime on file racing with OST BRW write ==================================================================== 13:16:35 (1743527795) striped dir -i0 -c2 -H crush2 /mnt/lustre/d36f.sanity fail_loc=0x80000214 Tue Apr 1 13:16:35 EDT 2025 1743527795 Tue Apr 1 13:16:36 EDT 2025 1743527796 PASS 36f (3s) == sanity test 36g: FMD cache expiry =============================================================================== 13:16:38 (1743527798) striped dir -i0 -c2 -H crush /mnt/lustre/d36g.sanity FMD max age: 30s FMD before: 7 FMD after: 0 PASS 36g (44s) == sanity test 36h: utime on file racing with OST BRW write ==================================================================== 13:17:22 (1743527842) striped dir -i0 -c2 -H fnv_1a_64 /mnt/lustre/d36h.sanity fail_loc=0x80000227 Tue Apr 1 13:17:23 EDT 2025 1743527843 Tue Apr 1 13:17:24 EDT 2025 1743527844 PASS 36h (3s) == sanity test 36i: change mtime on striped directory ==== 13:17:25 (1743527845) striped dir -i0 -c2 -H fnv_1a_64 /mnt/lustre/d36i.sanity PASS 36i (1s) == sanity test 39a: mtime changed on create ============== 13:17:26 (1743527846) Succeed in opening file "/mnt/lustre/f39a.sanity2"(flags=O_CREAT) PASS 39a (4s) == sanity test 39b: mtime change on open, link, unlink, rename ================================================================ 13:17:30 (1743527850) striped dir -i1 -c1 -H fnv_1a_64 /mnt/lustre/d39b.sanity repeat after cancel_lru_locks PASS 39b (2s) == sanity test 39c: mtime change on rename ===================================================================================== 13:17:32 (1743527852) repeat after cancel_lru_locks PASS 39c (4s) == sanity test 39d: create, utime, stat ======================================================================================== 13:17:36 (1743527856) repeat after cancel_lru_locks PASS 39d (1s) == sanity test 39e: create, stat, utime, stat ================================================================================== 13:17:37 (1743527857) repeat after cancel_lru_locks PASS 39e (2s) == sanity test 39f: create, stat, sleep, utime, stat =========================================================================== 13:17:39 (1743527859) repeat after cancel_lru_locks PASS 39f (3s) == sanity test 39g: write, chmod, stat ========================================================================================= 13:17:42 (1743527862) repeat after cancel_lru_locks PASS 39g (3s) == sanity test 39h: write, utime within one second, stat ======================================================================= 13:17:45 (1743527865) repeat after cancel_lru_locks PASS 39h (3s) == sanity test 39i: write, rename, stat ======================================================================================== 13:17:48 (1743527868) repeat after cancel_lru_locks PASS 39i (2s) == sanity test 39j: write, rename, close, stat ================================================================================= 13:17:50 (1743527870) 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.14979 repeat after cancel_lru_locks fail_loc=0 debug_mb=21 debug_mb=21 PASS 39j (6s) == sanity test 39k: write, utime, close, stat ================================================================================== 13:17:56 (1743527876) multiop /mnt/lustre/f39k.sanity voO_RDWR:w2097152_c TMPPIPE=/tmp/multiop_open_wait_pipe.14979 repeat after cancel_lru_locks PASS 39k (3s) == sanity test 39l: directory atime update ===================================================================================== 13:17:59 (1743527879) PASS 39l (8s) == sanity test 39m: test atime and mtime before 1970 ===== 13:18:07 (1743527887) repeat after cancel_lru_locks PASS 39m (4s) == sanity test 39n: check that O_NOATIME is honored ====== 13:18:11 (1743527891) 1+0 records in 1+0 records out PASS 39n (12s) == sanity test 39o: directory cached attributes updated after create ========================================================== 13:18:23 (1743527903) a b PASS 39o (1s) == sanity test 39p: remote directory cached attributes updated after create ================================================================== 13:18:25 (1743527905) striped dir -i1 -c2 -H crush2 /mnt/lustre/d39p.sanity/d39p.sanity striped dir -i1 -c2 -H all_char /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 (1s) == sanity test 39r: lazy atime update on OST ============= 13:18:26 (1743527906) 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.00266258 s, 1.5 MB/s 1+0 records in 1+0 records out 4096 bytes (4.1 kB) copied, 0.00567077 s, 722 kB/s client atime: 1743527917 OST atime: atime: 0x67ec1fed:00000000 -- Tue Apr 1 13:18:37 2025 obdfilter.lustre-OST0000.atime_diff=0 obdfilter.lustre-OST0001.atime_diff=0 PASS 39r (14s) == sanity test 39q: close won't zero out atime =========== 13:18:40 (1743527920) multiop /mnt/lustre/d39q.sanity vD_c TMPPIPE=/tmp/multiop_open_wait_pipe.14979 PASS 39q (1s) == sanity test 39s: relatime is supported ================ 13:18:41 (1743527921) 192.168.202.117@tcp:/lustre /mnt/lustre lustre rw,checksum,flock,user_xattr,lruresize,lazystatfs,nouser_fid2path,verbose,noencrypt,statfs_project 0 0 Stopping client oleg217-client.virtnet /mnt/lustre (opts:) Starting client: oleg217-client.virtnet: -o relatime oleg217-server@tcp:/lustre /mnt/lustre 1+0 records in 1+0 records out Stopping client oleg217-client.virtnet /mnt/lustre (opts:) Starting client: oleg217-client.virtnet: -o user_xattr,flock oleg217-server@tcp:/lustre /mnt/lustre PASS 39s (7s) == sanity test 40: failed open(O_TRUNC) doesn't truncate ======================================================================= 13:18:48 (1743527928) 1+0 records in 1+0 records out 4096 bytes (4.1 kB) copied, 0.00426847 s, 960 kB/s running as uid/gid/euid/egid 500/500/500/500, groups: [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 (2s) == sanity test 41: test small file write + fstat =============================================================================== 13:18:50 (1743527930) First String: abcdefghijklmnopqr Second String: abcdefghiabcdefghijklmnopqr abcdefghiabcdefghijklmnopqr abcdefghiabcdefghijklmnopqr Pass! PASS 41 (2s) == sanity test 42d: test complete truncate of file with cached dirty data ========================================================== 13:18:53 (1743527933) 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.0212302 s, 4.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 4500 1283132 1% /mnt/lustre[MDT:0] lustre-MDT0001_UUID 1414116 1880 1285808 1% /mnt/lustre[MDT:1] lustre-OST0000_UUID 3833116 2612 3604408 1% /mnt/lustre[OST:0] lustre-OST0001_UUID 3833116 2560 3604460 1% /mnt/lustre[OST:1] filesystem_summary: 7666232 5172 7208868 1% /mnt/lustre pass grant check: client:16875520 server:16875520 PASS 42d (2s) == sanity test 42e: verify sub-RPC writes are not done synchronously ========================================================== 13:18:55 (1743527935) striped dir -i0 -c2 -H fnv_1a_64 /mnt/lustre/d42e.sanitye total: 1000 open/close in 2.52 seconds: 397.42 ops/second total: 934 open/close in 1.94 seconds: 480.58 ops/second 1+0 records in 1+0 records out 489684992 bytes (490 MB) copied, 14.4871 s, 33.8 MB/s osc.lustre-OST0000-osc-ffff8800b58d8800.cur_dirty_bytes=0 osc.lustre-OST0000-osc-ffff8800b58d8800.cur_grant_bytes=494551040 osc.lustre-OST0000-osc-ffff8800b58d8800.cur_dirty_bytes=251658240 osc.lustre-OST0000-osc-ffff8800b58d8800.cur_grant_bytes=241836032 osc.lustre-OST0000-osc-ffff8800b58d8800.rpc_stats=0 osc.lustre-OST0000-osc-ffff8800b58d8800.rpc_stats= snapshot_time: 1743527991.116234375 secs.nsecs start_time: 1743527988.459331671 secs.nsecs elapsed_time: 2.656902704 secs.nsecs read RPCs in flight: 0 write 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 | 0 0 0 2: 0 0 0 | 0 0 0 4: 0 0 0 | 0 0 0 8: 0 0 0 | 0 0 0 16: 0 0 0 | 33 12 12 32: 0 0 0 | 0 0 12 64: 0 0 0 | 0 0 12 128: 0 0 0 | 0 0 12 256: 0 0 0 | 238 87 100 read write rpcs in flight rpcs % cum % | rpcs % cum % 1: 0 0 0 | 66 24 24 2: 0 0 0 | 202 74 98 3: 0 0 0 | 3 1 100 read write offset rpcs % cum % | rpcs % cum % 0: 0 0 0 | 271 100 100 checking grant......UUID 1K-blocks Used Available Use% Mounted on lustre-MDT0000_UUID 1414116 4596 1283092 1% /mnt/lustre[MDT:0] lustre-MDT0001_UUID 1414116 1980 1285708 1% /mnt/lustre[MDT:1] lustre-OST0000_UUID 3833116 244340 3362680 7% /mnt/lustre[OST:0] lustre-OST0001_UUID 3833116 2560 3604460 1% /mnt/lustre[OST:1] filesystem_summary: 7666232 246900 6967140 4% /mnt/lustre pass grant check: client:498319360 server:498319360 PASS 42e (66s) == sanity test 43A: execution of file opened for write should return -ETXTBSY ========================================================== 13:20:01 (1743528001) striped dir -i1 -c2 -H crush2 /mnt/lustre/d43A.sanity /home/green/git/lustre-release/lustre/tests/sanity.sh: line 5731: /mnt/lustre/d43A.sanity/f43A.sanity: Text file busy PASS 43A (3s) == sanity test 43a: open(RDWR) of file being executed should return -ETXTBSY ========================================================== 13:20:04 (1743528004) striped dir -i1 -c2 -H crush /mnt/lustre/d43a.sanity open(O_RDWR|O_CREAT): Text file busy /home/green/git/lustre-release/lustre/tests/test-framework.sh: line 4726: 9149 Terminated $DIR/$tdir/sleep 60 (wd: ~) PASS 43a (2s) == sanity test 43b: truncate of file being executed should return -ETXTBSY ========================================================== 13:20:06 (1743528006) striped dir -i1 -c2 -H crush2 /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 4726: 9791 Terminated $DIR/$tdir/sleep 60 (wd: ~) PASS 43b (3s) == sanity test 43c: md5sum of copy into lustre =========== 13:20:09 (1743528009) striped dir -i1 -c2 -H crush /mnt/lustre/d43c.sanity bash: OK PASS 43c (1s) == sanity test 46: dirtying a previously written page ========================================================================== 13:20:10 (1743528010) 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.00358663 s, 1.1 MB/s 1+0 records in 1+0 records out 4096 bytes (4.1 kB) copied, 0.0034362 s, 1.2 MB/s 1+0 records in 1+0 records out 4096 bytes (4.1 kB) copied, 0.00125696 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 =========== 13:20:12 (1743528012) striped dir -i0 -c2 -H all_char /mnt/lustre/d56r.sanity striped dir -i0 -c2 -H all_char /mnt/lustre/d56r.sanity/dir1 striped dir -i0 -c2 -H all_char /mnt/lustre/d56r.sanity/dir2 striped dir -i0 -c2 -H fnv_1a_64 /mnt/lustre/d56r.sanity/dir3