Skip to content

OpenVINO™ is an open source toolkit for optimizing and deploying AI inference

Add more network errors patterns to workflow rerunner (#34200)

Andrey Babushkin6728a2cb6443
diff --git a/.github/scripts/workflow_rerun/errors_to_look_for.json b/.github/scripts/workflow_rerun/errors_to_look_for.json
index efca5af8e95..2b301ba5671 100644
--- a/.github/scripts/workflow_rerun/errors_to_look_for.json
+++ b/.github/scripts/workflow_rerun/errors_to_look_for.json
@@ -8,7 +8,7 @@
"ticket": 135715
},
{
- "error_text": "error: RPC failed",
+ "error_text": "GnuTLS recv error",
"ticket": 131918
},
{
@@ -87,18 +87,6 @@
"error_text": "because the GET request got Content-Type",
"ticket": 158400
},
- {
- "error_text": "Unable to make request:",
- "ticket": 158401
- },
- {
- "error_text": "Failed to make request",
- "ticket": 158401
- },
- {
- "error_text": "Unable to download artifact",
- "ticket": 158401
- },
{
"error_text": "Failure when receiving data from the peer",
"ticket": 159323
@@ -162,5 +150,33 @@
{
"error_text": "urllib3.exceptions.IncompleteRead",
"ticket": 173184
+ },
+ {
+ "error_text": "Error from intermediary with HTTP status code 403",
+ "ticket": 181450
+ },
+ {
+ "error_text": "getaddrinfo EAI_AGAIN",
+ "ticket": 178917
+ },
+ {
+ "error_text": "terminal prompts disabled",
+ "ticket": 181095
+ },
+ {
+ "error_text": "HTTP 500 curl 22 The requested URL returned error: 500",
+ "ticket": 181530
+ },
+ {
+ "error_text": "Unable to make request: ECONNREFUSED",
+ "ticket": 158401
+ },
+ {
+ "error_text": "Unable to make request: ECONNRESET",
+ "ticket": 158401
+ },
+ {
+ "error_text": "Failed to FinalizeArtifact: Failed to make request after 5 attempts: Unexpected token",
+ "ticket": 181539
}
]
\ No newline at end of file
diff --git a/.github/workflows/workflow_rerunner.yml b/.github/workflows/workflow_rerunner.yml
index f64fec25c6a..1118f684252 100644
--- a/.github/workflows/workflow_rerunner.yml
+++ b/.github/workflows/workflow_rerunner.yml
@@ -108,6 +108,6 @@ jobs:
# Need to get a run id with successful status for log analyzing
# cannot lock a run id as logs get deleted after some time
- run_id=$(python3 -c "from github import Github, Auth; import os; github=Github(auth=Auth.Token(token=os.environ.get('GITHUB_TOKEN'))); repo = github.get_repo('${GITHUB_REPOSITORY}'); run_id = repo.get_workflow_runs(status='success')[0].id; print(run_id)")
+ run_id=$(python3 -c "from github import Github, Auth; import os; from datetime import datetime, timedelta, timezone; github=Github(auth=Auth.Token(token=os.environ.get('GITHUB_TOKEN'))); repo = github.get_repo('${GITHUB_REPOSITORY}'); cutoff_date=(datetime.now(timezone.utc)-timedelta(days=14)).date().isoformat(); runs=repo.get_workflow_runs(status='success', created=f'>={cutoff_date}'); print(runs[0].id)")
python3 rerunner.py --repository-name ${GITHUB_REPOSITORY} --run-id $run_id --rerunner-run-id ${{ github.run_id }} --dry-run