[12:25:12.165] [12:25:12.165] c:\cirrus>call vcvarsall x64 [12:25:12.271] ********************************************************************** [12:25:12.278] ** Visual Studio 2019 Developer Command Prompt v16.11.52 [12:25:12.278] ** Copyright (c) 2021 Microsoft Corporation [12:25:12.278] ********************************************************************** [12:25:12.756] [vcvarsall.bat] Environment initialized for: 'x64' [12:25:15.636] 1/10 postgresql:setup / tmp_install OK 2.52s [12:25:15.777] 2/10 postgresql:setup / install_test_files OK 0.13s [12:25:17.856] 3/10 postgresql:setup / initdb_cache OK 2.07s [12:25:18.436] | 4/10 - src/test/pytest/pyt/test_something.py::test_something FAIL [12:25:18.499] 4/10 postgresql:pytest / pytest/test_something FAIL 0.63s 1/2 subtests passed [12:25:18.499] >>> top_builddir=C:\cirrus\build ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MESON_TEST_ITERATION=1 share_contrib_dir=C:/cirrus/build/tmp_install//usr/local/pgsql/share/contrib 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 PG_REGRESS=C:\cirrus\build\src/test\regress\pg_regress.exe MALLOC_PERTURB_=9 PYTHONPATH=C:/cirrus/src/test/pytest/plugins REGRESS_SHLIB=C:\cirrus\build\src/test\regress\regress.dll INITDB_TEMPLATE=C:/cirrus/build/tmp_install/initdb-template PATH=C:\cirrus\build\tmp_install\usr\local\pgsql\bin;C:\cirrus\build\src/test\pytest;C:/cirrus/build/src/test/pytest/test;C:\VS_2019\VC\Tools\MSVC\14.29.30133\bin\HostX64\x64;C:\VS_2019\MSBuild\Current\bin\Roslyn;C:\Program Files (x86)\Windows Kits\10\bin\10.0.22621.0\x64;C:\Program Files (x86)\Windows Kits\10\bin\x64;C:\VS_2019\\MSBuild\Current\Bin;C:\Windows\Microsoft.NET\Framework64\v4.0.30319;C:\VS_2019\Common7\IDE\;C:\VS_2019\Common7\Tools\;C:\VS_2019\VC\Auxiliary\Build;C:\zstd\zstd-v1.5.2-win64;C:\zlib;C:\lz4;C:\icu;C:\winflexbison;C:\strawberry\5.40.0.1\perl\bin;C:\python\Scripts\;C:\python\;C:\Windows Kits\10\Debuggers\x64;C:\Program Files\Git\usr\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\ProgramData\GooGet;C:\Program Files\Google\Compute Engine\metadata_scripts;C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk\bin;C:\Program Files\PowerShell\7\;C:\Program Files\Google\Compute Engine\sysprep;C:\ProgramData\chocolatey\bin;C:\Program Files\Git\cmd;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;C:\Windows\system32\config\systemprofile\AppData\Local\Microsoft\WindowsApps C:\python\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:\Windows\system32\config\systemprofile\AppData\Roaming\Python\Python310\Scripts\pytest.exe -c C:/cirrus/pytest.ini --verbose -p pgtap -ra C:/cirrus/src/test/pytest/pyt/test_something.py [12:25:18.499] ------------------------------------- 8< ------------------------------------- [12:25:18.499] stderr: [12:25:18.499] ____________________________ test_something ____________________________ [12:25:18.499] [12:25:18.499] hey = None [12:25:18.499] [12:25:18.499] def test_something(hey): [12:25:18.499] > assert 2 == 4 [12:25:18.499] E assert 2 == 4 [12:25:18.499] [12:25:18.499] pyt\test_something.py:13: AssertionError [12:25:18.499] [12:25:18.499] _______________ Error during teardown of test_something ________________ [12:25:18.499] [12:25:18.499] @pytest.fixture [12:25:18.499] def hey(): [12:25:18.499] yield [12:25:18.499] > raise "uh-oh" [12:25:18.499] E TypeError: exceptions must derive from BaseException [12:25:18.499] [12:25:18.499] pyt\test_something.py:9: TypeError [12:25:18.499] [12:25:18.499] ------------------------------------------------------------------------------ [12:25:18.499] [12:25:18.593] | 5/10 - src/test/pytest/pyt/test_libpq.py::test_must_connect_errors FAIL [12:25:18.593] | 5/10 - src/test/pytest/pyt/test_libpq.py::test_connection_is_finished_on_error FAIL [12:25:18.626] 5/10 postgresql:pytest / pytest/test_libpq FAIL 0.75s 7/9 subtests passed [12:25:18.626] >>> top_builddir=C:\cirrus\build ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MESON_TEST_ITERATION=1 share_contrib_dir=C:/cirrus/build/tmp_install//usr/local/pgsql/share/contrib MALLOC_PERTURB_=73 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 PG_REGRESS=C:\cirrus\build\src/test\regress\pg_regress.exe PYTHONPATH=C:/cirrus/src/test/pytest/plugins REGRESS_SHLIB=C:\cirrus\build\src/test\regress\regress.dll INITDB_TEMPLATE=C:/cirrus/build/tmp_install/initdb-template PATH=C:\cirrus\build\tmp_install\usr\local\pgsql\bin;C:\cirrus\build\src/test\pytest;C:/cirrus/build/src/test/pytest/test;C:\VS_2019\VC\Tools\MSVC\14.29.30133\bin\HostX64\x64;C:\VS_2019\MSBuild\Current\bin\Roslyn;C:\Program Files (x86)\Windows Kits\10\bin\10.0.22621.0\x64;C:\Program Files (x86)\Windows Kits\10\bin\x64;C:\VS_2019\\MSBuild\Current\Bin;C:\Windows\Microsoft.NET\Framework64\v4.0.30319;C:\VS_2019\Common7\IDE\;C:\VS_2019\Common7\Tools\;C:\VS_2019\VC\Auxiliary\Build;C:\zstd\zstd-v1.5.2-win64;C:\zlib;C:\lz4;C:\icu;C:\winflexbison;C:\strawberry\5.40.0.1\perl\bin;C:\python\Scripts\;C:\python\;C:\Windows Kits\10\Debuggers\x64;C:\Program Files\Git\usr\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\ProgramData\GooGet;C:\Program Files\Google\Compute Engine\metadata_scripts;C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk\bin;C:\Program Files\PowerShell\7\;C:\Program Files\Google\Compute Engine\sysprep;C:\ProgramData\chocolatey\bin;C:\Program Files\Git\cmd;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;C:\Windows\system32\config\systemprofile\AppData\Local\Microsoft\WindowsApps C:\python\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:\Windows\system32\config\systemprofile\AppData\Roaming\Python\Python310\Scripts\pytest.exe -c C:/cirrus/pytest.ini --verbose -p pgtap -ra C:/cirrus/src/test/pytest/pyt/test_libpq.py [12:25:18.626] ------------------------------------- 8< ------------------------------------- [12:25:18.626] Listing only the last 100 lines from a long log. [12:25:18.626] winmode=None): [12:25:18.626] self._name = name [12:25:18.626] flags = self._func_flags_ [12:25:18.626] if use_errno: [12:25:18.626] flags |= _FUNCFLAG_USE_ERRNO [12:25:18.626] if use_last_error: [12:25:18.626] flags |= _FUNCFLAG_USE_LASTERROR [12:25:18.626] if _sys.platform.startswith("aix"): [12:25:18.626] """When the name contains ".a(" and ends with ")", [12:25:18.626] e.g., "libFOO.a(libFOO.so)" - this is taken to be an [12:25:18.626] archive(member) syntax for dlopen(), and the mode is adjusted. [12:25:18.626] Otherwise, name is presented to dlopen() as a file argument. [12:25:18.626] """ [12:25:18.626] if name and name.endswith(")") and ".a(" in name: [12:25:18.626] mode |= ( _os.RTLD_MEMBER | _os.RTLD_NOW ) [12:25:18.626] if _os.name == "nt": [12:25:18.626] if winmode is not None: [12:25:18.626] mode = winmode [12:25:18.626] else: [12:25:18.626] import nt [12:25:18.626] mode = nt._LOAD_LIBRARY_SEARCH_DEFAULT_DIRS [12:25:18.626] if '/' in name or '\\' in name: [12:25:18.626] self._name = nt._getfullpathname(self._name) [12:25:18.626] mode |= nt._LOAD_LIBRARY_SEARCH_DLL_LOAD_DIR [12:25:18.626] [12:25:18.626] class _FuncPtr(_CFuncPtr): [12:25:18.626] _flags_ = flags [12:25:18.626] _restype_ = self._func_restype_ [12:25:18.626] self._FuncPtr = _FuncPtr [12:25:18.626] [12:25:18.626] if handle is None: [12:25:18.626] > self._handle = _dlopen(self._name, mode) [12:25:18.626] 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:18.626] [12:25:18.626] C:\python\lib\ctypes\__init__.py:374: FileNotFoundError [12:25:18.626] [12:25:18.626] _________________ test_connection_is_finished_on_error _________________ [12:25:18.626] [12:25:18.626] [12:25:18.626] ______ Error during setup of test_connection_is_finished_on_error ______ [12:25:18.626] [12:25:18.626] libdir = 'C:/cirrus/build/TMP_IN~1/usr/local/pgsql/lib' [12:25:18.626] [12:25:18.626] @pytest.fixture(scope="session") [12:25:18.626] def libpq_handle(libdir): [12:25:18.626] """ [12:25:18.626] Loads a ctypes handle for libpq. Some common function prototypes are [12:25:18.626] initialized for general use. [12:25:18.626] """ [12:25:18.626] > return load_libpq_handle(libdir) [12:25:18.626] [12:25:18.626] pypg\fixtures.py:39: [12:25:18.626] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [12:25:18.626] libpq.py:91: in load_libpq_handle [12:25:18.626] lib = ctypes.CDLL(libpq_path, **loadopts) [12:25:18.626] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [12:25:18.626] [12:25:18.626] self = [12:25:18.626] name = 'C:/cirrus/build/TMP_IN~1/usr/local/pgsql/lib\\libpq.dll', mode = 0 [12:25:18.626] handle = None, use_errno = False, use_last_error = False, winmode = 0 [12:25:18.626] [12:25:18.626] def __init__(self, name, mode=DEFAULT_MODE, handle=None, [12:25:18.626] use_errno=False, [12:25:18.626] use_last_error=False, [12:25:18.626] winmode=None): [12:25:18.626] self._name = name [12:25:18.626] flags = self._func_flags_ [12:25:18.626] if use_errno: [12:25:18.626] flags |= _FUNCFLAG_USE_ERRNO [12:25:18.626] if use_last_error: [12:25:18.626] flags |= _FUNCFLAG_USE_LASTERROR [12:25:18.626] if _sys.platform.startswith("aix"): [12:25:18.626] """When the name contains ".a(" and ends with ")", [12:25:18.626] e.g., "libFOO.a(libFOO.so)" - this is taken to be an [12:25:18.626] archive(member) syntax for dlopen(), and the mode is adjusted. [12:25:18.626] Otherwise, name is presented to dlopen() as a file argument. [12:25:18.626] """ [12:25:18.626] if name and name.endswith(")") and ".a(" in name: [12:25:18.626] mode |= ( _os.RTLD_MEMBER | _os.RTLD_NOW ) [12:25:18.626] if _os.name == "nt": [12:25:18.626] if winmode is not None: [12:25:18.626] mode = winmode [12:25:18.626] else: [12:25:18.626] import nt [12:25:18.626] mode = nt._LOAD_LIBRARY_SEARCH_DEFAULT_DIRS [12:25:18.626] if '/' in name or '\\' in name: [12:25:18.626] self._name = nt._getfullpathname(self._name) [12:25:18.626] mode |= nt._LOAD_LIBRARY_SEARCH_DLL_LOAD_DIR [12:25:18.626] [12:25:18.626] class _FuncPtr(_CFuncPtr): [12:25:18.626] _flags_ = flags [12:25:18.626] _restype_ = self._func_restype_ [12:25:18.626] self._FuncPtr = _FuncPtr [12:25:18.626] [12:25:18.626] if handle is None: [12:25:18.626] > self._handle = _dlopen(self._name, mode) [12:25:18.626] 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:18.626] [12:25:18.626] C:\python\lib\ctypes\__init__.py:374: FileNotFoundError [12:25:18.626] ------------------------------------------------------------------------------ [12:25:18.626] [12:25:18.931] | 6/10 - src/test/ssl/pyt/test_client.py::test_server_with_ssl_disabled[require] FAIL [12:25:18.931] | 6/10 - src/test/ssl/pyt/test_client.py::test_server_with_ssl_disabled[verify-ca] FAIL [12:25:18.931] | 6/10 - src/test/ssl/pyt/test_client.py::test_server_with_ssl_disabled[verify-full] FAIL [12:25:18.931] | 6/10 - src/test/ssl/pyt/test_client.py::test_verify_full_connection FAIL [12:25:18.955] 6/10 postgresql:ssl / ssl/test_client FAIL 1.08s 0/4 subtests passed [12:25:18.955] >>> top_builddir=C:\cirrus\build ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MESON_TEST_ITERATION=1 share_contrib_dir=C:/cirrus/build/tmp_install//usr/local/pgsql/share/contrib PATH=C:\cirrus\build\tmp_install\usr\local\pgsql\bin;C:\cirrus\build\src/test\ssl;C:/cirrus/build/src/test/ssl/test;C:\VS_2019\VC\Tools\MSVC\14.29.30133\bin\HostX64\x64;C:\VS_2019\MSBuild\Current\bin\Roslyn;C:\Program Files (x86)\Windows Kits\10\bin\10.0.22621.0\x64;C:\Program Files (x86)\Windows Kits\10\bin\x64;C:\VS_2019\\MSBuild\Current\Bin;C:\Windows\Microsoft.NET\Framework64\v4.0.30319;C:\VS_2019\Common7\IDE\;C:\VS_2019\Common7\Tools\;C:\VS_2019\VC\Auxiliary\Build;C:\zstd\zstd-v1.5.2-win64;C:\zlib;C:\lz4;C:\icu;C:\winflexbison;C:\strawberry\5.40.0.1\perl\bin;C:\python\Scripts\;C:\python\;C:\Windows Kits\10\Debuggers\x64;C:\Program Files\Git\usr\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\ProgramData\GooGet;C:\Program Files\Google\Compute Engine\metadata_scripts;C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk\bin;C:\Program Files\PowerShell\7\;C:\Program Files\Google\Compute Engine\sysprep;C:\ProgramData\chocolatey\bin;C:\Program Files\Git\cmd;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;C:\Windows\system32\config\systemprofile\AppData\Local\Microsoft\WindowsApps 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 MALLOC_PERTURB_=174 PG_REGRESS=C:\cirrus\build\src/test\regress\pg_regress.exe PYTHONPATH=C:/cirrus/src/test/pytest/plugins REGRESS_SHLIB=C:\cirrus\build\src/test\regress\regress.dll INITDB_TEMPLATE=C:/cirrus/build/tmp_install/initdb-template C:\python\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:\Windows\system32\config\systemprofile\AppData\Roaming\Python\Python310\Scripts\pytest.exe -c C:/cirrus/pytest.ini --verbose -p pgtap -ra C:/cirrus/src/test/ssl/pyt/test_client.py [12:25:18.955] ------------------------------------- 8< ------------------------------------- [12:25:18.955] Listing only the last 100 lines from a long log. [12:25:18.955] winmode=None): [12:25:18.955] self._name = name [12:25:18.955] flags = self._func_flags_ [12:25:18.955] if use_errno: [12:25:18.955] flags |= _FUNCFLAG_USE_ERRNO [12:25:18.955] if use_last_error: [12:25:18.955] flags |= _FUNCFLAG_USE_LASTERROR [12:25:18.955] if _sys.platform.startswith("aix"): [12:25:18.955] """When the name contains ".a(" and ends with ")", [12:25:18.955] e.g., "libFOO.a(libFOO.so)" - this is taken to be an [12:25:18.955] archive(member) syntax for dlopen(), and the mode is adjusted. [12:25:18.955] Otherwise, name is presented to dlopen() as a file argument. [12:25:18.955] """ [12:25:18.955] if name and name.endswith(")") and ".a(" in name: [12:25:18.955] mode |= ( _os.RTLD_MEMBER | _os.RTLD_NOW ) [12:25:18.955] if _os.name == "nt": [12:25:18.955] if winmode is not None: [12:25:18.955] mode = winmode [12:25:18.955] else: [12:25:18.955] import nt [12:25:18.955] mode = nt._LOAD_LIBRARY_SEARCH_DEFAULT_DIRS [12:25:18.955] if '/' in name or '\\' in name: [12:25:18.955] self._name = nt._getfullpathname(self._name) [12:25:18.955] mode |= nt._LOAD_LIBRARY_SEARCH_DLL_LOAD_DIR [12:25:18.955] [12:25:18.955] class _FuncPtr(_CFuncPtr): [12:25:18.955] _flags_ = flags [12:25:18.955] _restype_ = self._func_restype_ [12:25:18.955] self._FuncPtr = _FuncPtr [12:25:18.955] [12:25:18.955] if handle is None: [12:25:18.955] > self._handle = _dlopen(self._name, mode) [12:25:18.955] 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:18.955] [12:25:18.955] C:\python\lib\ctypes\__init__.py:374: FileNotFoundError [12:25:18.955] [12:25:18.955] _____________________ test_verify_full_connection ______________________ [12:25:18.955] [12:25:18.955] [12:25:18.955] __________ Error during setup of test_verify_full_connection ___________ [12:25:18.955] [12:25:18.955] libdir = 'C:/cirrus/build/TMP_IN~1/usr/local/pgsql/lib' [12:25:18.955] [12:25:18.955] @pytest.fixture(scope="session") [12:25:18.955] def libpq_handle(libdir): [12:25:18.955] """ [12:25:18.955] Loads a ctypes handle for libpq. Some common function prototypes are [12:25:18.955] initialized for general use. [12:25:18.955] """ [12:25:18.955] > return load_libpq_handle(libdir) [12:25:18.955] [12:25:18.955] ..\pytest\pypg\fixtures.py:39: [12:25:18.955] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [12:25:18.955] ..\pytest\libpq.py:91: in load_libpq_handle [12:25:18.955] lib = ctypes.CDLL(libpq_path, **loadopts) [12:25:18.955] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [12:25:18.955] [12:25:18.955] self = [12:25:18.955] name = 'C:/cirrus/build/TMP_IN~1/usr/local/pgsql/lib\\libpq.dll', mode = 0 [12:25:18.955] handle = None, use_errno = False, use_last_error = False, winmode = 0 [12:25:18.955] [12:25:18.955] def __init__(self, name, mode=DEFAULT_MODE, handle=None, [12:25:18.955] use_errno=False, [12:25:18.955] use_last_error=False, [12:25:18.955] winmode=None): [12:25:18.955] self._name = name [12:25:18.955] flags = self._func_flags_ [12:25:18.955] if use_errno: [12:25:18.955] flags |= _FUNCFLAG_USE_ERRNO [12:25:18.955] if use_last_error: [12:25:18.955] flags |= _FUNCFLAG_USE_LASTERROR [12:25:18.955] if _sys.platform.startswith("aix"): [12:25:18.955] """When the name contains ".a(" and ends with ")", [12:25:18.955] e.g., "libFOO.a(libFOO.so)" - this is taken to be an [12:25:18.955] archive(member) syntax for dlopen(), and the mode is adjusted. [12:25:18.955] Otherwise, name is presented to dlopen() as a file argument. [12:25:18.955] """ [12:25:18.955] if name and name.endswith(")") and ".a(" in name: [12:25:18.955] mode |= ( _os.RTLD_MEMBER | _os.RTLD_NOW ) [12:25:18.955] if _os.name == "nt": [12:25:18.955] if winmode is not None: [12:25:18.955] mode = winmode [12:25:18.955] else: [12:25:18.955] import nt [12:25:18.955] mode = nt._LOAD_LIBRARY_SEARCH_DEFAULT_DIRS [12:25:18.955] if '/' in name or '\\' in name: [12:25:18.955] self._name = nt._getfullpathname(self._name) [12:25:18.955] mode |= nt._LOAD_LIBRARY_SEARCH_DLL_LOAD_DIR [12:25:18.955] [12:25:18.955] class _FuncPtr(_CFuncPtr): [12:25:18.955] _flags_ = flags [12:25:18.955] _restype_ = self._func_restype_ [12:25:18.955] self._FuncPtr = _FuncPtr [12:25:18.955] [12:25:18.955] if handle is None: [12:25:18.955] > self._handle = _dlopen(self._name, mode) [12:25:18.955] 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:18.955] [12:25:18.955] C:\python\lib\ctypes\__init__.py:374: FileNotFoundError [12:25:18.955] ------------------------------------------------------------------------------ [12:25:18.955] [12:25:19.331] | 7/10 - src/test/ssl/pyt/test_server.py::test_direct_ssl_certificate_authentication[trust-None-None] FAIL [12:25:19.331] | 7/10 - src/test/ssl/pyt/test_server.py::test_direct_ssl_certificate_authentication[trust-client-None] FAIL [12:25:19.331] | 7/10 - src/test/ssl/pyt/test_server.py::test_direct_ssl_certificate_authentication[trust-server-None] FAIL [12:25:19.331] | 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:19.331] | 7/10 - src/test/ssl/pyt/test_server.py::test_direct_ssl_certificate_authentication[trust clientcert=verify-ca-client-None] FAIL [12:25:19.331] | 7/10 - src/test/ssl/pyt/test_server.py::test_direct_ssl_certificate_authentication[trust clientcert=verify-ca-server-None] FAIL [12:25:19.331] | 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:19.331] | 7/10 - src/test/ssl/pyt/test_server.py::test_direct_ssl_certificate_authentication[trust clientcert=verify-full-client-None] FAIL [12:25:19.331] | 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:19.331] | 7/10 - src/test/ssl/pyt/test_server.py::test_direct_ssl_certificate_authentication[cert-None-requires a valid client certificate] FAIL [12:25:19.331] | 7/10 - src/test/ssl/pyt/test_server.py::test_direct_ssl_certificate_authentication[cert-client-None] FAIL [12:25:19.331] | 7/10 - src/test/ssl/pyt/test_server.py::test_direct_ssl_certificate_authentication[cert-server-authentication failed for user] FAIL [12:25:19.362] 7/10 postgresql:ssl / ssl/test_server FAIL 1.49s 0/12 subtests passed [12:25:19.377] >>> top_builddir=C:\cirrus\build ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MESON_TEST_ITERATION=1 share_contrib_dir=C:/cirrus/build/tmp_install//usr/local/pgsql/share/contrib PATH=C:\cirrus\build\tmp_install\usr\local\pgsql\bin;C:\cirrus\build\src/test\ssl;C:/cirrus/build/src/test/ssl/test;C:\VS_2019\VC\Tools\MSVC\14.29.30133\bin\HostX64\x64;C:\VS_2019\MSBuild\Current\bin\Roslyn;C:\Program Files (x86)\Windows Kits\10\bin\10.0.22621.0\x64;C:\Program Files (x86)\Windows Kits\10\bin\x64;C:\VS_2019\\MSBuild\Current\Bin;C:\Windows\Microsoft.NET\Framework64\v4.0.30319;C:\VS_2019\Common7\IDE\;C:\VS_2019\Common7\Tools\;C:\VS_2019\VC\Auxiliary\Build;C:\zstd\zstd-v1.5.2-win64;C:\zlib;C:\lz4;C:\icu;C:\winflexbison;C:\strawberry\5.40.0.1\perl\bin;C:\python\Scripts\;C:\python\;C:\Windows Kits\10\Debuggers\x64;C:\Program Files\Git\usr\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\ProgramData\GooGet;C:\Program Files\Google\Compute Engine\metadata_scripts;C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk\bin;C:\Program Files\PowerShell\7\;C:\Program Files\Google\Compute Engine\sysprep;C:\ProgramData\chocolatey\bin;C:\Program Files\Git\cmd;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;C:\Windows\system32\config\systemprofile\AppData\Local\Microsoft\WindowsApps MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MALLOC_PERTURB_=15 UBSAN_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 PYTHONPATH=C:/cirrus/src/test/pytest/plugins REGRESS_SHLIB=C:\cirrus\build\src/test\regress\regress.dll INITDB_TEMPLATE=C:/cirrus/build/tmp_install/initdb-template C:\python\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:\Windows\system32\config\systemprofile\AppData\Roaming\Python\Python310\Scripts\pytest.exe -c C:/cirrus/pytest.ini --verbose -p pgtap -ra C:/cirrus/src/test/ssl/pyt/test_server.py [12:25:19.377] ------------------------------------- 8< ------------------------------------- [12:25:19.377] Listing only the last 100 lines from a long log. [12:25:19.377] winmode=None): [12:25:19.377] self._name = name [12:25:19.377] flags = self._func_flags_ [12:25:19.377] if use_errno: [12:25:19.377] flags |= _FUNCFLAG_USE_ERRNO [12:25:19.377] if use_last_error: [12:25:19.377] flags |= _FUNCFLAG_USE_LASTERROR [12:25:19.377] if _sys.platform.startswith("aix"): [12:25:19.377] """When the name contains ".a(" and ends with ")", [12:25:19.377] e.g., "libFOO.a(libFOO.so)" - this is taken to be an [12:25:19.377] archive(member) syntax for dlopen(), and the mode is adjusted. [12:25:19.377] Otherwise, name is presented to dlopen() as a file argument. [12:25:19.377] """ [12:25:19.377] if name and name.endswith(")") and ".a(" in name: [12:25:19.377] mode |= ( _os.RTLD_MEMBER | _os.RTLD_NOW ) [12:25:19.377] if _os.name == "nt": [12:25:19.377] if winmode is not None: [12:25:19.377] mode = winmode [12:25:19.377] else: [12:25:19.377] import nt [12:25:19.377] mode = nt._LOAD_LIBRARY_SEARCH_DEFAULT_DIRS [12:25:19.377] if '/' in name or '\\' in name: [12:25:19.377] self._name = nt._getfullpathname(self._name) [12:25:19.377] mode |= nt._LOAD_LIBRARY_SEARCH_DLL_LOAD_DIR [12:25:19.377] [12:25:19.377] class _FuncPtr(_CFuncPtr): [12:25:19.377] _flags_ = flags [12:25:19.377] _restype_ = self._func_restype_ [12:25:19.377] self._FuncPtr = _FuncPtr [12:25:19.377] [12:25:19.377] if handle is None: [12:25:19.377] > self._handle = _dlopen(self._name, mode) [12:25:19.377] 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:19.377] [12:25:19.377] C:\python\lib\ctypes\__init__.py:374: FileNotFoundError [12:25:19.377] [12:25:19.377] test_direct_ssl_certificate_authentication[cert-server-authentication failed for user] [12:25:19.377] [12:25:19.377] [12:25:19.377] Error during setup of test_direct_ssl_certificate_authentication[cert-server-authentication failed for user] [12:25:19.377] [12:25:19.377] libdir = 'C:/cirrus/build/TMP_IN~1/usr/local/pgsql/lib' [12:25:19.377] [12:25:19.377] @pytest.fixture(scope="session") [12:25:19.377] def libpq_handle(libdir): [12:25:19.377] """ [12:25:19.377] Loads a ctypes handle for libpq. Some common function prototypes are [12:25:19.377] initialized for general use. [12:25:19.377] """ [12:25:19.377] > return load_libpq_handle(libdir) [12:25:19.377] [12:25:19.377] ..\pytest\pypg\fixtures.py:39: [12:25:19.377] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [12:25:19.377] ..\pytest\libpq.py:91: in load_libpq_handle [12:25:19.377] lib = ctypes.CDLL(libpq_path, **loadopts) [12:25:19.377] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [12:25:19.377] [12:25:19.377] self = [12:25:19.377] name = 'C:/cirrus/build/TMP_IN~1/usr/local/pgsql/lib\\libpq.dll', mode = 0 [12:25:19.377] handle = None, use_errno = False, use_last_error = False, winmode = 0 [12:25:19.377] [12:25:19.377] def __init__(self, name, mode=DEFAULT_MODE, handle=None, [12:25:19.377] use_errno=False, [12:25:19.377] use_last_error=False, [12:25:19.377] winmode=None): [12:25:19.377] self._name = name [12:25:19.377] flags = self._func_flags_ [12:25:19.377] if use_errno: [12:25:19.377] flags |= _FUNCFLAG_USE_ERRNO [12:25:19.377] if use_last_error: [12:25:19.377] flags |= _FUNCFLAG_USE_LASTERROR [12:25:19.377] if _sys.platform.startswith("aix"): [12:25:19.377] """When the name contains ".a(" and ends with ")", [12:25:19.377] e.g., "libFOO.a(libFOO.so)" - this is taken to be an [12:25:19.377] archive(member) syntax for dlopen(), and the mode is adjusted. [12:25:19.377] Otherwise, name is presented to dlopen() as a file argument. [12:25:19.377] """ [12:25:19.377] if name and name.endswith(")") and ".a(" in name: [12:25:19.377] mode |= ( _os.RTLD_MEMBER | _os.RTLD_NOW ) [12:25:19.377] if _os.name == "nt": [12:25:19.377] if winmode is not None: [12:25:19.377] mode = winmode [12:25:19.377] else: [12:25:19.377] import nt [12:25:19.377] mode = nt._LOAD_LIBRARY_SEARCH_DEFAULT_DIRS [12:25:19.377] if '/' in name or '\\' in name: [12:25:19.377] self._name = nt._getfullpathname(self._name) [12:25:19.377] mode |= nt._LOAD_LIBRARY_SEARCH_DLL_LOAD_DIR [12:25:19.377] [12:25:19.377] class _FuncPtr(_CFuncPtr): [12:25:19.377] _flags_ = flags [12:25:19.377] _restype_ = self._func_restype_ [12:25:19.377] self._FuncPtr = _FuncPtr [12:25:19.377] [12:25:19.377] if handle is None: [12:25:19.377] > self._handle = _dlopen(self._name, mode) [12:25:19.377] 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:19.377] [12:25:19.377] C:\python\lib\ctypes\__init__.py:374: FileNotFoundError [12:25:19.377] ------------------------------------------------------------------------------ [12:25:19.377] [12:25:25.619] 8/10 postgresql:ssl / ssl/002_scram OK 7.75s 28 subtests passed [12:25:25.962] 9/10 postgresql:ssl / ssl/003_sslinfo OK 8.09s 21 subtests passed [12:25:33.638] 10/10 postgresql:ssl / ssl/001_ssltests OK 15.76s 210 subtests passed [12:25:33.654] [12:25:33.654] Summary of Failures: [12:25:33.654] [12:25:33.654] 4/10 postgresql:pytest / pytest/test_something FAIL 0.63s 1/2 subtests passed [12:25:33.654] 5/10 postgresql:pytest / pytest/test_libpq FAIL 0.75s 7/9 subtests passed [12:25:33.654] 6/10 postgresql:ssl / ssl/test_client FAIL 1.08s 0/4 subtests passed [12:25:33.654] 7/10 postgresql:ssl / ssl/test_server FAIL 1.49s 0/12 subtests passed [12:25:33.654] [12:25:33.654] Ok: 6 [12:25:33.654] Fail: 4 [12:25:33.654] [12:25:33.654] Full log written to C:\cirrus\build\meson-logs\testlog.txt [12:25:33.697] [12:25:33.697] Exit status: 4