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

clustermesh: unbreak test #26294

Merged
merged 3 commits into from Jun 16, 2023
Merged

Conversation

giorio94
Copy link
Member

@giorio94 giorio94 commented Jun 16, 2023

Due to a merge race, one of the clustermesh tests is failing to compile:

Error: pkg/clustermesh/remote_cluster_test.go:155:54: too many arguments in call to newGlobalServiceCache
have (string, string)
want ("github.com/cilium/cilium/pkg/metrics/metric".Gauge)

Additionally, it seems that the newly introduced tests are badly interacting with each other (they use the same shared etcd instance), causing frequent flakes. Let's disable them for the moment to unblock main, and in the meanwhile I'll try to figure out how to make them more resilient.

Supersedes: #26291 (thanks @julianwiedmann)

julianwiedmann and others added 3 commits June 16, 2023 09:24
Error: pkg/clustermesh/remote_cluster_test.go:155:54: too many arguments in call to newGlobalServiceCache
	have (string, string)
	want ("github.com/cilium/cilium/pkg/metrics/metric".Gauge)

Signed-off-by: Julian Wiedmann <jwi@isovalent.com>
Let's ensure that all keys are deleted when the clustermesh tests
terminate, to prevent affecting the subsequent ones.

Signed-off-by: Marco Iorio <marco.iorio@isovalent.com>
It seems that the new kvstoremesh tests are badly interacting with the
other clustermesh ones (they use a shared etcd instance), causing
frequent flakes. Let's disable them for the moment while figuring out
how to make them more resilient.

Signed-off-by: Marco Iorio <marco.iorio@isovalent.com>
@giorio94 giorio94 added kind/bug/CI This is a bug in the testing code. area/clustermesh Relates to multi-cluster routing functionality in Cilium. release-note/misc This PR makes changes that have no direct user impact. labels Jun 16, 2023
@giorio94 giorio94 requested a review from a team as a code owner June 16, 2023 08:00
@giorio94
Copy link
Member Author

Integration tests passed. Marking as ready to merge to unblock main

@giorio94 giorio94 added the ready-to-merge This PR has passed all tests and received consensus from code owners to merge. label Jun 16, 2023
@aanm aanm merged commit 14024ef into cilium:main Jun 16, 2023
52 of 53 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/clustermesh Relates to multi-cluster routing functionality in Cilium. 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/misc This PR makes changes that have no direct user impact.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants