From 6f3052b799396592952a0d035872778c061da803 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 e0fc3e0479..34bf0a7b5b 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})