From: "Mathieu Dubois-Briand" <mathieu.dubois-briand@bootlin.com>
To: "Enguerrand de Ribaucourt"
<enguerrand.de-ribaucourt@savoirfairelinux.com>,
"Adrian Freihofer" <adrian.freihofer@gmail.com>
Cc: <openembedded-core@lists.openembedded.org>,
"Adrian Freihofer" <adrian.freihofer@siemens.com>
Subject: Re: [OE-core] [PATCH v2 00/18] devtool: ide-sdk: add support for Rust recipes
Date: Sun, 22 Nov 2026 12:44:55 +0100 [thread overview]
Message-ID: <DN1PPP14OJFU.2WACOJI87M8F5@bootlin.com> (raw)
In-Reply-To: <72b94c28-8f93-4c2d-8423-d63f6c093552@savoirfairelinux.com>
On Fri Nov 20, 2026 at 6:09 PM CET, Enguerrand de Ribaucourt wrote:
>
> On 11/11/26 07:46, Adrian Freihofer wrote:
>>
>>
>> Am Di., 10. Nov. 2026 um 13:25 Uhr schrieb Mathieu Dubois-Briand via
>> openembedded-core <mathieu.dubois-
>> briand=bootlin.com@lists.openembedded.org
>> <mailto:bootlin.com@lists.openembedded.org>>:
>> I can see one of the selftest is failing, but only in 1 of the 3
>> selftest builds. So it might be something not fully deterministic with
>> lldb-server installation:
>> Warning: Permanently added '[localhost]:2222' (RSA) to the list of
>> known hosts.
>> /bin/sh: line 0: /usr/bin/lldb-server: not found
>> lldb-server exited before it started listening on port 1266
>>
>> https://autobuilder.yoctoproject.org/valkyrie/#/builders/48/
>> builds/5043 <https://autobuilder.yoctoproject.org/valkyrie/#/
>> builders/48/builds/5043>
>>
>> Can you have a look at the issue?
>>
>> That can happen if one test instance tries to connect to the wrong
>> runqemu instance (e.g. one with gdb-server installed) respectively the
>> port exposed on the build machine. There is a patch series which tries
>> to fix that. But v1 was rejected because it used Qemu's human readable
>> QMP API instead of the machine readable JSON API. v2 is still WIP
>> https://git.openembedded.org/openembedded-core-contrib/log/?h=adrianf/
>> runqemu-use-qmp-for-port-alloc <https://git.openembedded.org/
>> openembedded-core-contrib/log/?h=adrianf/runqemu-use-qmp-for-port-
>> alloc>. It requires adding some APIs to Qemu upstream. Not a trivial
>> quick fix. I was also lowering the priority on that because it seemed
>> like working.
>>
>> Probably this issue is not directly introduced by this patch series. But
>> the more tests we add, the more likely it becomes that two of them run
>> in parallel and fail in that wy.
>
> Hello,
>
> Should I wait for that series to be merged?
>
> Otherwise, I can provide a fix that would directly update the tasks.json
> from the actual Qemu SSH Slirp port returned by
> `qemu_cm = runqemu(testimage, runqemuparams=runqemuparams,
> launch_cmd=launch_cmd)`. It's just a few lines, but it does look more
> like a workaround than a solution. I can make that a separate commit
> that would be easy to revert once Adrian's branch has been merged.
>
> devtool ide-sdk also accepts an ssh port argument, but the current test
> flow needs to execute qemu after ide-sdk has been run.
>
> Please let me know how you want to proceed, or if you have any other
> remarks on this stack.
>
> Best Regards,
> Enguerrand de Ribaucourt
I'm adding this series back into my branch, we will see how often the
test fails. This mean I will probably open a bug report to track the
corresponding test failures.
I understand the bug is not introduced by this series, but the increased
failure rate it will trigger might quickly become painful.
Adrian, do you have any clue about how complex this will be to fix? Any
other opinion?
Thanks,
Mathieu
--
Mathieu Dubois-Briand, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
next prev parent reply other threads:[~2026-11-22 11:45 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-09 13:44 [PATCH v2 00/18] devtool: ide-sdk: add support for Rust recipes Enguerrand de Ribaucourt
2026-11-09 13:44 ` [PATCH v2 01/18] cargo-example: add minimal selftest fixture Enguerrand de Ribaucourt
2026-11-09 13:44 ` [PATCH v2 02/18] devtool: ide-sdk: capture Cargo cross environment Enguerrand de Ribaucourt
2026-11-09 13:44 ` [PATCH v2 03/18] devtool: ide-sdk: export recipe Cargo configuration Enguerrand de Ribaucourt
2026-11-09 13:44 ` [PATCH v2 04/18] oeqa/selftest: verify Cargo config serialization Enguerrand de Ribaucourt
2026-11-09 13:44 ` [PATCH v2 05/18] devtool: ide-sdk: recommend Rust Analyzer for Cargo Enguerrand de Ribaucourt
2026-11-09 13:44 ` [PATCH v2 06/18] devtool: ide-sdk: configure " Enguerrand de Ribaucourt
2026-11-09 13:44 ` [PATCH v2 07/18] devtool: ide-sdk: generalize binary install task name Enguerrand de Ribaucourt
2026-11-09 13:44 ` [PATCH v2 08/18] devtool: ide-sdk: extract install task definition Enguerrand de Ribaucourt
2026-11-09 13:44 ` [PATCH v2 09/18] devtool: ide-sdk: order install after optional build task Enguerrand de Ribaucourt
2026-11-09 13:44 ` [PATCH v2 10/18] devtool: ide-sdk: add Cargo " Enguerrand de Ribaucourt
2026-11-09 13:44 ` [PATCH v2 11/18] devtool: ide-sdk: enforce LLDB for Cargo Enguerrand de Ribaucourt
2026-11-09 13:44 ` [PATCH v2 12/18] devtool: ide-sdk: remap Cargo sources for BitBake builds Enguerrand de Ribaucourt
2026-11-09 14:08 ` Patchtest results for " patchtest
2026-11-09 13:44 ` [PATCH v2 13/18] devtool: ide-sdk: map Cargo workspace sources for LLDB Enguerrand de Ribaucourt
2026-11-09 13:44 ` [PATCH v2 14/18] devtool: ide-sdk: map libstd-rs sources to Rust SDK Enguerrand de Ribaucourt
2026-11-09 13:44 ` [PATCH v2 15/18] oeqa/selftest: share source breakpoint lookup Enguerrand de Ribaucourt
2026-11-09 13:44 ` [PATCH v2 16/18] oeqa/selftest: run IDE tasks with configured environment Enguerrand de Ribaucourt
2026-11-09 13:44 ` [PATCH v2 17/18] oeqa/selftest: debug Cargo example over QEMU slirp Enguerrand de Ribaucourt
2026-11-09 13:44 ` [PATCH v2 18/18] oeqa/selftest: verify Cargo rebuild and redeploy Enguerrand de Ribaucourt
2026-11-10 12:25 ` [OE-core] [PATCH v2 00/18] devtool: ide-sdk: add support for Rust recipes Mathieu Dubois-Briand
2026-11-11 6:46 ` Adrian Freihofer
2026-11-20 17:09 ` Enguerrand de Ribaucourt
2026-11-22 11:44 ` Mathieu Dubois-Briand [this message]
2026-11-23 13:38 ` Mathieu Dubois-Briand
[not found] ` <18EAB0361F0B4C03.1542659@lists.openembedded.org>
2026-11-30 14:49 ` Mathieu Dubois-Briand
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=DN1PPP14OJFU.2WACOJI87M8F5@bootlin.com \
--to=mathieu.dubois-briand@bootlin.com \
--cc=adrian.freihofer@gmail.com \
--cc=adrian.freihofer@siemens.com \
--cc=enguerrand.de-ribaucourt@savoirfairelinux.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox