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:

2024-10-16 06:23:55.029
2024-10-16 06:23:55.029 act = <firebird.qa.plugin.Action object at [hex]>
2024-10-16 06:23:55.029
2024-10-16 06:23:55.029     @pytest.mark.version('>=3.0')
2024-10-16 06:23:55.029     def test_1(act: Action):
2024-10-16 06:23:55.029         script = f"""
2024-10-16 06:23:55.029             create database '{act.db.dsn}' user '{act.db.user}'
2024-10-16 06:23:55.029               password '{act.db.password}' set names 'win1251' default character set utf8 ;
2024-10-16 06:23:55.029             set list on ;
2024-10-16 06:23:55.029             select c.rdb$character_set_name as client_char_set, r.rdb$character_set_name as db_char_set
2024-10-16 06:23:55.029             from mon$attachments a join rdb$character_sets c on a.mon$character_set_id = c.rdb$character_set_id
2024-10-16 06:23:55.029             cross join rdb$database r
2024-10-16 06:23:55.030             where a.mon$attachment_id = current_connection ;
2024-10-16 06:23:55.030         """
2024-10-16 06:23:55.030         act.expected_stdout = expected_stdout
2024-10-16 06:23:55.030         act.isql(switches = ['-q'], input=script, connect_db=False, combine_output = True)
2024-10-16 06:23:55.030 >       assert act.clean_stdout == act.clean_expected_stdout
2024-10-16 06:23:55.030 E       assert
2024-10-16 06:23:55.030 E         - CLIENT_CHAR_SET                 WIN1251
2024-10-16 06:23:55.030 E         - DB_CHAR_SET                     UTF8
2024-10-16 06:23:55.030 E         + Statement failed, SQLSTATE = 08006
2024-10-16 06:23:55.030 E         + Unable to complete network request to host "localhost".
2024-10-16 06:23:55.030 E         + -Failed to establish a connection.
2024-10-16 06:23:55.030
2024-10-16 06:23:55.030 tests\functional\database\create\test_01.py:38: AssertionError
3 #text
request = <SubRequest 'db' for <Function test_1>>
db_path = WindowsPath('H:/QA/temp/qa2024.tmp/fbqa/test_11734')
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 458 309 2025.06.30 13:19:09.470 2025.06.30 13:19:09.928 2025.06.30 12:19:52.816 2025.06.30 12:19:53.125
2 4.0.6.3184 2025.02.24 9388c P E 434 4399 2025.02.25 11:01:07.895 2025.02.25 11:01:08.329 2025.02.25 09:47:42.333 2025.02.25 09:47:46.732
3 4.0.6.3183 2025.02.17 e4762 P P 433 324 2025.02.24 11:33:11.129 2025.02.24 11:33:11.562 2025.02.24 10:33:41.547 2025.02.24 10:33:41.871
4 4.0.6.3169 2024.12.13 42cc1 P P 434 308 2025.02.14 08:20:55.188 2025.02.14 08:20:55.622 2025.02.14 07:21:25.055 2025.02.14 07:21:25.363
5 4.0.6.3169 2024.12.08 50eb6 P P 440 307 2024.12.11 11:17:28.740 2024.12.11 11:17:29.180 2024.12.11 10:18:18.385 2024.12.11 10:18:18.692
6 4.0.6.3168 2024.12.07 98d69 P P 461 388 2024.12.08 04:01:03.426 2024.12.08 04:01:03.887 2024.12.08 03:00:01.873 2024.12.08 03:00:02.261
7 4.0.6.3168 2024.12.05 cee43 P P 446 327 2024.12.06 04:04:21.848 2024.12.06 04:04:22.294 2024.12.06 03:04:35.758 2024.12.06 03:04:36.085
8 4.0.6.3168 2024.11.28 48149 P P 436 321 2024.12.03 10:57:28.267 2024.12.03 10:57:28.703 2024.12.03 09:58:59.614 2024.12.03 09:58:59.935
9 4.0.6.3163 2024.10.30 832db P P 437 313 2024.11.28 10:56:10.504 2024.11.28 10:56:10.941 2024.11.28 09:57:51.122 2024.11.28 09:57:51.435
10 4.0.6.3163 2024.10.16 2bb10 P P 465 314 2024.10.30 11:05:09.713 2024.10.30 11:05:10.178 2024.10.30 10:06:44.527 2024.10.30 10:06:44.841
11 4.0.6.3147 2024.09.10 a4d11 P E 466 4453 2024.10.16 04:12:43.155 2024.10.16 04:12:43.621 2024.10.16 02:59:39.679 2024.10.16 02:59:44.132
12 4.0.6.3147 2024.08.31 4655b P P 447 323 2024.09.10 11:10:46.029 2024.09.10 11:10:46.476 2024.09.10 10:08:04.829 2024.09.10 10:08:05.152
13 4.0.6.3140 2024.08.16 1dd8b P E 504 4410 2024.09.01 11:33:05.778 2024.09.01 11:33:06.282 2024.09.01 10:17:19.415 2024.09.01 10:17:23.825
14 4.0.6.3140 2024.08.09 34747 P P 504 353 2024.08.16 11:13:19.526 2024.08.16 11:13:20.030 2024.08.16 10:11:05.466 2024.08.16 10:11:05.819
15 4.0.5.3110 2024.08.06 f851c P P 501 361 2024.08.09 10:52:07.543 2024.08.09 10:52:08.044 2024.08.09 09:50:36.387 2024.08.09 09:50:36.748
16 4.0.5.3110 2024.07.30 c6527 P P 497 349 2024.08.06 06:28:34.787 2024.08.06 06:28:35.284 2024.08.06 05:32:43.195 2024.08.06 05:32:43.544
17 4.0.5.3109 2024.06.11 6addf P P 500 355 2024.07.30 09:46:13.804 2024.07.30 09:46:14.304 2024.07.30 08:52:23.661 2024.07.30 08:52:24.016
18 4.0.5.3097 2024.05.09 27fa6 P P 438 281 2024.06.11 06:03:51.118 2024.06.11 06:03:51.556 2024.06.11 05:14:07.789 2024.06.11 05:14:08.070
19 4.0.5.3091 2024.04.29 bd0aa F F 422 281 2024.05.09 18:42:51.419 2024.05.09 18:42:51.841 2024.05.09 17:53:39.327 2024.05.09 17:53:39.608
20 4.0.5.3089 2024.04.20 9eb9b P P 438 281 2024.04.29 06:51:20.251 2024.04.29 06:51:20.689 2024.04.29 06:02:28.366 2024.04.29 06:02:28.647
21 4.0.5.3083 2024.04.06 300f9 P P 437 281 2024.04.20 07:14:41.240 2024.04.20 07:14:41.677 2024.04.20 06:25:26.635 2024.04.20 06:25:26.916
22 4.0.5.3052 2024.03.16 0f422 P P 469 281 2024.04.05 03:40:55.326 2024.04.05 03:40:55.795 2024.04.05 02:53:30.653 2024.04.05 02:53:30.934
23 4.0.5.3052 2024.03.16 ce273 P P 421 264 2024.03.29 15:06:27.501 2024.03.29 15:06:27.922 2024.03.29 14:21:32.531 2024.03.29 14:21:32.795
24 4.0.5.3052 2024.02.12 cd058 P P 421 280 2024.03.29 16:34:52.165 2024.03.29 16:34:52.586 2024.03.29 15:49:58.539 2024.03.29 15:49:58.819
25 4.0.5.3052 2024.02.07 be290 P P 421 265 2024.03.29 18:46:23.960 2024.03.29 18:46:24.381 2024.03.29 18:01:26.743 2024.03.29 18:01:27.008
26 4.0.5.3052 2024.02.07 6409b P P 405 265 2024.03.29 20:30:33.879 2024.03.29 20:30:34.284 2024.03.29 19:45:39.937 2024.03.29 19:45:40.202
27 4.0.5.3052 2024.02.02 bbc3f P P 421 264 2024.03.29 22:39:37.536 2024.03.29 22:39:37.957 2024.03.29 21:54:40.736 2024.03.29 21:54:41.000
28 4.0.5.3052 2024.01.26 48b7c P P 437 264 2024.03.30 00:06:53.110 2024.03.30 00:06:53.547 2024.03.29 23:21:52.178 2024.03.29 23:21:52.442
29 4.0.5.3052 2024.01.26 9a7b3 P P 421 265 2024.03.30 07:07:49.057 2024.03.30 07:07:49.478 2024.03.30 06:22:52.752 2024.03.30 06:22:53.017
30 4.0.5.3049 2024.01.25 f6b9d P P 358 233 2024.03.30 09:14:56.238 2024.03.30 09:14:56.596 2024.03.30 08:30:22.529 2024.03.30 08:30:22.762
31 4.0.5.3049 2024.01.08 b67ce P P 468 264 2024.03.30 11:01:55.656 2024.03.30 11:01:56.124 2024.03.30 10:08:39.696 2024.03.30 10:08:39.960
32 4.0.5.3049 2024.01.08 97577 P P 468 249 2024.03.30 16:06:50.711 2024.03.30 16:06:51.179 2024.03.30 15:13:54.247 2024.03.30 15:13:54.496
33 4.0.5.3049 2024.01.05 2d8b0 P P 452 249 2024.03.30 19:24:39.909 2024.03.30 19:24:40.361 2024.03.30 18:31:55.250 2024.03.30 18:31:55.499
34 4.0.5.3049 2024.01.04 431e5 P P 342 218 2024.03.30 21:03:51.363 2024.03.30 21:03:51.705 2024.03.30 20:19:26.549 2024.03.30 20:19:26.767
35 4.0.5.3049 2024.01.04 e33b4 P P 359 218 2024.03.30 23:15:44.254 2024.03.30 23:15:44.613 2024.03.30 22:31:12.268 2024.03.30 22:31:12.486
36 4.0.5.3049 2024.01.04 207ef P P 374 234 2024.03.31 00:59:14.421 2024.03.31 00:59:14.795 2024.03.31 00:14:39.827 2024.03.31 00:14:40.061
37 4.0.5.3034 2023.12.12 c05ff P P 374 233 2024.03.31 06:51:50.686 2024.03.31 06:51:51.060 2024.03.31 06:07:13.442 2024.03.31 06:07:13.675
38 4.0.5.3034 2023.12.12 3a40e P P 358 233 2024.03.31 15:26:34.153 2024.03.31 15:26:34.511 2024.03.31 14:41:56.044 2024.03.31 14:41:56.277
39 4.0.5.3034 2023.12.02 5934b P P 374 234 2024.03.31 09:59:35.667 2024.03.31 09:59:36.041 2024.03.31 09:14:59.324 2024.03.31 09:14:59.558
40 4.0.5.3034 2023.12.02 7ea5a P P 358 234 2024.03.31 17:50:55.517 2024.03.31 17:50:55.875 2024.03.31 17:06:16.756 2024.03.31 17:06:16.990
41 4.0.5.3034 2023.11.30 4fbc9 P P 358 234 2024.03.31 19:51:49.351 2024.03.31 19:51:49.709 2024.03.31 19:07:07.888 2024.03.31 19:07:08.122

Elapsed time, ms. Chart for last 41 runs:

Last commits information (all timestamps in UTC):