Skip to content

Instantly share code, notes, and snippets.

@alexcrichton
Created June 9, 2020 20:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alexcrichton/6105e06f3387f3cd9f0eae3420e0cde6 to your computer and use it in GitHub Desktop.
Save alexcrichton/6105e06f3387f3cd9f0eae3420e0cde6 to your computer and use it in GitHub Desktop.
+ [ -z arm-unknown-linux-gnueabihf ]
+ run arm-unknown-linux-gnueabihf
+ docker build -t backtrace -f ci/docker/arm-unknown-linux-gnueabihf/Dockerfile ci
Sending build context to Docker daemon 32.26kB
Step 1/3 : FROM ubuntu:20.04
---> 1d622ef86b13
Step 2/3 : RUN apt-get update && apt-get install -y --no-install-recommends gcc ca-certificates libc6-dev gcc-arm-linux-gnueabihf libc6-dev-armhf-cross qemu-user
---> Using cache
---> 3b0e9e7b0675
Step 3/3 : ENV CARGO_TARGET_ARM_UNKNOWN_LINUX_GNUEABIHF_LINKER=arm-linux-gnueabihf-gcc CARGO_TARGET_ARM_UNKNOWN_LINUX_GNUEABIHF_RUNNER="qemu-arm -L /usr/arm-linux-gnueabihf"
---> Using cache
---> 451629dd2eeb
Successfully built 451629dd2eeb
Successfully tagged backtrace:latest
+ mkdir -p target
+ id -u
+ id -g
+ which cargo
+ dirname /home/alex/.cargo/bin/cargo
+ dirname /home/alex/.cargo/bin
+ rustc --print sysroot
+ pwd
+ pwd
+ docker run --user 1000:1000 --rm --init --volume /home/alex/.cargo:/cargo --env CARGO_HOME=/cargo --volume /home/alex/.rustup/toolchains/stable-x86_64-unknown-linux-gnu:/rust:ro --env TARGET=arm-unknown-linux-gnueabihf --volume /home/alex/code/backtrace-rs:/checkout:ro --volume /home/alex/code/backtrace-rs/target:/checkout/target --workdir /checkout --privileged backtrace bash -c PATH=$PATH:/rust/bin exec ci/run.sh
+ RUST_TEST_THREADS=1 cargo test --target arm-unknown-linux-gnueabihf --test smoke -- --nocapture
Finished test [unoptimized + debuginfo] target(s) in 0.02s
Running target/arm-unknown-linux-gnueabihf/debug/deps/smoke-10e38a2f0d8ebee1
running 3 tests
test many_threads ... ok
test smoke_test_frames ... symbol ip:0xffe9a950 address:0xffe9a950 name:smoke::smoke_test_frames::frame_4::hc85e98dee3b06640 file:/checkout/tests/smoke.rs lineno:18
symbol ip:0xffe9a908 address:0xffe9a908 name:smoke::smoke_test_frames::frame_3::h6d55155098f3e65e file:/checkout/tests/smoke.rs lineno:15
symbol ip:0xffe9a8ec address:0xffe9a8ec name:smoke::smoke_test_frames::frame_2::h98465abd29b4bfc6 file:/checkout/tests/smoke.rs lineno:14
symbol ip:0xffe9a8d0 address:0xffe9a8d0 name:smoke::smoke_test_frames::frame_1::hcd16b4600e849d0d file:/checkout/tests/smoke.rs lineno:13
symbol ip:0xffe9a8b4 address:0xffe9a8b4 name:smoke::smoke_test_frames::h4b3feb7e02233f3e file:/checkout/tests/smoke.rs lineno:12
ok
test sp_smoke_test ...
=== frame ===================================
name = _ZN9backtrace9backtrace9libunwind5trace17he04a1f50969a4bcaE
name = _ZN9backtrace9backtrace20trace_unsynchronized17h414525a2d0b36f54E
sp = 0x5
=== frame ===================================
name = _ZN9backtrace9backtrace5trace17h4bf49cef1db4e66fE
sp = 0x5
=== frame ===================================
name = _ZN5smoke13sp_smoke_test26recursive_stack_references17h6922757508a9c368E
sp = 0x5
ref = 0xffe8ccdc
=== frame ===================================
name = _ZN5smoke13sp_smoke_test26recursive_stack_references17h6922757508a9c368E
sp = 0x5
ref = 0xffe8cd84
thread 'main' panicked at 'assertion failed: sp >= child_ref', tests/smoke.rs:301:25
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
fatal runtime error: failed to initiate panic, error 9
error: test failed, to rerun pass '--test smoke'
Caused by:
process didn't exit successfully: `qemu-arm -L /usr/arm-linux-gnueabihf /checkout/target/arm-unknown-linux-gnueabihf/debug/deps/smoke-10e38a2f0d8ebee1 --nocapture` (signal: 6, SIGABRT: process abort signal)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment