Chocobo1 / setup-ccache-action

Setup ccache easily in your workflow, with all the tuning knobs you need!
MIT License
12 stars 4 forks source link

Cache upload failed - ESPIPE: invalid seek #7

Closed silverqx closed 2 years ago

silverqx commented 2 years ago

Hi @Chocobo1, today all my ccache actions calls started failing, it's a first time I see any problem with this action.

Here is the link to the failed action.

It fails with this error:

Error: Cache upload failed because file read failed with ESPIPE: invalid seek, read
    at ReadStream.<anonymous> (/home/runner/work/_actions/Chocobo1/setup-ccache-action/v1/dist/webpack:/@Chocobo1/setup-ccache-action/node_modules/@actions/cache/lib/internal/cacheHttpClient.js:180:1)

Do your ccache actions work?

silverqx commented 2 years ago

Already works

silverqx commented 2 years ago

But still only some pipelines, do you know what it means?

silverqx commented 2 years ago

I have another error:

 Error: Cache upload failed because file read failed with EBADF: bad file descriptor, read
      at ReadStream.<anonymous> (/home/runner/work/_actions/Chocobo1/setup-ccache-action/v1/dist/webpack:/@Chocobo1/setup-ccache-action/node_modules/@actions/cache/lib/internal/cacheHttpClient.js:180:1)

It looks like the storage array is failing? How can I workaround this, should I disable ccache for a while?

Chocobo1 commented 2 years ago

From your build log:

Warning: uploadChunk (start: 0, end: 33554431) failed: Cache service responded with 503

I think it is github having some hiccups, probably some reliability issues. They should be resolved in no time.

I have another error: Error: Cache upload failed because file read failed with EBADF: bad file descriptor, read

I think it is the same as above, github hiccups.

However I consider this ccache action shouldn't error out on this kind of issue. I have pushed an update to suppress the errors.

silverqx commented 2 years ago

However I consider this ccache action shouldn't error out on this kind of issue. I have pushed an update to suppress the errors.

Ok, thx, all my CI finished successfully now.