Bug 10968 - selftest: devtool and recipetool fails on load plugin test.
Summary: selftest: devtool and recipetool fails on load plugin test.
Status: VERIFIED NOTABUG
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: devtools / tool chain (show other bugs)
Version: 2.3
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 2.3 M3
Assignee: Jose Perez C
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2017-01-25 17:13 UTC by Jose Perez C
Modified: 2017-04-11 16:26 UTC (History)
2 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 Jose Perez C 2017-01-25 17:13:51 UTC
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 & Fedora 24

======================================================================
FAIL [16.505s]: test_devtool_load_plugin (oeqa.selftest.devtool.DevtoolTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/ab/autobuilder/yocto-worker/nightly-oe-selftest-debian8a/build/meta/lib/oeqa/selftest/devtool.py", line 1358, in test_devtool_load_plugin
    self.assertEqual(result.output, "no")
AssertionError: "Delaying shutdown due to active processe[554 chars]\nno" != 'no'
- Delaying shutdown due to active processes which appear to be holding bitbake.lock:
- b'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'
- Delaying shutdown due to active processes which appear to be holding bitbake.lock:
- b'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'
  no


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

======================================================================
FAIL [36.807s]: test_recipetool_load_plugin (oeqa.selftest.recipetool.RecipetoolTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/ab/autobuilder/yocto-worker/nightly-oe-selftest-ubuntu1404/build/meta/lib/oeqa/selftest/recipetool.py", line 523, in test_recipetool_load_plugin
    self.assertEqual(result.output, path)
AssertionError: "Delaying shutdown due to active processe[332 chars]ipts" != '/home/ab/autobuilder/yocto-worker/nightl[34 chars]ipts'
- Delaying shutdown due to active processes which appear to be holding bitbake.lock:
- b'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'
  /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
Comment 1 Jose Perez C 2017-01-26 14:11:57 UTC
In a second execution today the results were:

**** Debian 8 --> 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 "/home/ab/autobuilder/yocto-worker/nightly-oe-selftest-ubuntu1404/build/meta/lib/oeqa/selftest/devtool.py", line 1356, in test_devtool_load_plugin
    self.assertEqual(result.output, '1')
AssertionError: "Delaying shutdown due to active processe[255 chars]'\n1" != '1'
- Delaying shutdown due to active processes which appear to be holding bitbake.lock:
- b'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'
  1

**** Fedora 24 

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

In the last 2 cycles I have not seen this issue anymore it can be closed
Comment 5 Jose Perez C 2017-03-21 21:02:04 UTC
bug was not present anymore, If issue appears again bug can be reopened.
Comment 6 Jose Perez C 2017-04-11 16:26:49 UTC
as per Comment 5