Bug 14936

Summary: AB-INT: mingw binutils.BinutilsTest.test_ar test failure
Product: [QA/Testing] Runtime Testing Reporter: Alexandre Belloni <alexandre.belloni>
Component: testsdkAssignee: Joshua Watt <JPEWhacker>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: Medium CC: alexandre.belloni, randy.macleod
Version: unspecified   
Target Milestone: 4.2   
Hardware: x86   
OS: Multiple   
Whiteboard: AB-INT
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Alexandre Belloni 2022-10-14 15:30:15 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/89/builds/5982/steps/17/logs/stdio

NOTE: recipe core-image-mingw-sdktest-1.0-r0: task do_testsdk: Started
SDK testing environment: core2-32-poky-linux.bat
Bitbake still alive (no events for 600s). Active tasks:
/home/pokybuild/yocto-worker/meta-mingw/build/meta-mingw/recipes-core/images/core-image-mingw-sdktest.bb:do_testsdk
Traceback (most recent call last):
  File "/home/pokybuild/yocto-worker/meta-mingw/build/meta-mingw/lib/oeqa/sdkmingw/cases/binutils.py", line 35, in test_ar
    self.assertIsTargetElf(os.path.join(self.test_dir, 'test'))
  File "/home/pokybuild/yocto-worker/meta-mingw/build/meta-mingw/lib/oeqa/sdkmingw/case.py", line 78, in assertIsTargetElf
    output = self._run("echo %OECORE_TARGET_OS%:%OECORE_TARGET_ARCH%")
  File "/home/pokybuild/yocto-worker/meta-mingw/build/meta-mingw/lib/oeqa/sdkmingw/case.py", line 68, in _run
    stderr=subprocess.STDOUT, universal_newlines=True)
  File "/usr/lib/python3.6/subprocess.py", line 356, in check_output
    **kwargs).stdout
  File "/usr/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
oeqa.utils.subprocesstweak.OETestCalledProcessError: Command '['wine', 'cmd', '/c', 'Z:\\home\\pokybuild\\yocto-worker\\meta-mingw\\build\\build\\tmp\\work\\qemux86-poky-linux\\core-image-mingw-sdktest\\1.0-r0\\testimage-sdk\\environment-setup-core2-32-poky-linux.bat', '>', 'NUL', '&&', 'cd', 'Z:\\home\\pokybuild\\yocto-worker\\meta-mingw\\build\\build\\tmp\\work\\qemux86-poky-linux\\core-image-mingw-sdktest\\1.0-r0\\testimage-sdk\\BinutilsTest-ig9obz80', '&&', 'echo', '%OECORE_TARGET_OS%:%OECORE_TARGET_ARCH%']' returned non-zero exit status 49
Standard Output: Can't recognize '/C exit 0 ' as an internal or external command, or batch script.
linux:i686
Comment 1 Randy MacLeod 2023-03-09 15:49:05 UTC
Joshua wasn't able to reproduce it.