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
jobs,test: Fix TestTimer_ExitOnCloseFnCtx channel close panic #25211
jobs,test: Fix TestTimer_ExitOnCloseFnCtx channel close panic #25211
Conversation
This test enforces that a timer callback will not be called after the context has been canceled. However, it was written such that if the test fails a panic is thrown. This fixes both the panic-on-fail and resolves the edge case causing the flake. Fixes: cilium#25177 Signed-off-by: Dylan Reimerink <dylan.reimerink@isovalent.com>
/test Job 'Cilium-PR-K8s-1.26-kernel-net-next' failed: Click to show.Test Name
Failure Output
Jenkins URL: https://jenkins.cilium.io/job/Cilium-PR-K8s-1.26-kernel-net-next/2007/ If it is a flake and a GitHub issue doesn't already exist to track it, comment Then please upload the Jenkins artifacts to that issue. |
Looks like we are hitting flake #25119. Re-running to confirm its a flake |
/test-1.26-net-next |
/test-1.26-net-next Job 'Cilium-PR-K8s-1.26-kernel-net-next' failed: Click to show.Test Name
Failure Output
Jenkins URL: https://jenkins.cilium.io/job/Cilium-PR-K8s-1.26-kernel-net-next/2041/ If it is a flake and a GitHub issue doesn't already exist to track it, comment Then please upload the Jenkins artifacts to that issue. |
/test-1.26-net-next Job 'Cilium-PR-K8s-1.26-kernel-net-next' failed: Click to show.Test Name
Failure Output
Jenkins URL: https://jenkins.cilium.io/job/Cilium-PR-K8s-1.26-kernel-net-next/2088/ If it is a flake and a GitHub issue doesn't already exist to track it, comment Then please upload the Jenkins artifacts to that issue. |
Sigh, hit a new flake, its #15455 this time. |
/test-1.26-net-next |
Marked ready-to-merge. |
/ci-e2e |
OK yeah I guess ci-e2e doesn't trigger on branches based on older versions of main. LGTM. |
This test enforces that a timer callback will not be called after the context has been canceled. However, it was written such that if the test fails a panic is thrown. This fixes both the panic-on-fail and resolves the edge case causing the flake.
Fixes: #25177