Bug 8736 - test_signing_packages (oeqa.selftest.signing.Signing) failed
Summary: test_signing_packages (oeqa.selftest.signing.Signing) failed
Status: VERIFIED FIXED
Alias: None
Product: Build Testing
Classification: QA/Testing
Component: general (show other bugs)
Version: 2.0
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 2.1 M2
Assignee: Markus Lehtonen
QA Contact: Bogdan Alexandru Voiculescu
URL:
Whiteboard:
: 8786 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-11-30 12:56 UTC by Maxin B. John
Modified: 2016-02-04 08:13 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
https://autobuilder.yoctoproject.org/main/builders/nightly-oe-selftest/builds/256/steps/Running%20oe-selftest/logs/stdio (27.60 KB, text/html)
2015-11-30 12:56 UTC, Maxin B. John
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.