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

ci: buildspec for qemu ktls test #4175

Merged
merged 2 commits into from
Sep 5, 2023
Merged

ci: buildspec for qemu ktls test #4175

merged 2 commits into from
Sep 5, 2023

Conversation

dougch
Copy link
Contributor

@dougch dougch commented Aug 29, 2023

Resolved issues:

partial for #3711 3711

Description of changes:

First draft at a ktls unit test, using an AL2 image running with qemu.

Call-outs:

There are multiple places for optimization, this is MVP.

  • rsync is copying too much into the vm
  • this is only running the inet_socket_test (full test run breaks on PQ)
  • no kvm available on CodeBuild

Testing:

How is this change tested (unit tests, fuzz tests, etc.)? local and ad-hoc CodeBuild job

Is this a refactor change? no

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@github-actions github-actions bot added the s2n-core team label Aug 29, 2023
@dougch dougch requested review from toidiu and lrstewart August 29, 2023 21:58
Comment on lines 4 to 5
build-list:
- identifier: UnitQEMUkTLS
Copy link
Contributor

Choose a reason for hiding this comment

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

We're minimally also going to need ASAN. Is that doable with this structure?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

it's just a label, but it could be more generic

Copy link
Contributor

Choose a reason for hiding this comment

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

I wasn't commenting on the name so much as how well this could be extended to other builds, particularly ASAN.

@dougch dougch force-pushed the ktls_buildspec branch 4 times, most recently from bc16f9e to 158d2fc Compare August 29, 2023 23:19
@dougch dougch requested a review from lrstewart August 30, 2023 00:01
nix/shell.sh Outdated Show resolved Hide resolved
@lrstewart lrstewart requested review from maddeleine and removed request for toidiu August 30, 2023 17:22
@dougch
Copy link
Contributor Author

dougch commented Aug 31, 2023

Runtime for a full unit test pass came in at 30 minutes codebuild

@dougch dougch requested a review from lrstewart August 31, 2023 21:13
@dougch dougch force-pushed the ktls_buildspec branch 2 times, most recently from fa6677f to a148f78 Compare August 31, 2023 21:32
@dougch dougch enabled auto-merge (squash) September 5, 2023 16:14
@dougch dougch merged commit 406013b into aws:main Sep 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants