<?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>8499</bug_id>
          
          <creation_ts>2015-10-13 07:24:41 +0000</creation_ts>
          <short_desc>Add specific WIC tests</short_desc>
          <delta_ts>2016-03-31 15:32:44 +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>2.1</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>enhancement</bug_severity>
          <target_milestone>2.1 M3</target_milestone>
          <dependson>8498</dependson>
    
    <dependson>8691</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alexandru Georgescu">alexandru.c.georgescu</reporter>
          <assigned_to name="Daniel Istrate">daniel.alexandrux.istrate</assigned_to>
          <cc>bluelightning</cc>
    
    <cc>eduard.bartosh</cc>
          
          <qa_contact name="Costin">costin.c.constantin</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Yes (doc changes required)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>55225</commentid>
    <comment_count>0</comment_count>
    <who name="Alexandru Georgescu">alexandru.c.georgescu</who>
    <bug_when>2015-10-13 07:24:41 +0000</bug_when>
    <thetext>Add new test suite for WIC tool. Example of tests that can be added:

- Build a custom wic image (by changing the wks); Load that image in qemu; Test that the changes made took effect.

- In the wks file configure multiple partitions, boot the image with qemu and test that the partitions were created, that are mounted, can written/read, etc (oe-selftest)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>56353</commentid>
    <comment_count>1</comment_count>
    <who name="Daniel Istrate">daniel.alexandrux.istrate</who>
    <bug_when>2015-11-10 12:20:54 +0000</bug_when>
    <thetext>These would be oe-selftest testcases what would also run the created image in Qemu. The tests that can be run on the loaded image in Qemu can be specific to the change made when building the image, or a generic test like TestImage to test the overall integrity of the build.

At the moment QemuRunner fails to start the wic created image because:
- When qemu boots with a disk (like one generated by wic) the kernel parameters are no longer accepted by qemu. One of these parameters is the IP address that QemuRunner requires.
- A solution regarding this issue hasn’t been addressed in detail, and requires major changes to the mechanism that handles the qemu machines connectivity and correlation to the running tests (oe-selftest).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>56458</commentid>
    <comment_count>2</comment_count>
    <who name="Ed Bartosh">eduard.bartosh</who>
    <bug_when>2015-11-13 09:44:57 +0000</bug_when>
    <thetext>Would it make sense to create a bug for mentioned QemuRunner issue?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>56926</commentid>
    <comment_count>3</comment_count>
    <who name="Cristian Iorga">cristian.iorga</who>
    <bug_when>2015-12-02 07:50:14 +0000</bug_when>
    <thetext>Blocking issues added.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>58416</commentid>
    <comment_count>4</comment_count>
    <who name="Ed Bartosh">eduard.bartosh</who>
    <bug_when>2016-02-02 09:40:31 +0000</bug_when>
    <thetext>Added one testcase: http://lists.openembedded.org/pipermail/openembedded-core/2016-February/116637.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>60611</commentid>
    <comment_count>5</comment_count>
    <who name="Ed Bartosh">eduard.bartosh</who>
    <bug_when>2016-03-31 15:32:44 +0000</bug_when>
    <thetext>just discussed this on bug Triage meeting and decided to close it as adding more tests can slow down AB. It would make sense to test the rest of canned immages when it&apos;s possible to run them in parallel. For now we&apos;re happy with one we have.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>