<?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>8455</bug_id>
          
          <creation_ts>2015-10-07 15:55:24 +0000</creation_ts>
          <short_desc>QA: Add tests to empty image</short_desc>
          <delta_ts>2021-02-14 11:09:06 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>QA/Testing</classification>
          <product>Test Plans/Suite</product>
          <component>test-plans/suite</component>
          <version>5.99</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>NEWCOMER</status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>Future</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alex Franco">alejandro.franco</reporter>
          <assigned_to name="New Comer Bugs">newcomer</assigned_to>
          <cc>akuster</cc>
    
    <cc>alejandro.franco</cc>
    
    <cc>benjamin.esquivel</cc>
    
    <cc>bluelightning</cc>
    
    <cc>corneliux.stoicescu</cc>
    
    <cc>khairul.rohaizzat.jamaluddin</cc>
    
    <cc>leonardo.sandoval.gonzalez</cc>
    
    <cc>milan.opensource</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>richard.purdie</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>55037</commentid>
    <comment_count>0</comment_count>
    <who name="Alex Franco">alejandro.franco</who>
    <bug_when>2015-10-07 15:55:24 +0000</bug_when>
    <thetext>As suggested by Paul Eggleton, an oe-selftest test should be added to ensure meta-selftest/recipes-test/images/test-empty-image.bb builds and is empty.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>55038</commentid>
    <comment_count>1</comment_count>
    <who name="Alex Franco">alejandro.franco</who>
    <bug_when>2015-10-07 16:00:09 +0000</bug_when>
    <thetext>Testing that test-empty-image builds is straightforward enough, but I&apos;d like to better define a test for its emptiness.

Although PACKAGE_INSTALL, IMAGE_INSTALL and IMAGE_LINGUAS are empty for this image, it does inherit some &quot;contents&quot; from image. So, perhaps there are tests for &quot;image&quot; we can adapt for test-empty-image? What does a truly empty image look like?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>55472</commentid>
    <comment_count>2</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2015-10-20 07:25:08 +0000</bug_when>
    <thetext>Well, a truly empty image would contain no files; unfortunately AFAIK that isn&apos;t currently possible because of bug 6478.

For now we just need a test that ensures that an empty image has no packages in it (i.e. nothing in the manifest).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>62459</commentid>
    <comment_count>3</comment_count>
    <who name="Leonardo Sandoval Gonzalez">leonardo.sandoval.gonzalez</who>
    <bug_when>2016-05-25 20:50:50 +0000</bug_when>
    <thetext>moving to 2.3, due to limited resources.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>76286</commentid>
    <comment_count>4</comment_count>
    <who name="Jair Gonzalez">jair.de.jesus.gonzalez.plascencia</who>
    <bug_when>2017-08-29 21:44:45 +0000</bug_when>
    <thetext>Moving to 2.5, due to limited resources.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>85908</commentid>
    <comment_count>5</comment_count>
    <who name="Armin Kuster">akuster</who>
    <bug_when>2019-12-22 19:17:08 +0000</bug_when>
    <thetext>this still seems reasonable.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>88200</commentid>
    <comment_count>6</comment_count>
    <who name="">khairul.rohaizzat.jamaluddin</who>
    <bug_when>2020-09-23 21:02:11 +0000</bug_when>
    <thetext>Hi everyone,

I&apos;m looking to try and work on this ticket.

I compared the contents of core-image-minimal/core-image-sato with test-empty-image and found that these 3 items always exists in all 3 cases.
   1. lost+found
   2. etc
   3. var

Is this the expected default files to exist in every image built (even on an &apos;empty&apos; build)?

Also, need some clarification with the requirement of this ticket.

Current plan for this selftest case is to check in the 1st partition of the image built for these 3 items only. If additional files exists in the partition, it would be a failing case.

Please do correct me if my assumption/plan is off.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>88913</commentid>
    <comment_count>7</comment_count>
    <who name="">milan.opensource</who>
    <bug_when>2021-01-12 13:44:29 +0000</bug_when>
    <thetext>The patch is sent to OE-Core mailing list for review.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89262</commentid>
    <comment_count>8</comment_count>
    <who name="">milan.opensource</who>
    <bug_when>2021-02-14 11:07:57 +0000</bug_when>
    <thetext>assign the bug to the default assignee as someone else has already made changes and those are merged to master.

Please update bugz whoever has worked on it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89263</commentid>
    <comment_count>9</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2021-02-14 11:09:06 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=fe15f9983b180a927681260a4c4bb6c878595a1f</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>