mirror of
https://github.com/ROCm/composable_kernel.git
synced 2026-04-20 14:59:17 +00:00
Updating failure patterns to be more reliable and adding tests to verify they are caught in the logs
This commit is contained in:
committed by
andrew clark
parent
a213ce676b
commit
42a731b791
11
Jenkinsfile
vendored
11
Jenkinsfile
vendored
@@ -39,10 +39,10 @@ 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: /.GPU not found./, description: "GPU not found"],
|
||||
[pattern: /Could not connect to Redis at .* Connection timed out/, description: "Redis connection timed out"]
|
||||
]
|
||||
|
||||
@@ -1290,6 +1290,13 @@ pipeline {
|
||||
script {
|
||||
env.SHOULD_RUN_CI = String.valueOf(params.FORCE_CI.toBoolean() || shouldRunCICheck())
|
||||
echo "SHOULD_RUN_CI: ${env.SHOULD_RUN_CI}"
|
||||
// Todo: Remove test examples
|
||||
echo "GPU not found"
|
||||
echo "Testing GPU not found"
|
||||
echo "GPU not found Testing"
|
||||
echo "docker login failed"
|
||||
echo "Testing docker login failed"
|
||||
echo "docker login failed Testing"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user