Home - Summaries: (main) : (py3.11) : (py3.12) : Everything - Nightly builds - Benchmarks - RPython - Builders - About

lib-python/3/test/test_monitoring.py::unmodified

== PyPy 3.12.13 (a3a6d7514da3, Sep 02 2026, 06:15:29) [PyPy 8.0.0-alpha0 with GCC 14.2.1 20250110 (Red Hat 14.2.1-11)]
== Linux-6.1.0-51-amd64-x86_64-with-glibc2.28 little-endian
== Python build: release with_assert
== cwd: /tmp/pytest/test_python_worker_2750713æ
== CPU count: 4
== encodings: locale=UTF-8 FS=utf-8
== resources (3): curses,gui,network

Using random seed: 2291141525
0:00:00 load avg: 0.81 Run 1 test sequentially in a single process
0:00:00 load avg: 0.81 [1/1] test_monitoring
test_async_for (test.test_monitoring.ExceptionMonitoringTest.test_async_for) ... ok
test_explicit_reraise (test.test_monitoring.ExceptionMonitoringTest.test_explicit_reraise) ... ok
test_explicit_reraise_named (test.test_monitoring.ExceptionMonitoringTest.test_explicit_reraise_named) ... ok
test_implicit_reraise (test.test_monitoring.ExceptionMonitoringTest.test_implicit_reraise) ... ok
test_implicit_reraise_named (test.test_monitoring.ExceptionMonitoringTest.test_implicit_reraise_named) ... ok
test_implicit_stop_iteration (test.test_monitoring.ExceptionMonitoringTest.test_implicit_stop_iteration) ... ok
test_simple_try_except (test.test_monitoring.ExceptionMonitoringTest.test_simple_try_except) ... ok
test_throw (test.test_monitoring.ExceptionMonitoringTest.test_throw) ... ok
test_try_finally (test.test_monitoring.ExceptionMonitoringTest.test_try_finally) ... ok
test_branch (test.test_monitoring.LineMonitoringTest.test_branch) ... ok
test_linear (test.test_monitoring.LineMonitoringTest.test_linear) ... ok
test_lines_loop (test.test_monitoring.LineMonitoringTest.test_lines_loop) ... ok
test_lines_single (test.test_monitoring.LineMonitoringTest.test_lines_single) ... ok
test_lines_two (test.test_monitoring.LineMonitoringTest.test_lines_two) ... ok
test_try_except (test.test_monitoring.LineMonitoringTest.test_try_except) ... ok
test_has_objects (test.test_monitoring.MonitoringBasicTest.test_has_objects) ... ok
test_tool (test.test_monitoring.MonitoringBasicTest.test_tool) ... ok
test_c_return_count (test.test_monitoring.MonitoringCountTest.test_c_return_count) ... ok
test_call_count (test.test_monitoring.MonitoringCountTest.test_call_count) ... ok
test_resume_count (test.test_monitoring.MonitoringCountTest.test_resume_count) ... ok
test_return_count (test.test_monitoring.MonitoringCountTest.test_return_count) ... FAIL
test_return_count (test.test_monitoring.MonitoringCountTest.test_return_count) ... FAIL
test_start_count (test.test_monitoring.MonitoringCountTest.test_start_count) ... FAIL
test_caught (test.test_monitoring.MonitoringEventsTest.test_caught) ... FAIL
test_just_call (test.test_monitoring.MonitoringEventsTest.test_just_call) ... FAIL
test_just_pass (test.test_monitoring.MonitoringEventsTest.test_just_pass) ... FAIL
test_just_raise (test.test_monitoring.MonitoringEventsTest.test_just_raise) ... FAIL
test_nested_call (test.test_monitoring.MonitoringEventsTest.test_nested_call) ... FAIL
test_disable (test.test_monitoring.MontoringDisableAndRestartTest.test_disable) ... FAIL
test_restart (test.test_monitoring.MontoringDisableAndRestartTest.test_restart) ... FAIL
test_three_same (test.test_monitoring.MultipleMonitorsTest.test_three_same) ... FAIL
test_two_different (test.test_monitoring.MultipleMonitorsTest.test_two_different) ... FAIL
test_two_same (test.test_monitoring.MultipleMonitorsTest.test_two_same) ... FAIL
test_two_with_disable (test.test_monitoring.MultipleMonitorsTest.test_two_with_disable) ... FAIL
test_with_instruction_event (test.test_monitoring.MultipleMonitorsTest.test_with_instruction_event)
Test that the second tool can set events with instruction events set by the first tool. ... FAIL
test_balanced (test.test_monitoring.SimulateProfileTest.test_balanced) ... skipped "PyPy: list.append etc. expose as method/function, not builtin_function_or_method (cpython_differences.rst 'method-types'), so PY_CALLABLES misclassifies them as Python calls"
test_frame_stack (test.test_monitoring.SimulateProfileTest.test_frame_stack) ... skipped "PyPy: list.append etc. expose as method/function, not builtin_function_or_method (cpython_differences.rst 'method-types'), so PY_CALLABLES misclassifies them as Python calls"
test_except_star (test.test_monitoring.TestBranchAndJumpEvents.test_except_star) ... FAIL
test_loop (test.test_monitoring.TestBranchAndJumpEvents.test_loop) ... FAIL
test_disable_illegal_events (test.test_monitoring.TestDisable.test_disable_illegal_events) ... FAIL
test_disable_legal_events (test.test_monitoring.TestDisable.test_disable_legal_events) ... FAIL
test_call_then_instruction (test.test_monitoring.TestInstallIncrementally.test_call_then_instruction) ... FAIL
test_instruction_then_call (test.test_monitoring.TestInstallIncrementally.test_instruction_then_call) ... FAIL
test_instruction_then_line (test.test_monitoring.TestInstallIncrementally.test_instruction_then_line) ... FAIL
test_line_then_instruction (test.test_monitoring.TestInstallIncrementally.test_line_then_instruction) ... FAIL
test_c_call (test.test_monitoring.TestLineAndInstructionEvents.test_c_call) ... FAIL
test_simple (test.test_monitoring.TestLineAndInstructionEvents.test_simple) ... FAIL
test_try_except (test.test_monitoring.TestLineAndInstructionEvents.test_try_except) ... FAIL
test_with_restart (test.test_monitoring.TestLineAndInstructionEvents.test_with_restart) ... FAIL
test_attr (test.test_monitoring.TestLoadSuperAttr.test_attr) ... skipped 'PyPy: no LOAD_SUPER_ATTR opcode, super() compiles via plain CALL'
test_method_call (test.test_monitoring.TestLoadSuperAttr.test_method_call) ... skipped 'PyPy: no LOAD_SUPER_ATTR opcode, super() compiles via plain CALL'
test_method_call_error (test.test_monitoring.TestLoadSuperAttr.test_method_call_error) ... skipped 'PyPy: no LOAD_SUPER_ATTR opcode, super() compiles via plain CALL'
test_vs_other_type_call (test.test_monitoring.TestLoadSuperAttr.test_vs_other_type_call) ... skipped 'PyPy: no LOAD_SUPER_ATTR opcode, super() compiles via plain CALL'
test_c_call (test.test_monitoring.TestLocalEvents.test_c_call) ... FAIL
test_set_non_local_event (test.test_monitoring.TestLocalEvents.test_set_non_local_event) ... FAIL
test_simple (test.test_monitoring.TestLocalEvents.test_simple) ... FAIL
test_try_except (test.test_monitoring.TestLocalEvents.test_try_except) ... FAIL
test_c_call (test.test_monitoring.TestManyEvents.test_c_call) ... FAIL
test_simple (test.test_monitoring.TestManyEvents.test_simple) ... FAIL
test_try_except (test.test_monitoring.TestManyEvents.test_try_except) ... FAIL
test_105162 (test.test_monitoring.TestRegressions.test_105162) ... FAIL
test_108390 (test.test_monitoring.TestRegressions.test_108390) ... FAIL
test_call_function_ex (test.test_monitoring.TestRegressions.test_call_function_ex) ... FAIL
test_gh108976 (test.test_monitoring.TestRegressions.test_gh108976) ... FAIL
test_global (test.test_monitoring.TestSetGetEvents.test_global) ... FAIL
test_local (test.test_monitoring.TestSetGetEvents.test_local) ... FAIL
test_get_local_events_uninitialized (test.test_monitoring.TestUninitialized.test_get_local_events_uninitialized) ... ok

======================================================================
FAIL: test_return_count (test.test_monitoring.MonitoringCountTest.test_return_count)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_monitoring.py", line 131, in test_return_count
    self.check_event_count(f1, E.PY_RETURN, 1)
         ^^^^^^^^^^^^^^^^^
  File "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_monitoring.py", line 116, in check_event_count
    self.assertEqual(counter.count, expected)
         ^^^^^^^^^^^
AssertionError: 0 != 1

======================================================================
FAIL: test_return_count (test.test_monitoring.MonitoringCountTest.test_return_count)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_monitoring.py", line 91, in tearDown
    self.assertEqual(sys.monitoring.get_events(tool), 0)
         ^^^^^^^^^^^
AssertionError: 4 != 0

======================================================================
FAIL: test_start_count (test.test_monitoring.MonitoringCountTest.test_start_count)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_monitoring.py", line 80, in setUp
    self.assertEqual(sys.monitoring.get_events(tool), 0)
         ^^^^^^^^^^^
AssertionError: 4 != 0

======================================================================
FAIL: test_caught (test.test_monitoring.MonitoringEventsTest.test_caught)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_monitoring.py", line 80, in setUp
    self.assertEqual(sys.monitoring.get_events(tool), 0)
         ^^^^^^^^^^^
AssertionError: 4 != 0

