== sanity test 27D: validate llapi_layout API ============ 20:22:01 (1777422121) Creating new pool testpool oleg224-server: Pool lustre.testpool created Adding targets to pool oleg224-server: OST lustre-OST0000_UUID added to pool lustre.testpool oleg224-server: OST lustre-OST0001_UUID added to pool lustre.testpool Waiting 90s for 'lustre-OST0000_UUID lustre-OST0001_UUID ' llite.lustre-ffffa0c14682a000.enable_erasure_coding=1 test0 @1777422126: Read/write layout attributes then create a file ............ pass test1 @1777422126: Read test0 file by path and verify attributes .............. pass test2 @1777422126: Read test0 file by FD and verify attributes ................ pass test3 @1777422126: Read test0 file by FID and verify attributes ............... pass test4 @1777422126: Verify compatibility with 'lfs setstripe' .................. pass test5 @1777422126: llapi_layout_get_by_path ENOENT handling ................... pass test6 @1777422126: llapi_layout_get_by_fd EBADF handling ...................... pass test7 @1777422126: llapi_layout_get_by_path EACCES handling ................... pass test8 @1777422126: llapi_layout_get_by_path ENODATA handling .................. pass test9 @1777422126: verify llapi_layout_pattern_set() return values ............ pass test10 @1777422126: stripe_count error handling ............................... pass test11 @1777422126: stripe_size error handling ................................ pass test12 @1777422126: pool_name error handling .................................. pass test13 @1777422126: ost_index error handling .................................. pass test14 @1777422126: llapi_layout_file_create error handling ................... pass test15 @1777422126: Can't change striping attributes of existing file ......... pass test16 @1777422127: Default stripe attributes are applied as expected ......... pass test17 @1777422127: LLAPI_LAYOUT_WIDE is honored .............................. pass test18 @1777422127: Setting pool with fsname.pool notation .................... pass test19 @1777422127: Maximum length pool name is NULL-terminated ............... pass test20 @1777422127: LLAPI_LAYOUT_DEFAULT is honored ........................... pass test21 @1777422127: llapi_layout_file_create fails for non-Lustre file ........ pass test22 @1777422127: llapi_layout_file_create applied mode correctly ........... pass test23 @1777422127: llapi_layout_get_by_path fails for non-Lustre file ........ pass test24 @1777422127: LAYOUT_GET_EXPECTED works with existing file .............. pass test25 @1777422127: LAYOUT_GET_EXPECTED works with directory .................. pass test26 @1777422127: LAYOUT_GET_EXPECTED partially specified parent ............ pass test27 @1777422127: LAYOUT_GET_EXPECTED with non existing file ................ pass test28 @1777422127: LLAPI_LAYOUT_WIDE returned as expected .................... pass test29 @1777422127: set ost index to non-zero stripe number ................... pass test30 @1777422127: create composite file, traverse components ................ pass test31 @1777422127: add/delete component to/from existing file ................ pass test32 @1777422127: Test overstriping with layout_file_create ................. pass test33 @1777422127: Test overstriping with llapi_file_open .................... pass llapi_layout_test: Invalid layout: No adjacent extension space components test34 @1777422127: create simple valid & invalid self extending layouts ...... pass test35 @1777422127: create a file with layout different from default .......... pass test36 @1777422127: verify mirror count is validated .......................... pass test37 @1777422127: verify mirror count and mirror ids for existing files ..... pass test40 @1777422127: verify LCME_FL_PARITY cannot be set with flags_set function pass test41 @1777422127: verify comp_add_opts parameter validation for EC components pass test42 @1777422127: verify parity component with non-matching extent is refused pass test43 @1777422127: verify EC component cannot be added to incomplete layout .. pass test44 @1777422127: verify EC components with zero stripe counts are rejected . pass test45 @1777422127: verify overlapping EC extents are rejected ................ pass test46 @1777422127: verify invalid EC extent ranges are rejected .............. pass test47 @1777422127: verify EC parameter constraints are enforced .............. pass test48 @1777422127: verify duplicate EC components are rejected ............... pass test49 @1777422127: verify API parameter validation and error handling ........ pass test50 @1777422127: verify mixed parity mirror is rejected .................... pass test51 @1777422127: verify parity-first mixed mirror is rejected .............. pass llapi_layout_test: error setting 192-byte layout on '/mnt/lustre/d27D.sanity/f52': No space left on device (28) llapi_layout_test: llapi_layout_test.c:2798: test52: assertion 'fd >= 0' failed: errno = 28 test52 @1777422127: create simple EC layout with data and parity components ... fail (exit status 1) llapi_layout_test: error setting 352-byte layout on '/mnt/lustre/d27D.sanity/f53': No space left on device (28) llapi_layout_test: llapi_layout_test.c:2885: test53: assertion 'fd >= 0' failed: errno = 28 test53 @1777422127: verify multiple data + multiple parity components layout .. fail (exit status 1) llapi_layout_test: error setting 672-byte layout on '/mnt/lustre/d27D.sanity/f54': No space left on device (28) llapi_layout_test: llapi_layout_test.c:3015: test54: assertion 'fd >= 0' failed: errno = 28 test54 @1777422127: verify complex multi-component EC layout .................. fail (exit status 1) llapi_layout_test: error setting 512-byte layout on '/mnt/lustre/d27D.sanity/f55': No space left on device (28) llapi_layout_test: llapi_layout_test.c:3153: test55: assertion 'fd >= 0' failed: errno = 28 test55 @1777422127: verify additional EC component ordering scenarios ......... fail (exit status 1) llapi_layout_test: error setting 512-byte layout on '/mnt/lustre/d27D.sanity/f56': No space left on device (28) llapi_layout_test: llapi_layout_test.c:3239: test56: assertion 'fd >= 0' failed: errno = 28 test56 @1777422127: verify EC layout with two mirrors - EC only first mirror .. fail (exit status 1) llapi_layout_test: error setting 512-byte layout on '/mnt/lustre/d27D.sanity/f57': No space left on device (28) llapi_layout_test: llapi_layout_test.c:3391: test57: assertion 'fd >= 0' failed: errno = 28 test57 @1777422127: verify EC layout with two mirrors - EC both mirrors ....... fail (exit status 1) llapi_layout_test: error setting 752-byte layout on '/mnt/lustre/d27D.sanity/f58': No space left on device (28) llapi_layout_test: llapi_layout_test.c:3547: test58: assertion 'fd >= 0' failed: errno = 28 test58 @1777422127: verify three mirrors with different extents - EC first only fail (exit status 1) test59 @1777422127: EC verify mirror count and data-parity comp linkage ....... pass llapi_layout_test: error setting 192-byte layout on '/mnt/lustre/d27D.sanity/f60': No space left on device (28) llapi_layout_test: llapi_layout_test.c:3842: test60: assertion 'fd >= 0' failed: errno = 28 test60 @1777422127: verify EC component stripe size matches data component .... fail (exit status 1) test61 @1777422127: verify a protected data component can't be deleted ........ pass test62 @1777422127: verify multiple parity mirrors for one data mirror is rejected pass llapi_layout_test: error setting 352-byte layout on '/mnt/lustre/d27D.sanity/f63': No space left on device (28) llapi_layout_test: llapi_layout_test.c:4038: test63: assertion 'fd >= 0' failed: errno = 28 test63 @1777422127: verify DATA1, PARITY1, DATA2, PARITY2 binding ............. fail (exit status 1) llapi_layout_test: error setting 352-byte layout on '/mnt/lustre/d27D.sanity/f64': No space left on device (28) llapi_layout_test: llapi_layout_test.c:4128: test64: assertion 'fd >= 0' failed: errno = 28 test64 @1777422127: verify DATA1, DATA2, PARITY1, PARITY2 binding ............. fail (exit status 1) llapi_layout_test: error setting 832-byte layout on '/mnt/lustre/d27D.sanity/f65': No space left on device (28) llapi_layout_test: llapi_layout_test.c:4286: test65: assertion 'fd >= 0' failed: llapi_layout_file_create failed: errno = 28 test65 @1777422127: verify layout merge preserves EC data-parity bindings ..... fail (exit status 1) test66 @1777422127: EC mirror can override copied pool via llapi .............. pass test64 requires at least 3 OSTs, skipping test67 @1777422127: verify server blocks prefer flags on parity components .... pass sanity test_27D: @@@@@@ FAIL: llapi_layout_test failed Trace dump: = /home/green/git/lustre-release/lustre/tests/test-framework.sh:7384:error() = /home/green/git/lustre-release/lustre/tests/sanity.sh:2737:test_27D() = /home/green/git/lustre-release/lustre/tests/test-framework.sh:7760:run_one() = /home/green/git/lustre-release/lustre/tests/test-framework.sh:7823:run_one_logged() = /home/green/git/lustre-release/lustre/tests/test-framework.sh:7623:run_test() = /home/green/git/lustre-release/lustre/tests/sanity.sh:2741:main() Dumping lctl log to /tmp/testlogs//sanity.test_27D.*.1777422128.log Destroy the created pools: testpool lustre.testpool rsync: chown "/tmp/testlogs/.sanity.test_27D.debug_log.oleg224-server.1777422128.log.4OLBhr" failed: Operation not permitted (1) rsync: chown "/tmp/testlogs/.sanity.test_27D.dmesg.oleg224-server.1777422128.log.UF1Ww5" failed: Operation not permitted (1) rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1668) [generator=3.1.3] oleg224-server: OST lustre-OST0000_UUID removed from pool lustre.testpool oleg224-server: OST lustre-OST0001_UUID removed from pool lustre.testpool oleg224-server: Pool lustre.testpool destroyed