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

Bump the benchmark timeout for benchmark_action_client #1671

Merged
merged 1 commit into from
May 13, 2021

Conversation

cottsay
Copy link
Member

@cottsay cottsay commented May 13, 2021

Pausing and resuming the measurement inside the timing loop can cause the initial run duration calculation to underestimate how long the benchmark is taking to run, which results in the recorded run taking a lot longer than it should. This is a known issue in libbenchmark.

This test is affected by that behavior, and typically takes a bit longer than the others. The easiest thing to do right now is to just bump the timeout. My tests show that 180 seconds is typically sufficient for this test, so 240 should be a safe point to conclude that the test is malfunctioning.

This test has been timing out for the past 121 consecutive attempts in Rolling: https://build.ros2.org/view/Rci/job/Rci__benchmark_ubuntu_focal_amd64/370/testReport/junit/projectroot.test/benchmark/benchmark_action_client/

Build Status

Pausing and resuming the measurement inside the timing loop can cause
the initial run duration calculation to underestimate how long the
benchmark is taking to run, which results in the recorded run taking a
lot longer than it should. This is a known issue in libbenchmark.

This test is affected by that behavior, and typically takes a bit longer
than the others. The easiest thing to do right now is to just bump the
timeout. My tests show that 180 seconds is typically sufficient for this
test, so 240 should be a safe point to conclude that the test is
malfunctioning.

Signed-off-by: Scott K Logan <logans@cottsay.net>
@cottsay cottsay added the bug Something isn't working label May 13, 2021
@cottsay cottsay self-assigned this May 13, 2021
@cottsay cottsay merged commit f245b4c into master May 13, 2021
@delete-merged-branch delete-merged-branch bot deleted the cottsay/benchmark_timeout branch May 13, 2021 19:10
@cottsay
Copy link
Member Author

cottsay commented May 13, 2021

@Mergifyio backport galactic

mergify bot pushed a commit that referenced this pull request May 13, 2021
Pausing and resuming the measurement inside the timing loop can cause
the initial run duration calculation to underestimate how long the
benchmark is taking to run, which results in the recorded run taking a
lot longer than it should. This is a known issue in libbenchmark.

This test is affected by that behavior, and typically takes a bit longer
than the others. The easiest thing to do right now is to just bump the
timeout. My tests show that 180 seconds is typically sufficient for this
test, so 240 should be a safe point to conclude that the test is
malfunctioning.

Signed-off-by: Scott K Logan <logans@cottsay.net>
(cherry picked from commit f245b4c)
@mergify
Copy link

mergify bot commented May 13, 2021

Command backport galactic: success

Backports have been created

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants