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 teardown with "firebird.driver.types.DatabaseError: Unable to complete network request to host "localhost".
-Failed to establish a connection."

LOG DETAILS:

2025-02-25 13:12:00.996
2025-02-25 13:12:00.996 act = <firebird.qa.plugin.Action object at [hex]>
2025-02-25 13:12:00.996
2025-02-25 13:12:00.996     @pytest.mark.version('>=3,<6')
2025-02-25 13:12:00.996     def test_1(act: Action):
2025-02-25 13:12:00.996         script = f"""
2025-02-25 13:12:00.997         create database '{act.db.dsn}' user '{act.db.user}'
2025-02-25 13:12:00.997           password '{act.db.password}' LENGTH 300
2025-02-25 13:12:00.997           FILE '{act.db.db_path.with_name('TMP_CREATE_DB_08.F00')}' LENGTH 300
2025-02-25 13:12:00.997         ;
2025-02-25 13:12:00.997         set list on ;
2025-02-25 13:12:00.997         select
2025-02-25 13:12:00.997             cast(rdb$file_name as varchar(100)) db_file
2025-02-25 13:12:00.997             ,rdb$file_sequence
2025-02-25 13:12:00.997             ,rdb$file_start
2025-02-25 13:12:00.997             ,rdb$file_length
2025-02-25 13:12:00.997         from rdb$files ;
2025-02-25 13:12:00.997         """
2025-02-25 13:12:00.997         act.expected_stdout = expected_stdout
2025-02-25 13:12:00.997         act.isql(switches = ['-q'], input=script, connect_db=False, combine_output = True)
2025-02-25 13:12:00.997 >       assert act.clean_stdout == act.clean_expected_stdout
2025-02-25 13:12:00.997 E       assert
2025-02-25 13:12:00.997 E         + Statement	failed,	SQLSTATE	=	08006
2025-02-25 13:12:00.997 E         + Unable	to	complete	network	request	to	host	"localhost".
2025-02-25 13:12:00.997 E         + -Failed	to	establish	a	connection.
2025-02-25 13:12:00.997 E         - TMP_CREATE_DB_08.F00
2025-02-25 13:12:00.997 E         - RDB$FILE_SEQUENCE	1
2025-02-25 13:12:00.998 E         - RDB$FILE_START	301
2025-02-25 13:12:00.998 E         - RDB$FILE_LENGTH	300
2025-02-25 13:12:00.998
2025-02-25 13:12:00.998 tests\functional\database\create\test_08.py:46: AssertionError
3 #text
request = <SubRequest 'db' for <Function test_1>>
db_path = WindowsPath('H:/QA/temp/qa2024.tmp/fbqa/test_11743')
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)
            elif from_backup is not None:
                db.restore(from_backup)
            elif copy_of is not None:
                db.copy(copy_of)
            if async_write:
                db.set_async_write()
            if init: # Do not check for None, we want to skip empty scripts as well
                try:
                    db.init(init)
                except Error as exc:
                    if hasattr(exc, 'stderr'):
                        request.node.user_properties.append(("dbinit-stderr", exc.stderr))
                    raise
        yield db
        if not do_not_drop:
>           db.drop()

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

server = 'qa_rundaily_hq40'

    def connect_server(server: str, *, user: str=None, password: str=None,
                       crypt_callback: iCryptKeyCallbackImpl=None,
                       expected_db: str=None, role: str=None, encoding: str=None,
                       encoding_errors: str=None) -> Server:
        """Establishes a connection to server's service manager.
    
        Arguments:
            server: Server host machine or Server configuration name.
            user: User name.
            password: User password.
            crypt_callback: Callback that provides encryption key.
            expected_db: Database that would be accessed (for using services with non-default
                         security database)
            role: SQL role used for connection.
            encoding: Encoding for string values passed in parameter buffer. Default is
               `.ServerConfig.encoding`.
            encoding_errors: Error handler used for encoding errors. Default is
               `.ServerConfig.encoding_errors`.
    
        Hooks:
            Event `.ServerHook.ATTACHED`: Executed before `Service` instance is
            returned. Hook must have signature::
    
                hook_func(server: Server) -> None
    
            Any value returned by hook is ignored.
        """
        srv_config = driver_config.get_server(server)
        if srv_config is None:
            srv_config = driver_config.server_defaults
            host = server or None
            port = None
        else:
            host = srv_config.host.value
            port = srv_config.port.value
        if host is None:
            host = 'service_mgr'
        if not host.endswith('service_mgr'):
            if host and not host.endswith(':'):
                if port:
                    host += f"/{port}"
                host += ':'
            host += 'service_mgr'
        if user is None:
            user = srv_config.user.value
        if password is None:
            password = srv_config.password.value
        spb = SPB_ATTACH(user=user, password=password, config=srv_config.config.value,
                         trusted_auth=srv_config.trusted_auth.value,
                         auth_plugin_list=srv_config.auth_plugin_list.value,
                         expected_db=expected_db, role=role)
        spb_buf = spb.get_buffer()
        with a.get_api().master.get_dispatcher() as provider:
            if crypt_callback is not None:
                provider.set_dbcrypt_callback(crypt_callback)
