Skip to content

[kmac,sival] Enable KMAC error conditions test to partially run on CW310 #25180

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

Merged
merged 1 commit into from
Nov 19, 2024

Conversation

AlexJones0
Copy link
Contributor

This PR enables the kmac_error_conditions_test (added in #24765) in the CW310 FPGA execution environment, conditionally disabling the first three tests when running in this environment.

As mentioned in the code and in that PR, the CW310 lacks the masking features for these tests to run, but there is still value in running the remaining 7 tests in a CW310 environment. CI prioritisation now also prioritises CW340 over CW310 (#24947), meaning that the full set of tests will still be running in CI as usual.

This has been tested to run on a CW310 locally for 10 iterations: ./bazelisk.sh test -t- --test_output=streamed --runs_per_test=10 //sw/device/tests:kmac_error_conditions_test_fpga_cw310_sival

@nasahlpa

@AlexJones0 AlexJones0 requested a review from a team as a code owner November 18, 2024 11:11
@AlexJones0 AlexJones0 requested review from alees24, nasahlpa, engdoreis and vogelpi and removed request for a team and alees24 November 18, 2024 11:11
@AlexJones0 AlexJones0 added the CherryPick:earlgrey_1.0.0 This PR should be cherry-picked to earlgrey_1.0.0 label Nov 18, 2024
Copy link
Member

@nasahlpa nasahlpa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the offline discussion @AlexJones0!
LGTM.

@AlexJones0 AlexJones0 changed the title Enable KMAC error conditions test to partially run on CW310 [kmac,sival] Enable KMAC error conditions test to partially run on CW310 Nov 18, 2024
This commit enables the KMAC error conditions test in the CW310 FPGA
execution environment, conditionally disabling the first three tests
when running in this environment - the CW310 lacks the masking features
for these tests to run, but there is still value in running the
remaining 7 tests in a CW310 environment. CI prioritisation now also
prioritises CW340 over CW310, meaning that the full set of tests will
still be running in CI as usual - this just helps provide more
thorough testing.

Signed-off-by: Alex Jones <[email protected]>
@AlexJones0 AlexJones0 force-pushed the kmac_error_test_cw310 branch from 84a0466 to 6718155 Compare November 18, 2024 17:40
@nasahlpa nasahlpa merged commit 0680913 into lowRISC:master Nov 19, 2024
45 checks passed
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CherryPick:earlgrey_1.0.0 This PR should be cherry-picked to earlgrey_1.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants