[02:11:30.303] [02:11:30.303] 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:11:33.754] 1/10 postgresql:setup / tmp_install OK 2.63s [02:11:33.927] 2/10 postgresql:setup / install_test_files OK 0.16s [02:11:35.991] 3/10 postgresql:setup / initdb_cache OK 2.05s [02:11:36.634] | 4/10 - src/test/pytest/pyt/test_something.py::test_something FAIL [02:11:36.699] | 5/10 - src/test/pytest/pyt/test_libpq.py::test_must_connect_errors FAIL [02:11:36.699] | 5/10 - src/test/pytest/pyt/test_libpq.py::test_connection_is_finished_on_error FAIL [02:11:36.731] 4/10 postgresql:pytest / pytest/test_something FAIL 0.73s 1/2 subtests passed [02:11:36.739] >>> MALLOC_PERTURB_=52 ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 top_builddir=C:/cirrus/build UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 share_contrib_dir=C:/cirrus/build/tmp_install//usr/local/pgsql/share/contrib PYTHONPATH=C:/cirrus/src/test/pytest/plugins 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 MESON_TEST_ITERATION=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 INITDB_TEMPLATE=C:/cirrus/build/tmp_install/initdb-template 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:11:36.739] ------------------------------------- 8< ------------------------------------- [02:11:36.739] stderr: [02:11:36.739] ____________________________ test_something ____________________________ [02:11:36.739] [02:11:36.739] hey = None [02:11:36.739] [02:11:36.739] def test_something(hey): [02:11:36.739] > assert 2 == 4 [02:11:36.739] E assert 2 == 4 [02:11:36.739] [02:11:36.739] pyt/test_something.py:13: AssertionError [02:11:36.739] [02:11:36.739] _______________ Error during teardown of test_something ________________ [02:11:36.739] [02:11:36.739] @pytest.fixture [02:11:36.739] def hey(): [02:11:36.739] yield [02:11:36.739] > raise "uh-oh" [02:11:36.739] E TypeError: exceptions must derive from BaseException [02:11:36.739] [02:11:36.739] pyt/test_something.py:9: TypeError [02:11:36.739] [02:11:36.739] ------------------------------------------------------------------------------ [02:11:36.739] [02:11:36.752] 5/10 postgresql:pytest / pytest/test_libpq FAIL 0.75s 7/9 subtests passed [02:11:36.752] >>> ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 top_builddir=C:/cirrus/build UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 share_contrib_dir=C:/cirrus/build/tmp_install//usr/local/pgsql/share/contrib MALLOC_PERTURB_=114 PYTHONPATH=C:/cirrus/src/test/pytest/plugins 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 MESON_TEST_ITERATION=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 INITDB_TEMPLATE=C:/cirrus/build/tmp_install/initdb-template 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:11:36.752] ------------------------------------- 8< ------------------------------------- [02:11:36.752] Listing only the last 100 lines from a long log. [02:11:36.752] flags |= _FUNCFLAG_USE_LASTERROR [02:11:36.752] if _sys.platform.startswith("aix"): [02:11:36.752] """When the name contains ".a(" and ends with ")", [02:11:36.752] e.g., "libFOO.a(libFOO.so)" - this is taken to be an [02:11:36.752] archive(member) syntax for dlopen(), and the mode is adjusted. [02:11:36.752] Otherwise, name is presented to dlopen() as a file argument. [02:11:36.752] """ [02:11:36.752] if name and name.endswith(")") and ".a(" in name: [02:11:36.752] mode |= ( _os.RTLD_MEMBER | _os.RTLD_NOW ) [02:11:36.752] if _os.name == "nt": [02:11:36.752] if winmode is not None: [02:11:36.752] mode = winmode [02:11:36.752] else: [02:11:36.752] import nt [02:11:36.752] mode = nt._LOAD_LIBRARY_SEARCH_DEFAULT_DIRS [02:11:36.752] if '/' in name or '\\' in name: [02:11:36.752] self._name = nt._getfullpathname(self._name) [02:11:36.752] mode |= nt._LOAD_LIBRARY_SEARCH_DLL_LOAD_DIR [02:11:36.752] [02:11:36.752] class _FuncPtr(_CFuncPtr): [02:11:36.752] _flags_ = flags [02:11:36.752] _restype_ = self._func_restype_ [02:11:36.752] self._FuncPtr = _FuncPtr [02:11:36.752] [02:11:36.752] if handle is None: [02:11:36.752] > self._handle = _dlopen(self._name, mode) [02:11:36.752] ^^^^^^^^^^^^^^^^^^^^^^^^^ [02:11:36.752] 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:11:36.752] [02:11:36.752] C:/msys64/ucrt64/lib/python3.12/ctypes/__init__.py:379: FileNotFoundError [02:11:36.752] [02:11:36.752] _________________ test_connection_is_finished_on_error _________________ [02:11:36.752] [02:11:36.752] [02:11:36.752] ______ Error during setup of test_connection_is_finished_on_error ______ [02:11:36.752] [02:11:36.752] libdir = 'C:/cirrus/build/TMP_IN~1/usr/local/pgsql/lib' [02:11:36.752] [02:11:36.752] @pytest.fixture(scope="session") [02:11:36.752] def libpq_handle(libdir): [02:11:36.752] """ [02:11:36.752] Loads a ctypes handle for libpq. Some common function prototypes are [02:11:36.752] initialized for general use. [02:11:36.752] """ [02:11:36.752] > return load_libpq_handle(libdir) [02:11:36.752] ^^^^^^^^^^^^^^^^^^^^^^^^^ [02:11:36.752] [02:11:36.752] pypg/fixtures.py:39: [02:11:36.752] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [02:11:36.752] libpq.py:91: in load_libpq_handle [02:11:36.752] lib = ctypes.CDLL(libpq_path, **loadopts) [02:11:36.752] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [02:11:36.752] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [02:11:36.752] [02:11:36.752] self = [02:11:36.752] name = 'C:/cirrus/build/TMP_IN~1/usr/local/pgsql/lib/libpq.dll', mode = 0 [02:11:36.752] handle = None, use_errno = False, use_last_error = False, winmode = 0 [02:11:36.752] [02:11:36.752] def __init__(self, name, mode=DEFAULT_MODE, handle=None, [02:11:36.752] use_errno=False, [02:11:36.752] use_last_error=False, [02:11:36.752] winmode=None): [02:11:36.752] if name: [02:11:36.752] name = _os.fspath(name) [02:11:36.752] self._name = name [02:11:36.752] flags = self._func_flags_ [02:11:36.752] if use_errno: [02:11:36.752] flags |= _FUNCFLAG_USE_ERRNO [02:11:36.752] if use_last_error: [02:11:36.752] flags |= _FUNCFLAG_USE_LASTERROR [02:11:36.752] if _sys.platform.startswith("aix"): [02:11:36.752] """When the name contains ".a(" and ends with ")", [02:11:36.752] e.g., "libFOO.a(libFOO.so)" - this is taken to be an [02:11:36.752] archive(member) syntax for dlopen(), and the mode is adjusted. [02:11:36.752] Otherwise, name is presented to dlopen() as a file argument. [02:11:36.752] """ [02:11:36.752] if name and name.endswith(")") and ".a(" in name: [02:11:36.752] mode |= ( _os.RTLD_MEMBER | _os.RTLD_NOW ) [02:11:36.752] if _os.name == "nt": [02:11:36.752] if winmode is not None: [02:11:36.752] mode = winmode [02:11:36.752] else: [02:11:36.752] import nt [02:11:36.752] mode = nt._LOAD_LIBRARY_SEARCH_DEFAULT_DIRS [02:11:36.752] if '/' in name or '\\' in name: [02:11:36.752] self._name = nt._getfullpathname(self._name) [02:11:36.752] mode |= nt._LOAD_LIBRARY_SEARCH_DLL_LOAD_DIR [02:11:36.752] [02:11:36.752] class _FuncPtr(_CFuncPtr): [02:11:36.752] _flags_ = flags [02:11:36.752] _restype_ = self._func_restype_ [02:11:36.752] self._FuncPtr = _FuncPtr [02:11:36.752] [02:11:36.752] if handle is None: [02:11:36.752] > self._handle = _dlopen(self._name, mode) [02:11:36.752] ^^^^^^^^^^^^^^^^^^^^^^^^^ [02:11:36.752] 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:11:36.752] [02:11:36.752] C:/msys64/ucrt64/lib/python3.12/ctypes/__init__.py:379: FileNotFoundError [02:11:36.752] ------------------------------------------------------------------------------ [02:11:36.752] [02:11:37.529] | 6/10 - src/test/ssl/pyt/test_client.py::test_server_with_ssl_disabled[require] FAIL [02:11:37.529] | 6/10 - src/test/ssl/pyt/test_client.py::test_server_with_ssl_disabled[verify-ca] FAIL [02:11:37.529] | 6/10 - src/test/ssl/pyt/test_client.py::test_server_with_ssl_disabled[verify-full] FAIL [02:11:37.529] | 6/10 - src/test/ssl/pyt/test_client.py::test_verify_full_connection FAIL [02:11:37.576] 6/10 postgresql:ssl / ssl/test_client FAIL 0.82s 0/4 subtests passed [02:11:37.576] >>> 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\ ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 top_builddir=C:/cirrus/build UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 share_contrib_dir=C:/cirrus/build/tmp_install//usr/local/pgsql/share/contrib PYTHONPATH=C:/cirrus/src/test/pytest/plugins REGRESS_SHLIB=C:/cirrus/build/src/test/regress/regress.dll MALLOC_PERTURB_=6 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 MESON_TEST_ITERATION=1 INITDB_TEMPLATE=C:/cirrus/build/tmp_install/initdb-template 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:11:37.576] ------------------------------------- 8< ------------------------------------- [02:11:37.576] Listing only the last 100 lines from a long log. [02:11:37.576] flags |= _FUNCFLAG_USE_LASTERROR [02:11:37.576] if _sys.platform.startswith("aix"): [02:11:37.576] """When the name contains ".a(" and ends with ")", [02:11:37.576] e.g., "libFOO.a(libFOO.so)" - this is taken to be an [02:11:37.576] archive(member) syntax for dlopen(), and the mode is adjusted. [02:11:37.576] Otherwise, name is presented to dlopen() as a file argument. [02:11:37.576] """ [02:11:37.576] if name and name.endswith(")") and ".a(" in name: [02:11:37.576] mode |= ( _os.RTLD_MEMBER | _os.RTLD_NOW ) [02:11:37.576] if _os.name == "nt": [02:11:37.576] if winmode is not None: [02:11:37.576] mode = winmode [02:11:37.576] else: [02:11:37.576] import nt [02:11:37.576] mode = nt._LOAD_LIBRARY_SEARCH_DEFAULT_DIRS [02:11:37.576] if '/' in name or '\\' in name: [02:11:37.576] self._name = nt._getfullpathname(self._name) [02:11:37.576] mode |= nt._LOAD_LIBRARY_SEARCH_DLL_LOAD_DIR [02:11:37.576] [02:11:37.576] class _FuncPtr(_CFuncPtr): [02:11:37.576] _flags_ = flags [02:11:37.576] _restype_ = self._func_restype_ [02:11:37.576] self._FuncPtr = _FuncPtr [02:11:37.576] [02:11:37.576] if handle is None: [02:11:37.576] > self._handle = _dlopen(self._name, mode) [02:11:37.576] ^^^^^^^^^^^^^^^^^^^^^^^^^ [02:11:37.576] 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:11:37.576] [02:11:37.576] C:/msys64/ucrt64/lib/python3.12/ctypes/__init__.py:379: FileNotFoundError [02:11:37.576] [02:11:37.576] _____________________ test_verify_full_connection ______________________ [02:11:37.576] [02:11:37.576] [02:11:37.576] __________ Error during setup of test_verify_full_connection ___________ [02:11:37.576] [02:11:37.576] libdir = 'C:/cirrus/build/TMP_IN~1/usr/local/pgsql/lib' [02:11:37.576] [02:11:37.576] @pytest.fixture(scope="session") [02:11:37.576] def libpq_handle(libdir): [02:11:37.576] """ [02:11:37.576] Loads a ctypes handle for libpq. Some common function prototypes are [02:11:37.576] initialized for general use. [02:11:37.576] """ [02:11:37.576] > return load_libpq_handle(libdir) [02:11:37.576] ^^^^^^^^^^^^^^^^^^^^^^^^^ [02:11:37.576] [02:11:37.576] ../pytest/pypg/fixtures.py:39: [02:11:37.576] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [02:11:37.576] ../pytest/libpq.py:91: in load_libpq_handle [02:11:37.576] lib = ctypes.CDLL(libpq_path, **loadopts) [02:11:37.576] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [02:11:37.576] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [02:11:37.576] [02:11:37.576] self = [02:11:37.576] name = 'C:/cirrus/build/TMP_IN~1/usr/local/pgsql/lib/libpq.dll', mode = 0 [02:11:37.576] handle = None, use_errno = False, use_last_error = False, winmode = 0 [02:11:37.576] [02:11:37.576] def __init__(self, name, mode=DEFAULT_MODE, handle=None, [02:11:37.576] use_errno=False, [02:11:37.576] use_last_error=False, [02:11:37.576] winmode=None): [02:11:37.576] if name: [02:11:37.576] name = _os.fspath(name) [02:11:37.576] self._name = name [02:11:37.576] flags = self._func_flags_ [02:11:37.576] if use_errno: [02:11:37.576] flags |= _FUNCFLAG_USE_ERRNO [02:11:37.576] if use_last_error: [02:11:37.576] flags |= _FUNCFLAG_USE_LASTERROR [02:11:37.576] if _sys.platform.startswith("aix"): [02:11:37.576] """When the name contains ".a(" and ends with ")", [02:11:37.576] e.g., "libFOO.a(libFOO.so)" - this is taken to be an [02:11:37.576] archive(member) syntax for dlopen(), and the mode is adjusted. [02:11:37.576] Otherwise, name is presented to dlopen() as a file argument. [02:11:37.576] """ [02:11:37.576] if name and name.endswith(")") and ".a(" in name: [02:11:37.576] mode |= ( _os.RTLD_MEMBER | _os.RTLD_NOW ) [02:11:37.576] if _os.name == "nt": [02:11:37.576] if winmode is not None: [02:11:37.576] mode = winmode [02:11:37.576] else: [02:11:37.576] import nt [02:11:37.576] mode = nt._LOAD_LIBRARY_SEARCH_DEFAULT_DIRS [02:11:37.576] if '/' in name or '\\' in name: [02:11:37.576] self._name = nt._getfullpathname(self._name) [02:11:37.576] mode |= nt._LOAD_LIBRARY_SEARCH_DLL_LOAD_DIR [02:11:37.576] [02:11:37.576] class _FuncPtr(_CFuncPtr): [02:11:37.576] _flags_ = flags [02:11:37.576] _restype_ = self._func_restype_ [02:11:37.576] self._FuncPtr = _FuncPtr [02:11:37.576] [02:11:37.576] if handle is None: [02:11:37.576] > self._handle = _dlopen(self._name, mode) [02:11:37.576] ^^^^^^^^^^^^^^^^^^^^^^^^^ [02:11:37.576] 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:11:37.576] [02:11:37.576] C:/msys64/ucrt64/lib/python3.12/ctypes/__init__.py:379: FileNotFoundError [02:11:37.576] ------------------------------------------------------------------------------ [02:11:37.576] [02:11:38.955] | 7/10 - src/test/ssl/pyt/test_server.py::test_direct_ssl_certificate_authentication[trust-None-None] FAIL [02:11:38.955] | 7/10 - src/test/ssl/pyt/test_server.py::test_direct_ssl_certificate_authentication[trust-client-None] FAIL [02:11:38.955] | 7/10 - src/test/ssl/pyt/test_server.py::test_direct_ssl_certificate_authentication[trust-server-None] FAIL [02:11:38.955] | 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:11:38.955] | 7/10 - src/test/ssl/pyt/test_server.py::test_direct_ssl_certificate_authentication[trust clientcert=verify-ca-client-None] FAIL [02:11:38.955] | 7/10 - src/test/ssl/pyt/test_server.py::test_direct_ssl_certificate_authentication[trust clientcert=verify-ca-server-None] FAIL [02:11:38.955] | 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:11:38.955] | 7/10 - src/test/ssl/pyt/test_server.py::test_direct_ssl_certificate_authentication[trust clientcert=verify-full-client-None] FAIL [02:11:38.955] | 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:11:38.955] | 7/10 - src/test/ssl/pyt/test_server.py::test_direct_ssl_certificate_authentication[cert-None-requires a valid client certificate] FAIL [02:11:38.955] | 7/10 - src/test/ssl/pyt/test_server.py::test_direct_ssl_certificate_authentication[cert-client-None] FAIL [02:11:38.955] | 7/10 - src/test/ssl/pyt/test_server.py::test_direct_ssl_certificate_authentication[cert-server-authentication failed for user] FAIL [02:11:39.018] 7/10 postgresql:ssl / ssl/test_server FAIL 1.44s 0/12 subtests passed [02:11:39.018] >>> 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\ ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 top_builddir=C:/cirrus/build UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 share_contrib_dir=C:/cirrus/build/tmp_install//usr/local/pgsql/share/contrib MALLOC_PERTURB_=222 PYTHONPATH=C:/cirrus/src/test/pytest/plugins REGRESS_SHLIB=C:/cirrus/build/src/test/regress/regress.dll MESON_TEST_ITERATION=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 INITDB_TEMPLATE=C:/cirrus/build/tmp_install/initdb-template 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:11:39.018] ------------------------------------- 8< ------------------------------------- [02:11:39.018] Listing only the last 100 lines from a long log. [02:11:39.018] flags |= _FUNCFLAG_USE_LASTERROR [02:11:39.018] if _sys.platform.startswith("aix"): [02:11:39.018] """When the name contains ".a(" and ends with ")", [02:11:39.018] e.g., "libFOO.a(libFOO.so)" - this is taken to be an [02:11:39.018] archive(member) syntax for dlopen(), and the mode is adjusted. [02:11:39.018] Otherwise, name is presented to dlopen() as a file argument. [02:11:39.018] """ [02:11:39.018] if name and name.endswith(")") and ".a(" in name: [02:11:39.018] mode |= ( _os.RTLD_MEMBER | _os.RTLD_NOW ) [02:11:39.018] if _os.name == "nt": [02:11:39.018] if winmode is not None: [02:11:39.018] mode = winmode [02:11:39.018] else: [02:11:39.018] import nt [02:11:39.018] mode = nt._LOAD_LIBRARY_SEARCH_DEFAULT_DIRS [02:11:39.018] if '/' in name or '\\' in name: [02:11:39.018] self._name = nt._getfullpathname(self._name) [02:11:39.018] mode |= nt._LOAD_LIBRARY_SEARCH_DLL_LOAD_DIR [02:11:39.018] [02:11:39.018] class _FuncPtr(_CFuncPtr): [02:11:39.018] _flags_ = flags [02:11:39.018] _restype_ = self._func_restype_ [02:11:39.018] self._FuncPtr = _FuncPtr [02:11:39.018] [02:11:39.018] if handle is None: [02:11:39.018] > self._handle = _dlopen(self._name, mode) [02:11:39.018] ^^^^^^^^^^^^^^^^^^^^^^^^^ [02:11:39.018] 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:11:39.018] [02:11:39.018] C:/msys64/ucrt64/lib/python3.12/ctypes/__init__.py:379: FileNotFoundError [02:11:39.018] [02:11:39.018] test_direct_ssl_certificate_authentication[cert-server-authentication failed for user] [02:11:39.018] [02:11:39.018] [02:11:39.018] Error during setup of test_direct_ssl_certificate_authentication[cert-server-authentication failed for user] [02:11:39.018] [02:11:39.018] libdir = 'C:/cirrus/build/TMP_IN~1/usr/local/pgsql/lib' [02:11:39.018] [02:11:39.018] @pytest.fixture(scope="session") [02:11:39.018] def libpq_handle(libdir): [02:11:39.018] """ [02:11:39.018] Loads a ctypes handle for libpq. Some common function prototypes are [02:11:39.018] initialized for general use. [02:11:39.018] """ [02:11:39.018] > return load_libpq_handle(libdir) [02:11:39.018] ^^^^^^^^^^^^^^^^^^^^^^^^^ [02:11:39.018] [02:11:39.018] ../pytest/pypg/fixtures.py:39: [02:11:39.018] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [02:11:39.018] ../pytest/libpq.py:91: in load_libpq_handle [02:11:39.018] lib = ctypes.CDLL(libpq_path, **loadopts) [02:11:39.018] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [02:11:39.018] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [02:11:39.018] [02:11:39.018] self = [02:11:39.018] name = 'C:/cirrus/build/TMP_IN~1/usr/local/pgsql/lib/libpq.dll', mode = 0 [02:11:39.018] handle = None, use_errno = False, use_last_error = False, winmode = 0 [02:11:39.018] [02:11:39.018] def __init__(self, name, mode=DEFAULT_MODE, handle=None, [02:11:39.018] use_errno=False, [02:11:39.018] use_last_error=False, [02:11:39.018] winmode=None): [02:11:39.018] if name: [02:11:39.018] name = _os.fspath(name) [02:11:39.018] self._name = name [02:11:39.018] flags = self._func_flags_ [02:11:39.018] if use_errno: [02:11:39.018] flags |= _FUNCFLAG_USE_ERRNO [02:11:39.018] if use_last_error: [02:11:39.018] flags |= _FUNCFLAG_USE_LASTERROR [02:11:39.018] if _sys.platform.startswith("aix"): [02:11:39.018] """When the name contains ".a(" and ends with ")", [02:11:39.018] e.g., "libFOO.a(libFOO.so)" - this is taken to be an [02:11:39.018] archive(member) syntax for dlopen(), and the mode is adjusted. [02:11:39.018] Otherwise, name is presented to dlopen() as a file argument. [02:11:39.018] """ [02:11:39.018] if name and name.endswith(")") and ".a(" in name: [02:11:39.018] mode |= ( _os.RTLD_MEMBER | _os.RTLD_NOW ) [02:11:39.018] if _os.name == "nt": [02:11:39.018] if winmode is not None: [02:11:39.018] mode = winmode [02:11:39.018] else: [02:11:39.018] import nt [02:11:39.018] mode = nt._LOAD_LIBRARY_SEARCH_DEFAULT_DIRS [02:11:39.018] if '/' in name or '\\' in name: [02:11:39.018] self._name = nt._getfullpathname(self._name) [02:11:39.018] mode |= nt._LOAD_LIBRARY_SEARCH_DLL_LOAD_DIR [02:11:39.018] [02:11:39.018] class _FuncPtr(_CFuncPtr): [02:11:39.018] _flags_ = flags [02:11:39.018] _restype_ = self._func_restype_ [02:11:39.018] self._FuncPtr = _FuncPtr [02:11:39.018] [02:11:39.018] if handle is None: [02:11:39.018] > self._handle = _dlopen(self._name, mode) [02:11:39.018] ^^^^^^^^^^^^^^^^^^^^^^^^^ [02:11:39.018] 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:11:39.018] [02:11:39.018] C:/msys64/ucrt64/lib/python3.12/ctypes/__init__.py:379: FileNotFoundError [02:11:39.018] ------------------------------------------------------------------------------ [02:11:39.018] [02:11:43.258] 8/10 postgresql:ssl / ssl/002_scram OK 7.26s 28 subtests passed [02:11:44.087] 9/10 postgresql:ssl / ssl/003_sslinfo OK 7.35s 21 subtests passed [02:11:52.410] 10/10 postgresql:ssl / ssl/001_ssltests OK 16.41s 210 subtests passed [02:11:52.426] [02:11:52.426] Summary of Failures: [02:11:52.426] [02:11:52.426] 4/10 postgresql:pytest / pytest/test_something FAIL 0.73s 1/2 subtests passed [02:11:52.426] 5/10 postgresql:pytest / pytest/test_libpq FAIL 0.75s 7/9 subtests passed [02:11:52.426] 6/10 postgresql:ssl / ssl/test_client FAIL 0.82s 0/4 subtests passed [02:11:52.426] 7/10 postgresql:ssl / ssl/test_server FAIL 1.44s 0/12 subtests passed [02:11:52.426] [02:11:52.426] Ok: 6 [02:11:52.426] Fail: 4 [02:11:52.426] [02:11:52.426] Full log written to C:/cirrus/build/meson-logs/testlog.txt [02:11:52.505] [02:11:52.505] c:\cirrus>if 4 NEQ 0 exit /b 4 [02:11:52.521] [02:11:52.521] Exit status: 4