<?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>11983</bug_id>
          
          <creation_ts>2017-08-27 16:00:18 +0000</creation_ts>
          <short_desc>dnf selftest has date wrapping bug?</short_desc>
          <delta_ts>2017-08-31 15:04:23 +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>Scripts and Tools</component>
          <version>2.2</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>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.4 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Richard Purdie">richard.purdie</reporter>
          <assigned_to name="Alexander Kanavin">alex.kanavin</assigned_to>
          <cc>markus.lehtonen</cc>
    
    <cc>ross.burton</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>76177</commentid>
    <comment_count>0</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2017-08-27 16:00:18 +0000</bug_when>
    <thetext>NOTE: test_verify_package_feeds (dnf_runtime.DnfSelftest)
NOTE:  ... FAIL
NOTE: ======================================================================
NOTE: FAIL: test_verify_package_feeds (dnf_runtime.DnfSelftest)
NOTE: ----------------------------------------------------------------------
NOTE: Traceback (most recent call last):
  File &quot;/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/meta/lib/oeqa/core/decorator/__init__.py&quot;, line 32, in wrapped_f
    return func(*args, **kwargs)
  File &quot;/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/meta-selftest/lib/oeqa/runtime/cases/dnf_runtime.py&quot;, line 40, in test_verify_package_feeds
    output_makecache = self.dnf(&apos;-vy makecache&apos;)
  File &quot;/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/meta/lib/oeqa/runtime/cases/dnf.py&quot;, line 18, in dnf
    self.assertEqual(status, expected, message)
AssertionError: 1 != 0 : dnf -vy makecache
DNF version: 2.6.3
cachedir: /var/cache/dnf
Making cache files for all metadata files.
oe-remote-repo: has expired and will be refreshed.
Curl error (37): Couldn&apos;t read a file:// file for file:///etc/pki/packagefeed-gpg/PACKAGEFEED-GPG-KEY-2.3+snapshot-20170827 [Couldn&apos;t open file /etc/pki/packagefeed-gpg/PACKAGEFEED-GPG-KEY-2.3+snapshot-20170827]

NOTE: ----------------------------------------------------------------------
NOTE: Ran 4 tests in 2.610s
NOTE: FAILED
NOTE:  (failures=1)
Stopping logging thread
NOTE: Stopping logging thread

from https://autobuilder.yocto.io/builders/nightly-oe-selftest/builds/487/steps/Running%20oe-selftest/logs/stdio

Looks like the date may have wrapped meaning it didn&apos;t find the way? (The parent test is oe-selftest -r runtime_test.TestImage.test_testimage_dnf)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>76179</commentid>
    <comment_count>1</comment_count>
    <who name="Ed Bartosh">eduard.bartosh</who>
    <bug_when>2017-08-28 07:51:28 +0000</bug_when>
    <thetext>reassigning to the dnf maintainer</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>76225</commentid>
    <comment_count>2</comment_count>
    <who name="Alexander Kanavin">alex.kanavin</who>
    <bug_when>2017-08-29 11:49:35 +0000</bug_when>
    <thetext>I&apos;ve replaced DISTRO_VERSION with DISTRO-DISTRO_CODENAME in the key filenames.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>