Bug 11154 - buildperf: Fedora machine failing on buildperf execution due could not find 'ip' tool
Summary: buildperf: Fedora machine failing on buildperf execution due could not find '...
Status: VERIFIED FIXED
Alias: None
Product: Build Testing
Classification: QA/Testing
Component: general (show other bugs)
Version: 2.3
Hardware: x86 Multiple
: High normal
Target Milestone: 2.3 M4
Assignee: Leonardo Sandoval Gonzalez
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2017-03-14 16:55 UTC by Jose Perez C
Modified: 2017-04-11 20:28 UTC (History)
1 user (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jose Perez C 2017-03-14 16:55:42 UTC
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
Comment 1 Jose Perez C 2017-03-16 14:46:34 UTC
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
Comment 2 Leonardo Sandoval Gonzalez 2017-03-21 15:20:24 UTC
PATH included into the cron file, pointing to /usr/sbin, where ip resides.
Comment 3 Jose Perez C 2017-04-11 20:28:59 UTC
Currently Fedora is running correctly, bug verified