======================================================================
FAIL: test_just_call (test.test_monitoring.MonitoringEventsTest.test_just_call)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_monitoring.py", line 80, in setUp
    self.assertEqual(sys.monitoring.get_events(tool), 0)
         ^^^^^^^^^^^
AssertionError: 4 != 0

======================================================================
FAIL: test_just_pass (test.test_monitoring.MonitoringEventsTest.test_just_pass)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_monitoring.py", line 80, in setUp
    self.assertEqual(sys.monitoring.get_events(tool), 0)
         ^^^^^^^^^^^
AssertionError: 4 != 0

======================================================================
FAIL: test_just_raise (test.test_monitoring.MonitoringEventsTest.test_just_raise)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_monitoring.py", line 80, in setUp
    self.assertEqual(sys.monitoring.get_events(tool), 0)
         ^^^^^^^^^^^
AssertionError: 4 != 0

======================================================================
FAIL: test_nested_call (test.test_monitoring.MonitoringEventsTest.test_nested_call)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_monitoring.py", line 80, in setUp
    self.assertEqual(sys.monitoring.get_events(tool), 0)
         ^^^^^^^^^^^
AssertionError: 4 != 0

======================================================================
FAIL: test_disable (test.test_monitoring.MontoringDisableAndRestartTest.test_disable)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_monitoring.py", line 80, in setUp
    self.assertEqual(sys.monitoring.get_events(tool), 0)
         ^^^^^^^^^^^
AssertionError: 4 != 0

======================================================================
FAIL: test_restart (test.test_monitoring.MontoringDisableAndRestartTest.test_restart)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_monitoring.py", line 80, in setUp
    self.assertEqual(sys.monitoring.get_events(tool), 0)
         ^^^^^^^^^^^
AssertionError: 4 != 0

======================================================================
FAIL: test_three_same (test.test_monitoring.MultipleMonitorsTest.test_three_same)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_monitoring.py", line 80, in setUp
    self.assertEqual(sys.monitoring.get_events(tool), 0)
         ^^^^^^^^^^^
AssertionError: 4 != 0

======================================================================
FAIL: test_two_different (test.test_monitoring.MultipleMonitorsTest.test_two_different)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_monitoring.py", line 80, in setUp
    self.assertEqual(sys.monitoring.get_events(tool), 0)
         ^^^^^^^^^^^
AssertionError: 4 != 0

======================================================================
FAIL: test_two_same (test.test_monitoring.MultipleMonitorsTest.test_two_same)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_monitoring.py", line 80, in setUp
    self.assertEqual(sys.monitoring.get_events(tool), 0)
         ^^^^^^^^^^^
AssertionError: 4 != 0

======================================================================
FAIL: test_two_with_disable (test.test_monitoring.MultipleMonitorsTest.test_two_with_disable)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_monitoring.py", line 80, in setUp
    self.assertEqual(sys.monitoring.get_events(tool), 0)
         ^^^^^^^^^^^
AssertionError: 4 != 0

======================================================================
FAIL: test_with_instruction_event (test.test_monitoring.MultipleMonitorsTest.test_with_instruction_event)
Test that the second tool can set events with instruction events set by the first tool.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_monitoring.py", line 80, in setUp
    self.assertEqual(sys.monitoring.get_events(tool), 0)
         ^^^^^^^^^^^
AssertionError: 4 != 0

======================================================================
FAIL: test_except_star (test.test_monitoring.TestBranchAndJumpEvents.test_except_star)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_monitoring.py", line 80, in setUp
    self.assertEqual(sys.monitoring.get_events(tool), 0)
         ^^^^^^^^^^^
AssertionError: 4 != 0

======================================================================
FAIL: test_loop (test.test_monitoring.TestBranchAndJumpEvents.test_loop)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_monitoring.py", line 80, in setUp
    self.assertEqual(sys.monitoring.get_events(tool), 0)
         ^^^^^^^^^^^
AssertionError: 4 != 0

======================================================================
FAIL: test_disable_illegal_events (test.test_monitoring.TestDisable.test_disable_illegal_events)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_monitoring.py", line 80, in setUp
    self.assertEqual(sys.monitoring.get_events(tool), 0)
         ^^^^^^^^^^^
AssertionError: 4 != 0

======================================================================
FAIL: test_disable_legal_events (test.test_monitoring.TestDisable.test_disable_legal_events)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_monitoring.py", line 80, in setUp
    self.assertEqual(sys.monitoring.get_events(tool), 0)
         ^^^^^^^^^^^
AssertionError: 4 != 0

======================================================================
FAIL: test_call_then_instruction (test.test_monitoring.TestInstallIncrementally.test_call_then_instruction)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_monitoring.py", line 80, in setUp
    self.assertEqual(sys.monitoring.get_events(tool), 0)
         ^^^^^^^^^^^
AssertionError: 4 != 0

======================================================================
FAIL: test_instruction_then_call (test.test_monitoring.TestInstallIncrementally.test_instruction_then_call)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_monitoring.py", line 80, in setUp
    self.assertEqual(sys.monitoring.get_events(tool), 0)
         ^^^^^^^^^^^
AssertionError: 4 != 0

======================================================================
FAIL: test_instruction_then_line (test.test_monitoring.TestInstallIncrementally.test_instruction_then_line)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_monitoring.py", line 80, in setUp
    self.assertEqual(sys.monitoring.get_events(tool), 0)
         ^^^^^^^^^^^
AssertionError: 4 != 0

======================================================================
FAIL: test_line_then_instruction (test.test_monitoring.TestInstallIncrementally.test_line_then_instruction)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_monitoring.py", line 80, in setUp
    self.assertEqual(sys.monitoring.get_events(tool), 0)
         ^^^^^^^^^^^
AssertionError: 4 != 0

======================================================================
FAIL: test_c_call (test.test_monitoring.TestLineAndInstructionEvents.test_c_call)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_monitoring.py", line 80, in setUp
    self.assertEqual(sys.monitoring.get_events(tool), 0)
         ^^^^^^^^^^^
AssertionError: 4 != 0

======================================================================
FAIL: test_simple (test.test_monitoring.TestLineAndInstructionEvents.test_simple)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_monitoring.py", line 80, in setUp
    self.assertEqual(sys.monitoring.get_events(tool), 0)
         ^^^^^^^^^^^
AssertionError: 4 != 0

======================================================================
FAIL: test_try_except (test.test_monitoring.TestLineAndInstructionEvents.test_try_except)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_monitoring.py", line 80, in setUp
    self.assertEqual(sys.monitoring.get_events(tool), 0)
         ^^^^^^^^^^^
AssertionError: 4 != 0

======================================================================
FAIL: test_with_restart (test.test_monitoring.TestLineAndInstructionEvents.test_with_restart)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_monitoring.py", line 80, in setUp
    self.assertEqual(sys.monitoring.get_events(tool), 0)
         ^^^^^^^^^^^
AssertionError: 4 != 0

======================================================================
FAIL: test_c_call (test.test_monitoring.TestLocalEvents.test_c_call)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_monitoring.py", line 80, in setUp
    self.assertEqual(sys.monitoring.get_events(tool), 0)
         ^^^^^^^^^^^
AssertionError: 4 != 0

======================================================================
FAIL: test_set_non_local_event (test.test_monitoring.TestLocalEvents.test_set_non_local_event)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_monitoring.py", line 80, in setUp
    self.assertEqual(sys.monitoring.get_events(tool), 0)
         ^^^^^^^^^^^
AssertionError: 4 != 0

======================================================================
FAIL: test_simple (test.test_monitoring.TestLocalEvents.test_simple)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_monitoring.py", line 80, in setUp
    self.assertEqual(sys.monitoring.get_events(tool), 0)
         ^^^^^^^^^^^
AssertionError: 4 != 0

======================================================================
FAIL: test_try_except (test.test_monitoring.TestLocalEvents.test_try_except)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_monitoring.py", line 80, in setUp
    self.assertEqual(sys.monitoring.get_events(tool), 0)
         ^^^^^^^^^^^
AssertionError: 4 != 0

======================================================================
FAIL: test_c_call (test.test_monitoring.TestManyEvents.test_c_call)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_monitoring.py", line 80, in setUp
    self.assertEqual(sys.monitoring.get_events(tool), 0)
         ^^^^^^^^^^^
AssertionError: 4 != 0

======================================================================
FAIL: test_simple (test.test_monitoring.TestManyEvents.test_simple)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_monitoring.py", line 80, in setUp
    self.assertEqual(sys.monitoring.get_events(tool), 0)
         ^^^^^^^^^^^
AssertionError: 4 != 0

======================================================================
FAIL: test_try_except (test.test_monitoring.TestManyEvents.test_try_except)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_monitoring.py", line 80, in setUp
    self.assertEqual(sys.monitoring.get_events(tool), 0)
         ^^^^^^^^^^^
AssertionError: 4 != 0

======================================================================
FAIL: test_105162 (test.test_monitoring.TestRegressions.test_105162)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_monitoring.py", line 80, in setUp
    self.assertEqual(sys.monitoring.get_events(tool), 0)
         ^^^^^^^^^^^
AssertionError: 4 != 0

======================================================================
FAIL: test_108390 (test.test_monitoring.TestRegressions.test_108390)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_monitoring.py", line 80, in setUp
    self.assertEqual(sys.monitoring.get_events(tool), 0)
         ^^^^^^^^^^^
AssertionError: 4 != 0

======================================================================
FAIL: test_call_function_ex (test.test_monitoring.TestRegressions.test_call_function_ex)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_monitoring.py", line 80, in setUp
    self.assertEqual(sys.monitoring.get_events(tool), 0)
         ^^^^^^^^^^^
AssertionError: 4 != 0

======================================================================
FAIL: test_gh108976 (test.test_monitoring.TestRegressions.test_gh108976)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_monitoring.py", line 80, in setUp
    self.assertEqual(sys.monitoring.get_events(tool), 0)
         ^^^^^^^^^^^
AssertionError: 4 != 0

======================================================================
FAIL: test_global (test.test_monitoring.TestSetGetEvents.test_global)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_monitoring.py", line 80, in setUp
    self.assertEqual(sys.monitoring.get_events(tool), 0)
         ^^^^^^^^^^^
AssertionError: 4 != 0

======================================================================
FAIL: test_local (test.test_monitoring.TestSetGetEvents.test_local)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_monitoring.py", line 80, in setUp
    self.assertEqual(sys.monitoring.get_events(tool), 0)
         ^^^^^^^^^^^
AssertionError: 4 != 0

----------------------------------------------------------------------
Ran 66 tests in 0.040s

FAILED (failures=40, skipped=6)
0:00:00 load avg: 0.81 [1/1/1] test_monitoring failed (40 failures)

== Tests result: FAILURE ==

1 test failed:
    test_monitoring

Total duration: 200 ms
Total tests: run=66 failures=40 skipped=6
Total test files: run=1/1 failed=1
Result: FAILURE
test test_monitoring failed
builder: pypy-c-jit-linux-x86-64 build #11971+
test: lib-python/3/test/test_monitoring.py::unmodified