<?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>5880</bug_id>
          
          <creation_ts>2014-02-26 07:06:33 +0000</creation_ts>
          <short_desc>oe-selftest : add an option for random arch</short_desc>
          <delta_ts>2016-01-15 16:26:07 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>QA/Testing</classification>
          <product>Build Testing</product>
          <component>general</component>
          <version>1.6</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>Low</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>2.1 M2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Yi Zhao">yi.zhao</reporter>
          <assigned_to name="Daniel Istrate">daniel.alexandrux.istrate</assigned_to>
          <cc>alexandru.c.georgescu</cc>
    
    <cc>daniel.alexandrux.istrate</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>sgw</cc>
          
          <qa_contact name="Bogdan Alexandru Voiculescu">bogdanx.a.voiculescu</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>40688</commentid>
    <comment_count>0</comment_count>
    <who name="Yi Zhao">yi.zhao</who>
    <bug_when>2014-02-26 07:06:33 +0000</bug_when>
    <thetext>Currently we only can run oe-selftest for an arch defined in conf/local.conf. We can add an option for oe-selftest to choose a random arch or all arch.

For example:
./scripts/oe-selftest --arch=random   # this will choose a random arch to test
./scripts/oe-selftest --arch=all      # this will run the test on all of the archs.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>45706</commentid>
    <comment_count>1</comment_count>
    <who name="Stoicescu Cornel">corneliux.stoicescu</who>
    <bug_when>2014-09-19 11:28:40 +0000</bug_when>
    <thetext>oe-selftest now has option parsing features; we now only need implement the MACHINE randomisation.

Moving to 1.8 and assigning to Costin.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>57308</commentid>
    <comment_count>2</comment_count>
    <who name="Daniel Istrate">daniel.alexandrux.istrate</who>
    <bug_when>2015-12-16 16:30:23 +0000</bug_when>
    <thetext>Sent patch to ML:
http://lists.openembedded.org/pipermail/openembedded-core/2015-December/114225.html
http://lists.openembedded.org/pipermail/openembedded-core/2015-December/114224.html

Hi, 

Please give it a try and let me know if you are happy with the results.

Thanks,
--Daniel</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>57346</commentid>
    <comment_count>3</comment_count>
    <who name="Daniel Istrate">daniel.alexandrux.istrate</who>
    <bug_when>2015-12-17 14:50:56 +0000</bug_when>
    <thetext>Patch resent to ML: 
http://lists.openembedded.org/pipermail/openembedded-core/2015-December/114271.html
http://lists.openembedded.org/pipermail/openembedded-core/2015-December/114270.html

Hi,

Added warning messages to tests that override MACHINE set by --arch option.
Also noted that not all oe-selftest test cases can run on all architectures (eg. wic)

Thanks,
--Daniel</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>57387</commentid>
    <comment_count>4</comment_count>
    <who name="Daniel Istrate">daniel.alexandrux.istrate</who>
    <bug_when>2015-12-18 15:16:49 +0000</bug_when>
    <thetext>Resent patches to ML:
http://lists.openembedded.org/pipermail/openembedded-core/2015-December/114403.html
http://lists.openembedded.org/pipermail/openembedded-core/2015-December/114404.html

Hi,

Updated the patches according to RP, Ross feedback.

I renamed the --arch option to --machine.

Usage:
oe-selftest --run-tests signing --machine random
oe-selftest --run-tests signing --machine all
oe-selftest --run-all-tests --machine random

Thanks,
--Daniel</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>57661</commentid>
    <comment_count>5</comment_count>
    <who name="Daniel Istrate">daniel.alexandrux.istrate</who>
    <bug_when>2016-01-08 07:28:20 +0000</bug_when>
    <thetext>Fixed in oe-core 0f3ad7c77aa0f8bb7641af1886e1420cdfa8419f</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>57874</commentid>
    <comment_count>6</comment_count>
    <who name="Bogdan Alexandru Voiculescu">bogdanx.a.voiculescu</who>
    <bug_when>2016-01-15 16:26:07 +0000</bug_when>
    <thetext>Verified on master: da43a56d3533db37592a1698777af08f51a5800f</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>