Skip to content

Conversation

pchaigno
Copy link
Member

@pchaigno pchaigno commented Nov 4, 2024

Fixes: #35772.

@pchaigno pchaigno added release-note/ci This PR makes changes to the CI. cilium-cli This PR contains changes related with cilium-cli labels Nov 4, 2024
@github-actions github-actions bot added the cilium-cli-exclusive This PR only impacts cilium-cli binary label Nov 4, 2024
@pchaigno pchaigno force-pushed the pr/pchaigno/cli-check-warnings branch 24 times, most recently from 047f9ab to 1040378 Compare November 9, 2024 13:57
@pchaigno pchaigno force-pushed the pr/pchaigno/cli-check-warnings branch 3 times, most recently from 7451827 to a68596e Compare November 12, 2024 15:16
@pchaigno pchaigno force-pushed the pr/pchaigno/cli-check-warnings branch from 57b2bb1 to 817e2cf Compare November 20, 2024 14:22
We check for error logs in both the CLI's connectivity tests and the
ginkgo tests. Warning logs are however only checked by ginkgo tests
since commit 551f435 ("test: Fail on level=warning logs").

This commit extends the CLI connectivity tests to also check for warning
logs, with the same exception list as in ginkgo tests.

Signed-off-by: Paul Chaignon <paul.chaignon@gmail.com>
The "Unable to translate all CIDR groups to CIDRs" warning was removed
in main, but it's still happening when the upgrade test runs v1.16. We
can therefore remove that exception once the upgrade test covers
v1.17<>v1.18.

Signed-off-by: Paul Chaignon <paul.chaignon@gmail.com>
@pchaigno pchaigno force-pushed the pr/pchaigno/cli-check-warnings branch from 817e2cf to 53e99e5 Compare November 21, 2024 08:44
@pchaigno
Copy link
Member Author

/test

@pchaigno pchaigno marked this pull request as ready for review November 21, 2024 10:56
@pchaigno pchaigno requested review from a team as code owners November 21, 2024 10:56
@pchaigno pchaigno requested review from thorn3r and aspsk November 21, 2024 10:56
@pchaigno pchaigno enabled auto-merge November 21, 2024 10:56
@pchaigno pchaigno added this pull request to the merge queue Nov 21, 2024
Merged via the queue into main with commit 081bd25 Nov 21, 2024
218 checks passed
@pchaigno pchaigno deleted the pr/pchaigno/cli-check-warnings branch November 21, 2024 14:56
@maintainer-s-little-helper maintainer-s-little-helper bot added ready-to-merge This PR has passed all tests and received consensus from code owners to merge. labels Nov 21, 2024
tklauser added a commit to tklauser/hubble-ui that referenced this pull request Nov 28, 2024
The cilium-cli connectivity test treats warnings in the logs as test
errors[^1]. This causes tests involving hubble-ui to fail[^2]. As
these fallbacks aren't really warnings but rather
informative messsages, demote them to info level.

[^1]: cilium/cilium#35723
[^2]: https://github.com/cilium/cilium-cli/actions/runs/12051244564/job/33601849065?pr=2869#step:13:541

Signed-off-by: Tobias Klauser <tobias@cilium.io>
yannikmesserli pushed a commit to cilium/hubble-ui that referenced this pull request Jan 13, 2025
…ing (#940)

The cilium-cli connectivity test treats warnings in the logs as test
errors[^1]. This causes tests involving hubble-ui to fail[^2]. As
these fallbacks aren't really warnings but rather
informative messsages, demote them to info level.

[^1]: cilium/cilium#35723
[^2]: https://github.com/cilium/cilium-cli/actions/runs/12051244564/job/33601849065?pr=2869#step:13:541

Signed-off-by: Tobias Klauser <tobias@cilium.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cilium-cli This PR contains changes related with cilium-cli cilium-cli-exclusive This PR only impacts cilium-cli binary 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
None yet
Development

Successfully merging this pull request may close these issues.

Warning Unable to translate all CIDR groups to CIDRs
3 participants