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(bug-fix): use local registry for VZ/Rosetta tests #327

Merged
merged 9 commits into from
Apr 7, 2023

Conversation

pendo324
Copy link
Member

Issue #, if available: fixes #322

Description of changes:

  • Uses the local registry to run Virtualization framework and Rosetta suites

Testing done:

  • Local testing

  • I've reviewed the guidance in CONTRIBUTING.md

License Acceptance

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

Signed-off-by: Justin Alvarez <alvajus@amazon.com>
Signed-off-by: Justin Alvarez <alvajus@amazon.com>
Signed-off-by: Justin Alvarez <alvajus@amazon.com>
@pendo324
Copy link
Member Author

pendo324 commented Apr 6, 2023

Looks like there's one remaining issue of the http default server never being cleaned up, which causes a "duplicate handler for /" error.

pendo324 added a commit to runfinch/common-tests that referenced this pull request Apr 6, 2023
Issue #, if available: runfinch/finch#322,
specifically regarding this comment
runfinch/finch#327 (comment)

*Description of changes:*
- instantiate a new `NewServeMux` every time the test is run
- use the `SpecContext` context instead of the default background
context

*Testing done:*
- tested by using go.mod `replace ()` and running tests locally



- [x] I've reviewed the guidance in CONTRIBUTING.md


#### License Acceptance

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

Signed-off-by: Justin Alvarez <alvajus@amazon.com>
pendo324 added 2 commits April 6, 2023 15:42
Signed-off-by: Justin Alvarez <alvajus@amazon.com>
Signed-off-by: Justin Alvarez <alvajus@amazon.com>
@pendo324 pendo324 marked this pull request as ready for review April 6, 2023 20:54
Signed-off-by: Justin Alvarez <alvajus@amazon.com>
@pendo324 pendo324 requested a review from sam-berning April 6, 2023 23:30
Signed-off-by: Justin Alvarez <alvajus@amazon.com>
Copy link
Contributor

@sam-berning sam-berning left a comment

Choose a reason for hiding this comment

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

LGTM!

@pendo324
Copy link
Member Author

pendo324 commented Apr 7, 2023

Overriding merge, last test run just had a flaky compose test (known issue).

@pendo324 pendo324 merged commit be81af2 into runfinch:main Apr 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix test failure when running Rosetta tests
2 participants