Enable uploading RBE test results to BQ

pull/15251/head
Matt Kwong 7 years ago
parent bc0a102893
commit 4ba7e8400a
  1. 1
      tools/internal_ci/linux/grpc_asan_on_foundry.sh
  2. 2
      tools/internal_ci/linux/grpc_bazel_on_foundry_base.sh
  3. 2
      tools/internal_ci/linux/grpc_bazel_on_foundry_dbg.sh
  4. 1
      tools/internal_ci/linux/grpc_bazel_on_foundry_opt.sh
  5. 11
      tools/internal_ci/linux/grpc_msan_on_foundry.sh
  6. 2
      tools/internal_ci/linux/grpc_tsan_on_foundry.sh
  7. 11
      tools/internal_ci/linux/grpc_ubsan_on_foundry.sh
  8. 1
      tools/internal_ci/linux/pull_request/grpc_bazel_on_foundry_dbg.sh

@ -13,6 +13,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
export UPLOAD_TEST_RESULTS=true
EXTRA_FLAGS="--copt=-gmlt --strip=never --copt=-fsanitize=address --linkopt=-fsanitize=address --test_timeout=3600"
github/grpc/tools/internal_ci/linux/grpc_bazel_on_foundry_base.sh "${EXTRA_FLAGS}"

@ -57,6 +57,8 @@ source tools/internal_ci/helper_scripts/prepare_build_linux_rc
if [ "$UPLOAD_TEST_RESULTS" != "" ]
then
# Sleep to let ResultStore finish writing results before querying
sleep 60
python ./tools/run_tests/python_utils/upload_rbe_results.py
fi

@ -13,6 +13,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
export UPLOAD_TEST_RESULTS=true
EXTRA_FLAGS="-c dbg --test_timeout=300,450,1200,3600 --runs_per_test_detects_flakes --runs_per_test=2"
github/grpc/tools/internal_ci/linux/grpc_bazel_on_foundry_base.sh "${EXTRA_FLAGS}"

@ -13,5 +13,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
export UPLOAD_TEST_RESULTS=true
EXTRA_FLAGS="-c opt --test_timeout=300,450,1200,3600 --runs_per_test_detects_flakes --runs_per_test=2"
github/grpc/tools/internal_ci/linux/grpc_bazel_on_foundry_base.sh "${EXTRA_FLAGS}"

@ -61,4 +61,13 @@ source tools/internal_ci/helper_scripts/prepare_build_linux_rc
--action_env=LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH \
--host_crosstool_top=@com_github_bazelbuild_bazeltoolchains//configs/debian8_clang/0.3.0/bazel_0.10.0:toolchain \
--crosstool_top=@com_github_bazelbuild_bazeltoolchains//configs/experimental/debian8_clang/0.3.0/bazel_0.10.0/msan:msan_experimental_toolchain \
-- //test/...
-- //test/... || FAILED="true"
# Sleep to let ResultStore finish writing results before querying
sleep 60
python ./tools/run_tests/python_utils/upload_rbe_results.py
if [ "$FAILED" != "" ]
then
exit 1
fi

@ -13,6 +13,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
export UPLOAD_TEST_RESULTS=true
EXTRA_FLAGS="--copt=-gmlt --strip=never --copt=-fsanitize=thread --linkopt=-fsanitize=thread --test_timeout=3600"
github/grpc/tools/internal_ci/linux/grpc_bazel_on_foundry_base.sh "${EXTRA_FLAGS}"

@ -57,4 +57,13 @@ source tools/internal_ci/helper_scripts/prepare_build_linux_rc
--copt=-fsanitize=undefined \
--linkopt=-fsanitize=undefined \
--crosstool_top=@com_github_bazelbuild_bazeltoolchains//configs/experimental/debian8_clang/0.3.0/bazel_0.10.0/ubsan:ubsan_experimental_toolchain \
-- //test/...
-- //test/... || FAILED="true"
# Sleep to let ResultStore finish writing results before querying
sleep 60
python ./tools/run_tests/python_utils/upload_rbe_results.py
if [ "$FAILED" != "" ]
then
exit 1
fi

@ -15,4 +15,3 @@
EXTRA_FLAGS="-c dbg --test_timeout=300,450,1200,3600"
github/grpc/tools/internal_ci/linux/grpc_bazel_on_foundry_base.sh "${EXTRA_FLAGS}"

Loading…
Cancel
Save