From 06584432fc3d8c6386f750caaaba3a02bbda13ee Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Apr 15 2020 08:01:11 +0000 Subject: Send the a notification when the script itself crashed So we do not know if the test passed or failed, because an exception happened in the script. Signed-off-by: Pierre-Yves Chibon --- diff --git a/runner.py b/runner.py index f6032a0..f6211d0 100644 --- a/runner.py +++ b/runner.py @@ -127,6 +127,14 @@ def schedule(conf): print(f"Tests failed with: {err}", flush=True) print(sys.exc_info()[0]) + notify( + topic=f"multi-build.end.error", + message={ + "runid": runid, + "exception": err, + }, + ) + blocking_issues = utils.blocking_issues(blocker_tags) now = datetime.datetime.utcnow().strftime("%H:%M:%S") if blocking_issues: