<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>14003</bug_id>
          
          <creation_ts>2020-08-12 02:31:23 +0000</creation_ts>
          <short_desc>Intermittent GPG selftest failure</short_desc>
          <delta_ts>2020-12-10 16:06:02 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>core</component>
          <version>3.2</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>AB-INT</status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>3.3 M1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Richard Purdie">richard.purdie</reporter>
          <assigned_to name="Joshua Watt">JPEWhacker</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>steve</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>87912</commentid>
    <comment_count>0</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2020-08-12 02:31:23 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/typhoon/#/builders/56/builds/1153

Seen on ubuntu2004-ty-2, was one of Bruce&apos;s kernel builds but likely unrelated to that.

2020-08-12 06:06:06,997 - oe-selftest - INFO - ======================================================================
2020-08-12 06:06:06,997 - oe-selftest - INFO - FAIL: runtime_test.TestImage.test_testimage_dnf (subunit.RemotedTestCase)
2020-08-12 06:06:06,997 - oe-selftest - INFO - ----------------------------------------------------------------------
2020-08-12 06:06:06,997 - oe-selftest - INFO - testtools.testresult.real._StringException: Traceback (most recent call last):
  File &quot;/home/pokybuild/yocto-worker/oe-selftest/build/meta/lib/oeqa/selftest/cases/runtime_test.py&quot;, line 159, in test_testimage_dnf
    runCmd(&apos;gpg --batch --homedir %s --import %s&apos; % (self.gpg_home, os.path.join(signing_key_dir, &apos;key.secret&apos;)), native_sysroot=get_bb_var(&quot;RECIPE_SYSROOT_NATIVE&quot;, &quot;gnupg-native&quot;))
  File &quot;/home/pokybuild/yocto-worker/oe-selftest/build/meta/lib/oeqa/utils/commands.py&quot;, line 201, in runCmd
    raise AssertionError(&quot;Command &apos;%s&apos; returned non-zero exit status %d:\n%s&quot; % (command, result.status, exc_output))
AssertionError: Command &apos;gpg --batch --homedir /tmp/oeqa-feed-sign-u5hn7fla --import /home/pokybuild/yocto-worker/oe-selftest/build/build-st-2674944/meta-selftest/files/signing/key.secret&apos; returned non-zero exit status 2:
gpg: keybox &apos;/tmp/oeqa-feed-sign-u5hn7fla/pubring.kbx&apos; created
gpg: /tmp/oeqa-feed-sign-u5hn7fla/trustdb.gpg: trustdb created
gpg: key 7B31316B5D64AD52: public key &quot;testuser (nocomment) &lt;testuser@testemail.com&gt;&quot; imported
gpg: can&apos;t connect to the agent: IPC connect call failed
gpg: error getting the KEK: No agent running
gpg: error reading &apos;/home/pokybuild/yocto-worker/oe-selftest/build/build-st-2674944/meta-selftest/files/signing/key.secret&apos;: No agent running
gpg: import from &apos;/home/pokybuild/yocto-worker/oe-selftest/build/build-st-2674944/meta-selftest/files/signing/key.secret&apos; failed: No agent running
gpg: Total number processed: 0
gpg:               imported: 1
gpg:       secret keys read: 1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>87982</commentid>
    <comment_count>1</comment_count>
    <who name="Steve Sakoman">steve</who>
    <bug_when>2020-08-19 08:40:41 +0000</bug_when>
    <thetext>Seen again on dunfell build (fedora31-ty-1 worker):

https://autobuilder.yoctoproject.org/typhoon/#/builders/86/builds/1248</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>87989</commentid>
    <comment_count>2</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2020-08-20 00:20:54 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/typhoon/#/builders/79/builds/1266

master-next build, centos8-ty-2 worker

ERROR: core-image-full-cmdline-1.0-r0 do_rootfs: GPG exited with code 2: gpg: can&apos;t connect to the agent: IPC connect call failed
gpg: keydb_search failed: No agent running
gpg: skipped &quot;testuser&quot;: No agent running
gpg: signing failed: No agent running</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>88025</commentid>
    <comment_count>3</comment_count>
    <who name="Joshua Watt">JPEWhacker</who>
    <bug_when>2020-08-24 18:06:19 +0000</bug_when>
    <thetext>The GPG home path is clearly list in the command (/tmp/oeqa-feed-sign-u5hn7fla) and is no where near the path limit, so I don&apos;t think that is the issue</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>88621</commentid>
    <comment_count>4</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2020-11-19 15:42:26 +0000</bug_when>
    <thetext>Lowered to medium, raise to M+ if seen again.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>88758</commentid>
    <comment_count>5</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2020-12-10 16:06:02 +0000</bug_when>
    <thetext>Not seen in a while. Reopen if you see this issue.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>