[02:30:21.470] [02:30:21.470] 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" [02:30:24.930] 1/10 postgresql:setup / tmp_install OK 2.53s [02:30:25.088] 2/10 postgresql:setup / install_test_files OK 0.16s [02:30:27.245] 3/10 postgresql:setup / initdb_cache OK 2.15s [02:30:27.918] | 4/10 - src/test/pytest/pyt/test_something.py::test_something FAIL [02:30:28.013] 4/10 postgresql:pytest / pytest/test_something FAIL 0.75s 1/2 subtests passed [02:30:28.013] >>> INITDB_TEMPLATE=C:/cirrus/build/tmp_install/initdb-template MALLOC_PERTURB_=172 ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 REGRESS_SHLIB=C:/cirrus/build/src/test/regress/regress.dll PG_REGRESS=C:/cirrus/build/src/test/regress/pg_regress.exe MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 PYTHONPATH=C:/cirrus/src/test/pytest/plugins 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\ share_contrib_dir=C:/cirrus/build/tmp_install//usr/local/pgsql/share/contrib top_builddir=C:/cirrus/build 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 [02:30:28.013] ------------------------------------- 8< ------------------------------------- [02:30:28.013] stderr: [02:30:28.013] ____________________________ test_something ____________________________ [02:30:28.013] [02:30:28.013] hey = None [02:30:28.013] [02:30:28.013] def test_something(hey): [02:30:28.013] > assert 2 == 4 [02:30:28.013] E assert 2 == 4 [02:30:28.013] [02:30:28.013] pyt/test_something.py:13: AssertionError [02:30:28.013] [02:30:28.013] _______________ Error during teardown of test_something ________________ [02:30:28.013] [02:30:28.013] @pytest.fixture [02:30:28.013] def hey(): [02:30:28.013] yield [02:30:28.013] > raise "uh-oh" [02:30:28.013] E TypeError: exceptions must derive from BaseException [02:30:28.013] [02:30:28.013] pyt/test_something.py:9: TypeError [02:30:28.013] [02:30:28.013] ------------------------------------------------------------------------------ [02:30:28.013] [02:30:28.029] | 5/10 - src/test/pytest/pyt/test_libpq.py::test_must_connect_errors FAIL [02:30:28.029] | 5/10 - src/test/pytest/pyt/test_libpq.py::test_connection_is_finished_on_error FAIL [02:30:28.108] 5/10 postgresql:pytest / pytest/test_libpq FAIL 0.85s 7/9 subtests passed [02:30:28.108] >>> INITDB_TEMPLATE=C:/cirrus/build/tmp_install/initdb-template ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 REGRESS_SHLIB=C:/cirrus/build/src/test/regress/regress.dll PG_REGRESS=C:/cirrus/build/src/test/regress/pg_regress.exe MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 PYTHONPATH=C:/cirrus/src/test/pytest/plugins MESON_TEST_ITERATION=1 MALLOC_PERTURB_=216 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\ share_contrib_dir=C:/cirrus/build/tmp_install//usr/local/pgsql/share/contrib top_builddir=C:/cirrus/build 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 [02:30:28.108] ------------------------------------- 8< ------------------------------------- [02:30:28.108] Listing only the last 100 lines from a long log. [02:30:28.108] flags |= _FUNCFLAG_USE_LASTERROR [02:30:28.108] if _sys.platform.startswith("aix"): [02:30:28.108] """When the name contains ".a(" and ends with ")", [02:30:28.108] e.g., "libFOO.a(libFOO.so)" - this is taken to be an [02:30:28.108] archive(member) syntax for dlopen(), and the mode is adjusted. [02:30:28.108] Otherwise, name is presented to dlopen() as a file argument. [02:30:28.108] """ [02:30:28.108] if name and name.endswith(")") and ".a(" in name: [02:30:28.108] mode |= ( _os.RTLD_MEMBER | _os.RTLD_NOW ) [02:30:28.108] if _os.name == "nt": [02:30:28.108] if winmode is not None: [02:30:28.108] mode = winmode [02:30:28.108] else: [02:30:28.108] import nt [02:30:28.108] mode = nt._LOAD_LIBRARY_SEARCH_DEFAULT_DIRS [02:30:28.108] if '/' in name or '\\' in name: [02:30:28.108] self._name = nt._getfullpathname(self._name) [02:30:28.108] mode |= nt._LOAD_LIBRARY_SEARCH_DLL_LOAD_DIR [02:30:28.108] [02:30:28.108] class _FuncPtr(_CFuncPtr): [02:30:28.108] _flags_ = flags [02:30:28.108] _restype_ = self._func_restype_ [02:30:28.108] self._FuncPtr = _FuncPtr [02:30:28.108] [02:30:28.108] if handle is None: [02:30:28.108] > self._handle = _dlopen(self._name, mode) [02:30:28.108] ^^^^^^^^^^^^^^^^^^^^^^^^^ [02:30:28.108] 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. [02:30:28.108] [02:30:28.108] C:/msys64/ucrt64/lib/python3.12/ctypes/__init__.py:379: FileNotFoundError [02:30:28.108] [02:30:28.108] _________________ test_connection_is_finished_on_error _________________ [02:30:28.108] [02:30:28.108] [02:30:28.108] ______ Error during setup of test_connection_is_finished_on_error ______ [02:30:28.108] [02:30:28.108] libdir = 'C:/cirrus/build/TMP_IN~1/usr/local/pgsql/lib' [02:30:28.108] [02:30:28.108] @pytest.fixture(scope="session") [02:30:28.108] def libpq_handle(libdir): [02:30:28.108] """ [02:30:28.108] Loads a ctypes handle for libpq. Some common function prototypes are [02:30:28.108] initialized for general use. [02:30:28.108] """ [02:30:28.108] > return load_libpq_handle(libdir) [02:30:28.108] ^^^^^^^^^^^^^^^^^^^^^^^^^ [02:30:28.108] [02:30:28.108] pypg/fixtures.py:39: [02:30:28.108] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [02:30:28.108] libpq.py:91: in load_libpq_handle [02:30:28.108] lib = ctypes.CDLL(libpq_path, **loadopts) [02:30:28.108] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [02:30:28.108] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [02:30:28.108] [02:30:28.108] self = [02:30:28.108] name = 'C:/cirrus/build/TMP_IN~1/usr/local/pgsql/lib/libpq.dll', mode = 0 [02:30:28.108] handle = None, use_errno = False, use_last_error = False, winmode = 0 [02:30:28.108] [02:30:28.108] def __init__(self, name, mode=DEFAULT_MODE, handle=None, [02:30:28.108] use_errno=False, [02:30:28.108] use_last_error=False, [02:30:28.108] winmode=None): [02:30:28.108] if name: [02:30:28.108] name = _os.fspath(name) [02:30:28.108] self._name = name [02:30:28.108] flags = self._func_flags_ [02:30:28.108] if use_errno: [02:30:28.108] flags |= _FUNCFLAG_USE_ERRNO [02:30:28.108] if use_last_error: [02:30:28.108] flags |= _FUNCFLAG_USE_LASTERROR [02:30:28.108] if _sys.platform.startswith("aix"): [02:30:28.108] """When the name contains ".a(" and ends with ")", [02:30:28.108] e.g., "libFOO.a(libFOO.so)" - this is taken to be an [02:30:28.108] archive(member) syntax for dlopen(), and the mode is adjusted. [02:30:28.108] Otherwise, name is presented to dlopen() as a file argument. [02:30:28.108] """ [02:30:28.108] if name and name.endswith(")") and ".a(" in name: [02:30:28.108] mode |= ( _os.RTLD_MEMBER | _os.RTLD_NOW ) [02:30:28.108] if _os.name == "nt": [02:30:28.108] if winmode is not None: [02:30:28.108] mode = winmode [02:30:28.108] else: [02:30:28.108] import nt [02:30:28.108] mode = nt._LOAD_LIBRARY_SEARCH_DEFAULT_DIRS [02:30:28.108] if '/' in name or '\\' in name: [02:30:28.108] self._name = nt._getfullpathname(self._name) [02:30:28.108] mode |= nt._LOAD_LIBRARY_SEARCH_DLL_LOAD_DIR [02:30:28.108] [02:30:28.108] class _FuncPtr(_CFuncPtr): [02:30:28.108] _flags_ = flags [02:30:28.108] _restype_ = self._func_restype_ [02:30:28.108] self._FuncPtr = _FuncPtr [02:30:28.108] [02:30:28.108] if handle is None: [02:30:28.108] > self._handle = _dlopen(self._name, mode) [02:30:28.108] ^^^^^^^^^^^^^^^^^^^^^^^^^ [02:30:28.108] 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. [02:30:28.108] [02:30:28.108] C:/msys64/ucrt64/lib/python3.12/ctypes/__init__.py:379: FileNotFoundError [02:30:28.108] ------------------------------------------------------------------------------ [02:30:28.108] [02:30:29.157] | 6/10 - src/test/ssl/pyt/test_client.py::test_server_with_ssl_disabled[require] FAIL [02:30:29.157] | 6/10 - src/test/ssl/pyt/test_client.py::test_server_with_ssl_disabled[verify-ca] FAIL [02:30:29.157] | 6/10 - src/test/ssl/pyt/test_client.py::test_server_with_ssl_disabled[verify-full] FAIL [02:30:29.157] | 6/10 - src/test/ssl/pyt/test_client.py::test_verify_full_connection FAIL [02:30:29.232] 6/10 postgresql:ssl / ssl/test_client FAIL 1.10s 0/4 subtests passed [02:30:29.232] >>> INITDB_TEMPLATE=C:/cirrus/build/tmp_install/initdb-template ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 REGRESS_SHLIB=C:/cirrus/build/src/test/regress/regress.dll PG_REGRESS=C:/cirrus/build/src/test/regress/pg_regress.exe MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 PYTHONPATH=C:/cirrus/src/test/pytest/plugins MESON_TEST_ITERATION=1 MALLOC_PERTURB_=127 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\ share_contrib_dir=C:/cirrus/build/tmp_install//usr/local/pgsql/share/contrib top_builddir=C:/cirrus/build 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 [02:30:29.232] ------------------------------------- 8< ------------------------------------- [02:30:29.232] Listing only the last 100 lines from a long log. [02:30:29.232] flags |= _FUNCFLAG_USE_LASTERROR [02:30:29.232] if _sys.platform.startswith("aix"): [02:30:29.232] """When the name contains ".a(" and ends with ")", [02:30:29.232] e.g., "libFOO.a(libFOO.so)" - this is taken to be an [02:30:29.232] archive(member) syntax for dlopen(), and the mode is adjusted. [02:30:29.232] Otherwise, name is presented to dlopen() as a file argument. [02:30:29.232] """ [02:30:29.232] if name and name.endswith(")") and ".a(" in name: [02:30:29.232] mode |= ( _os.RTLD_MEMBER | _os.RTLD_NOW ) [02:30:29.232] if _os.name == "nt": [02:30:29.232] if winmode is not None: [02:30:29.232] mode = winmode [02:30:29.232] else: [02:30:29.232] import nt [02:30:29.232] mode = nt._LOAD_LIBRARY_SEARCH_DEFAULT_DIRS [02:30:29.232] if '/' in name or '\\' in name: [02:30:29.232] self._name = nt._getfullpathname(self._name) [02:30:29.232] mode |= nt._LOAD_LIBRARY_SEARCH_DLL_LOAD_DIR [02:30:29.232] [02:30:29.232] class _FuncPtr(_CFuncPtr): [02:30:29.232] _flags_ = flags [02:30:29.232] _restype_ = self._func_restype_ [02:30:29.232] self._FuncPtr = _FuncPtr [02:30:29.232] [02:30:29.232] if handle is None: [02:30:29.232] > self._handle = _dlopen(self._name, mode) [02:30:29.232] ^^^^^^^^^^^^^^^^^^^^^^^^^ [02:30:29.232] 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. [02:30:29.232] [02:30:29.232] C:/msys64/ucrt64/lib/python3.12/ctypes/__init__.py:379: FileNotFoundError [02:30:29.232] [02:30:29.232] _____________________ test_verify_full_connection ______________________ [02:30:29.232] [02:30:29.232] [02:30:29.232] __________ Error during setup of test_verify_full_connection ___________ [02:30:29.232] [02:30:29.232] libdir = 'C:/cirrus/build/TMP_IN~1/usr/local/pgsql/lib' [02:30:29.232] [02:30:29.232] @pytest.fixture(scope="session") [02:30:29.232] def libpq_handle(libdir): [02:30:29.232] """ [02:30:29.232] Loads a ctypes handle for libpq. Some common function prototypes are [02:30:29.232] initialized for general use. [02:30:29.232] """ [02:30:29.232] > return load_libpq_handle(libdir) [02:30:29.232] ^^^^^^^^^^^^^^^^^^^^^^^^^ [02:30:29.232] [02:30:29.232] ../pytest/pypg/fixtures.py:39: [02:30:29.232] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [02:30:29.232] ../pytest/libpq.py:91: in load_libpq_handle [02:30:29.232] lib = ctypes.CDLL(libpq_path, **loadopts) [02:30:29.232] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [02:30:29.232] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [02:30:29.232] [02:30:29.232] self = [02:30:29.232] name = 'C:/cirrus/build/TMP_IN~1/usr/local/pgsql/lib/libpq.dll', mode = 0 [02:30:29.232] handle = None, use_errno = False, use_last_error = False, winmode = 0 [02:30:29.232] [02:30:29.232] def __init__(self, name, mode=DEFAULT_MODE, handle=None, [02:30:29.232] use_errno=False, [02:30:29.232] use_last_error=False, [02:30:29.232] winmode=None): [02:30:29.232] if name: [02:30:29.232] name = _os.fspath(name) [02:30:29.232] self._name = name [02:30:29.232] flags = self._func_flags_ [02:30:29.232] if use_errno: [02:30:29.232] flags |= _FUNCFLAG_USE_ERRNO [02:30:29.232] if use_last_error: [02:30:29.232] flags |= _FUNCFLAG_USE_LASTERROR [02:30:29.232] if _sys.platform.startswith("aix"): [02:30:29.232] """When the name contains ".a(" and ends with ")", [02:30:29.232] e.g., "libFOO.a(libFOO.so)" - this is taken to be an [02:30:29.232] archive(member) syntax for dlopen(), and the mode is adjusted. [02:30:29.232] Otherwise, name is presented to dlopen() as a file argument. [02:30:29.232] """ [02:30:29.232] if name and name.endswith(")") and ".a(" in name: [02:30:29.232] mode |= ( _os.RTLD_MEMBER | _os.RTLD_NOW ) [02:30:29.232] if _os.name == "nt": [02:30:29.232] if winmode is not None: [02:30:29.232] mode = winmode [02:30:29.232] else: [02:30:29.232] import nt [02:30:29.232] mode = nt._LOAD_LIBRARY_SEARCH_DEFAULT_DIRS [02:30:29.232] if '/' in name or '\\' in name: [02:30:29.232] self._name = nt._getfullpathname(self._name) [02:30:29.232] mode |= nt._LOAD_LIBRARY_SEARCH_DLL_LOAD_DIR [02:30:29.232] [02:30:29.232] class _FuncPtr(_CFuncPtr): [02:30:29.232] _flags_ = flags [02:30:29.232] _restype_ = self._func_restype_ [02:30:29.232] self._FuncPtr = _FuncPtr [02:30:29.232] [02:30:29.232] if handle is None: [02:30:29.232] > self._handle = _dlopen(self._name, mode) [02:30:29.232] ^^^^^^^^^^^^^^^^^^^^^^^^^ [02:30:29.232] 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. [02:30:29.232] [02:30:29.232] C:/msys64/ucrt64/lib/python3.12/ctypes/__init__.py:379: FileNotFoundError [02:30:29.232] ------------------------------------------------------------------------------ [02:30:29.232] [02:30:30.723] | 7/10 - src/test/ssl/pyt/test_server.py::test_direct_ssl_certificate_authentication[trust-None-None] FAIL [02:30:30.723] | 7/10 - src/test/ssl/pyt/test_server.py::test_direct_ssl_certificate_authentication[trust-client-None] FAIL [02:30:30.723] | 7/10 - src/test/ssl/pyt/test_server.py::test_direct_ssl_certificate_authentication[trust-server-None] FAIL [02:30:30.723] | 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 [02:30:30.723] | 7/10 - src/test/ssl/pyt/test_server.py::test_direct_ssl_certificate_authentication[trust clientcert=verify-ca-client-None] FAIL [02:30:30.723] | 7/10 - src/test/ssl/pyt/test_server.py::test_direct_ssl_certificate_authentication[trust clientcert=verify-ca-server-None] FAIL [02:30:30.723] | 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 [02:30:30.723] | 7/10 - src/test/ssl/pyt/test_server.py::test_direct_ssl_certificate_authentication[trust clientcert=verify-full-client-None] FAIL [02:30:30.723] | 7/10 - src/test/ssl/pyt/test_server.py::test_direct_ssl_certificate_authentication[trust clientcert=verify-full-server-authentication failed for user] FAIL [02:30:30.723] | 7/10 - src/test/ssl/pyt/test_server.py::test_direct_ssl_certificate_authentication[cert-None-requires a valid client certificate] FAIL [02:30:30.723] | 7/10 - src/test/ssl/pyt/test_server.py::test_direct_ssl_certificate_authentication[cert-client-None] FAIL [02:30:30.723] | 7/10 - src/test/ssl/pyt/test_server.py::test_direct_ssl_certificate_authentication[cert-server-authentication failed for user] FAIL [02:30:30.833] 7/10 postgresql:ssl / ssl/test_server FAIL 1.60s 0/12 subtests passed [02:30:30.833] >>> INITDB_TEMPLATE=C:/cirrus/build/tmp_install/initdb-template ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=61 REGRESS_SHLIB=C:/cirrus/build/src/test/regress/regress.dll PG_REGRESS=C:/cirrus/build/src/test/regress/pg_regress.exe MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 PYTHONPATH=C:/cirrus/src/test/pytest/plugins 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\ share_contrib_dir=C:/cirrus/build/tmp_install//usr/local/pgsql/share/contrib top_builddir=C:/cirrus/build 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 [02:30:30.833] ------------------------------------- 8< ------------------------------------- [02:30:30.833] Listing only the last 100 lines from a long log. [02:30:30.833] flags |= _FUNCFLAG_USE_LASTERROR [02:30:30.833] if _sys.platform.startswith("aix"): [02:30:30.833] """When the name contains ".a(" and ends with ")", [02:30:30.833] e.g., "libFOO.a(libFOO.so)" - this is taken to be an [02:30:30.833] archive(member) syntax for dlopen(), and the mode is adjusted. [02:30:30.833] Otherwise, name is presented to dlopen() as a file argument. [02:30:30.833] """ [02:30:30.833] if name and name.endswith(")") and ".a(" in name: [02:30:30.833] mode |= ( _os.RTLD_MEMBER | _os.RTLD_NOW ) [02:30:30.833] if _os.name == "nt": [02:30:30.833] if winmode is not None: [02:30:30.833] mode = winmode [02:30:30.833] else: [02:30:30.833] import nt [02:30:30.833] mode = nt._LOAD_LIBRARY_SEARCH_DEFAULT_DIRS [02:30:30.833] if '/' in name or '\\' in name: [02:30:30.833] self._name = nt._getfullpathname(self._name) [02:30:30.833] mode |= nt._LOAD_LIBRARY_SEARCH_DLL_LOAD_DIR [02:30:30.833] [02:30:30.833] class _FuncPtr(_CFuncPtr): [02:30:30.833] _flags_ = flags [02:30:30.833] _restype_ = self._func_restype_ [02:30:30.833] self._FuncPtr = _FuncPtr [02:30:30.833] [02:30:30.833] if handle is None: [02:30:30.833] > self._handle = _dlopen(self._name, mode) [02:30:30.833] ^^^^^^^^^^^^^^^^^^^^^^^^^ [02:30:30.833] 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. [02:30:30.833] [02:30:30.833] C:/msys64/ucrt64/lib/python3.12/ctypes/__init__.py:379: FileNotFoundError [02:30:30.833] [02:30:30.833] test_direct_ssl_certificate_authentication[cert-server-authentication failed for user] [02:30:30.833] [02:30:30.833] [02:30:30.833] Error during setup of test_direct_ssl_certificate_authentication[cert-server-authentication failed for user] [02:30:30.833] [02:30:30.833] libdir = 'C:/cirrus/build/TMP_IN~1/usr/local/pgsql/lib' [02:30:30.833] [02:30:30.833] @pytest.fixture(scope="session") [02:30:30.833] def libpq_handle(libdir): [02:30:30.833] """ [02:30:30.833] Loads a ctypes handle for libpq. Some common function prototypes are [02:30:30.833] initialized for general use. [02:30:30.833] """ [02:30:30.833] > return load_libpq_handle(libdir) [02:30:30.833] ^^^^^^^^^^^^^^^^^^^^^^^^^ [02:30:30.833] [02:30:30.833] ../pytest/pypg/fixtures.py:39: [02:30:30.833] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [02:30:30.833] ../pytest/libpq.py:91: in load_libpq_handle [02:30:30.833] lib = ctypes.CDLL(libpq_path, **loadopts) [02:30:30.833] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [02:30:30.833] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [02:30:30.833] [02:30:30.833] self = [02:30:30.833] name = 'C:/cirrus/build/TMP_IN~1/usr/local/pgsql/lib/libpq.dll', mode = 0 [02:30:30.833] handle = None, use_errno = False, use_last_error = False, winmode = 0 [02:30:30.833] [02:30:30.833] def __init__(self, name, mode=DEFAULT_MODE, handle=None, [02:30:30.833] use_errno=False, [02:30:30.833] use_last_error=False, [02:30:30.833] winmode=None): [02:30:30.833] if name: [02:30:30.833] name = _os.fspath(name) [02:30:30.833] self._name = name [02:30:30.833] flags = self._func_flags_ [02:30:30.833] if use_errno: [02:30:30.833] flags |= _FUNCFLAG_USE_ERRNO [02:30:30.833] if use_last_error: [02:30:30.833] flags |= _FUNCFLAG_USE_LASTERROR [02:30:30.833] if _sys.platform.startswith("aix"): [02:30:30.833] """When the name contains ".a(" and ends with ")", [02:30:30.833] e.g., "libFOO.a(libFOO.so)" - this is taken to be an [02:30:30.833] archive(member) syntax for dlopen(), and the mode is adjusted. [02:30:30.833] Otherwise, name is presented to dlopen() as a file argument. [02:30:30.833] """ [02:30:30.833] if name and name.endswith(")") and ".a(" in name: [02:30:30.833] mode |= ( _os.RTLD_MEMBER | _os.RTLD_NOW ) [02:30:30.833] if _os.name == "nt": [02:30:30.833] if winmode is not None: [02:30:30.833] mode = winmode [02:30:30.833] else: [02:30:30.833] import nt [02:30:30.833] mode = nt._LOAD_LIBRARY_SEARCH_DEFAULT_DIRS [02:30:30.833] if '/' in name or '\\' in name: [02:30:30.833] self._name = nt._getfullpathname(self._name) [02:30:30.833] mode |= nt._LOAD_LIBRARY_SEARCH_DLL_LOAD_DIR [02:30:30.833] [02:30:30.833] class _FuncPtr(_CFuncPtr): [02:30:30.833] _flags_ = flags [02:30:30.833] _restype_ = self._func_restype_ [02:30:30.833] self._FuncPtr = _FuncPtr [02:30:30.833] [02:30:30.833] if handle is None: [02:30:30.833] > self._handle = _dlopen(self._name, mode) [02:30:30.833] ^^^^^^^^^^^^^^^^^^^^^^^^^ [02:30:30.833] 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. [02:30:30.833] [02:30:30.833] C:/msys64/ucrt64/lib/python3.12/ctypes/__init__.py:379: FileNotFoundError [02:30:30.833] ------------------------------------------------------------------------------ [02:30:30.833] [02:30:34.742] 8/10 postgresql:ssl / ssl/002_scram OK 7.48s 28 subtests passed [02:30:35.713] 9/10 postgresql:ssl / ssl/003_sslinfo OK 7.70s 21 subtests passed [02:30:45.705] 10/10 postgresql:ssl / ssl/001_ssltests OK 18.44s 219 subtests passed [02:30:45.753] [02:30:45.753] Summary of Failures: [02:30:45.753] [02:30:45.753] 4/10 postgresql:pytest / pytest/test_something FAIL 0.75s 1/2 subtests passed [02:30:45.753] 5/10 postgresql:pytest / pytest/test_libpq FAIL 0.85s 7/9 subtests passed [02:30:45.753] 6/10 postgresql:ssl / ssl/test_client FAIL 1.10s 0/4 subtests passed [02:30:45.753] 7/10 postgresql:ssl / ssl/test_server FAIL 1.60s 0/12 subtests passed [02:30:45.753] [02:30:45.753] Ok: 6 [02:30:45.753] Fail: 4 [02:30:45.753] [02:30:45.753] Full log written to C:/cirrus/build/meson-logs/testlog.txt [02:30:45.895] [02:30:45.895] c:\cirrus>if 4 NEQ 0 exit /b 4 [02:30:45.911] [02:30:45.911] Exit status: 4