Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attempt to fix Travis-CI timeouts due to build caches #173

Closed
wants to merge 2 commits into from
Closed

Conversation

iceiix
Copy link
Owner

@iceiix iceiix commented May 30, 2019

AppVeyor is working but Travis-CI is always failing some builds:

example: https://travis-ci.org/iceiix/stevenarella/builds/539101869?utm_source=github_status&utm_medium=notification

Screen Shot 2019-05-30 at 3 45 58 PM

Setting up build cache
$ export CASHER_DIR=${TRAVIS_HOME}/.casher
0.14s$ Installing caching utilities
0.00s43.17sattempting to download cache archive
fetching structopt-0.2.16/cache-linux-trusty-e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855--cargo-stable.tgz
fetching structopt-0.2.16/cache--cargo-stable.tgz
fetching dependabotcargostructopt-0.2.16/cache-linux-trusty-e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855--cargo-stable.tgz
fetching dependabotcargostructopt-0.2.16/cache--cargo-stable.tgz
fetching master/cache-linux-trusty-e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855--cargo-stable.tgz
found cache
0.00sadding /home/travis/.cargo to cache
creating directory /home/travis/.cargo
adding /home/travis/build/iceiix/stevenarella/target to cache
creating directory /home/travis/build/iceiix/stevenarella/target
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
The build has been terminated

@iceiix
Copy link
Owner Author

iceiix commented May 30, 2019

Linux with stable Rust is failing, but macOS with stable Rust succeeds. Doesn't even get to the point where it begins the build. Rust nightly with Linux, and WASM=false also fails with the same error./

Nightly on macOS fails with a different error, it actually completes building and running tests, but times out uploading the build cache:

store build cache...
changes detected, packing new archive
The job exceeded the maximum time limit for jobs, and has been terminated.

WASM=true fails due to wasm-pack crashing:

Well, this is embarrassing. wasm-pack had a problem and crashed. To help us diagnose the problem you can send us a crash report.

Except for this last error, all the problems appear cache-related. https://travis-ci.org/iceiix/stevenarella/caches shows quite a big cache:

Screen Shot 2019-05-30 at 3 53 31 PM

Going to try deleting all caches...

@iceiix iceiix changed the title Attempt to fix Travis-CI timeouts Attempt to fix Travis-CI timeouts due to build caches May 30, 2019
@iceiix
Copy link
Owner Author

iceiix commented May 30, 2019

Screen Shot 2019-05-30 at 3 54 25 PM

Oh no! Could not delete the caches

I guess Travis-CI caching is messed up somehow.

Maybe related to https://blog.travis-ci.com/2019-01-23-travis-ci-joins-idera-inc https://news.ycombinator.com/item?id=18978251 a prescient comment:

Travis will likely slow rot under Idera, looking at how its owned by a private equity firm.

alternatives:

Personally, I've seen growing stability issues. Builds are failing for no apparent reason and work fine after a manual restart. Circe CI was the next free service to try.

Yeah, I've been seeing lots of people switch to circle-ci or gitlab over the past year.

Worth plugging https://sr.ht ... also be able to build on platforms like RISC-V, which I don't think anybody else offers.

At my company we've just finished migrating our Android builds from CircleCI to Buildkite

@iceiix
Copy link
Owner Author

iceiix commented May 30, 2019

"Solved" by disabling Travis-CI, but this regresses Linux and Mac continuous integration.

Signed up for https://buildkite.com/stevenarella but it requires running on your own infrastructure. Maybe an option, but more than I can setup right now. Next to try: https://circleci.com/setup-project/gh/iceiix/stevenarella

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant