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

Unblocks Github Action Integration Tests #1435

Merged
merged 1 commit into from
Apr 29, 2021
Merged

Conversation

couralex6
Copy link
Contributor

@couralex6 couralex6 commented Apr 22, 2021

What type of PR is this?
bug

Which issue does this PR fix:
None

What does this PR do / Why do we need it:
There were multiple issues with the integration tests that this PR address:

1. Missing dependency: Integration tests in Github Actions started failing because of a dependency that ceased to exist: github.com/mholt/[email protected].
This was fixed by adding the following line to go.mod: replace github.com/mholt/caddy => github.com/caddyserver/caddy v1.0.3

2. aws-k8s-tester issue: aws-k8s-tester was returning an error code 1 after attempting to output logs in color.

3. Running Upstream K8s conformance test suite twice: scripts/run-integration-tests.sh L274-L280 We were first downloading ginkgo as a binary and executing it, which returned the error:

missing go.sum entry for module providing package github.com/onsi/ginkgo/ginkgo; to add:
	go mod download github.com/onsi/ginkgo

This was solved by only executing the previously downloaded e2e tests:

  ${TEST_BASE_DIR}/e2e.test --ginkgo.focus="\[Serial\].*Conformance" --kubeconfig=$KUBECONFIG --ginkgo.failFast --ginkgo.flakeAttempts 2 \
    --ginkgo.skip="(should support remote command execution over websockets)|(should support retrieving logs from the container over websockets)|\[Slow\]"

If an issue # is not available please add repro steps and logs from IPAMD/CNI showing the issue:

Testing done on this change:
These changes were tested by manually executing the pipeline: job link


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

@couralex6 couralex6 requested a review from achevuru April 22, 2021 00:25
@couralex6 couralex6 force-pushed the test-mod branch 9 times, most recently from fb1c50d to 99125bc Compare April 26, 2021 20:27
@couralex6 couralex6 changed the title Changes integration test go.mod file to fix missing dependency Unblocks Github Action Integration Tests Apr 27, 2021
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.

2 participants