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_11691')
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_11691\\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_11691\\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 629 406 2025.06.27 11:07:54.825 2025.06.27 11:07:55.454 2025.06.27 10:07:01.972 2025.06.27 10:07:02.378
2 5.0.3.1657 2025.06.20 8b4d2 P P 649 420 2025.06.26 11:22:23.082 2025.06.26 11:22:23.731 2025.06.26 10:21:19.390 2025.06.26 10:21:19.810
3 5.0.3.1657 2025.06.19 4bd4c P P 643 436 2025.06.20 05:26:36.864 2025.06.20 05:26:37.507 2025.06.20 04:25:37.787 2025.06.20 04:25:38.223
4 5.0.3.1657 2025.06.11 dae6f P P 642 406 2025.06.19 10:58:04.521 2025.06.19 10:58:05.163 2025.06.19 09:57:01.258 2025.06.19 09:57:01.664
5 5.0.3.1657 2025.06.10 dbc92 P P 637 415 2025.06.11 08:44:14.357 2025.06.11 08:44:14.994 2025.06.11 07:42:57.611 2025.06.11 07:42:58.026
6 5.0.3.1656 2025.06.05 00512 P P 644 426 2025.06.10 09:59:44.450 2025.06.10 09:59:45.094 2025.06.10 08:58:03.155 2025.06.10 08:58:03.581
7 5.0.3.1656 2025.05.20 c4b11 P P 645 418 2025.06.03 09:46:36.907 2025.06.03 09:46:37.552 2025.06.03 08:46:06.808 2025.06.03 08:46:07.226
8 5.0.3.1652 2025.05.13 f51c6 P P 642 404 2025.05.21 06:27:37.176 2025.05.21 06:27:37.818 2025.05.21 05:27:22.930 2025.05.21 05:27:23.334
9 5.0.3.1651 2025.05.08 ee9d2 P E 657 2386 2025.05.13 06:40:15.771 2025.05.13 06:40:16.428 2025.05.13 05:21:11.057 2025.05.13 05:21:13.443
10 5.0.3.1651 2025.05.04 3d914 P E 659 2386 2025.05.09 04:29:19.474 2025.05.09 04:29:20.133 2025.05.09 03:10:08.745 2025.05.09 03:10:11.131
11 5.0.3.1651 2025.04.30 141ef P E 630 2385 2025.05.02 04:36:56.716 2025.05.02 04:36:57.346 2025.05.02 03:18:02.213 2025.05.02 03:18:04.598
12 5.0.3.1650 2025.04.30 6253f P E 641 2240 2025.05.01 04:35:59.316 2025.05.01 04:35:59.957 2025.05.01 03:16:58.456 2025.05.01 03:17:00.696
13 5.0.3.1650 2025.04.28 4cbff P E 639 2393 2025.04.30 04:35:00.554 2025.04.30 04:35:01.193 2025.04.30 03:16:11.430 2025.04.30 03:16:13.823
14 5.0.3.1649 2025.04.21 5b2d0 P E 661 2380 2025.04.26 10:08:55.779 2025.04.26 10:08:56.440 2025.04.26 08:49:11.591 2025.04.26 08:49:13.971
15 5.0.3.1648 2025.04.18 2f4c5 P P 642 434 2025.04.20 04:20:09.853 2025.04.20 04:20:10.495 2025.04.20 03:18:54.246 2025.04.20 03:18:54.680
16 5.0.3.1635 2025.04.03 f6bd1 P E 645 2399 2025.04.18 06:47:50.774 2025.04.18 06:47:51.419 2025.04.18 05:28:21.758 2025.04.18 05:28:24.157
17 5.0.3.1635 2025.03.31 22ec6 P E 712 2419 2025.04.03 09:53:44.068 2025.04.03 09:53:44.780 2025.04.03 08:33:54.236 2025.04.03 08:33:56.655
18 5.0.3.1633 2025.03.28 3123a P E 723 2381 2025.03.31 09:52:13.326 2025.03.31 09:52:14.049 2025.03.31 08:32:30.260 2025.03.31 08:32:32.641
19 5.0.3.1633 2025.03.27 e0fb8 P E 723 2420 2025.03.28 10:23:51.649 2025.03.28 10:23:52.372 2025.03.28 09:00:24.444 2025.03.28 09:00:26.864
20 5.0.3.1631 2025.03.25 bda65 P P 730 500 2025.03.27 10:04:23.124 2025.03.27 10:04:23.854 2025.03.27 08:59:21.459 2025.03.27 08:59:21.959
21 5.0.3.1631 2025.03.21 1925b P P 729 486 2025.03.25 06:38:25.078 2025.03.25 06:38:25.807 2025.03.25 05:33:16.572 2025.03.25 05:33:17.058
22 5.0.3.1629 2025.03.18 506d7 P P 687 465 2025.03.20 09:38:43.341 2025.03.20 09:38:44.028 2025.03.20 08:33:24.080 2025.03.20 08:33:24.545
23 5.0.3.1628 2025.03.14 16d05 P P 705 453 2025.03.18 09:32:51.042 2025.03.18 09:32:51.747 2025.03.18 08:29:06.025 2025.03.18 08:29:06.478
24 5.0.3.1627 2025.02.26 4e218 P P 721 515 2025.03.13 09:52:08.263 2025.03.13 09:52:08.984 2025.03.13 08:46:37.640 2025.03.13 08:46:38.155
25 5.0.3.1624 2025.02.25 dc3b2 P P 686 453 2025.02.26 15:24:24.070 2025.02.26 15:24:24.756 2025.02.26 14:19:35.057 2025.02.26 14:19:35.510
26 5.0.2.1615 2025.02.20 4a726 P P 690 468 2025.02.25 08:38:59.014 2025.02.25 08:38:59.704 2025.02.25 07:17:20.516 2025.02.25 07:17:20.984
27 5.0.2.1615 2025.02.14 9cb76 P P 694 461 2025.02.15 04:06:37.626 2025.02.15 04:06:38.320 2025.02.15 03:03:36.416 2025.02.15 03:03:36.877
28 5.0.2.1577 2025.02.07 f50a2 P P 690 453 2025.02.14 06:19:15.274 2025.02.14 06:19:15.964 2025.02.14 05:17:25.093 2025.02.14 05:17:25.546
29 5.0.2.1577 2024.12.24 3c80e P P 702 465 2025.02.06 09:32:47.559 2025.02.06 09:32:48.261 2025.02.06 08:31:00.245 2025.02.06 08:31:00.710
30 5.0.2.1576 2024.12.17 646b0 P P 709 466 2024.12.24 09:15:54.621 2024.12.24 09:15:55.330 2024.12.24 08:14:22.220 2024.12.24 08:14:22.686
31 5.0.2.1575 2024.12.09 9af52 P P 684 456 2024.12.16 09:12:42.727 2024.12.16 09:12:43.411 2024.12.16 08:11:14.444 2024.12.16 08:11:14.900
32 5.0.2.1575 2024.12.08 63d39 P P 635 400 2024.12.09 15:02:43.431 2024.12.09 15:02:44.066 2024.12.09 14:06:13.059 2024.12.09 14:06:13.459
33 5.0.2.1571 2024.12.08 8d11a P P 623 380 2024.12.09 06:16:21.169 2024.12.09 06:16:21.792 2024.12.09 05:17:49.305 2024.12.09 05:17:49.685
34 5.0.2.1567 2024.12.07 b01a2 P P 1364 410 2024.12.08 01:54:20.373 2024.12.08 01:54:21.737 2024.12.08 00:54:36.586 2024.12.08 00:54:36.996
35 5.0.2.1567 2024.12.02 6ae74 P P 627 400 2024.12.04 08:58:15.922 2024.12.04 08:58:16.549 2024.12.04 08:01:42.148 2024.12.04 08:01:42.548
36 5.0.2.1567 2024.11.26 56e63 P P 687 472 2024.11.30 09:03:42.918 2024.11.30 09:03:43.605 2024.11.30 08:02:48.120 2024.11.30 08:02:48.592
37 5.0.2.1567 2024.11.21 96f61 P P 685 471 2024.11.27 09:00:29.160 2024.11.27 09:00:29.845 2024.11.27 08:00:09.377 2024.11.27 08:00:09.848
38 5.0.2.1567 2024.11.18 e1289 P E 685 2229 2024.11.21 09:18:52.348 2024.11.21 09:18:53.033 2024.11.21 07:59:39.719 2024.11.21 07:59:41.948
39 5.0.2.1533 2024.10.23 0ec43 P P 686 465 2024.11.18 08:54:42.235 2024.11.18 08:54:42.921 2024.11.18 07:53:38.146 2024.11.18 07:53:38.611
40 5.0.2.1533 2024.10.22 8af7a P P 694 503 2024.10.23 09:01:59.472 2024.10.23 09:02:00.166 2024.10.23 08:01:32.560 2024.10.23 08:01:33.063
41 5.0.2.1532 2024.10.15 36dc0 P P 700 466 2024.10.22 15:04:06.679 2024.10.22 15:04:07.379 2024.10.22 14:03:40.855 2024.10.22 14:03:41.321
42 5.0.2.1518 2024.10.04 259ba P P 701 470 2024.10.15 08:58:07.618 2024.10.15 08:58:08.319 2024.10.15 07:57:56.371 2024.10.15 07:57:56.841
43 5.0.2.1518 2024.09.26 703cd P P 690 476 2024.10.03 09:03:02.156 2024.10.03 09:03:02.846 2024.10.03 08:02:28.772 2024.10.03 08:02:29.248
44 5.0.2.1489 2024.08.31 994a6 P P 683 460 2024.09.26 09:21:59.521 2024.09.26 09:22:00.204 2024.09.26 08:02:26.951 2024.09.26 08:02:27.411
45 5.0.2.1476 2024.08.09 843ea F E 793 2375 2024.09.01 09:10:41.393 2024.09.01 09:10:42.186 2024.09.01 07:49:42.125 2024.09.01 07:49:44.500

Elapsed time, ms. Chart for last 45 runs:

Last commits information (all timestamps in UTC):