Repository: samza Updated Branches: refs/heads/master dfc1508aa -> bc4a0c2de
SAMZA-1725: Set travis build idle time out to 20 minutes. **Problem:** Currently, average build time of samza codebase is 15 to 20 minutes. However, travis has a build idle timeout of 10 minutes and fails the build if the gradle build command doesn't log anything to console for 10 minutes(occurs when running tests in samza-test module). Sample travis build failure error: ``` No output has been received in the last 10m0s, this potentially indicates a stalled build or something wrong with the build itself. Check the details on how to adjust your build configuration on: https://docs.travis-ci.com/user/common-build-problems/#Build-times-out-because-no-output-was-received ``` **Fix:** Increasing the build idle-wait timeout value to 20 minutes. Author: Shanthoosh Venkataraman <[email protected]> Reviewers: Daniel Nishimura <[email protected]> Closes #530 from shanthoosh/increase_travis_build_wait_time Project: http://git-wip-us.apache.org/repos/asf/samza/repo Commit: http://git-wip-us.apache.org/repos/asf/samza/commit/bc4a0c2d Tree: http://git-wip-us.apache.org/repos/asf/samza/tree/bc4a0c2d Diff: http://git-wip-us.apache.org/repos/asf/samza/diff/bc4a0c2d Branch: refs/heads/master Commit: bc4a0c2defc3c70a66d6dceaf43fca833b24e93f Parents: dfc1508 Author: Shanthoosh Venkataraman <[email protected]> Authored: Wed May 23 19:27:48 2018 -0700 Committer: Boris S <[email protected]> Committed: Wed May 23 19:27:48 2018 -0700 ---------------------------------------------------------------------- .travis.yml | 3 ++- build.gradle | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/samza/blob/bc4a0c2d/.travis.yml ---------------------------------------------------------------------- diff --git a/.travis.yml b/.travis.yml index 05760fd..ef112f2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -30,7 +30,8 @@ jdk: - oraclejdk8 script: - - ./gradlew clean build + ## travis_wait increases build idle-wait time from 10 minutes to 20 minutes. + - travis_wait 20 ./gradlew clean build - type sonar-scanner &>/dev/null; if [ $? -eq 0 ]; then sonar-scanner; else echo "Not running sonar"; fi before_cache: http://git-wip-us.apache.org/repos/asf/samza/blob/bc4a0c2d/build.gradle ---------------------------------------------------------------------- diff --git a/build.gradle b/build.gradle index 0b4dae5..6872354 100644 --- a/build.gradle +++ b/build.gradle @@ -52,6 +52,7 @@ rat { '**/*.svg', '**/*.ttf', '**/*.woff', + '*.log', '**/hs_err_pid*.log', '**/.classpath', '**/.cache/**',
