On Wed Nov 12, 2025 at 4:57 PM CET, Andreas Stergiopoulos via
lists.openembedded.org wrote:
> This commit takes the installation paths collected during package
> installation and
> sets them up as environment variables in the run-ptest script. This is
> necessary as
> the integration tests require the executable binary to run successfully.
>
> The paths collected are not those of the artifacts created during cargo test,
> but the
> paths where the artifacts in the system. The intention for this choice was to
> ensure
> that the tested binaries are those who are actually executed by the user and
> vice
> versa.
>
> Env has been used instead of export, as export explicitly does not support
> dashes "-"
> when setting up environment variables. The execution environment is set up
> inside the
> function exec_in_env. For every binary executable artifact collected, one
> environment
> variable is added irregardles of whether it is needed or not.
>
> Signed-off-by: Andreas Stergiopoulos <[email protected]>
> ---
Hi Andreas,
Thanks for your patch.
It looks like this is breaking some ptests:
AssertionError:
Failed ptests:
{'rpm-sequoia': ['/usr/lib/rpm-sequoia/ptest/symbols-4b3369365cdc8879']}
https://autobuilder.yoctoproject.org/valkyrie/#/builders/73/builds/2612
https://autobuilder.yoctoproject.org/valkyrie/#/builders/56/builds/732
Ptest logs can be found here:
https://valkyrie.yocto.io/pub/non-release/20251113-72/testresults/qemux86-64-ptest/core-image-ptest-rpm-sequoia/
https://valkyrie.yocto.io/pub/non-release/20251113-72/testresults/qemuriscv64-ptest/core-image-ptest-rpm-sequoia/
Can you have a look at these?
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 (#226252):
https://lists.openembedded.org/g/openembedded-core/message/226252
Mute This Topic: https://lists.openembedded.org/mt/116258400/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-