<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>14608</bug_id>
          
          <creation_ts>2021-10-21 01:52:38 +0000</creation_ts>
          <short_desc>devtool: fails reading plugin directory</short_desc>
          <delta_ts>2022-04-16 10:06:03 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>Scripts and Tools</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>AB-INT</status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>4.1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Paul Eggleton">bluelightning</reporter>
          <assigned_to name="Unassigned">unassigned</assigned_to>
          <cc>alexandre.belloni</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>ross.burton</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>91793</commentid>
    <comment_count>0</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2021-10-21 01:52:38 +0000</bug_when>
    <thetext>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&apos;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 &quot;/home/pokybuild/yocto-worker/oe-selftest-debian/build/meta/lib/oeqa/selftest/cases/devtool.py&quot;, line 504, in test_devtool_add_fetch_simple
    result = runCmd(&apos;devtool status&apos;)
  File &quot;/home/pokybuild/yocto-worker/oe-selftest-debian/build/meta/lib/oeqa/utils/commands.py&quot;, line 207, in runCmd
    raise AssertionError(&quot;Command &apos;%s&apos; returned non-zero exit status %d:\n%s&quot; % (command, result.status, exc_output))
AssertionError: Command &apos;devtool status&apos; returned non-zero exit status 1:
NOTE: Starting bitbake server...
Traceback (most recent call last):
  File &quot;/home/pokybuild/yocto-worker/oe-selftest-debian/build/scripts/devtool&quot;, line 334, in &lt;module&gt;
    ret = main()
  File &quot;/home/pokybuild/yocto-worker/oe-selftest-debian/build/scripts/devtool&quot;, line 290, in main
    scriptutils.load_plugins(logger, plugins, pluginpath)
  File &quot;/home/pokybuild/yocto-worker/oe-selftest-debian/build/scripts/lib/scriptutils.py&quot;, line 90, in load_plugins
    known_plugins = [plugin_name(p.__name__) for p in plugins]
  File &quot;/home/pokybuild/yocto-worker/oe-selftest-debian/build/scripts/lib/scriptutils.py&quot;, line 90, in &lt;listcomp&gt;
    known_plugins = [plugin_name(p.__name__) for p in plugins]
AttributeError: &apos;NoneType&apos; object has no attribute &apos;__name__&apos;
-------------------------- snip --------------------------</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>92798</commentid>
    <comment_count>1</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2022-03-17 14:45:35 +0000</bug_when>
    <thetext>This is a continuation of a series of races so even though it only happened once, we are keeping it opened.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>92799</commentid>
    <comment_count>2</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2022-03-17 14:46:29 +0000</bug_when>
    <thetext>* was only recorded once, I mean.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>93099</commentid>
    <comment_count>3</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2022-04-16 10:06:03 +0000</bug_when>
    <thetext>I&apos;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.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>