Check firebird.log [no messages found for interval when this test was running]
Jump to: output_first_mismatch    outcomes_full_history    elapsed_time_chart
Show cross-report outcomes.

Annotation type Annotation details
2 @message
Server crashed ?
Network / firewall ?

failed on teardown with "firebird.driver.types.DatabaseError: Unable to complete network request to host "localhost".
-Failed to establish a connection."

LOG DETAILS:

2025-02-25 12:45:24.656
2025-02-25 12:45:24.670 act = <firebird.qa.plugin.Action object at [hex]>
2025-02-25 12:45:24.678
2025-02-25 12:45:24.686 @pytest.mark.version('>=4.0.6')
2025-02-25 12:45:24.693 def test_1(act: Action):
2025-02-25 12:45:24.701 act.expected_stdout = expected_stdout
2025-02-25 12:45:24.709 act.execute(combine_output = True)
2025-02-25 12:45:24.717 >       assert act.clean_stdout == act.clean_expected_stdout
2025-02-25 12:45:24.723 E       assert
2025-02-25 12:45:24.730 E         - 1
2025-02-25 12:45:24.739 E         + Statement failed, SQLSTATE = 08006
2025-02-25 12:45:24.751 E         + Error reading data from the connection.
2025-02-25 12:45:24.758 E         + Statement failed, SQLSTATE = 08006
2025-02-25 12:45:24.766 E         + Error writing data to the connection.
2025-02-25 12:45:24.775 E         + Statement failed, SQLSTATE = 08006
2025-02-25 12:45:24.784 E         + Error writing data to the connection.
2025-02-25 12:45:24.792
2025-02-25 12:45:24.798 tests/bugs/gh_8437_test.py:34: AssertionError
2025-02-25 12:45:24.805 ---------------------------- Captured stdout setup -----------------------------
2025-02-25 12:45:24.811 Creating db: localhost:/var/tmp/qa_2024/test_11684/test.fdb [page_size=None, sql_dialect=None, charset='NONE', user=SYSDBA, password=masterkey]
3 #text
request = <SubRequest 'db' for <Function test_1>>
db_path = PosixPath('/var/tmp/qa_2024/test_11684')
db_cache = <firebird.qa.plugin.DbCache pytest object at [hex]>

    @pytest.fixture
    def database_fixture(request: pytest.FixtureRequest, db_path, db_cache) -> Database:
        db = Database(db_path, filename, user, password, charset, debug=str(request.module),
                      config_name=config_name, utf8filename=utf8filename)
        if not do_not_create:
            if from_backup is None and copy_of is None:
                db.create(page_size, sql_dialect, db_cache)
            elif from_backup is not None:
                db.restore(from_backup)
            elif copy_of is not None:
                db.copy(copy_of)
            if async_write:
                db.set_async_write()
            if init: # Do not check for None, we want to skip empty scripts as well
                try:
                    db.init(init)
                except Error as exc:
                    if hasattr(exc, 'stderr'):
                        request.node.user_properties.append(("dbinit-stderr", exc.stderr))
                    raise
        yield db
        if not do_not_drop:
>           db.drop()

src/firebird/qa/plugin.py:987: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

server = 'qa_rundaily_HQ50'

    def connect_server(server: str, *, user: str=None, password: str=None,
                       crypt_callback: iCryptKeyCallbackImpl=None,
                       expected_db: str=None, role: str=None, encoding: str=None,
                       encoding_errors: str=None) -> Server:
        """Establishes a connection to server's service manager.
    
        Arguments:
            server: Server host machine or Server configuration name.
            user: User name.
            password: User password.
            crypt_callback: Callback that provides encryption key.
            expected_db: Database that would be accessed (for using services with non-default
                         security database)
            role: SQL role used for connection.
            encoding: Encoding for string values passed in parameter buffer. Default is
               `.ServerConfig.encoding`.
            encoding_errors: Error handler used for encoding errors. Default is
               `.ServerConfig.encoding_errors`.
    
        Hooks:
            Event `.ServerHook.ATTACHED`: Executed before `Service` instance is
            returned. Hook must have signature::
    
                hook_func(server: Server) -> None
    
            Any value returned by hook is ignored.
        """
        srv_config = driver_config.get_server(server)
        if srv_config is None:
            srv_config = driver_config.server_defaults
            host = server or None
            port = None
        else:
            host = srv_config.host.value
            port = srv_config.port.value
        if host is None:
            host = 'service_mgr'
        if not host.endswith('service_mgr'):
            if host and not host.endswith(':'):
                if port:
                    host += f"/{port}"
                host += ':'
            host += 'service_mgr'
        if user is None:
            user = srv_config.user.value
        if password is None:
            password = srv_config.password.value
        spb = SPB_ATTACH(user=user, password=password, config=srv_config.config.value,
                         trusted_auth=srv_config.trusted_auth.value,
                         auth_plugin_list=srv_config.auth_plugin_list.value,
                         expected_db=expected_db, role=role)
        spb_buf = spb.get_buffer()
        with a.get_api().master.get_dispatcher() as provider:
            if crypt_callback is not None:
                provider.set_dbcrypt_callback(crypt_callback)
