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

Some Rust tests fail #60

Open
dloghin opened this issue Sep 3, 2024 · 0 comments
Open

Some Rust tests fail #60

dloghin opened this issue Sep 3, 2024 · 0 comments
Assignees

Comments

@dloghin
Copy link
Collaborator

dloghin commented Sep 3, 2024

Some tests from ./run_rust_tests.sh fail. Example:

Run: cargo test --features=gl64 --test ntt -- test_ntt_gl64_consistency_with_plonky2 --exact --nocapture
Output:

   Compiling cryptography_cuda v0.1.0 (/home/ubuntu/git/cryptography_cuda)
    Finished `test` profile [unoptimized + debuginfo] target(s) in 5.17s
     Running tests/ntt.rs (target/debug/deps/ntt-d696ceb1cc038ea2)

running 1 test
type0, coset_ext_pow: 0
type0, coset_ext_pow: 0
type0, coset_ext_pow: 0
thread 'test_ntt_gl64_consistency_with_plonky2' panicked at tests/ntt.rs:75:9:
assertion `left == right` failed
  left: [7925047125991060539, 13219133059840474081, 5413130461198108588, 13723798841978401217, 10800859561699942291, 14225086993387528330, 18189244223823711628, 12720479968255546429]
 right: [7925047125991060539, 14225086993387528330, 5413130461198108588, 12720479968255546429, 10800859561699942291, 13219133059840474081, 18189244223823711628, 13723798841978401217]
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
test test_ntt_gl64_consistency_with_plonky2 ... FAILED

failures:

failures:
    test_ntt_gl64_consistency_with_plonky2

test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 13 filtered out; finished in 0.20s

error: test failed, to rerun pass `--test ntt`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants