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

dcrdtest: Detect early and abnormal dcrd process shutdown. #21

Merged
merged 1 commit into from
Apr 4, 2024

Conversation

jrick
Copy link
Member

@jrick jrick commented Apr 3, 2024

Avoids waiting for a 10m timeout in go test, that ultimately results in the test being killed without any debug information available read from stdout or stderr.

Avoids waiting for a 10m timeout in go test, that ultimately results in the
test being killed without any debug information available read from stdout or
stderr.
@jrick
Copy link
Member Author

jrick commented Apr 3, 2024

This helped me determine that dcrd was being called with --appdata (and other state directories) set to a read-only directory, and dying before writing anything to the ipc pipe (or even closing it wtf).

@davecgh davecgh merged commit 058929f into decred:master Apr 4, 2024
6 checks passed
@davecgh davecgh changed the title Detect early and abnormal dcrd process shutdown dcrdtest: Detect early and abnormal dcrd process shutdown. Apr 4, 2024
@jrick jrick deleted the detect_abnormal_shutdown branch April 4, 2024 00:37
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 this pull request may close these issues.

2 participants