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 'tmp_nonpriv_user' 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:2149: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

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:2064: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

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:1295: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

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 10615 8000 2025.06.29 11:14:56.825 2025.06.29 11:15:07.440 2025.06.29 10:11:20.056 2025.06.29 10:11:28.056
2 5.0.3.1657 2025.06.26 dcb8a P P 9644 9949 2025.06.27 11:15:38.096 2025.06.27 11:15:47.740 2025.06.27 10:11:58.658 2025.06.27 10:12:08.607
3 5.0.3.1657 2025.06.20 8b4d2 P P 9838 8866 2025.06.26 11:30:00.109 2025.06.26 11:30:09.947 2025.06.26 10:26:15.145 2025.06.26 10:26:24.011
4 5.0.3.1657 2025.06.19 4bd4c P P 10771 7894 2025.06.20 05:34:12.544 2025.06.20 05:34:23.315 2025.06.20 04:30:29.307 2025.06.20 04:30:37.201
5 5.0.3.1657 2025.06.11 dae6f P P 8735 7834 2025.06.19 11:05:42.242 2025.06.19 11:05:50.977 2025.06.19 10:01:53.233 2025.06.19 10:02:01.067
6 5.0.3.1657 2025.06.10 dbc92 P P 9891 10932 2025.06.11 08:51:56.173 2025.06.11 08:52:06.064 2025.06.11 07:47:47.704 2025.06.11 07:47:58.636
7 5.0.3.1656 2025.06.05 00512 P P 9862 9972 2025.06.10 10:07:11.345 2025.06.10 10:07:21.207 2025.06.10 09:02:52.343 2025.06.10 09:03:02.315
8 5.0.3.1656 2025.05.20 c4b11 P P 9626 8687 2025.06.03 09:53:56.643 2025.06.03 09:54:06.269 2025.06.03 08:50:54.049 2025.06.03 08:51:02.736
9 5.0.3.1652 2025.05.13 f51c6 P P 8651 9713 2025.05.21 06:34:56.758 2025.05.21 06:35:05.409 2025.05.21 05:32:07.789 2025.05.21 05:32:17.502
10 5.0.3.1651 2025.05.08 ee9d2 P E 10593 2431 2025.05.13 06:47:36.804 2025.05.13 06:47:47.397 2025.05.13 05:43:39.150 2025.05.13 05:43:41.581
11 5.0.3.1651 2025.05.04 3d914 P E 9512 2424 2025.05.09 04:36:39.149 2025.05.09 04:36:48.661 2025.05.09 03:32:37.183 2025.05.09 03:32:39.607
12 5.0.3.1651 2025.04.30 141ef P E 9937 2430 2025.05.02 04:44:13.726 2025.05.02 04:44:23.663 2025.05.02 03:40:29.986 2025.05.02 03:40:32.416
13 5.0.3.1650 2025.04.30 6253f P E 10663 2237 2025.05.01 04:43:15.871 2025.05.01 04:43:26.534 2025.05.01 03:39:26.566 2025.05.01 03:39:28.803
14 5.0.3.1650 2025.04.28 4cbff P E 10593 2408 2025.04.30 04:42:18.030 2025.04.30 04:42:28.623 2025.04.30 03:38:39.650 2025.04.30 03:38:42.058
15 5.0.3.1649 2025.04.21 5b2d0 P E 9843 2443 2025.04.26 10:16:22.097 2025.04.26 10:16:31.940 2025.04.26 09:11:41.568 2025.04.26 09:11:44.011
16 5.0.3.1648 2025.04.18 2f4c5 P P 8586 9045 2025.04.20 04:27:36.540 2025.04.20 04:27:45.126 2025.04.20 03:23:46.857 2025.04.20 03:23:55.902
17 5.0.3.1635 2025.04.03 f6bd1 P E 9556 2428 2025.04.18 06:55:17.288 2025.04.18 06:55:26.844 2025.04.18 05:50:51.236 2025.04.18 05:50:53.664
18 5.0.3.1635 2025.03.31 22ec6 P E 9549 2230 2025.04.03 10:01:06.273 2025.04.03 10:01:15.822 2025.04.03 08:56:15.634 2025.04.03 08:56:17.864
19 5.0.3.1633 2025.03.28 3123a P E 10639 2408 2025.03.31 09:59:31.713 2025.03.31 09:59:42.352 2025.03.31 08:54:44.735 2025.03.31 08:54:47.143
20 5.0.3.1633 2025.03.27 e0fb8 P E 9754 2433 2025.03.28 10:31:28.299 2025.03.28 10:31:38.053 2025.03.28 09:22:44.387 2025.03.28 09:22:46.820
21 5.0.3.1631 2025.03.25 bda65 P P 10973 8887 2025.03.27 10:11:59.828 2025.03.27 10:12:10.801 2025.03.27 09:04:23.717 2025.03.27 09:04:32.604
22 5.0.3.1631 2025.03.21 1925b P P 9807 10006 2025.03.25 06:46:02.700 2025.03.25 06:46:12.507 2025.03.25 05:38:20.938 2025.03.25 05:38:30.944
23 5.0.3.1629 2025.03.18 506d7 P P 8737 9999 2025.03.20 09:46:02.576 2025.03.20 09:46:11.313 2025.03.20 08:38:20.261 2025.03.20 08:38:30.260
24 5.0.3.1628 2025.03.14 16d05 P P 7983 7817 2025.03.18 09:40:11.546 2025.03.18 09:40:19.529 2025.03.18 08:33:56.474 2025.03.18 08:34:04.291
25 5.0.3.1627 2025.02.26 4e218 P P 10721 10338 2025.03.13 09:59:45.543 2025.03.13 09:59:56.264 2025.03.13 08:51:41.351 2025.03.13 08:51:51.689
26 5.0.3.1624 2025.02.25 dc3b2 P P 8703 9057 2025.02.26 15:31:57.450 2025.02.26 15:32:06.153 2025.02.26 14:24:32.164 2025.02.26 14:24:41.221
27 5.0.2.1615 2025.02.20 4a726 P E 9618 2246 2025.02.25 08:45:48.388 2025.02.25 08:45:58.006 2025.02.25 07:38:59.269 2025.02.25 07:39:01.515
28 5.0.2.1615 2025.02.14 9cb76 P P 8910 9084 2025.02.15 04:13:23.824 2025.02.15 04:13:32.734 2025.02.15 03:08:09.504 2025.02.15 03:08:18.588
29 5.0.2.1577 2025.02.07 f50a2 P P 10633 8949 2025.02.14 06:26:01.344 2025.02.14 06:26:11.977 2025.02.14 05:21:59.020 2025.02.14 05:22:07.969
30 5.0.2.1577 2024.12.24 3c80e P P 9623 8941 2025.02.06 09:39:33.351 2025.02.06 09:39:42.974 2025.02.06 08:35:33.947 2025.02.06 08:35:42.888
31 5.0.2.1576 2024.12.17 646b0 P P 10593 7897 2024.12.24 09:22:38.349 2024.12.24 09:22:48.942 2024.12.24 08:18:49.448 2024.12.24 08:18:57.345
32 5.0.2.1575 2024.12.09 9af52 P P 9828 8038 2024.12.16 09:19:22.307 2024.12.16 09:19:32.135 2024.12.16 08:15:39.309 2024.12.16 08:15:47.347
33 5.0.2.1575 2024.12.08 63d39 P P 8558 9585 2024.12.09 15:08:44.276 2024.12.09 15:08:52.834 2024.12.09 14:09:59.903 2024.12.09 14:10:09.488
34 5.0.2.1571 2024.12.08 8d11a P P 10631 10690 2024.12.09 06:22:21.994 2024.12.09 06:22:32.625 2024.12.09 05:21:37.516 2024.12.09 05:21:48.206
35 5.0.2.1567 2024.12.07 b01a2 P P 8048 8718 2024.12.08 02:00:52.465 2024.12.08 02:01:00.513 2024.12.08 00:58:25.473 2024.12.08 00:58:34.191
36 5.0.2.1567 2024.12.02 6ae74 P P 8811 9745 2024.12.04 09:04:14.865 2024.12.04 09:04:23.676 2024.12.04 08:05:29.351 2024.12.04 08:05:39.096
37 5.0.2.1567 2024.11.26 56e63 P P 10847 9020 2024.11.30 09:10:24.240 2024.11.30 09:10:35.087 2024.11.30 08:07:12.778 2024.11.30 08:07:21.798
38 5.0.2.1567 2024.11.21 96f61 P P 8755 9910 2024.11.27 09:07:08.320 2024.11.27 09:07:17.075 2024.11.27 08:04:33.291 2024.11.27 08:04:43.201
39 5.0.2.1567 2024.11.18 e1289 P E 10602 2434 2024.11.21 09:25:31.666 2024.11.21 09:25:42.268 2024.11.21 08:21:22.769 2024.11.21 08:21:25.203
40 5.0.2.1533 2024.10.23 0ec43 P P 9905 8915 2024.11.18 09:01:22.121 2024.11.18 09:01:32.026 2024.11.18 07:58:03.836 2024.11.18 07:58:12.751
41 5.0.2.1533 2024.10.22 8af7a P P 10610 8924 2024.10.23 09:08:36.542 2024.10.23 09:08:47.152 2024.10.23 08:05:55.303 2024.10.23 08:06:04.227
42 5.0.2.1532 2024.10.15 36dc0 P P 8620 9727 2024.10.22 15:10:47.488 2024.10.22 15:10:56.108 2024.10.22 14:08:04.014 2024.10.22 14:08:13.741
43 5.0.2.1518 2024.10.04 259ba P P 9619 8762 2024.10.15 09:04:44.261 2024.10.15 09:04:53.880 2024.10.15 08:02:20.611 2024.10.15 08:02:29.373
44 5.0.2.1518 2024.09.26 703cd P P 9114 9907 2024.10.03 09:09:37.412 2024.10.03 09:09:46.526 2024.10.03 08:06:51.616 2024.10.03 08:07:01.523
45 5.0.2.1489 2024.08.31 994a6 P E 9195 2240 2024.09.26 09:28:40.441 2024.09.26 09:28:49.636 2024.09.26 08:23:58.307 2024.09.26 08:24:00.547
46 5.0.2.1476 2024.08.09 843ea P E 10848 2433 2024.09.01 09:17:43.950 2024.09.01 09:17:54.798 2024.09.01 08:11:01.667 2024.09.01 08:11:04.100
47 5.0.1.1454 2024.08.08 30f9f P P 8819 9067 2024.08.09 08:58:39.246 2024.08.09 08:58:48.065 2024.08.09 07:55:54.453 2024.08.09 07:56:03.520
48 5.0.1.1453 2024.08.07 ebbc3 P P 11072 7922 2024.08.08 20:12:59.096 2024.08.08 20:13:10.168 2024.08.08 19:09:44.654 2024.08.08 19:09:52.576
49 5.0.1.1453 2024.08.06 1b9d0 P P 8372 8949 2024.08.07 08:26:46.201 2024.08.07 08:26:54.573 2024.08.07 07:29:06.650 2024.08.07 07:29:15.599
50 5.0.1.1453 2024.07.30 48044 P P 8756 9782 2024.08.03 08:24:44.976 2024.08.03 08:24:53.732 2024.08.03 07:26:58.423 2024.08.03 07:27:08.205
51 5.0.1.1453 2024.07.28 8d956 P P 10852 8886 2024.07.30 08:05:22.659 2024.07.30 08:05:33.511 2024.07.30 07:09:23.152 2024.07.30 07:09:32.038
52 5.0.1.1429 2024.07.19 8ee90 P P 8049 9711 2024.07.27 08:04:05.104 2024.07.27 08:04:13.153 2024.07.27 07:08:28.619 2024.07.27 07:08:38.330
53 5.0.1.1428 2024.07.15 00392 P P 10712 7888 2024.07.19 07:59:30.451 2024.07.19 07:59:41.163 2024.07.19 07:04:00.875 2024.07.19 07:04:08.763
54 5.0.1.1428 2024.06.30 67a31 P P 8864 8869 2024.07.15 08:11:00.251 2024.07.15 08:11:09.115 2024.07.15 07:14:16.562 2024.07.15 07:14:25.431

Elapsed time, ms. Chart for last 54 runs:

Last commits information (all timestamps in UTC):