<?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>5614</bug_id>
          
          <creation_ts>2013-11-29 18:26:19 +0000</creation_ts>
          <short_desc>Automated testing master image generation / operation</short_desc>
          <delta_ts>2014-04-17 19:22:02 +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>1.6</version>
          <rep_platform>All</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>17 April 2014: Marked documentation flag to &quot;Done&quot;.</status_whiteboard>
          <keywords></keywords>
          <priority>High</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>1.6 M5</target_milestone>
          
          <blocked>1596</blocked>
    
    <blocked>5615</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Paul Eggleton">bluelightning</reporter>
          <assigned_to name="Stefan Stanacar">sstncr</assigned_to>
          <cc>alexandru.c.georgescu</cc>
    
    <cc>cristian.iorga</cc>
    
    <cc>dvhart</cc>
    
    <cc>sgw</cc>
    
    <cc>srifenbark</cc>
    
    <cc>sstncr</cc>
    
    <cc>tom.zanussi</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Done (doc changes complete)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>39154</commentid>
    <comment_count>0</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2013-11-29 18:26:19 +0000</bug_when>
    <thetext>For the automated testing, in order to deploy test images onto the hardware so we can boot into them, we need a &quot;known good&quot; image (referred to here as a &quot;master&quot; image) that we can first boot into in a separate partition, then interact with in order to deploy the image to be tested. This should be straightforward - we just need to send the image over ssh and extract/copy it onto the test partition. 

Thus this task involves:

1. Adding a recipe for a &quot;master&quot; image

2. Writing some code to interact with it to deploy the test image

3. Providing a means of setting up the partition layout, presumably using wic.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>41949</commentid>
    <comment_count>1</comment_count>
    <who name="Stefan Stanacar">sstncr</who>
    <bug_when>2014-03-31 10:00:06 +0000</bug_when>
    <thetext>Patches on the ML. 
Some notes: 
 1 and 3 - have been combined (wic wasn&apos;t used for now) - the partition layout is done from the installer thus the master image recipe.
 2 - code for TEST_TARGET = &quot;GummibootTarget&quot; exists, that works for EFI hardware only. Other BSP will probably need to subclass that and adapt for their bootloaders.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>42146</commentid>
    <comment_count>2</comment_count>
    <who name="Stefan Stanacar">sstncr</who>
    <bug_when>2014-04-02 10:40:52 +0000</bug_when>
    <thetext>
Related to master image:
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=a4447e365026b6f1af74b48a4fbd5059c05afdbd
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=2764a40093644595cad9c095fb344912f9dc60fa

Deploy/test for EFI targets:
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=397225996446ac91c5623972f2ca5c8b3a17c31e

Next on the list is to get some documentation written so I can send something to Scott.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>42648</commentid>
    <comment_count>3</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2014-04-14 13:10:24 +0000</bug_when>
    <thetext>I think we can mark this one as resolved for 1.6. If we have further enhancements we can add additional enhancement bugs to cover them.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>42686</commentid>
    <comment_count>4</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2014-04-15 21:51:19 +0000</bug_when>
    <thetext>What about the doc component for this release?  Is there something we need to cover?

Scott</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>42690</commentid>
    <comment_count>5</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2014-04-16 08:39:07 +0000</bug_when>
    <thetext>Documentation should be covered by the automated testing additions that we did. We might want to add core-image-testmaster to the list of images in ref-images.xml though.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>42713</commentid>
    <comment_count>6</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2014-04-17 13:56:12 +0000</bug_when>
    <thetext>Hi, 

See http://www.yoctoproject.org/docs/1.6/ref-manual/ref-manual.html#ref-images for the list of images.  I have added the core-image-testmaster image to the list.  I need the description reviewed and approved before I can turn the doc flag on this bug. 

Scott</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>42714</commentid>
    <comment_count>7</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2014-04-17 14:22:54 +0000</bug_when>
    <thetext>For the description could we say this instead:

A &quot;master&quot; image designed to be used for automated runtime testing. Provides a &quot;known good&quot; image that is deployed to a separate partition so that you can boot into it and use it to deploy a second image to be tested.

It may also be good to finish with a &quot;more information&quot; link to the automated runtime testing section as well.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>42720</commentid>
    <comment_count>8</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2014-04-17 19:22:02 +0000</bug_when>
    <thetext>Hi Paul, 

I have implemented your suggestion.  You can see the change at http://www.yoctoproject.org/docs/1.6/ref-manual/ref-manual.html#ref-images.  I am marking this documentation flag to &quot;Done&quot;.

Scott</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>