You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
denis-tingaikin
changed the title
Use log collector service as a cluster logs monitor to capturing logs from tests
Use a log collector service to capturing logs from tests
Mar 26, 2021
We have multiple issues regarding to the current logs capturing strategy:
We are not capturing logs for the test cleanup - if Client fails to Close the Connection for some reason, it affects subsequent tests, but there is nothing in logs for the initial failure.
We are not capturing logs for the previous-previous containers - if container restarts more than 1 time during the test, we will have logs only for the current and for the previous container run.
We are not capturing logs for the pods removed during the test - it affects all heal tests because we cannot get logs from the removed pod.
It doesn't look like fixing this from our side will be both working and good-looking, so +1 for using third-party tool for capturing logs.
Motivation
Currently, we are going to use #244 for capturing logs from containers in k8s.
This solution is not perfect because potentially this increases CI time and it is not resistant to changing tests.
Solution
Use some kind of logs collecting service as https://www.fluentd.org/architecture
The text was updated successfully, but these errors were encountered: