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: Collect broker logs #488

Merged
merged 2 commits into from
Oct 30, 2024

Conversation

bbpetukhov
Copy link
Contributor

Describe your changes
In case when integration tests fail, the folder 'failure-logs' is created containing broker logs. Example log file is attached.
test_open_alarm_authorize_post[multi_node_fsm].log

This PR allows to upload 'failure-logs' folder as a pipeline artifact.

According to my experiments 'failure-logs' is created even on successful run. However if the folder exists, but is empty, it is not uploaded as artifact.

Testing performed

Screenshot 2024-10-29 202419

Screenshot 2024-10-29 202451

Additional context

@bbpetukhov bbpetukhov changed the title Collect broker logs CI: Collect broker logs Oct 29, 2024
@bbpetukhov bbpetukhov marked this pull request as ready for review October 30, 2024 11:08
@bbpetukhov bbpetukhov requested a review from a team as a code owner October 30, 2024 11:08
@678098 678098 self-assigned this Oct 30, 2024
@678098 678098 self-requested a review October 30, 2024 14:01
Copy link
Collaborator

@678098 678098 left a comment

Choose a reason for hiding this comment

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

Looks good!

@678098 678098 merged commit 8893588 into bloomberg:main Oct 30, 2024
30 of 31 checks passed
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