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

chore: tee coverage test stderr #27551

Merged
merged 2 commits into from
Sep 2, 2022

Conversation

yihau
Copy link
Member

@yihau yihau commented Sep 1, 2022

Problem

We can't read logs from a failed coverage test cuz we redirect stderr to a file. when it failed, it didn't upload the file.
This change will make this test become very noisy. It prints a lot of things due to RUST_LOG=solana=trace.

Summary of Changes

Tee target/cov/coverage-stderr.log

@yihau yihau marked this pull request as ready for review September 1, 2022 17:32
CriesofCarrots
CriesofCarrots previously approved these changes Sep 1, 2022
Copy link
Contributor

@CriesofCarrots CriesofCarrots left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@mergify mergify bot dismissed CriesofCarrots’s stale review September 2, 2022 10:49

Pull request has been modified.

@yihau
Copy link
Member Author

yihau commented Sep 2, 2022

forget to add --nocapture. the result is like
https://buildkite.com/solana-labs/solana/builds/81121

@yihau yihau merged commit 4071dc3 into solana-labs:master Sep 2, 2022
mergify bot pushed a commit that referenced this pull request Sep 3, 2022
* chore: tee coverage test stderr

* chore: add --no-capture

(cherry picked from commit 4071dc3)
mergify bot pushed a commit that referenced this pull request Sep 3, 2022
* chore: tee coverage test stderr

* chore: add --no-capture

(cherry picked from commit 4071dc3)
mergify bot added a commit that referenced this pull request Sep 3, 2022
chore: tee coverage test stderr (#27551)

* chore: tee coverage test stderr

* chore: add --no-capture

(cherry picked from commit 4071dc3)

Co-authored-by: Yihau Chen <[email protected]>
mergify bot added a commit that referenced this pull request Sep 3, 2022
chore: tee coverage test stderr (#27551)

* chore: tee coverage test stderr

* chore: add --no-capture

(cherry picked from commit 4071dc3)

Co-authored-by: Yihau Chen <[email protected]>
@yihau yihau deleted the tee-coverage-test-stderr branch July 17, 2024 07:34
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