== sanity test 27D: validate llapi_layout API ============ 10:27:09 (1789482429) striped dir -i1 -c2 -H crush2 /mnt/lustre/d27D.sanity Creating new pool testpool oleg129-server: Pool lustre.testpool created Adding targets to pool oleg129-server: OST lustre-OST0000_UUID added to pool lustre.testpool oleg129-server: OST lustre-OST0001_UUID added to pool lustre.testpool llite.lustre-ffff9cc8918db800.enable_erasure_coding=1 test0 @1789482441: Read/write layout attributes then create a file ............ pass test1 @1789482441: Read test0 file by path and verify attributes .............. pass test2 @1789482441: Read test0 file by FD and verify attributes ................ pass test3 @1789482441: Read test0 file by FID and verify attributes ............... pass test4 @1789482442: Verify compatibility with 'lfs setstripe' .................. pass test5 @1789482442: llapi_layout_get_by_path ENOENT handling ................... pass test6 @1789482442: llapi_layout_get_by_fd EBADF handling ...................... pass test7 @1789482442: llapi_layout_get_by_path EACCES handling ................... pass test8 @1789482442: llapi_layout_get_by_path ENODATA handling .................. pass test9 @1789482442: verify llapi_layout_pattern_set() return values ............ pass test10 @1789482442: stripe_count error handling ............................... pass test11 @1789482442: stripe_size error handling ................................ pass test12 @1789482442: pool_name error handling .................................. pass test13 @1789482442: ost_index error handling .................................. pass test14 @1789482442: llapi_layout_file_create error handling ................... pass test15 @1789482442: Can't change striping attributes of existing file ......... pass test16 @1789482443: Default stripe attributes are applied as expected ......... pass test17 @1789482443: LLAPI_LAYOUT_WIDE is honored .............................. pass test18 @1789482443: Setting pool with fsname.pool notation .................... pass test19 @1789482443: Maximum length pool name is NULL-terminated ............... pass test20 @1789482443: LLAPI_LAYOUT_DEFAULT is honored ........................... pass test21 @1789482443: llapi_layout_file_create fails for non-Lustre file ........ pass test22 @1789482443: llapi_layout_file_create applied mode correctly ........... pass test23 @1789482443: llapi_layout_get_by_path fails for non-Lustre file ........ pass test24 @1789482443: LAYOUT_GET_EXPECTED works with existing file .............. pass test25 @1789482444: LAYOUT_GET_EXPECTED works with directory .................. pass test26 @1789482444: LAYOUT_GET_EXPECTED partially specified parent ............ pass test27 @1789482444: LAYOUT_GET_EXPECTED with non existing file ................ pass test28 @1789482444: LLAPI_LAYOUT_WIDE returned as expected .................... pass test29 @1789482444: set ost index to non-zero stripe number ................... pass test30 @1789482445: create composite file, traverse components ................ pass test31 @1789482445: add/delete component to/from existing file ................ pass test32 @1789482445: Test overstriping with layout_file_create ................. pass test33 @1789482445: Test overstriping with llapi_file_open .................... pass llapi_layout_test: Invalid layout: No adjacent extension space components test34 @1789482445: create simple valid & invalid self extending layouts ...... pass test35 @1789482445: create a file with layout different from default .......... pass test36 @1789482445: verify mirror count is validated .......................... pass test37 @1789482446: verify mirror count and mirror ids for existing files ..... pass test40 @1789482446: verify LCME_FL_PARITY cannot be set with flags_set function pass test41 @1789482446: verify comp_add_opts parameter validation for EC components pass test42 @1789482446: verify parity component with non-matching extent is refused pass test43 @1789482446: verify EC component cannot be added to incomplete layout .. pass test44 @1789482446: verify EC components with zero stripe counts are rejected . pass test45 @1789482446: verify overlapping EC extents are rejected ................ pass test46 @1789482446: verify invalid EC extent ranges are rejected .............. pass test47 @1789482446: verify EC parameter constraints are enforced .............. pass test48 @1789482446: verify duplicate EC components are rejected ............... pass test49 @1789482446: verify API parameter validation and error handling ........ pass test50 @1789482446: verify mixed parity mirror is rejected .................... pass test51 @1789482446: verify parity-first mixed mirror is rejected .............. pass test52 requires at least 6 OSTs, skipping test52 @1789482446: create simple EC layout with data and parity components ... pass test53 requires at least 6 OSTs, skipping test53 @1789482446: verify multiple data + multiple parity components layout .. pass test54 requires at least 3 OSTs, skipping test54 @1789482446: verify complex multi-component EC layout .................. pass test55 requires at least 3 OSTs, skipping test55 @1789482446: verify additional EC component ordering scenarios ......... pass test56 requires at least 6 OSTs, skipping test56 @1789482446: verify EC layout with two mirrors - EC only first mirror .. pass test57 requires at least 6 OSTs, skipping test57 @1789482446: verify EC layout with two mirrors - EC both mirrors ....... pass test58 requires at least 3 OSTs, skipping test58 @1789482446: verify three mirrors with different extents - EC first only pass test59 @1789482446: EC verify mirror count and data-parity comp linkage ....... pass test60 requires at least 6 OSTs, skipping test60 @1789482446: verify EC component stripe size matches data component .... pass test61 @1789482446: verify a protected data component can't be deleted ........ pass test62 @1789482446: verify multiple parity mirrors for one data mirror is rejected pass test63 requires at least 6 OSTs, skipping test63 @1789482446: verify DATA1, PARITY1, DATA2, PARITY2 binding ............. pass test64 requires at least 6 OSTs, skipping test64 @1789482446: verify DATA1, DATA2, PARITY1, PARITY2 binding ............. pass test65 requires at least 7 OSTs, skipping test65 @1789482446: verify layout merge preserves EC data-parity bindings ..... pass test66 @1789482446: EC mirror can override copied pool via llapi .............. pass test67 requires at least 3 OSTs, skipping test67 @1789482446: verify server blocks prefer flags on parity components .... pass Destroy the created pools: testpool lustre.testpool oleg129-server: OST lustre-OST0000_UUID removed from pool lustre.testpool oleg129-server: OST lustre-OST0001_UUID removed from pool lustre.testpool oleg129-server: Pool lustre.testpool destroyed