Skip to content
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

[CI] Print related kube resources state when tests failed #3069

Open
4 of 6 tasks
simotw opened this issue Feb 18, 2025 · 0 comments
Open
4 of 6 tasks

[CI] Print related kube resources state when tests failed #3069

simotw opened this issue Feb 18, 2025 · 0 comments
Labels
enhancement New feature or request triage

Comments

@simotw
Copy link
Contributor

simotw commented Feb 18, 2025

Search before asking

  • I had searched in the issues and found no similar feature requirement.

Description

According to the discussion on the flaky test ticket,
printing related resources may help debug future flaky tests.

The PR currently prints only the related jobs, pods, services, and RayJobs for a test.
I believe it would be better to

  1. make the resource logger composable,
  2. apply it to all tests, and print related resources based on test scenarios.

Use case

Debug all failed tests.

Related issues

stage 1, print related resources for ray-operator/test/sampleyaml/rayjob_test.go:

stage 2, print related resources for all tests under sampleyaml

stage 3, print related resources for all tests

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!
@simotw simotw added enhancement New feature or request triage labels Feb 18, 2025
@simotw simotw changed the title [CI] Print related resources state when tests failed [CI] Print related kube resources state when tests failed Feb 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request triage
Projects
None yet
Development

No branches or pull requests

1 participant