Bug 16024 - AB-INT: wine: Can't recognize cmd.exe as an internal or external command, or batch script
Summary: AB-INT: wine: Can't recognize cmd.exe as an internal or external command, or ...
Status: RESOLVED WONTFIX
Alias: None
Product: Runtime Testing
Classification: QA/Testing
Component: testsdk (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium normal
Target Milestone: 6.0
Assignee: Unassigned
QA Contact:
URL:
Whiteboard: AB-INT
Depends on:
Blocks:
 
Reported: 2025-10-21 10:55 UTC by Mathieu Dubois-Briand
Modified: 2026-04-22 11:57 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mathieu Dubois-Briand 2025-10-21 10:55:21 UTC
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: x86-64-v3-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 31, in test_gcc_compile_and_link
    self.assertIsTargetElf(os.path.join(self.test_dir, 'test.o'))
  File "/srv/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 "/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-x86-64-v3-poky-linux.bat', '>', 'NUL', '&&', 'echo', '%OECORE_TARGET_OS%:%OECORE_TARGET_ARCH%']' returned non-zero exit status 49.
Standard Output: Can't recognize 'C:\windows\system32\cmd.exe /C exit 0 ' as an internal or external command, or batch script.
linux:x86_64
Comment 1 Mathieu Dubois-Briand 2025-10-21 11:03:01 UTC
meta-mingw ubuntu2204-vk-4 master completed at 2025-10-15 01:11:23+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/7/builds/2638/steps/18/logs/stdio
Comment 2 Joshua Watt 2026-04-06 14:28:23 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
Comment 3 Yoann Congal 2026-04-22 11:57:59 UTC
meta-mingw ubuntu2204-vk-3 whinlatter completed at 2026-04-22 10:38:57+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/7/builds/3384