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

fix(acceptance-tests): compile test suites and ginkgo cli #2826

Merged
merged 5 commits into from
Apr 5, 2024

Conversation

geigerj0
Copy link
Contributor

@geigerj0 geigerj0 commented Apr 4, 2024

Problem

Go tries to download a specific toolchain version whenever the required version is not available on the system. The following PR introduced the exact Go toolchain version pinning #2757.

Requiring an exact Go toolchain version can make the acceptance tests execution fail in an environment that has no connectivity to the public internet. Here is a sample failure from an execution in China which tries to download a required toolchain version:

download go1.21.4: golang.org/[email protected]: Get "https://proxy.golang.org/golang.org/toolchain/@v/v0.0.1-go1.21.4.linux-amd64.zip": dial tcp 172.217.163.49:443: i/o timeout

Solution

Compile test suites and ginkgo CLI for

  • linux (amd64, arm64)
  • darwin (amd64, arm64)

Acceptance test executions with no public internet access can make use of these binaries.

@geigerj0 geigerj0 marked this pull request as ready for review April 4, 2024 18:44
@geigerj0 geigerj0 added the allow-acceptance-tests This label needs to be added to enable the acceptance tests to run. label Apr 4, 2024
Copy link

sonarqubecloud bot commented Apr 4, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

@geigerj0 geigerj0 added the bug label Apr 4, 2024
@geigerj0 geigerj0 changed the title fix(acceptance-tests) fix(acceptance-tests): compile test suites and ginkgo cli for Apr 4, 2024
@silvestre silvestre added allow-acceptance-tests This label needs to be added to enable the acceptance tests to run. and removed allow-acceptance-tests This label needs to be added to enable the acceptance tests to run. labels Apr 5, 2024
@silvestre silvestre self-assigned this Apr 5, 2024
@silvestre silvestre enabled auto-merge (squash) April 5, 2024 06:56
@silvestre silvestre merged commit 487e6c8 into main Apr 5, 2024
48 of 50 checks passed
@silvestre silvestre deleted the compile-acceptance-tests-2 branch April 5, 2024 07:33
@geigerj0 geigerj0 changed the title fix(acceptance-tests): compile test suites and ginkgo cli for fix(acceptance-tests): compile test suites and ginkgo cli Apr 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
allow-acceptance-tests This label needs to be added to enable the acceptance tests to run. bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants