<?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>11234</bug_id>
          
          <creation_ts>2017-03-24 09:32:47 +0000</creation_ts>
          <short_desc>improve test_bmap_long runtime</short_desc>
          <delta_ts>2017-04-27 15:53:17 +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>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>NOTABUG</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 M1</target_milestone>
          
          <blocked>10874</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Jussi Kukkonen">jku</reporter>
          <assigned_to name="Leonardo Sandoval Gonzalez">leonardo.sandoval.gonzalez</assigned_to>
          <cc>benjamin.esquivel</cc>
    
    <cc>eduard.bartosh</cc>
    
    <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>71682</commentid>
    <comment_count>0</comment_count>
    <who name="Jussi Kukkonen">jku</who>
    <bug_when>2017-03-24 09:32:47 +0000</bug_when>
    <thetext>I&apos;m filing this because oeqa.selftest.wic.Wic (test_bmap_long) seems to take too long on the autobuilder . I&apos;m not a subject matter expert so if the runtime is actually reasonable, please close.

The test can take 15 minutes (~6% of the whole selftest time) to finish. Improving this would have clear effect on autobuilder usability.

Example https://autobuilder.yocto.io/builders/nightly-oe-selftest/builds/200/steps/Running%20oe-selftest/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>72882</commentid>
    <comment_count>1</comment_count>
    <who name="Leonardo Sandoval Gonzalez">leonardo.sandoval.gonzalez</who>
    <bug_when>2017-04-26 21:55:14 +0000</bug_when>
    <thetext>This is an interesting unit test: the range of unit test durations is pretty big, from less than a minute to several minutes. What can be causing such a variance? cpu load?

lsandov1@yctb05:~&gt; for i in $(seq 860 880); do curl -s &quot;https://autobuilder.yoctoproject.org/main/builders/nightly-oe-selftest/builds/$i/steps/Running%20oe-selftest/logs/stdio&quot; | grep bmap_long; done
2017-03-28 16:44:08 -   test_bmap_long (oeqa.selftest.wic.Wic) ... OK (79.092s)
2017-03-31 00:07:45 -   test_bmap_long (oeqa.selftest.wic.Wic) ... OK (158.015s)
2017-03-31 08:35:30 -   test_bmap_long (oeqa.selftest.wic.Wic) ... OK (85.140s)
2017-04-01 11:24:07 -   test_bmap_long (oeqa.selftest.wic.Wic) ... OK (120.411s)
2017-04-03 23:46:48 -   test_bmap_long (oeqa.selftest.wic.Wic) ... OK (58.434s)
2017-04-06 00:04:13 -   test_bmap_long (oeqa.selftest.wic.Wic) ... OK (226.932s)
2017-04-09 13:51:27 -   test_bmap_long (oeqa.selftest.wic.Wic) ... OK (381.894s)
2017-04-09 22:50:29 -   test_bmap_long (oeqa.selftest.wic.Wic) ... OK (104.383s)
2017-04-10 00:39:18 -   test_bmap_long (oeqa.selftest.wic.Wic) ... OK (126.834s)
2017-04-12 05:52:43 -   test_bmap_long (oeqa.selftest.wic.Wic) ... OK (126.495s)
2017-04-13 01:53:57 -   test_bmap_long (oeqa.selftest.wic.Wic) ... OK (414.603s)
2017-04-14 04:29:27 -   test_bmap_long (oeqa.selftest.wic.Wic) ... OK (62.221s)
2017-04-14 18:53:03 -   test_bmap_long (oeqa.selftest.wic.Wic) ... OK (81.530s)
2017-04-15 08:32:48 -   test_bmap_long (oeqa.selftest.wic.Wic) ... OK (82.254s)
2017-04-19 01:25:09 -   test_bmap_long (oeqa.selftest.wic.Wic) ... OK (354.505s)
2017-04-20 01:40:49 -   test_bmap_long (oeqa.selftest.wic.Wic) ... OK (137.453s)
2017-04-20 13:48:56 -   test_bmap_long (oeqa.selftest.wic.Wic) ... OK (121.345s)
2017-04-21 01:46:22 -   test_bmap_long (oeqa.selftest.wic.Wic) ... OK (424.435s)
2017-04-21 11:24:24 -   test_bmap_long (oeqa.selftest.wic.Wic) ... OK (71.164s)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>72906</commentid>
    <comment_count>2</comment_count>
    <who name="Leonardo Sandoval Gonzalez">leonardo.sandoval.gonzalez</who>
    <bug_when>2017-04-27 15:53:17 +0000</bug_when>
    <thetext>This unit test (bmap_long) is the first to be executed on the test case, thus triggering bitbake wic-tools. High and low times are related to hot/cold sshare states, so times seen in comment 2 are expected. Resolving it as not-a-bug.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>