From: Andrew Grimberg Date: Mon, 10 Sep 2018 19:29:04 +0000 (-0700) Subject: Disable fast fail on parallel sigul X-Git-Tag: v0.17.1^0 X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;h=9507774a23a1fa13029059ec626af6908ea1567f;p=releng%2Flftools.git Disable fast fail on parallel sigul Sigul bridges seem to possibly have an issue with a lot of in parallel signing requests. This is either an issue with the bridge, the server, or a disconnected across the network VPN backhaul between the server and bridge. Instead of having the signing just outright fail on the first problem, we should try a few times. Change-Id: I98a5c8adeb25e892899a221dc2078a9fc779f74e Signed-off-by: Andrew Grimberg --- diff --git a/shell/sign b/shell/sign index ceff4914..d5725601 100755 --- a/shell/sign +++ b/shell/sign @@ -103,7 +103,7 @@ sign_dir() { sigul ) # We need to wordsplit ${files_to_sign[*]} so disable quoting check # shellcheck disable=SC2086 - parallel --no-notice --jobs 200% --halt now,fail=1 \ + parallel --no-notice --jobs 200% --retries 3 \ "sigul --batch -c $SIGUL_CONFIG sign-data -a -o {}.asc \ $SIGUL_KEY {} < $SIGUL_PASSWORD" ::: ${files_to_sign[*]} ;;