X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=shell%2Ftox-run.sh;h=3bf1576000b80127d324ea0984ce01511d4d4ddd;hb=b00fefb9ade05788816a1b802644fc68614cdc64;hp=e24e9740ee99f691f698c7fb5db7a84c5b7af67f;hpb=56497ce8f87463a6243bd3fb0b060fce99d58e38;p=releng%2Fglobal-jjb.git diff --git a/shell/tox-run.sh b/shell/tox-run.sh index e24e9740..3bf15760 100644 --- a/shell/tox-run.sh +++ b/shell/tox-run.sh @@ -27,6 +27,10 @@ run_tox() { local log_dir="$1" local env="$2" + # Sleep a random 10 second interval to workaround tox sdist + # conflicts due to building in the same dist directory. + sleep $[ ( $RANDOM % 10 ) + 1 ]s + echo "-----> Running tox $env" if ! tox -e $env > "$log_dir/tox-$env.log"; then echo "$env" >> "$log_dir/failed-envs.log"