DEBUG: Executing python function do_testsdk
/srv/pokybuild/yocto-worker/meta-mingw/build/meta/lib/oeqa/sdk/testsdk.py:84: ResourceWarning: unclosed file <_io.TextIOWrapper name='TOPDIR/tmp/deploy/sdk/poky-glibc-x86_64-mingw32-core-image-mingw-sdktest-core2-64-qemux86-64-toolchain-5.2.2.testdata.json' mode='r' encoding='UTF-8'>
  test_data = json.load(open(tdname, "r"))
ResourceWarning: Enable tracemalloc to get the object allocation traceback
/usr/lib/python3/dist-packages/testtools/distutilscmd.py:7: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
  from distutils.core import Command
SDK testing environment: core2-64-poky-linux.bat
wine: created the configuration directory 'TOPDIR/tmp/work/qemux86_64-poky-linux/core-image-mingw-sdktest/1.0/testimage-wine'
Could not find Wine Gecko. HTML rendering will be disabled.
Could not find Wine Gecko. HTML rendering will be disabled.
wine: configuration in L"TOPDIR/tmp/work/qemux86_64-poky-linux/core-image-mingw-sdktest/1.0/testimage-wine" has been updated.
NOTE: test_ar (binutils.BinutilsTest)
NOTE:  ... ok
NOTE: test_nm (binutils.BinutilsTest)
NOTE:  ... ok
NOTE: test_objcopy (binutils.BinutilsTest)
NOTE:  ... ok
NOTE: test_objdump (binutils.BinutilsTest)
NOTE:  ... ok
NOTE: test_ranlib (binutils.BinutilsTest)
NOTE:  ... ok
NOTE: test_strip (binutils.BinutilsTest)
NOTE:  ... ERROR
Traceback (most recent call last):
  File "/srv/pokybuild/yocto-worker/meta-mingw/build/meta/lib/oeqa/core/case.py", line 53, in _oeSetUp
    self.setUpMethod()
  File "/srv/pokybuild/yocto-worker/meta-mingw/build/meta-mingw/lib/oeqa/sdkmingw/cases/binutils.py", line 25, in setUp
    self._run('%CC% -c -g test.c -o test.o')
  File "/srv/pokybuild/yocto-worker/meta-mingw/build/meta-mingw/lib/oeqa/sdkmingw/case.py", line 67, in _run
    return subprocess.check_output(command, env=self.tc.get_wine_env(),
  File "/usr/lib/python3.10/subprocess.py", line 421, in check_output
    return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
  File "/usr/lib/python3.10/subprocess.py", line 526, in run
    raise CalledProcessError(retcode, process.args,
oeqa.utils.subprocesstweak.OETestCalledProcessError: Command '['wine', 'cmd', '/c', 'W:\\testimage-sdk\\environment-setup-core2-64-poky-linux.bat', '>', 'NUL', '&&', '%CC%', '-c', '-g', 'test.c', '-o', 'test.o']' returned non-zero exit status 1
Standard Output: x86_64-poky-linux-gcc: fatal error: cannot execute 'W:/testimage-sdk/sysroots/x86_64-w64-mingw32/usr/bin/x86_64-poky-linux/../../libexec/x86_64-poky-linux/gcc/x86_64-poky-linux/14.3.0/as.exe': CreateProcess: No such file or directory
compilation terminated.


NOTE: test_gcc_compile (gcc.GccCompileTest)
NOTE:  ... ok
NOTE: test_gcc_compile_and_link (gcc.GccCompileTest)
NOTE:  ... ok
NOTE: test_gpp2_compile (gcc.GccCompileTest)
NOTE:  ... ok
NOTE: test_gpp_compile (gcc.GccCompileTest)
NOTE:  ... ok
NOTE: test_make (gcc.GccCompileTest)
NOTE:  ... ok
NOTE: test_gdb (gdb.GdbTest)
NOTE:  ... ok
NOTE: test_pkg_config (pkgconfig.PkgConfigTest)
NOTE:  ... ok
NOTE: ======================================================================
NOTE: ERROR: test_strip (binutils.BinutilsTest)
NOTE: ----------------------------------------------------------------------
NOTE: Traceback (most recent call last):
  File "/srv/pokybuild/yocto-worker/meta-mingw/build/meta/lib/oeqa/core/case.py", line 53, in _oeSetUp
    self.setUpMethod()
  File "/srv/pokybuild/yocto-worker/meta-mingw/build/meta-mingw/lib/oeqa/sdkmingw/cases/binutils.py", line 25, in setUp
    self._run('%CC% -c -g test.c -o test.o')
  File "/srv/pokybuild/yocto-worker/meta-mingw/build/meta-mingw/lib/oeqa/sdkmingw/case.py", line 67, in _run
    return subprocess.check_output(command, env=self.tc.get_wine_env(),
  File "/usr/lib/python3.10/subprocess.py", line 421, in check_output
    return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
  File "/usr/lib/python3.10/subprocess.py", line 526, in run
    raise CalledProcessError(retcode, process.args,
oeqa.utils.subprocesstweak.OETestCalledProcessError: Command '['wine', 'cmd', '/c', 'W:\\testimage-sdk\\environment-setup-core2-64-poky-linux.bat', '>', 'NUL', '&&', '%CC%', '-c', '-g', 'test.c', '-o', 'test.o']' returned non-zero exit status 1
Standard Output: x86_64-poky-linux-gcc: fatal error: cannot execute 'W:/testimage-sdk/sysroots/x86_64-w64-mingw32/usr/bin/x86_64-poky-linux/../../libexec/x86_64-poky-linux/gcc/x86_64-poky-linux/14.3.0/as.exe': CreateProcess: No such file or directory
compilation terminated.


NOTE: ----------------------------------------------------------------------
NOTE: Ran 13 tests in 17.620s
NOTE: FAILED
NOTE:  (errors=1)
RESULTS:
RESULTS - binutils.BinutilsTest.test_ar: PASSED (1.39s)
RESULTS - binutils.BinutilsTest.test_nm: PASSED (0.88s)
RESULTS - binutils.BinutilsTest.test_objcopy: PASSED (1.12s)
RESULTS - binutils.BinutilsTest.test_objdump: PASSED (0.90s)
RESULTS - binutils.BinutilsTest.test_ranlib: PASSED (1.57s)
RESULTS - gcc.GccCompileTest.test_gcc_compile: PASSED (0.70s)
RESULTS - gcc.GccCompileTest.test_gcc_compile_and_link: PASSED (1.00s)
RESULTS - gcc.GccCompileTest.test_gpp2_compile: PASSED (0.72s)
RESULTS - gcc.GccCompileTest.test_gpp_compile: PASSED (1.30s)
RESULTS - gcc.GccCompileTest.test_make: PASSED (0.81s)
RESULTS - gdb.GdbTest.test_gdb: PASSED (6.58s)
RESULTS - pkgconfig.PkgConfigTest.test_pkg_config: PASSED (0.24s)
RESULTS - binutils.BinutilsTest.test_strip: ERROR (0.39s)
SUMMARY:
core-image-mingw-sdktest sdk-mingw (poky-glibc-x86_64-mingw32-core-image-mingw-sdktest-core2-64-qemux86-64-toolchain-5.2.2.tar.xz:environment-setup-core2-64-poky-linux.bat) - Ran 13 tests in 17.622s
core-image-mingw-sdktest sdk-mingw - FAIL - Required tests failed (successes=12, skipped=0, failures=0, errors=1)
ERROR: core-image-mingw-sdktest - FAILED - check the task log and the commands log
DEBUG: Python function do_testsdk finished

Error details

Submitted on:
22/07/25 12:25
Error type:
Recipe
Task:
do_testsdk
Recipe:
core-image-mingw-sdktest
Recipe version:
1.0-r0
Machine:
qemux86-64
Distro:
poky
Build system:
x86_64-linux
Target system:
x86_64-poky-linux
Host distro:
universal/ubuntu-22.04
Branch:
stable/walnascar-nut
Commit:
a11c3773e0ee8f85e5c33a53c3b9b417a0ddf2b3
Build:
#211840
Submitter:
yp-ab-ubuntu2204-vk-1
Link back:
https://autobuilder.yoctoproject.org/valkyrie/#/builders/7/builds/2126
Similar errors:
2
Open a bug