<?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>9623</bug_id>
          
          <creation_ts>2016-05-12 08:29:03 +0000</creation_ts>
          <short_desc>Rewrite build-perf-test.sh in python</short_desc>
          <delta_ts>2016-08-12 16:20:04 +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>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.2 M2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Markus Lehtonen">markus.lehtonen</reporter>
          <assigned_to name="Markus Lehtonen">markus.lehtonen</assigned_to>
          <cc>benjamin.esquivel</cc>
    
    <cc>humberto.ibarra.lopez</cc>
    
    <cc>jose.perez.carranza</cc>
    
    <cc>joshuagloe</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>sgw</cc>
          
          <qa_contact name="Jose Perez C">jose.perez.carranza</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>62138</commentid>
    <comment_count>0</comment_count>
    <who name="Markus Lehtonen">markus.lehtonen</who>
    <bug_when>2016-05-12 08:29:03 +0000</bug_when>
    <thetext>Rewrite the build performance test script (scripts/contrib/build-perf-test.sh) in Python. This would make it much more maintainable and easier to extend, and, make it possible to have shared functionality with other oeqa utilities.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>62485</commentid>
    <comment_count>1</comment_count>
    <who name="Benjamin Esquivel">benjamin.esquivel</who>
    <bug_when>2016-05-26 19:24:43 +0000</bug_when>
    <thetext>Also, it should allow integrating to an automated tool that uses this script for obtaining performance measurements.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>63854</commentid>
    <comment_count>2</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2016-07-12 16:27:21 +0000</bug_when>
    <thetext>Resolved in the patches up to http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=678a02e112bead7a5ef73c7e74ac2599a544de1f</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>63993</commentid>
    <comment_count>3</comment_count>
    <who name="Jose Perez C">jose.perez.carranza</who>
    <bug_when>2016-07-14 17:37:02 +0000</bug_when>
    <thetext>I saw that in patch [1] a new file named &quot;build-perf-test-wrapper.sh&quot; was created and the main purpose of the bug was to migrate the script to Python. Markus Lehtonen are you able to explain why the main purpose changed and another .sh file was created? 


1.-  http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=678a02e112bead7a5ef73c7e74ac2599a544de1f</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64418</commentid>
    <comment_count>4</comment_count>
    <who name="Jose Perez C">jose.perez.carranza</who>
    <bug_when>2016-07-25 19:38:41 +0000</bug_when>
    <thetext>Currently there is failure executing wrapper bug 10019 opened to track this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64726</commentid>
    <comment_count>5</comment_count>
    <who name="Markus Lehtonen">markus.lehtonen</who>
    <bug_when>2016-08-01 14:27:41 +0000</bug_when>
    <thetext>Our automated tester machines have a shell script that is used to run build perf tests. This shell script isn&apos;t/wasn&apos;t maintained in any VCS. The new shell script (i.e. build-perf-test-wrapper.sh) was added as a substitute for this script: as a wrapper for running build perf tests with a single shell command. A shell script like this is needed because the actual tester script (i.e. scripts/oe-build-perf-test) needs to be run in an initialized build environment. The shell script takes care of checking out the correct git revision and running oe-init-build-env, for example.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>65135</commentid>
    <comment_count>6</comment_count>
    <who name="Jose Perez C">jose.perez.carranza</who>
    <bug_when>2016-08-12 16:20:04 +0000</bug_when>
    <thetext>Wrapper works correctly</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>