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   
    Statement failed, SQLSTATE = XX000
  - databases.conf: illegal line <master parameter is missing before subconfig start '{'>
  + databases.conf: illegal line <subconfig miss master parameter>
    Statement failed, SQLSTATE = XX000
  - databases.conf: illegal line <master parameter is missing before subconfig start '{'>
  + databases.conf: illegal line <subconfig miss master parameter>

LOG DETAILS:

2025-04-20 11:25:58.775
2025-04-20 11:25:58.775 act = <firebird.qa.plugin.Action object at [hex]>
2025-04-20 11:25:58.775 tmp_file = WindowsPath('H:/QA/temp/qa2024.tmp/fbqa/test_11347/databases-conf.copy')
2025-04-20 11:25:58.775 capsys = <_pytest.capture.CaptureFixture object at [hex]>
2025-04-20 11:25:58.775
2025-04-20 11:25:58.775     @pytest.mark.version('>=3.0.13')
2025-04-20 11:25:58.776     def test_1(act: Action, tmp_file: Path, capsys):
2025-04-20 11:25:58.776
2025-04-20 11:25:58.776         try:
2025-04-20 11:25:58.776             shutil.copy2(act.home_dir/'databases.conf', tmp_file)
2025-04-20 11:25:58.776             with open(act.home_dir/'databases.conf', 'w') as f:
2025-04-20 11:25:58.776                 f.write(WRONG_DBCONF)
2025-04-20 11:25:58.776             act.isql(switches = ['-q'], input = f'connect {act.db.dsn};', combine_output = True)
2025-04-20 11:25:58.776         except Error as e:
2025-04-20 11:25:58.776             # Despite crash, no messages were issued here before fix.
2025-04-20 11:25:58.776             print(e)
2025-04-20 11:25:58.776         finally:
2025-04-20 11:25:58.776             shutil.copy2(tmp_file, act.home_dir/'databases.conf')
2025-04-20 11:25:58.776
2025-04-20 11:25:58.776         for line in act.stdout.splitlines():
2025-04-20 11:25:58.776             if (pos := line.lower().find('databases.conf')) > 0:
2025-04-20 11:25:58.776                 print(line.lower()[pos:])
2025-04-20 11:25:58.776             else:
2025-04-20 11:25:58.776                 print(line)
2025-04-20 11:25:58.776
2025-04-20 11:25:58.776         act.expected_stdout = f"""
2025-04-20 11:25:58.776             Statement failed, SQLSTATE = XX000
2025-04-20 11:25:58.777             databases.conf: illegal line <master parameter is missing before subconfig start '{{'>
2025-04-20 11:25:58.777             Statement failed, SQLSTATE = XX000
2025-04-20 11:25:58.777             databases.conf: illegal line <master parameter is missing before subconfig start '{{'>
2025-04-20 11:25:58.777         """
2025-04-20 11:25:58.777         act.stdout = capsys.readouterr().out
2025-04-20 11:25:58.777 >       assert act.clean_stdout == act.clean_expected_stdout
2025-04-20 11:25:58.777 E       AssertionError: assert
2025-04-20 11:25:58.777 E           Statement failed, SQLSTATE = XX000
2025-04-20 11:25:58.777 E         - databases.conf: illegal line <master parameter is missing before subconfig start '{'>
2025-04-20 11:25:58.777 E         + databases.conf: illegal line <subconfig miss master parameter>
2025-04-20 11:25:58.777 E           Statement failed, SQLSTATE = XX000
2025-04-20 11:25:58.777 E         - databases.conf: illegal line <master parameter is missing before subconfig start '{'>
2025-04-20 11:25:58.777 E         + databases.conf: illegal line <subconfig miss master parameter>
2025-04-20 11:25:58.777
2025-04-20 11:25:58.777 tests\bugs\gh_8485_test.py:64: AssertionError
2025-04-20 11:25:58.777 ---------------------------- Captured stdout setup ----------------------------
2025-04-20 11:25:58.777 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]>
tmp_file = WindowsPath('H:/QA/temp/qa2024.tmp/fbqa/test_11347/databases-conf.copy')
capsys = <_pytest.capture.CaptureFixture pytest object at [hex]>

    @pytest.mark.version('>=3.0.13')
    def test_1(act: Action, tmp_file: Path, capsys):
    
        try:
            shutil.copy2(act.home_dir/'databases.conf', tmp_file)
            with open(act.home_dir/'databases.conf', 'w') as f:
                f.write(WRONG_DBCONF)
            act.isql(switches = ['-q'], input = f'connect {act.db.dsn};', combine_output = True)
        except Error as e:
            # Despite crash, no messages were issued here before fix.
            print(e)
        finally:
            shutil.copy2(tmp_file, act.home_dir/'databases.conf')
    
        for line in act.stdout.splitlines():
            if (pos := line.lower().find('databases.conf')) > 0:
                print(line.lower()[pos:])
            else:
                print(line)
    
        act.expected_stdout = f"""
            Statement failed, SQLSTATE = XX000
            databases.conf: illegal line <master parameter is missing before subconfig start '{{'>
            Statement failed, SQLSTATE = XX000
            databases.conf: illegal line <master parameter is missing before subconfig start '{{'>
        """
        act.stdout = capsys.readouterr().out
>       assert act.clean_stdout == act.clean_expected_stdout
E       AssertionError: assert   
E           Statement failed, SQLSTATE = XX000
E         - databases.conf: illegal line <master parameter is missing before subconfig start '{'>
E         + databases.conf: illegal line <subconfig miss master parameter>
E           Statement failed, SQLSTATE = XX000
E         - databases.conf: illegal line <master parameter is missing before subconfig start '{'>
E         + databases.conf: illegal line <subconfig miss master parameter>

tests\bugs\gh_8485_test.py:64: 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 S S 1 1 2025.06.29 14:46:11.232 2025.06.29 14:46:11.233 2025.06.29 14:08:42.830 2025.06.29 14:08:42.831
2 3.0.13.33809 2025.05.06 28ad0 S S 2 2 2025.05.14 08:27:49.411 2025.05.14 08:27:49.413 2025.05.14 07:48:41.719 2025.05.14 07:48:41.721
3 3.0.13.33808 2025.04.25 28426 S S 2 1 2025.05.06 13:38:33.373 2025.05.06 13:38:33.375 2025.05.06 13:01:21.894 2025.05.06 13:01:21.895
4 3.0.13.33803 2025.04.23 307b8 S S 2 2 2025.04.25 13:47:10.012 2025.04.25 13:47:10.014 2025.04.25 13:09:48.266 2025.04.25 13:09:48.268
5 3.0.13.33803 2025.03.25 ea22a F E 443 2386 2025.04.20 08:18:30.013 2025.04.20 08:18:30.456 2025.04.20 07:19:27.883 2025.04.20 07:19:30.269

Elapsed time, ms. Chart for last 5 runs:

Last commits information (all timestamps in UTC):