-
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/prometheusreceiver] Tests hitting timeouts intermittently on actuated-arm64 runs #32298
Comments
Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
Looks like a timeout. Is there a way to increase the timeout? |
I'm not sure if the actuated-arm64 runs will take longer or not |
My understanding is that test timeouts (other than integration tests) are all governed by the central It could be tested by opening a draft PR, increase the timeout, and run a number of times to check to make sure it just takes a little longer sometimes. I don't have much context for how strongly the timeout should be held to 5m vs. slightly longer. The alternative would be seeing if the test itself could be broken up or modified to not take as long to workaround the timeout. |
It looks like the overall test timed out, not the specific promethues test. I think this means the prometheus test had been running for 7 seconds? |
This one shows a different test failing, but the same error message:
It looks like this is more of a suite issue than individual test. 👍 Out of curiosity I checked the Ubuntu runner's runtime for these tests:
It looks like it's "barely" finishing in time, so it looks like more a timing issue than anything else to me, at this point. |
Fixes #32298 This PR modifies prometheusreceiver to allow to set the skipOffsetting option on its scrape option config. This option is private, so it can only be set by reflection. This removes the random offset to start added to scraping prometheus metrics, so we may get faster CI builds. --------- Co-authored-by: Alex Boten <223565+codeboten@users.noreply.github.com> Co-authored-by: David Ashpole <dashpole@google.com> Co-authored-by: Evan Bradley <11745660+evan-bradley@users.noreply.github.com>
Component(s)
receiver/prometheus
Describe the issue you're reporting
Failed run
Output:
The text was updated successfully, but these errors were encountered: