Skip to content

Commit

Permalink
connectivity: Ignore failedToListCRDs error
Browse files Browse the repository at this point in the history
I was overly naive to ignore level=errors exceptions. So far we hit only
failedToListCRDs [1]. Let's add it as an exception.

[1]: cilium/cilium#26591

Reported-by: Sebastian Wicki <[email protected]>
Signed-off-by: Martynas Pumputis <[email protected]>
  • Loading branch information
brb authored and michi-covalent committed Jul 8, 2023
1 parent 6c20d0d commit f302b4a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion connectivity/tests/errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ const (
localIDRestoreFail = "Could not restore all CIDR identities" // from https://github.com/cilium/cilium/pull/19556
routerIPMismatch = "Mismatch of router IPs found during restoration"
emptyIPNodeIDAlloc = "Attempt to allocate a node ID for an empty node IP address"
failedToListCRDs = "the server could not find the requested resource" // cf. https://github.com/cilium/cilium/issues/16425
)

// The list is adopted from cilium/cilium/test/helper/utils.go
Expand All @@ -161,5 +162,5 @@ var errorMsgsWithExceptions = map[string][]string{
"DATA RACE": nil,
// Exceptions for level=error should only be added as a last resort, if the
// error cannot be fixed in Cilium or in the test.
"level=error": {"Error in delegate stream, restarting"},
"level=error": {"Error in delegate stream, restarting", failedToListCRDs},
}

0 comments on commit f302b4a

Please sign in to comment.