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

qa: pipe stderr to stdout, not PIPE #1257

Merged
merged 1 commit into from
Sep 4, 2024

Conversation

darosior
Copy link
Member

@darosior darosior commented Sep 4, 2024

It turns out that setting both to PIPE would result in stderr not being read for some reason. So follow
https://docs.python.org/3/library/subprocess.html and set stdout to PIPE and stderr to STDOUT.

Tested with a process (electrs) which logs on stderr.

It turns out that setting both to PIPE would result in stderr not being
read for some reason. So follow
https://docs.python.org/3/library/subprocess.html and set stdout to PIPE
and stderr to STDOUT.

Tested with a process (electrs) which logs on stderr.
@darosior darosior marked this pull request as ready for review September 4, 2024 09:25
@darosior
Copy link
Member Author

darosior commented Sep 4, 2024

ACK 26ade7e -- tested by running the functional tests in parallel for #1222 and could correctly get the logs to debug the issue.

@darosior darosior merged commit 1b7bb94 into wizardsardine:master Sep 4, 2024
21 checks passed
@darosior darosior deleted the 2409_qa_stderr_logs branch September 4, 2024 09:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

1 participant