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
1 @message
AssertionError: assert   
  + Error encountered for protocol_name='NONE':
  + Incorrect parameters provided to internal function INF_transaction_info
  + (335544980,)
    inet inet://h:\qa\temp\qa2024.tmp\fbqa\test_11347\test.fdb
    xnet xnet://h:\qa\temp\qa2024.tmp\fbqa\test_11347\test.fdb
    wnet wnet://h:\qa\temp\qa2024.tmp\fbqa\test_11347\test.fdb

LOG DETAILS:

2025-04-25 16:54:41.150
2025-04-25 16:54:41.150 act = <firebird.qa.plugin.Action object at [hex]>
2025-04-25 16:54:41.150 capsys = <_pytest.capture.CaptureFixture object at [hex]>
2025-04-25 16:54:41.150
2025-04-25 16:54:41.150     @pytest.mark.version('>=3.0.13')
2025-04-25 16:54:41.150     def test_1(act: Action, capsys):
2025-04-25 16:54:41.150
2025-04-25 16:54:41.150         srv_config = driver_config.register_server(name = 'test_8520_srv', config = '')
2025-04-25 16:54:41.150         db_cfg_object = driver_config.register_database(name = 'test_8520_cfg')
2025-04-25 16:54:41.150         db_cfg_object.database.value = str(act.db.db_path)
2025-04-25 16:54:41.150         db_cfg_object.server.value = srv_config.name
2025-04-25 16:54:41.150
2025-04-25 16:54:41.150         sql_sttm = 'select mon$remote_protocol from mon$attachments where mon$attachment_id = current_connection'
2025-04-25 16:54:41.150
2025-04-25 16:54:41.150         protocols_list = [ None, NetProtocol.INET, ] # None - for local/embedded connection.
2025-04-25 16:54:41.150         if act.platform == 'Windows':
2025-04-25 16:54:41.150             protocols_list.append(NetProtocol.XNET)
2025-04-25 16:54:41.150             if act.is_version('<5'):
2025-04-25 16:54:41.150                 protocols_list.append(NetProtocol.WNET)
2025-04-25 16:54:41.151
2025-04-25 16:54:41.151         expected_out_map = {}
2025-04-25 16:54:41.151         for p in protocols_list:
2025-04-25 16:54:41.151             db_cfg_object.protocol.value = p
2025-04-25 16:54:41.151             with connect(db_cfg_object.name, user = act.db.user, password = act.db.password) as con:
2025-04-25 16:54:41.151                 protocol_name = 'UNKNOWN'
2025-04-25 16:54:41.151                 with con.cursor() as cur:
2025-04-25 16:54:41.151                      for r in cur.execute(sql_sttm):
2025-04-25 16:54:41.151                          protocol_name = 'NONE' if p == None else p.name.upper()
2025-04-25 16:54:41.151                 try:
2025-04-25 16:54:41.151                     with con.main_transaction as tr:
2025-04-25 16:54:41.151                         expected_out_map[ protocol_name ] = tr.info.database
2025-04-25 16:54:41.151                 except DatabaseError as e:
2025-04-25 16:54:41.151                     print(f'Error encountered for {protocol_name=}:')
2025-04-25 16:54:41.151                     print(e.__str__())
2025-04-25 16:54:41.151                     print(e.gds_codes)
2025-04-25 16:54:41.151
2025-04-25 16:54:41.151         # Construct expected output + print actual result for comparison with expected one:
2025-04-25 16:54:41.151         expected_out_lst = []
2025-04-25 16:54:41.152         for k,v in expected_out_map.items():
2025-04-25 16:54:41.152             print(k.lower(), v.lower())
2025-04-25 16:54:41.152             expected_out_lst.append( (k + ' ' +  ('' if k == 'NONE' else k +'://') + str(act.db.db_path)).lower() )
2025-04-25 16:54:41.152
2025-04-25 16:54:41.152         expected_stdout = '\n'.join(expected_out_lst)
2025-04-25 16:54:41.152         act.expected_stdout = expected_stdout
2025-04-25 16:54:41.152         act.stdout = capsys.readouterr().out
2025-04-25 16:54:41.152 >       assert act.clean_stdout == act.clean_expected_stdout
2025-04-25 16:54:41.152 E       AssertionError: assert
2025-04-25 16:54:41.152 E         + Error encountered for protocol_name='NONE':
2025-04-25 16:54:41.152 E         + Incorrect parameters provided to internal function INF_transaction_info
2025-04-25 16:54:41.152 E         + (335544980,)
2025-04-25 16:54:41.152 E           inet inet://h:\qa\temp\qa2024.tmp\fbqa\test_11347\test.fdb
2025-04-25 16:54:41.152 E           xnet xnet://h:\qa\temp\qa2024.tmp\fbqa\test_11347\test.fdb
2025-04-25 16:54:41.152 E           wnet wnet://h:\qa\temp\qa2024.tmp\fbqa\test_11347\test.fdb
2025-04-25 16:54:41.152
2025-04-25 16:54:41.152 tests\bugs\gh_8520_test.py:72: AssertionError
2025-04-25 16:54:41.152 ---------------------------- Captured stdout setup ----------------------------
2025-04-25 16:54:41.152 Creating db: localhost:H:\QA\temp\qa2024.tmp\fbqa\test_11347\test.fdb [page_size=None, sql_dialect=None, charset='NONE', user=SYSDBA, password=masterkey]
2 #text
act = <firebird.qa.plugin.Action pytest object at [hex]>
capsys = <_pytest.capture.CaptureFixture pytest object at [hex]>

    @pytest.mark.version('>=3.0.13')
    def test_1(act: Action, capsys):
    
        srv_config = driver_config.register_server(name = 'test_8520_srv', config = '')
        db_cfg_object = driver_config.register_database(name = 'test_8520_cfg')
        db_cfg_object.database.value = str(act.db.db_path)
        db_cfg_object.server.value = srv_config.name
    
        sql_sttm = 'select mon$remote_protocol from mon$attachments where mon$attachment_id = current_connection'
    
        protocols_list = [ None, NetProtocol.INET, ] # None - for local/embedded connection.
        if act.platform == 'Windows':
            protocols_list.append(NetProtocol.XNET)
            if act.is_version('<5'):
                protocols_list.append(NetProtocol.WNET)
    
        expected_out_map = {}
        for p in protocols_list:
            db_cfg_object.protocol.value = p
            with connect(db_cfg_object.name, user = act.db.user, password = act.db.password) as con:
                protocol_name = 'UNKNOWN'
                with con.cursor() as cur:
                     for r in cur.execute(sql_sttm):
                         protocol_name = 'NONE' if p == None else p.name.upper()
                try:
                    with con.main_transaction as tr:
                        expected_out_map[ protocol_name ] = tr.info.database
                except DatabaseError as e:
                    print(f'Error encountered for {protocol_name=}:')
                    print(e.__str__())
                    print(e.gds_codes)
    
        # Construct expected output + print actual result for comparison with expected one:
        expected_out_lst = []
        for k,v in expected_out_map.items():
            print(k.lower(), v.lower())
            expected_out_lst.append( (k + ' ' +  ('' if k == 'NONE' else k +'://') + str(act.db.db_path)).lower() )
    
        expected_stdout = '\n'.join(expected_out_lst)
        act.expected_stdout = expected_stdout
        act.stdout = capsys.readouterr().out
