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

Reenable cni-calico-deep integration test #11617

Merged
merged 3 commits into from
Nov 20, 2023
Merged

Reenable cni-calico-deep integration test #11617

merged 3 commits into from
Nov 20, 2023

Conversation

alpeb
Copy link
Member

@alpeb alpeb commented Nov 15, 2023

Fixes #11567

The trick is to run the test under k8s v1.27.6-k3s1 as the following versions break the calico CNI plugin in k3s (see k3d-io/k3d#1375).

Also removed the continue-on-error: true directive in the integration workflow because it was hiding this problem.

@alpeb alpeb requested a review from a team as a code owner November 15, 2023 22:25
@olix0r
Copy link
Member

olix0r commented Nov 17, 2023

We have continue-on-error set on other workflows. Should we? Why should this job be handled differently?

How was the error being hidden such that changing continue-on-error will prevent that problem?

@olix0r
Copy link
Member

olix0r commented Nov 17, 2023

I've made a separate change for the continue-on-error behavior: #11630

bin/_k3d-config.yml Outdated Show resolved Hide resolved
olix0r added a commit that referenced this pull request Nov 17, 2023
We have `continue-on-error: true` marked on several integration
workflows. It appears that GitHub's behavior has changed to now mark
these tests as green even when they fail.

This change removes this setting from integration tests so errors are
reported properly. It also disables cni-calico-deep until #11617 is merged.
Fixes #11567

The trick is to run the test under k8s `v1.27.6-k3s1` as the following
versions break Calico in k3s (see k3d-io/k3d#1375).

Also removed the `continue-on-error: true` directive in the integration
workflow because it was hiding this problem.
@alpeb alpeb force-pushed the alpeb/calico-reenable branch from ac23edd to 0d79029 Compare November 17, 2023 16:29
@alpeb
Copy link
Member Author

alpeb commented Nov 17, 2023

In my latest commit I've moved the k3d config file and refactored in bin/_test-helpers.sh the declaration of testdir (formerly named test_directory).

…handle the declaration of bindir and testdir
@alpeb alpeb force-pushed the alpeb/calico-reenable branch from 0d79029 to 2d9ec0e Compare November 17, 2023 16:40
@alpeb alpeb merged commit 26864c2 into main Nov 20, 2023
4 checks passed
@alpeb alpeb deleted the alpeb/calico-reenable branch November 20, 2023 11:54
alpeb added a commit that referenced this pull request Dec 7, 2023
After having fixed it via #11617 we had reenabled it for the release
workflow but not for the integration workflow.
olix0r pushed a commit that referenced this pull request Dec 7, 2023
After having fixed it via #11617 we had reenabled it for the release
workflow but not for the integration workflow.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

cni-calico-deep integration test is broken
3 participants