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

Daemon CapTP EPIPE on write #2242

Open
kriskowal opened this issue Apr 24, 2024 · 0 comments
Open

Daemon CapTP EPIPE on write #2242

kriskowal opened this issue Apr 24, 2024 · 0 comments
Labels
bug Something isn't working daemon Issues pertaining the the pet dæmon 🐈‍⬛ metamask

Comments

@kriskowal
Copy link
Member

Describe the bug

Example https://github.com/endojs/endo/actions/runs/8806498315/job/24171474175

Daemon tests exercising CapTP occasionally exhibit a failure due to dangling bytes after closing a connection or EPIPE when writing a connection while shutting down. These occur most frequently for Windows CI, then Linux CI, and then rarely but occasionally in local development.

Steps to reproduce

Investigate above CI failure. The problem appears to occur due to timing during CapTP connection shutdown.

Expected behavior

Daemon should gracefully exit and should tolerate various patterns of disconnection.

Platform environment

All, with varying frequency.

Additional context

Screenshots

@kriskowal kriskowal added the bug Something isn't working label Apr 24, 2024
@kriskowal kriskowal mentioned this issue Apr 24, 2024
2 tasks
@kriskowal kriskowal added metamask daemon Issues pertaining the the pet dæmon 🐈‍⬛ labels Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working daemon Issues pertaining the the pet dæmon 🐈‍⬛ metamask
Projects
None yet
Development

No branches or pull requests

1 participant