<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>16460</bug_id>
          
          <creation_ts>2026-10-19 07:29:55 +0000</creation_ts>
          <short_desc>AB-INT: test_rust: panic in c_str_alloc_error.rs</short_desc>
          <delta_ts>2026-10-19 07:36:02 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>QA/Testing</classification>
          <product>Functional (self) Testing</product>
          <component>oe-selftest</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>AB-INT</status_whiteboard>
          <keywords></keywords>
          <priority>Undecided</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Mathieu Dubois-Briand">mathieu.dubois-briand</reporter>
          <assigned_to name="Unassigned">unassigned</assigned_to>
          
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>107106</commentid>
    <comment_count>0</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2026-10-19 07:29:55 +0000</bug_when>
    <thetext>&gt; 2026-10-17 12:22:22,929 - oe-selftest - INFO - rust.RustSelfTestSystemEmulated.test_rust (subunit.RemotedTestCase)
&gt; 2026-10-17 12:22:22,941 - oe-selftest - INFO -  ... FAIL
&gt; ...
&gt; AssertionError: Command &apos;export TARGET_VENDOR=&quot;-poky&quot;; 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=&apos;-C strip=debuginfo -Clink-arg=-lz -Clink-arg=-lzstd&apos;; export TEST_DEVICE_ADDR=&quot;192.168.7.8:12345&quot;; 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&apos; returned non-zero exit status 1:
&gt; ...
&gt; thread &apos;main&apos; (3904) panicked at /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/alloctests/tests/c_str_alloc_error.rs:55:30:
&gt; alloc error
&gt; note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
&gt; error: test failed, to rerun pass `-p alloctests --test c_str_alloc_error`
&gt;      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)
&gt; uploaded &quot;/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&quot;, waiting for result

Logs are gone already.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>107107</commentid>
    <comment_count>1</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2026-10-19 07:36:02 +0000</bug_when>
    <thetext>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</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>