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
OTA-362: pkg/monitortests/clusterversionoperator: Fatal unless Available=False in allow-list #27231
Merged
openshift-merge-bot
merged 17 commits into
openshift:master
from
wking:fatal-available-false
Dec 3, 2023
Merged
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
51fda72
pkg/monitortests/clusterversionoperator: Fatal unless Available=False…
wking d4c85ef
pkg/monitortests/clusterversionoperator: Add an exception for authent…
wking d7e13ad
pkg/monitortests/clusterversionoperator: Add an exception for control…
wking c1ae513
pkg/monitortests/clusterversionoperator: Add an exception for kube-st…
wking c08a0d5
pkg/monitortests/clusterversionoperator: Allow Available=False for no…
wking ef2a6f9
pkg/monitortests/clusterversionoperator/legacycvomonitortests: Pivot …
wking 9da7989
pkg/monitortests/clusterversionoperator: Add an exception for machine…
wking ae668ee
pkg/monitortests/clusterversionoperator: Add an exception for operato…
wking 6e79269
pkg/monitortests/clusterversionoperator: Add an exception for monitor…
wking 53f239e
pkg/monitortests/clusterversionoperator: Add an exception for openshi…
wking a8ec3fe
pkg/monitortests/clusterversionoperator/legacycvomonitortests: Return…
wking ca46d5d
pkg/monitortests/clusterversionoperator/legacycvomonitortests: Expand…
wking 5573b55
pkg/monitortests/clusterversionoperator/legacycvomonitortests: Expand…
wking b319118
pkg/monitortests/clusterversionoperator: Add an exception for console…
wking ba523b5
pkg/monitortests/clusterversionoperator/legacycvomonitortests: Expand…
wking c842f63
pkg/monitortests/clusterversionoperator/legacycvomonitortests: Even m…
wking 0b4bb1d
pkg/monitortests/clusterversionoperator: Add an exception for machine…
wking File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We are moving to structured intervals and this kind of regex matching has gotten us into trouble in other places in that effort. The intervals backing this test have not yet been ported but I can make that my next priority, I'll post here as soon as I can get that in. You'll need to do some kind of func based matching perhaps that can examine the type/fields of an interval for a match.
Big +1 in pinning those we know have problems. The test results are pretty striking.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://issues.redhat.com/browse/TRT-1314 I'll try to get to this this week.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like these were actually already ported, just not at the point you last ran tests in here, or at least not in the job I looked at.
A new interval for this would look like:
You'll want to match on the StructuredLocator.Type, StructuredLocator.Keys["clusteroperator"], StructuredMessageAnnotations condition+status+reason. I know reason is duplicated in there and I'm not sure which we keep, but we'll figure that out soon, I suspect it'll be the annotation not the actual field. Locator Keys and message Annotations should all have constants in monitorapi/types.go.