From a8af83bf36ee954b2049e0088f92967f064295cc Mon Sep 17 00:00:00 2001 From: Paul Gschwendtner Date: Thu, 21 Mar 2019 20:00:11 +0100 Subject: [PATCH] ci: disable sauce-connect ssl bumping (#29447) By default we disable SSL bumping for all requests. This is because SSL bumping is not needed for our test setup and in order to perform the SSL bumping, Saucelabs intercepts all HTTP requests in the tunnel VM and modifies them. This can cause flakiness as it makes all requests dependent on the SSL bumping middleware. See: https://wiki.saucelabs.com/display/DOCS/Troubleshooting+Sauce+Connect#TroubleshootingSauceConnect-DisablingSSLBumping PR Close #29447 --- scripts/saucelabs/start-tunnel.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/scripts/saucelabs/start-tunnel.sh b/scripts/saucelabs/start-tunnel.sh index fb06b758e8..e11389e0e9 100755 --- a/scripts/saucelabs/start-tunnel.sh +++ b/scripts/saucelabs/start-tunnel.sh @@ -4,8 +4,12 @@ set -x -u -e -o pipefail readonly currentDir=$(cd $(dirname $0); pwd) -# Command arguments that will be passed to sauce-connect. -sauceArgs="" +# Command arguments that will be passed to sauce-connect. By default we disable SSL bumping for +# all requests. This is because SSL bumping is not needed for our test setup and in order +# to perform the SSL bumping, Saucelabs intercepts all HTTP requests in the tunnel VM and modifies +# them. This can cause flakiness as it makes all requests dependent on the SSL bumping middleware. +# See: https://wiki.saucelabs.com/display/DOCS/Troubleshooting+Sauce+Connect#TroubleshootingSauceConnect-DisablingSSLBumping +sauceArgs="--no-ssl-bump-domains all" if [[ ! -z "${SAUCE_LOG_FILE:-}" ]]; then mkdir -p $(dirname ${SAUCE_LOG_FILE})