== sanity test 27D: validate llapi_layout API ============ 20:38:22 (1770687502) Creating new pool testpool oleg408-server: Pool lustre.testpool created Adding targets to pool oleg408-server: OST lustre-OST0000_UUID added to pool lustre.testpool oleg408-server: OST lustre-OST0001_UUID added to pool lustre.testpool llite.lustre-ffff903098a21000.enable_erasure_coding=1 test0 @1770687507: Read/write layout attributes then create a file ............ pass test1 @1770687507: Read test0 file by path and verify attributes .............. pass test2 @1770687507: Read test0 file by FD and verify attributes ................ pass test3 @1770687507: Read test0 file by FID and verify attributes ............... pass test4 @1770687508: Verify compatibility with 'lfs setstripe' .................. pass test5 @1770687508: llapi_layout_get_by_path ENOENT handling ................... pass test6 @1770687508: llapi_layout_get_by_fd EBADF handling ...................... pass test7 @1770687508: llapi_layout_get_by_path EACCES handling ................... pass test8 @1770687508: llapi_layout_get_by_path ENODATA handling .................. pass test9 @1770687508: verify llapi_layout_pattern_set() return values ............ pass test10 @1770687508: stripe_count error handling ............................... pass test11 @1770687508: stripe_size error handling ................................ pass test12 @1770687508: pool_name error handling .................................. pass test13 @1770687508: ost_index error handling .................................. pass test14 @1770687508: llapi_layout_file_create error handling ................... pass test15 @1770687508: Can't change striping attributes of existing file ......... pass test16 @1770687508: Default stripe attributes are applied as expected ......... pass test17 @1770687508: LLAPI_LAYOUT_WIDE is honored .............................. pass test18 @1770687508: Setting pool with fsname.pool notation .................... pass test19 @1770687508: Maximum length pool name is NULL-terminated ............... pass test20 @1770687508: LLAPI_LAYOUT_DEFAULT is honored ........................... pass test21 @1770687508: llapi_layout_file_create fails for non-Lustre file ........ pass test22 @1770687508: llapi_layout_file_create applied mode correctly ........... pass test23 @1770687508: llapi_layout_get_by_path fails for non-Lustre file ........ pass test24 @1770687508: LAYOUT_GET_EXPECTED works with existing file .............. pass test25 @1770687508: LAYOUT_GET_EXPECTED works with directory .................. pass test26 @1770687508: LAYOUT_GET_EXPECTED partially specified parent ............ pass test27 @1770687508: LAYOUT_GET_EXPECTED with non existing file ................ pass test28 @1770687508: LLAPI_LAYOUT_WIDE returned as expected .................... pass test29 @1770687508: set ost index to non-zero stripe number ................... pass test30 @1770687509: create composite file, traverse components ................ pass test31 @1770687509: add/delete component to/from existing file ................ pass test32 @1770687509: Test overstriping with layout_file_create ................. pass test33 @1770687509: Test overstriping with llapi_file_open .................... pass llapi_layout_test: Invalid layout: No adjacent extension space components test34 @1770687509: create simple valid & invalid self extending layouts ...... pass test35 @1770687509: create a file with layout different from default .......... pass test40 @1770687509: verify LCME_FL_PARITY cannot be set with flags_set function pass test41 @1770687509: verify comp_add_opts parameter validation for EC components pass test42 @1770687509: verify parity component with non-matching extent is refused pass test43 @1770687509: verify EC component cannot be added to incomplete layout .. pass test44 @1770687509: verify EC components with zero stripe counts are rejected . pass test45 @1770687509: verify overlapping EC extents are rejected ................ pass test46 @1770687509: verify invalid EC extent ranges are rejected .............. pass test47 @1770687509: verify EC parameter constraints are enforced .............. pass test48 @1770687509: verify duplicate EC components are rejected ............... pass test49 @1770687509: verify API parameter validation and error handling ........ pass test50 @1770687509: verify mixed parity mirror is rejected .................... pass test51 @1770687509: 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:2456: test52: assertion 'fd >= 0' failed: errno = 28 test52 @1770687509: 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:2543: test53: assertion 'fd >= 0' failed: errno = 28 test53 @1770687509: 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:2669: test54: assertion 'fd >= 0' failed: errno = 28 test54 @1770687509: 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:2799: test55: assertion 'fd >= 0' failed: errno = 28 test55 @1770687509: 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:2885: test56: assertion 'fd >= 0' failed: errno = 28 test56 @1770687509: verify EC layout with two mirrors - EC only first mirror .. fail (exit status 1) llapi_layout_test: error setting 672-byte layout on '/mnt/lustre/d27D.sanity/f57': No space left on device (28) llapi_layout_test: llapi_layout_test.c:3031: test57: assertion 'fd >= 0' failed: errno = 28 test57 @1770687509: 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:3195: test58: assertion 'fd >= 0' failed: errno = 28 test58 @1770687509: verify three mirrors with different extents - EC first only fail (exit status 1) llapi_layout_test: error setting 512-byte layout on '/mnt/lustre/d27D.sanity/f59': No space left on device (28) llapi_layout_test: llapi_layout_test.c:3331: test59: assertion 'fd >= 0' failed: errno = 28 test59 @1770687509: verify multiple parity mirrors with different parity counts fail (exit status 1) 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:3406: test60: assertion 'fd >= 0' failed: errno = 28 test60 @1770687509: verify EC component stripe size matches data component .... fail (exit status 1) llapi_layout_test: error setting 352-byte layout on '/mnt/lustre/d27D.sanity/f61': No space left on device (28) llapi_layout_test: llapi_layout_test.c:3495: test61: assertion 'fd >= 0' failed: errno = 28 test61 @1770687509: verify DATA1, PARITY1, DATA2, PARITY2 binding ............. fail (exit status 1) llapi_layout_test: error setting 432-byte layout on '/mnt/lustre/d27D.sanity/f62': No space left on device (28) llapi_layout_test: llapi_layout_test.c:3589: test62: assertion 'fd >= 0' failed: errno = 28 test62 @1770687509: verify DATA1, PARITY1, DATA2, PARITY2, PARITY1.2 binding .. fail (exit status 1) test63 @1770687509: EC mirror can override copied pool via llapi .............. pass test64 requires at least 3 OSTs, skipping test64 @1770687509: 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:7319:error() = /home/green/git/lustre-release/lustre/tests/sanity.sh:2737:test_27D() = /home/green/git/lustre-release/lustre/tests/test-framework.sh:7695:run_one() = /home/green/git/lustre-release/lustre/tests/test-framework.sh:7758:run_one_logged() = /home/green/git/lustre-release/lustre/tests/test-framework.sh:7558:run_test() = /home/green/git/lustre-release/lustre/tests/sanity.sh:2741:main() Dumping lctl log to /tmp/testlogs//sanity.test_27D.*.1770687510.log Destroy the created pools: testpool lustre.testpool rsync: chown "/tmp/testlogs/.sanity.test_27D.debug_log.oleg408-server.1770687510.log.0VVxJV" failed: Operation not permitted (1) rsync: chown "/tmp/testlogs/.sanity.test_27D.dmesg.oleg408-server.1770687510.log.j0zbR5" 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] oleg408-server: OST lustre-OST0000_UUID removed from pool lustre.testpool oleg408-server: OST lustre-OST0001_UUID removed from pool lustre.testpool oleg408-server: Pool lustre.testpool destroyed