>       assert act.clean_stdout == act.clean_expected_stdout
E       AssertionError: assert   
E         + Error encountered for protocol_name='NONE':
E         + Incorrect parameters provided to internal function INF_transaction_info
E         + (335544980,)
E           inet inet://h:\qa\temp\qa2024.tmp\fbqa\test_11347\test.fdb
E           xnet xnet://h:\qa\temp\qa2024.tmp\fbqa\test_11347\test.fdb
E           wnet wnet://h:\qa\temp\qa2024.tmp\fbqa\test_11347\test.fdb

tests\bugs\gh_8520_test.py:72: AssertionError
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 3.0.13.33809 2025.05.14 6638e P P 689 366 2025.06.28 14:49:36.525 2025.06.28 14:49:37.214 2025.06.28 14:11:57.790 2025.06.28 14:11:58.156
2 3.0.13.33809 2025.05.06 28ad0 P P 693 353 2025.05.14 08:27:50.004 2025.05.14 08:27:50.697 2025.05.14 07:48:42.062 2025.05.14 07:48:42.415
3 3.0.13.33808 2025.04.25 28426 P P 675 339 2025.05.06 13:38:33.962 2025.05.06 13:38:34.637 2025.05.06 13:01:22.235 2025.05.06 13:01:22.574
4 3.0.13.33803 2025.04.23 307b8 F F 703 348 2025.04.25 13:47:10.595 2025.04.25 13:47:11.298 2025.04.25 13:09:48.606 2025.04.25 13:09:48.954
5 3.0.13.33803 2025.03.25 ea22a F E 703 2405 2025.04.20 08:18:31.035 2025.04.20 08:18:31.738 2025.04.20 07:19:32.684 2025.04.20 07:19:35.089

Elapsed time, ms. Chart for last 5 runs:

Last commits information (all timestamps in UTC):