tarpaulin: fails on travis with ASLR disable failed: EPERM
0.42s$ bash <(curl https://raw.githubusercontent.com/xd009642/tarpaulin/master/travis-install.sh)
cargo-tarpaulin
after_success.2
178.59s$ cargo tarpaulin --out Xml &&
bash <(curl -s https://codecov.io/bash)
Building project
Launching test
ASLR disable failed: EPERM: Operation not permitted
thread 'main' panicked at 'Failed to trace: Sys(EPERM)', /checkout/src/libcore/result.rs:906:4
note: Run with `RUST_BACKTRACE=1` for a backtrace.
Unexpected grab
Error while collecting coverage. EPERM: Operation not permitted
Coverage Results
#
# Omitted
#
0.00% coverage, 0/302 lines covered
Tarpaulin finished
Travis log: https://travis-ci.org/swc-project/swc/builds/328637807#L2967
I use nightly
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Reactions: 1
- Comments: 20 (9 by maintainers)
Commits related to this issue
- Merge #12 12: Use sudo inside travis r=kdy1 a=kdy1 See https://github.com/xd009642/tarpaulin/issues/77#issuecomment-357495278 — committed to swc-project/swc by bors[bot] 6 years ago
- Update README.md Added `sudo: required` following #77 — committed to xd009642/tarpaulin by xd009642 6 years ago
- travis: Require sudo to fix cargo-tarpaulin See xd009642/tarpaulin#77 — committed to robinst/linkify by robinst 6 years ago
- Fix cargo-tarpaulin on travis https://github.com/xd009642/tarpaulin/issues/77 — committed to rfdonnelly/rvs by rfdonnelly 6 years ago
- work around xd009642/tarpaulin#77 & travis-ci/travis-ci#9061 — committed to jonhoo/faktory-rs by jonhoo 6 years ago
- work around xd009642/tarpaulin#77 & travis-ci/travis-ci#9061 — committed to jonhoo/msql-srv by jonhoo 6 years ago
- travis: Require sudo to fix cargo-tarpaulin See xd009642/tarpaulin#77 — committed to trishume/syntect by robinst 6 years ago
- Require sudo privileges for travis This solves an issue when running code coverage: https://github.com/xd009642/tarpaulin/issues/77 — committed to mklein994/dynamic_wallpaper by mklein994 6 years ago
I ended up using the following CircleCI configuration for textwrap:
This way only the
cargo tarpaulin
step is run in the Docker container and the whole pipeline takes about 2-3 minutes on my textwrap project.@Marwes My understanding is that there is no solution for Travis that does not require sudo.