<?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>10249</bug_id>
          
          <creation_ts>2016-09-09 01:15:40 +0000</creation_ts>
          <short_desc>runqemu: add test cases</short_desc>
          <delta_ts>2017-11-28 21:57:21 +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.3</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</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.3 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Robert Yang">liezhi.yang</reporter>
          <assigned_to name="Robert Yang">liezhi.yang</assigned_to>
          <cc>jose.perez.carranza</cc>
    
    <cc>joshuagloe</cc>
    
    <cc>oscarx.lopez.arandas</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>ross.burton</cc>
          
          <qa_contact name="oscar lopez arandas">oscarx.lopez.arandas</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>65965</commentid>
    <comment_count>0</comment_count>
    <who name="Robert Yang">liezhi.yang</who>
    <bug_when>2016-09-09 01:15:40 +0000</bug_when>
    <thetext>We use runqemu in a lot of ways, we need test cases to make sure it won&apos;t cause regresssions. We can add some test cases to oe-selftest or testimage or runqemu itself like &quot;runqemu test&quot;. We can choose two or more machines to do the testing, we need test at least the following cases:

* runqemu&apos;s options: nfs, slirp, nfs, kvm, kvm-vhost and so on.
* supported fstypes: ext2/3/4, iso, vmdk, cpio.gz and so on.
* runqemu &lt;machine&gt;
* runqemu &lt;machine&gt; &lt;image name&gt;
* runqemu &lt;DEPLOY_DIR_IMAGE&gt;
* runqemu /path/to/foo.qemuboot.conf
* runqemu /path/to/image.type
...

Add others like:
https://bugzilla.yoctoproject.org/show_bug.cgi?id=10238
1. https://bugzilla.yoctoproject.org/show_bug.cgi?id=10211
2. https://bugzilla.yoctoproject.org/show_bug.cgi?id=10240</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>67353</commentid>
    <comment_count>1</comment_count>
    <who name="Joshua Lock">joshuagloe</who>
    <bug_when>2016-10-19 11:11:04 +0000</bug_when>
    <thetext>also:
https://bugzilla.yoctoproject.org/show_bug.cgi?id=10434
https://bugzilla.yoctoproject.org/show_bug.cgi?id=10447</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>67444</commentid>
    <comment_count>2</comment_count>
    <who name="Joshua Lock">joshuagloe</who>
    <bug_when>2016-10-21 08:56:18 +0000</bug_when>
    <thetext>and https://bugzilla.yoctoproject.org/show_bug.cgi?id=10471</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71796</commentid>
    <comment_count>3</comment_count>
    <who name="Robert Yang">liezhi.yang</who>
    <bug_when>2017-03-28 06:05:30 +0000</bug_when>
    <thetext>Merged into master branch:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=b6f5a8ab6b69fea9c6ae71b5eb73f2c32d05b0fa</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>78386</commentid>
    <comment_count>4</comment_count>
    <who name="oscar lopez arandas">oscarx.lopez.arandas</who>
    <bug_when>2017-11-28 21:57:21 +0000</bug_when>
    <thetext>already added test cases for runqemu 
machine: qemux86-64
branch master 
nightly-oe-selftest-fedora26
commit: 72867393fe2004ab9f0ee23eb09a975c82938b9e

=========================================================================
2017-11-22 19:09:44,025 - oe-selftest - INFO - RESULTS - runqemu.RunqemuTests.test_boot_deploy - Testcase 2007: PASSED
2017-11-22 19:09:44,025 - oe-selftest - INFO - RESULTS - runqemu.RunqemuTests.test_boot_machine - Testcase 2001: PASSED
2017-11-22 19:09:44,025 - oe-selftest - INFO - RESULTS - runqemu.RunqemuTests.test_boot_machine_ext4 - Testcase 2002: PASSED
2017-11-22 19:09:44,025 - oe-selftest - INFO - RESULTS - runqemu.RunqemuTests.test_boot_machine_iso - Testcase 2003: PASSED
2017-11-22 19:09:44,026 - oe-selftest - INFO - RESULTS - runqemu.RunqemuTests.test_boot_machine_slirp - Testcase 2009: PASSED
2017-11-22 19:09:44,026 - oe-selftest - INFO - RESULTS - runqemu.RunqemuTests.test_boot_qemu_boot - Testcase 2010: PASSED
2017-11-22 19:09:44,026 - oe-selftest - INFO - RESULTS - runqemu.RunqemuTests.test_boot_recipe_image - Testcase 2004: PASSED
2017-11-22 19:09:44,026 - oe-selftest - INFO - RESULTS - runqemu.RunqemuTests.test_boot_recipe_image_vmdk - Testcase 2005: PASSED

=====================================================================</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>