Bug 10339

Summary: Fedora24 builder fails oe-selftest with "AssertionError: This test needs GnuPG"
Product: [Infrastructure] AutoBuilder Reporter: Joshua Lock <joshuagloe>
Component: autobuilderAssignee: Michael Halstead <mhalstead>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: High CC: infras.ab.watcher, Infras.watcher, pidge
Version: 2.2   
Target Milestone: 2.2 M4   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Joshua Lock 2016-09-28 08:57:51 UTC
A nighlty-oe-selftest build failed on the fedora24 builder due to the absence of gnupg. We need to install gnupg on the fedora24 builder.

We should probably make sure it's installed on machines in the new cluster too.
Comment 1 Joshua Lock 2016-10-04 15:56:35 UTC
The failing build was: 

https://autobuilder.yoctoproject.org/main/builders/nightly-oe-selftest/builds/693/steps/Running%20oe-selftest/logs/stdio

======================================================================
ERROR: setUpClass (oeqa.selftest.signing.Signing)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/meta/lib/oeqa/selftest/signing.py", line 22, in setUpClass
    raise AssertionError("This test needs GnuPG")
AssertionError: This test needs GnuPG

However all builders, including Fedora24, already have gpg installed. On f24 /usr/bin/gpg and /usr/bin/gpg2 are present.

Self assigning this so that I can try and repro on a local f24 machine.
Comment 2 Joshua Lock 2016-10-04 19:58:19 UTC
Miscommunication between Michael and myself. gnupg install date was 2016-09-30, so we shouldn't see this error on Fedora 24 in future.