Sudden Failures (npm install stalls, preparing cache 'could not download cache')

I’ve had successful builds previously up until today where my builds are now stalling with npm install having no output and a previous error message failing with could not download cache

I’m using the following:

language: node_js
dist: Jammy
node_js:
- 20.9.0

In the log I see this

Setting up build cache
$ export CASHER_DIR=${TRAVIS_HOME}/.casher
0.09s$ Installing caching utilities
0.00s2.21sattempting to download cache archive
fetching beta/cache--linux-jammy-e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855--node-20.9.0.tgz
fetching beta/cache-linux-jammy-e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855--node-20.9.0.tgz
fetching beta/cache--node-20.9.0.tgz
fetching master/cache--linux-jammy-e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855--node-20.9.0.tgz
fetching master/cache-linux-jammy-e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855--node-20.9.0.tgz
fetching master/cache--node-20.9.0.tgz
could not download cache

Not sure where the caches are being pulled from exactly and why it’s failing now when previous runs today were able to get past this point.

Also the build fails from >10 minutes of no output while running npm install as it looks like nothing is happening

1 Like

We have the same issue

Just to add, we are having the same issue on all of our nodejs services.
Specifically, the stalling and exits after 10 minutes, sometimes on webpack builds, or on karma test runs.

It seems that the builds stopped working sometime between April 12-14

As well, ru-running previously passing builds all fail. Our team has tried every possible solution that came to mind, but has so far come up empty as far as getting builds to pass.

1 Like