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_dba' 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 6850 17714 2025.06.30 11:16:55.421 2025.06.30 11:17:02.271 2025.06.30 10:13:14.155 2025.06.30 10:13:31.869
2 5.0.3.1657 2025.06.26 dcb8a P P 6049 15214 2025.06.27 11:18:19.018 2025.06.27 11:18:25.067 2025.06.27 10:14:42.531 2025.06.27 10:14:57.745
3 5.0.3.1657 2025.06.20 8b4d2 P P 5879 15217 2025.06.26 11:32:47.513 2025.06.26 11:32:53.392 2025.06.26 10:28:54.571 2025.06.26 10:29:09.788
4 5.0.3.1657 2025.06.19 4bd4c P P 6984 16208 2025.06.20 05:36:54.376 2025.06.20 05:37:01.360 2025.06.20 04:33:07.826 2025.06.20 04:33:24.034
5 5.0.3.1657 2025.06.11 dae6f P P 5965 15244 2025.06.19 11:08:27.730 2025.06.19 11:08:33.695 2025.06.19 10:04:34.101 2025.06.19 10:04:49.345
6 5.0.3.1657 2025.06.10 dbc92 P P 6052 15242 2025.06.11 08:54:37.750 2025.06.11 08:54:43.802 2025.06.11 07:50:36.409 2025.06.11 07:50:51.651
7 5.0.3.1656 2025.06.05 00512 P P 5882 15235 2025.06.10 10:09:59.755 2025.06.10 10:10:05.637 2025.06.10 09:05:38.644 2025.06.10 09:05:53.879
8 5.0.3.1656 2025.05.20 c4b11 P P 5824 15217 2025.06.03 09:56:40.110 2025.06.03 09:56:45.934 2025.06.03 08:53:34.141 2025.06.03 08:53:49.358
9 5.0.3.1652 2025.05.13 f51c6 P P 5890 15205 2025.05.21 06:37:40.202 2025.05.21 06:37:46.092 2025.05.21 05:34:52.718 2025.05.21 05:35:07.923
10 5.0.3.1651 2025.05.08 ee9d2 P E 5868 2411 2025.05.13 06:50:20.000 2025.05.13 06:50:25.868 2025.05.13 05:44:11.605 2025.05.13 05:44:14.016
11 5.0.3.1651 2025.05.04 3d914 P E 6868 2435 2025.05.09 04:39:23.162 2025.05.09 04:39:30.030 2025.05.09 03:33:09.645 2025.05.09 03:33:12.080
12 5.0.3.1651 2025.04.30 141ef P E 6872 2420 2025.05.02 04:46:54.577 2025.05.02 04:47:01.449 2025.05.02 03:41:02.537 2025.05.02 03:41:04.957
13 5.0.3.1650 2025.04.30 6253f P E 5878 2426 2025.05.01 04:46:03.900 2025.05.01 04:46:09.778 2025.05.01 03:39:58.924 2025.05.01 03:40:01.350
14 5.0.3.1650 2025.04.28 4cbff P E 6848 2436 2025.04.30 04:45:00.429 2025.04.30 04:45:07.277 2025.04.30 03:39:12.207 2025.04.30 03:39:14.643
15 5.0.3.1649 2025.04.21 5b2d0 P E 7088 2449 2025.04.26 10:19:06.570 2025.04.26 10:19:13.658 2025.04.26 09:12:14.329 2025.04.26 09:12:16.778
16 5.0.3.1648 2025.04.18 2f4c5 P P 6870 15246 2025.04.20 04:30:18.909 2025.04.20 04:30:25.779 2025.04.20 03:26:29.997 2025.04.20 03:26:45.243
17 5.0.3.1635 2025.04.03 f6bd1 P E 5887 2224 2025.04.18 06:58:02.416 2025.04.18 06:58:08.303 2025.04.18 05:51:23.903 2025.04.18 05:51:26.127
18 5.0.3.1635 2025.03.31 22ec6 P E 5892 2425 2025.04.03 10:03:48.814 2025.04.03 10:03:54.706 2025.04.03 08:56:48.050 2025.04.03 08:56:50.475
19 5.0.3.1633 2025.03.28 3123a P E 6862 2440 2025.03.31 10:02:13.315 2025.03.31 10:02:20.177 2025.03.31 08:55:17.149 2025.03.31 08:55:19.589
20 5.0.3.1633 2025.03.27 e0fb8 P E 6003 2240 2025.03.28 10:34:14.457 2025.03.28 10:34:20.460 2025.03.28 09:23:17.458 2025.03.28 09:23:19.698
21 5.0.3.1631 2025.03.25 bda65 P P 6960 15357 2025.03.27 10:14:44.465 2025.03.27 10:14:51.425 2025.03.27 09:07:04.287 2025.03.27 09:07:19.644
22 5.0.3.1631 2025.03.21 1925b P P 5991 15418 2025.03.25 06:48:51.702 2025.03.25 06:48:57.693 2025.03.25 05:41:08.582 2025.03.25 05:41:24.000
23 5.0.3.1629 2025.03.18 506d7 P P 6032 15417 2025.03.20 09:48:49.432 2025.03.20 09:48:55.464 2025.03.20 08:41:06.864 2025.03.20 08:41:22.281
24 5.0.3.1628 2025.03.14 16d05 P P 6909 17315 2025.03.18 09:42:50.941 2025.03.18 09:42:57.850 2025.03.18 08:36:40.512 2025.03.18 08:36:57.827
25 5.0.3.1627 2025.02.26 4e218 P P 6071 14647 2025.03.13 10:02:37.191 2025.03.13 10:02:43.262 2025.03.13 08:54:29.726 2025.03.13 08:54:44.373
26 5.0.3.1624 2025.02.25 dc3b2 P P 7662 16424 2025.02.26 15:34:41.866 2025.02.26 15:34:49.528 2025.02.26 14:27:17.962 2025.02.26 14:27:34.386
27 5.0.2.1615 2025.02.20 4a726 P E 6851 2420 2025.02.25 08:48:32.934 2025.02.25 08:48:39.785 2025.02.25 07:39:31.736 2025.02.25 07:39:34.156
28 5.0.2.1615 2025.02.14 9cb76 P P 6862 15254 2025.02.15 04:16:05.786 2025.02.15 04:16:12.648 2025.02.15 03:10:56.519 2025.02.15 03:11:11.773
29 5.0.2.1577 2025.02.07 f50a2 P P 6899 15255 2025.02.14 06:28:50.170 2025.02.14 06:28:57.069 2025.02.14 05:24:44.992 2025.02.14 05:25:00.247
30 5.0.2.1577 2024.12.24 3c80e P P 5844 15285 2025.02.06 09:42:22.930 2025.02.06 09:42:28.774 2025.02.06 08:38:18.862 2025.02.06 08:38:34.147
31 5.0.2.1576 2024.12.17 646b0 P P 5912 15267 2024.12.24 09:25:29.151 2024.12.24 09:25:35.063 2024.12.24 08:21:26.217 2024.12.24 08:21:41.484
32 5.0.2.1575 2024.12.09 9af52 P P 6861 16262 2024.12.16 09:22:09.928 2024.12.16 09:22:16.789 2024.12.16 08:18:19.610 2024.12.16 08:18:35.872
33 5.0.2.1575 2024.12.08 63d39 P P 5750 15094 2024.12.09 15:10:30.877 2024.12.09 15:10:36.627 2024.12.09 14:11:44.301 2024.12.09 14:11:59.395
34 5.0.2.1571 2024.12.08 8d11a P P 6807 15099 2024.12.09 06:24:07.904 2024.12.09 06:24:14.711 2024.12.09 05:23:22.797 2024.12.09 05:23:37.896
35 5.0.2.1567 2024.12.07 b01a2 P P 5837 16515 2024.12.08 02:02:46.297 2024.12.08 02:02:52.134 2024.12.08 01:00:14.201 2024.12.08 01:00:30.716
36 5.0.2.1567 2024.12.02 6ae74 P P 6874 16102 2024.12.04 09:06:01.548 2024.12.04 09:06:08.422 2024.12.04 08:07:16.610 2024.12.04 08:07:32.712
37 5.0.2.1567 2024.11.26 56e63 P P 5858 15247 2024.11.30 09:12:12.711 2024.11.30 09:12:18.569 2024.11.30 08:08:59.274 2024.11.30 08:09:14.521
38 5.0.2.1567 2024.11.21 96f61 P P 6851 15256 2024.11.27 09:08:54.528 2024.11.27 09:09:01.379 2024.11.27 08:06:21.319 2024.11.27 08:06:36.575
39 5.0.2.1567 2024.11.18 e1289 P E 5857 2430 2024.11.21 09:27:20.361 2024.11.21 09:27:26.218 2024.11.21 08:21:50.887 2024.11.21 08:21:53.317
40 5.0.2.1533 2024.10.23 0ec43 P P 5879 15252 2024.11.18 09:03:13.554 2024.11.18 09:03:19.433 2024.11.18 07:59:50.457 2024.11.18 08:00:05.709
41 5.0.2.1533 2024.10.22 8af7a P P 5888 15333 2024.10.23 09:10:24.237 2024.10.23 09:10:30.125 2024.10.23 08:07:42.521 2024.10.23 08:07:57.854
42 5.0.2.1532 2024.10.15 36dc0 P P 6963 15285 2024.10.22 15:12:30.694 2024.10.22 15:12:37.657 2024.10.22 14:09:48.430 2024.10.22 14:10:03.715
43 5.0.2.1518 2024.10.04 259ba P P 5868 16266 2024.10.15 09:06:31.333 2024.10.15 09:06:37.201 2024.10.15 08:04:07.438 2024.10.15 08:04:23.704
44 5.0.2.1518 2024.09.26 703cd P P 5858 15236 2024.10.03 09:11:24.073 2024.10.03 09:11:29.931 2024.10.03 08:08:36.754 2024.10.03 08:08:51.990
45 5.0.2.1489 2024.08.31 994a6 P E 6258 2442 2024.09.26 09:30:36.487 2024.09.26 09:30:42.745 2024.09.26 08:24:26.260 2024.09.26 08:24:28.702
46 5.0.2.1476 2024.08.09 843ea P E 5870 2412 2024.09.01 09:19:29.021 2024.09.01 09:19:34.891 2024.09.01 08:11:29.506 2024.09.01 08:11:31.918
47 5.0.1.1454 2024.08.08 30f9f P P 7040 15259 2024.08.09 09:00:26.843 2024.08.09 09:00:33.883 2024.08.09 07:57:40.504 2024.08.09 07:57:55.763
48 5.0.1.1453 2024.08.07 ebbc3 P P 7023 15242 2024.08.08 20:14:47.559 2024.08.08 20:14:54.582 2024.08.08 19:11:29.635 2024.08.08 19:11:44.877
49 5.0.1.1453 2024.08.06 1b9d0 P P 6164 15305 2024.08.07 08:28:36.380 2024.08.07 08:28:42.544 2024.08.07 07:30:54.924 2024.08.07 07:31:10.229
50 5.0.1.1453 2024.07.30 48044 P P 6097 15250 2024.08.03 08:27:32.500 2024.08.03 08:27:38.597 2024.08.03 07:29:45.011 2024.08.03 07:30:00.261
51 5.0.1.1453 2024.07.28 8d956 P P 6008 16283 2024.07.30 08:07:14.562 2024.07.30 08:07:20.570 2024.07.30 07:11:05.983 2024.07.30 07:11:22.266
52 5.0.1.1429 2024.07.19 8ee90 P P 6142 15292 2024.07.27 08:05:51.895 2024.07.27 08:05:58.037 2024.07.27 07:10:16.262 2024.07.27 07:10:31.554
53 5.0.1.1428 2024.07.15 00392 P P 6008 15243 2024.07.19 08:01:22.164 2024.07.19 08:01:28.172 2024.07.19 07:05:46.295 2024.07.19 07:06:01.538
54 5.0.1.1428 2024.06.30 67a31 P P 6990 15243 2024.07.15 08:13:53.132 2024.07.15 08:14:00.122 2024.07.15 07:16:59.770 2024.07.15 07:17:15.013
55 5.0.1.1415 2024.06.12 f8731 P P 6969 15237 2024.06.22 05:11:12.319 2024.06.22 05:11:19.288 2024.06.22 04:16:11.970 2024.06.22 04:16:27.207
56 5.0.1.1415 2024.06.11 31d74 P P 6423 15283 2024.06.11 23:41:11.864 2024.06.11 23:41:18.287 2024.06.11 22:49:28.312 2024.06.11 22:49:43.595
57 5.0.1.1401 2024.06.05 f9b76 P P 6376 15378 2024.06.11 04:32:06.183 2024.06.11 04:32:12.559 2024.06.11 03:40:07.615 2024.06.11 03:40:22.993
58 5.0.1.1398 2024.05.10 5e3ce P P 6313 15330 2024.05.25 05:26:50.093 2024.05.25 05:26:56.406 2024.05.25 04:35:18.933 2024.05.25 04:35:34.263
59 5.0.1.1397 2024.05.09 ee2ef P P 6329 15331 2024.05.10 05:22:47.877 2024.05.10 05:22:54.206 2024.05.10 04:31:48.398 2024.05.10 04:32:03.729
60 5.0.1.1392 2024.04.29 7dbc2 P P 6282 16330 2024.05.09 17:12:33.730 2024.05.09 17:12:40.012 2024.05.09 16:21:16.821 2024.05.09 16:21:33.151
61 5.0.1.1386 2024.04.25 c0328 P P 7314 15361 2024.04.29 05:21:48.882 2024.04.29 05:21:56.196 2024.04.29 04:30:52.880 2024.04.29 04:31:08.241
62 5.0.1.1386 2024.04.20 80571 P P 6232 15335 2024.04.25 05:24:23.383 2024.04.25 05:24:29.615 2024.04.25 04:32:37.054 2024.04.25 04:32:52.389
63 5.0.1.1378 2024.04.07 5292b P E 6313 2329 2024.04.20 05:44:09.006 2024.04.20 05:44:15.319 2024.04.20 04:47:50.810 2024.04.20 04:47:53.139
64 5.0.1.1346 2024.03.16 fe320 P P 5876 15175 2024.04.07 03:42:33.908 2024.04.07 03:42:39.784 2024.04.07 02:55:59.035 2024.04.07 02:56:14.210
65 5.0.1.1346 2024.03.02 da408 P P 6812 16141 2024.03.25 22:30:10.331 2024.03.25 22:30:17.143 2024.03.25 21:43:42.622 2024.03.25 21:43:58.763
66 5.0.1.1340 2024.02.17 08a71 P P 5843 15141 2024.03.25 23:59:54.701 2024.03.26 00:00:00.544 2024.03.25 23:13:27.069 2024.03.25 23:13:42.210
67 5.0.1.1325 2024.02.06 c98fb P E 5890 2202 2024.03.26 02:31:21.417 2024.03.26 02:31:27.307 2024.03.26 01:40:41.424 2024.03.26 01:40:43.626
68 5.0.1.1325 2024.02.02 1d438 P E 6953 2265 2024.03.26 07:48:45.479 2024.03.26 07:48:52.432 2024.03.26 06:57:12.175 2024.03.26 06:57:14.440
69 5.0.1.1325 2024.01.26 cffb6 P E 5875 2233 2024.03.26 10:14:32.575 2024.03.26 10:14:38.450 2024.03.26 09:23:52.893 2024.03.26 09:23:55.126
70 5.0.1.1325 2024.01.26 d3810 P E 5859 2374 2024.03.26 12:06:14.669 2024.03.26 12:06:20.528 2024.03.26 11:15:42.215 2024.03.26 11:15:44.589
71 5.0.1.1318 2024.01.21 a7ca3 P P 6890 15157 2024.03.26 13:35:15.352 2024.03.26 13:35:22.242 2024.03.26 12:48:54.372 2024.03.26 12:49:09.529
72 5.0.1.1318 2024.01.21 d429d P P 6781 15157 2024.03.26 15:16:51.720 2024.03.26 15:16:58.501 2024.03.26 14:30:33.920 2024.03.26 14:30:49.077
73 5.0.1.1318 2024.01.21 f1ab5 P P 6781 15157 2024.03.26 17:32:51.003 2024.03.26 17:32:57.784 2024.03.26 16:46:29.896 2024.03.26 16:46:45.053
74 5.0.1.1318 2024.01.20 46722 P P 5859 15078 2024.03.26 18:59:49.703 2024.03.26 18:59:55.562 2024.03.26 18:13:34.991 2024.03.26 18:13:50.069

Elapsed time, ms. Chart for last 74 runs:

Last commits information (all timestamps in UTC):