[stub, to be replaced]

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

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

    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_12300\\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_12300\\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.1674 2025.06.27 3ee5c | P | P | 609 | 397 | 2025.06.30 11:19:16.979 | 2025.06.30 11:19:17.588 | 2025.06.30 10:15:18.502 | 2025.06.30 10:15:18.899
2 | 5.0.3.1657 2025.06.26 dcb8a | P | P | 580 | 370 | 2025.06.27 11:20:43.755 | 2025.06.27 11:20:44.335 | 2025.06.27 10:16:41.022 | 2025.06.27 10:16:41.392
3 | 5.0.3.1657 2025.06.20 8b4d2 | P | P | 582 | 377 | 2025.06.26 11:35:09.396 | 2025.06.26 11:35:09.978 | 2025.06.26 10:30:53.927 | 2025.06.26 10:30:54.304
4 | 5.0.3.1657 2025.06.19 4bd4c | P | P | 654 | 373 | 2025.06.20 05:39:20.346 | 2025.06.20 05:39:21.000 | 2025.06.20 04:35:07.654 | 2025.06.20 04:35:08.027
5 | 5.0.3.1657 2025.06.11 dae6f | P | P | 577 | 374 | 2025.06.19 11:10:52.149 | 2025.06.19 11:10:52.726 | 2025.06.19 10:06:34.146 | 2025.06.19 10:06:34.520
6 | 5.0.3.1657 2025.06.10 dbc92 | P | P | 644 | 409 | 2025.06.11 08:57:07.639 | 2025.06.11 08:57:08.283 | 2025.06.11 07:52:36.460 | 2025.06.11 07:52:36.869
7 | 5.0.3.1656 2025.06.05 00512 | P | P | 580 | 366 | 2025.06.10 10:12:22.479 | 2025.06.10 10:12:23.059 | 2025.06.10 09:07:37.911 | 2025.06.10 09:07:38.277
8 | 5.0.3.1656 2025.05.20 c4b11 | P | P | 580 | 375 | 2025.06.03 09:58:49.244 | 2025.06.03 09:58:49.824 | 2025.06.03 08:55:25.652 | 2025.06.03 08:55:26.027
9 | 5.0.3.1652 2025.05.13 f51c6 | P | P | 579 | 375 | 2025.05.21 06:39:48.917 | 2025.05.21 06:39:49.496 | 2025.05.21 05:36:44.488 | 2025.05.21 05:36:44.863
10 | 5.0.3.1651 2025.05.08 ee9d2 | P | E | 610 | 2447 | 2025.05.13 06:52:29.207 | 2025.05.13 06:52:29.817 | 2025.05.13 05:46:33.921 | 2025.05.13 05:46:36.368
11 | 5.0.3.1651 2025.05.04 3d914 | P | E | 575 | 2439 | 2025.05.09 04:41:32.346 | 2025.05.09 04:41:32.921 | 2025.05.09 03:35:31.943 | 2025.05.09 03:35:34.382
12 | 5.0.3.1651 2025.04.30 141ef | P | E | 581 | 2468 | 2025.05.02 04:49:04.425 | 2025.05.02 04:49:05.006 | 2025.05.02 03:43:24.762 | 2025.05.02 03:43:27.230
13 | 5.0.3.1650 2025.04.30 6253f | P | E | 569 | 2434 | 2025.05.01 04:48:12.120 | 2025.05.01 04:48:12.689 | 2025.05.01 03:42:21.163 | 2025.05.01 03:42:23.597
14 | 5.0.3.1650 2025.04.28 4cbff | P | E | 620 | 2443 | 2025.04.30 04:47:10.533 | 2025.04.30 04:47:11.153 | 2025.04.30 03:41:34.349 | 2025.04.30 03:41:36.792
15 | 5.0.3.1649 2025.04.21 5b2d0 | P | E | 633 | 2445 | 2025.04.26 10:21:18.710 | 2025.04.26 10:21:19.343 | 2025.04.26 09:14:36.987 | 2025.04.26 09:14:39.432
16 | 5.0.3.1648 2025.04.18 2f4c5 | P | P | 581 | 375 | 2025.04.20 04:32:28.712 | 2025.04.20 04:32:29.293 | 2025.04.20 03:28:21.946 | 2025.04.20 03:28:22.321
17 | 5.0.3.1635 2025.04.03 f6bd1 | P | E | 582 | 2430 | 2025.04.18 07:00:11.150 | 2025.04.18 07:00:11.732 | 2025.04.18 05:53:45.824 | 2025.04.18 05:53:48.254
18 | 5.0.3.1635 2025.03.31 22ec6 | P | E | 618 | 2421 | 2025.04.03 10:05:59.191 | 2025.04.03 10:05:59.809 | 2025.04.03 08:59:10.284 | 2025.04.03 08:59:12.705
19 | 5.0.3.1633 2025.03.28 3123a | P | E | 583 | 2235 | 2025.03.31 10:04:24.074 | 2025.03.31 10:04:24.657 | 2025.03.31 08:57:39.570 | 2025.03.31 08:57:41.805

#### Elapsed time, ms. Chart for last 19 runs:

Last commits information (all timestamps in UTC):