-
Notifications
You must be signed in to change notification settings - Fork 35
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
Collect logs from all containers and add log to test properties. #306
Collect logs from all containers and add log to test properties. #306
Conversation
259d61c
to
f3cf442
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should collect logs for all containers. Later we should also add links to the logs to the properties stored in the xUnit report.
This commit specifies the container to collect the logs from when there are more than one run contaienrs exit.
This commit updates the logics to save logs from all containers to the original directory. The name of the logs follows the format: pod-name-container-name.log. This commit also add log url to the properties if the log url prefix is provided.
f3cf442
to
24fdf4d
Compare
Updated the pr per comment. Verified by running experimental CI, details can be found in the bug. Also verified that not providing the |
0c8bdc4
to
ffe8a5e
Compare
ffe8a5e
to
65ccbc9
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remember to update the PR description.
ee5cef9
to
02bc620
Compare
02bc620
to
a89bad8
Compare
This PR updated the infrastructure to save logs to file from all existing container which produces logs. We have also separate the property generation of name property and log properties to avoid dependencies.
We also add the log link to the Xunit reports when there are pod logs.