Bug 8786 - oeselftest fails test_signing_packages
Summary: oeselftest fails test_signing_packages
Status: RESOLVED DUPLICATE of bug 8736
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 2.1
Hardware: x86 Multiple
: Undecided normal
Target Milestone: ---
Assignee: Ross Burton
QA Contact: Bogdan Alexandru Voiculescu
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2015-12-10 12:50 UTC by Beth Flanagan
Modified: 2016-02-04 08:10 UTC (History)
3 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 Beth Flanagan 2015-12-10 12:50:00 UTC
https://autobuilder.yoctoproject.org/main/builders/nightly-oe-selftest/builds/271/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
Already filed, marking as dup.

*** This bug has been marked as a duplicate of bug 8736 ***
Comment 2 Bogdan Alexandru Voiculescu 2016-02-04 08:10:59 UTC
verified as duplicate bug