-
Notifications
You must be signed in to change notification settings - Fork 496
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
Picnic constant time tests fail #1118
Comments
I'm having trouble running the constant time tests on my WSL install; all tests are failing due to missing components in my linux distro. Anyway, I created an ubuntu VM to test this. I've build (following Michael's guidance) using:
And tested with
I didn't see any errors, all I get is little 's', which I assume means skipped. I'm not sure how to repro the CI results (I also tried using the default and haswell (like in the failing CI test) Can the existing picnic exceptions conflict with this new commit? |
The "little s"s leave me puzzled: When I run the command, my machine goes to 100% running
Which errors are you getting? This also sounds like some prerequisites are missing. This command works for me. |
You need to update the line numbers here: liboqs/tests/constant_time/sig/passes/picnic3 Lines 38 to 106 in 468533a
according to how things changed here: For instance the first use of |
Thanks for the pointer @jschanck. Regarding my script errors, @baentsch, yes I have valgrind. I think the errors were due to a wrong invocation; looking at the circleci yaml file, when I invoke the tests like this (is this correct?):
the tool runs but skips all the tests. |
How can I figure out why the tests are skipped? I'd like to be able to run them before playing around with the exclusion files. |
Are you building liboqs in a subdirectory other than Also check the contents of |
Yes.
They are set. Puzzling... |
Right, so I think the problem is building in a subdirectory other than |
Alternatively, |
Sorry, I meant no! (yes, I'm using |
:) Are you using your own VM or a Docker image? I was running inside an OQS Docker image:
|
I'm running in an Azure ubuntu VM. I'll try docker... |
Could it be this, i.e., your |
I found the issue; needed to install a debug lib to allow valgrind to work in my WSL distro. Anyway, I can run the constant time tests now, and I'm only building the picnic algs (with the OQS_MINIMAL_BUILD build option). The test fails on the non-enabled ciphers (vs. skipping them), which doesn't seem like the desired behavior (and spits out an annoying large amount of data); I'll look into that as well. |
Weekly run still/again failing |
I fixed it for |
I wouldn't know how to trigger that remotely without changing |
I was able to repro the error on my machine with the right cmake config, and this PR fixes it locally; so it should be ok until the next weekly test. |
It seems that #1116 has caused the constant time tests to fail, see https://app.circleci.com/pipelines/github/open-quantum-safe/liboqs/1822/workflows/698260d6-a9f1-4ecc-8586-e24e3368014b/jobs/15792. @christianpaquin can you take a look?
The text was updated successfully, but these errors were encountered: