-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
CI: RuntimeDatapathPrivilegedUnitTests Run Tests / TestControlPlane/IdentityGC #22470
Comments
Looks like |
Another failure on the same test, panic on close of another channel: https://jenkins.cilium.io/job/Cilium-PR-Runtime-net-next/4131/ |
Will take a look at fixing this. Btw, also related is: #21818. |
The control-plane tests start and stop the operator multiple times, which sometimes leads to double-close of k8sCiliumNodesCacheSynced as startSynchronizingCiliumNodes forks off a goroutine that we do not wait for. This fixes the issue by moving k8sCiliumNodesCacheSynced and ciliumNodeManagerQueueSynced into a struct and passing that onto use-sites. Fixes: cilium#22470 Signed-off-by: Jussi Maki <jussi@isovalent.com>
The control-plane tests start and stop the operator multiple times, which sometimes leads to double-close of k8sCiliumNodesCacheSynced as startSynchronizingCiliumNodes forks off a goroutine that we do not wait for. This fixes the issue by moving k8sCiliumNodesCacheSynced and ciliumNodeManagerQueueSynced into a struct and passing that onto use-sites. Fixes: #22470 Signed-off-by: Jussi Maki <jussi@isovalent.com>
@joamaki @pippolo84 I think a similar issue is still occurring here: https://app.travis-ci.com/github/cilium/cilium/jobs/590240001#L538 |
Still happens: https://github.com/cilium/cilium/pull/22570/checks?check_run_id=9914257029 Different spot, same problem (close of closed channel) at: https://github.com/cilium/cilium/blob/master/operator/watchers/pod.go#L140 |
This seems very common on Travis now (also hit on master) and decrease the signal-to-noise ratio. Can we disable the test for now? |
This PR should solve this issue, too. |
Following @pippolo84 's pointer above, I'll close this as "fixed". If anyone observes this again later, we can always choose to reopen the investigation. |
Test Name
Failure Output
Stack Trace
/home/jenkins/workspace/Cilium-PR-Runtime-net-next/runtime-gopath/src/github.com/cilium/cilium/test/ginkgo-ext/scopes.go:515 Failed to run privileged unit tests Expected command: bash -c 'sudo make -C /home/vagrant/go/src/github.com/cilium/cilium/ tests-privileged | ts "[%H:%M:%S]"; exit "${PIPESTATUS[0]}"' To succeed, but it failed: Exitcode: 2 Err: Process exited with status 2
Standard Output
Standard Error
make: *** [Makefile:124: tests-privileged] Error 1
Resources
3e851d6a_RuntimeDatapathPrivilegedUnitTests_Run_Tests.zip
Anything else?
close of closed channel happens here in
operator/cmd/cilium_node.go
:The text was updated successfully, but these errors were encountered: