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

Output network-test logs into files in CI #6355

Open
wants to merge 6 commits into
base: unstable
Choose a base branch
from

Conversation

ackintosh
Copy link
Member

@ackintosh ackintosh commented Sep 4, 2024

Issue Addressed

#6322 (comment)

We need the logs when debugging network test errors in CI. However, there's a problem of log interleaving if we run tests concurrently.

Proposed Changes

Added ci_logger feature flag, which enables outputting logs to files for each test. Also added an Upload logs step to the network-tests job, where the log files are uploaded as GitHub Artifacts.

The uploaded log files (Artifacts) can be downloaded from Summary page of the CI run.

image

@ackintosh ackintosh added the work-in-progress PR is a work-in-progress label Sep 4, 2024
@ackintosh ackintosh changed the title Output logs into files in CI Output network-test logs into files in CI Sep 5, 2024
@ackintosh ackintosh marked this pull request as ready for review September 5, 2024 13:50
@ackintosh ackintosh added ready-for-review The code is ready for review and removed work-in-progress PR is a work-in-progress labels Sep 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-for-review The code is ready for review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant