Skip to content

Disable SamplingProfilerTest.HeapSnapshot on macOS#31024

Open
ellabaron-code wants to merge 1 commit intoyugabyte:masterfrom
Shopify:disable-heap-snapshot-test-on-macos
Open

Disable SamplingProfilerTest.HeapSnapshot on macOS#31024
ellabaron-code wants to merge 1 commit intoyugabyte:masterfrom
Shopify:disable-heap-snapshot-test-on-macos

Conversation

@ellabaron-code
Copy link
Copy Markdown
Collaborator

@ellabaron-code ellabaron-code commented Apr 8, 2026

gperftools heap profiling is unreliable on macOS arm64: stack unwinding
only captures internal allocator frames (depth=1), and freed allocations
persist in heap snapshots returned by ReadStackTraces.


Phorge: D51953

  gperftools heap profiling is unreliable on macOS arm64: stack unwinding
  only captures internal allocator frames (depth=1), and freed allocations
  persist in heap snapshots returned by ReadStackTraces.
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request disables the HeapSnapshot test on macOS due to reliability issues with gperftools heap profiling on arm64 architectures. The review feedback suggests using a more targeted disabling mechanism if the test is stable on x86_64 and recommends including a link to a tracking issue for the platform-specific failure.

Comment thread src/yb/util/tcmalloc_profile-test.cc
@iSignal
Copy link
Copy Markdown
Contributor

iSignal commented Apr 9, 2026

trigger jenkins

@hari90
Copy link
Copy Markdown
Contributor

hari90 commented Apr 9, 2026

Phorge diff synced: D51953
Commit: 78a9ef4b

Jenkins build has been triggered. Results will be posted here once it completes.


JenkinsBot

@hari90
Copy link
Copy Markdown
Contributor

hari90 commented Apr 9, 2026

Jenkins build for commit 78a9ef4b: Pass

Passed: 9


🔨 DB Build/Test Job Summary

Build Total Passed Failed Failed After Retries
D51953-arm-mac14-clang-release 2 2 0 0
D51953-alma8-clang21-tsan 2 2 0 0
D51953-arm-alma8-clang21-release 10 10 0 0
D51953-alma8-clang21-release 10 10 0 0
D51953-mac14-clang-release 2 2 0 0
D51953-ubuntu22.04-clang21-debug 2 2 0 0
D51953-alma8-gcc12-fastdebug 10 10 0 0
D51953-alma9-clang21-asan 2 2 0 0

Full status


JenkinsBot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants