<?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>10019</bug_id>
          
          <creation_ts>2016-07-25 17:30:11 +0000</creation_ts>
          <short_desc>build-perf-test-wrapper.sh failing to execute performance test</short_desc>
          <delta_ts>2017-12-06 17:06:29 +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.2</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>normal</bug_severity>
          <target_milestone>2.2 M3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jose Perez C">jose.perez.carranza</reporter>
          <assigned_to name="Aníbal Limón">anibal.limon</assigned_to>
          <cc>anibal.limon</cc>
    
    <cc>sgw</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>64415</commentid>
    <comment_count>0</comment_count>
    <who name="Jose Perez C">jose.perez.carranza</who>
    <bug_when>2016-07-25 17:30:11 +0000</bug_when>
    <thetext>New script for performance test is failing to launch the test cases for performance 


######### Steps ###############

1.- Clone poky 
2.- Execute build-perf-test-wrapper.sh under poky root folder (without sourcing the environment )
              - Poky $ ./scripts/contrib/build-perf-test-wrapper.sh


Expected Results 

All test should be launched and executed correctly 

Actual Result 

[2016-07-22 06:52:30,782] INFO: Using Git branch:revision master:36feb38045b7a2af86ece147fec54b0db3bf491f
[2016-07-22 06:52:30,785] INFO: Executing test test1: Measure wall clock of bitbake core-image-sato and size of tmp dir
[2016-07-22 07:12:22,885] ERROR: Test execution failed with:
----- TRACEBACK ------------------------------------------------------------
Traceback (most recent call last):
  File &quot;/media/yocto_disk/poky_new_script/meta/lib/oeqa/buildperf/base.py&quot;, line 136, in run_tests
    test.run()
  File &quot;/media/yocto_disk/poky_new_script/meta/lib/oeqa/buildperf/base.py&quot;, line 224, in run
    self._run()
  File &quot;/media/yocto_disk/poky_new_script/meta/lib/oeqa/buildperf/basic_tests.py&quot;, line 27, in _run
    self.log_cmd_output(&quot;bitbake {} -c fetchall&quot;.format(self.build_target))
  File &quot;/media/yocto_disk/poky_new_script/meta/lib/oeqa/buildperf/base.py&quot;, line 238, in log_cmd_output
    runCmd(cmd, stdout=fobj)
  File &quot;/media/yocto_disk/poky_new_script/meta/lib/oeqa/utils/commands.py&quot;, line 101, in runCmd
    cmd.run()
  File &quot;/media/yocto_disk/poky_new_script/meta/lib/oeqa/utils/commands.py&quot;, line 70, in run
    self.stop()
  File &quot;/media/yocto_disk/poky_new_script/meta/lib/oeqa/utils/commands.py&quot;, line 81, in stop
    self.output = self.output.decode(&quot;utf-8&quot;).rstrip()
AttributeError: &apos;NoneType&apos; object has no attribute &apos;decode&apos;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64561</commentid>
    <comment_count>1</comment_count>
    <who name="Aníbal Limón">anibal.limon</who>
    <bug_when>2016-07-27 22:41:59 +0000</bug_when>
    <thetext>At,

http://lists.openembedded.org/pipermail/openembedded-core/2016-July/124424.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64738</commentid>
    <comment_count>2</comment_count>
    <who name="Aníbal Limón">anibal.limon</who>
    <bug_when>2016-08-01 18:32:25 +0000</bug_when>
    <thetext>At,

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=1981ab0829911ac91983babd1fab71093999b621</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>