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.0.14.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: ... 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 26, in setUp
self._run('%CC% -o test test.o -lm')
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%', '-o', 'test', 'test.o', '-lm']' returned non-zero exit status 1
Standard Output: collect2.exe: fatal error: CreateProcess: No such file or directory
compilation terminated.
NOTE: test_ranlib (binutils.BinutilsTest)
NOTE: ... ok
NOTE: test_strip (binutils.BinutilsTest)
NOTE: ... ok
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_objdump (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 26, in setUp
self._run('%CC% -o test test.o -lm')
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%', '-o', 'test', 'test.o', '-lm']' returned non-zero exit status 1
Standard Output: collect2.exe: fatal error: CreateProcess: No such file or directory
compilation terminated.
NOTE: ----------------------------------------------------------------------
NOTE: Ran 13 tests in 12.747s
NOTE: FAILED
NOTE: (errors=1)
RESULTS:
RESULTS - binutils.BinutilsTest.test_ar: PASSED (1.06s)
RESULTS - binutils.BinutilsTest.test_nm: PASSED (0.71s)
RESULTS - binutils.BinutilsTest.test_objcopy: PASSED (1.04s)
RESULTS - binutils.BinutilsTest.test_ranlib: PASSED (1.19s)
RESULTS - binutils.BinutilsTest.test_strip: PASSED (0.84s)
RESULTS - gcc.GccCompileTest.test_gcc_compile: PASSED (0.58s)
RESULTS - gcc.GccCompileTest.test_gcc_compile_and_link: PASSED (0.67s)
RESULTS - gcc.GccCompileTest.test_gpp2_compile: PASSED (0.50s)
RESULTS - gcc.GccCompileTest.test_gpp_compile: PASSED (0.89s)
RESULTS - gcc.GccCompileTest.test_make: PASSED (0.61s)
RESULTS - gdb.GdbTest.test_gdb: PASSED (3.95s)
RESULTS - pkgconfig.PkgConfigTest.test_pkg_config: PASSED (0.17s)
RESULTS - binutils.BinutilsTest.test_objdump: ERROR (0.52s)
SUMMARY:
core-image-mingw-sdktest sdk-mingw (poky-glibc-x86_64-mingw32-core-image-mingw-sdktest-core2-64-qemux86-64-toolchain-5.0.14.tar.xz:environment-setup-core2-64-poky-linux.bat) - Ran 13 tests in 12.747s
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