actions / upload-artifact

MIT License
3.01k stars 683 forks source link

[bug] seeing in v4: com.esotericsoftware.kryo.KryoException: Buffer underflow #476

Closed jingwei99 closed 6 months ago

jingwei99 commented 6 months ago

What happened?

In v4, I've seen com.esotericsoftware.kryo.KryoException: Buffer underflow for file write, and it doesn't happen for the same configuration for v3.

What did you expect to happen?

File gets uploaded without issue.

How can we reproduce it?

Link to the console output of the github action run.

The issue doesn't repro when switched back to v3.

Anything else we need to know?

No response

What version of the action are you using?

v4

What are your runner environments?

macos

Are you on GitHub Enterprise Server? If so, what version?

No response

konradpabjan commented 6 months ago

Upload happens after the exception already occurs. This should not be related in any way. v3 and v4 don't do anything before they run

Image

Have you been able to reproduce this on multiple occasions?

jingwei99 commented 6 months ago

Hi Konrad 👋 , thanks for looking into this, and for the screenshot.

I have made another try: 1) opened a PR, and change the upload action to v4, the same failure reproduced: link to the run 2) update the PR, and revert the upload action to v3, the run succeeds, link to the run

jingwei99 commented 6 months ago

Hey @konradpabjan did you get a chance to look 🙏

jingwei99 commented 6 months ago

Update, ran into the error a few times recently, and saw more symptoms, I think github action version is unrelated to the error. Will close this report!