From 2c1c322687dca192997c544ec146b0a81df4ae58 Mon Sep 17 00:00:00 2001 From: Matthew Roeschke Date: Wed, 15 Dec 2021 10:37:59 -0800 Subject: [PATCH 1/2] CI: echo PYTHONHASHSEED for (hopeful) run reproducibility --- ci/run_tests.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ci/run_tests.sh b/ci/run_tests.sh index 9fea696b6ea81..de445bcc689fb 100755 --- a/ci/run_tests.sh +++ b/ci/run_tests.sh @@ -5,6 +5,9 @@ # https://github.com/pytest-dev/pytest/issues/1075 export PYTHONHASHSEED=$(python -c 'import random; print(random.randint(1, 4294967295))') +# May help reproduce flaky CI builds if set in subsequent runs +echo PYTHONHASHSEED=$PYTHONHASHSEED + if [[ "not network" == *"$PATTERN"* ]]; then export http_proxy=http://1.2.3.4 https_proxy=http://1.2.3.4; fi From 9a42c4f1932ccbfc32a2d435b6b78b6a44523727 Mon Sep 17 00:00:00 2001 From: Matthew Roeschke Date: Wed, 15 Dec 2021 12:12:32 -0800 Subject: [PATCH 2/2] Trigger CI