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: add nil check to CiliumReport to prevent segfaults #14210

Merged
merged 1 commit into from
Dec 1, 2020

Conversation

nebril
Copy link
Member

@nebril nebril commented Nov 30, 2020

If kubectl fails to initialize, most test suites will try to run
CiliumReport to get cluster state, which will cause a segmentation fault
since kubectl is nil. This change will give us a bit more visibility
into these CI failures.

If kubectl fails to initialize, most test suites will try to run
CiliumReport to get cluster state, which will cause a segmentation fault
since kubectl is nil. This change will give us a bit more visibility
into these CI failures.

Signed-off-by: Maciej Kwiek <maciej@isovalent.com>
@nebril nebril requested a review from a team as a code owner November 30, 2020 10:19
@nebril nebril requested a review from kkourt November 30, 2020 10:19
@maintainer-s-little-helper maintainer-s-little-helper bot added the dont-merge/needs-release-note-label The author needs to describe the release impact of these changes. label Nov 30, 2020
@maintainer-s-little-helper maintainer-s-little-helper bot added this to In progress in 1.10.0 Nov 30, 2020
@nebril
Copy link
Member Author

nebril commented Nov 30, 2020

test-me-please

@nebril
Copy link
Member Author

nebril commented Nov 30, 2020

@nebril nebril added the release-note/ci This PR makes changes to the CI. label Nov 30, 2020
@maintainer-s-little-helper maintainer-s-little-helper bot removed the dont-merge/needs-release-note-label The author needs to describe the release impact of these changes. label Nov 30, 2020
@maintainer-s-little-helper maintainer-s-little-helper bot added the ready-to-merge This PR has passed all tests and received consensus from code owners to merge. label Dec 1, 2020
@kkourt kkourt merged commit 2e3b9e8 into master Dec 1, 2020
@kkourt kkourt deleted the pr/ci-kubectl-nil-check branch December 1, 2020 07:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

2 participants