Skip to content
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

cargo test fails #874

Open
zookoatshieldedlabs opened this issue Feb 26, 2025 · 1 comment · May be fixed by #875
Open

cargo test fails #874

zookoatshieldedlabs opened this issue Feb 26, 2025 · 1 comment · May be fixed by #875
Labels
documentation Improvements or additions to documentation

Comments

@zookoatshieldedlabs
Copy link

I did a git clone:

git clone https://github.com/informalsystems/malachite

cd'ed into code

and ran cargo test

result:

running 2 tests
test tests::streaming::test_mbt_part_streaming_specified_traces ... FAILED
test tests::streaming::test_mbt_part_streaming_random_traces ... FAILED

failures:

---- tests::streaming::test_mbt_part_streaming_specified_traces stdout ----
Using QUINT_SEED=118
/tmp/informalsystems-malachitebft-part-streamingLroez3
🪄 Generating test traces for "block-streaming/part_stream.qnt"...

thread 'tests::streaming::test_mbt_part_streaming_specified_traces' panicked at crates/starknet/test/mbt/src/utils.rs:18:10:
Failed to run quint test: Os { code: 2, kind: NotFound, message: "No such file or directory" }
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

---- tests::streaming::test_mbt_part_streaming_random_traces stdout ----
Using QUINT_SEED=118
/tmp/informalsystems-malachitebft-part-streamingutFaBt
🪄 Generating random traces for "block-streaming/part_stream.qnt"...

thread 'tests::streaming::test_mbt_part_streaming_random_traces' panicked at crates/starknet/test/mbt/src/utils.rs:47:10:
Failed to run quint test: Os { code: 2, kind: NotFound, message: "No such file or directory" }


failures:
    tests::streaming::test_mbt_part_streaming_random_traces
    tests::streaming::test_mbt_part_streaming_specified_traces

test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s

error: test failed, to rerun pass `-p informalsystems-malachitebft-starknet-test-mbt --lib`

expected result:

tests passed.

@github-actions github-actions bot added the need-triage This issue needs to be triaged label Feb 26, 2025
@romac romac linked a pull request Feb 26, 2025 that will close this issue
3 tasks
@romac
Copy link
Member

romac commented Feb 26, 2025

Sorry about that! I our test process is unfortunately a bit more involved than running cargo test, I've opened #875 with detailed information about how to build and run tests. Let me know if that helps!

@romac romac added documentation Improvements or additions to documentation and removed need-triage This issue needs to be triaged labels Feb 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants