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
Network / firewall ?

failed on setup with "firebird.driver.types.DatabaseError: Unable to complete network request to host "localhost".
-Failed to establish a connection."
3 #text
request = <SubRequest 'db_main_owner' for <Function test_1>>

    @pytest.fixture
    def user_fixture(request: pytest.FixtureRequest) -> User:
>       with User(request.getfixturevalue(db_fixture_name), name=name, password=password,
                  plugin=plugin, charset=charset, active=active, tags=tags,
                  first_name=first_name, middle_name=middle_name, last_name=last_name,
                  admin=admin, do_not_create=do_not_create) as user:

src\firebird\qa\plugin.py:1242: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <firebird.qa.plugin.User pytest object at [hex]>

    def __enter__(self) -> User:
        if self.__create:
>           self.create()

src\firebird\qa\plugin.py:1067: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

database = 'db_main_alias'

    def connect(database: str, *, user: str=None, password: str=None, role: str=None,
                no_gc: bool=None, no_db_triggers: bool=None, dbkey_scope: DBKeyScope=None,
                crypt_callback: iCryptKeyCallbackImpl=None, charset: str=None,
                auth_plugin_list: str=None, session_time_zone: str=None) -> Connection:
        """Establishes a connection to the database.
    
        Arguments:
            database: DSN or Database configuration name.
            user: User name.
            password: User password.
            role: User role.
            no_gc: Do not perform garbage collection for this connection.
            no_db_triggers: Do not execute database triggers for this connection.
            dbkey_scope: DBKEY scope override for connection.
            crypt_callback: Callback that provides encryption key for the database.
            charset: Character set for connection.
            auth_plugin_list: List of authentication plugins override
            session_time_zone: Session time zone [Firebird 4]
    
        Hooks:
            Event `.ConnectionHook.ATTACH_REQUEST`: Executed after all parameters
            are preprocessed and before `Connection` is created. Hook
            must have signature::
    
                hook_func(dsn: str, dpb: bytes) -> Optional[Connection]
    
            Hook may return `Connection` instance or None.
            First instance returned by any hook will become the return value
            of this function and other hooks are not called.
    
            Event `.ConnectionHook.ATTACHED`: Executed before `Connection` instance is
            returned. Hook must have signature::
    
                hook_func(connection: Connection) -> None
    
            Any value returned by hook is ignored.
        """
        db_config = driver_config.get_database(database)
        if db_config is None:
            db_config = driver_config.db_defaults
        else:
            database = db_config.database.value
        if db_config.server.value is None:
            srv_config = driver_config.server_defaults
        else:
            srv_config = driver_config.get_server(db_config.server.value)
            if srv_config is None:
                raise ValueError(f"Configuration for server '{db_config.server.value}' not found")
        if user is None:
            user = db_config.user.value
            if user is None:
                user = srv_config.user.value
        if password is None:
            password = db_config.password.value
            if password is None:
                password = srv_config.password.value
        if role is None:
            role = db_config.role.value
        if charset is None:
            charset = db_config.charset.value
        if charset:
            charset = charset.upper()
        if auth_plugin_list is None:
            auth_plugin_list = db_config.auth_plugin_list.value
        if session_time_zone is None:
            session_time_zone = db_config.session_time_zone.value
        dsn = _connect_helper(db_config.dsn.value, srv_config.host.value, srv_config.port.value,
                              database, db_config.protocol.value)
        dpb = DPB(user=user, password=password, role=role, trusted_auth=db_config.trusted_auth.value,
                  sql_dialect=db_config.sql_dialect.value, timeout=db_config.timeout.value,
                  charset=charset, cache_size=db_config.cache_size.value,
                  no_linger=db_config.no_linger.value, utf8filename=db_config.utf8filename.value,
                  no_gc=no_gc, no_db_triggers=no_db_triggers, dbkey_scope=dbkey_scope,
                  dummy_packet_interval=db_config.dummy_packet_interval.value,
                  config=db_config.config.value, auth_plugin_list=auth_plugin_list,
                  session_time_zone=session_time_zone, set_bind=db_config.set_bind.value,
                  decfloat_round=db_config.decfloat_round.value,
                  decfloat_traps=db_config.decfloat_traps.value,
                  parallel_workers=db_config.parallel_workers.value)
>       return __make_connection(False, dsn, db_config.utf8filename.value, dpb.get_buffer(),
                                 db_config.sql_dialect.value, charset, crypt_callback)

C:\Python3x\Lib\site-packages\firebird\driver\core.py:2159: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

create = False, dsn = 'localhost/33337:db_main_alias', utf8filename = False
dpb = b'\x01\x1c\x06SYSDBA\x1d\tmasterkey?\x04\x03\x00\x00\x000\x04UTF8'
sql_dialect = 3, charset = 'UTF8', crypt_callback = None

    def __make_connection(create: bool, dsn: str, utf8filename: bool, dpb: bytes,
                          sql_dialect: int, charset: str,
                          crypt_callback: iCryptKeyCallbackImpl) -> Connection:
        with a.get_api().master.get_dispatcher() as provider:
            if crypt_callback is not None:
                provider.set_dbcrypt_callback(crypt_callback)
            if create:
                att = provider.create_database(dsn, dpb, 'utf-8' if utf8filename else FS_ENCODING)
                con = Connection(att, dsn, dpb, sql_dialect, charset)
            else:
                con = None
                for hook in get_callbacks(ConnectionHook.ATTACH_REQUEST, Connection):
                    try:
                        con = hook(dsn, dpb)
                    except Exception as e:
                        raise InterfaceError("Error in DATABASE_ATTACH_REQUEST hook.", *e.args) from e
                    if con is not None:
                        break
                if con is None:
>                   att = provider.attach_database(dsn, dpb, 'utf-8' if utf8filename else FS_ENCODING)

C:\Python3x\Lib\site-packages\firebird\driver\core.py:2074: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <firebird.driver.interfaces.iProvider pytest object at [hex]>
filename = 'localhost/33337:db_main_alias'
dpb = b'\x01\x1c\x06SYSDBA\x1d\tmasterkey?\x04\x03\x00\x00\x000\x04UTF8'
encoding = 'utf-8'

    def attach_database(self, filename: str, dpb: Optional[bytes] = None, encoding: str = 'ascii') -> iAttachment:
        "Replaces `isc_attach_database()`"
        result = self.vtable.attachDatabase(self, self.status, filename.encode(encoding),
                                            0 if dpb is None else len(dpb), dpb)
>       self._check()

C:\Python3x\Lib\site-packages\firebird\driver\interfaces.py:1300: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

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.

