<?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>12875</bug_id>
          
          <creation_ts>2018-08-09 10:09:14 +0000</creation_ts>
          <short_desc>[2.6 M2 rc1] eSDK devtool automated tests were skipped due to unexpected error on dependency logic</short_desc>
          <delta_ts>2018-08-14 10:43:46 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>QA/Testing</classification>
          <product>Runtime Testing</product>
          <component>general</component>
          <version>2.6</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.6 M3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="yeoh ee peng">ee.peng.yeoh</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>81277</commentid>
    <comment_count>0</comment_count>
    <who name="yeoh ee peng">ee.peng.yeoh</who>
    <bug_when>2018-08-09 10:09:14 +0000</bug_when>
    <thetext>Step to reproduce.
1. clone poky, source oe-init-build-env
2. bitbake core-image-sato-sdk 
3. bitbake core-image-sato-sdk -c populate_sdk_ext
4. bitbake core-image-sato-sdk -c testsdkext

Expected:
When devtool.DevtoolTest.test_devtool_location passed, other devtool tests that depending on devtool.DevtoolTest.test_devtool_location shall be executed.

Actual: 
When devtool.DevtoolTest.test_devtool_location passed, other devtool tests that depending on devtool.DevtoolTest.test_devtool_location were skipped.

NOTE: test_devtool_add_reset (devtool.DevtoolTest)
NOTE:  ... skipped &quot;Test case devtool.DevtoolTest.test_devtool_add_reset depends on test_devtool_location but it didn&apos;t pass/run.&quot;
NOTE: test_devtool_build_cmake (devtool.DevtoolTest)
NOTE:  ... skipped &quot;Test case devtool.DevtoolTest.test_devtool_build_cmake depends on test_devtool_location but it didn&apos;t pass/run.&quot;
NOTE: test_devtool_build_esdk_package (devtool.DevtoolTest)
NOTE:  ... skipped &quot;Test case devtool.DevtoolTest.test_devtool_build_esdk_package depends on test_devtool_location but it didn&apos;t pass/run.&quot;
NOTE: test_devtool_build_make (devtool.DevtoolTest)
NOTE:  ... skipped &quot;Test case devtool.DevtoolTest.test_devtool_build_make depends on test_devtool_location but it didn&apos;t pass/run.&quot;
NOTE: test_devtool_kernelmodule (devtool.DevtoolTest)
NOTE:  ... skipped &quot;Test case devtool.DevtoolTest.test_devtool_kernelmodule depends on test_devtool_location but it didn&apos;t pass/run.&quot;
NOTE: test_extend_autotools_recipe_creation (devtool.DevtoolTest)
NOTE:  ... skipped &quot;Test case devtool.DevtoolTest.test_extend_autotools_recipe_creation depends on test_devtool_location but it didn&apos;t pass/run.&quot;
NOTE: test_recipes_for_nodejs (devtool.DevtoolTest)
NOTE:  ... skipped &quot;Test case devtool.DevtoolTest.test_recipes_for_nodejs depends on test_devtool_location but it didn&apos;t pass/run.&quot;
INFO: Copying the SDK to destination
INFO: Unpacking SDK
INFO: Successfully unpacked /data/eyeoh7/tmp/poky_qa/build-image-sato-sdk/tmp/work/qemux86-poky-linux/core-image-sato-sdk/1.0-r0/testsdkext/esdk_publish/poky-glibc-x86_64-core-image-sato-sdk-i586-toolchain-ext-2.5+snapshot.sh to /data/eyeoh7/tmp/poky_qa/build-image-sato-sdk/tmp/work/qemux86-poky-linux/core-image-sato-sdk/1.0-r0/testsdkext/esdk_publish
INFO: SDK published successfully
NOTE: test_sdk_update_http (devtool.SdkUpdateTest)
NOTE:  ... ERROR
NOTE: ======================================================================
NOTE: ERROR: test_sdk_update_http (devtool.SdkUpdateTest)
NOTE: ----------------------------------------------------------------------
NOTE: Traceback (most recent call last):
  File &quot;/data/eyeoh7/tmp/poky_qa/meta/lib/oeqa/sdkext/cases/devtool.py&quot;, line 124, in test_sdk_update_http
    output = self._run(&quot;devtool sdk-update \&quot;%s\&quot;&quot; % self.http_url)
  File &quot;/data/eyeoh7/tmp/poky_qa/meta/lib/oeqa/sdkext/case.py&quot;, line 21, in _run
    shell=True, env=env, universal_newlines=True)
  File &quot;/usr/lib/python3.5/subprocess.py&quot;, line 626, in check_output
    **kwargs).stdout
  File &quot;/usr/lib/python3.5/subprocess.py&quot;, line 708, in run
    output=stdout, stderr=stderr)
