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

ci: improve smoke test logging #3656

Merged
merged 2 commits into from
Jan 24, 2024
Merged

ci: improve smoke test logging #3656

merged 2 commits into from
Jan 24, 2024

Conversation

erwanor
Copy link
Member

@erwanor erwanor commented Jan 24, 2024

This PR change the smoke test workflow to independently capture and display logs produced by cometbft, pd, and the pcli/pclientd integration tests. This makes it easy to visualize and isolate the source of a smoke test failure.

It also sets a baseline of info level debugging for tracing statements, and debug level for network_integration tests.

Finally, it offers the opportunity for users to run the integration tests with maximum logging level by detecting if debug mode is enabled for this action run (see screenshot).

Screenshot 2024-01-24 at 11 37 50 AM

@erwanor erwanor requested a review from conorsch January 24, 2024 16:40
Copy link
Contributor

@conorsch conorsch left a comment

Choose a reason for hiding this comment

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

Big fan, thanks for taking the time!

@conorsch conorsch merged commit 82ae2e3 into main Jan 24, 2024
6 checks passed
@conorsch conorsch deleted the erwan/smoke_test_logging branch January 24, 2024 16:55
@conorsch conorsch mentioned this pull request Jan 24, 2024
conorsch pushed a commit that referenced this pull request Jan 24, 2024
There were a few problems with the changes in #3656. First, the YAML
workflow file was poorly indented, which caused the job not to be
evaluated, so we got a false green.

Beyond that, the wrapper script needed handling for an undefined var,
and a tweak to the backgrounding/logging changes. All are updated, and
this change passes locally.
conorsch pushed a commit that referenced this pull request Jan 24, 2024
There were a few problems with the changes in #3656. First, the YAML
workflow file was poorly indented, which caused the job not to be
evaluated, so we got a false green.

Beyond that, the wrapper script needed handling for an undefined var,
and a tweak to the backgrounding/logging changes. All are updated, and
this change passes locally.
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