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