Bug 8736

Summary: test_signing_packages (oeqa.selftest.signing.Signing) failed
Product: [QA/Testing] Build Testing Reporter: Maxin B. John <maxin.john>
Component: generalAssignee: Markus Lehtonen <markus.lehtonen>
Status: VERIFIED FIXED QA Contact: Bogdan Alexandru Voiculescu <bogdanx.a.voiculescu>
Severity: normal    
Priority: Medium+ CC: bogdanx.a.voiculescu, elizabeth.flanagan
Version: 2.0   
Target Milestone: 2.1 M2   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)
Attachments:
Description Flags
https://autobuilder.yoctoproject.org/main/builders/nightly-oe-selftest/builds/256/steps/Running%20oe-selftest/logs/stdio none

Description Maxin B. John 2015-11-30 12:56:59 UTC
Created attachment 2878 [details]
https://autobuilder.yoctoproject.org/main/builders/nightly-oe-selftest/builds/256/steps/Running%20oe-selftest/logs/stdio

FAIL: test_signing_packages (oeqa.selftest.signing.Signing)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/meta/lib/oeqa/utils/decorators.py", line 106, in wrapped_f
    return func(*args, **kwargs)
  File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/meta/lib/oeqa/selftest/signing.py", line 72, in test_signing_packages
    runCmd('%s/rpm --import %s%s' % (staging_bindir_native, self.gpg_dir, self.pub_key_name))
  File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/meta/lib/oeqa/utils/commands.py", line 105, in runCmd
    raise AssertionError("Command '%s' returned non-zero exit status %d:\n%s" % (command, result.status, result.output))
AssertionError: Command '/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/build/tmp/sysroots/x86_64-linux/usr/bin/rpm --import /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/meta-selftest/files/signing/key.pub' returned non-zero exit status 1:
rpmdb: BDB1540 configured environment flags incompatible with existing environment
error: cannot open Packages(0) index: Invalid argument(22)
	DB: Berkeley DB 6.0.30: (January 23, 2014)
error: cannot open Packages database in /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/build/tmp/sysroots/x86_64-linux/var/lib/rpm
error: /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/meta-selftest/files/signing/key.pub: import failed.
Comment 1 Ross Burton 2015-12-10 12:54:50 UTC
*** Bug 8786 has been marked as a duplicate of this bug. ***
Comment 2 Markus Lehtonen 2016-01-26 12:56:52 UTC
A fix was merged in:
http://git.openembedded.org/openembedded-core/commit/?id=e2ddf409f405ab570ea7f6ed87180789b3a54607

Please re-open if you still see this.