oasisprotocol / oasis-core

Performant and Confidentiality-Preserving Smart Contracts + Blockchains
https://oasisprotocol.org
Apache License 2.0
336 stars 111 forks source link

Rust tests fail under tarpaulin #989

Open willscott opened 6 years ago

willscott commented 6 years ago

Relevant section of most recent CI log appears to be:

Processing ekiden-storage-batch
Launching test
running /root/project/target/debug/deps/ekiden_storage_batch-d66081ef95292753

running 1 test
test backend::test::test_batch ... ok

test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out

Error occurred when handling ptrace event: ESRCH: No such process
Processing ekiden-enclave-common
Launching test
running /root/project/target/debug/deps/ekiden_enclave_common-460abce2f57fcf07
Unexpected signal when starting test

running 2 tests
test quote::tests::test_pem_parse_many ... ok
test quote::tests::test_validate_avr_signature ... ok

test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out

so it's likely either the enclave_common or the storage_batch test that should be excluded or debugged in this context

ryscheng-mobile commented 5 years ago

@peterjgilbert this is ready to close right? Looks like you got it working?

peterjgilbert commented 5 years ago

This error is still happening on CI, e.g., https://circleci.com/gh/oasislabs/ekiden/7970. It appears to occur randomly during the run and to not be associated with any particular test or package. I cannot reproduce when running tarpaulin locally.

However the error does not appear to affect the outcome of any tests (they all pass), and coverage results are still reported to coveralls.