From 6091bac71b6256d44db576d3db7e73b1321c1af2 Mon Sep 17 00:00:00 2001 From: Adrien Ferrand Date: Wed, 22 Jul 2020 13:01:44 +0200 Subject: [PATCH] Troubleshoot --- tools/snap/build_remote.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/snap/build_remote.py b/tools/snap/build_remote.py index a53881f70..bd1b30207 100755 --- a/tools/snap/build_remote.py +++ b/tools/snap/build_remote.py @@ -41,6 +41,8 @@ def _build_snap(target, archs, status): retry = 3 while retry: exit_code = _execute_build(target, archs, status, workspace) + print(f'Build {target} for {"".join(archs)} (attempt {4-retry}/3) ended with exit code {exit_code}.') + sys.stdout.flush() # Do not retry if the snapcraft remote-build command has not been interrupted. if exit_code == 0: break