Bug 16460 - AB-INT: test_rust: panic in c_str_alloc_error.rs
Summary: AB-INT: test_rust: panic in c_str_alloc_error.rs
Status: NEW
Alias: None
Product: Functional (self) Testing
Classification: QA/Testing
Component: oe-selftest (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Undecided normal
Target Milestone: ---
Assignee: Unassigned
QA Contact:
URL:
Whiteboard: AB-INT
Depends on:
Blocks:
 
Reported: 2026-10-19 07:29 UTC by Mathieu Dubois-Briand
Modified: 2026-10-19 07:36 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mathieu Dubois-Briand 2026-10-19 07:29:55 UTC
> 2026-10-17 12:22:22,929 - oe-selftest - INFO - rust.RustSelfTestSystemEmulated.test_rust (subunit.RemotedTestCase)
> 2026-10-17 12:22:22,941 - oe-selftest - INFO -  ... FAIL
> ...
> AssertionError: Command 'export TARGET_VENDOR="-poky"; export OPENSSL_DIR=/srv/pokybuild/yocto-worker/qemuarm64-tc/build/build-st-265543/tmp/work/qemuarm64-poky-linux/core-image-minimal/1.0/recipe-sysroot-native/usr; export PATH=/srv/pokybuild/yocto-worker/qemuarm64-tc/build/build-st-265543/tmp/work/cortexa57-poky-linux/rust/1.99.0/recipe-sysroot-native/usr/bin/python3-native:/srv/pokybuild/yocto-worker/qemuarm64-tc/build/build-st-265543/tmp/work/cortexa57-poky-linux/rust/1.99.0/recipe-sysroot-native/usr/bin:/srv/pokybuild/yocto-worker/qemuarm64-tc/build/build-st-265543/tmp/work/cortexa57-poky-linux/rust/1.99.0/recipe-sysroot-native/usr/bin/aarch64-poky-linux:/srv/pokybuild/yocto-worker/qemuarm64-tc/build/build-st-265543/tmp/hosttools:$PATH; export RUST_TARGET_PATH=/srv/pokybuild/yocto-worker/qemuarm64-tc/build/build-st-265543/tmp/work/cortexa57-poky-linux/rust/1.99.0/rust-targets; export RUSTFLAGS='-C strip=debuginfo -Clink-arg=-lz -Clink-arg=-lzstd'; export TEST_DEVICE_ADDR="192.168.7.8:12345"; cd /srv/pokybuild/yocto-worker/qemuarm64-tc/build/build-st-265543/tmp/work-shared/rust-source-1.99.0-r0/sources/rustc-1.99.0-src; python3 src/bootstrap/bootstrap.py --build-dir /srv/pokybuild/yocto-worker/qemuarm64-tc/build/build-st-265543/tmp/work/cortexa57-poky-linux/rust/1.99.0/build/rust-build --config /srv/pokybuild/yocto-worker/qemuarm64-tc/build/build-st-265543/tmp/work/cortexa57-poky-linux/rust/1.99.0/build/config.toml test  --exclude src/bootstrap  --exclude src/doc/rustc  --exclude src/doc/rustdoc  --exclude src/doc/unstable-book  --exclude src/etc/test-float-parse  --exclude src/librustdoc  --exclude src/rustdoc-json-types  --exclude src/tools/coverage-dump  --exclude src/tools/jsondoclint  --exclude src/tools/lint-docs  --exclude src/tools/remote-test-client  --exclude src/tools/replace-version-placeholder  --exclude src/tools/rust-analyzer  --exclude src/tools/rustdoc-themes  --exclude src/tools/rust-installer  --exclude src/tools/test-float-parse  --exclude src/tools/tier-check  --exclude src/tools/suggest-tests  --exclude src/tools/tidy  --exclude tests/assembly-llvm/asm/aarch64-outline-atomics.rs  --exclude tests/assembly-llvm/c-variadic/arm.rs  --exclude tests/assembly-llvm/x86_64-windows-float-abi.rs  --exclude tests/codegen-llvm/thread-local.rs  --exclude tests/mir-opt/  --exclude tests/run-make  --exclude tests/run-make-fulldeps  --exclude tests/rustdoc  --exclude tests/rustdoc-json  --exclude tests/rustdoc-js-std  --exclude tests/ui/abi/stack-probes-lto.rs  --exclude tests/ui/abi/stack-probes.rs  --exclude tests/ui/codegen/huge-stacks.rs  --exclude tests/ui/codegen/mismatched-data-layouts.rs  --exclude tests/codegen-llvm/rust-abi-arch-specific-adjustment.rs  --exclude tests/ui/debuginfo/debuginfo-emit-llvm-ir-and-split-debuginfo.rs  --exclude tests/ui/feature-gates/version_check.rs  --exclude tests/ui-fulldeps/  --exclude tests/ui/process/nofile-limit.rs  --exclude tidyselftest --no-doc --no-fail-fast --bless --skip src/librustdoc --skip src/tools/rustdoc --target aarch64-poky-linux-gnu' returned non-zero exit status 1:
> ...
> thread 'main' (3904) panicked at /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/alloctests/tests/c_str_alloc_error.rs:55:30:
> alloc error
> note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
> error: test failed, to rerun pass `-p alloctests --test c_str_alloc_error`
>      Running tests/vec_deque_alloc_error.rs (/srv/pokybuild/yocto-worker/qemuarm64-tc/build/build-st-265543/tmp/work/cortexa57-poky-linux/rust/1.99.0/build/rust-build/x86_64-unknown-linux-gnu/stage2-std/aarch64-poky-linux-gnu/dist/build/alloctests/d1924329daf9537f/out/vec_deque_alloc_error-d1924329daf9537f)
> uploaded "/srv/pokybuild/yocto-worker/qemuarm64-tc/build/build-st-265543/tmp/work/cortexa57-poky-linux/rust/1.99.0/build/rust-build/x86_64-unknown-linux-gnu/stage2-std/aarch64-poky-linux-gnu/dist/build/alloctests/d1924329daf9537f/out/vec_deque_alloc_error-d1924329daf9537f", waiting for result

Logs are gone already.
Comment 1 Mathieu Dubois-Briand 2026-10-19 07:36:02 UTC
qemuarm64-tc debian12-vk-9 mathieu/master-next completed at 2026-10-17 13:37:53+00:00
https://valkyrie.yocto.io/pub/non-release/20261017-66/testresults/qemuarm64-tc/
https://autobuilder.yoctoproject.org/valkyrie/#/builders/5/builds/4812/steps/15/logs/stdio