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

test: Pass container to ExecPodCmdBackground() #16435

Merged

Conversation

jrajahalme
Copy link
Member

Add container option to kubectl exec to avoid test failures due to unexpected output like this:

        s: "could not parse \"Defaulted container \\\"cilium-agent\\\" out of: cilium-agent, clean-cilium-state (init)\" as JSON (line 0 of \"kubectl exec -n kube-system cilium-fsfdb -- hubble observe --follow --output=json --last 1 --type l7 --from-pod 202106040737k8shubbletesthubbleobservetestl7flow/app2-58757b7dd5-4fvh7 --to-namespace 202106040737k8shubbletesthubbleobservetestl7flow --to-label id=app1,zgroup=testapp --protocol http\")",

Signed-off-by: Jarno Rajahalme jarno@isovalent.com

Add container option to kubectl exec to avoid test failures due to unexpected output like this:

            s: "could not parse \"Defaulted container \\\"cilium-agent\\\" out of: cilium-agent, clean-cilium-state (init)\" as JSON (line 0 of \"kubectl exec -n kube-system cilium-fsfdb -- hubble observe --follow --output=json --last 1 --type l7 --from-pod 202106040737k8shubbletesthubbleobservetestl7flow/app2-58757b7dd5-4fvh7 --to-namespace 202106040737k8shubbletesthubbleobservetestl7flow --to-label id=app1,zgroup=testapp --protocol http\")",

Signed-off-by: Jarno Rajahalme <jarno@isovalent.com>
@jrajahalme jrajahalme added kind/bug/CI This is a bug in the testing code. release-note/ci This PR makes changes to the CI. labels Jun 4, 2021
@jrajahalme jrajahalme requested a review from a team June 4, 2021 15:59
@jrajahalme jrajahalme requested a review from a team as a code owner June 4, 2021 15:59
@jrajahalme jrajahalme requested review from jibi and nebril June 4, 2021 15:59
@jrajahalme
Copy link
Member Author

test-me-please

@jrajahalme
Copy link
Member Author

Unrelated runtime test flake (change in k8s test code not affecting runtime test at all).

@jrajahalme
Copy link
Member Author

test-1.21-4.9 had high number of test fails due to failing Istio test leaving resources behind, fixed in #16440.

@jrajahalme
Copy link
Member Author

test-1.21-4.9

@jrajahalme
Copy link
Member Author

jrajahalme commented Jun 4, 2021

test-1.21-4.9 build was gone, re-triggering

@aanm
Copy link
Member

aanm commented Jun 16, 2021

test-1.21-4.9

@jrajahalme
Copy link
Member Author

test-runtime
artifacts were already removed, don't know what went wrong. This PR should only affect k8s ginkgo tests.

@jrajahalme
Copy link
Member Author

test-runtime

@jrajahalme jrajahalme added the ready-to-merge This PR has passed all tests and received consensus from code owners to merge. label Jul 14, 2021
@nebril nebril merged commit c95f6fd into cilium:master Jul 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug/CI This is a bug in the testing code. ready-to-merge This PR has passed all tests and received consensus from code owners to merge. release-note/ci This PR makes changes to the CI.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants