I’m using CircleCI to generate coverage reports for some Rust projects. This used to work really well: the coverage tool, Tarpaulin, comes as a
xd009642/tarpaulin docker image and all I needed to make it run was
version: 2 jobs: build: docker: - image: xd009642/tarpaulin steps: - checkout - run: name: Generate coverage report command: cargo tarpaulin --out Xml --all-features
Beautiful! Easy to set up and the container ran with lightning speed.
However, recently I’m seeing the builds fail with
[ERROR tarpaulin] Failed to run tests! Error: ASLR disable failed: EPERM: Operation not permitted
You’ll find the builds under https://circleci.com/gh/mgeisler/textwrap:
- Build 53: worked on 2019-04-25
- Build 54: failed on 2019-05-04
Does anybody know what changed between last week and today?
Tarpaulin tells people to avoid running tests in containers on TravisCI, to avoid this issue: https://github.com/xd009642/tarpaulin/issues/77. Is there anything similar I can do for CircleCI?
Thanks in advance for any tips!