-
Notifications
You must be signed in to change notification settings - Fork 9.8k
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
Robustness tests etcd logs should go to artifacts and not spam output #15079
Comments
Hey @serathius, I would like to start contributing to etcd with this issue. |
This issue is about changing https://github.com/etcd-io/etcd/blob/ee566c492bb2e0962068a531666c68e1c39d3723/pkg/expect/expect.go package to support writing to files. |
Is anyone looking at this ? If not, I can attempt to add the capability. |
Hi @pchan there are no work in progress pull requests linked so feel free to work on it, I have assigned the issue to you, thanks! :) |
To give better idea on how it should work. I think we should add support for an environment variable |
Adding a new flag to retain e2e etcd process logs after stop and saving next to the visualized model. Spun out of etcd-io#16018 where I used it for easier local debugging on model violations. Fixes etcd-io#15079 partially. Signed-off-by: Thomas Jungblut <tjungblu@redhat.com>
Adding a new flag to retain e2e etcd process logs after stop and saving next to the visualized model. Spun out of etcd-io#16018 where I used it for easier local debugging on model violations. Fixes etcd-io#15079 partially. Signed-off-by: Thomas Jungblut <tjungblu@redhat.com>
Adding a set of functions which retain e2e etcd process logs after stop and saving next to the visualized model during robustness tests. Spun out of etcd-io#16018 where I used it for easier local debugging on model violations. Fixes etcd-io#15079 partially. Signed-off-by: Thomas Jungblut <tjungblu@redhat.com>
This issue has been automatically marked as stale because it has not had recent activity. It will be closed after 21 days if no further activity occurs. Thank you for your contributions. |
Hi @pchan, is there any progress on this? Feel free to flush the local changes as a drafted PR even if it is not yet fully ready for review.
|
Note, with migration to Prow this might not be needed. Prow is much much better in handling logs. #18136 |
What would you like to be added?
In Linearizability action we use EXPECT_DEBUG=true to get logs to stdout. Because of continious failpoint injection their volume is overwhelming. Better approach would be to redirect logs to file and upload them to artifacts on failed test.
Why is this needed?
Should improve clarity and performance of "Linearizability" test action.
The text was updated successfully, but these errors were encountered: