-----============= acceptance-small: sanity-ec ============----- Fri Jul 3 23:15:38 EDT 2026 MGS_OS_ID_LIKE=rhel centos fedora rocky MGS_OS_VERSION_ID=8.10 MGS_OS_ID=rocky MGS_OS_VERSION_CODE=134873088 MDS1_OS_VERSION_ID=8.10 MDS1_OS_VERSION_CODE=134873088 MDS1_OS_ID_LIKE=rhel centos fedora rocky MDS1_OS_ID=rocky OST1_OS_VERSION_CODE=134873088 OST1_OS_ID_LIKE=rhel centos fedora rocky OST1_OS_VERSION_ID=8.10 OST1_OS_ID=rocky CLIENT_OS_ID=rocky CLIENT_OS_VERSION_CODE=134873088 CLIENT_OS_VERSION_ID=8.10 CLIENT_OS_ID_LIKE=rhel centos fedora rocky oleg146-server: ls: cannot access '/home/green/git/lustre-release/lustre/tests/except/sanity-ec.*ex': No such file or directory excepting tests: 12a === sanity-ec: start setup 23:15:49 (1783134949) === oleg146-client.virtnet: executing check_config_client /mnt/lustre oleg146-client.virtnet: Checking config lustre mounted on /mnt/lustre Checking servers environments Checking clients oleg146-client.virtnet environments Using TIMEOUT=20 osc.lustre-OST0000-osc-ffff88f410ba1800.idle_timeout=debug osc.lustre-OST0001-osc-ffff88f410ba1800.idle_timeout=debug disable quota as required oleg146-server: oleg146-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all osd-ldiskfs.track_declares_assert=1 === sanity-ec: finish setup 23:16:12 (1783134972) === 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/f8198] == sanity-ec test 1a: basic setstripe with single component and EC ========================================================== 23:16:13 (1783134973) llite.lustre-ffff88f410ba1800.enable_erasure_coding=1 PASS 1a (4s) == sanity-ec test 1b: setstripe with --ec before -E (order independence) ========================================================== 23:16:17 (1783134977) llite.lustre-ffff88f410ba1800.enable_erasure_coding=1 PASS 1b (4s) == sanity-ec test 1c: setstripe with colon separator (--ec 8:2) ========================================================== 23:16:21 (1783134981) llite.lustre-ffff88f410ba1800.enable_erasure_coding=1 PASS 1c (4s) == sanity-ec test 1d: setstripe with multiple components and single EC spec ========================================================== 23:16:25 (1783134985) llite.lustre-ffff88f410ba1800.enable_erasure_coding=1 PASS 1d (4s) == sanity-ec test 1e: setstripe with EC inheriting to second component ========================================================== 23:16:29 (1783134989) llite.lustre-ffff88f410ba1800.enable_erasure_coding=1 PASS 1e (4s) == sanity-ec test 1f: setstripe with different EC for different components ========================================================== 23:16:33 (1783134993) llite.lustre-ffff88f410ba1800.enable_erasure_coding=1 PASS 1f (4s) == sanity-ec test 1g: setstripe with different parity counts ========================================================== 23:16:37 (1783134997) llite.lustre-ffff88f410ba1800.enable_erasure_coding=1 PASS 1g (4s) == sanity-ec test 1h: setstripe with -N flag and explicit stripe counts with --ec ========================================================== 23:16:41 (1783135001) llite.lustre-ffff88f410ba1800.enable_erasure_coding=1 PASS 1h (4s) == sanity-ec test 1i: default EC layout on directory ===== 23:16:45 (1783135005) llite.lustre-ffff88f410ba1800.enable_erasure_coding=1 striped dir -i1 -c2 -H crush2 /mnt/lustre/d1i.sanity-ec PASS 1i (4s) == sanity-ec test 1j: verify EC component inherits stripe size from data component ========================================================== 23:16:49 (1783135009) llite.lustre-ffff88f410ba1800.enable_erasure_coding=1 PASS 1j (4s) == sanity-ec test 2a: setstripe with -N and EC =========== 23:16:53 (1783135013) llite.lustre-ffff88f410ba1800.enable_erasure_coding=1 PASS 2a (4s) == sanity-ec test 2b: setstripe with -N: two data mirrors, one with EC ========================================================== 23:16:57 (1783135017) llite.lustre-ffff88f410ba1800.enable_erasure_coding=1 PASS 2b (4s) == sanity-ec test 2c: setstripe with -N: two data mirrors, both with EC ========================================================== 23:17:01 (1783135021) llite.lustre-ffff88f410ba1800.enable_erasure_coding=1 PASS 2c (5s) == sanity-ec test 2d: setstripe with -N2: multiple identical EC mirrors ========================================================== 23:17:06 (1783135026) llite.lustre-ffff88f410ba1800.enable_erasure_coding=1 PASS 2d (4s) == sanity-ec test 2e: setstripe with -N: mixed regular and EC mirrors ========================================================== 23:17:10 (1783135030) llite.lustre-ffff88f410ba1800.enable_erasure_coding=1 PASS 2e (4s) == sanity-ec test 2f: default EC layout on directory using mirror mode ========================================================== 23:17:15 (1783135035) llite.lustre-ffff88f410ba1800.enable_erasure_coding=1 striped dir -i0 -c2 -H crush /mnt/lustre/d2f.sanity-ec PASS 2f (5s) == sanity-ec test 3a: lfs mirror create with single EC mirror ========================================================== 23:17:19 (1783135039) llite.lustre-ffff88f410ba1800.enable_erasure_coding=1 PASS 3a (4s) == sanity-ec test 3b: lfs mirror create with -N2 and EC == 23:17:24 (1783135044) llite.lustre-ffff88f410ba1800.enable_erasure_coding=1 PASS 3b (5s) == sanity-ec test 3c: lfs mirror create with mixed EC and regular mirrors ========================================================== 23:17:28 (1783135048) llite.lustre-ffff88f410ba1800.enable_erasure_coding=1 PASS 3c (3s) == sanity-ec test 3d: lfs mirror create with different EC configs per mirror ========================================================== 23:17:32 (1783135052) llite.lustre-ffff88f410ba1800.enable_erasure_coding=1 PASS 3d (4s) == sanity-ec test 3e: lfs mirror create with multiple EC specs in one mirror ========================================================== 23:17:35 (1783135055) llite.lustre-ffff88f410ba1800.enable_erasure_coding=1 PASS 3e (4s) == sanity-ec test 3f: EC inheritance with holes ========== 23:17:39 (1783135059) llite.lustre-ffff88f410ba1800.enable_erasure_coding=1 PASS 3f (5s) == sanity-ec test 3g: EC parity mirror inherits pool from data mirror ========================================================== 23:17:44 (1783135064) SKIP: sanity-ec test_3g needs >= 6 OSTs SKIP 3g (2s) == sanity-ec test 4a: reject invalid EC parameters: parity > data ========================================================== 23:17:46 (1783135066) llite.lustre-ffff88f410ba1800.enable_erasure_coding=1 PASS 4a (10s) == sanity-ec test 4b: reject invalid EC parameters: data count < 2 ========================================================== 23:17:56 (1783135076) llite.lustre-ffff88f410ba1800.enable_erasure_coding=1 PASS 4b (10s) == sanity-ec test 4c: reject invalid EC parameters: parity = 0 ========================================================== 23:18:06 (1783135086) llite.lustre-ffff88f410ba1800.enable_erasure_coding=1 PASS 4c (10s) == sanity-ec test 4d: reject malformed EC specifications ========================================================== 23:18:16 (1783135096) llite.lustre-ffff88f410ba1800.enable_erasure_coding=1 PASS 4d (10s) == sanity-ec test 4e: auto-create [0,EOF] component when --ec without -E ========================================================== 23:18:26 (1783135106) llite.lustre-ffff88f410ba1800.enable_erasure_coding=1 PASS 4e (11s) == sanity-ec test 4f: reject --ec with incompatible options (--foreign) ========================================================== 23:18:37 (1783135117) llite.lustre-ffff88f410ba1800.enable_erasure_coding=1 PASS 4f (11s) == sanity-ec test 4g: reject EC stripe counts exceeding limits without --ec-expert ========================================================== 23:18:48 (1783135128) llite.lustre-ffff88f410ba1800.enable_erasure_coding=1 PASS 4g (9s) == sanity-ec test 5a: EC mirror read/write commands ====== 23:18:57 (1783135137) llite.lustre-ffff88f410ba1800.enable_erasure_coding=1 PASS 5a (10s) == sanity-ec test 5b: EC FLR state transitions with writes to different components ========================================================== 23:19:07 (1783135147) llite.lustre-ffff88f410ba1800.enable_erasure_coding=1 Component IDs: 65537 65538 65539 131076 131077 131078 1+0 records in 1+0 records out 1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.0979868 s, 10.7 MB/s ** Write to second component ** 1+0 records in 1+0 records out 1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.108129 s, 9.7 MB/s PASS 5b (11s) == sanity-ec test 6a: Block setting prefer flags on parity components ========================================================== 23:19:18 (1783135158) llite.lustre-ffff88f410ba1800.enable_erasure_coding=1 Component IDs: 65537 65538 131075 131076 PASS 6a (12s) == sanity-ec test 6b: EC write selects data mirror, not parity mirror ========================================================== 23:19:30 (1783135170) llite.lustre-ffff88f410ba1800.enable_erasure_coding=1 Data component: 65537, Parity component: 131074 2+0 records in 2+0 records out 2097152 bytes (2.1 MB, 2.0 MiB) copied, 0.208897 s, 10.0 MB/s PASS 6b (10s) == sanity-ec test 6c: EC with multiple data mirrors - parity never selected ========================================================== 23:19:40 (1783135180) llite.lustre-ffff88f410ba1800.enable_erasure_coding=1 SKIP: sanity-ec test_6c needs >= 4 OSTs SKIP 6c (4s) == sanity-ec test 6d: Manually mark parity mirror stale and resync ========================================================== 23:19:44 (1783135184) llite.lustre-ffff88f410ba1800.enable_erasure_coding=1 Data component: 65537, Parity component: 131074 2+0 records in 2+0 records out 2097152 bytes (2.1 MB, 2.0 MiB) copied, 0.088011 s, 23.8 MB/s PASS 6d (11s) == sanity-ec test 6e: Write fails when only parity mirror is non-stale ========================================================== 23:19:55 (1783135195) llite.lustre-ffff88f410ba1800.enable_erasure_coding=1 Data component: 65537, Parity component: 131074 2+0 records in 2+0 records out 2097152 bytes (2.1 MB, 2.0 MiB) copied, 0.0859878 s, 24.4 MB/s PASS 6e (9s) == sanity-ec test 7a: nosync flag on parity mirror prevents resync updates ========================================================== 23:20:04 (1783135204) llite.lustre-ffff88f410ba1800.enable_erasure_coding=1 Data component: 65537, Parity component: 131074 2+0 records in 2+0 records out 2097152 bytes (2.1 MB, 2.0 MiB) copied, 0.0793523 s, 26.4 MB/s 2+0 records in 2+0 records out 2097152 bytes (2.1 MB, 2.0 MiB) copied, 0.202392 s, 10.4 MB/s Initial parity mirror checksum: a8c001920196ac25c78c38b68e4f2b57 - 2+0 records in 2+0 records out 2097152 bytes (2.1 MB, 2.0 MiB) copied, 0.0650447 s, 32.2 MB/s CRC-32 checksum value for chunk [0, 0x200000): Mirror 2: 0x745981ee (nosync,stale) 2+0 records in 2+0 records out 2097152 bytes (2.1 MB, 2.0 MiB) copied, 0.300344 s, 7.0 MB/s Data mirror checksum: 65e7217659af0d073c9555949901142e - Parity mirror checksum: a8c001920196ac25c78c38b68e4f2b57 - Final data mirror checksum: 65e7217659af0d073c9555949901142e - Final parity mirror checksum: 69d516bc35207f16497eeb1d8c5befe6 - PASS 7a (10s) == sanity-ec test 7b: mirror split -d works for parity mirrors, regular split fails ========================================================== 23:20:14 (1783135214) SKIP: sanity-ec test_7b needs >= 6 OSTs SKIP 7b (3s) == sanity-ec test 7c: mirror split -d works for multi-component parity mirrors ========================================================== 23:20:17 (1783135217) SKIP: sanity-ec test_7c needs >= 6 OSTs SKIP 7c (3s) == sanity-ec test 7d: mirror split -d works with mixed regular and EC mirrors ========================================================== 23:20:20 (1783135220) SKIP: sanity-ec test_7d needs >= 6 OSTs SKIP 7d (4s) == sanity-ec test 10: cannot create overly large ec mirrors ========================================================== 23:20:24 (1783135224) SKIP: sanity-ec test_10 needs >= 5 OSTs SKIP 10 (3s) == sanity-ec test 11: can create --ec 2+2 ================ 23:20:27 (1783135227) SKIP: sanity-ec test_11 needs >= 4 OSTs SKIP 11 (3s) SKIP: sanity-ec test_12a skipping ALWAYS excluded test 12a == sanity-ec test 13: parity of single stripe data is just a copy ========================================================== 23:20:32 (1783135232) SKIP: sanity-ec test_13 needs >= 4 OSTs SKIP 13 (3s) == sanity-ec test 20: test that stripe size of parity mirror is set correctly ========================================================== 23:20:35 (1783135235) SKIP: sanity-ec test_20 needs >= 4 OSTs SKIP 20 (3s) == sanity-ec test 21a: migrate plain file to EC layout === 23:20:39 (1783135239) SKIP: sanity-ec test_21a needs >= 3 OSTs SKIP 21a (4s) == sanity-ec test 21b: migrate EC file to plain layout === 23:20:42 (1783135242) SKIP: sanity-ec test_21b needs >= 3 OSTs SKIP 21b (3s) == sanity-ec test 21c: migrate between different EC configurations ========================================================== 23:20:45 (1783135245) SKIP: sanity-ec test_21c needs >= 4 OSTs SKIP 21c (3s) == sanity-ec test 21d: migrate PFL file to EC layout ===== 23:20:48 (1783135248) SKIP: sanity-ec test_21d needs >= 3 OSTs SKIP 21d (3s) == sanity-ec test 22a: mirror split removes plain mirror, keeps EC ========================================================== 23:20:51 (1783135251) SKIP: sanity-ec test_22a needs >= 6 OSTs SKIP 22a (3s) == sanity-ec test 23a: truncate EC file to smaller size == 23:20:55 (1783135255) llite.lustre-ffff88f410ba1800.enable_erasure_coding=1 striped dir -i1 -c2 -H all_char /mnt/lustre/d23a.sanity-ec 5+0 records in 5+0 records out 5242880 bytes (5.2 MB, 5.0 MiB) copied, 0.214894 s, 24.4 MB/s PASS 23a (10s) == sanity-ec test 23b: truncate EC file to larger size === 23:21:04 (1783135264) llite.lustre-ffff88f410ba1800.enable_erasure_coding=1 striped dir -i1 -c2 -H fnv_1a_64 /mnt/lustre/d23b.sanity-ec 2+0 records in 2+0 records out 2097152 bytes (2.1 MB, 2.0 MiB) copied, 0.0953996 s, 22.0 MB/s 4+0 records in 4+0 records out 4194304 bytes (4.2 MB, 4.0 MiB) copied, 0.437893 s, 9.6 MB/s PASS 23b (13s) == sanity-ec test 23c: fallocate on EC file ============== 23:21:17 (1783135277) llite.lustre-ffff88f410ba1800.enable_erasure_coding=1 keep default fallocate mode: 0 striped dir -i1 -c2 -H crush2 /mnt/lustre/d23c.sanity-ec 5+0 records in 5+0 records out 5242880 bytes (5.2 MB, 5.0 MiB) copied, 0.256228 s, 20.5 MB/s PASS 23c (12s) == sanity-ec test 24a: reject --ec with --comp-add ======= 23:21:29 (1783135289) llite.lustre-ffff88f410ba1800.enable_erasure_coding=1 striped dir -i0 -c2 -H crush /mnt/lustre/d24a.sanity-ec PASS 24a (6s) == sanity-ec test 24b: reject deleting data component protected by parity ========================================================== 23:21:36 (1783135296) llite.lustre-ffff88f410ba1800.enable_erasure_coding=1 striped dir -i0 -c2 -H all_char /mnt/lustre/d24b.sanity-ec lfs setstripe setstripe: cannot delete component 0x10002 from '/mnt/lustre/d24b.sanity-ec/f24b.sanity-ec': Invalid argument lfs setstripe setstripe: cannot delete component 0x20003 from '/mnt/lustre/d24b.sanity-ec/f24b.sanity-ec': Invalid argument PASS 24b (7s) == sanity-ec test 25a: lfs find with --component-flags parity ========================================================== 23:21:43 (1783135303) llite.lustre-ffff88f410ba1800.enable_erasure_coding=1 striped dir -i1 -c2 -H all_char /mnt/lustre/d25a.sanity-ec PASS 25a (6s) == sanity-ec test 26a: multi-stripe EC data integrity with 20M file ========================================================== 23:21:50 (1783135310) llite.lustre-ffff88f410ba1800.enable_erasure_coding=1 striped dir -i0 -c2 -H fnv_1a_64 /mnt/lustre/d26a.sanity-ec 20+0 records in 20+0 records out 20971520 bytes (21 MB, 20 MiB) copied, 1.05308 s, 19.9 MB/s /mnt/lustre/d26a.sanity-ec/f26a.sanity-ec.data: OK 4+0 records in 4+0 records out 4194304 bytes (4.2 MB, 4.0 MiB) copied, 0.20786 s, 20.2 MB/s /mnt/lustre/d26a.sanity-ec/f26a.sanity-ec.data: OK PASS 26a (18s) == sanity-ec test 26b: EC data integrity with patterned data and 4M stripes ========================================================== 23:22:08 (1783135328) llite.lustre-ffff88f410ba1800.enable_erasure_coding=1 striped dir -i0 -c2 -H fnv_1a_64 /mnt/lustre/d26b.sanity-ec /mnt/lustre/d26b.sanity-ec/f26b.sanity-ec.data: OK PASS 26b (15s) == sanity-ec test 27a: PFL lazy instantiation with EC across multiple components ========================================================== 23:22:23 (1783135343) llite.lustre-ffff88f410ba1800.enable_erasure_coding=1 striped dir -i1 -c2 -H all_char /mnt/lustre/d27a.sanity-ec 1+0 records in 1+0 records out 524288 bytes (524 kB, 512 KiB) copied, 0.0558539 s, 9.4 MB/s 1+0 records in 1+0 records out 1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.0566337 s, 18.5 MB/s 1+0 records in 1+0 records out 1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.137445 s, 7.6 MB/s PASS 27a (12s) == sanity-ec test 28a: EC parity correctly tracks writes through hardlinks ========================================================== 23:22:35 (1783135355) llite.lustre-ffff88f410ba1800.enable_erasure_coding=1 striped dir -i0 -c2 -H crush /mnt/lustre/d28a.sanity-ec 2+0 records in 2+0 records out 2097152 bytes (2.1 MB, 2.0 MiB) copied, 0.142104 s, 14.8 MB/s 1+0 records in 1+0 records out 1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.115213 s, 9.1 MB/s PASS 28a (11s) == sanity-ec test 29a: EC read fails when OST losses exceed parity tolerance ========================================================== 23:22:46 (1783135366) SKIP: sanity-ec test_29a need >= 4 OSTs SKIP 29a (4s) == sanity-ec test 30a: write makes parity stale, resync recovers ========================================================== 23:22:50 (1783135370) SKIP: sanity-ec test_30a need >= 4 OSTs SKIP 30a (3s) == sanity-ec test 30b: resync succeeds after parity OST recovery ========================================================== 23:22:53 (1783135373) SKIP: sanity-ec test_30b need >= 4 OSTs SKIP 30b (4s) == sanity-ec test 30c: data survives OST restart cycle, resync works after recovery ========================================================== 23:22:57 (1783135377) SKIP: sanity-ec test_30c need >= 4 OSTs SKIP 30c (3s) == sanity-ec test 30d: test that size of parity mirror is (5+1)*4*2*64k ========================================================== 23:23:00 (1783135380) SKIP: sanity-ec test_30d needs >= 8 OSTs SKIP 30d (4s) == sanity-ec test 31a: data mirror intact after write failure on parity OST during resync ========================================================== 23:23:04 (1783135384) SKIP: sanity-ec test_31a need >= 4 OSTs SKIP 31a (3s) == sanity-ec test 31b: test that size of parity mirror is 2*2*1M ========================================================== 23:23:07 (1783135387) SKIP: sanity-ec test_31b needs >= 8 OSTs SKIP 31b (3s) == sanity-ec test 31c: test that size of parity mirror is 2*3*64k ========================================================== 23:23:10 (1783135390) SKIP: sanity-ec test_31c needs >= 8 OSTs SKIP 31c (3s) == sanity-ec test 31d: test that size of parity mirror is 4*2*64k ========================================================== 23:23:14 (1783135394) SKIP: sanity-ec test_31d needs >= 8 OSTs SKIP 31d (3s) == sanity-ec test 31e: test parity mirror size with multiple PFL components ========================================================== 23:23:17 (1783135397) SKIP: sanity-ec test_31e needs >= 6 OSTs SKIP 31e (3s) == sanity-ec test 32a: full write+resync cycle correct after OST recovery ========================================================== 23:23:20 (1783135400) SKIP: sanity-ec test_32a need >= 4 OSTs SKIP 32a (3s) == sanity-ec test 33a: EC survives repeated write/resync/OST-failure cycles ========================================================== 23:23:23 (1783135403) SKIP: sanity-ec test_33a need >= 4 OSTs SKIP 33a (3s) == sanity-ec test 34a: test that lfs mirror read from ec does not change eof ========================================================== 23:23:26 (1783135406) SKIP: sanity-ec test_34a needs >= 5 OSTs SKIP 34a (3s) == sanity-ec test 34b: test that lfs mirror verify for ec does not change eof ========================================================== 23:23:29 (1783135409) SKIP: sanity-ec test_34b needs >= 6 OSTs SKIP 34b (3s) == sanity-ec test 34c: test that reading past parity data returns zeros ========================================================== 23:23:33 (1783135413) SKIP: sanity-ec test_34c needs >= 8 OSTs SKIP 34c (3s) == sanity-ec test complete, duration 478 sec ============= 23:23:36 (1783135416) === sanity-ec: start cleanup 23:23:38 (1783135418) === === sanity-ec: finish cleanup 23:23:41 (1783135421) ===