Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/certbot/certbot.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWill Greenberg <willg@eff.org>2022-07-06 03:04:17 +0300
committerWill Greenberg <willg@eff.org>2022-07-06 03:04:17 +0300
commitb1074fca39d4db0a212375df630f9d0acdc2c121 (patch)
tree580d0c8cc5d416b1daecebb020f3d0575e6c9c8d
parent6e1696ba32ef8c1162bb0cd85df5a22113952828 (diff)
If a snap build times out, dump the logstest-print-timed-out-build-logsprint-timed-out-build-logs
-rwxr-xr-xtools/snap/build_remote.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/snap/build_remote.py b/tools/snap/build_remote.py
index 6ab80669c..7a4eea1b0 100755
--- a/tools/snap/build_remote.py
+++ b/tools/snap/build_remote.py
@@ -253,6 +253,12 @@ def main():
process.join(args.timeout)
if process.is_alive():
+ for target in targets:
+ if target == 'certbot':
+ workspace = CERTBOT_DIR
+ else:
+ workspace = join(CERTBOT_DIR, target)
+ _dump_failed_build_logs(target, archs, status, workspace)
raise ValueError(f"Timeout out reached ({args.timeout} seconds) during the build!")
build_success = True