Fix windows RBE results uploading to bigquery (#28365)

reviewable/pr28393/r1
Jan Tattermusch 3 years ago committed by GitHub
parent c6f96d687f
commit 8afb68238b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 10
      tools/internal_ci/windows/bazel_rbe.bat

@ -24,7 +24,11 @@ IF "%cd%"=="T:\src" (
choco install bazel -y --version 4.2.1 --limit-output
cd github/grpc
set PATH=C:\tools\msys64\usr\bin;C:\Python27;%PATH%
set PATH=C:\tools\msys64\usr\bin;C:\Python37;%PATH%
python --version
python -m pip install --user google-api-python-client oauth2client six==1.16.0
@rem Generate a random UUID and store in "bazel_invocation_ids" artifact file
powershell -Command "[guid]::NewGuid().ToString()" >%KOKORO_ARTIFACTS_DIR%/bazel_invocation_ids
@ -36,8 +40,8 @@ set BAZEL_EXITCODE=%errorlevel%
if not "%UPLOAD_TEST_RESULTS%"=="" (
@rem Sleep to let ResultStore finish writing results before querying
timeout /t 60 /nobreak
python3 ./tools/run_tests/python_utils/upload_rbe_results.py
sleep 60
python ./tools/run_tests/python_utils/upload_rbe_results.py
)
exit /b %BAZEL_EXITCODE%

Loading…
Cancel
Save