<?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>11191</bug_id>
          
          <creation_ts>2017-03-20 13:57:35 +0000</creation_ts>
          <short_desc>test_signing_packages failed on AB</short_desc>
          <delta_ts>2017-03-23 13:37:07 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>QA/Testing</classification>
          <product>Build Testing</product>
          <component>general</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Undecided</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jussi Kukkonen">jku</reporter>
          <assigned_to name="Alexander Kanavin">alex.kanavin</assigned_to>
          <cc>benjamin.esquivel</cc>
    
    <cc>markus.lehtonen</cc>
    
    <cc>ross.burton</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>Regression (Used to work)</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>71449</commentid>
    <comment_count>0</comment_count>
    <who name="Jussi Kukkonen">jku</who>
    <bug_when>2017-03-20 13:57:35 +0000</bug_when>
    <thetext>This happened on a ross/mut (efee3c17d68) build (https://autobuilder.yocto.io/builders/nightly-oe-selftest/builds/218/steps/Running%20oe-selftest/logs/stdio). 

The issues is that rpmkeys call in the test failed with &quot;import read failed(2)&quot;. I&apos;ve run the test locally (with same commit) and it seems to work fine -- the keyfile is there and rpmkeys imports it without complaints. 


Assigning for now to Alexander because the branch contains fd04d16568 &quot;verify that images can be created from signed packages&quot; and CCing markus for 9a548edb0f0 &quot;import rpm signing key to rpmdb&quot;.


Log:


======================================================================
FAIL [396.593s]: test_signing_packages (oeqa.selftest.signing.Signing)
----------------------------------------------------------------------
Traceback (most recent call last):
  File &quot;/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/meta/lib/oeqa/utils/decorators.py&quot;, line 109, in wrapped_f
    return func(*args, **kwargs)
  File &quot;/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/meta/lib/oeqa/selftest/signing.py&quot;, line 93, in test_signing_packages
    bitbake(&apos;core-image-minimal&apos;)
  File &quot;/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/meta/lib/oeqa/utils/commands.py&quot;, line 143, in bitbake
    return runCmd(cmd, ignore_status, timeout, **options)
  File &quot;/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/meta/lib/oeqa/utils/commands.py&quot;, line 121, in runCmd
    raise AssertionError(&quot;Command &apos;%s&apos; returned non-zero exit status %d:\n%s&quot; % (command, result.status, result.output))
AssertionError: Command &apos;bitbake  core-image-minimal&apos; returned non-zero exit status 1:

...

ERROR: core-image-minimal-1.0-r0 do_rootfs: Importing GPG key failed. Command &apos;/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/build/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/recipe-sysroot-native/usr/bin/rpmkeys --root=/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/build/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/rootfs --import /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/build/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/recipe-sysroot//etc/pki/rpm-gpg/RPM-GPG-KEY-2.2+snapshot-20170318&apos; returned 1:
error: /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/build/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/recipe-sysroot//etc/pki/rpm-gpg/RPM-GPG-KEY-2.2+snapshot-20170318: import read failed(2).

---</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71633</commentid>
    <comment_count>1</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2017-03-23 13:37:07 +0000</bug_when>
    <thetext>Merged in oe-core 74ea979044368dc28c24325e7e77471b70aa8fe8.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>