Bug 16145 - [kirkstone] AB-INT: mingw-sdktest fail with "wine %CC" returning 1
Summary: [kirkstone] AB-INT: mingw-sdktest fail with "wine %CC" returning 1
Status: RESOLVED WONTFIX
Alias: None
Product: Runtime Testing
Classification: QA/Testing
Component: testsdk (show other bugs)
Version: 4.0.35
Hardware: x86 Multiple
: Medium normal
Target Milestone: 4.0.35
Assignee: Joshua Watt
QA Contact:
URL:
Whiteboard: AB-INT
Depends on:
Blocks:
 
Reported: 2026-01-20 09:25 UTC by Yoann Congal
Modified: 2026-04-06 14:28 UTC (History)
1 user (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments
log.do_testsdk.3414599 (5.86 KB, text/plain)
2026-01-20 09:25 UTC, Yoann Congal
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yoann Congal 2026-01-20 09:25:37 UTC
Created attachment 5176 [details]
log.do_testsdk.3414599

kirkstone meta-mingw ubuntu2204-vk-3 https://autobuilder.yoctoproject.org/valkyrie/?#/builders/7/builds/3115

Rebuilt successfully in kirkstone meta-mingw ubuntu2204-vk-1 https://autobuilder.yoctoproject.org/valkyrie/?#/builders/7/builds/3119

Maybe related: https://bugzilla.yoctoproject.org/show_bug.cgi?id=16024
but not exactly same log (no mention of "internal or external command" nor error code 49 != 1)

Log extract:
NOTE: Running task 1 of 1 (/srv/pokybuild/yocto-worker/meta-mingw/build/meta-mingw/recipes-core/images/core-image-mingw-sdktest.bb:do_testsdk)
NOTE: recipe core-image-mingw-sdktest-1.0-r0: task do_testsdk: Started
SDK testing environment: core2-32-poky-linux.bat
Traceback (most recent call last):
  File "/srv/pokybuild/yocto-worker/meta-mingw/build/meta-mingw/lib/oeqa/sdkmingw/cases/gcc.py", line 25, in test_gcc_compile
    self._run('%CC% %CFLAGS% %LDFLAGS% test.c -o test -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', 'Z:\\srv\\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:\\srv\\pokybuild\\yocto-worker\\meta-mingw\\build\\build\\tmp\\work\\qemux86-poky-linux\\core-image-mingw-sdktest\\1.0-r0\\testimage-sdk\\GccCompileTest-pcr75o9j', '&&', '%CC%', '%CFLAGS%', '%LDFLAGS%', 'test.c', '-o', 'test', '-lm']' returned non-zero exit status 1
RESULTS:
RESULTS - binutils.BinutilsTest.test_ar: PASSED (1.48s)
RESULTS - binutils.BinutilsTest.test_nm: PASSED (1.04s)
RESULTS - binutils.BinutilsTest.test_objcopy: PASSED (1.49s)
RESULTS - binutils.BinutilsTest.test_objdump: PASSED (1.00s)
RESULTS - binutils.BinutilsTest.test_ranlib: PASSED (1.67s)
RESULTS - binutils.BinutilsTest.test_strip: PASSED (1.11s)
RESULTS - gcc.GccCompileTest.test_gcc_compile_and_link: PASSED (0.90s)
RESULTS - gcc.GccCompileTest.test_gpp2_compile: PASSED (0.65s)
RESULTS - gcc.GccCompileTest.test_gpp_compile: PASSED (1.06s)
RESULTS - gcc.GccCompileTest.test_make: PASSED (0.89s)
RESULTS - gdb.GdbTest.test_gdb: PASSED (4.46s)
RESULTS - pkgconfig.PkgConfigTest.test_pkg_config: PASSED (0.25s)
RESULTS - gcc.GccCompileTest.test_gcc_compile: ERROR (0.03s)
SUMMARY:
core-image-mingw-sdktest sdk-mingw (poky-glibc-x86_64-mingw32-core-image-mingw-sdktest-core2-32-qemux86-toolchain-4.0.32.tar.xz:environment-setup-core2-32-poky-linux.bat) - Ran 13 tests in 16.018s
core-image-mingw-sdktest sdk-mingw - FAIL - Required tests failed (successes=12, skipped=0, failures=0, errors=1)
ERROR: core-image-mingw-sdktest-1.0-r0 do_testsdk: core-image-mingw-sdktest - FAILED - check the task log and the commands log
ERROR: Logfile of failure stored in: /srv/pokybuild/yocto-worker/meta-mingw/build/build/tmp/work/qemux86-poky-linux/core-image-mingw-sdktest/1.0-r0/temp/log.do_testsdk.3414599
NOTE: recipe core-image-mingw-sdktest-1.0-r0: task do_testsdk: Failed
ERROR: Task (/srv/pokybuild/yocto-worker/meta-mingw/build/meta-mingw/recipes-core/images/core-image-mingw-sdktest.bb:do_testsdk) failed with exit code '1'
Comment 1 Joshua Watt 2026-04-06 14:28:37 UTC
These issues were only seen on the autobuild (AFAICT) and we aren't regularly testing MinGW on the AB anymore so this can be closed