| Summary: | buildperf: Fedora machine failing on buildperf execution due could not find 'ip' tool | ||
|---|---|---|---|
| Product: | [QA/Testing] Build Testing | Reporter: | Jose Perez C <jose.perez.carranza> |
| Component: | general | Assignee: | Leonardo Sandoval Gonzalez <leonardo.sandoval.gonzalez> |
| Status: | VERIFIED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | High | CC: | benjamin.esquivel |
| Version: | 2.3 | ||
| Target Milestone: | 2.3 M4 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | No (bug/feature does not impact docs) | |
Also Ubuntu is failing with below error:
======================================================================
ERROR: test1 (oeqa.buildperf.test_basic.Test1P1)
Build core-image-sato
----------------------------------------------------------------------
Traceback (most recent call last):
File "/media/yocto_disk/poky-new-perf/meta/lib/oeqa/buildperf/base.py", line 275, in setUp
self.run_cmd(['bitbake', self.build_target, '-c', 'fetchall'])
File "/media/yocto_disk/poky-new-perf/meta/lib/oeqa/buildperf/base.py", line 288, in run_cmd
runCmd2(cmd)
File "/media/yocto_disk/poky-new-perf/meta/lib/oeqa/utils/commands.py", line 123, in runCmd
raise CommandError(result.status, command, result.output)
oeqa.utils.CommandError: Command '['bitbake', 'core-image-sato', '-c', 'fetchall']' returned non-zero exit status 1 with output: WARNING: Host distribution "ubuntu-15.10" has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution.
Parsing recipes...done.
Parsing of 835 .bb files complete (0 cached, 835 parsed). 1303 targets, 50 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
PATH included into the cron file, pointing to /usr/sbin, where ip resides. Currently Fedora is running correctly, bug verified |
Commit: 760e81678cec80dcdaab12c2a0a0148e3e0ba275 STEPS: 1- ./scripts/contrib/build-perf-test-wrapper.sh -c master EXPECTED RESULT: All test cases should be PASS ACTUAL RESULT: Traceback (most recent call last): File "/media/yocto_disk/poky-new-perf/scripts/oe-build-perf-test", line 221, in <module> sys.exit(main()) File "/media/yocto_disk/poky-new-perf/scripts/oe-build-perf-test", line 181, in main suite = loader.loadTestsFromModule(oeqa.buildperf) File "/usr/lib64/python3.4/unittest/loader.py", line 79, in loadTestsFromModule tests.append(self.loadTestsFromTestCase(obj)) File "/usr/lib64/python3.4/unittest/loader.py", line 70, in loadTestsFromTestCase loaded_suite = self.suiteClass(map(testCaseClass, testCaseNames)) File "/usr/lib64/python3.4/unittest/suite.py", line 24, in __init__ self.addTests(tests) File "/usr/lib64/python3.4/unittest/suite.py", line 57, in addTests for test in tests: File "/media/yocto_disk/poky-new-perf/meta/lib/oeqa/buildperf/base.py", line 259, in __init__ self.bb_vars = get_bb_vars() File "/media/yocto_disk/poky-new-perf/meta/lib/oeqa/utils/commands.py", line 157, in get_bb_vars bbenv = get_bb_env(target, postconfig=postconfig) File "/media/yocto_disk/poky-new-perf/meta/lib/oeqa/utils/commands.py", line 153, in get_bb_env return bitbake("-e", postconfig=postconfig).output File "/media/yocto_disk/poky-new-perf/meta/lib/oeqa/utils/commands.py", line 143, in bitbake return runCmd(cmd, ignore_status, timeout, **options) File "/media/yocto_disk/poky-new-perf/meta/lib/oeqa/utils/commands.py", line 121, in runCmd raise AssertionError("Command '%s' returned non-zero exit status %d:\n%s" % (command, result.status, result.output)) AssertionError: Command 'bitbake -e' returned non-zero exit status 1: ERROR: These tools appear to be unavailable in PATH, please install them in order to proceed: ip