<?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>11154</bug_id>
          
          <creation_ts>2017-03-14 16:55:42 +0000</creation_ts>
          <short_desc>buildperf: Fedora machine failing on buildperf execution due could not find &apos;ip&apos; tool</short_desc>
          <delta_ts>2017-04-11 20:28:59 +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.3</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>High</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.3 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jose Perez C">jose.perez.carranza</reporter>
          <assigned_to name="Leonardo Sandoval Gonzalez">leonardo.sandoval.gonzalez</assigned_to>
          <cc>benjamin.esquivel</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>71260</commentid>
    <comment_count>0</comment_count>
    <who name="Jose Perez C">jose.perez.carranza</who>
    <bug_when>2017-03-14 16:55:42 +0000</bug_when>
    <thetext>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 &quot;/media/yocto_disk/poky-new-perf/scripts/oe-build-perf-test&quot;, line 221, in &lt;module&gt;
    sys.exit(main())
  File &quot;/media/yocto_disk/poky-new-perf/scripts/oe-build-perf-test&quot;, line 181, in main
    suite = loader.loadTestsFromModule(oeqa.buildperf)
  File &quot;/usr/lib64/python3.4/unittest/loader.py&quot;, line 79, in loadTestsFromModule
    tests.append(self.loadTestsFromTestCase(obj))
  File &quot;/usr/lib64/python3.4/unittest/loader.py&quot;, line 70, in loadTestsFromTestCase
    loaded_suite = self.suiteClass(map(testCaseClass, testCaseNames))
  File &quot;/usr/lib64/python3.4/unittest/suite.py&quot;, line 24, in __init__
    self.addTests(tests)
  File &quot;/usr/lib64/python3.4/unittest/suite.py&quot;, line 57, in addTests
    for test in tests:
  File &quot;/media/yocto_disk/poky-new-perf/meta/lib/oeqa/buildperf/base.py&quot;, line 259, in __init__
    self.bb_vars = get_bb_vars()
  File &quot;/media/yocto_disk/poky-new-perf/meta/lib/oeqa/utils/commands.py&quot;, line 157, in get_bb_vars
    bbenv = get_bb_env(target, postconfig=postconfig)
  File &quot;/media/yocto_disk/poky-new-perf/meta/lib/oeqa/utils/commands.py&quot;, line 153, in get_bb_env
    return bitbake(&quot;-e&quot;, postconfig=postconfig).output
  File &quot;/media/yocto_disk/poky-new-perf/meta/lib/oeqa/utils/commands.py&quot;, line 143, in bitbake
    return runCmd(cmd, ignore_status, timeout, **options)
  File &quot;/media/yocto_disk/poky-new-perf/meta/lib/oeqa/utils/commands.py&quot;, line 121, in runCmd
    raise AssertionError(&quot;Command &apos;%s&apos; returned non-zero exit status %d:\n%s&quot; % (command, result.status, result.output))
AssertionError: Command &apos;bitbake  -e&apos; returned non-zero exit status 1:
ERROR: These tools appear to be unavailable in PATH, please install them in order to proceed:
ip</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71353</commentid>
    <comment_count>1</comment_count>
    <who name="Jose Perez C">jose.perez.carranza</who>
    <bug_when>2017-03-16 14:46:34 +0000</bug_when>
    <thetext>Also Ubuntu is failing with below error: 

======================================================================
ERROR: test1 (oeqa.buildperf.test_basic.Test1P1)
Build core-image-sato
----------------------------------------------------------------------
Traceback (most recent call last):
  File &quot;/media/yocto_disk/poky-new-perf/meta/lib/oeqa/buildperf/base.py&quot;, line 275, in setUp
    self.run_cmd([&apos;bitbake&apos;, self.build_target, &apos;-c&apos;, &apos;fetchall&apos;])
  File &quot;/media/yocto_disk/poky-new-perf/meta/lib/oeqa/buildperf/base.py&quot;, line 288, in run_cmd
    runCmd2(cmd)
  File &quot;/media/yocto_disk/poky-new-perf/meta/lib/oeqa/utils/commands.py&quot;, line 123, in runCmd
    raise CommandError(result.status, command, result.output)
oeqa.utils.CommandError: Command &apos;[&apos;bitbake&apos;, &apos;core-image-sato&apos;, &apos;-c&apos;, &apos;fetchall&apos;]&apos; returned non-zero exit status 1 with output: WARNING: Host distribution &quot;ubuntu-15.10&quot; 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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71519</commentid>
    <comment_count>2</comment_count>
    <who name="Leonardo Sandoval Gonzalez">leonardo.sandoval.gonzalez</who>
    <bug_when>2017-03-21 15:20:24 +0000</bug_when>
    <thetext>PATH included into the cron file, pointing to /usr/sbin, where ip resides.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>72329</commentid>
    <comment_count>3</comment_count>
    <who name="Jose Perez C">jose.perez.carranza</who>
    <bug_when>2017-04-11 20:28:59 +0000</bug_when>
    <thetext>Currently Fedora is running correctly, bug verified</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>