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

v4 fails sometimes with EPIPE after importing gpg key #1281

Closed
Jolg42 opened this issue Feb 8, 2024 · 2 comments
Closed

v4 fails sometimes with EPIPE after importing gpg key #1281

Jolg42 opened this issue Feb 8, 2024 · 2 comments
Assignees

Comments

@Jolg42
Copy link

Jolg42 commented Feb 8, 2024

It looks random, but actually happens in many runs in our repo since using v4:

What's annoying here is that instead of retrying for example, it fails and marks the tests as failed 😢

See for example
https://github.com/prisma/prisma/actions/runs/7832495939/job/21371481607?pr=23015#step:9:1
https://github.com/prisma/prisma/actions/runs/7832499421/job/21371504710?pr=22074#step:7:1

Run codecov/codecov-action@v4
==> linux OS detected
https://cli.codecov.io/latest/linux/codecov.SHA256SUM
==> Running version latest
==> Running version v0.4.6
==> Running command '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov create-commit'
/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov create-commit -C f3f4b820ff091d3e6fa6d99ab30ea6ed29599925
gpg: directory '/home/runner/.gnupg' created
gpg: keybox '/home/runner/.gnupg/pubring.kbx' created
gpg: /home/runner/.gnupg/trustdb.gpg: trustdb created
gpg: key 806BB28AED779869: public key "Codecov Uploader (Codecov Uploader Verification Key) <security@codecov.io>" imported
gpg: Total number processed: 1
gpg:               imported: 1

Error: write EPIPE
    at afterWriteDispatched (node:internal/stream_base_commons:160:15)
    at writeGeneric (node:internal/stream_base_commons:151:3)
    at Socket._writeGeneric (node:net:952:11)
    at Socket._write (node:net:964:8)
    at writeOrBuffer (node:internal/streams/writable:447:12)
    at _write (node:internal/streams/writable:389:10)
    at Socket.Writable.end (node:internal/streams/writable:665:17)
    at Socket.end (node:net:722:31)
    at module.exports (/home/runner/work/_actions/codecov/codecov-action/v4/node_modules/gpg/lib/spawnGPG.js:50:1)
    at Object.call (/home/runner/work/_actions/codecov/codecov-action/v4/node_modules/gpg/lib/gpg.js:28:1)
@Jolg42
Copy link
Author

Jolg42 commented Feb 8, 2024

It looks like a duplicate of #1280

I created the issue only a few seconds after 😄

@thomasrockhu-codecov
Copy link
Contributor

Closing as a dupe of #1280, thanks @Jolg42

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

No branches or pull requests

2 participants