-
Notifications
You must be signed in to change notification settings - Fork 53
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
bug: Test failure on test_all #2304
Comments
I've observed similar error on my local. |
How verbose are the logs? trace perhaps? |
This doesn't happen in the CI because on the CI we don't run the tests using |
that seems an onchain rln thing, that requires an ethereum node running. Unsure how the tests are being run, but I doubt you have that node? |
LogsHere isolated logs from the test case on the two scenarios: |
I've done nothing other than run the binaries, but as I mentioned earlier, when running As far as I'm seeing, the difference is notable early on. The peer dialing doesn't seem to work in the first scenario, but it does on the second. I wonder if it could be a bleeding effect from an improper cleanup. |
@AlejandroCabeza can you please confirm if this is still happening? We saw something similar get fixed with #2690 but not sure it will affect this case |
I don't see that test failing anymore. However, there's one failing test: nwaku/tests/waku_rln_relay/test_waku_rln_relay.nim Lines 280 to 288 in c5d19c4
Apparently nwaku/waku/waku_rln_relay/rln/wrappers.nim Line 547 in c5d19c4
@rymnc can you please check if it also happens to you? If so, should we change the test to expect an error? |
what version of librln do you have? it should not error. please note that it was patched and librln 0.3.7 is the latest for rln-v1. |
Oh it was that, I was using Apologies and thanks so much! |
Running
Closing the issue. Please reopen in case someone still gets failures |
Draft: Trying to investigate what triggers this issue.
Problem
When running all the tests with the
tests/test_all
file, the'WakuNode2 - Validators::Spam protected topic accepts signed messages'
test fails.This doesn't happen when running the tests specifying the test name (
nim c --passL:librln_v0.3.4.a --passL:-lm -r tests/test_all 'WakuNode2 - Validators::Spam protected topic accepts signed messages'
) or when just running the binary of the file where the test is defined.Impact
Low?
To reproduce
nim c --passL:librln_v0.3.4.a --passL:-lm -r tests/test_all
Screenshots/logs
nwaku version/commit hash
The text was updated successfully, but these errors were encountered: