Bug 7367

Summary: Several oe-selftest failed or returned error due to layer.conf not found
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Ionut Chisanovici <ionutx.chisanovici>
Component: configurationAssignee: Paul Eggleton <bluelightning>
Status: VERIFIED FIXED QA Contact: Alexandru Georgescu <alexandru.c.georgescu>
Severity: major    
Priority: Medium+ CC: alexandru.c.georgescu, bluelightning, bogdanx.a.voiculescu
Version: 1.8   
Target Milestone: 1.8 M3   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: Regression (Used to work)
Verified: Documentation change: No (bug/feature does not impact docs)

Description Ionut Chisanovici 2015-02-25 14:59:28 UTC
Hi,

On all our Autobuilder machines, for 1.8_M3.RC1, commit: 40d80f9e019118ac7bcd268f21e350bc154a4a63, several oe-selftests failed or returned error due to the same issue. The same tests failed on all the AB machines.

IOError: file build/workspace/conf/layer.conf layer.conf not found
ERROR: Unable to parse build/workspace/conf/layer.conf

test_create_workspace (oeqa.selftest.devtool.DevtoolTests) ... 2015-02-25 08:47:01,428 - selftest.base - WARNING - tearDown commands have failed: bitbake-layers remove-layer */workspace
ok
test_devtool_add (oeqa.selftest.devtool.DevtoolTests) ... 2015-02-25 08:47:32,155 - selftest.base - WARNING - tearDown commands have failed: bitbake-layers remove-layer */workspace
ok
test_devtool_add_library (oeqa.selftest.devtool.DevtoolTests) ... FAIL
test_devtool_extract (oeqa.selftest.devtool.DevtoolTests) ... 2015-02-25 08:47:36,516 - selftest.base - WARNING - tearDown commands have failed: bitbake-layers remove-layer */workspace
ok
test_devtool_modify (oeqa.selftest.devtool.DevtoolTests) ... FAIL
test_devtool_modify_git (oeqa.selftest.devtool.DevtoolTests) ... FAIL
test_devtool_update_recipe (oeqa.selftest.devtool.DevtoolTests) ... FAIL
test_devtool_update_recipe_git (oeqa.selftest.devtool.DevtoolTests) ... FAIL
test_recipetool_create (oeqa.selftest.devtool.DevtoolTests) ... FAIL
test_recipetool_create_git (oeqa.selftest.devtool.DevtoolTests) ... FAIL
test_buildhistory_diff (oeqa.selftest.oescripts.BuildhistoryDiffTests) ... FAIL
2015-02-25 08:47:40,179 - selftest.base - WARNING - tearDown commands have failed: cleanup-workdir
test_cleanup_workdir (oeqa.selftest.oescripts.TestScripts) ... FAIL
2015-02-25 08:47:40,636 - selftest - INFO - Running bitbake to generate pkgdata
ERROR
test_import_export_override_db (oeqa.selftest.prservice.BitbakePrTests) ... FAIL
test_import_export_replace_db (oeqa.selftest.prservice.BitbakePrTests) ... FAIL
test_pr_service_deb_arch_dep (oeqa.selftest.prservice.BitbakePrTests) ... FAIL
test_pr_service_deb_arch_indep (oeqa.selftest.prservice.BitbakePrTests) ... FAIL
test_pr_service_ipk_arch_dep (oeqa.selftest.prservice.BitbakePrTests) ... FAIL
test_pr_service_ipk_arch_indep (oeqa.selftest.prservice.BitbakePrTests) ... FAIL
test_pr_service_rpm_arch_dep (oeqa.selftest.prservice.BitbakePrTests) ... FAIL
test_pr_service_rpm_arch_indep (oeqa.selftest.prservice.BitbakePrTests) ... FAIL
test_cleansstate_task_distro_nonspecific (oeqa.selftest.sstatetests.SStateTests) ... ERROR
test_cleansstate_task_distro_specific (oeqa.selftest.sstatetests.SStateTests) ... ERROR
test_cleansstate_task_distro_specific_nonspecific (oeqa.selftest.sstatetests.SStateTests) ... ERROR
test_rebuild_distro_specific_sstate_cross_native_targets (oeqa.selftest.sstatetests.SStateTests) ... ERROR
test_rebuild_distro_specific_sstate_cross_target (oeqa.selftest.sstatetests.SStateTests) ... ERROR
test_rebuild_distro_specific_sstate_native_target (oeqa.selftest.sstatetests.SStateTests) ... ERROR
test_sstate_cache_management_script_using_machine (oeqa.selftest.sstatetests.SStateTests) ... ERROR
test_sstate_cache_management_script_using_pr_1 (oeqa.selftest.sstatetests.SStateTests) ... ERROR
test_sstate_cache_management_script_using_pr_2 (oeqa.selftest.sstatetests.SStateTests) ... ERROR
test_sstate_cache_management_script_using_pr_3 (oeqa.selftest.sstatetests.SStateTests) ... ERROR
test_sstate_creation_distro_nonspecific_fail (oeqa.selftest.sstatetests.SStateTests) ... ERROR
test_sstate_creation_distro_nonspecific_pass (oeqa.selftest.sstatetests.SStateTests) ... ERROR
test_sstate_creation_distro_specific_fail (oeqa.selftest.sstatetests.SStateTests) ... ERROR
test_sstate_creation_distro_specific_pass (oeqa.selftest.sstatetests.SStateTests) ... ERROR

Here is the lava results where you can check/see the oe-selftest results log: http://yocto-lava.rb.intel.com/dashboard/streams/?length=25&search=oe-selftest#table

Cheers,
Ionut C
Comment 1 Paul Eggleton 2015-02-25 15:30:47 UTC
Patch sent to the bitbake list.
Comment 3 Alexandru Georgescu 2015-03-27 06:22:47 UTC
verified.