Created attachment 3555 [details] Logs of Errors When executing the build performance scrip (./scripts/contrib/build-perf-test-wrapper.sh -c master) two 2 test cases are failing when task do_image is executed logs attached. Note: Logs mentioned on commands.log are not being stored. ..............................Tracbeack .................................... ERROR: test2 (oeqa.buildperf.test_basic.Test2) Measure bitbake core-image-sato -c rootfs with sstate ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/jgperezc/poky-perf/meta/lib/oeqa/buildperf/test_basic.py", line 77, in test2 self.log_cmd_output(['bitbake', self.build_target]) File "/home/jgperezc/poky-perf/meta/lib/oeqa/buildperf/base.py", line 339, in log_cmd_output runCmd2(cmd, stdout=fobj) File "/home/jgperezc/poky-perf/meta/lib/oeqa/utils/commands.py", line 116, in runCmd raise CommandError(result.status, command, result.output) oeqa.utils.CommandError: Command '['bitbake', 'core-image-sato']' returned non-zero exit status 1 with output: ====================================================================== ERROR: test4 (oeqa.buildperf.test_basic.Test4) eSDK metrics ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/jgperezc/poky-perf/meta/lib/oeqa/buildperf/test_basic.py", line 110, in test4 self.build_target)) File "/home/jgperezc/poky-perf/meta/lib/oeqa/buildperf/base.py", line 339, in log_cmd_output runCmd2(cmd, stdout=fobj) File "/home/jgperezc/poky-perf/meta/lib/oeqa/utils/commands.py", line 116, in runCmd raise CommandError(result.status, command, result.output) oeqa.utils.CommandError: Command 'bitbake core-image-sato -c do_populate_sdk_ext' returned non-zero exit status 1 with output: ................................................................................
Log of test2 from my own tester instance: NOTE: recipe core-image-sato-1.0-r0: task do_image: Started ERROR: core-image-sato-1.0-r0 do_image: Function failed: prelink_image (log file is located at /opt/build/poky-perf/build-perf-test/build-9e63f81-20161207080004/tmp/work/qemux86-poky-linux/core-image-sato/1.0-r0/temp/log.do_image.29145) ERROR: Logfile of failure stored in: /opt/build/poky-perf/build-perf-test/build-9e63f81-20161207080004/tmp/work/qemux86-poky-linux/core-image-sato/1.0-r0/temp/log.do_image.29145 Log data follows: | DEBUG: Executing python function do_image | NOTE: Executing mklibs_optimize_image ... | DEBUG: Executing shell function mklibs_optimize_image | DEBUG: Shell function mklibs_optimize_image finished | NOTE: Executing prelink_setup ... | DEBUG: Executing python function prelink_setup | DEBUG: Python function prelink_setup finished | NOTE: Executing prelink_image ... | DEBUG: Executing shell function prelink_image | du: cannot access '/opt/build/poky-perf/build-perf-test/build-9e63f81-20161207080004/tmp/work/qemux86-poky-linux/core-image-sato/1.0-r0/rootfs': No such file or directory | Size before prelinking . | cp: cannot create regular file '/opt/build/poky-perf/build-perf-test/build-9e63f81-20161207080004/tmp/work/qemux86-poky-linux/core-image-sato/1.0-r0/rootfs/etc/prelink.conf': No such file or directory | WARNING: exit code 1 from a shell command. | DEBUG: Python function do_image finished | ERROR: Function failed: prelink_image (log file is located at /opt/build/poky-perf/build-perf-test/build-9e63f81-20161207080004/tmp/work/qemux86-poky-linux/core-image-sato/1.0-r0/temp/log.do_image.29145) NOTE: recipe core-image-sato-1.0-r0: task do_image: Failed ERROR: Task (/opt/build/poky-perf/meta/recipes-sato/images/core-image-sato.bb:do_image) failed with exit code '1' NOTE: Tasks Summary: Attempted 5155 tasks of which 5153 didn't need to be rerun and 1 failed.
if the test case is executed individually the error does not appears $~/poky-perf/build> .././scripts/oe-build-perf-test -D --run-tests Test2 Measure bitbake core-image-sato -c rootfs with sstate ... ok ---------------------------------------------------------------------- Ran 1 test in 3101.022s But if the previous test is executed first the error appears $~/poky-perf/build> .././scripts/oe-build-perf-test -D --run-tests Test1P3 Test2 [2016-12-07 13:32:55] test13 (oeqa.buildperf.test_basic.Test1P3) Build core-image-sato with rm_work enabled ... ok [2016-12-07 14:07:49] test2 (oeqa.buildperf.test_basic.Test2) Measure bitbake core-image-sato -c rootfs with sstate ... ERROR ====================================================================== ERROR: test2 (oeqa.buildperf.test_basic.Test2) Measure bitbake core-image-sato -c rootfs with sstate ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/jgperezc/poky-perf/meta/lib/oeqa/buildperf/test_basic.py", line 77, in test2 self.log_cmd_output(['bitbake', self.build_target]) File "/home/jgperezc/poky-perf/meta/lib/oeqa/buildperf/base.py", line 339, in log_cmd_output runCmd2(cmd, stdout=fobj) File "/home/jgperezc/poky-perf/meta/lib/oeqa/utils/commands.py", line 116, in runCmd raise CommandError(result.status, command, result.output) oeqa.utils.CommandError: Command '['bitbake', 'core-image-sato']' returned non-zero exit status 1 with output: ---------------------------------------------------------------------- Ran 2 tests in 2135.852s FAILED (errors=1)
Test2 (bitbake core-image-sato with sstate) succeeds when run on its own. However, it fails if run in conjunction with Test1P3 (bitbake core-image-sato with rm_work). Clearly a duplicate of bug 10758. *** This bug has been marked as a duplicate of bug 10758 ***
Duplicated