Bug 8786

Summary: oeselftest fails test_signing_packages
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Beth Flanagan <elizabeth.flanagan>
Component: coreAssignee: Ross Burton <ross.burton>
Status: RESOLVED DUPLICATE QA Contact: Bogdan Alexandru Voiculescu <bogdanx.a.voiculescu>
Severity: normal    
Priority: Undecided CC: bogdanx.a.voiculescu, meta.mr.watcher, meta.watcher
Version: 2.1   
Target Milestone: ---   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

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