<?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>11847</bug_id>
          
          <creation_ts>2017-07-27 16:08:00 +0000</creation_ts>
          <short_desc>Add an option to oe-selftest to run all tests except for [...]</short_desc>
          <delta_ts>2017-08-16 19:41:11 +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>2.4</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.4 M3</target_milestone>
          
          <blocked>11848</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Joshua Lock">joshuagloe</reporter>
          <assigned_to name="Leonardo Sandoval Gonzalez">leonardo.sandoval.gonzalez</assigned_to>
          <cc>anibal.limon</cc>
    
    <cc>leonardo.sandoval.gonzalez</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>75352</commentid>
    <comment_count>0</comment_count>
    <who name="Joshua Lock">joshuagloe</who>
    <bug_when>2017-07-27 16:08:00 +0000</bug_when>
    <thetext>It would be great if we could run all oe-selftest tests barring those specified as an option. Something like:

    oe-selftest -R distrodata

We&apos;d like this because the distrodata selftests are prone to transient failures due to networking issues. We&apos;d like to run these separately on the autobuilder with a lower BB_NUMBER_THREADS, likely even less frequently (automated once per week).

If we do so we&apos;d also remove the distrodata.Distrodata.test_checkpkg test from the nightly-oe-selftest builder, but there&apos;s no easy way to run all tests except that one.

Maintaining a list of tests we do want to run for the nightly-oe-selftest buildset is prone to bitrotting and missing out on valuable testing.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>75610</commentid>
    <comment_count>1</comment_count>
    <who name="Leonardo Sandoval Gonzalez">leonardo.sandoval.gonzalez</who>
    <bug_when>2017-08-03 14:02:44 +0000</bug_when>
    <thetext>For some reason, I needed to send the patch a second time and this time it arrived to the ML

http://lists.openembedded.org/pipermail/openembedded-core/2017-August/140441.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>75702</commentid>
    <comment_count>2</comment_count>
    <who name="Aníbal Limón">anibal.limon</who>
    <bug_when>2017-08-07 21:47:10 +0000</bug_when>
    <thetext>(In reply to comment #0)
&gt; It would be great if we could run all oe-selftest tests barring those
&gt; specified as an option. Something like:
&gt; 
&gt;     oe-selftest -R distrodata
&gt; 
&gt; We&apos;d like this because the distrodata selftests are prone to transient
&gt; failures due to networking issues. We&apos;d like to run these separately on the
&gt; autobuilder with a lower BB_NUMBER_THREADS, likely even less frequently
&gt; (automated once per week).
&gt; 
&gt; If we do so we&apos;d also remove the distrodata.Distrodata.test_checkpkg test
&gt; from the nightly-oe-selftest builder, but there&apos;s no easy way to run all
&gt; tests except that one.
&gt; 
&gt; Maintaining a list of tests we do want to run for the nightly-oe-selftest
&gt; buildset is prone to bitrotting and missing out on valuable testing.

The option is good to have it, for a quick fix you can avoid run distrodata tests moving the module to starts with _ (_distrodata), this will avoid to run the test module when request --run-all-tests.

Anibal</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>75922</commentid>
    <comment_count>3</comment_count>
    <who name="Leonardo Sandoval Gonzalez">leonardo.sandoval.gonzalez</who>
    <bug_when>2017-08-16 19:41:11 +0000</bug_when>
    <thetext>merged at master:

e40eeaa790: Leonardo Sandoval: Fri Aug 11 00:08:31 2017 +0100: context: Include a command line argument to run all except certain tests</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>