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-09-01 13:41:33.696
2024-09-01 13:41:33.696 act = <firebird.qa.plugin.Action object at [hex]>
2024-09-01 13:41:33.696
2024-09-01 13:41:33.696     @pytest.mark.version('>=3')
2024-09-01 13:41:33.696     def test_1(act: Action):
2024-09-01 13:41:33.696         script = f"""
2024-09-01 13:41:33.696         create database '{act.db.dsn}' user '{act.db.user}'
2024-09-01 13:41:33.696           password '{act.db.password}' LENGTH 300
2024-09-01 13:41:33.696           FILE '{act.db.db_path.with_name('TMP_CREATE_DB_09.F00')}' LENGTH 300
2024-09-01 13:41:33.696           FILE '{act.db.db_path.with_name('TMP_CREATE_DB_09.F01')}' LENGTH 300
2024-09-01 13:41:33.696           FILE '{act.db.db_path.with_name('TMP_CREATE_DB_09.F02')}' LENGTH 300
2024-09-01 13:41:33.696         ;
2024-09-01 13:41:33.696         set list on ;
2024-09-01 13:41:33.697         select
2024-09-01 13:41:33.697             cast(rdb$file_name as varchar(100)) db_file
2024-09-01 13:41:33.697             ,rdb$file_sequence
2024-09-01 13:41:33.697             ,rdb$file_start
2024-09-01 13:41:33.697             ,rdb$file_length
2024-09-01 13:41:33.697         from rdb$files ;
2024-09-01 13:41:33.697         """
2024-09-01 13:41:33.697         act.expected_stdout = expected_stdout
2024-09-01 13:41:33.697         act.isql(switches = ['-q'], input=script, connect_db=False, combine_output = True)
2024-09-01 13:41:33.697 >       assert act.clean_stdout == act.clean_expected_stdout
2024-09-01 13:41:33.697 E       assert
2024-09-01 13:41:33.697 E         + Statement	failed,	SQLSTATE	=	08006
2024-09-01 13:41:33.697 E         + Unable	to	complete	network	request	to	host	"localhost".
2024-09-01 13:41:33.697 E         + -Failed	to	establish	a	connection.
2024-09-01 13:41:33.697 E         - TMP_CREATE_DB_09.F00
2024-09-01 13:41:33.697 E         - RDB$FILE_SEQUENCE	1
2024-09-01 13:41:33.697 E         - RDB$FILE_START	301
2024-09-01 13:41:33.697 E         - RDB$FILE_LENGTH	300
2024-09-01 13:41:33.697 E         - TMP_CREATE_DB_09.F01
2024-09-01 13:41:33.697 E         - RDB$FILE_SEQUENCE	2
2024-09-01 13:41:33.698 E         - RDB$FILE_START	601
2024-09-01 13:41:33.698 E         - RDB$FILE_LENGTH	300
2024-09-01 13:41:33.698 E         - TMP_CREATE_DB_09.F02
2024-09-01 13:41:33.698 E         - RDB$FILE_SEQUENCE	3
2024-09-01 13:41:33.698 E         - RDB$FILE_START	901
2024-09-01 13:41:33.698 E         - RDB$FILE_LENGTH	300
2024-09-01 13:41:33.698
2024-09-01 13:41:33.698 tests\functional\database\create\test_09.py:52: AssertionError
3 #text
request = <SubRequest 'db' for <Function test_1>>
db_path = WindowsPath('H:/QA/temp/qa2024.tmp/fbqa/test_11729')
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 430 326 2025.06.29 13:19:07.397 2025.06.29 13:19:07.827 2025.06.29 12:19:14.237 2025.06.29 12:19:14.563
2 4.0.6.3184 2025.02.24 9388c P E 466 4428 2025.02.25 11:01:10.105 2025.02.25 11:01:10.571 2025.02.25 09:47:53.545 2025.02.25 09:47:57.973
3 4.0.6.3183 2025.02.17 e4762 P P 435 322 2025.02.24 11:33:13.330 2025.02.24 11:33:13.765 2025.02.24 10:33:43.110 2025.02.24 10:33:43.432
4 4.0.6.3169 2024.12.13 42cc1 P P 437 318 2025.02.14 08:20:57.444 2025.02.14 08:20:57.881 2025.02.14 07:21:26.536 2025.02.14 07:21:26.854
5 4.0.6.3169 2024.12.08 50eb6 P P 440 316 2024.12.11 11:17:30.555 2024.12.11 11:17:30.995 2024.12.11 10:18:19.634 2024.12.11 10:18:19.950
6 4.0.6.3168 2024.12.07 98d69 P P 470 336 2024.12.08 04:01:05.315 2024.12.08 04:01:05.785 2024.12.08 03:00:03.163 2024.12.08 03:00:03.499
7 4.0.6.3168 2024.12.05 cee43 P P 525 312 2024.12.06 04:04:23.740 2024.12.06 04:04:24.265 2024.12.06 03:04:37.042 2024.12.06 03:04:37.354
8 4.0.6.3168 2024.11.28 48149 P P 440 318 2024.12.03 10:57:30.051 2024.12.03 10:57:30.491 2024.12.03 09:59:00.861 2024.12.03 09:59:01.179
9 4.0.6.3163 2024.10.30 832db P P 443 330 2024.11.28 10:56:12.292 2024.11.28 10:56:12.735 2024.11.28 09:57:52.373 2024.11.28 09:57:52.703
10 4.0.6.3163 2024.10.16 2bb10 P P 439 313 2024.10.30 11:05:11.519 2024.10.30 11:05:11.958 2024.10.30 10:06:45.766 2024.10.30 10:06:46.079
11 4.0.6.3147 2024.09.10 a4d11 P E 436 4445 2024.10.16 04:12:44.964 2024.10.16 04:12:45.400 2024.10.16 02:59:50.805 2024.10.16 02:59:55.250
12 4.0.6.3147 2024.08.31 4655b P P 519 323 2024.09.10 11:10:47.868 2024.09.10 11:10:48.387 2024.09.10 10:08:06.059 2024.09.10 10:08:06.382
13 4.0.6.3140 2024.08.16 1dd8b P E 515 4468 2024.09.01 11:33:07.825 2024.09.01 11:33:08.340 2024.09.01 10:17:30.507 2024.09.01 10:17:34.975
14 4.0.6.3140 2024.08.09 34747 P P 505 367 2024.08.16 11:13:21.588 2024.08.16 11:13:22.093 2024.08.16 10:11:06.873 2024.08.16 10:11:07.240
15 4.0.5.3110 2024.08.06 f851c P P 505 362 2024.08.09 10:52:09.629 2024.08.09 10:52:10.134 2024.08.09 09:50:37.793 2024.08.09 09:50:38.155
16 4.0.5.3110 2024.07.30 c6527 P P 570 355 2024.08.06 06:28:36.666 2024.08.06 06:28:37.236 2024.08.06 05:32:44.482 2024.08.06 05:32:44.837
17 4.0.5.3109 2024.06.11 6addf P P 501 358 2024.07.30 09:46:15.625 2024.07.30 09:46:16.126 2024.07.30 08:52:24.939 2024.07.30 08:52:25.297
18 4.0.5.3097 2024.05.09 27fa6 P P 438 281 2024.06.11 06:03:52.837 2024.06.11 06:03:53.275 2024.06.11 05:14:08.789 2024.06.11 05:14:09.070
19 4.0.5.3091 2024.04.29 bd0aa F F 468 282 2024.05.09 18:42:53.185 2024.05.09 18:42:53.653 2024.05.09 17:53:40.342 2024.05.09 17:53:40.624
20 4.0.5.3089 2024.04.20 9eb9b P P 484 281 2024.04.29 06:51:22.033 2024.04.29 06:51:22.517 2024.04.29 06:02:29.366 2024.04.29 06:02:29.647
21 4.0.5.3083 2024.04.06 300f9 P P 469 281 2024.04.20 07:14:42.943 2024.04.20 07:14:43.412 2024.04.20 06:25:28.651 2024.04.20 06:25:28.932
22 4.0.5.3052 2024.03.16 0f422 P P 437 265 2024.04.05 03:40:57.061 2024.04.05 03:40:57.498 2024.04.05 02:53:31.638 2024.04.05 02:53:31.903
23 4.0.5.3052 2024.03.16 ce273 P P 405 265 2024.03.29 15:06:29.079 2024.03.29 15:06:29.484 2024.03.29 14:21:33.484 2024.03.29 14:21:33.749
24 4.0.5.3052 2024.02.12 cd058 P P 421 281 2024.03.29 16:34:53.759 2024.03.29 16:34:54.180 2024.03.29 15:49:59.523 2024.03.29 15:49:59.804
25 4.0.5.3052 2024.02.07 be290 P P 437 280 2024.03.29 18:46:25.554 2024.03.29 18:46:25.991 2024.03.29 18:01:27.712 2024.03.29 18:01:27.992
26 4.0.5.3052 2024.02.07 6409b P P 406 265 2024.03.29 20:30:35.457 2024.03.29 20:30:35.863 2024.03.29 19:45:40.906 2024.03.29 19:45:41.171
27 4.0.5.3052 2024.02.02 bbc3f P P 421 281 2024.03.29 22:39:39.130 2024.03.29 22:39:39.551 2024.03.29 21:54:41.704 2024.03.29 21:54:41.985
28 4.0.5.3052 2024.01.26 48b7c P P 421 281 2024.03.30 00:06:54.720 2024.03.30 00:06:55.141 2024.03.29 23:21:53.146 2024.03.29 23:21:53.427
29 4.0.5.3052 2024.01.26 9a7b3 P P 405 264 2024.03.30 07:07:50.667 2024.03.30 07:07:51.072 2024.03.30 06:22:53.706 2024.03.30 06:22:53.970
30 4.0.5.3049 2024.01.25 f6b9d P P 359 233 2024.03.30 09:14:57.644 2024.03.30 09:14:58.003 2024.03.30 08:30:23.373 2024.03.30 08:30:23.606
31 4.0.5.3049 2024.01.08 b67ce P P 468 265 2024.03.30 11:01:57.563 2024.03.30 11:01:58.031 2024.03.30 10:08:40.758 2024.03.30 10:08:41.023
32 4.0.5.3049 2024.01.08 97577 P P 468 264 2024.03.30 16:06:52.602 2024.03.30 16:06:53.070 2024.03.30 15:13:55.294 2024.03.30 15:13:55.558
33 4.0.5.3049 2024.01.05 2d8b0 P P 468 265 2024.03.30 19:24:41.784 2024.03.30 19:24:42.252 2024.03.30 18:31:56.297 2024.03.30 18:31:56.562
34 4.0.5.3049 2024.01.04 431e5 P P 359 234 2024.03.30 21:03:52.753 2024.03.30 21:03:53.112 2024.03.30 20:19:27.377 2024.03.30 20:19:27.611
35 4.0.5.3049 2024.01.04 e33b4 P P 359 234 2024.03.30 23:15:45.676 2024.03.30 23:15:46.035 2024.03.30 22:31:13.096 2024.03.30 22:31:13.330
36 4.0.5.3049 2024.01.04 207ef P P 359 234 2024.03.31 00:59:15.843 2024.03.31 00:59:16.202 2024.03.31 00:14:40.671 2024.03.31 00:14:40.905
37 4.0.5.3034 2023.12.12 c05ff P P 358 234 2024.03.31 06:51:52.126 2024.03.31 06:51:52.484 2024.03.31 06:07:14.285 2024.03.31 06:07:14.519
38 4.0.5.3034 2023.12.12 3a40e P P 374 234 2024.03.31 15:26:35.559 2024.03.31 15:26:35.933 2024.03.31 14:41:56.887 2024.03.31 14:41:57.121
39 4.0.5.3034 2023.12.02 5934b P P 358 233 2024.03.31 09:59:37.089 2024.03.31 09:59:37.447 2024.03.31 09:15:00.168 2024.03.31 09:15:00.401
40 4.0.5.3034 2023.12.02 7ea5a P P 374 234 2024.03.31 17:50:56.923 2024.03.31 17:50:57.297 2024.03.31 17:06:17.600 2024.03.31 17:06:17.834
41 4.0.5.3034 2023.11.30 4fbc9 P P 358 234 2024.03.31 19:51:50.773 2024.03.31 19:51:51.131 2024.03.31 19:07:08.732 2024.03.31 19:07:08.966

Elapsed time, ms. Chart for last 41 runs:

Last commits information (all timestamps in UTC):