running pytest running egg_info writing asyncpg.egg-info/PKG-INFO writing dependency_links to asyncpg.egg-info/dependency_links.txt writing requirements to asyncpg.egg-info/requires.txt writing top-level names to asyncpg.egg-info/top_level.txt reading manifest file 'asyncpg.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.py' under directory 'examples' adding license file 'LICENSE' adding license file 'AUTHORS' writing manifest file 'asyncpg.egg-info/SOURCES.txt' running build_ext copying build/lib.linux-riscv64-3.10/asyncpg/pgproto/pgproto.cpython-310-riscv64-linux-gnu.so -> asyncpg/pgproto copying build/lib.linux-riscv64-3.10/asyncpg/protocol/protocol.cpython-310-riscv64-linux-gnu.so -> asyncpg/protocol ============================= test session starts ============================== platform linux -- Python 3.10.1, pytest-6.2.5, py-1.11.0, pluggy-0.13.1 rootdir: /build/python-asyncpg/src/asyncpg, configfile: pytest.ini, testpaths: tests collected 284 items tests/test__environment.py ss tests/test__sourcecode.py s tests/test_adversity.py ... tests/test_cache_invalidation.py ......... tests/test_cancellation.py .... tests/test_codecs.py ..................................F tests/test_connect.py ........................................ tests/test_copy.py ....................... tests/test_cursor.py .......... tests/test_exceptions.py ... tests/test_execute.py .................. tests/test_introspection.py ...... tests/test_listeners.py .......... tests/test_pool.py .......................................... tests/test_prepare.py ................................. tests/test_record.py ......................... tests/test_test.py .. tests/test_timeout.py ......... tests/test_transaction.py ...... tests/test_types.py . tests/test_utils.py .. =================================== FAILURES =================================== _______________ TestCodecsLargeOIDs.test_custom_codec_large_oid ________________ Traceback (most recent call last): File "/build/python-asyncpg/src/asyncpg/tests/test_codecs.py", line 1908, in test_custom_codec_large_oid v = await self.con.fetchval('SELECT $1::test_domain_t', 10) File "/build/python-asyncpg/src/asyncpg/asyncpg/connection.py", line 625, in fetchval data = await self._execute(query, args, 1, timeout) File "/build/python-asyncpg/src/asyncpg/asyncpg/connection.py", line 1639, in _execute result, _ = await self.__execute( File "/build/python-asyncpg/src/asyncpg/asyncpg/connection.py", line 1664, in __execute return await self._do_execute( File "/build/python-asyncpg/src/asyncpg/asyncpg/connection.py", line 1691, in _do_execute stmt = await self._get_statement( File "/build/python-asyncpg/src/asyncpg/asyncpg/connection.py", line 408, in _get_statement types, intro_stmt = await self._introspect_types( File "/build/python-asyncpg/src/asyncpg/asyncpg/connection.py", line 454, in _introspect_types return await self.__execute( File "/build/python-asyncpg/src/asyncpg/asyncpg/connection.py", line 1664, in __execute return await self._do_execute( File "/build/python-asyncpg/src/asyncpg/asyncpg/connection.py", line 1711, in _do_execute result = await executor(stmt, None) File "asyncpg/protocol/protocol.pyx", line 201, in bind_execute return await waiter asyncpg.exceptions.InternalServerError: could not load library "/usr/lib/postgresql/llvmjit.so": libLLVM-12.so: cannot open shared object file: No such file or directory =============================== warnings summary =============================== tests/test_codecs.py::TestCodecs::test_custom_codec_on_enum_array /usr/lib/python3.10/asyncio/selector_events.py:704: ResourceWarning: unclosed transport <_SelectorSocketTransport fd=12> _warn(f"unclosed transport {self!r}", ResourceWarning, source=self) tests/test_connect.py::TestConnection::test_connection_ssl_to_no_ssl_server /build/python-asyncpg/src/asyncpg/tests/test_connect.py:1115: DeprecationWarning: ssl.PROTOCOL_TLS is deprecated ssl_context = ssl.SSLContext(ssl.PROTOCOL_SSLv23) tests/test_connect.py::TestSSLConnection::test_executemany_uvloop_ssl_issue_700 /build/python-asyncpg/src/asyncpg/tests/test_connect.py:1346: DeprecationWarning: ssl.PROTOCOL_TLS is deprecated ssl_context = ssl.SSLContext(ssl.PROTOCOL_SSLv23) tests/test_connect.py::TestSSLConnection::test_ssl_connection_custom_context /build/python-asyncpg/src/asyncpg/tests/test_connect.py:1234: DeprecationWarning: ssl.PROTOCOL_TLS is deprecated ssl_context = ssl.SSLContext(ssl.PROTOCOL_SSLv23) tests/test_connect.py::TestSSLConnection::test_ssl_connection_pool /build/python-asyncpg/src/asyncpg/tests/test_connect.py:1321: DeprecationWarning: ssl.PROTOCOL_TLS is deprecated ssl_context = ssl.SSLContext(ssl.PROTOCOL_SSLv23) tests/test_connect.py::TestNoSSLConnection::test_nossl_connection_prefer_cancel /build/python-asyncpg/src/asyncpg/asyncpg/connection.py:128: ResourceWarning: unclosed connection ; run in asyncio debug mode to show the traceback of connection origin warnings.warn(msg, ResourceWarning) tests/test_prepare.py::TestPrepare::test_prepare_08_big_result /usr/lib/python3.10/asyncio/selector_events.py:870: ResourceWarning: unclosed self._protocol.data_received(data) tests/test_prepare.py::TestPrepare::test_prepare_08_big_result /usr/lib/python3.10/asyncio/selector_events.py:704: ResourceWarning: unclosed transport <_SelectorSocketTransport closing fd=10> _warn(f"unclosed transport {self!r}", ResourceWarning, source=self) -- Docs: https://docs.pytest.org/en/stable/warnings.html =========================== short test summary info ============================ FAILED tests/test_codecs.py::TestCodecsLargeOIDs::test_custom_codec_large_oid ======= 1 failed, 280 passed, 3 skipped, 8 warnings in 124.08s (0:02:04) ======= ==> ERROR: A failure occurred in check().  Aborting...