-
Notifications
You must be signed in to change notification settings - Fork 98
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
Bug 1961067: Collect full pod log for stack traces #421
Bug 1961067: Collect full pod log for stack traces #421
Conversation
Skipping CI for Draft Pull Request. |
2fea71d
to
8abde71
Compare
4561950
to
eeed9fa
Compare
This adds the capability to collect full container logs if the partial log contains possible stack traces. removing maxbytes and using buf.cap instead Improve stack trace detector regex Gets better log when it found stacktrace message on it
eeed9fa
to
6c35f0e
Compare
@rluders: This pull request references Bugzilla bug 1961067, which is valid. The bug has been moved to the POST state. The bug has been updated to refer to the pull request using the external bug tracker. 3 validation(s) were run on this bug
Requesting review from QA contact: In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
@rluders: This pull request references Bugzilla bug 1961067, which is valid. 3 validation(s) were run on this bug
Requesting review from QA contact: In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
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.
/lgtm
I tested locally that the IO runs and generates archives without errors.
Could you please fix the PR description a bit? It contains the default paths from the template.
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: natiiix, rluders The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/retest Please review the full test history for this PR and help us cut down flakes. |
1 similar comment
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
1 similar comment
/retest Please review the full test history for this PR and help us cut down flakes. |
@rluders: This pull request references Bugzilla bug 1961067, which is valid. 3 validation(s) were run on this bug
Requesting review from QA contact: In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
@rluders: All pull requests linked via external trackers have merged: Bugzilla bug 1961067 has been moved to the MODIFIED state. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
This PR adds the capability to collect full container logs if the partial log contains possible stack traces.
Categories
Sample archive
None.
Documentation
None.
Unit Tests
pkg/gatherers/clusterconfig/operators_pods_and_events_test.go
Privacy
Yes. There are no sensitive data in the newly collected information.
Changelog
None.
References
https://issues.redhat.com/browse/CCXDEV-4600
https://bugzilla.redhat.com/show_bug.cgi?id=1961067