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

Add continue-on-error for cache step, and upgrade GH cache action #3133

Merged
merged 1 commit into from
Aug 20, 2020

Conversation

rnorth
Copy link
Member

@rnorth rnorth commented Aug 20, 2020

... to work around apparent problems with GitHub caching of the (post-build) cache push step.
e.g.

Post job cleanup.
/bin/tar -cz -f /home/runner/work/_temp/daec269c-22ea-41a1-a4eb-ede3c9cf30f1/cache.tgz -C /home/runner/.gradle/caches .
[warning]Cache service responded with 503 during chunk upload.
events.js:187
      throw er; // Unhandled 'error' event
      ^

Error: ESPIPE: invalid seek, read
Emitted 'error' event on ReadStream instance at:
    at internal/fs/streams.js:167:12
    at FSReqCallback.wrapper [as oncomplete] (fs.js:470:5) {
  errno: -29,
  code: 'ESPIPE',
  syscall: 'read'
}

This failure is obviously a problem with the caching system, and should not fail our build.

@rnorth rnorth merged commit 37df788 into master Aug 20, 2020
@rnorth rnorth deleted the continue-on-error-for-cache branch August 20, 2020 08:05
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.

None yet

2 participants