Skip to content

Try fix occasional symbolize_elf_no_permission() failures#1471

Merged
d-e-s-o merged 1 commit intolibbpf:mainfrom
d-e-s-o:topic/v1-test
Feb 5, 2026
Merged

Try fix occasional symbolize_elf_no_permission() failures#1471
d-e-s-o merged 1 commit intolibbpf:mainfrom
d-e-s-o:topic/v1-test

Conversation

@d-e-s-o
Copy link
Collaborator

@d-e-s-o d-e-s-o commented Feb 5, 2026

Very rarely, the symbolize_elf_no_permission() test fails in CI (attempts to reproduce the failure locally have not been successful), apparently with a segfault in the child process. It is unclear why that would be, but General Claude hypothesized that it could be due to a lack of running of atexit handlers (due to test-fork hard-exiting), potentially installed by the tracing infrastructure (the test uses some errors paths that could render it "special").
In an attempt to confirm this hypothesis, switch over to using the default #[test] attribute for said test and wait for reproductions.

Very rarely, the symbolize_elf_no_permission() test fails in CI
(attempts to reproduce the failure locally have not been successful),
apparently with a segfault in the child process. It is unclear why that
would be, but General Claude hypothesized that it could be due to a lack
of running of atexit handlers (due to test-fork hard-exiting),
potentially installed by the tracing infrastructure (the test uses some
errors paths that could render it "special").
In an attempt to confirm this hypothesis, switch over to using the
default #[test] attribute for said test and wait for reproductions.

Signed-off-by: Daniel Müller <deso@posteo.net>
@d-e-s-o d-e-s-o enabled auto-merge (rebase) February 5, 2026 01:06
@d-e-s-o d-e-s-o merged commit 554fc1b into libbpf:main Feb 5, 2026
42 checks passed
@codecov
Copy link

codecov bot commented Feb 5, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.47%. Comparing base (0b45e93) to head (d814a58).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1471   +/-   ##
=======================================
  Coverage   95.47%   95.47%           
=======================================
  Files          52       52           
  Lines        8947     8947           
=======================================
  Hits         8542     8542           
  Misses        405      405           

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@danielocfb danielocfb deleted the topic/v1-test branch February 6, 2026 21:45
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.

1 participant