-
Notifications
You must be signed in to change notification settings - Fork 270
Adding Additional Failure Patterns for Alerts #3663
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
base: develop
Are you sure you want to change the base?
Changes from all commits
4b6aa60
9f5a38b
f82f516
d251ea0
8f79178
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -39,11 +39,13 @@ def sendFailureNotifications() { | |||||
| // Error patterns to scan build logs for specific failure types and send detailed notifications. | ||||||
| def failurePatterns = [ | ||||||
| [pattern: /login attempt to .* failed with status: 401 Unauthorized/, description: "Docker registry authentication failed"], | ||||||
| [pattern: /(.*)docker login failed(.*)/, description: "Docker login failed"], | ||||||
| [pattern: /.*docker login failed.*/, description: "Docker login failed"], | ||||||
| [pattern: /HTTP request sent .* 404 Not Found/, description: "HTTP request failed with 404"], | ||||||
| [pattern: /cat: .* No such file or directory/, description: "GPU not found"], | ||||||
| [pattern: /(.*)GPU not found(.*)/, description: "GPU not found"], | ||||||
| [pattern: /Could not connect to Redis at .* Connection timed out/, description: "Redis connection timed out"] | ||||||
| [pattern: /.*GPU not found.*/, description: "GPU not found"], | ||||||
| [pattern: /Could not connect to Redis at .* Connection timed out/, description: "Redis connection timed out"], | ||||||
| [pattern: /.*unauthorized: your account must log in with a Personal Access Token.*/, description: "Docker login failed"], | ||||||
| [pattern: /.*sccache: error: Server startup failed: Address in use.*/, description: "Sccache Error"] | ||||||
|
||||||
| [pattern: /.*sccache: error: Server startup failed: Address in use.*/, description: "Sccache Error"] | |
| [pattern: /.*sccache: error: Server startup failed: Address in use.*/, description: "sccache server startup failed"] |
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.
This pattern is too generic and will match the more specific Docker authentication patterns on lines 41 and 47. Consider either removing this pattern since it's now redundant, or making it more specific to catch different Docker login failure scenarios not covered by the other patterns.