[12:25:23.852] [12:25:23.852] c:\cirrus>call C:\msys64\usr\bin\bash.exe -l -c "meson test --print-errorlogs --no-rebuild -C build --num-processes 4 --suite setup --suite pytest --suite ssl" [12:25:26.849] 1/10 postgresql:setup / tmp_install OK 2.28s [12:25:27.006] 2/10 postgresql:setup / install_test_files OK 0.15s [12:25:28.772] 3/10 postgresql:setup / initdb_cache OK 1.76s [12:25:29.336] | 4/10 - src/test/pytest/pyt/test_something.py::test_something FAIL [12:25:29.384] 4/10 postgresql:pytest / pytest/test_something FAIL 0.61s 1/2 subtests passed [12:25:29.398] >>> UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 top_builddir=C:/cirrus/build share_contrib_dir=C:/cirrus/build/tmp_install//usr/local/pgsql/share/contrib PG_REGRESS=C:/cirrus/build/src/test/regress/pg_regress.exe ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 INITDB_TEMPLATE=C:/cirrus/build/tmp_install/initdb-template MESON_TEST_ITERATION=1 PATH=C:/cirrus/build/tmp_install/usr/local/pgsql/bin;C:/cirrus/build/src/test/pytest;C:/cirrus/build/src/test/pytest/test;C:\msys64\ucrt64\bin;C:\msys64\ucrt64\bin\site_perl\5.38.4;C:\msys64\ucrt64\bin\vendor_perl;C:\msys64\ucrt64\bin\core_perl;C:\msys64\usr\local\bin;C:\msys64\usr\bin;C:\msys64\usr\bin;C:\Windows\System32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\ MALLOC_PERTURB_=8 REGRESS_SHLIB=C:/cirrus/build/src/test/regress/regress.dll PYTHONPATH=C:/cirrus/src/test/pytest/plugins C:\msys64\ucrt64\bin/python3.EXE C:/cirrus/build/../src/tools/testwrap --basedir C:/cirrus/build --srcdir C:/cirrus/src/test/pytest --pg-test-extra --testgroup pytest --testname test_something -- C:\msys64\ucrt64\bin/pytest.EXE -c C:/cirrus/pytest.ini --verbose -p pgtap -ra C:/cirrus/src/test/pytest/pyt/test_something.py [12:25:29.398] ------------------------------------- 8< ------------------------------------- [12:25:29.398] stderr: [12:25:29.398] ____________________________ test_something ____________________________ [12:25:29.398] [12:25:29.398] hey = None [12:25:29.398] [12:25:29.398] def test_something(hey): [12:25:29.398] > assert 2 == 4 [12:25:29.398] E assert 2 == 4 [12:25:29.398] [12:25:29.398] pyt/test_something.py:13: AssertionError [12:25:29.398] [12:25:29.398] _______________ Error during teardown of test_something ________________ [12:25:29.398] [12:25:29.398] @pytest.fixture [12:25:29.398] def hey(): [12:25:29.398] yield [12:25:29.398] > raise "uh-oh" [12:25:29.398] E TypeError: exceptions must derive from BaseException [12:25:29.398] [12:25:29.398] pyt/test_something.py:9: TypeError [12:25:29.398] [12:25:29.398] ------------------------------------------------------------------------------ [12:25:29.398] [12:25:29.416] | 5/10 - src/test/pytest/pyt/test_libpq.py::test_must_connect_errors FAIL [12:25:29.416] | 5/10 - src/test/pytest/pyt/test_libpq.py::test_connection_is_finished_on_error FAIL [12:25:29.462] 5/10 postgresql:pytest / pytest/test_libpq FAIL 0.68s 7/9 subtests passed [12:25:29.462] >>> UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 top_builddir=C:/cirrus/build share_contrib_dir=C:/cirrus/build/tmp_install//usr/local/pgsql/share/contrib PG_REGRESS=C:/cirrus/build/src/test/regress/pg_regress.exe MALLOC_PERTURB_=21 ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 INITDB_TEMPLATE=C:/cirrus/build/tmp_install/initdb-template MESON_TEST_ITERATION=1 PATH=C:/cirrus/build/tmp_install/usr/local/pgsql/bin;C:/cirrus/build/src/test/pytest;C:/cirrus/build/src/test/pytest/test;C:\msys64\ucrt64\bin;C:\msys64\ucrt64\bin\site_perl\5.38.4;C:\msys64\ucrt64\bin\vendor_perl;C:\msys64\ucrt64\bin\core_perl;C:\msys64\usr\local\bin;C:\msys64\usr\bin;C:\msys64\usr\bin;C:\Windows\System32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\ REGRESS_SHLIB=C:/cirrus/build/src/test/regress/regress.dll PYTHONPATH=C:/cirrus/src/test/pytest/plugins C:\msys64\ucrt64\bin/python3.EXE C:/cirrus/build/../src/tools/testwrap --basedir C:/cirrus/build --srcdir C:/cirrus/src/test/pytest --pg-test-extra --testgroup pytest --testname test_libpq -- C:\msys64\ucrt64\bin/pytest.EXE -c C:/cirrus/pytest.ini --verbose -p pgtap -ra C:/cirrus/src/test/pytest/pyt/test_libpq.py [12:25:29.462] ------------------------------------- 8< ------------------------------------- [12:25:29.462] Listing only the last 100 lines from a long log. [12:25:29.462] flags |= _FUNCFLAG_USE_LASTERROR [12:25:29.462] if _sys.platform.startswith("aix"): [12:25:29.462] """When the name contains ".a(" and ends with ")", [12:25:29.462] e.g., "libFOO.a(libFOO.so)" - this is taken to be an [12:25:29.462] archive(member) syntax for dlopen(), and the mode is adjusted. [12:25:29.462] Otherwise, name is presented to dlopen() as a file argument. [12:25:29.462] """ [12:25:29.462] if name and name.endswith(")") and ".a(" in name: [12:25:29.462] mode |= ( _os.RTLD_MEMBER | _os.RTLD_NOW ) [12:25:29.462] if _os.name == "nt": [12:25:29.462] if winmode is not None: [12:25:29.462] mode = winmode [12:25:29.462] else: [12:25:29.462] import nt [12:25:29.462] mode = nt._LOAD_LIBRARY_SEARCH_DEFAULT_DIRS [12:25:29.462] if '/' in name or '\\' in name: [12:25:29.462] self._name = nt._getfullpathname(self._name) [12:25:29.462] mode |= nt._LOAD_LIBRARY_SEARCH_DLL_LOAD_DIR [12:25:29.462] [12:25:29.462] class _FuncPtr(_CFuncPtr): [12:25:29.462] _flags_ = flags [12:25:29.462] _restype_ = self._func_restype_ [12:25:29.462] self._FuncPtr = _FuncPtr [12:25:29.462] [12:25:29.462] if handle is None: [12:25:29.462] > self._handle = _dlopen(self._name, mode) [12:25:29.462] ^^^^^^^^^^^^^^^^^^^^^^^^^ [12:25:29.462] E FileNotFoundError: Could not find module 'C:/cirrus/build/TMP_IN~1/usr/local/pgsql/lib/libpq.dll' (or one of its dependencies). Try using the full path with constructor syntax. [12:25:29.462] [12:25:29.462] C:/msys64/ucrt64/lib/python3.12/ctypes/__init__.py:379: FileNotFoundError [12:25:29.462] [12:25:29.462] _________________ test_connection_is_finished_on_error _________________ [12:25:29.462] [12:25:29.462] [12:25:29.462] ______ Error during setup of test_connection_is_finished_on_error ______ [12:25:29.462] [12:25:29.462] libdir = 'C:/cirrus/build/TMP_IN~1/usr/local/pgsql/lib' [12:25:29.462] [12:25:29.462] @pytest.fixture(scope="session") [12:25:29.462] def libpq_handle(libdir): [12:25:29.462] """ [12:25:29.462] Loads a ctypes handle for libpq. Some common function prototypes are [12:25:29.462] initialized for general use. [12:25:29.462] """ [12:25:29.462] > return load_libpq_handle(libdir) [12:25:29.462] ^^^^^^^^^^^^^^^^^^^^^^^^^ [12:25:29.462] [12:25:29.462] pypg/fixtures.py:39: [12:25:29.462] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [12:25:29.462] libpq.py:91: in load_libpq_handle [12:25:29.462] lib = ctypes.CDLL(libpq_path, **loadopts) [12:25:29.462] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [12:25:29.462] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [12:25:29.462] [12:25:29.462] self = [12:25:29.462] name = 'C:/cirrus/build/TMP_IN~1/usr/local/pgsql/lib/libpq.dll', mode = 0 [12:25:29.462] handle = None, use_errno = False, use_last_error = False, winmode = 0 [12:25:29.462] [12:25:29.462] def __init__(self, name, mode=DEFAULT_MODE, handle=None, [12:25:29.462] use_errno=False, [12:25:29.462] use_last_error=False, [12:25:29.462] winmode=None): [12:25:29.462] if name: [12:25:29.462] name = _os.fspath(name) [12:25:29.462] self._name = name [12:25:29.462] flags = self._func_flags_ [12:25:29.462] if use_errno: [12:25:29.462] flags |= _FUNCFLAG_USE_ERRNO [12:25:29.462] if use_last_error: [12:25:29.462] flags |= _FUNCFLAG_USE_LASTERROR [12:25:29.462] if _sys.platform.startswith("aix"): [12:25:29.462] """When the name contains ".a(" and ends with ")", [12:25:29.462] e.g., "libFOO.a(libFOO.so)" - this is taken to be an [12:25:29.462] archive(member) syntax for dlopen(), and the mode is adjusted. [12:25:29.462] Otherwise, name is presented to dlopen() as a file argument. [12:25:29.462] """ [12:25:29.462] if name and name.endswith(")") and ".a(" in name: [12:25:29.462] mode |= ( _os.RTLD_MEMBER | _os.RTLD_NOW ) [12:25:29.462] if _os.name == "nt": [12:25:29.462] if winmode is not None: [12:25:29.462] mode = winmode [12:25:29.462] else: [12:25:29.462] import nt [12:25:29.462] mode = nt._LOAD_LIBRARY_SEARCH_DEFAULT_DIRS [12:25:29.462] if '/' in name or '\\' in name: [12:25:29.462] self._name = nt._getfullpathname(self._name) [12:25:29.462] mode |= nt._LOAD_LIBRARY_SEARCH_DLL_LOAD_DIR [12:25:29.462] [12:25:29.462] class _FuncPtr(_CFuncPtr): [12:25:29.462] _flags_ = flags [12:25:29.462] _restype_ = self._func_restype_ [12:25:29.462] self._FuncPtr = _FuncPtr [12:25:29.462] [12:25:29.462] if handle is None: [12:25:29.462] > self._handle = _dlopen(self._name, mode) [12:25:29.462] ^^^^^^^^^^^^^^^^^^^^^^^^^ [12:25:29.462] E FileNotFoundError: Could not find module 'C:/cirrus/build/TMP_IN~1/usr/local/pgsql/lib/libpq.dll' (or one of its dependencies). Try using the full path with constructor syntax. [12:25:29.462] [12:25:29.462] C:/msys64/ucrt64/lib/python3.12/ctypes/__init__.py:379: FileNotFoundError [12:25:29.462] ------------------------------------------------------------------------------ [12:25:29.462] [12:25:30.260] | 6/10 - src/test/ssl/pyt/test_client.py::test_server_with_ssl_disabled[require] FAIL [12:25:30.260] | 6/10 - src/test/ssl/pyt/test_client.py::test_server_with_ssl_disabled[verify-ca] FAIL [12:25:30.260] | 6/10 - src/test/ssl/pyt/test_client.py::test_server_with_ssl_disabled[verify-full] FAIL [12:25:30.260] | 6/10 - src/test/ssl/pyt/test_client.py::test_verify_full_connection FAIL [12:25:30.308] 6/10 postgresql:ssl / ssl/test_client FAIL 0.84s 0/4 subtests passed [12:25:30.308] >>> UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 PG_REGRESS=C:/cirrus/build/src/test/regress/pg_regress.exe top_builddir=C:/cirrus/build share_contrib_dir=C:/cirrus/build/tmp_install//usr/local/pgsql/share/contrib ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 INITDB_TEMPLATE=C:/cirrus/build/tmp_install/initdb-template MESON_TEST_ITERATION=1 MALLOC_PERTURB_=12 PATH=C:/cirrus/build/tmp_install/usr/local/pgsql/bin;C:/cirrus/build/src/test/ssl;C:/cirrus/build/src/test/ssl/test;C:\msys64\ucrt64\bin;C:\msys64\ucrt64\bin\site_perl\5.38.4;C:\msys64\ucrt64\bin\vendor_perl;C:\msys64\ucrt64\bin\core_perl;C:\msys64\usr\local\bin;C:\msys64\usr\bin;C:\msys64\usr\bin;C:\Windows\System32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\ REGRESS_SHLIB=C:/cirrus/build/src/test/regress/regress.dll PYTHONPATH=C:/cirrus/src/test/pytest/plugins C:\msys64\ucrt64\bin/python3.EXE C:/cirrus/build/../src/tools/testwrap --basedir C:/cirrus/build --srcdir C:/cirrus/src/test/ssl --pg-test-extra --testgroup ssl --testname test_client -- C:\msys64\ucrt64\bin/pytest.EXE -c C:/cirrus/pytest.ini --verbose -p pgtap -ra C:/cirrus/src/test/ssl/pyt/test_client.py [12:25:30.308] ------------------------------------- 8< ------------------------------------- [12:25:30.308] Listing only the last 100 lines from a long log. [12:25:30.308] flags |= _FUNCFLAG_USE_LASTERROR [12:25:30.308] if _sys.platform.startswith("aix"): [12:25:30.308] """When the name contains ".a(" and ends with ")", [12:25:30.308] e.g., "libFOO.a(libFOO.so)" - this is taken to be an [12:25:30.308] archive(member) syntax for dlopen(), and the mode is adjusted. [12:25:30.308] Otherwise, name is presented to dlopen() as a file argument. [12:25:30.308] """ [12:25:30.308] if name and name.endswith(")") and ".a(" in name: [12:25:30.308] mode |= ( _os.RTLD_MEMBER | _os.RTLD_NOW ) [12:25:30.308] if _os.name == "nt": [12:25:30.308] if winmode is not None: [12:25:30.308] mode = winmode [12:25:30.308] else: [12:25:30.308] import nt [12:25:30.308] mode = nt._LOAD_LIBRARY_SEARCH_DEFAULT_DIRS [12:25:30.308] if '/' in name or '\\' in name: [12:25:30.308] self._name = nt._getfullpathname(self._name) [12:25:30.308] mode |= nt._LOAD_LIBRARY_SEARCH_DLL_LOAD_DIR [12:25:30.308] [12:25:30.308] class _FuncPtr(_CFuncPtr): [12:25:30.308] _flags_ = flags [12:25:30.308] _restype_ = self._func_restype_ [12:25:30.308] self._FuncPtr = _FuncPtr [12:25:30.308] [12:25:30.308] if handle is None: [12:25:30.308] > self._handle = _dlopen(self._name, mode) [12:25:30.308] ^^^^^^^^^^^^^^^^^^^^^^^^^ [12:25:30.308] E FileNotFoundError: Could not find module 'C:/cirrus/build/TMP_IN~1/usr/local/pgsql/lib/libpq.dll' (or one of its dependencies). Try using the full path with constructor syntax. [12:25:30.308] [12:25:30.308] C:/msys64/ucrt64/lib/python3.12/ctypes/__init__.py:379: FileNotFoundError [12:25:30.308] [12:25:30.308] _____________________ test_verify_full_connection ______________________ [12:25:30.308] [12:25:30.308] [12:25:30.308] __________ Error during setup of test_verify_full_connection ___________ [12:25:30.308] [12:25:30.308] libdir = 'C:/cirrus/build/TMP_IN~1/usr/local/pgsql/lib' [12:25:30.308] [12:25:30.308] @pytest.fixture(scope="session") [12:25:30.308] def libpq_handle(libdir): [12:25:30.308] """ [12:25:30.308] Loads a ctypes handle for libpq. Some common function prototypes are [12:25:30.308] initialized for general use. [12:25:30.308] """ [12:25:30.308] > return load_libpq_handle(libdir) [12:25:30.308] ^^^^^^^^^^^^^^^^^^^^^^^^^ [12:25:30.308] [12:25:30.308] ../pytest/pypg/fixtures.py:39: [12:25:30.308] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [12:25:30.308] ../pytest/libpq.py:91: in load_libpq_handle [12:25:30.308] lib = ctypes.CDLL(libpq_path, **loadopts) [12:25:30.308] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [12:25:30.308] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [12:25:30.308] [12:25:30.308] self = [12:25:30.308] name = 'C:/cirrus/build/TMP_IN~1/usr/local/pgsql/lib/libpq.dll', mode = 0 [12:25:30.308] handle = None, use_errno = False, use_last_error = False, winmode = 0 [12:25:30.308] [12:25:30.308] def __init__(self, name, mode=DEFAULT_MODE, handle=None, [12:25:30.308] use_errno=False, [12:25:30.308] use_last_error=False, [12:25:30.308] winmode=None): [12:25:30.308] if name: [12:25:30.308] name = _os.fspath(name) [12:25:30.308] self._name = name [12:25:30.308] flags = self._func_flags_ [12:25:30.308] if use_errno: [12:25:30.308] flags |= _FUNCFLAG_USE_ERRNO [12:25:30.308] if use_last_error: [12:25:30.308] flags |= _FUNCFLAG_USE_LASTERROR [12:25:30.308] if _sys.platform.startswith("aix"): [12:25:30.308] """When the name contains ".a(" and ends with ")", [12:25:30.308] e.g., "libFOO.a(libFOO.so)" - this is taken to be an [12:25:30.308] archive(member) syntax for dlopen(), and the mode is adjusted. [12:25:30.308] Otherwise, name is presented to dlopen() as a file argument. [12:25:30.308] """ [12:25:30.308] if name and name.endswith(")") and ".a(" in name: [12:25:30.308] mode |= ( _os.RTLD_MEMBER | _os.RTLD_NOW ) [12:25:30.308] if _os.name == "nt": [12:25:30.308] if winmode is not None: [12:25:30.308] mode = winmode [12:25:30.308] else: [12:25:30.308] import nt [12:25:30.308] mode = nt._LOAD_LIBRARY_SEARCH_DEFAULT_DIRS [12:25:30.308] if '/' in name or '\\' in name: [12:25:30.308] self._name = nt._getfullpathname(self._name) [12:25:30.308] mode |= nt._LOAD_LIBRARY_SEARCH_DLL_LOAD_DIR [12:25:30.308] [12:25:30.308] class _FuncPtr(_CFuncPtr): [12:25:30.308] _flags_ = flags [12:25:30.308] _restype_ = self._func_restype_ [12:25:30.308] self._FuncPtr = _FuncPtr [12:25:30.308] [12:25:30.308] if handle is None: [12:25:30.308] > self._handle = _dlopen(self._name, mode) [12:25:30.308] ^^^^^^^^^^^^^^^^^^^^^^^^^ [12:25:30.308] E FileNotFoundError: Could not find module 'C:/cirrus/build/TMP_IN~1/usr/local/pgsql/lib/libpq.dll' (or one of its dependencies). Try using the full path with constructor syntax. [12:25:30.308] [12:25:30.308] C:/msys64/ucrt64/lib/python3.12/ctypes/__init__.py:379: FileNotFoundError [12:25:30.308] ------------------------------------------------------------------------------ [12:25:30.308] [12:25:31.561] | 7/10 - src/test/ssl/pyt/test_server.py::test_direct_ssl_certificate_authentication[trust-None-None] FAIL [12:25:31.561] | 7/10 - src/test/ssl/pyt/test_server.py::test_direct_ssl_certificate_authentication[trust-client-None] FAIL [12:25:31.561] | 7/10 - src/test/ssl/pyt/test_server.py::test_direct_ssl_certificate_authentication[trust-server-None] FAIL [12:25:31.561] | 7/10 - src/test/ssl/pyt/test_server.py::test_direct_ssl_certificate_authentication[trust clientcert=verify-ca-None-requires a valid client certificate] FAIL [12:25:31.561] | 7/10 - src/test/ssl/pyt/test_server.py::test_direct_ssl_certificate_authentication[trust clientcert=verify-ca-client-None] FAIL [12:25:31.561] | 7/10 - src/test/ssl/pyt/test_server.py::test_direct_ssl_certificate_authentication[trust clientcert=verify-ca-server-None] FAIL [12:25:31.561] | 7/10 - src/test/ssl/pyt/test_server.py::test_direct_ssl_certificate_authentication[trust clientcert=verify-full-None-requires a valid client certificate] FAIL [12:25:31.561] | 7/10 - src/test/ssl/pyt/test_server.py::test_direct_ssl_certificate_authentication[trust clientcert=verify-full-client-None] FAIL [12:25:31.561] | 7/10 - src/test/ssl/pyt/test_server.py::test_direct_ssl_certificate_authentication[trust clientcert=verify-full-server-authentication failed for user] FAIL [12:25:31.561] | 7/10 - src/test/ssl/pyt/test_server.py::test_direct_ssl_certificate_authentication[cert-None-requires a valid client certificate] FAIL [12:25:31.561] | 7/10 - src/test/ssl/pyt/test_server.py::test_direct_ssl_certificate_authentication[cert-client-None] FAIL [12:25:31.561] | 7/10 - src/test/ssl/pyt/test_server.py::test_direct_ssl_certificate_authentication[cert-server-authentication failed for user] FAIL [12:25:31.608] 7/10 postgresql:ssl / ssl/test_server FAIL 1.29s 0/12 subtests passed [12:25:31.608] >>> UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 top_builddir=C:/cirrus/build share_contrib_dir=C:/cirrus/build/tmp_install//usr/local/pgsql/share/contrib PG_REGRESS=C:/cirrus/build/src/test/regress/pg_regress.exe ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 INITDB_TEMPLATE=C:/cirrus/build/tmp_install/initdb-template MESON_TEST_ITERATION=1 PATH=C:/cirrus/build/tmp_install/usr/local/pgsql/bin;C:/cirrus/build/src/test/ssl;C:/cirrus/build/src/test/ssl/test;C:\msys64\ucrt64\bin;C:\msys64\ucrt64\bin\site_perl\5.38.4;C:\msys64\ucrt64\bin\vendor_perl;C:\msys64\ucrt64\bin\core_perl;C:\msys64\usr\local\bin;C:\msys64\usr\bin;C:\msys64\usr\bin;C:\Windows\System32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\ MALLOC_PERTURB_=63 REGRESS_SHLIB=C:/cirrus/build/src/test/regress/regress.dll PYTHONPATH=C:/cirrus/src/test/pytest/plugins C:\msys64\ucrt64\bin/python3.EXE C:/cirrus/build/../src/tools/testwrap --basedir C:/cirrus/build --srcdir C:/cirrus/src/test/ssl --pg-test-extra --testgroup ssl --testname test_server -- C:\msys64\ucrt64\bin/pytest.EXE -c C:/cirrus/pytest.ini --verbose -p pgtap -ra C:/cirrus/src/test/ssl/pyt/test_server.py [12:25:31.608] ------------------------------------- 8< ------------------------------------- [12:25:31.608] Listing only the last 100 lines from a long log. [12:25:31.608] flags |= _FUNCFLAG_USE_LASTERROR [12:25:31.608] if _sys.platform.startswith("aix"): [12:25:31.608] """When the name contains ".a(" and ends with ")", [12:25:31.608] e.g., "libFOO.a(libFOO.so)" - this is taken to be an [12:25:31.608] archive(member) syntax for dlopen(), and the mode is adjusted. [12:25:31.608] Otherwise, name is presented to dlopen() as a file argument. [12:25:31.608] """ [12:25:31.608] if name and name.endswith(")") and ".a(" in name: [12:25:31.608] mode |= ( _os.RTLD_MEMBER | _os.RTLD_NOW ) [12:25:31.608] if _os.name == "nt": [12:25:31.608] if winmode is not None: [12:25:31.608] mode = winmode [12:25:31.608] else: [12:25:31.608] import nt [12:25:31.608] mode = nt._LOAD_LIBRARY_SEARCH_DEFAULT_DIRS [12:25:31.608] if '/' in name or '\\' in name: [12:25:31.608] self._name = nt._getfullpathname(self._name) [12:25:31.608] mode |= nt._LOAD_LIBRARY_SEARCH_DLL_LOAD_DIR [12:25:31.608] [12:25:31.608] class _FuncPtr(_CFuncPtr): [12:25:31.608] _flags_ = flags [12:25:31.608] _restype_ = self._func_restype_ [12:25:31.608] self._FuncPtr = _FuncPtr [12:25:31.608] [12:25:31.608] if handle is None: [12:25:31.608] > self._handle = _dlopen(self._name, mode) [12:25:31.608] ^^^^^^^^^^^^^^^^^^^^^^^^^ [12:25:31.608] E FileNotFoundError: Could not find module 'C:/cirrus/build/TMP_IN~1/usr/local/pgsql/lib/libpq.dll' (or one of its dependencies). Try using the full path with constructor syntax. [12:25:31.608] [12:25:31.608] C:/msys64/ucrt64/lib/python3.12/ctypes/__init__.py:379: FileNotFoundError [12:25:31.608] [12:25:31.608] test_direct_ssl_certificate_authentication[cert-server-authentication failed for user] [12:25:31.608] [12:25:31.608] [12:25:31.608] Error during setup of test_direct_ssl_certificate_authentication[cert-server-authentication failed for user] [12:25:31.608] [12:25:31.608] libdir = 'C:/cirrus/build/TMP_IN~1/usr/local/pgsql/lib' [12:25:31.608] [12:25:31.608] @pytest.fixture(scope="session") [12:25:31.608] def libpq_handle(libdir): [12:25:31.608] """ [12:25:31.608] Loads a ctypes handle for libpq. Some common function prototypes are [12:25:31.608] initialized for general use. [12:25:31.608] """ [12:25:31.608] > return load_libpq_handle(libdir) [12:25:31.608] ^^^^^^^^^^^^^^^^^^^^^^^^^ [12:25:31.608] [12:25:31.608] ../pytest/pypg/fixtures.py:39: [12:25:31.608] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [12:25:31.608] ../pytest/libpq.py:91: in load_libpq_handle [12:25:31.608] lib = ctypes.CDLL(libpq_path, **loadopts) [12:25:31.608] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [12:25:31.608] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [12:25:31.608] [12:25:31.608] self = [12:25:31.608] name = 'C:/cirrus/build/TMP_IN~1/usr/local/pgsql/lib/libpq.dll', mode = 0 [12:25:31.608] handle = None, use_errno = False, use_last_error = False, winmode = 0 [12:25:31.608] [12:25:31.608] def __init__(self, name, mode=DEFAULT_MODE, handle=None, [12:25:31.608] use_errno=False, [12:25:31.608] use_last_error=False, [12:25:31.608] winmode=None): [12:25:31.608] if name: [12:25:31.608] name = _os.fspath(name) [12:25:31.608] self._name = name [12:25:31.608] flags = self._func_flags_ [12:25:31.608] if use_errno: [12:25:31.608] flags |= _FUNCFLAG_USE_ERRNO [12:25:31.608] if use_last_error: [12:25:31.608] flags |= _FUNCFLAG_USE_LASTERROR [12:25:31.608] if _sys.platform.startswith("aix"): [12:25:31.608] """When the name contains ".a(" and ends with ")", [12:25:31.608] e.g., "libFOO.a(libFOO.so)" - this is taken to be an [12:25:31.608] archive(member) syntax for dlopen(), and the mode is adjusted. [12:25:31.608] Otherwise, name is presented to dlopen() as a file argument. [12:25:31.608] """ [12:25:31.608] if name and name.endswith(")") and ".a(" in name: [12:25:31.608] mode |= ( _os.RTLD_MEMBER | _os.RTLD_NOW ) [12:25:31.608] if _os.name == "nt": [12:25:31.608] if winmode is not None: [12:25:31.608] mode = winmode [12:25:31.608] else: [12:25:31.608] import nt [12:25:31.608] mode = nt._LOAD_LIBRARY_SEARCH_DEFAULT_DIRS [12:25:31.608] if '/' in name or '\\' in name: [12:25:31.608] self._name = nt._getfullpathname(self._name) [12:25:31.608] mode |= nt._LOAD_LIBRARY_SEARCH_DLL_LOAD_DIR [12:25:31.608] [12:25:31.608] class _FuncPtr(_CFuncPtr): [12:25:31.608] _flags_ = flags [12:25:31.608] _restype_ = self._func_restype_ [12:25:31.608] self._FuncPtr = _FuncPtr [12:25:31.608] [12:25:31.608] if handle is None: [12:25:31.608] > self._handle = _dlopen(self._name, mode) [12:25:31.608] ^^^^^^^^^^^^^^^^^^^^^^^^^ [12:25:31.608] E FileNotFoundError: Could not find module 'C:/cirrus/build/TMP_IN~1/usr/local/pgsql/lib/libpq.dll' (or one of its dependencies). Try using the full path with constructor syntax. [12:25:31.608] [12:25:31.608] C:/msys64/ucrt64/lib/python3.12/ctypes/__init__.py:379: FileNotFoundError [12:25:31.608] ------------------------------------------------------------------------------ [12:25:31.608] [12:25:35.331] 8/10 postgresql:ssl / ssl/002_scram OK 6.55s 28 subtests passed [12:25:35.927] 9/10 postgresql:ssl / ssl/003_sslinfo OK 6.54s 21 subtests passed [12:25:42.279] 10/10 postgresql:ssl / ssl/001_ssltests OK 13.48s 210 subtests passed [12:25:42.295] [12:25:42.295] Summary of Failures: [12:25:42.295] [12:25:42.295] 4/10 postgresql:pytest / pytest/test_something FAIL 0.61s 1/2 subtests passed [12:25:42.295] 5/10 postgresql:pytest / pytest/test_libpq FAIL 0.68s 7/9 subtests passed [12:25:42.295] 6/10 postgresql:ssl / ssl/test_client FAIL 0.84s 0/4 subtests passed [12:25:42.295] 7/10 postgresql:ssl / ssl/test_server FAIL 1.29s 0/12 subtests passed [12:25:42.295] [12:25:42.295] Ok: 6 [12:25:42.295] Fail: 4 [12:25:42.295] [12:25:42.295] Full log written to C:/cirrus/build/meson-logs/testlog.txt [12:25:42.342] [12:25:42.342] c:\cirrus>if 4 NEQ 0 exit /b 4 [12:25:42.349] [12:25:42.349] Exit status: 4