MagicStack / MagicStack/uvloop

0.15.3: pytest is failing

Open
#429 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Cython
Stars
11.9k
Forks
616
PR merge metrics
No merged PRs in 30d

Description

  • uvloop version: 0.15.3
  • Python version: 3.8.11
  • Platform: Linux/x86_64
  • Can you reproduce the bug with PYTHONASYNCIODEBUG in env?: Yes
  • Does uvloop behave differently from vanilla asyncio? How?: N/A

Just normal build, install and test cycle used on building package from non-root account:

  • "setup.py build"
  • "setup.py install --root </install/prefix>"
  • "pytest with PYTHONPATH pointing to setearch and sitelib inside </install/prefix>
+ PYTHONPATH=/home/tkloczko/rpmbuild/BUILD/uvloop-0.15.3/build/lib.linux-x86_64-3.8
+ /usr/bin/pytest -ra
=========================================================================== test session starts ============================================================================
platform linux -- Python 3.8.11, pytest-6.2.4, py-1.10.0, pluggy-0.13.1
benchmark: 3.4.1 (defaults: timer=time.perf_counter disable_gc=False min_rounds=5 min_time=0.000005 max_time=1.0 calibration_precision=10 warmup=False warmup_iterations=100000)
rootdir: /home/tkloczko/rpmbuild/BUILD/uvloop-0.15.3, configfile: pytest.ini, testpaths: tests
plugins: forked-1.3.0, shutil-1.7.0, virtualenv-1.7.0, expect-1.1.0, httpbin-1.0.0, flake8-1.0.7, timeout-1.4.2, betamax-0.8.1, freezegun-0.4.2, case-1.5.3, isort-1.3.0, aspectlib-1.5.2, asyncio-0.15.1, toolbox-0.5, aiohttp-0.3.0, checkdocs-2.7.0, mock-3.6.1, rerunfailures-9.1.1, requests-mock-1.9.3, cov-2.12.1, pyfakefs-4.5.0, flaky-3.7.0, benchmark-3.4.1, xdist-2.3.0, pylama-7.7.1, datadir-1.3.1, regressions-2.2.0, cases-3.6.3, hypothesis-6.14.4, Faker-8.10.3, xprocess-0.18.1, black-0.3.12
collected 495 items

tests/test_aiohttp.py ....
tests/test_base.py .................................................................................s...
tests/test_context.py ..................s....s......
tests/test_cython.py F
tests/test_dealloc.py F
tests/test_dns.py ....................s..............................
tests/test_executors.py ....
tests/test_pipes.py ............
tests/test_process.py ...............................................................................
tests/test_process_spawning.py .
tests/test_regr1.py .
tests/test_signals.py sF...FFFFFFF..FFFFFF
tests/test_sockets.py ...............s.........ss..s.....
tests/test_sourcecode.py F.
tests/test_tcp.py ..............................s..................................................s.s.ss.ssss.sss.ss..ssssssss
tests/test_testbase.py ...
tests/test_udp.py .......................
tests/test_unix.py ..................................

================================================================================= FAILURES =================================================================================
___________________________________________________________ TestCythonIntegration.test_cython_coro_is_coroutine ____________________________________________________________
Traceback (most recent call last):
  File "/home/tkloczko/rpmbuild/BUILD/uvloop-0.15.3/tests/test_cython.py", line 14, in test_cython_coro_is_coroutine
    self.assertTrue(
  File "/usr/lib64/python3.8/unittest/case.py", line 765, in assertTrue
    raise self.failureException(msg)
AssertionError: False is not true
________________________________________________________________________ TestDealloc.test_dealloc_1 ________________________________________________________________________
Traceback (most recent call last):
  File "/home/tkloczko/rpmbuild/BUILD/uvloop-0.15.3/tests/test_dealloc.py", line 63, in test_dealloc_1
    self.assertEqual(err, b'', 'stderr is not empty')
  File "/usr/lib64/python3.8/unittest/case.py", line 912, in assertEqual
    assertion_func(first, second, msg=msg)
  File "/usr/lib64/python3.8/unittest/case.py", line 905, in _baseAssertEqual
    raise self.failureException(msg)
AssertionError: b'Traceback (most recent call last):\n  Fil[229 chars]\'\n' != b'' : stderr is not empty
____________________________________________________________ Test_UV_Signals.test_signals_and_custom_handler_1 _____________________________________________________________
Traceback (most recent call last):
  File "/home/tkloczko/rpmbuild/BUILD/uvloop-0.15.3/tests/test_signals.py", line 298, in test_signals_and_custom_handler_1
    self.loop.run_until_complete(runner())
  File "uvloop/loop.pyx", line 1501, in uvloop.loop.Loop.run_until_complete
    return future.result()
  File "/home/tkloczko/rpmbuild/BUILD/uvloop-0.15.3/tests/test_signals.py", line 282, in runner
    proc.send_signal(signal.SIGUSR1)
  File "/usr/lib64/python3.8/asyncio/subprocess.py", line 138, in send_signal
    self._transport.send_signal(signal)
  File "uvloop/handles/process.pyx", line 653, in uvloop.loop.UVProcessTransport.send_signal
    self._check_proc()
  File "uvloop/handles/process.pyx", line 384, in uvloop.loop.UVProcessTransport._check_proc
    raise ProcessLookupError()
ProcessLookupError
__________________________________________________________ Test_UV_Signals.test_signals_sigint_and_custom_handler __________________________________________________________
Traceback (most recent call last):
  File "/home/tkloczko/rpmbuild/BUILD/uvloop-0.15.3/tests/test_signals.py", line 231, in test_signals_sigint_and_custom_handler
    self.loop.run_until_complete(runner())
  File "uvloop/loop.pyx", line 1501, in uvloop.loop.Loop.run_until_complete
    return future.result()
  File "/home/tkloczko/rpmbuild/BUILD/uvloop-0.15.3/tests/test_signals.py", line 223, in runner
    proc.send_signal(signal.SIGHUP)
  File "/usr/lib64/python3.8/asyncio/subprocess.py", line 138, in send_signal
    self._transport.send_signal(signal)
  File "uvloop/handles/process.pyx", line 653, in uvloop.loop.UVProcessTransport.send_signal
    self._check_proc()
  File "uvloop/handles/process.pyx", line 384, in uvloop.loop.UVProcessTransport._check_proc
    raise ProcessLookupError()
ProcessLookupError
___________________________________________________________ Test_UV_Signals.test_signals_sigint_pycode_continue ____________________________________________________________
Traceback (most recent call last):
  File "/home/tkloczko/rpmbuild/BUILD/uvloop-0.15.3/tests/test_signals.py", line 100, in test_signals_sigint_pycode_continue
    self.loop.run_until_complete(runner())
  File "uvloop/loop.pyx", line 1501, in uvloop.loop.Loop.run_until_complete
    return future.result()
  File "/home/tkloczko/rpmbuild/BUILD/uvloop-0.15.3/tests/test_signals.py", line 95, in runner
    proc.send_signal(signal.SIGINT)
  File "/usr/lib64/python3.8/asyncio/subprocess.py", line 138, in send_signal
    self._transport.send_signal(signal)
  File "uvloop/handles/process.pyx", line 653, in uvloop.loop.UVProcessTransport.send_signal
    self._check_proc()
  File "uvloop/handles/process.pyx", line 384, in uvloop.loop.UVProcessTransport._check_proc
    raise ProcessLookupError()
ProcessLookupError
_____________________________________________________________ Test_UV_Signals.test_signals_sigint_pycode_stop ______________________________________________________________
Traceback (most recent call last):
  File "/home/tkloczko/rpmbuild/BUILD/uvloop-0.15.3/tests/test_signals.py", line 55, in test_signals_sigint_pycode_stop
    self.loop.run_until_complete(runner())
  File "uvloop/loop.pyx", line 1501, in uvloop.loop.Loop.run_until_complete
    return future.result()
  File "/home/tkloczko/rpmbuild/BUILD/uvloop-0.15.3/tests/test_signals.py", line 50, in runner
    proc.send_signal(signal.SIGINT)
  File "/usr/lib64/python3.8/asyncio/subprocess.py", line 138, in send_signal
    self._transport.send_signal(signal)
  File "uvloop/handles/process.pyx", line 653, in uvloop.loop.UVProcessTransport.send_signal
    self._check_proc()
  File "uvloop/handles/process.pyx", line 384, in uvloop.loop.UVProcessTransport._check_proc
    raise ProcessLookupError()
ProcessLookupError
________________________________________________________________ Test_UV_Signals.test_signals_sigint_uvcode ________________________________________________________________
Traceback (most recent call last):
  File "/home/tkloczko/rpmbuild/BUILD/uvloop-0.15.3/tests/test_signals.py", line 139, in test_signals_sigint_uvcode
    self.loop.run_until_complete(runner())
  File "uvloop/loop.pyx", line 1501, in uvloop.loop.Loop.run_until_complete
    return future.result()
  File "/home/tkloczko/rpmbuild/BUILD/uvloop-0.15.3/tests/test_signals.py", line 135, in runner
    proc.send_signal(signal.SIGINT)
  File "/usr/lib64/python3.8/asyncio/subprocess.py", line 138, in send_signal
    self._transport.send_signal(signal)
  File "uvloop/handles/process.pyx", line 653, in uvloop.loop.UVProcessTransport.send_signal
    self._check_proc()
  File "uvloop/handles/process.pyx", line 384, in uvloop.loop.UVProcessTransport._check_proc
    raise ProcessLookupError()
ProcessLookupError
_________________________________________________________ Test_UV_Signals.test_signals_sigint_uvcode_two_loop_runs _________________________________________________________
Traceback (most recent call last):
  File "/home/tkloczko/rpmbuild/BUILD/uvloop-0.15.3/tests/test_signals.py", line 178, in test_signals_sigint_uvcode_two_loop_runs
    self.loop.run_until_complete(runner())
  File "uvloop/loop.pyx", line 1501, in uvloop.loop.Loop.run_until_complete
    return future.result()
  File "/home/tkloczko/rpmbuild/BUILD/uvloop-0.15.3/tests/test_signals.py", line 174, in runner
    proc.send_signal(signal.SIGINT)
  File "/usr/lib64/python3.8/asyncio/subprocess.py", line 138, in send_signal
    self._transport.send_signal(signal)
  File "uvloop/handles/process.pyx", line 653, in uvloop.loop.UVProcessTransport.send_signal
    self._check_proc()
  File "uvloop/handles/process.pyx", line 384, in uvloop.loop.UVProcessTransport._check_proc
    raise ProcessLookupError()
ProcessLookupError
_________________________________________________________________ Test_UV_Signals.test_wakeup_fd_unchanged _________________________________________________________________
Traceback (most recent call last):
  File "/home/tkloczko/rpmbuild/BUILD/uvloop-0.15.3/tests/test_signals.py", line 350, in test_wakeup_fd_unchanged
    self.loop.run_until_complete(runner())
  File "uvloop/loop.pyx", line 1501, in uvloop.loop.Loop.run_until_complete
    return future.result()
  File "/home/tkloczko/rpmbuild/BUILD/uvloop-0.15.3/tests/test_signals.py", line 347, in runner
    self.assertEqual(err, b'')
  File "/usr/lib64/python3.8/unittest/case.py", line 912, in assertEqual
    assertion_func(first, second, msg=msg)
  File "/usr/lib64/python3.8/unittest/case.py", line 905, in _baseAssertEqual
    raise self.failureException(msg)
AssertionError: b'Traceback (most recent call last):\n  Fil[229 chars]\'\n' != b''
____________________________________________________________ Test_AIO_Signals.test_signals_and_custom_handler_1 ____________________________________________________________
Traceback (most recent call last):
  File "/home/tkloczko/rpmbuild/BUILD/uvloop-0.15.3/tests/test_signals.py", line 298, in test_signals_and_custom_handler_1
    self.loop.run_until_complete(runner())
  File "/usr/lib64/python3.8/asyncio/base_events.py", line 616, in run_until_complete
    return future.result()
  File "/home/tkloczko/rpmbuild/BUILD/uvloop-0.15.3/tests/test_signals.py", line 282, in runner
    proc.send_signal(signal.SIGUSR1)
  File "/usr/lib64/python3.8/asyncio/subprocess.py", line 138, in send_signal
    self._transport.send_signal(signal)
  File "/usr/lib64/python3.8/asyncio/base_subprocess.py", line 146, in send_signal
    self._proc.send_signal(signal)
  File "/usr/lib64/python3.8/subprocess.py", line 1933, in send_signal
    os.kill(self.pid, sig)
ProcessLookupError: [Errno 3] No such process
_________________________________________________________ Test_AIO_Signals.test_signals_sigint_and_custom_handler __________________________________________________________
Traceback (most recent call last):
  File "/home/tkloczko/rpmbuild/BUILD/uvloop-0.15.3/tests/test_signals.py", line 231, in test_signals_sigint_and_custom_handler
    self.loop.run_until_complete(runner())
  File "/usr/lib64/python3.8/asyncio/base_events.py", line 616, in run_until_complete
    return future.result()
  File "/home/tkloczko/rpmbuild/BUILD/uvloop-0.15.3/tests/test_signals.py", line 223, in runner
    proc.send_signal(signal.SIGHUP)
  File "/usr/lib64/python3.8/asyncio/subprocess.py", line 138, in send_signal
    self._transport.send_signal(signal)
  File "/usr/lib64/python3.8/asyncio/base_subprocess.py", line 146, in send_signal
    self._proc.send_signal(signal)
  File "/usr/lib64/python3.8/subprocess.py", line 1933, in send_signal
    os.kill(self.pid, sig)
ProcessLookupError: [Errno 3] No such process
___________________________________________________________ Test_AIO_Signals.test_signals_sigint_pycode_continue ___________________________________________________________
Traceback (most recent call last):
  File "/home/tkloczko/rpmbuild/BUILD/uvloop-0.15.3/tests/test_signals.py", line 100, in test_signals_sigint_pycode_continue
    self.loop.run_until_complete(runner())
  File "/usr/lib64/python3.8/asyncio/base_events.py", line 616, in run_until_complete
    return future.result()
  File "/home/tkloczko/rpmbuild/BUILD/uvloop-0.15.3/tests/test_signals.py", line 95, in runner
    proc.send_signal(signal.SIGINT)
  File "/usr/lib64/python3.8/asyncio/subprocess.py", line 138, in send_signal
    self._transport.send_signal(signal)
  File "/usr/lib64/python3.8/asyncio/base_subprocess.py", line 146, in send_signal
    self._proc.send_signal(signal)
  File "/usr/lib64/python3.8/subprocess.py", line 1933, in send_signal
    os.kill(self.pid, sig)
ProcessLookupError: [Errno 3] No such process
_____________________________________________________________ Test_AIO_Signals.test_signals_sigint_pycode_stop _____________________________________________________________
Traceback (most recent call last):
  File "/home/tkloczko/rpmbuild/BUILD/uvloop-0.15.3/tests/test_signals.py", line 55, in test_signals_sigint_pycode_stop
    self.loop.run_until_complete(runner())
  File "/usr/lib64/python3.8/asyncio/base_events.py", line 616, in run_until_complete
    return future.result()
  File "/home/tkloczko/rpmbuild/BUILD/uvloop-0.15.3/tests/test_signals.py", line 50, in runner
    proc.send_signal(signal.SIGINT)
  File "/usr/lib64/python3.8/asyncio/subprocess.py", line 138, in send_signal
    self._transport.send_signal(signal)
  File "/usr/lib64/python3.8/asyncio/base_subprocess.py", line 146, in send_signal
    self._proc.send_signal(signal)
  File "/usr/lib64/python3.8/subprocess.py", line 1933, in send_signal
    os.kill(self.pid, sig)
ProcessLookupError: [Errno 3] No such process
_______________________________________________________________ Test_AIO_Signals.test_signals_sigint_uvcode ________________________________________________________________
Traceback (most recent call last):
  File "/home/tkloczko/rpmbuild/BUILD/uvloop-0.15.3/tests/test_signals.py", line 139, in test_signals_sigint_uvcode
    self.loop.run_until_complete(runner())
  File "/usr/lib64/python3.8/asyncio/base_events.py", line 616, in run_until_complete
    return future.result()
  File "/home/tkloczko/rpmbuild/BUILD/uvloop-0.15.3/tests/test_signals.py", line 135, in runner
    proc.send_signal(signal.SIGINT)
  File "/usr/lib64/python3.8/asyncio/subprocess.py", line 138, in send_signal
    self._transport.send_signal(signal)
  File "/usr/lib64/python3.8/asyncio/base_subprocess.py", line 146, in send_signal
    self._proc.send_signal(signal)
  File "/usr/lib64/python3.8/subprocess.py", line 1933, in send_signal
    os.kill(self.pid, sig)
ProcessLookupError: [Errno 3] No such process
________________________________________________________ Test_AIO_Signals.test_signals_sigint_uvcode_two_loop_runs _________________________________________________________
Traceback (most recent call last):
  File "/home/tkloczko/rpmbuild/BUILD/uvloop-0.15.3/tests/test_signals.py", line 178, in test_signals_sigint_uvcode_two_loop_runs
    self.loop.run_until_complete(runner())
  File "/usr/lib64/python3.8/asyncio/base_events.py", line 616, in run_until_complete
    return future.result()
  File "/home/tkloczko/rpmbuild/BUILD/uvloop-0.15.3/tests/test_signals.py", line 174, in runner
    proc.send_signal(signal.SIGINT)
  File "/usr/lib64/python3.8/asyncio/subprocess.py", line 138, in send_signal
    self._transport.send_signal(signal)
  File "/usr/lib64/python3.8/asyncio/base_subprocess.py", line 146, in send_signal
    self._proc.send_signal(signal)
  File "/usr/lib64/python3.8/subprocess.py", line 1933, in send_signal
    os.kill(self.pid, sig)
ProcessLookupError: [Errno 3] No such process
________________________________________________________________ Test_AIO_Signals.test_wakeup_fd_unchanged _________________________________________________________________
Traceback (most recent call last):
  File "/home/tkloczko/rpmbuild/BUILD/uvloop-0.15.3/tests/test_signals.py", line 350, in test_wakeup_fd_unchanged
    self.loop.run_until_complete(runner())
  File "/usr/lib64/python3.8/asyncio/base_events.py", line 616, in run_until_complete
    return future.result()
  File "/home/tkloczko/rpmbuild/BUILD/uvloop-0.15.3/tests/test_signals.py", line 347, in runner
    self.assertEqual(err, b'')
  File "/usr/lib64/python3.8/unittest/case.py", line 912, in assertEqual
    assertion_func(first, second, msg=msg)
  File "/usr/lib64/python3.8/unittest/case.py", line 905, in _baseAssertEqual
    raise self.failureException(msg)
AssertionError: b'Traceback (most recent call last):\n  Fil[229 chars]\'\n' != b''
________________________________________________________________________ TestSourceCode.test_flake8 ________________________________________________________________________
Traceback (most recent call last):
  File "/home/tkloczko/rpmbuild/BUILD/uvloop-0.15.3/tests/test_sourcecode.py", line 34, in test_flake8
    raise AssertionError(
AssertionError: flake8 validation failed:
./_testbase.py:288:11: H101: Use TODO(NAME)
./loop.pxd:7:34: H301: one import per line
./loop.pyi:3:33: H301: one import per line
./loop.pyi:5:7: H301: one import per line
./loop.pyx:10:19: H301: one import per line
./loop.pyx:28:32: H301: one import per line
./loop.pyx:32:40: H301: one import per line
./loop.pyx:34:31: H301: one import per line
./loop.pyx:36:23: H301: one import per line
./loop.pyx:2344:1: H405: multi line docstring summary not separated with an empty line
./loop.pyx:2345:1: H405: multi line docstring summary not separated with an empty line
./loop.pyx:2728:11: H101: Use TODO(NAME)
./loop.pyx:2881:19: H101: Use TODO(NAME)
./sslproto.pyx:17:7: H101: Use TODO(NAME)
./sslproto.pyx:391:1: H405: multi line docstring summary not separated with an empty line
./sslproto.pyx:392:1: H405: multi line docstring summary not separated with an empty line
./sslproto.pyx:393:1: H405: multi line docstring summary not separated with an empty line
./sslproto.pyx:394:1: H405: multi line docstring summary not separated with an empty line
./sslproto.pyx:395:1: H405: multi line docstring summary not separated with an empty line
./sslproto.pyx:396:1: H405: multi line docstring summary not separated with an empty line
./sslproto.pyx:397:1: H405: multi line docstring summary not separated with an empty line
./sslproto.pyx:912:1: H405: multi line docstring summary not separated with an empty line
./sslproto.pyx:913:1: H405: multi line docstring summary not separated with an empty line
./sslproto.pyx:914:1: H405: multi line docstring summary not separated with an empty line
./sslproto.pyx:919:1: H405: multi line docstring summary not separated with an empty line
./sslproto.pyx:920:1: H405: multi line docstring summary not separated with an empty line
./sslproto.pyx:921:1: H405: multi line docstring summary not separated with an empty line
./includes/uv.pxd:1:34: H301: one import per line
./includes/uv.pxd:2:31: H301: one import per line

============================================================================= warnings summary =============================================================================
../../../../../usr/lib/python3.8/site-packages/_pytest/config/__init__.py:1183
  /usr/lib/python3.8/site-packages/_pytest/config/__init__.py:1183: PytestDeprecationWarning: The --strict option is deprecated, use --strict-markers instead.
    self.issue_config_time_warning(

-- Docs: https://docs.pytest.org/en/stable/warnings.html
========================================================================= short test summary info ==========================================================================
SKIPPED [1] tests/test_base.py:695: Skipped
SKIPPED [1] tests/test_context.py:435: this seems to be a bug in asyncio
SKIPPED [1] tests/test_context.py:574: this seems to be a bug in asyncio
SKIPPED [1] tests/test_dns.py:158: Skipped
SKIPPED [1] tests/test_signals.py:362: in 3.8 a ThreadedChildWatcher is used (does not rely on SIGCHLD)
SKIPPED [2] tests/test_sockets.py:23: Skipped
SKIPPED [1] tests/test_sockets.py:192: Skipped
SKIPPED [1] tests/test_sockets.py:248: Skipped
SKIPPED [1] tests/test_tcp.py:1021: 3.8 has a different method of GCing unclosed streams
SKIPPED [1] tests/test_tcp.py:3012: bpo-39951
SKIPPED [1] tests/test_tcp.py:1762: Skipped
SKIPPED [1] tests/test_tcp.py:1481: Skipped
SKIPPED [1] tests/test_tcp.py:1445: Skipped
SKIPPED [1] tests/test_tcp.py:2072: asyncio does not support SSL over SSL
SKIPPED [1] tests/test_tcp.py:3094: Skipped
SKIPPED [1] tests/test_tcp.py:2579: Skipped
SKIPPED [1] tests/test_tcp.py:2805: Skipped
SKIPPED [1] tests/test_tcp.py:2218: asyncio does not support renegotiation
SKIPPED [1] tests/test_tcp.py:2436: Skipped
SKIPPED [1] tests/test_tcp.py:2338: Skipped
SKIPPED [1] tests/test_tcp.py:2872: Skipped
SKIPPED [1] tests/test_tcp.py:2930: Skipped
SKIPPED [1] tests/test_tcp.py:1533: Skipped
SKIPPED [1] tests/test_tcp.py:1828: Skipped
SKIPPED [1] tests/test_tcp.py:1649: Skipped
SKIPPED [1] tests/test_tcp.py:1698: Skipped
SKIPPED [1] tests/test_tcp.py:1990: Skipped
SKIPPED [1] tests/test_tcp.py:1927: Skipped
SKIPPED [1] tests/test_tcp.py:1518: Skipped
SKIPPED [1] tests/test_tcp.py:2500: Skipped
FAILED tests/test_cython.py::TestCythonIntegration::test_cython_coro_is_coroutine - AssertionError: False is not true
FAILED tests/test_dealloc.py::TestDealloc::test_dealloc_1 - AssertionError: b'Traceback (most recent call last):\n  Fil[229 chars]\'\n' != b'' : stderr is not empty
FAILED tests/test_signals.py::Test_UV_Signals::test_signals_and_custom_handler_1 - ProcessLookupError
FAILED tests/test_signals.py::Test_UV_Signals::test_signals_sigint_and_custom_handler - ProcessLookupError
FAILED tests/test_signals.py::Test_UV_Signals::test_signals_sigint_pycode_continue - ProcessLookupError
FAILED tests/test_signals.py::Test_UV_Signals::test_signals_sigint_pycode_stop - ProcessLookupError
FAILED tests/test_signals.py::Test_UV_Signals::test_signals_sigint_uvcode - ProcessLookupError
FAILED tests/test_signals.py::Test_UV_Signals::test_signals_sigint_uvcode_two_loop_runs - ProcessLookupError
FAILED tests/test_signals.py::Test_UV_Signals::test_wakeup_fd_unchanged - AssertionError: b'Traceback (most recent call last):\n  Fil[229 chars]\'\n' != b''
FAILED tests/test_signals.py::Test_AIO_Signals::test_signals_and_custom_handler_1 - ProcessLookupError: [Errno 3] No such process
FAILED tests/test_signals.py::Test_AIO_Signals::test_signals_sigint_and_custom_handler - ProcessLookupError: [Errno 3] No such process
FAILED tests/test_signals.py::Test_AIO_Signals::test_signals_sigint_pycode_continue - ProcessLookupError: [Errno 3] No such process
FAILED tests/test_signals.py::Test_AIO_Signals::test_signals_sigint_pycode_stop - ProcessLookupError: [Errno 3] No such process
FAILED tests/test_signals.py::Test_AIO_Signals::test_signals_sigint_uvcode - ProcessLookupError: [Errno 3] No such process
FAILED tests/test_signals.py::Test_AIO_Signals::test_signals_sigint_uvcode_two_loop_runs - ProcessLookupError: [Errno 3] No such process
FAILED tests/test_signals.py::Test_AIO_Signals::test_wakeup_fd_unchanged - AssertionError: b'Traceback (most recent call last):\n  Fil[229 chars]\'\n' != b''
FAILED tests/test_sourcecode.py::TestSourceCode::test_flake8 - AssertionError: flake8 validation failed:
==================================================== 17 failed, 447 passed, 31 skipped, 1 warning in 180.40s (0:03:00) =====================================================
pytest-xprocess reminder::Be sure to terminate the started process by running 'pytest --xkill' if you have not explicitly done so in your fixture with 'xprocess.getinfo(<process_name>).terminate()'.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the reported build, install, and PYTHONPATH setup, then run pytest as described. Start with tests/test_cython.py, tests/test_dealloc.py, tests/test_signals.py, and tests/test_sourcecode.py, using the captured tracebacks to isolate the failures. Done means the test suite completes without these failures on the reported Python and Linux setup.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
testing-qa
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.