<?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>12355</bug_id>
          
          <creation_ts>2017-11-15 21:50:24 +0000</creation_ts>
          <short_desc>ERROR: core-image-sato-1.0-r0 do_testsdk: Function failed: do_testsdk test_python_stdout &amp; test_python_testfile</short_desc>
          <delta_ts>2017-11-16 15:56:34 +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>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>OBSOLETE</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Undecided</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Juro Bystricky">juro.bystricky</reporter>
          <assigned_to name="Jose Perez C">jose.perez.carranza</assigned_to>
          <cc>ross.burton</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>78226</commentid>
    <comment_count>0</comment_count>
    <who name="Juro Bystricky">juro.bystricky</who>
    <bug_when>2017-11-15 21:50:24 +0000</bug_when>
    <thetext>test_python_exists (python.PythonTest) ... ok
test_python_stdout (python.PythonTest) ... ERROR
test_python_testfile (python.PythonTest) ... ERROR

======================================================================
ERROR: test_python_stdout (python.PythonTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File &quot;/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-arm64/build/meta/lib/oeqa/sdk/cases/python.py&quot;, line 23, in test_python_stdout
    output = self._run(&apos;python %s/test.py&apos; % self.tc.sdk_dir)
  File &quot;/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-arm64/build/meta/lib/oeqa/sdk/case.py&quot;, line 12, in _run
    stderr=subprocess.STDOUT, universal_newlines=True)
  File &quot;/usr/lib64/python3.6/subprocess.py&quot;, line 336, in check_output
    **kwargs).stdout
  File &quot;/usr/lib64/python3.6/subprocess.py&quot;, line 418, in run
    output=stdout, stderr=stderr)
Observed for several MACHINES, (possibly related to gcc &amp; binutils upgrade)

Build Configuration:
BB_VERSION           = &quot;1.37.0&quot;
BUILD_SYS            = &quot;x86_64-linux&quot;
NATIVELSBSTRING      = &quot;universal&quot;
TARGET_SYS           = &quot;aarch64-poky-linux&quot;
MACHINE              = &quot;qemuarm64&quot;
DISTRO               = &quot;poky&quot;
DISTRO_VERSION       = &quot;2.4+snapshot-20171115&quot;
TUNE_FEATURES        = &quot;aarch64&quot;
TARGET_FPU           = &quot;&quot;
meta                 
meta-poky            
meta-yocto-bsp       = &quot;heads/ross/mut2:817e261385307b83fa6d94f9700f94e5d41cfbf3&quot;


Build Configuration:
BB_VERSION           = &quot;1.37.0&quot;
BUILD_SYS            = &quot;x86_64-linux&quot;
NATIVELSBSTRING      = &quot;universal-4.9&quot;
TARGET_SYS           = &quot;mips-poky-linux&quot;
MACHINE              = &quot;qemumips&quot;
DISTRO               = &quot;poky&quot;
DISTRO_VERSION       = &quot;2.4+snapshot-20171115&quot;
TUNE_FEATURES        = &quot;o32 bigendian fpu-hard mips32r2&quot;
TARGET_FPU           = &quot;&quot;
meta                 
meta-poky            
meta-yocto-bsp       = &quot;heads/ross/mut2:817e261385307b83fa6d94f9700f94e5d41cfbf3&quot;

Build Configuration:
BB_VERSION           = &quot;1.37.0&quot;
BUILD_SYS            = &quot;x86_64-linux&quot;
NATIVELSBSTRING      = &quot;universal&quot;
TARGET_SYS           = &quot;mips64-poky-linux&quot;
MACHINE              = &quot;qemumips64&quot;
DISTRO               = &quot;poky&quot;
DISTRO_VERSION       = &quot;2.4+snapshot-20171115&quot;
TUNE_FEATURES        = &quot;n64 bigendian fpu-hard&quot;
TARGET_FPU           = &quot;&quot;
meta                 
meta-poky            
meta-yocto-bsp       = &quot;heads/ross/mut2:817e261385307b83fa6d94f9700f94e5d41cfbf3&quot;


