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

setup-minikube: Cache Upload Failed Because File read failed with EBADF #235

Closed
MubashirUsman opened this issue Aug 22, 2023 · 1 comment · Fixed by #471
Closed

setup-minikube: Cache Upload Failed Because File read failed with EBADF #235

MubashirUsman opened this issue Aug 22, 2023 · 1 comment · Fixed by #471
Assignees

Comments

@MubashirUsman
Copy link

Hi, I am using a self hosted Github Runner on my local MacOS (version 12.3.1) and I receive this error during running of medyagh/setup-minikube@master:

Failed to save: uploadChunk (start: 33554432, end: 67108863) failed: Cache service responded with 503
/Users/mubahsirusman/Documents/k8slocal/actions-runner/_work/_actions/medyagh/setup-minikube/master/dist/index.js:827
throw new Error(`Cache upload failed because file read failed with ${error.message}`);
Error: Cache upload failed because file read failed with EBADF: bad file descriptor, read

at ReadStream.<anonymous> (/Users/mubahsirusman/Documents/k8slocal/actions-runner/_work/_actions/medyagh/setup-minikube/master/dist/index.js:827:31)

Sometimes the job runs successfully, can someone share some insight on what exactly is it doing and what is causing this error.

@spowelljr
Copy link
Collaborator

I'm not exactly sure what is causing this, but you can disable the usage of cache (which should resolve your issue) by setting the following in your GitHub Actions workflow file:

- uses: medyagh/setup-minikube@master
  with:
    cache: false

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 a pull request may close this issue.

2 participants