cilium
cilium copied to clipboard
tests: Add failed to list CRD to ignored warning logs
Please ensure your pull request adheres to the following guidelines:
- [X] For first time contributors, read Submitting a pull request
- [X] All code is covered by unit and/or runtime tests where feasible.
- [X] All commits contain a well written commit description including a title,
description and a
Fixes: #XXX
line if the commit addresses a particular GitHub issue. - [X] If your commit description contains a
Fixes: <commit-id>
tag, then please add the commit author[s] as reviewer[s] to this issue. - [X] All commits are signed off. See the section Developer’s Certificate of Origin
- [X] Provide a title or release-note blurb suitable for the release notes.
- [X] Are you a user of Cilium? Please add yourself to the Users doc
- [X] Thanks for contributing!
This commit adds the 'failed to list CRDs' log - "the server could not find the requested resource" - to the list of accepted warning logs. This message is already in the list of ignored error logs, however this message can also appear as a warning log from klog.
Fixes: #30776 Related: #26591
Prevent E2E tests from failing on a known-ok warning log of temporary CRD failure