From 66427bd2448a5fc149bf82f5046bba5209f4b35d Mon Sep 17 00:00:00 2001 From: Andrew Ferlitsch Date: Fri, 17 Nov 2023 12:37:13 -0800 Subject: [PATCH] fix: detecting internal (#2534) --- .cloud-build/execute_changed_notebooks_helper.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.cloud-build/execute_changed_notebooks_helper.py b/.cloud-build/execute_changed_notebooks_helper.py index eca073f8c..aead68ec3 100755 --- a/.cloud-build/execute_changed_notebooks_helper.py +++ b/.cloud-build/execute_changed_notebooks_helper.py @@ -41,6 +41,7 @@ from utils import NotebookProcessors, util # A buffer so that workers finish before the orchestrating job WORKER_TIMEOUT_BUFFER_IN_SECONDS: int = 60 * 60 + PYTHON_VERSION = "3.9" # Set default python version # rolling time window for accumulating build results for selecting notebooks @@ -454,7 +455,7 @@ def _save_results(results: List[NotebookExecutionResult], fail_count = 1 if result.error_message is None: error_type = '' - elif '500 Internal' in result.error_message or 'INTERNAL' in result.error_message: + elif '500 Internal' in result.error_message or 'INTERNAL' in result.error_message or 'internal error' in result.error_message: error_type = 'INTERNAL' elif 'context deadline exceeded' in result.error_message: error_type = 'TIMEOUT'