Build Configuration:
BB_VERSION           = &quot;1.37.0&quot;
BUILD_SYS            = &quot;x86_64-linux&quot;
NATIVELSBSTRING      = &quot;universal&quot;
TARGET_SYS           = &quot;arm-poky-linux-gnueabi&quot;
MACHINE              = &quot;qemuarm&quot;
DISTRO               = &quot;poky&quot;
DISTRO_VERSION       = &quot;2.4+snapshot-20171115&quot;
TUNE_FEATURES        = &quot;arm armv5 thumb dsp&quot;
TARGET_FPU           = &quot;soft&quot;
meta                 
meta-poky            
meta-yocto-bsp       = &quot;heads/ross/mut2:817e261385307b83fa6d94f9700f94e5d41cfbf3&quot;


Build Configuration:
BB_VERSION           = &quot;1.37.0&quot;
BUILD_SYS            = &quot;x86_64-linux&quot;
NATIVELSBSTRING      = &quot;universal&quot;
TARGET_SYS           = &quot;mips64-poky-linux-gnun32&quot;
MACHINE              = &quot;qemumips64&quot;
DISTRO               = &quot;poky&quot;
DISTRO_VERSION       = &quot;2.4+snapshot-20171115&quot;
TUNE_FEATURES        = &quot;n32 bigendian fpu-hard&quot;
TARGET_FPU           = &quot;&quot;
meta                 
meta-poky            
meta-yocto-bsp       = &quot;heads/ross/mut2:817e261385307b83fa6d94f9700f94e5d41cfbf3&quot;

Full log (non-persistent), for example:
https://autobuilder.yocto.io/builders/nightly-multilib/builds/600/steps/Running%20SDK%20Sanity%20Tests/logs/stdio


The error logs for for build configurations listed above running &quot;Running SDK Sanity Tests&quot; contain errors such as (with different &quot;machine&quot;):


test_python_exists (python.PythonTest) ... ok
test_python_stdout (python.PythonTest) ... ERROR
test_python_testfile (python.PythonTest) ... ERROR

======================================================================
ERROR: test_python_stdout (python.PythonTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File &quot;/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-multilib/build/meta/lib/oeqa/sdk/cases/python.py&quot;, line 23, in test_python_stdout
    output = self._run(&apos;python %s/test.py&apos; % self.tc.sdk_dir)
  File &quot;/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-multilib/build/meta/lib/oeqa/sdk/case.py&quot;, line 12, in _run
    stderr=subprocess.STDOUT, universal_newlines=True)
  File &quot;/usr/lib/python3.5/subprocess.py&quot;, line 316, in check_output
    **kwargs).stdout
  File &quot;/usr/lib/python3.5/subprocess.py&quot;, line 398, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command &apos;. /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-multilib/build/build/tmp/work/qemumips64-poky-linux-gnun32/core-image-minimal/1.0-r0/testimage-sdk/environment-setup-mips64-pokymllib64-linux &gt; /dev/null; python /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-multilib/build/build/tmp/work/qemumips64-poky-linux-gnun32/core-image-minimal/1.0-r0/testimage-sdk//test.py;&apos; returned non-zero exit status 1

======================================================================
ERROR: test_python_testfile (python.PythonTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File &quot;/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-multilib/build/meta/lib/oeqa/sdk/cases/python.py&quot;, line 27, in test_python_testfile
    self._run(&apos;ls /tmp/testfile.python&apos;)
  File &quot;/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-multilib/build/meta/lib/oeqa/sdk/case.py&quot;, line 12, in _run
    stderr=subprocess.STDOUT, universal_newlines=True)
  File &quot;/usr/lib/python3.5/subprocess.py&quot;, line 316, in check_output
    **kwargs).stdout
  File &quot;/usr/lib/python3.5/subprocess.py&quot;, line 398, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command &apos;. /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-multilib/build/build/tmp/work/qemumips64-poky-linux-gnun32/core-image-minimal/1.0-r0/testimage-sdk/environment-setup-mips64-pokymllib64-linux &gt; /dev/null; ls /tmp/testfile.python;&apos; returned non-zero exit status 2

----------------------------------------------------------------------
Ran 3 tests in 0.144s

FAILED (errors=2)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>78247</commentid>
    <comment_count>1</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2017-11-16 15:56:34 +0000</bug_when>
    <thetext>I wrote a new test and it doesn&apos;t work :)

Patches dropped, so closing.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>