Bug 14608 - devtool: fails reading plugin directory
Summary: devtool: fails reading plugin directory
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: Scripts and Tools (show other bugs)
Version: unspecified
Hardware: All Multiple
: Medium normal
Target Milestone: 4.1
Assignee: Unassigned
QA Contact:
URL:
Whiteboard: AB-INT
Depends on:
Blocks:
 
Reported: 2021-10-21 01:52 UTC by Paul Eggleton
Modified: 2022-04-16 10:06 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Eggleton 2021-10-21 01:52:38 UTC
From https://autobuilder.yoctoproject.org/typhoon/#/builders/80/builds/2707/steps/14/logs/stdio

(This was a build of abelloni/master-next, but I can't see anything obvious in the commits that would cause this.)

-------------------------- snip --------------------------
2021-10-21 01:20:22,355 - oe-selftest - INFO - ======================================================================
2021-10-21 01:20:22,355 - oe-selftest - INFO - FAIL: devtool.DevtoolAddTests.test_devtool_add_fetch_simple (subunit.RemotedTestCase)
2021-10-21 01:20:22,355 - oe-selftest - INFO - ----------------------------------------------------------------------
2021-10-21 01:20:22,355 - oe-selftest - INFO - testtools.testresult.real._StringException: Traceback (most recent call last):
  File "/home/pokybuild/yocto-worker/oe-selftest-debian/build/meta/lib/oeqa/selftest/cases/devtool.py", line 504, in test_devtool_add_fetch_simple
    result = runCmd('devtool status')
  File "/home/pokybuild/yocto-worker/oe-selftest-debian/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 status' returned non-zero exit status 1:
NOTE: Starting bitbake server...
Traceback (most recent call last):
  File "/home/pokybuild/yocto-worker/oe-selftest-debian/build/scripts/devtool", line 334, in <module>
    ret = main()
  File "/home/pokybuild/yocto-worker/oe-selftest-debian/build/scripts/devtool", line 290, in main
    scriptutils.load_plugins(logger, plugins, pluginpath)
  File "/home/pokybuild/yocto-worker/oe-selftest-debian/build/scripts/lib/scriptutils.py", line 90, in load_plugins
    known_plugins = [plugin_name(p.__name__) for p in plugins]
  File "/home/pokybuild/yocto-worker/oe-selftest-debian/build/scripts/lib/scriptutils.py", line 90, in <listcomp>
    known_plugins = [plugin_name(p.__name__) for p in plugins]
AttributeError: 'NoneType' object has no attribute '__name__'
-------------------------- snip --------------------------
Comment 1 Randy MacLeod 2022-03-17 14:45:35 UTC
This is a continuation of a series of races so even though it only happened once, we are keeping it opened.
Comment 2 Randy MacLeod 2022-03-17 14:46:29 UTC
* was only recorded once, I mean.
Comment 3 Richard Purdie 2022-04-16 10:06:03 UTC
I'm going to guess this happened as a result of https://git.yoctoproject.org/poky/commit/bitbake?id=b731e47eeb3e74d1a53ae88318063f0dd2cdd544 and that when it failed, the server shutdown was slow and a cooker was reused. We can reopen if it happens again.