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: Delete Istio resources if install does not complete #16440

Merged

Conversation

jrajahalme
Copy link
Member

If Istio install fails (e.g., times out) during BeforeAll(), the
resource cleanups in AfterAll() are not performed, so have to clean up
explicitly after failure in BeforeAll instead.

Without this some Istio resources may be left behind, causing other
tests to fail due to unexpected pods being present.

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

If Istio install fails (e.g., times out) during BeforeAll(), the
resource cleanups in AfterAll() are not performed, so have to clean up
explicitly after failure in BeforeAll instead.

Without this some Istio resources may be left behind, causing other
tests to fail due to unexpected pods being present.

Signed-off-by: Jarno Rajahalme <jarno@isovalent.com>
@jrajahalme jrajahalme added area/CI-improvement Topic or proposal to improve the Continuous Integration workflow release-note/ci This PR makes changes to the CI. labels Jun 4, 2021
@jrajahalme jrajahalme requested a review from a team as a code owner June 4, 2021 19:38
@jrajahalme
Copy link
Member Author

test-me-please

@jrajahalme
Copy link
Member Author

test-1.21-4.9 experienced a flake like #11867 and a new test panic tracked in #16480

@jrajahalme
Copy link
Member Author

test-1.21-4.9
Previous run failed due to text at the end of the first line not being recognized as valid arguments:

13:12:08  get-gh-comment-info.py: error: unrecognized arguments: experienced a flake like

@jrajahalme
Copy link
Member Author

test-1.21-4.9
cluster provisioning failed

@jrajahalme
Copy link
Member Author

test-1.21-4.9
vm provisioning fail

1 similar comment
@jrajahalme
Copy link
Member Author

test-1.21-4.9
vm provisioning fail

@jrajahalme
Copy link
Member Author

@nebril Do I need to rebase to get the CI to provision a VM?

@nebril
Copy link
Member

nebril commented Jun 17, 2021

@jrajahalme I don't think so, this provisioning issue seems different then NFS ones that we were hitting.

@nebril
Copy link
Member

nebril commented Jun 17, 2021

Looks like env vars were not being set properly because of vm provisioning fail bit of trigger comments: https://jenkins.cilium.io/job/Cilium-PR-K8s-1.21-kernel-4.9/763/execution/node/45/log/

@nebril
Copy link
Member

nebril commented Jun 17, 2021

test-1.21-4.9

@jrajahalme
Copy link
Member Author

This PR only changes a CI 2.0 (Ginkgo) and all Ginkgo CI runs passed. Marking this ready-to-merge.

@jrajahalme jrajahalme added the ready-to-merge This PR has passed all tests and received consensus from code owners to merge. label Jul 12, 2021
@kkourt kkourt merged commit 99c44dc into cilium:master Jul 13, 2021
@jrajahalme jrajahalme added needs-backport/1.10 and removed ready-to-merge This PR has passed all tests and received consensus from code owners to merge. labels Jul 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/CI-improvement Topic or proposal to improve the Continuous Integration workflow 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

5 participants