>           svc = provider.attach_service_manager(host, spb_buf)

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

self = <firebird.driver.interfaces.iProvider pytest object at [hex]>
service = 'localhost/33337:service_mgr'
spb = b'\x02\x02\x1c\x06SYSDBA\x1d\tmasterkey'

    def attach_service_manager(self, service: str, spb: bytes) -> iService:
        "Replaces `isc_service_attach()`"
        result = self.vtable.attachServiceManager(self, self.status, service.encode(), len(spb), spb)
>       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 4.0.6.3189 2025.02.25 1a1a5 P P 461 308 2025.06.29 13:19:06.936 2025.06.29 13:19:07.397 2025.06.29 12:19:13.929 2025.06.29 12:19:14.237
2 4.0.6.3184 2025.02.24 9388c P E 440 4410 2025.02.25 11:01:09.665 2025.02.25 11:01:10.105 2025.02.25 09:47:49.135 2025.02.25 09:47:53.545
3 4.0.6.3183 2025.02.17 e4762 P P 437 320 2025.02.24 11:33:12.893 2025.02.24 11:33:13.330 2025.02.24 10:33:42.790 2025.02.24 10:33:43.110
4 4.0.6.3169 2024.12.13 42cc1 P P 464 310 2025.02.14 08:20:56.980 2025.02.14 08:20:57.444 2025.02.14 07:21:26.226 2025.02.14 07:21:26.536
5 4.0.6.3169 2024.12.08 50eb6 P P 444 323 2024.12.11 11:17:30.111 2024.12.11 11:17:30.555 2024.12.11 10:18:19.311 2024.12.11 10:18:19.634
6 4.0.6.3168 2024.12.07 98d69 P P 470 305 2024.12.08 04:01:04.845 2024.12.08 04:01:05.315 2024.12.08 03:00:02.858 2024.12.08 03:00:03.163
7 4.0.6.3168 2024.12.05 cee43 P P 460 326 2024.12.06 04:04:23.280 2024.12.06 04:04:23.740 2024.12.06 03:04:36.716 2024.12.06 03:04:37.042
8 4.0.6.3168 2024.11.28 48149 P P 434 316 2024.12.03 10:57:29.617 2024.12.03 10:57:30.051 2024.12.03 09:59:00.545 2024.12.03 09:59:00.861
9 4.0.6.3163 2024.10.30 832db P P 434 324 2024.11.28 10:56:11.858 2024.11.28 10:56:12.292 2024.11.28 09:57:52.049 2024.11.28 09:57:52.373
10 4.0.6.3163 2024.10.16 2bb10 P P 430 323 2024.10.30 11:05:11.089 2024.10.30 11:05:11.519 2024.10.30 10:06:45.443 2024.10.30 10:06:45.766
11 4.0.6.3147 2024.09.10 a4d11 P E 433 4431 2024.10.16 04:12:44.531 2024.10.16 04:12:44.964 2024.10.16 02:59:46.374 2024.10.16 02:59:50.805
12 4.0.6.3147 2024.08.31 4655b P P 446 309 2024.09.10 11:10:47.422 2024.09.10 11:10:47.868 2024.09.10 10:08:05.750 2024.09.10 10:08:06.059
13 4.0.6.3140 2024.08.16 1dd8b P E 497 4263 2024.09.01 11:33:07.328 2024.09.01 11:33:07.825 2024.09.01 10:17:26.244 2024.09.01 10:17:30.507
14 4.0.6.3140 2024.08.09 34747 P P 520 354 2024.08.16 11:13:21.068 2024.08.16 11:13:21.588 2024.08.16 10:11:06.519 2024.08.16 10:11:06.873
15 4.0.5.3110 2024.08.06 f851c P P 501 351 2024.08.09 10:52:09.128 2024.08.09 10:52:09.629 2024.08.09 09:50:37.442 2024.08.09 09:50:37.793
16 4.0.5.3110 2024.07.30 c6527 P P 515 360 2024.08.06 06:28:36.151 2024.08.06 06:28:36.666 2024.08.06 05:32:44.122 2024.08.06 05:32:44.482
17 4.0.5.3109 2024.06.11 6addf P P 489 351 2024.07.30 09:46:15.136 2024.07.30 09:46:15.625 2024.07.30 08:52:24.588 2024.07.30 08:52:24.939
18 4.0.5.3097 2024.05.09 27fa6 P P 422 266 2024.06.11 06:03:52.415 2024.06.11 06:03:52.837 2024.06.11 05:14:08.523 2024.06.11 05:14:08.789
19 4.0.5.3091 2024.04.29 bd0aa F F 438 297 2024.05.09 18:42:52.747 2024.05.09 18:42:53.185 2024.05.09 17:53:40.045 2024.05.09 17:53:40.342
20 4.0.5.3089 2024.04.20 9eb9b P P 438 266 2024.04.29 06:51:21.595 2024.04.29 06:51:22.033 2024.04.29 06:02:29.100 2024.04.29 06:02:29.366
21 4.0.5.3083 2024.04.06 300f9 P P 438 281 2024.04.20 07:14:42.505 2024.04.20 07:14:42.943 2024.04.20 06:25:28.370 2024.04.20 06:25:28.651
22 4.0.5.3052 2024.03.16 0f422 P P 454 282 2024.04.05 03:40:56.607 2024.04.05 03:40:57.061 2024.04.05 02:53:31.356 2024.04.05 02:53:31.638
23 4.0.5.3052 2024.03.16 ce273 P P 421 280 2024.03.29 15:06:28.657 2024.03.29 15:06:29.078 2024.03.29 14:21:33.203 2024.03.29 14:21:33.483
24 4.0.5.3052 2024.02.12 cd058 P P 421 280 2024.03.29 16:34:53.337 2024.03.29 16:34:53.758 2024.03.29 15:49:59.242 2024.03.29 15:49:59.522
25 4.0.5.3052 2024.02.07 be290 P P 421 281 2024.03.29 18:46:25.132 2024.03.29 18:46:25.553 2024.03.29 18:01:27.430 2024.03.29 18:01:27.711
26 4.0.5.3052 2024.02.07 6409b P P 421 280 2024.03.29 20:30:35.035 2024.03.29 20:30:35.456 2024.03.29 19:45:40.625 2024.03.29 19:45:40.905
27 4.0.5.3052 2024.02.02 bbc3f P P 421 280 2024.03.29 22:39:38.708 2024.03.29 22:39:39.129 2024.03.29 21:54:41.423 2024.03.29 21:54:41.703
28 4.0.5.3052 2024.01.26 48b7c P P 421 280 2024.03.30 00:06:54.298 2024.03.30 00:06:54.719 2024.03.29 23:21:52.865 2024.03.29 23:21:53.145
29 4.0.5.3052 2024.01.26 9a7b3 P P 437 281 2024.03.30 07:07:50.229 2024.03.30 07:07:50.666 2024.03.30 06:22:53.424 2024.03.30 06:22:53.705
30 4.0.5.3049 2024.01.25 f6b9d P P 374 218 2024.03.30 09:14:57.269 2024.03.30 09:14:57.643 2024.03.30 08:30:23.154 2024.03.30 08:30:23.372
31 4.0.5.3049 2024.01.08 b67ce P P 468 249 2024.03.30 11:01:57.094 2024.03.30 11:01:57.562 2024.03.30 10:08:40.508 2024.03.30 10:08:40.757
32 4.0.5.3049 2024.01.08 97577 P P 468 265 2024.03.30 16:06:52.133 2024.03.30 16:06:52.601 2024.03.30 15:13:55.028 2024.03.30 15:13:55.293
33 4.0.5.3049 2024.01.05 2d8b0 P P 468 249 2024.03.30 19:24:41.315 2024.03.30 19:24:41.783 2024.03.30 18:31:56.047 2024.03.30 18:31:56.296
34 4.0.5.3049 2024.01.04 431e5 P P 358 233 2024.03.30 21:03:52.394 2024.03.30 21:03:52.752 2024.03.30 20:19:27.143 2024.03.30 20:19:27.376
35 4.0.5.3049 2024.01.04 e33b4 P P 374 233 2024.03.30 23:15:45.301 2024.03.30 23:15:45.675 2024.03.30 22:31:12.862 2024.03.30 22:31:13.095
36 4.0.5.3049 2024.01.04 207ef P P 374 233 2024.03.31 00:59:15.468 2024.03.31 00:59:15.842 2024.03.31 00:14:40.437 2024.03.31 00:14:40.670
37 4.0.5.3034 2023.12.12 c05ff P P 374 233 2024.03.31 06:51:51.751 2024.03.31 06:51:52.125 2024.03.31 06:07:14.051 2024.03.31 06:07:14.284
38 4.0.5.3034 2023.12.12 3a40e P P 358 233 2024.03.31 15:26:35.200 2024.03.31 15:26:35.558 2024.03.31 14:41:56.653 2024.03.31 14:41:56.886
39 4.0.5.3034 2023.12.02 5934b P P 374 218 2024.03.31 09:59:36.714 2024.03.31 09:59:37.088 2024.03.31 09:14:59.949 2024.03.31 09:15:00.167
40 4.0.5.3034 2023.12.02 7ea5a P P 358 233 2024.03.31 17:50:56.564 2024.03.31 17:50:56.922 2024.03.31 17:06:17.366 2024.03.31 17:06:17.599
41 4.0.5.3034 2023.11.30 4fbc9 P P 374 217 2024.03.31 19:51:50.398 2024.03.31 19:51:50.772 2024.03.31 19:07:08.514 2024.03.31 19:07:08.731

Elapsed time, ms. Chart for last 41 runs:

Last commits information (all timestamps in UTC):