Compare commits

...
1 Commits
Author SHA1 Message Date
Andrew Ferlitsch 0e0b9fe84a fix: detecting internal 2023-11-17 19:33:42 +00:00
@@ -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'