-
Notifications
You must be signed in to change notification settings - Fork 13
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
panic in main #1
Comments
Full backtrace indicates https://github.com/rustation/cargo-test-junit/blob/master/src/main.rs#L43
|
So, I switched the build to use cargo directly in the jenkins slave, but I am sometimes getting this error, and sometimes not.
|
Hi, If I remember correctly, there is something in the raw test output that is non-deterministic. When that occurs the parser fails to handle it. If you can paste your raw output for a few runs, I can try updating the parser. |
And yeah, given we don't have useful output when formatting as JSON (and I needed Junit reporting), the current option was to parse the raw output. Ultimately, having useful output in other formats would obviate this repo. |
I see the same:
How would I acquire the "raw test output"? Do you log that into some file? |
In case you mean the output of
Lots of these. They are a result of rust-lang/rust-bindgen#442, which has been fixed in Rust 1.17.0, but I do try to test my code with older versions, too. |
P.S. The list of tests seems to start at |
@devurandom, yes. if you could paste the full stdout of |
I can't explain it, but thought I'd post an issue in case this is something you'd come across before.
cargo test-junit
fails with a panic when I run it as part of a build step in a docker container.Any ideas?
The text was updated successfully, but these errors were encountered: