-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
[receiver/kubeletstats] Failing test: TestScraperWithNodeUtilization #33681
Comments
Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
I suspect this might be a timing issue with the node Informer, which is based on fake k8s client, not being updated fast enough before the first scrape. Filed #33685 to ensure that the assertion of the metrics happens after a first valid scrape. Hopefully this will cover the flakiness here. |
…hared Informer sync (#33685) **Description:** <Describe what has changed.> <!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> This PR introduces a "retry" check on the test that relies on the shared node informer. This retry will ensure that the first valid scrape will be after the informer has been "triggered" to handle the node's addition. **Link to tracking Issue:** <Issue number if applicable> Related to #33681. **Testing:** <Describe what testing was performed and which tests were added.> **Documentation:** <Describe the documentation added.> --------- Signed-off-by: ChrsMark <chrismarkou92@gmail.com> Co-authored-by: Tyler Helmuth <12352919+TylerHelmuth@users.noreply.github.com>
Hey @crobert-1 any way we can check if this has been actually fixed? |
I checked failures of the Thanks for fixing @ChrsMark! |
Component(s)
receiver/kubeletstats
Describe the issue you're reporting
Failing CI/CD action
Failure output:
The text was updated successfully, but these errors were encountered: