Bug 10876 - oe-selftest failure in test_list_pkgs (oeqa.selftest.pkgdata.OePkgdataUtilTests) on autobuilder
Summary: oe-selftest failure in test_list_pkgs (oeqa.selftest.pkgdata.OePkgdataUtilTes...
Status: RESOLVED WORKSFORME
Alias: None
Product: Build Testing
Classification: QA/Testing
Component: general (show other bugs)
Version: 2.3
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 2.3 M2
Assignee: Jose Lamego
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2017-01-04 09:24 UTC by Joshua Lock
Modified: 2017-01-23 20:36 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
stdio output (350.82 KB, application/octet-stream)
2017-01-04 09:24 UTC, Joshua Lock
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Joshua Lock 2017-01-04 09:24:29 UTC
Created attachment 3584 [details]
stdio output

This test failed in a master run on the autobuilder:

======================================================================
FAIL: test_list_pkgs (oeqa.selftest.pkgdata.OePkgdataUtilTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/meta/lib/oeqa/utils/decorators.py", line 109, in wrapped_f
    return func(*args, **kwargs)
  File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/meta/lib/oeqa/selftest/pkgdata.py", line 97, in test_list_pkgs
    self.assertEqual(pkglist, ['libz-dbg', 'libz-dev', 'libz-doc', 'libz-staticdev', 'libz1'], "Packages listed after remove: %s" % result.output)
AssertionError: Lists differ: ["/home/pokybuild/yocto-autobuilder/yocto-[384 chars]ich'] != ['libz-dbg', 'libz-dev', 'libz-doc', 'libz[16 chars]bz1']

First differing element 0:
/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/build/bitbake.lock\n'
libz-dbg

First list contains 29 additional elements.
First extra element 5:
9188

+ ['libz-dbg', 'libz-dev', 'libz-doc', 'libz-staticdev', 'libz1']
- ["/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/build/bitbake.lock\\n'",
-  '0',
-  '15u',
-  '252,2',
-  '25957971',
-  '9188',
-  'DEVICE',
-  'Delaying',
-  'FD',
-  'NAME\\nPRServ',
-  'NODE',
-  'PID',
-  'REG',
-  'SIZE/OFF',
-  'TYPE',
-  'USER',
-  'active',
-  'appear',
-  "b'COMMAND",
-  'be',
-  'bitbake.lock:',
-  'due',
-  'holding',
-  'libz-dbg',
-  'libz-dev',
-  'libz-doc',
-  'libz-staticdev',
-  'libz1',
-  'pokybuild',
-  'processes',
-  'shutdown',
-  'to',
-  'to',
-  'which'] : Packages listed after remove: 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  9188 pokybuild   15u   REG  252,2        0 25957971 /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/build/bitbake.lock\n'
libz-staticdev
libz-doc
libz-ptest
libz-dev
libz-dbg
libz1

stdio output attached from: https://autobuilder.yoctoproject.org/main/builders/nightly-oe-selftest/builds/783/steps/Running%20oe-selftest/logs/stdio
Comment 1 Jose Lamego 2017-01-20 17:08:07 UTC
I've haven't been able to reproduce this failure, and find no other occurrences at the autobuilder logs in errors.yoctoproject.org

I will launch another build at the GDC autobuilder to confirm.
Comment 2 Jose Lamego 2017-01-23 20:36:31 UTC
Couldn't reproduce the reported failure at the GDC autobuilder either (test_list_pkgs test is successful). I'm closing this bug now but it can be reopened if this behavior is detected again.