== sanity test 27D: validate llapi_layout API ============ 17:24:02 (1773609842) Creating new pool testpool oleg433-server: Pool lustre.testpool created Adding targets to pool oleg433-server: OST lustre-OST0000_UUID added to pool lustre.testpool oleg433-server: OST lustre-OST0001_UUID added to pool lustre.testpool test0 @1773609851: Read/write layout attributes then create a file ............ pass test1 @1773609851: Read test0 file by path and verify attributes .............. pass test2 @1773609851: Read test0 file by FD and verify attributes ................ pass test3 @1773609851: Read test0 file by FID and verify attributes ............... pass test4 @1773609851: Verify compatibility with 'lfs setstripe' .................. pass test5 @1773609851: llapi_layout_get_by_path ENOENT handling ................... pass test6 @1773609851: llapi_layout_get_by_fd EBADF handling ...................... pass test7 @1773609851: llapi_layout_get_by_path EACCES handling ................... pass test8 @1773609851: llapi_layout_get_by_path ENODATA handling .................. pass test9 @1773609851: verify llapi_layout_pattern_set() return values ............ pass test10 @1773609851: stripe_count error handling ............................... pass test11 @1773609851: stripe_size error handling ................................ pass test12 @1773609852: pool_name error handling .................................. pass test13 @1773609852: ost_index error handling .................................. pass test14 @1773609852: llapi_layout_file_create error handling ................... pass test15 @1773609852: Can't change striping attributes of existing file ......... pass test16 @1773609852: Default stripe attributes are applied as expected ......... pass test17 @1773609852: LLAPI_LAYOUT_WIDE is honored .............................. pass test18 @1773609853: Setting pool with fsname.pool notation .................... pass test19 @1773609853: Maximum length pool name is NULL-terminated ............... pass test20 @1773609853: LLAPI_LAYOUT_DEFAULT is honored ........................... pass test21 @1773609853: llapi_layout_file_create fails for non-Lustre file ........ pass test22 @1773609853: llapi_layout_file_create applied mode correctly ........... pass test23 @1773609853: llapi_layout_get_by_path fails for non-Lustre file ........ pass test24 @1773609853: LAYOUT_GET_EXPECTED works with existing file .............. pass test25 @1773609853: LAYOUT_GET_EXPECTED works with directory .................. pass test26 @1773609853: LAYOUT_GET_EXPECTED partially specified parent ............ pass test27 @1773609854: LAYOUT_GET_EXPECTED with non existing file ................ pass test28 @1773609854: LLAPI_LAYOUT_WIDE returned as expected .................... pass test29 @1773609854: set ost index to non-zero stripe number ................... pass test30 @1773609854: create composite file, traverse components ................ pass test31 @1773609854: add/delete component to/from existing file ................ pass test32 @1773609854: Test overstriping with layout_file_create ................. pass test33 @1773609855: Test overstriping with llapi_file_open .................... pass test34 @1773609855: create simple valid & invalid self extending layouts ...... pass test35 @1773609855: create a file with layout different from default .......... pass test36 @1773609855: verify mirror count is validated .......................... pass test37 @1773609855: verify mirror count and mirror ids for existing files ..... pass llapi_layout_test: llapi_layout_test.c:2063: test38: assertion 'fd >= 0' failed: file create failed: errno = 25 test38 @1773609855: LCME_FL_IMMEDIATE flag round-trip via llapi ............... fail (exit status 1) test39 @1773609855: LCME_FL_IMMEDIATE and LCME_FL_PARITY are mutually exclusive pass test40 @1773609855: LCME_FL_IMMEDIATE with < 2 mirrors fails sanity ........... pass llapi_layout_test: llapi_layout_test.c:2192: test41: assertion 'fd >= 0' failed: file create failed: errno = 25 test41 @1773609855: kernel setstripe/getstripe round-trip with LCME_FL_IMMEDIATE fail (exit status 1) llapi_layout_test: llapi_layout_test.c:2286: test42: assertion 'rc == 0' failed: (0) set default layout failed: errno = 95 test42 @1773609855: directory default layout inheritance with LCME_FL_IMMEDIATE fail (exit status 1) llapi_layout_test: llapi_layout_test.c:2392: test43: assertion 'fd >= 0' failed: file create failed: errno = 25 test43 @1773609855: multi-component mirror with IMMEDIATE on all components ... fail (exit status 1) llapi_layout_test: llapi_layout_test.c:2485: test44: assertion 'fd >= 0' failed: file create failed: errno = 25 test44 @1773609855: IMMEDIATE flag survives re-open by path ................... fail (exit status 1) test45 @1773609855: clearing LCME_FL_IMMEDIATE works correctly ................ pass llapi_layout_test: llapi_layout_test.c:2605: test46: assertion 'fd >= 0' failed: file create failed: errno = 25 test46 @1773609855: IMMEDIATE on both mirrors of a 2-mirror layout ............ fail (exit status 1) llapi_layout_test: llapi_layout_test.c:2683: test47: assertion 'fd >= 0' failed: file create failed: errno = 25 test47 @1773609855: 3-mirror layout with IMMEDIATE only on middle mirror ...... fail (exit status 1) test48 @1773609855: partial IMMEDIATE in a mirror is rejected ................. pass sanity test_27D: @@@@@@ FAIL: llapi_layout_test failed Trace dump: = /home/green/git/lustre-release/lustre/tests/test-framework.sh:7386:error() = /home/green/git/lustre-release/lustre/tests/sanity.sh:2732:test_27D() = /home/green/git/lustre-release/lustre/tests/test-framework.sh:7762:run_one() = /home/green/git/lustre-release/lustre/tests/test-framework.sh:7825:run_one_logged() = /home/green/git/lustre-release/lustre/tests/test-framework.sh:7625:run_test() = /home/green/git/lustre-release/lustre/tests/sanity.sh:2736:main() Dumping lctl log to /tmp/testlogs//sanity.test_27D.*.1773609857.log Destroy the created pools: testpool lustre.testpool rsync: chown "/tmp/testlogs/.sanity.test_27D.debug_log.oleg433-server.1773609857.log.sTC5eU" failed: Operation not permitted (1) rsync: chown "/tmp/testlogs/.sanity.test_27D.dmesg.oleg433-server.1773609857.log.ozL4jB" 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] oleg433-server: OST lustre-OST0000_UUID removed from pool lustre.testpool oleg433-server: OST lustre-OST0001_UUID removed from pool lustre.testpool oleg433-server: Pool lustre.testpool destroyed