oeqa.utils.subprocesstweak.OETestCalledProcessError: Command &apos;. /data/eyeoh7/tmp/poky_qa/build-image-sato-sdk/tmp/work/qemux86-poky-linux/core-image-sato-sdk/1.0-r0/testsdkext/environment-setup-i586-poky-linux &gt; /dev/null; devtool sdk-update &quot;http://127.0.0.1:33613&quot;;&apos; returned non-zero exit status 8
Standard Output: NOTE: Starting bitbake server...
NOTE: Starting bitbake server...
ERROR: Cannot dowload files from http://127.0.0.1:33613

----------------------------------------------------------------------
NOTE: Ran 19 tests in 209.807s
NOTE: FAILED
NOTE:  (errors=1, skipped=7)
RESULTS:
RESULTS - buildcpio.BuildCpioTest.test_cpio - Testcase -1: PASSED (48.80s)
RESULTS - buildgalculator.GalculatorTest.test_galculator - Testcase -1: PASSED (31.03s)
RESULTS - buildlzip.BuildLzipTest.test_lzip - Testcase -1: PASSED (4.95s)
RESULTS - gcc.GccCompileTest.test_gcc_compile - Testcase -1: PASSED (0.11s)
RESULTS - gcc.GccCompileTest.test_gpp2_compile - Testcase -1: PASSED (0.13s)
RESULTS - gcc.GccCompileTest.test_gpp_compile - Testcase -1: PASSED (0.17s)
RESULTS - gcc.GccCompileTest.test_make - Testcase -1: PASSED (0.12s)
RESULTS - perl.PerlTest.test_perl_exists - Testcase -1: PASSED (0.01s)
RESULTS - perl.PerlTest.test_perl_works - Testcase -1: PASSED (0.01s)
RESULTS - python.PythonTest.test_python3 - Testcase -1: PASSED (0.06s)
RESULTS - devtool.DevtoolTest.test_devtool_add_reset - Testcase -1: SKIPPED (0.00s)
RESULTS - devtool.DevtoolTest.test_devtool_build_cmake - Testcase 1607: SKIPPED (0.00s)
RESULTS - devtool.DevtoolTest.test_devtool_build_esdk_package - Testcase 1606: SKIPPED (0.00s)
RESULTS - devtool.DevtoolTest.test_devtool_build_make - Testcase 1605: SKIPPED (0.00s)
RESULTS - devtool.DevtoolTest.test_devtool_kernelmodule - Testcase 1609: SKIPPED (0.00s)
RESULTS - devtool.DevtoolTest.test_devtool_location - Testcase -1: PASSED (0.01s)
RESULTS - devtool.DevtoolTest.test_extend_autotools_recipe_creation - Testcase 1608: SKIPPED (0.00s)
RESULTS - devtool.DevtoolTest.test_recipes_for_nodejs - Testcase 1610: SKIPPED (0.00s)
RESULTS</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81339</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2018-08-14 10:43:46 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=b5970ab6511ad8ca3004315830d8fd6ed66bcd89</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>