<?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>10968</bug_id>
          
          <creation_ts>2017-01-25 17:13:51 +0000</creation_ts>
          <short_desc>selftest: devtool and recipetool fails on load plugin test.</short_desc>
          <delta_ts>2017-04-11 16:26:49 +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>devtools / tool chain</component>
          <version>2.3</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>NOTABUG</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.3 M3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jose Perez C">jose.perez.carranza</reporter>
          <assigned_to name="Jose Perez C">jose.perez.carranza</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</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>70132</commentid>
    <comment_count>0</comment_count>
    <who name="Jose Perez C">jose.perez.carranza</who>
    <bug_when>2017-01-25 17:13:51 +0000</bug_when>
    <thetext>commit: 62d7d4130202d8ede16abf9e7d779361ca70847e

STEPS 

1. oe-selftest --run-all 


EXPECTED RESULT

All test cases should be OK 


ACTUAL RESULT

When running selftest on GDC AB some of the workers are failing with below output 

********* Debian 8 &amp; Fedora 24

======================================================================
FAIL [16.505s]: test_devtool_load_plugin (oeqa.selftest.devtool.DevtoolTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File &quot;/home/ab/autobuilder/yocto-worker/nightly-oe-selftest-debian8a/build/meta/lib/oeqa/selftest/devtool.py&quot;, line 1358, in test_devtool_load_plugin
    self.assertEqual(result.output, &quot;no&quot;)
AssertionError: &quot;Delaying shutdown due to active processe[554 chars]\nno&quot; != &apos;no&apos;
- Delaying shutdown due to active processes which appear to be holding bitbake.lock:
- b&apos;COMMAND   PID USER   FD   TYPE DEVICE SIZE/OFF     NODE NAME\nPRServ  10207   ab   15u   REG    8,1        0 18877716 /home/ab/autobuilder/yocto-worker/nightly-oe-selftest-debian8a/build/build/bitbake.lock\n&apos;
- Delaying shutdown due to active processes which appear to be holding bitbake.lock:
- b&apos;COMMAND   PID USER   FD   TYPE DEVICE SIZE/OFF     NODE NAME\nPRServ  10207   ab   15u   REG    8,1        0 18877716 /home/ab/autobuilder/yocto-worker/nightly-oe-selftest-debian8a/build/build/bitbake.lock\n&apos;
  no


********** Ubuntu 14.04

======================================================================
FAIL [36.807s]: test_recipetool_load_plugin (oeqa.selftest.recipetool.RecipetoolTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File &quot;/home/ab/autobuilder/yocto-worker/nightly-oe-selftest-ubuntu1404/build/meta/lib/oeqa/selftest/recipetool.py&quot;, line 523, in test_recipetool_load_plugin
    self.assertEqual(result.output, path)
AssertionError: &quot;Delaying shutdown due to active processe[332 chars]ipts&quot; != &apos;/home/ab/autobuilder/yocto-worker/nightl[34 chars]ipts&apos;
- Delaying shutdown due to active processes which appear to be holding bitbake.lock:
- b&apos;COMMAND   PID USER   FD   TYPE DEVICE SIZE/OFF    NODE NAME\nPRServ  18450   ab   15u   REG    8,1        0 3282058 /home/ab/autobuilder/yocto-worker/nightly-oe-selftest-ubuntu1404/build/build/bitbake.lock\n&apos;
  /home/ab/autobuilder/yocto-worker/nightly-oe-selftest-ubuntu1404/build/scripts

NOTE: 
This failure was not present on :
Centos7 
Ubuntu 16.04
OpenSuse 13.2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>70181</commentid>
    <comment_count>1</comment_count>
    <who name="Jose Perez C">jose.perez.carranza</who>
    <bug_when>2017-01-26 14:11:57 +0000</bug_when>
    <thetext>In a second execution today the results were:

**** Debian 8 --&gt; Did not show any error 

**** Ubuntu 14.04 

======================================================================
FAIL [14.666s]: test_devtool_load_plugin (oeqa.selftest.devtool.DevtoolTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File &quot;/home/ab/autobuilder/yocto-worker/nightly-oe-selftest-ubuntu1404/build/meta/lib/oeqa/selftest/devtool.py&quot;, line 1356, in test_devtool_load_plugin
    self.assertEqual(result.output, &apos;1&apos;)
AssertionError: &quot;Delaying shutdown due to active processe[255 chars]&apos;\n1&quot; != &apos;1&apos;
- Delaying shutdown due to active processes which appear to be holding bitbake.lock:
- b&apos;COMMAND   PID USER   FD   TYPE DEVICE SIZE/OFF    NODE NAME\nPRServ  15121   ab   15u   REG    8,1        0 5275955 /home/ab/autobuilder/yocto-worker/nightly-oe-selftest-ubuntu1404/build/build/bitbake.lock\n&apos;
  1

**** Fedora 24 

======================================================================
FAIL: test_find_path (oeqa.selftest.pkgdata.OePkgdataUtilTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File &quot;/home/ab/autobuilder/yocto-worker/nightly-oe-selftest-fedora24/build/meta/lib/oeqa/utils/decorators.py&quot;, line 109, in wrapped_f
    return func(*args, **kwargs)
  File &quot;/home/ab/autobuilder/yocto-worker/nightly-oe-selftest-fedora24/build/meta/lib/oeqa/selftest/pkgdata.py&quot;, line 58, in test_find_path
    self.assertEqual(result.output, &apos;ERROR: Unable to find any package producing path /not/exist&apos;)
AssertionError: &apos;Process ProcessServer-1:\nTraceback (most[1113 chars]xist&apos; != &apos;ERROR: Unable to find any package produci[14 chars]xist&apos;
Diff is 1166 characters long. Set self.maxDiff to None to see it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>70719</commentid>
    <comment_count>2</comment_count>
    <who name="Aníbal Limón">anibal.limon</who>
    <bug_when>2017-02-15 20:28:54 +0000</bug_when>
    <thetext>I can&apos;t reproduce the problem in debian8 seems host problem due to the load.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71539</commentid>
    <comment_count>3</comment_count>
    <who name="Aníbal Limón">anibal.limon</who>
    <bug_when>2017-03-21 20:38:01 +0000</bug_when>
    <thetext>I can&apos;t reproduce this problem, Jose it appeared again or can i close the bug?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71541</commentid>
    <comment_count>4</comment_count>
    <who name="Jose Perez C">jose.perez.carranza</who>
    <bug_when>2017-03-21 21:00:33 +0000</bug_when>
    <thetext>(In reply to comment #3)
&gt; I can&apos;t reproduce this problem, Jose it appeared again or can i close the
&gt; bug?

In the last 2 cycles I have not seen this issue anymore it can be closed</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71542</commentid>
    <comment_count>5</comment_count>
    <who name="Jose Perez C">jose.perez.carranza</who>
    <bug_when>2017-03-21 21:02:04 +0000</bug_when>
    <thetext>bug was not present anymore, If issue appears again bug can be reopened.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>72302</commentid>
    <comment_count>6</comment_count>
    <who name="Jose Perez C">jose.perez.carranza</who>
    <bug_when>2017-04-11 16:26:49 +0000</bug_when>
    <thetext>as per Comment 5</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>