Reorganize e2e logs gathering#2064
Open
MaxBab wants to merge 1 commit into
Open
Conversation
Collaborator
|
Skipping CI for Draft Pull Request. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2064 +/- ##
==========================================
+ Coverage 76.46% 76.85% +0.39%
==========================================
Files 58 58
Lines 3199 3228 +29
==========================================
+ Hits 2446 2481 +35
+ Misses 613 609 -4
+ Partials 140 138 -2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
ecc251a to
d36eb1e
Compare
Modify the store hierarchy of the gathered logs to ease debugging. Store the logs in its own namespace. Each resource should be stored within separate file. - Move all log gathering functions into a separate file - Remove duplicate functions The new directories path would looks like the following: out/debug/default/ ├── istio-cni │ ├── daemonset-istio-cni-node-describe.txt │ ├── daemonset-istio-cni-node.yaml │ ├── events.txt │ ├── istiocni-cr.yaml │ ├── metrics.txt │ ├── pod-istio-cni-node-knh8p.log │ └── pods.txt ├── istio-system │ ├── configmap-istio.yaml │ ├── events.txt │ ├── istio-cr.yaml │ ├── metrics.txt │ ├── pod-istiod-6f4b5f5c86-7r8wf.log │ ├── pod-istio-eastwestgateway-7bb85d7bdd-gqfmt.log │ ├── pods.txt │ ├── proxy-status.txt │ └── secret-cacerts.yaml ├── sail-operator │ ├── deployment-sail-operator-describe.txt │ ├── deployment-sail-operator.yaml │ ├── events.txt │ ├── metrics.txt │ ├── pod-sail-operator-569ff5b549-48hrf.log │ └── pods.txt ├── sample ├── deployments.yaml ├── endpoints.yaml ├── events.txt ├── metrics.txt ├── namespace.yaml ├── networkpolicies.yaml ├── pod-helloworld-v1-844ff5b48f-c6s9g.log ├── pods-describe.txt ├── pod-sleep-6ff9d6b7b-fgck2.log ├── pods.txt └── services.yaml Signed-off-by: Maxim Babushkin <mbabushk@redhat.com>
d36eb1e to
9fbf7ea
Compare
Collaborator
Author
|
/retest |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What type of PR is this?
What this PR does / why we need it:
Modify the store hierarchy of the gathered logs to ease debugging. Store the logs in its own namespace.
Each resource should be stored within separate file.
The new directories path would looks like the following:
out/debug/default/
├── istio-cni
│ ├── daemonset-istio-cni-node-describe.txt
│ ├── daemonset-istio-cni-node.yaml
│ ├── events.txt
│ ├── istiocni-cr.yaml
│ ├── metrics.txt
│ ├── pod-istio-cni-node-knh8p.log
│ └── pods.txt
├── istio-system
│ ├── configmap-istio.yaml
│ ├── events.txt
│ ├── istio-cr.yaml
│ ├── metrics.txt
│ ├── pod-istiod-6f4b5f5c86-7r8wf.log
│ ├── pod-istio-eastwestgateway-7bb85d7bdd-gqfmt.log │ ├── pods.txt
│ ├── proxy-status.txt
│ └── secret-cacerts.yaml
├── sail-operator
│ ├── deployment-sail-operator-describe.txt
│ ├── deployment-sail-operator.yaml
│ ├── events.txt
│ ├── metrics.txt
│ ├── pod-sail-operator-569ff5b549-48hrf.log
│ └── pods.txt
├── sample
├── deployments.yaml
├── endpoints.yaml
├── events.txt
├── metrics.txt
├── namespace.yaml
├── networkpolicies.yaml
├── pod-helloworld-v1-844ff5b48f-c6s9g.log
├── pods-describe.txt
├── pod-sleep-6ff9d6b7b-fgck2.log
├── pods.txt
└── services.yaml
Which issue(s) this PR fixes:
Fixes #
Related Issue/PR #
Additional information: