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

[PROF-10589] Add more details to flaky profiler spec #3980

Merged
merged 1 commit into from
Oct 7, 2024

Conversation

ivoanjo
Copy link
Member

@ivoanjo ivoanjo commented Oct 7, 2024

What does this PR do?

I've been hunting down a flaky profiler test that was added as part of the new GVL profiling feature.

Here's how it looks:
https://app.circleci.com/pipelines/github/DataDog/dd-trace-rb/16712/workflows/f2e30fe0-c1e5-4e87-b228-4eec53d41017/jobs/599762

I haven't been able to reproduce the issue locally, so I'm adding more information that will hopefully point the way the next time the spec is flaky again.

Motivation:

Hunt down flaky spec.

Additional Notes:

Thanks for the patience for the other folks on the team. If I really can't figure this one, I'll disable the spec, but I'm hoping this extra info points the way to solving the issue and keeping the spec (since I do believe this spec offers value -- as it tests the GVL profiling feature end-to-end, profiling a real Ruby thread during the testcase).

How to test the change?

This change only shows up once the test fails. So for now a green CI is good, and a red CI with the flaky issue is even better.

**What does this PR do?**

I've been hunting down a flaky profiler test that was added as part
of the new GVL profiling feature.

Here's how it looks:
https://app.circleci.com/pipelines/github/DataDog/dd-trace-rb/16712/workflows/f2e30fe0-c1e5-4e87-b228-4eec53d41017/jobs/599762

I haven't been able to reproduce the issue locally, so I'm adding
more information that will hopefully point the way the next time
the spec is flaky again.

**Motivation:**

Hunt down flaky spec.

**Additional Notes:**

Thanks for the patience for the other folks on the team. If I really
can't figure this one, I'll disable the spec, but I'm hoping this
extra info points the way to solving the issue and keeping the spec
(since I do believe this spec offers value -- as it tests
the GVL profiling feature end-to-end, profiling a real Ruby thread
during the testcase).

**How to test the change?**

This change only shows up once the test fails. So for now
a green CI is good, and a red CI with the flaky issue is even better.
@ivoanjo ivoanjo requested a review from a team as a code owner October 7, 2024 15:44
@ivoanjo ivoanjo added dev/testing Involves testing processes (e.g. RSpec) profiling Involves Datadog profiling dev/internal Other internal work that does not need to be included in the changelog labels Oct 7, 2024
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.85%. Comparing base (56038a3) to head (627b972).
Report is 2 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3980      +/-   ##
==========================================
- Coverage   97.86%   97.85%   -0.01%     
==========================================
  Files        1313     1313              
  Lines       78369    78370       +1     
  Branches     3888     3888              
==========================================
- Hits        76694    76692       -2     
- Misses       1675     1678       +3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ivoanjo ivoanjo enabled auto-merge October 7, 2024 16:25
@ivoanjo ivoanjo merged commit 94cfe27 into master Oct 7, 2024
246 of 250 checks passed
@ivoanjo ivoanjo deleted the ivoanjo/flaky-gvl-profiling-test-add-more-details branch October 7, 2024 16:49
@github-actions github-actions bot added this to the 2.4.0 milestone Oct 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dev/internal Other internal work that does not need to be included in the changelog dev/testing Involves testing processes (e.g. RSpec) profiling Involves Datadog profiling
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants