<?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>12324</bug_id>
          
          <creation_ts>2017-11-08 18:56:12 +0000</creation_ts>
          <short_desc>ptest-runner may run some tests twice</short_desc>
          <delta_ts>2018-01-03 18:07:17 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>11</classification_id>
          <classification>Runtime</classification>
          <product>General Runtime</product>
          <component>General Runtime</component>
          <version>unspecified</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>Low</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.5</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Juro Bystricky">juro.bystricky</reporter>
          <assigned_to name="Juro Bystricky">juro.bystricky</assigned_to>
          <cc>joshuagloe</cc>
          
          
          <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>78079</commentid>
    <comment_count>0</comment_count>
    <who name="Juro Bystricky">juro.bystricky</who>
    <bug_when>2017-11-08 18:56:12 +0000</bug_when>
    <thetext>&quot;ptest-runner&quot; may run some identical tests more than once, see for example
https://wiki.yoctoproject.org/wiki/Ptest_65d23bd7986615fdfb0f1717b615534a2a14ab80

where &quot;perl&quot; and &quot;perl5&quot; test suite is the same. The reason is &quot;perl5&quot; is a symlink to &quot;perl&quot;, but ptest-runner does not detect identical cases when enumerating all test cases.

This may not seem as a big deal, but running the ptest for perl takes at least 10 minutes on a fast machine when running under KVM, and a lot longer without KVM.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>78884</commentid>
    <comment_count>1</comment_count>
    <who name="Juro Bystricky">juro.bystricky</who>
    <bug_when>2018-01-03 18:07:17 +0000</bug_when>
    <thetext>This issue is fixed by upgrading ptest-runner2 to versionn 2.1.1 (by Aníbal Limón)

https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=d151c4274969991ec2de5c0021bc00eaab4298d2

ptest-runner2 fixed in version 2.1.1:
https://git.yoctoproject.org/cgit/cgit.cgi/ptest-runner2/commit/?id=0e566f65fa31eaa5208d4a17413c7a4aad7eade5

&quot;Add support to avoid load/run twice a run_ptest script&quot;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>