>           svc = provider.attach_service_manager(host, spb_buf)

../lib/python3.11/site-packages/firebird/driver/core.py:5596: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <firebird.driver.interfaces.iProvider pytest object at [hex]>
service = 'localhost/3716:service_mgr'
spb = b'\x02\x02\x1c\x06SYSDBA\x1d\tmasterkey'

    def attach_service_manager(self, service: str, spb: bytes) -> iService:
        "Replaces `isc_service_attach()`"
        result = self.vtable.attachServiceManager(self, self.status, service.encode(), len(spb), spb)
>       self._check()

../lib/python3.11/site-packages/firebird/driver/interfaces.py:1305: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <firebird.driver.interfaces.iProvider pytest object at [hex]>

    def _check(self) -> None:
        state = self.status.get_state()
        if StateFlag.ERRORS in state:
>           raise self.__report(DatabaseError, self.status.get_errors())
E           firebird.driver.types.DatabaseError: Unable to complete network request to host "localhost".
E           -Failed to establish a connection.

../lib/python3.11/site-packages/firebird/driver/interfaces.py:113: DatabaseError
Full history of outcomes and elapsed time, ms:
NN SNAP_INFO CS_outcome SS_outcome CS_run_time SS_run_time CS_run_beg CS_run_end SS_run_beg SS_run_end
1 5.0.3.1648 2025.04.18 2f4c5 P P 797 377 2025.04.20 05:37:30.888 2025.04.20 05:37:31.685 2025.04.20 04:05:27.618 2025.04.20 04:05:27.995
2 5.0.3.1635 2025.03.31 22ec6 P P 789 396 2025.04.18 12:00:40.681 2025.04.18 12:00:41.470 2025.04.18 10:24:40.546 2025.04.18 10:24:40.942
3 5.0.3.1633 2025.03.28 3123a P P 706 432 2025.03.31 10:34:22.878 2025.03.31 10:34:23.584 2025.03.31 09:04:48.612 2025.03.31 09:04:49.044
4 5.0.3.1633 2025.03.27 e0fb8 P P 737 511 2025.03.28 11:09:54.189 2025.03.28 11:09:54.926 2025.03.28 09:37:28.003 2025.03.28 09:37:28.514
5 5.0.3.1631 2025.03.21 1925b P P 817 423 2025.03.27 10:57:34.715 2025.03.27 10:57:35.532 2025.03.27 09:26:06.165 2025.03.27 09:26:06.588
6 5.0.3.1628 2025.03.14 16d05 P P 2428 1188 2025.03.17 08:30:39.142 2025.03.17 08:30:41.570 2025.03.17 06:50:18.791 2025.03.17 06:50:19.979
7 5.0.3.1627 2025.02.26 4e218 P P 2328 1279 2025.03.14 11:45:01.982 2025.03.14 11:45:04.310 2025.03.14 10:03:37.062 2025.03.14 10:03:38.341
8 5.0.3.1624 2025.02.25 dc3b2 P P 3709 2340 2025.02.26 10:35:38.506 2025.02.26 10:35:42.215 2025.02.26 08:59:40.552 2025.02.26 08:59:42.892
9 5.0.2.1615 2025.02.20 4a726 F E 2705 2433 2025.02.25 11:02:13.061 2025.02.25 11:02:15.766 2025.02.25 09:24:48.223 2025.02.25 09:24:50.656

Elapsed time, ms. Chart for last 9 runs:

Last commits information (all timestamps in UTC):