From d1cc7a0b26aeb72c0742b0c0219dbd2f4335a94b Mon Sep 17 00:00:00 2001 From: Filipe Silva Date: Thu, 25 Jul 2019 15:40:05 +0100 Subject: [PATCH] ci: use no_output_timeout for long jobs (#31266) PR Close #31266 --- .circleci/bazel.rc | 5 +---- .circleci/config.yml | 9 +++++++-- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.circleci/bazel.rc b/.circleci/bazel.rc index b296480168..df14be3d93 100644 --- a/.circleci/bazel.rc +++ b/.circleci/bazel.rc @@ -7,10 +7,7 @@ build --repository_cache=/home/circleci/bazel_repository_cache # Don't be spammy in the logs -# TODO(gmagolan): Hide progress again once build performance improves -# Presently, CircleCI can timeout during bazel test ... with the following -# error: Too long with no output (exceeded 10m0s) -# build --noshow_progress +build --noshow_progress # Print all the options that apply to the build. # This helps us diagnose which options override others diff --git a/.circleci/config.yml b/.circleci/config.yml index 0d2813df40..ebde9fb67e 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -197,7 +197,9 @@ jobs: - *setup_circleci_bazel_config # Setup remote execution and run RBE-compatible tests. - *setup_bazel_remote_execution - - run: yarn bazel test //... --build_tag_filters=-ivy-only --test_tag_filters=-ivy-only + - run: + command: yarn bazel test //... --build_tag_filters=-ivy-only --test_tag_filters=-ivy-only + no_output_timeout: 20m - run: mkdir ~/testlogs - run: cp -Lr dist/testlogs/* ~/testlogs - store_test_results: @@ -219,7 +221,9 @@ jobs: # We need to explicitly specify the --symlink_prefix option because otherwise we would # not be able to easily find the output bin directory when uploading artifacts for size # measurements. - - run: yarn test-ivy-aot //... --symlink_prefix=dist/ + - run: + command: yarn test-ivy-aot //... --symlink_prefix=dist/ + no_output_timeout: 20m # Publish bundle artifacts which will be used to calculate the size change. **Note**: Make # sure that the size plugin from the Angular robot fetches the artifacts from this CircleCI @@ -269,6 +273,7 @@ jobs: --username $SAUCE_USERNAME \ --key $(echo $SAUCE_ACCESS_KEY | rev) \ yarn bazel test //:test_web_all + no_output_timeout: 20m - *notify_dev_infra_on_fail test_aio: