Skip to content

opentelemetry-test-utils: skip weaver tests on PyPy#5301

Closed
mwimpelberg28 wants to merge 1 commit into
open-telemetry:mainfrom
mwimpelberg28:fix/weaver-tests-pypy-5176
Closed

opentelemetry-test-utils: skip weaver tests on PyPy#5301
mwimpelberg28 wants to merge 1 commit into
open-telemetry:mainfrom
mwimpelberg28:fix/weaver-tests-pypy-5176

Conversation

@mwimpelberg28

Copy link
Copy Markdown
Contributor

Summary

Fixes #5176.

  • The weaver binary's gRPC C core crashes with SIGABRT (exit code -6) on PyPy due to an epoll_wait EBADF error in ev_epoll1_linux.cc. This is a known incompatibility between gRPC's epoll1 event engine and PyPy subprocesses that cannot be fixed from the Python side.
  • Skip both weaver test classes on PyPy using @unittest.skipIf(platform.python_implementation() == "PyPy", ...), consistent with how other gRPC-dependent tests are already excluded from PyPy in this repo (e.g., opencensus-shim).

Test plan

  • Verify pypy3-test-opentelemetry-test-utils now shows the weaver tests as skipped rather than failing/erroring
  • Verify py312-test-opentelemetry-test-utils (CPython) continues to run the weaver tests as before

🤖 Generated with Claude Code

@mwimpelberg28 mwimpelberg28 requested a review from a team as a code owner June 15, 2026 10:31
@linux-foundation-easycla

linux-foundation-easycla Bot commented Jun 15, 2026

Copy link
Copy Markdown

CLA Signed
The committers listed above are authorized under a signed CLA.

  • ✅ login: mwimpelberg28 / name: Matthew Wimpelberg (06b0414)

)

The weaver binary's gRPC C core crashes with SIGABRT (exit code -6) on
PyPy due to an epoll_wait EBADF error in ev_epoll1_linux.cc. This is a
known incompatibility between gRPC's epoll1 event engine and PyPy
subprocesses that cannot be fixed from the Python side.

Skip both weaver test classes on PyPy, consistent with how other
gRPC-dependent tests are excluded from PyPy in this repo.

Assisted-by: Claude Sonnet 4.6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Weaver tests are flaky on PyPy

1 participant