Revert "jjb: tools: mark build as aborted on timeout."
authorJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Fri, 14 May 2021 13:56:48 +0000 (09:56 -0400)
committerJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Fri, 14 May 2021 14:49:42 +0000 (10:49 -0400)
This reverts commit 3b9bb48d192c642d57f678220c236ede3814ddb1.

This can lead to confusing situation where an aborted job due to
timeout is cleaned up by the "dev_mjeanson_system_clean" jobs before a
dev was able to have access the job logs. The current threshold for
cleaning up aborted jobs is 2 hours.

The "abort" notion is also used by the gerrit plugin to "abort" ongoing
build for which a new patch is set.

The most simple way to deal with this ambiguity is to revert this patch
and consider a timeout as a proper failure and let the human figure it
out.

A later patch will also add a timeout job description and update all
post-build actions depending on the aborted status.

jobs/lttng-tools.yaml

index 54357a3bb2c745ab63a78c91337c11526461f837..1a9488babdba813fd67737348e25017f51416c54 100644 (file)
@@ -53,7 +53,7 @@
       - ansicolor
       - timeout:
           timeout: 30
-          abort: true
+          fail: true
           type: no-activity
       - timestamps
       - workspace-cleanup:
       - ansicolor
       - timeout:
           timeout: 45
-          abort: true
+          fail: true
           type: no-activity
       - timestamps
       - workspace-cleanup:
       - ansicolor
       - timeout:
           timeout: 10
-          abort: true
+          fail: true
           type: no-activity
       - timestamps
 
This page took 0.039059 seconds and 4 git commands to generate.