-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add code coverage to CI #29
Comments
@gussmith23 |
@gussmith23
But the build phase, it' occurred the build failure with following the messasges. Now I'm not sure how to resolve these errors.
It said that
|
I think this runs the first command (rustup default nightly) in the container, but the second not in the container! at least that's my guess; I suspect that the docker command is not getting anything after the &&. |
excited to have help on this by the way! thanks so much! |
@gussmith23
|
This doesn't work for you? It works for me. docker run -e CARGO_INCREMENTAL=0 -e RUSTFLAGS="-Zprofile -Ccodegen-units=1 -Copt-level=0 -Clink-dead-code -Coverflow-checks=off -Zpanic_abort_tests -Cpanic=abort" -e RUSTDOCFLAGS="-Cpanic=abort" -it glenside /bin/bash -c "rustup default nightly && cargo build" |
I attempted your docket command, but it ‘s same failure. it seems that
|
Also have you pulled recently? there was a lot of flux on the docker file
in the past day or so, but now it's mostly stable. you might try a clean
clone.
…On Fri, Oct 2, 2020, 5:30 AM Y.Horie ***@***.***> wrote:
@gussmith23 <https://github.com/gussmith23>
I attempted your docket command, but it ‘s same failure. it seems that
tvm-macro build failure.
as follow:
docker run -e CARGO_INCREMENTAL=0 -e RUSTFLAGS="-Zprofile -Ccodegen-units=1 -Copt-level=0 -Clink-dead-code -Coverflow-checks=off -Zpanic_abort_tests -Cpanic=abort" -e RUSTDOCFLAGS="-Cpanic=abort" -it glenside /bin/bash -c "rustup default nightly && cargo build"
info: syncing channel updates for 'nightly-x86_64-unknown-linux-gnu'
info: latest update on 2020-10-02, rust version 1.48.0-nightly (8fe73e80d 2020-10-01)
info: downloading component 'cargo'
info: downloading component 'clippy'
info: downloading component 'rust-docs'
13.3 MiB / 13.3 MiB (100 %) 11.4 MiB/s in 1s ETA: 0s
info: downloading component 'rust-std'
21.9 MiB / 21.9 MiB (100 %) 11.4 MiB/s in 2s ETA: 0s
info: downloading component 'rustc'
54.8 MiB / 54.8 MiB (100 %) 11.4 MiB/s in 5s ETA: 0s
info: downloading component 'rustfmt'
info: installing component 'cargo'
info: Defaulting to 500.0 MiB unpack ram
info: installing component 'clippy'
info: installing component 'rust-docs'
13.3 MiB / 13.3 MiB (100 %) 6.6 MiB/s in 2s ETA: 0s
info: installing component 'rust-std'
21.9 MiB / 21.9 MiB (100 %) 10.2 MiB/s in 2s ETA: 0s
info: installing component 'rustc'
54.8 MiB / 54.8 MiB (100 %) 10.9 MiB/s in 5s ETA: 0s
info: installing component 'rustfmt'
info: default toolchain set to 'nightly-x86_64-unknown-linux-gnu'
nightly-x86_64-unknown-linux-gnu installed - rustc 1.48.0-nightly (8fe73e80d 2020-10-01)
Updating crates.io index
...
Compiling zip v0.5.8
Compiling goblin v0.2.3
Compiling tvm-sys v0.1.0 (https://github.com/mwillsey/incubator-tvm?rev=3b6edf9ec0b6b3ab6a91174e7e2aa321cd8ec9b2#3b6edf9e)
Compiling env_logger v0.3.5
Compiling ndarray-rand v0.11.0
Compiling ndarray-npy v0.6.0
Compiling test-logger v0.1.0
Compiling tvm-macros v0.1.1 (https://github.com/mwillsey/incubator-tvm?rev=3b6edf9ec0b6b3ab6a91174e7e2aa321cd8ec9b2#3b6edf9e)
error: failed to run custom build command for `tvm-sys v0.1.0 (https://github.com/mwillsey/incubator-tvm?rev=3b6edf9ec0b6b3ab6a91174e7e2aa321cd8ec9b2#3b6edf9e)` <https://github.com/mwillsey/incubator-tvm?rev=3b6edf9ec0b6b3ab6a91174e7e2aa321cd8ec9b2#3b6edf9e)>
Caused by:
process didn't exit successfully: `/root/glenside/target/debug/build/tvm-sys-86087355e93fe9d9/build-script-build` (signal: 6, SIGABRT: process abort signal)
--- stdout
cargo:rerun-if-env-changed=TVM_HOME
cargo:rustc-link-lib=dylib=tvm
cargo:rustc-link-search=/root/tvm/build
warning: build failed, waiting for other jobs to finish...
error: build failed
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#29 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAJFZAJXGFPCEQY5LBDRNG3SIXBWTANCNFSM4R7K5XTQ>
.
|
I attempted check in new origin/HEAD which commit id is |
That's correct! Another dumb question, but are you rerunning the Docker build? You may need to rerun it from scratch without caching:
The error you're getting is different now...a sigabrt. that's a little concerning... not sure what's going on! What OS are you running? I know this works on Mac and Linux at least, but no idea about windows! Do you have enough free space on your machine? Things can act up when you're running out of space: try running docker container prune and docker image prune. |
@gussmith23 This is my localhost configurations
|
Yeah, that should be fine! I'm really scratching my head at this one. My next debugging step would be to build this without the Docker. I suggest following the steps in the Dockerfile on your own machine. Install LLVM if you don't have it, clone and build the specific branch of TVM, and then try building Glenside. I'm sorry this is such a hassle. I'm utterly perplexed by the SIGABRT coming out of the TVM Rust build script. CC @mwillsey @jroesch as people who work on the Rust bindings. Maybe they might know where the error's coming from... |
Btw, you could also make this easier on yourself by using the |
No description provided.
The text was updated successfully, but these errors were encountered: