>>> py3-eventlet: Building testing/py3-eventlet 0.36.1-r0 (using abuild 3.13.0-r3) started Mon, 29 Apr 2024 17:07:04 +0000 >>> py3-eventlet: Checking sanity of /home/buildozer/aports/testing/py3-eventlet/APKBUILD... >>> py3-eventlet: Analyzing dependencies... >>> py3-eventlet: Installing for build: build-base py3-dnspython py3-greenlet py3-httplib2 py3-openssl py3-psycopg2 py3-six python3 py3-hatchling py3-gpep517 py3-wheel py3-hatch-vcs py3-pytest (1/64) Installing libbz2 (1.0.8-r6) (2/64) Installing libffi (3.4.6-r0) (3/64) Installing gdbm (1.23-r1) (4/64) Installing xz-libs (5.6.1-r3) (5/64) Installing mpdecimal (4.0.0-r0) (6/64) Installing libpanelw (6.4_p20240330-r0) (7/64) Installing readline (8.2.10-r0) (8/64) Installing sqlite-libs (3.45.3-r0) (9/64) Installing python3 (3.12.3-r1) (10/64) Installing python3-pycache-pyc0 (3.12.3-r1) (11/64) Installing pyc (3.12.3-r1) (12/64) Installing py3-dnspython-pyc (2.6.1-r1) (13/64) Installing python3-pyc (3.12.3-r1) (14/64) Installing py3-dnspython (2.6.1-r1) (15/64) Installing py3-greenlet (3.0.3-r1) (16/64) Installing py3-greenlet-pyc (3.0.3-r1) (17/64) Installing py3-parsing (3.1.2-r1) (18/64) Installing py3-parsing-pyc (3.1.2-r1) (19/64) Installing py3-httplib2 (0.22.0-r2) (20/64) Installing py3-httplib2-pyc (0.22.0-r2) (21/64) Installing py3-cparser (2.22-r1) (22/64) Installing py3-cparser-pyc (2.22-r1) (23/64) Installing py3-cffi (1.16.0-r1) (24/64) Installing py3-cffi-pyc (1.16.0-r1) (25/64) Installing py3-cryptography (42.0.5-r1) (26/64) Installing py3-cryptography-pyc (42.0.5-r1) (27/64) Installing py3-openssl (24.1.0-r1) (28/64) Installing py3-openssl-pyc (24.1.0-r1) (29/64) Installing libpq (16.2-r4) (30/64) Installing py3-psycopg2 (2.9.9-r1) (31/64) Installing py3-psycopg2-pyc (2.9.9-r1) (32/64) Installing py3-six (1.16.0-r9) (33/64) Installing py3-six-pyc (1.16.0-r9) (34/64) Installing py3-editables (0.5-r2) (35/64) Installing py3-editables-pyc (0.5-r2) (36/64) Installing py3-packaging (24.0-r1) (37/64) Installing py3-packaging-pyc (24.0-r1) (38/64) Installing py3-pathspec (0.12.1-r2) (39/64) Installing py3-pathspec-pyc (0.12.1-r2) (40/64) Installing py3-pluggy (1.4.0-r1) (41/64) Installing py3-pluggy-pyc (1.4.0-r1) (42/64) Installing py3-trove-classifiers (2024.3.3-r2) (43/64) Installing py3-trove-classifiers-pyc (2024.3.3-r2) (44/64) Installing py3-hatchling (1.24.2-r0) (45/64) Installing py3-hatchling-pyc (1.24.2-r0) (46/64) Installing py3-installer (0.7.0-r2) (47/64) Installing py3-installer-pyc (0.7.0-r2) (48/64) Installing py3-gpep517 (15-r2) (49/64) Installing py3-gpep517-pyc (15-r2) (50/64) Installing py3-wheel (0.42.0-r1) (51/64) Installing py3-wheel-pyc (0.42.0-r1) (52/64) Installing py3-setuptools (69.5.1-r0) (53/64) Installing py3-setuptools-pyc (69.5.1-r0) (54/64) Installing py3-setuptools_scm (8.0.4-r2) (55/64) Installing py3-setuptools_scm-pyc (8.0.4-r2) (56/64) Installing py3-hatch-vcs (0.4.0-r2) (57/64) Installing py3-hatch-vcs-pyc (0.4.0-r2) (58/64) Installing py3-iniconfig (2.0.0-r1) (59/64) Installing py3-iniconfig-pyc (2.0.0-r1) (60/64) Installing py3-py (1.11.0-r3) (61/64) Installing py3-py-pyc (1.11.0-r3) (62/64) Installing py3-pytest (8.1.1-r1) (63/64) Installing py3-pytest-pyc (8.1.1-r1) (64/64) Installing .makedepends-py3-eventlet (20240429.170709) Executing busybox-1.36.1-r26.trigger OK: 294 MiB in 166 packages >>> py3-eventlet: Cleaning up srcdir >>> py3-eventlet: Cleaning up pkgdir >>> py3-eventlet: Cleaning up tmpdir >>> py3-eventlet: Fetching https://distfiles.alpinelinux.org/distfiles/edge/eventlet-0.36.1.tar.gz >>> py3-eventlet: Fetching https://distfiles.alpinelinux.org/distfiles/edge/eventlet-0.36.1.tar.gz >>> py3-eventlet: Checking sha512sums... eventlet-0.36.1.tar.gz: OK >>> py3-eventlet: Unpacking /var/cache/distfiles/eventlet-0.36.1.tar.gz... 2024-04-29 17:07:12,540 gpep517 INFO Building wheel via backend hatchling.build 2024-04-29 17:07:13,306 gpep517 INFO The backend produced .dist/eventlet-0.36.1-py3-none-any.whl eventlet-0.36.1-py3-none-any.whl 2024-04-29 17:07:14,105 gpep517 INFO Installing .dist/eventlet-0.36.1-py3-none-any.whl into .testenv 2024-04-29 17:07:15,038 gpep517 INFO Installation complete ============================= test session starts ============================== platform linux -- Python 3.12.3, pytest-8.1.1, pluggy-1.4.0 rootdir: /home/buildozer/aports/testing/py3-eventlet/src/eventlet-0.36.1 configfile: pyproject.toml collected 734 items / 1 skipped tests/api_test.py ......... [ 1%] tests/backdoor_test.py ..s. [ 1%] tests/convenience_test.py ........... [ 3%] tests/dagpool_test.py ...................... [ 6%] tests/db_pool_test.py .....sssssssssssssssssssssssssssssssssssssssssssss [ 13%] sssssssssssssssssssssssssssssssssss [ 17%] tests/debug_test.py ......... [ 19%] tests/env_test.py ..... [ 19%] tests/event_test.py ....... [ 20%] tests/green_http_test.py ... [ 21%] tests/green_profile_test.py . [ 21%] tests/green_select_test.py . [ 21%] tests/greendns_test.py ................................................. [ 28%] ............................................ [ 34%] tests/greenio_test.py ...s.............................................. [ 40%] . [ 41%] tests/greenpool_test.py ............................ [ 44%] tests/greenthread_test.py ....................... [ 47%] tests/hub_test.py .............s........ [ 50%] tests/mysqldb_test.py sssssssss [ 52%] tests/not_asyncio_test.py . [ 52%] tests/openssl_test.py . [ 52%] tests/os_test.py . [ 52%] tests/patcher_psycopg_test.py s [ 52%] tests/patcher_test.py ..................................s.........F.... [ 59%] tests/pools_test.py ............. [ 61%] tests/queue_test.py ......................... [ 64%] tests/semaphore_test.py ....... [ 65%] tests/socket_test.py ........ [ 66%] tests/ssl_test.py ............... [ 68%] tests/subprocess_test.py ....... [ 69%] tests/test__event.py .. [ 69%] tests/test__greenness.py . [ 70%] tests/test__refcount.py .. [ 70%] tests/test__socket_errors.py .... [ 70%] tests/test_infrastructure_tests.py .. [ 71%] tests/thread_test.py ...... [ 71%] tests/timeout_test.py ...... [ 72%] tests/timeout_with_statement_test.py ........... [ 74%] tests/timer_test.py .. [ 74%] tests/tpool_test.py ............................... [ 78%] tests/websocket_new_test.py ..................... [ 81%] tests/websocket_test.py ........................ [ 84%] tests/wsgi_test.py .................s................................... [ 92%] ....s............................. [ 96%] tests/zmq_test.py ssssssssssssssssssssssss [100%] =================================== FAILURES =================================== _________________________ test_fork_after_monkey_patch _________________________ @pytest.mark.skipif( not sys.platform.startswith("linux"), reason="fork() doesn't work well on macOS, and definitely doesn't work on Windows" ) def test_fork_after_monkey_patch(): > tests.run_isolated('patcher_fork_after_monkey_patch.py') tests/patcher_test.py:522: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/__init__.py:365: in run_isolated run_python(prefix + path, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ path = '/home/buildozer/aports/testing/py3-eventlet/src/eventlet-0.36.1/tests/isolated/patcher_fork_after_monkey_patch.py' env = None, args = None, timeout = 10, pythonpath_extend = None expect_pass = True def run_python(path, env=None, args=None, timeout=None, pythonpath_extend=None, expect_pass=False): new_argv = [sys.executable] new_env = os.environ.copy() new_env.setdefault('eventlet_test_in_progress', 'yes') src_dir = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) if path: path = os.path.abspath(path) new_argv.append(path) new_env['PYTHONPATH'] = os.pathsep.join(sys.path + [src_dir]) if env: new_env.update(env) if pythonpath_extend: new_path = [p for p in new_env.get('PYTHONPATH', '').split(os.pathsep) if p] new_path.extend( p if os.path.isabs(p) else os.path.join(src_dir, p) for p in pythonpath_extend ) new_env['PYTHONPATH'] = os.pathsep.join(new_path) if args: new_argv.extend(args) p = subprocess.Popen( new_argv, env=new_env, stderr=subprocess.STDOUT, stdin=subprocess.PIPE, stdout=subprocess.PIPE, ) if timeout is None: timeout = 10 try: output, _ = p.communicate(timeout=timeout) except subprocess.TimeoutExpired: p.kill() output, _ = p.communicate(timeout=timeout) if expect_pass: sys.stderr.write('Program {} output:\n---\n{}\n---\n'.format(path, output.decode())) assert False, 'timed out' return '{}\nFAIL - timed out'.format(output).encode() if expect_pass: if output.startswith(b'skip'): parts = output.rstrip().split(b':', 1) skip_args = [] if len(parts) > 1: skip_args.append(parts[1]) raise SkipTest(*skip_args) lines = output.splitlines() ok = lines[-1].rstrip() == b'pass' if not ok or len(lines) > 1: sys.stderr.write('Program {} output:\n---\n{}\n---\n'.format(path, output.decode(errors="backslashreplace"))) > assert ok, 'Expected single line "pass" in stdout' E AssertionError: Expected single line "pass" in stdout tests/__init__.py:358: AssertionError ----------------------------- Captured stderr call ----------------------------- Program /home/buildozer/aports/testing/py3-eventlet/src/eventlet-0.36.1/tests/isolated/patcher_fork_after_monkey_patch.py output: --- /home/buildozer/aports/testing/py3-eventlet/src/eventlet-0.36.1/tests/isolated/patcher_fork_after_monkey_patch.py:38: DeprecationWarning: This process (pid=65246) is multi-threaded, use of fork() may lead to deadlocks in the child. if os.fork() == 0: Traceback (most recent call last): File "/home/buildozer/aports/testing/py3-eventlet/src/eventlet-0.36.1/tests/isolated/patcher_fork_after_monkey_patch.py", line 48, in check(2, threading, 'post-fork patched') File "/home/buildozer/aports/testing/py3-eventlet/src/eventlet-0.36.1/tests/isolated/patcher_fork_after_monkey_patch.py", line 7, in check assert len(mod._active) == n, 'Expected {} {} threads, got {}'.format(n, tag, mod._active) ^^^^^^^^^^^^^^^^^^^^^ AssertionError: Expected 2 post-fork patched threads, got {273556200656: <_MainThread(MainThread, started 273556200656)>} --- =============================== warnings summary =============================== tests/api_test.py: 2 warnings tests/convenience_test.py: 2 warnings tests/greenio_test.py: 1 warning tests/ssl_test.py: 26 warnings tests/websocket_test.py: 2 warnings tests/wsgi_test.py: 10 warnings /home/buildozer/aports/testing/py3-eventlet/src/eventlet-0.36.1/eventlet/green/ssl.py:97: DeprecationWarning: ssl.PROTOCOL_TLS is deprecated context = _original_sslcontext(protocol=ssl_version) tests/greendns_test.py::TinyDNSTests::test_noraise_dns_tcp /home/buildozer/aports/testing/py3-eventlet/src/eventlet-0.36.1/tests/greendns_test.py:933: DeprecationWarning: please use dns.resolver.Resolver.resolve() instead response = resolver.query('host.example.com', 'a', tcp=True) tests/greendns_test.py::TinyDNSTests::test_raise_dns_tcp /home/buildozer/aports/testing/py3-eventlet/src/eventlet-0.36.1/tests/greendns_test.py:924: DeprecationWarning: please use dns.resolver.Resolver.resolve() instead resolver.query('host.example.com', 'a', tcp=True) tests/not_asyncio_test.py::test_spawn_from_coroutine_errors /home/buildozer/aports/testing/py3-eventlet/src/eventlet-0.36.1/tests/not_asyncio_test.py:22: RuntimeWarning: coroutine 'test_spawn_from_coroutine_errors..go' was never awaited with pytest.raises(RuntimeError): Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. tests/openssl_test.py::test_import /home/buildozer/aports/testing/py3-eventlet/src/eventlet-0.36.1/eventlet/green/OpenSSL/crypto.py:1: DeprecationWarning: X509Extension support in pyOpenSSL is deprecated. You should use the APIs in cryptography. from OpenSSL.crypto import * tests/openssl_test.py::test_import tests/openssl_test.py::test_import tests/openssl_test.py::test_import tests/openssl_test.py::test_import /home/buildozer/aports/testing/py3-eventlet/src/eventlet-0.36.1/eventlet/green/OpenSSL/crypto.py:1: DeprecationWarning: CRL support in pyOpenSSL is deprecated. You should use the APIs in cryptography. from OpenSSL.crypto import * tests/openssl_test.py::test_import /home/buildozer/aports/testing/py3-eventlet/src/eventlet-0.36.1/eventlet/green/OpenSSL/crypto.py:1: DeprecationWarning: sign() is deprecated. Use the equivalent APIs in cryptography. from OpenSSL.crypto import * tests/openssl_test.py::test_import /home/buildozer/aports/testing/py3-eventlet/src/eventlet-0.36.1/eventlet/green/OpenSSL/crypto.py:1: DeprecationWarning: verify() is deprecated. Use the equivalent APIs in cryptography. from OpenSSL.crypto import * tests/ssl_test.py::SSLTest::test_context_wrapped_accept /home/buildozer/aports/testing/py3-eventlet/src/eventlet-0.36.1/tests/ssl_test.py:332: DeprecationWarning: ssl.PROTOCOL_TLS is deprecated context = ssl.SSLContext(ssl.PROTOCOL_TLS) tests/wsgi_test.py::TestHttpd::test_disable_header_name_capitalization /home/buildozer/aports/testing/py3-eventlet/src/eventlet-0.36.1/eventlet/greenthread.py:265: DeprecationWarning: capitalize_response_headers is disabled. Please, make sure you know what you are doing. HTTP headers names are case-insensitive per RFC standard. Most likely, you need to fix HTTP parsing in your client software. result = function(*args, **kwargs) -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED tests/patcher_test.py::test_fork_after_monkey_patch - AssertionError: ... ===== 1 failed, 613 passed, 121 skipped, 55 warnings in 204.84s (0:03:24) ====== >>> ERROR: py3-eventlet: check failed >>> py3-eventlet: Uninstalling dependencies... (1/64) Purging .makedepends-py3-eventlet (20240429.170709) (2/64) Purging py3-dnspython-pyc (2.6.1-r1) (3/64) Purging py3-dnspython (2.6.1-r1) (4/64) Purging py3-greenlet-pyc (3.0.3-r1) (5/64) Purging py3-greenlet (3.0.3-r1) (6/64) Purging py3-httplib2-pyc (0.22.0-r2) (7/64) Purging py3-httplib2 (0.22.0-r2) (8/64) Purging py3-openssl-pyc (24.1.0-r1) (9/64) Purging py3-openssl (24.1.0-r1) (10/64) Purging py3-cryptography-pyc (42.0.5-r1) (11/64) Purging py3-cryptography (42.0.5-r1) (12/64) Purging py3-cffi-pyc (1.16.0-r1) (13/64) Purging py3-cffi (1.16.0-r1) (14/64) Purging py3-cparser-pyc (2.22-r1) (15/64) Purging py3-cparser (2.22-r1) (16/64) Purging py3-psycopg2-pyc (2.9.9-r1) (17/64) Purging py3-psycopg2 (2.9.9-r1) (18/64) Purging py3-six-pyc (1.16.0-r9) (19/64) Purging py3-six (1.16.0-r9) (20/64) Purging py3-gpep517-pyc (15-r2) (21/64) Purging py3-gpep517 (15-r2) (22/64) Purging py3-installer-pyc (0.7.0-r2) (23/64) Purging py3-installer (0.7.0-r2) (24/64) Purging py3-wheel-pyc (0.42.0-r1) (25/64) Purging py3-wheel (0.42.0-r1) (26/64) Purging py3-hatch-vcs-pyc (0.4.0-r2) (27/64) Purging py3-hatch-vcs (0.4.0-r2) (28/64) Purging py3-hatchling-pyc (1.24.2-r0) (29/64) Purging py3-hatchling (1.24.2-r0) (30/64) Purging py3-editables-pyc (0.5-r2) (31/64) Purging py3-editables (0.5-r2) (32/64) Purging py3-pathspec-pyc (0.12.1-r2) (33/64) Purging py3-pathspec (0.12.1-r2) (34/64) Purging py3-trove-classifiers-pyc (2024.3.3-r2) (35/64) Purging py3-trove-classifiers (2024.3.3-r2) (36/64) Purging py3-setuptools_scm-pyc (8.0.4-r2) (37/64) Purging py3-setuptools_scm (8.0.4-r2) (38/64) Purging py3-setuptools-pyc (69.5.1-r0) (39/64) Purging py3-setuptools (69.5.1-r0) (40/64) Purging py3-pytest-pyc (8.1.1-r1) (41/64) Purging py3-pytest (8.1.1-r1) (42/64) Purging py3-iniconfig-pyc (2.0.0-r1) (43/64) Purging py3-iniconfig (2.0.0-r1) (44/64) Purging py3-packaging-pyc (24.0-r1) (45/64) Purging py3-packaging (24.0-r1) (46/64) Purging py3-parsing-pyc (3.1.2-r1) (47/64) Purging py3-parsing (3.1.2-r1) (48/64) Purging py3-pluggy-pyc (1.4.0-r1) (49/64) Purging py3-pluggy (1.4.0-r1) (50/64) Purging py3-py-pyc (1.11.0-r3) (51/64) Purging py3-py (1.11.0-r3) (52/64) Purging python3-pyc (3.12.3-r1) (53/64) Purging python3-pycache-pyc0 (3.12.3-r1) (54/64) Purging pyc (3.12.3-r1) (55/64) Purging python3 (3.12.3-r1) (56/64) Purging gdbm (1.23-r1) (57/64) Purging libbz2 (1.0.8-r6) (58/64) Purging libffi (3.4.6-r0) (59/64) Purging libpanelw (6.4_p20240330-r0) (60/64) Purging libpq (16.2-r4) (61/64) Purging mpdecimal (4.0.0-r0) (62/64) Purging readline (8.2.10-r0) (63/64) Purging sqlite-libs (3.45.3-r0) (64/64) Purging xz-libs (5.6.1-r3) Executing busybox-1.36.1-r26.trigger OK: 227 MiB in 102 packages