Skip to content

Reorganize e2e logs gathering#2064

Open
MaxBab wants to merge 1 commit into
istio-ecosystem:mainfrom
MaxBab:reorganize_e2e_logs_gathering
Open

Reorganize e2e logs gathering#2064
MaxBab wants to merge 1 commit into
istio-ecosystem:mainfrom
MaxBab:reorganize_e2e_logs_gathering

Conversation

@MaxBab

@MaxBab MaxBab commented Jul 2, 2026

Copy link
Copy Markdown
Collaborator

What type of PR is this?

  • Enhancement / New Feature
  • Bug Fix
  • Refactor
  • Optimization
  • Test
  • Documentation Update

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:

@istio-testing

Copy link
Copy Markdown
Collaborator

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@codecov

codecov Bot commented Jul 2, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 76.85%. Comparing base (249ee3d) to head (9fbf7ea).
⚠️ Report is 4 commits behind head on main.

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     
Flag Coverage Δ
integration-tests 69.53% <ø> (-0.42%) ⬇️
unit-tests 53.25% <ø> (+0.42%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@MaxBab MaxBab force-pushed the reorganize_e2e_logs_gathering branch from ecc251a to d36eb1e Compare July 2, 2026 18:04
@MaxBab MaxBab marked this pull request as ready for review July 2, 2026 18:04
@MaxBab MaxBab requested a review from a team as a code owner July 2, 2026 18:04
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>
@MaxBab MaxBab force-pushed the reorganize_e2e_logs_gathering branch from d36eb1e to 9fbf7ea Compare July 2, 2026 18:30
@MaxBab

MaxBab commented Jul 4, 2026

Copy link
Copy Markdown
Collaborator Author

/retest

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants