Bug 12533

Summary: [2.2.3 rc2] selftest: setUpClass failed failing on ubuntu 17.10 (oeqa.selftest.signing.Signing)
Product: [Build System, Metadata & Runtime] OE-Core Reporter: yeoh ee peng <ee.peng.yeoh>
Component: devtools / tool chainAssignee: Alexander Kanavin <alex.kanavin>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: Medium+ CC: alex.kanavin, meta.mr.watcher, meta.watcher
Version: 2.2.3   
Target Milestone: 2.5 M3   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description yeoh ee peng 2018-02-05 03:34:10 UTC
Similar to Bug 12073, selftest.signing.Signing was failing at setUpClass, error logs are attached below: 

ERROR [0.000s]: setUpClass (oeqa.selftest.signing.Signing)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/ab/autobuilder/yocto-worker/nightly-oe-selftest-ubuntu1710/build/meta/lib/oeqa/selftest/signing.py", line 29, in setUpClass
    runCmd('gpg --homedir %s --import %s %s' % (cls.gpg_dir, cls.pub_key_path, cls.secret_key_path))
  File "/home/ab/autobuilder/yocto-worker/nightly-oe-selftest-ubuntu1710/build/meta/lib/oeqa/utils/commands.py", line 114, in runCmd
    raise AssertionError("Command '%s' returned non-zero exit status %d:\n%s" % (command, result.status, result.output))
AssertionError: Command 'gpg --homedir /tmp/oeqa-signing-_dt2aj9n --import /home/ab/autobuilder/yocto-worker/nightly-oe-selftest-ubuntu1710/build/meta-selftest/files/signing/key.pub /home/ab/autobuilder/yocto-worker/nightly-oe-selftest-ubuntu1710/build/meta-selftest/files/signing/key.secret' returned non-zero exit status 2:
gpg: keybox '/tmp/oeqa-signing-_dt2aj9n/pubring.kbx' created
gpg: /tmp/oeqa-signing-_dt2aj9n/trustdb.gpg: trustdb created
gpg: key 7B31316B5D64AD52: public key "testuser (nocomment) <testuser@testemail.com>" imported
gpg: key 7B31316B5D64AD52: "testuser (nocomment) <testuser@testemail.com>" not changed
gpg: key 7B31316B5D64AD52/7B31316B5D64AD52: error sending to agent: Timeout
gpg: error building skey array: Timeout
gpg: Total number processed: 2
gpg:               imported: 1
gpg:              unchanged: 1
gpg:       secret keys read: 1
Comment 1 Alexander Kanavin 2018-02-08 16:56:55 UTC
Please look at the duplicated bug. I need additional info to move forward with it.

*** This bug has been marked as a duplicate of bug 12521 ***