C:\Python3x\Lib\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.1674 2025.06.27 3ee5c P P 6204 6387 2025.06.30 11:15:28.429 2025.06.30 11:15:34.633 2025.06.30 10:11:50.332 2025.06.30 10:11:56.719
2 5.0.3.1657 2025.06.26 dcb8a P P 6241 6087 2025.06.27 11:16:53.454 2025.06.27 11:16:59.695 2025.06.27 10:13:17.087 2025.06.27 10:13:23.174
3 5.0.3.1657 2025.06.20 8b4d2 P P 6261 7262 2025.06.26 11:31:18.608 2025.06.26 11:31:24.869 2025.06.26 10:27:29.118 2025.06.26 10:27:36.380
4 5.0.3.1657 2025.06.19 4bd4c P P 7598 6092 2025.06.20 05:35:28.262 2025.06.20 05:35:35.860 2025.06.20 04:31:42.097 2025.06.20 04:31:48.189
5 5.0.3.1657 2025.06.11 dae6f P P 6441 6069 2025.06.19 11:06:58.805 2025.06.19 11:07:05.246 2025.06.19 10:03:09.537 2025.06.19 10:03:15.606
6 5.0.3.1657 2025.06.10 dbc92 P P 7194 6099 2025.06.11 08:53:10.482 2025.06.11 08:53:17.676 2025.06.11 07:49:09.533 2025.06.11 07:49:15.632
7 5.0.3.1656 2025.06.05 00512 P P 6295 6095 2025.06.10 10:08:29.869 2025.06.10 10:08:36.164 2025.06.10 09:04:11.865 2025.06.10 09:04:17.960
8 5.0.3.1656 2025.05.20 c4b11 P P 6192 7223 2025.06.03 09:55:14.401 2025.06.03 09:55:20.593 2025.06.03 08:52:10.398 2025.06.03 08:52:17.621
9 5.0.3.1652 2025.05.13 f51c6 P P 6225 7239 2025.05.21 06:36:13.281 2025.05.21 06:36:19.506 2025.05.21 05:33:25.859 2025.05.21 05:33:33.098
10 5.0.3.1651 2025.05.08 ee9d2 P E 6304 2234 2025.05.13 06:48:52.846 2025.05.13 06:48:59.150 2025.05.13 05:44:02.388 2025.05.13 05:44:04.622
11 5.0.3.1651 2025.05.04 3d914 P E 6239 2232 2025.05.09 04:37:56.759 2025.05.09 04:38:02.998 2025.05.09 03:33:00.407 2025.05.09 03:33:02.639
12 5.0.3.1651 2025.04.30 141ef P E 6244 2258 2025.05.02 04:45:28.593 2025.05.02 04:45:34.837 2025.05.02 03:40:53.216 2025.05.02 03:40:55.474
13 5.0.3.1650 2025.04.30 6253f P E 6223 2226 2025.05.01 04:44:34.186 2025.05.01 04:44:40.409 2025.05.01 03:39:49.719 2025.05.01 03:39:51.945
14 5.0.3.1650 2025.04.28 4cbff P E 6222 2403 2025.04.30 04:43:33.190 2025.04.30 04:43:39.412 2025.04.30 03:39:02.817 2025.04.30 03:39:05.220
15 5.0.3.1649 2025.04.21 5b2d0 P E 6276 2229 2025.04.26 10:17:37.013 2025.04.26 10:17:43.289 2025.04.26 09:12:05.098 2025.04.26 09:12:07.327
16 5.0.3.1648 2025.04.18 2f4c5 P P 7267 7283 2025.04.20 04:28:52.664 2025.04.20 04:28:59.931 2025.04.20 03:25:03.185 2025.04.20 03:25:10.468
17 5.0.3.1635 2025.04.03 f6bd1 P E 6245 2419 2025.04.18 06:56:34.915 2025.04.18 06:56:41.160 2025.04.18 05:51:14.486 2025.04.18 05:51:16.905
18 5.0.3.1635 2025.03.31 22ec6 P E 6314 2425 2025.04.03 10:02:20.557 2025.04.03 10:02:26.871 2025.04.03 08:56:38.643 2025.04.03 08:56:41.068
19 5.0.3.1633 2025.03.28 3123a P E 6287 2421 2025.03.31 10:00:47.707 2025.03.31 10:00:53.994 2025.03.31 08:55:07.928 2025.03.31 08:55:10.349
20 5.0.3.1633 2025.03.27 e0fb8 P E 7233 2487 2025.03.28 10:32:46.522 2025.03.28 10:32:53.755 2025.03.28 09:23:07.936 2025.03.28 09:23:10.423
21 5.0.3.1631 2025.03.25 bda65 P P 6442 6436 2025.03.27 10:13:18.908 2025.03.27 10:13:25.350 2025.03.27 09:05:40.716 2025.03.27 09:05:47.152
22 5.0.3.1631 2025.03.21 1925b P P 6378 6470 2025.03.25 06:47:21.469 2025.03.25 06:47:27.847 2025.03.25 05:39:38.819 2025.03.25 05:39:45.289
23 5.0.3.1629 2025.03.18 506d7 P P 6256 6590 2025.03.20 09:47:19.919 2025.03.20 09:47:26.175 2025.03.20 08:39:39.769 2025.03.20 08:39:46.359
24 5.0.3.1628 2025.03.14 16d05 P P 6266 6289 2025.03.18 09:41:25.327 2025.03.18 09:41:31.593 2025.03.18 08:35:12.317 2025.03.18 08:35:18.606
25 5.0.3.1627 2025.02.26 4e218 P P 7452 6718 2025.03.13 10:01:07.952 2025.03.13 10:01:15.404 2025.03.13 08:52:59.603 2025.03.13 08:53:06.321
26 5.0.3.1624 2025.02.25 dc3b2 P P 6830 6422 2025.02.26 15:33:14.430 2025.02.26 15:33:21.260 2025.02.26 14:25:49.201 2025.02.26 14:25:55.623
27 5.0.2.1615 2025.02.20 4a726 P E 6002 2401 2025.02.25 08:47:06.424 2025.02.25 08:47:12.426 2025.02.25 07:39:22.329 2025.02.25 07:39:24.730
28 5.0.2.1615 2025.02.14 9cb76 P P 7269 6098 2025.02.15 04:14:38.443 2025.02.15 04:14:45.712 2025.02.15 03:09:26.395 2025.02.15 03:09:32.493
29 5.0.2.1577 2025.02.07 f50a2 P P 6059 7224 2025.02.14 06:27:20.098 2025.02.14 06:27:26.157 2025.02.14 05:23:16.519 2025.02.14 05:23:23.743
30 5.0.2.1577 2024.12.24 3c80e P P 6041 7200 2025.02.06 09:40:50.812 2025.02.06 09:40:56.853 2025.02.06 08:36:51.664 2025.02.06 08:36:58.864
31 5.0.2.1576 2024.12.17 646b0 P P 6067 7253 2024.12.24 09:23:57.208 2024.12.24 09:24:03.275 2024.12.24 08:20:02.508 2024.12.24 08:20:09.761
32 5.0.2.1575 2024.12.09 9af52 P P 6008 6098 2024.12.16 09:20:40.852 2024.12.16 09:20:46.860 2024.12.16 08:16:55.832 2024.12.16 08:17:01.930

Elapsed time, ms. Chart for last 32 runs:

Last commits information (all timestamps in UTC):