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 'act' for <Function test_1>>

    @pytest.fixture
    def isql_act_fixture(request: pytest.FixtureRequest) -> Action:
>       db: Database = request.getfixturevalue(db_fixture_name)

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

request = <SubRequest 'db' for <Function test_1>>
db_path = WindowsPath('H:/QA/temp/qa2024.tmp/fbqa/test_11683')
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)

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

database = 'pytest'

    def create_database(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,
                        overwrite: bool=False, auth_plugin_list=None,
                        session_time_zone: str=None) -> Connection:
        """Creates new 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.
            overwrite: Overwite the existing database.
            auth_plugin_list: List of authentication plugins override
            session_time_zone: Session time zone [Firebird 4]
    
        Hooks:
            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
            db_config.database.value = database
            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")
        else:
            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,
                              db_config.database.value, db_config.protocol.value)
        dpb = DPB(user=user, password=password, role=role, trusted_auth=db_config.trusted_auth.value,
                  sql_dialect=db_config.db_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,
                  overwrite=overwrite, db_cache_size=db_config.db_cache_size.value,
                  forced_writes=db_config.forced_writes.value, page_size=db_config.page_size.value,
                  reserve_space=db_config.reserve_space.value, sweep_interval=db_config.sweep_interval.value,
                  db_sql_dialect=db_config.db_sql_dialect.value, db_charset=db_config.db_charset.value)
>       return __make_connection(True, dsn, db_config.utf8filename.value,
                                 dpb.get_buffer(for_create=True), db_config.sql_dialect.value,
                                 charset, crypt_callback)

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

create = True
dsn = 'localhost/33337:H:\\QA\\temp\\qa2024.tmp\\fbqa\\test_11683\\test.fdb'
utf8filename = False
dpb = b'\x01\x1c\x06SYSDBA\x1d\tmasterkey0\x04NONED\x04NONED\x04NONE'
sql_dialect = 3, charset = 'NONE', 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)

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

self = <firebird.driver.interfaces.iProvider pytest object at [hex]>
filename = 'localhost/33337:H:\\QA\\temp\\qa2024.tmp\\fbqa\\test_11683\\test.fdb'
dpb = b'\x01\x1c\x06SYSDBA\x1d\tmasterkey0\x04NONED\x04NONED\x04NONE'
encoding = 'utf-8'

    def create_database(self, filename: str, dpb: bytes, encoding: str = 'ascii') -> iAttachment:
        "Replaces `isc_create_database()`"
        result = self.vtable.createDatabase(self, self.status, filename.encode(encoding), len(dpb), dpb)
>       self._check()

C:\Python3x\Lib\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.

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.1657 2025.06.26 dcb8a P P 583 374 2025.06.27 11:07:49.860 2025.06.27 11:07:50.443 2025.06.27 10:06:48.219 2025.06.27 10:06:48.593
2 5.0.3.1657 2025.06.20 8b4d2 P P 574 381 2025.06.26 11:22:18.093 2025.06.26 11:22:18.667 2025.06.26 10:21:05.569 2025.06.26 10:21:05.950
3 5.0.3.1657 2025.06.19 4bd4c P P 578 367 2025.06.20 05:26:31.848 2025.06.20 05:26:32.426 2025.06.20 04:25:23.935 2025.06.20 04:25:24.302
4 5.0.3.1657 2025.06.11 dae6f P P 593 370 2025.06.19 10:57:59.549 2025.06.19 10:58:00.142 2025.06.19 09:56:47.368 2025.06.19 09:56:47.738
5 5.0.3.1657 2025.06.10 dbc92 P P 582 390 2025.06.11 08:44:09.304 2025.06.11 08:44:09.886 2025.06.11 07:42:43.595 2025.06.11 07:42:43.985
6 5.0.3.1656 2025.06.05 00512 P P 627 372 2025.06.10 09:59:39.404 2025.06.10 09:59:40.031 2025.06.10 08:57:49.252 2025.06.10 08:57:49.624
7 5.0.3.1656 2025.05.20 c4b11 P P 576 362 2025.06.03 09:46:31.970 2025.06.03 09:46:32.546 2025.06.03 08:45:52.856 2025.06.03 08:45:53.218
8 5.0.3.1652 2025.05.13 f51c6 P P 575 376 2025.05.21 06:27:32.217 2025.05.21 06:27:32.792 2025.05.21 05:27:09.176 2025.05.21 05:27:09.552
9 5.0.3.1651 2025.05.08 ee9d2 P E 580 2406 2025.05.13 06:40:10.702 2025.05.13 06:40:11.282 2025.05.13 05:20:52.148 2025.05.13 05:20:54.554
10 5.0.3.1651 2025.05.04 3d914 P E 581 2400 2025.05.09 04:29:14.497 2025.05.09 04:29:15.078 2025.05.09 03:09:49.859 2025.05.09 03:09:52.259
11 5.0.3.1651 2025.04.30 141ef P E 572 2394 2025.05.02 04:36:51.781 2025.05.02 04:36:52.353 2025.05.02 03:17:43.252 2025.05.02 03:17:45.646
12 5.0.3.1650 2025.04.30 6253f P E 605 2385 2025.05.01 04:35:54.213 2025.05.01 04:35:54.818 2025.05.01 03:16:39.452 2025.05.01 03:16:41.837
13 5.0.3.1650 2025.04.28 4cbff P E 581 2421 2025.04.30 04:34:55.623 2025.04.30 04:34:56.204 2025.04.30 03:15:52.536 2025.04.30 03:15:54.957
14 5.0.3.1649 2025.04.21 5b2d0 P E 596 2393 2025.04.26 10:08:50.624 2025.04.26 10:08:51.220 2025.04.26 08:48:52.642 2025.04.26 08:48:55.035
15 5.0.3.1648 2025.04.18 2f4c5 P P 616 375 2025.04.20 04:20:04.832 2025.04.20 04:20:05.448 2025.04.20 03:18:40.254 2025.04.20 03:18:40.629
16 5.0.3.1635 2025.04.03 f6bd1 P P 581 371 2025.04.18 06:47:45.814 2025.04.18 06:47:46.395 2025.04.18 05:27:57.145 2025.04.18 05:27:57.516
17 5.0.3.1635 2025.03.31 22ec6 P P 579 422 2025.04.03 09:53:38.948 2025.04.03 09:53:39.527 2025.04.03 08:33:29.143 2025.04.03 08:33:29.565
18 5.0.3.1633 2025.03.28 3123a P P 624 406 2025.03.31 09:52:08.007 2025.03.31 09:52:08.631 2025.03.31 08:32:05.733 2025.03.31 08:32:06.139
19 5.0.3.1633 2025.03.27 e0fb8 P P 613 414 2025.03.28 10:23:46.135 2025.03.28 10:23:46.748 2025.03.28 08:59:52.999 2025.03.28 08:59:53.413
20 5.0.3.1631 2025.03.25 bda65 P P 610 395 2025.03.27 10:04:17.748 2025.03.27 10:04:18.358 2025.03.27 08:59:06.808 2025.03.27 08:59:07.203
21 5.0.3.1631 2025.03.21 1925b P P 609 408 2025.03.25 06:38:19.266 2025.03.25 06:38:19.875 2025.03.25 05:33:01.957 2025.03.25 05:33:02.365
22 5.0.3.1629 2025.03.18 506d7 P P 648 375 2025.03.20 09:38:38.115 2025.03.20 09:38:38.763 2025.03.20 08:33:10.017 2025.03.20 08:33:10.392
23 5.0.3.1628 2025.03.14 16d05 P P 579 386 2025.03.18 09:32:45.831 2025.03.18 09:32:46.410 2025.03.18 08:28:51.819 2025.03.18 08:28:52.205
24 5.0.3.1627 2025.02.26 4e218 P P 637 383 2025.03.13 09:52:02.878 2025.03.13 09:52:03.515 2025.03.13 08:46:23.384 2025.03.13 08:46:23.767
25 5.0.3.1624 2025.02.25 dc3b2 P P 582 381 2025.02.26 15:24:18.921 2025.02.26 15:24:19.503 2025.02.26 14:19:20.857 2025.02.26 14:19:21.238
26 5.0.2.1615 2025.02.20 4a726 P P 577 376 2025.02.25 08:38:53.923 2025.02.25 08:38:54.500 2025.02.25 07:17:06.390 2025.02.25 07:17:06.766
27 5.0.2.1615 2025.02.14 9cb76 P P 580 380 2025.02.15 04:06:32.439 2025.02.15 04:06:33.019 2025.02.15 03:03:22.246 2025.02.15 03:03:22.626
28 5.0.2.1577 2025.02.07 f50a2 P P 590 383 2025.02.14 06:19:10.134 2025.02.14 06:19:10.724 2025.02.14 05:17:10.923 2025.02.14 05:17:11.306
29 5.0.2.1577 2024.12.24 3c80e P P 631 390 2025.02.06 09:32:42.380 2025.02.06 09:32:43.011 2025.02.06 08:30:46.075 2025.02.06 08:30:46.465
30 5.0.2.1576 2024.12.17 646b0 P P 582 424 2024.12.24 09:15:49.427 2024.12.24 09:15:50.009 2024.12.24 08:14:07.894 2024.12.24 08:14:08.318
31 5.0.2.1575 2024.12.09 9af52 P P 583 381 2024.12.16 09:12:37.612 2024.12.16 09:12:38.195 2024.12.16 08:10:59.934 2024.12.16 08:11:00.315
32 5.0.2.1575 2024.12.08 63d39 P P 519 323 2024.12.09 15:02:38.788 2024.12.09 15:02:39.307 2024.12.09 14:05:59.690 2024.12.09 14:06:00.013
33 5.0.2.1571 2024.12.08 8d11a P P 524 332 2024.12.09 06:16:16.424 2024.12.09 06:16:16.948 2024.12.09 05:17:35.750 2024.12.09 05:17:36.082
34 5.0.2.1567 2024.12.07 b01a2 P P 1503 312 2024.12.08 01:54:09.585 2024.12.08 01:54:11.088 2024.12.08 00:54:22.916 2024.12.08 00:54:23.228
35 5.0.2.1567 2024.12.02 6ae74 P P 554 320 2024.12.04 08:58:11.315 2024.12.04 08:58:11.869 2024.12.04 08:01:28.851 2024.12.04 08:01:29.171
36 5.0.2.1567 2024.11.26 56e63 P P 621 374 2024.11.30 09:03:37.699 2024.11.30 09:03:38.320 2024.11.30 08:02:33.932 2024.11.30 08:02:34.306
37 5.0.2.1567 2024.11.21 96f61 P P 641 380 2024.11.27 09:00:23.888 2024.11.27 09:00:24.529 2024.11.27 07:59:55.193 2024.11.27 07:59:55.573
38 5.0.2.1567 2024.11.18 e1289 P E 641 2396 2024.11.21 09:18:47.136 2024.11.21 09:18:47.777 2024.11.21 07:59:20.666 2024.11.21 07:59:23.062
39 5.0.2.1533 2024.10.23 0ec43 P P 621 396 2024.11.18 08:54:37.014 2024.11.18 08:54:37.635 2024.11.18 07:53:23.773 2024.11.18 07:53:24.169
40 5.0.2.1533 2024.10.22 8af7a P P 634 381 2024.10.23 09:01:54.931 2024.10.23 09:01:55.565 2024.10.23 08:01:18.827 2024.10.23 08:01:19.208
41 5.0.2.1532 2024.10.15 36dc0 P P 591 397 2024.10.22 15:04:02.175 2024.10.22 15:04:02.766 2024.10.22 14:03:27.074 2024.10.22 14:03:27.471
42 5.0.2.1518 2024.10.04 259ba P P 629 376 2024.10.15 08:58:02.928 2024.10.15 08:58:03.557 2024.10.15 07:57:42.466 2024.10.15 07:57:42.842
43 5.0.2.1518 2024.09.26 703cd P P 581 383 2024.10.03 09:02:57.673 2024.10.03 09:02:58.254 2024.10.03 08:02:14.675 2024.10.03 08:02:15.058
44 5.0.2.1489 2024.08.31 994a6 P P 582 383 2024.09.26 09:21:55.029 2024.09.26 09:21:55.611 2024.09.26 08:02:13.209 2024.09.26 08:02:13.592
45 5.0.2.1476 2024.08.09 843ea F F 657 770 2024.09.01 09:10:34.593 2024.09.01 09:10:35.250 2024.09.01 07:49:27.735 2024.09.01 07:49:28.505

Elapsed time, ms. Chart for last 45 runs:

Last commits information (all timestamps in UTC):