<?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>8288</bug_id>
          
          <creation_ts>2015-09-11 12:17:02 +0000</creation_ts>
          <short_desc>oeselftest fails test_image_manifest_entries</short_desc>
          <delta_ts>2015-10-28 13:07:58 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>QA/Testing</classification>
          <product>Runtime Testing</product>
          <component>general</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>NOTABUG</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>2.0</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Beth Flanagan">elizabeth.flanagan</reporter>
          <assigned_to name="Benjamin Esquivel">benjamin.esquivel</assigned_to>
          <cc>benjamin.esquivel</cc>
    
    <cc>bogdanx.a.voiculescu</cc>
    
    <cc>mariano.lopez</cc>
          
          <qa_contact name="Bogdan Alexandru Voiculescu">bogdanx.a.voiculescu</qa_contact>
          <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>53972</commentid>
    <comment_count>0</comment_count>
    <who name="Beth Flanagan">elizabeth.flanagan</who>
    <bug_when>2015-09-11 12:17:02 +0000</bug_when>
    <thetext>Seen: https://autobuilder.yoctoproject.org/main/builders/nightly-oe-selftest/builds/184/steps/Running%20oe-selftest/logs/stdio

======================================================================
FAIL: test_image_manifest_entries (oeqa.selftest.manifest.VerifyManifest)
Verifying the image manifest entries exist
----------------------------------------------------------------------
Traceback (most recent call last):
  File &quot;/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/meta/lib/oeqa/selftest/manifest.py&quot;, line 165, in test_image_manifest_entries
    if m_collection.errors: self.fail()
AssertionError: None</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>53988</commentid>
    <comment_count>1</comment_count>
    <who name="Benjamin Esquivel">benjamin.esquivel</who>
    <bug_when>2015-09-11 21:02:33 +0000</bug_when>
    <thetext>Pasting the log entries that refer to the missing manifest entries:

2015-09-10 04:35:33,456 - selftest.base - DEBUG - VerifyManifest: Check manifest /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/build/tmp/deploy/images/qemux86-64/core-image-minimal-qemux86-64-20150910101305.rootfs.manifest
2015-09-10 04:35:33,459 - selftest.base - DEBUG - VerifyManifest: /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/build/tmp/sysroots/qemux86-64/pkgdata/runtime-reverse/mdadm not found

2015-09-10 04:35:33,464 - selftest.base - DEBUG - VerifyManifest: Check manifest /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/build/tmp/deploy/images/qemux86-64/core-image-directfb-qemux86-64.manifest
2015-09-10 04:35:33,467 - selftest.base - DEBUG - VerifyManifest: /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/build/tmp/sysroots/qemux86-64/pkgdata/runtime-reverse/cronie not found

2015-09-10 04:35:33,573 - selftest.base - DEBUG - VerifyManifest: Check manifest /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/build/tmp/deploy/images/qemux86-64/core-image-directfb-qemux86-64-20150910094633.rootfs.manifest
2015-09-10 04:35:33,575 - selftest.base - DEBUG - VerifyManifest: /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/build/tmp/sysroots/qemux86-64/pkgdata/runtime-reverse/cronie not found</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>54243</commentid>
    <comment_count>2</comment_count>
    <who name="Benjamin Esquivel">benjamin.esquivel</who>
    <bug_when>2015-09-17 22:53:20 +0000</bug_when>
    <thetext>I ran a couple of more tests in the GDC autobuilders and I saw the failure again, seems like cronie and mdadm are refusing to join the party, either together or separately.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>54305</commentid>
    <comment_count>3</comment_count>
    <who name="Benjamin Esquivel">benjamin.esquivel</who>
    <bug_when>2015-09-18 22:31:10 +0000</bug_when>
    <thetext>Image manifests in the deploy dir are accumulated, so it keeps the old manifests which are not descriptive of the currently built image.

Need to change the test to target a specific manifest file instead of all the files found in the dir.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>54306</commentid>
    <comment_count>4</comment_count>
    <who name="Benjamin Esquivel">benjamin.esquivel</who>
    <bug_when>2015-09-18 22:36:19 +0000</bug_when>
    <thetext>A pointer to look in the  meta/classes/testimage.bbclass, specifically the following line:

manifest = os.path.join(d.getVar(&quot;DEPLOY_DIR_IMAGE&quot;, True), d.getVar(&quot;IMAGE_LINK_NAME&quot;, True) + &quot;.manifest&quot;)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>54501</commentid>
    <comment_count>5</comment_count>
    <who name="Benjamin Esquivel">benjamin.esquivel</who>
    <bug_when>2015-09-22 22:38:56 +0000</bug_when>
    <thetext>This is a test error and will be addressed at bug 8028</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>55908</commentid>
    <comment_count>6</comment_count>
    <who name="Bogdan Alexandru Voiculescu">bogdanx.a.voiculescu</who>
    <bug_when>2015-10-28 13:07:58 +0000</bug_when>
    <thetext>old manifests can have garbage inside until bug 8028 will be merged. 
Not a bug.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>