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

[NO-TICKET] Re-enable ASAN memory leaks testing #4086

Merged
merged 1 commit into from
Nov 7, 2024

Conversation

ivoanjo
Copy link
Member

@ivoanjo ivoanjo commented Nov 7, 2024

What does this PR do?

This PR re-enables the memory leak testing using the asan tool job in CI.

For context, we added this testing in #3864 (more details about what asan is can be found in that PR), but had to disable it in #3915 as the upstream Ruby builds we were using were broken and unavailable for a while.

This has since been fixed upstream, and so let's re-enable this CI job.

In fact, upstream now officially allows these builds to be used, so we no longer even need our fork of setup-ruby to enable them.

Motivation:

Improve our testing for native memory leaks.

Change log entry

(Not relevant, testing-only)

Additional Notes:

N/A

How to test the change?

Validate that the "test-asan" is now running in CI. Here's a successful run on "test-asan" in CI with this branch: https://github.com/DataDog/dd-trace-rb/actions/runs/11726300446/job/32664597998 .

**What does this PR do?**

This PR re-enables the memory leak testing using the asan tool job in
CI.

For context, we added this testing in #3864 (more details about what
asan is can be found in that PR), but had to disable it in #3915
as the upstream Ruby builds we were using were broken and unavailable
for a while.

This has since been fixed upstream, and so let's re-enable this CI job.

In fact, upstream now officially allows these builds to be used, so
we no longer even need our fork of `setup-ruby` to enable them.

**Motivation:**

Improve our testing for native memory leaks.

**Additional Notes:**

N/A

**How to test the change?**

Validate that the "test-asan" is now running in CI.
@ivoanjo ivoanjo added dev/testing Involves testing processes (e.g. RSpec) dev/internal Other internal work that does not need to be included in the changelog labels Nov 7, 2024
@ivoanjo ivoanjo requested a review from a team as a code owner November 7, 2024 15:41
@github-actions github-actions bot added the dev/github Github repository maintenance and automation label Nov 7, 2024
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.73%. Comparing base (d7cd566) to head (f1cd362).
Report is 10 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4086      +/-   ##
==========================================
+ Coverage   97.72%   97.73%   +0.01%     
==========================================
  Files        1338     1338              
  Lines       80251    80259       +8     
  Branches     4017     4017              
==========================================
+ Hits        78428    78445      +17     
+ Misses       1823     1814       -9     

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

@pr-commenter
Copy link

pr-commenter bot commented Nov 7, 2024

Benchmarks

Benchmark execution time: 2024-11-07 16:21:44

Comparing candidate commit f1cd362 in PR branch ivoanjo/re-enable-asan-testing with baseline commit f679de4 in branch master.

Found 0 performance improvements and 0 performance regressions! Performance is the same for 29 metrics, 2 unstable metrics.

@ivoanjo ivoanjo merged commit 2224fe4 into master Nov 7, 2024
267 checks passed
@ivoanjo ivoanjo deleted the ivoanjo/re-enable-asan-testing branch November 7, 2024 16:23
@github-actions github-actions bot added this to the 2.7.0 milestone Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dev/github Github repository maintenance and automation dev/internal Other internal work that does not need to be included in the changelog dev/testing Involves testing processes (e.g. RSpec)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants