Bug 14577 - devtool.DevtoolAddTests.test_devtool_add_library failed
Summary: devtool.DevtoolAddTests.test_devtool_add_library failed
Status: RESOLVED FIXED
Alias: None
Product: Functional (self) Testing
Classification: QA/Testing
Component: oe-selftest (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium normal
Target Milestone: 4.3
Assignee: Unassigned
QA Contact:
URL:
Whiteboard: AB-INT AB-HAVE-PLAN
Depends on:
Blocks:
 
Reported: 2021-09-26 13:27 UTC by Oleksiy Obitotskyy
Modified: 2023-09-18 12:50 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Oleksiy Obitotskyy 2021-09-26 13:27:44 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/79/builds/2604

2021-09-25 12:24:00,258 - oe-selftest - INFO - 14: 6/23 82/443 (20.05s) (devtool.DevtoolAddTests.test_devtool_add_library)
2021-09-25 12:24:00,258 - oe-selftest - INFO - testtools.testresult.real._StringException: Traceback (most recent call last):
  File "/home/pokybuild/yocto-worker/oe-selftest-centos/build/meta/lib/oeqa/selftest/cases/devtool.py", line 361, in test_devtool_add_library
    result = runCmd('devtool add libftdi %s -V %s' % (srcdir, version))
  File "/home/pokybuild/yocto-worker/oe-selftest-centos/build/meta/lib/oeqa/utils/commands.py", line 207, in runCmd
    raise AssertionError("Command '%s' returned non-zero exit status %d:\n%s" % (command, result.status, exc_output))
AssertionError: Command 'devtool add libftdi /tmp/devtoolqamfljxyvi/libftdi1-1.1 -V 1.1' returned non-zero exit status 2:
NOTE: Starting bitbake server...
ERROR: The following layer directories do not exist:
ERROR:    /home/pokybuild/yocto-worker/oe-selftest-centos/build/build-st-3883731/workspace
ERROR: Please check BBLAYERS in /home/pokybuild/yocto-worker/oe-selftest-centos/build/build-st-3883731/conf/bblayers.conf
ERROR: The following layer directories do not exist:
ERROR:    /home/pokybuild/yocto-worker/oe-selftest-centos/build/build-st-3883731/workspace
ERROR: Please check BBLAYERS in /home/pokybuild/yocto-worker/oe-selftest-centos/build/build-st-3883731/conf/bblayers.conf

Related to https://bugzilla.yoctoproject.org/show_bug.cgi?id=13625 ?
Comment 1 Randy MacLeod 2021-09-30 15:04:40 UTC
logic error in the clean-up of oeselftest.
Comment 2 Richard Purdie 2021-10-04 12:32:38 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/79/builds/2644/steps/14/logs/stdio shows a way this error could be better reproduced
Comment 3 Richard Purdie 2023-09-18 12:50:37 UTC
I suspect this may have been caused by issues fixed in the following changes:
https://git.yoctoproject.org/poky/commit/?id=37c31a5adc26fc947a447ca9eae0983a654d1a33
https://git.yoctoproject.org/poky/commit/?id=022deeb0effb92280cb86da962d8bd5e94d44947