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

connectivity: Make detected Cilium Agent version available for feature detection #1510

Merged
merged 1 commit into from
Apr 13, 2023

Conversation

jrajahalme
Copy link
Member

@jrajahalme jrajahalme commented Apr 13, 2023

Make detected Cilium Agent version available for feature detection and use it instead of trying to detect Cilium version from the agent image reference. This helps avoid failures like this when the image tag is not a semantic version (in this case image tag is "test"):

  connectivity test failed: unable to determine if KNP feature is enabled: failed to parse Cilium version test to semver

Cilium agent version was already detected, this PR moves the detection a bit earlier to make it available for feature detection.

Fixes: #1470
Fixes: #1507

…e detection

Make detected Cilium Agent version available for feature detection and
use it instead of trying to detect Cilium version from the agent image
reference. This helps avoid failures like this when the image tag is not
a semantic version (in this case image tag is "test"):

  connectivity test failed: unable to determine if KNP feature is enabled: failed to parse Cilium version test to semver

Cilium agent version was already detected, this PR moves the detection a
bit earlier to make it available for feature detection.

Fixes: #1470

Signed-off-by: Jarno Rajahalme <jarno@isovalent.com>
@jrajahalme jrajahalme added the kind/bug Something isn't working label Apr 13, 2023
@jrajahalme jrajahalme requested a review from a team as a code owner April 13, 2023 00:03
@jrajahalme jrajahalme requested a review from asauber April 13, 2023 00:03
@jrajahalme jrajahalme temporarily deployed to ci April 13, 2023 00:03 — with GitHub Actions Inactive
@jrajahalme
Copy link
Member Author

@sayboras This is why the tests fail to run on cilium/proxy now, see https://github.com/cilium/proxy/actions/runs/4683593671/jobs/8298837689?pr=142 for an example.

@tklauser tklauser removed the request for review from asauber April 13, 2023 08:25
@tklauser tklauser merged commit 682f8aa into master Apr 13, 2023
12 checks passed
@tklauser tklauser deleted the pr/jrajahalme/fix-feature-version-check branch April 13, 2023 08:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Can't run connectivity tests on latest Cilium
3 participants