On Sun Aug 9, 2026 at 11:35 AM CEST, Adrian Freihofer via 
lists.openembedded.org wrote:
> From: Adrian Freihofer <[email protected]>
>
> Replace the fixed delay and process-list probe for GDB background tasks
> with a wait for the readiness marker generated in tasks.json. This
> verifies the same background-task contract VS Code uses before starting
> the debugger session.
>
> Signed-off-by: Adrian Freihofer <[email protected]>
> ---

Hi Adrian,

I know you already discussed the issue with Richard, just adding a
comment here to keep a trace of the issue.

Before this patch we had intermittent failures of the
devtool.DevtoolIdeSdkTests.test_devtool_ide_sdk_code_cmake and
devtool.DevtoolIdeSdkTests.test_devtool_ide_sdk_code_meson tests.
Starting with this patch, the same tests are always failing:

2026-08-11 08:17:37,903 - oe-selftest - INFO - 
devtool.DevtoolIdeSdkTests.test_devtool_ide_sdk_code_cmake 
(subunit.RemotedTestCase)
2026-08-11 08:17:37,904 - oe-selftest - INFO -  ... FAIL
...
2026-08-11 08:17:37,904 - oe-selftest - INFO - 
testtools.testresult.real._StringException: Traceback (most recent call last):
  File 
"/srv/pokybuild/yocto-worker/oe-selftest-debian/build/layers/openembedded-core/meta/lib/oeqa/selftest/cases/devtool.py",
 line 3655, in test_devtool_ide_sdk_code_cmake
    self._verify_launch_json_debugging(tempdir, qemu, example_exe)
  File 
"/srv/pokybuild/yocto-worker/oe-selftest-debian/build/layers/openembedded-core/meta/lib/oeqa/selftest/cases/devtool.py",
 line 3527, in _verify_launch_json_debugging
    self._verify_launch_config(tempdir, config, tasks, qemu, example_exe,
  File 
"/srv/pokybuild/yocto-worker/oe-selftest-debian/build/layers/openembedded-core/meta/lib/oeqa/selftest/cases/devtool.py",
 line 3598, in _verify_launch_config
    self.assertTrue(
  File "/usr/lib/python3.11/unittest/case.py", line 715, in assertTrue
    raise self.failureException(msg)
AssertionError: False is not true : gdbserver did not report readiness on port 
1234

https://autobuilder.yoctoproject.org/valkyrie/#/builders/35/builds/4529

Thanks,
Mathieu

-- 
Mathieu Dubois-Briand, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#243173): 
https://lists.openembedded.org/g/openembedded-core/message/243173
Mute This Topic: https://lists.openembedded.org/mt/120667692/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to