| Summary: |
build-perf-test-wrapper.sh failing to execute performance test |
| Product: |
[QA/Testing] Build Testing
|
Reporter: |
Jose Perez C <jose.perez.carranza> |
| Component: |
general | Assignee: |
Aníbal Limón <anibal.limon> |
| Status: |
RESOLVED
FIXED
|
QA Contact: |
|
| Severity: |
normal
|
|
|
| Priority: |
Medium
|
CC: |
anibal.limon, sgw
|
| Version: |
2.2 | |
|
| Target Milestone: |
2.2 M3 | |
|
| Hardware: |
x86 | |
|
| OS: |
Multiple | |
|
| Whiteboard: |
|
|
OS type for building Yocto:
|
---
|
Type of Regression:
|
---
|
|
Verified:
|
|
Documentation change:
|
No (bug/feature does not impact docs)
|
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 "/media/yocto_disk/poky_new_script/meta/lib/oeqa/buildperf/base.py", line 136, in run_tests test.run() File "/media/yocto_disk/poky_new_script/meta/lib/oeqa/buildperf/base.py", line 224, in run self._run() File "/media/yocto_disk/poky_new_script/meta/lib/oeqa/buildperf/basic_tests.py", line 27, in _run self.log_cmd_output("bitbake {} -c fetchall".format(self.build_target)) File "/media/yocto_disk/poky_new_script/meta/lib/oeqa/buildperf/base.py", line 238, in log_cmd_output runCmd(cmd, stdout=fobj) File "/media/yocto_disk/poky_new_script/meta/lib/oeqa/utils/commands.py", line 101, in runCmd cmd.run() File "/media/yocto_disk/poky_new_script/meta/lib/oeqa/utils/commands.py", line 70, in run self.stop() File "/media/yocto_disk/poky_new_script/meta/lib/oeqa/utils/commands.py", line 81, in stop self.output = self.output.decode("utf-8").rstrip() AttributeError: 'NoneType' object has no attribute 'decode'