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