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

Check deleted metrics form the test ns #4159

Merged
merged 1 commit into from
Feb 6, 2025

Conversation

mykysha
Copy link
Contributor

@mykysha mykysha commented Feb 6, 2025

What type of PR is this?

/kind failing-test
/kind flake

What this PR does / why we need it:

Strictly check the deleted metrics from the test environment. This way the test will target only the metrics from the current test run, and ignore the metrics that might not have been cleared previously.

Which issue(s) this PR fixes:

Part of #4139

Special notes for your reviewer:

Does this PR introduce a user-facing change?

NONE

@k8s-ci-robot k8s-ci-robot added release-note-none Denotes a PR that doesn't merit a release note. kind/failing-test Categorizes issue or PR as related to a consistently or frequently failing test. kind/flake Categorizes issue or PR as related to a flaky test. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Feb 6, 2025
@k8s-ci-robot k8s-ci-robot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Feb 6, 2025
Copy link

netlify bot commented Feb 6, 2025

Deploy Preview for kubernetes-sigs-kueue canceled.

Name Link
🔨 Latest commit c68fdf9
🔍 Latest deploy log https://app.netlify.com/sites/kubernetes-sigs-kueue/deploys/67a4926ee373cb0008a6b23e

@mszadkow
Copy link
Contributor

mszadkow commented Feb 6, 2025

looks good

@mykysha
Copy link
Contributor Author

mykysha commented Feb 6, 2025

Have removed improvements to the log verbosity from here, will create another PR just for that

@mimowo
Copy link
Contributor

mimowo commented Feb 6, 2025

IIUC this PR also aims to improve the error messages which is great!

Please post example failure messages when the tests fail by inducing a failure due to invalid asserts.

Please also describe what is the actual root cause for the flakes.

EDIT: oh I see you moved the error message improvement out of the PR - this is even better to understand what is the purpose of every change. Thanks!

@mbobrovskyi
Copy link
Contributor

/retest

Created an issue #4160.

@mbobrovskyi
Copy link
Contributor

/lgtm
Thanks!

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Feb 6, 2025
@k8s-ci-robot
Copy link
Contributor

LGTM label has been added.

Git tree hash: 4b0718a932500915e69ee2bfe093df0dc0b3d021

@mimowo
Copy link
Contributor

mimowo commented Feb 6, 2025

Strictly check the deleted metrics from the test environment. This way the test will target only the metrics from the current test run, and ignore the metrics that might not have been cleared previously.

Indeed, after de-coupling the change it becomes quite easy to see the culprit.

/approve

Still, please follow up with the logging improvements.

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: mimowo, mykysha

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Feb 6, 2025
@k8s-ci-robot k8s-ci-robot merged commit 8541885 into kubernetes-sigs:main Feb 6, 2025
18 checks passed
@k8s-ci-robot k8s-ci-robot added this to the v0.11 milestone Feb 6, 2025
@mykysha mykysha deleted the fix/flaky-metrics branch February 6, 2025 11:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/failing-test Categorizes issue or PR as related to a consistently or frequently failing test. kind/flake Categorizes issue or PR as related to a flaky test. lgtm "Looks good to me", indicates that a PR is ready to be merged. release-note-none Denotes a PR that doesn't merit a release note. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants