-
Notifications
You must be signed in to change notification settings - Fork 172
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
Improve AWS-LC tests #863
Improve AWS-LC tests #863
Conversation
I don't think these changes are correct. All test cases currently pass with AWS-LC |
Because aws-lc-latest is a rolling release. If the cache is enabled, CI just downloads and compiles only at once, then will never do again.
Added the `-DCMAKE_INSTALL_LIBDIR=lib` option to specify the library directory explicitly. While the CI AWS-LC case creates the "lib" directory without the option, I observed the `lib64` directory was created on my local environment. So, this change is useful to provide information to create a local environment.
b07f6aa
to
a72e513
Compare
I rebaesd the PR again. The 1st and 2nd commit are same. The 4th commit is to rename the tests a bit to reflect the fact. If we can pass the fips tests in AWS-LC What do you think? |
I'd prefer not to slow down our CI unless there's a real need. We can support it on a best-effort basis. There are so many different configurations that can break our test suite in different ways (latest being 6d0ea81 from 3 days ago), but we can't realistically test all. IMO this falls into this category. |
Merge 2 test_new_break tests to one test because it's easy to maintain the test.
a72e513
to
446ff3e
Compare
All right. That makes sense. I removed the previous 3rd commit about adding the AWS-LC FIPS case. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, thanks!
Thanks for your review! |
Cc: @samuel40791765
This PR is on top of another PR #862. So, please review the #862 first. Essentially 3 commits. This PR is to improve tests related to the AWS-LC non-FIPS case.
The 1st commit is to disable the cache for the AWS-LC case on CI. In the current logic of the cache key, we cannot enable the cache to get the latest version of the AWS-LC.
The 2nd commit is to specify the library directory as "lib" explicitly. The logic of compiling the AWS-LC is useful to see how to compile it. Because I saw the "lib64" directory was created without the
-DCMAKE_INSTALL_LIBDIR=lib
option on Fedora Linux 41.The 3rd commit is to remove meaningless
aws_lc?
. As I mentioned at #860 (comment), we can safely use the methodomit_on_fips
andomit_on_non_fips
in AWS-LC cases. If theaws_lc?
exists in thetest_new_break_on_non_fips
test to run on the AWS-LC FIPS case, that confuses me. I don't want to do it.