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
AssertionError: assert   
  - 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 '{'>

LOG DETAILS:

2025-04-18 15:27:46.366
2025-04-18 15:27:46.379 act = <firebird.qa.plugin.Action object at [hex]>
2025-04-18 15:27:46.394 tmp_file = PosixPath('/var/tmp/qa_2024/test_11692/databases-conf.copy')
2025-04-18 15:27:46.405 capsys = <_pytest.capture.CaptureFixture object at [hex]>
2025-04-18 15:27:46.419
2025-04-18 15:27:46.431 @pytest.mark.version('>=3.0.13')
2025-04-18 15:27:46.439 def test_1(act: Action, tmp_file: Path, capsys):
2025-04-18 15:27:46.454
2025-04-18 15:27:46.470 try:
2025-04-18 15:27:46.485 shutil.copy2(act.home_dir/'databases.conf', tmp_file)
2025-04-18 15:27:46.496 with open(act.home_dir/'databases.conf', 'w') as f:
2025-04-18 15:27:46.505 f.write(WRONG_DBCONF)
2025-04-18 15:27:46.519 act.isql(switches = ['-q'], input = f'connect {act.db.dsn};', combine_output = True)
2025-04-18 15:27:46.531 except Error as e:
2025-04-18 15:27:46.543 # Despite crash, no messages were issued here before fix.
2025-04-18 15:27:46.552 print(e)
2025-04-18 15:27:46.563 finally:
2025-04-18 15:27:46.579 shutil.copy2(tmp_file, act.home_dir/'databases.conf')
2025-04-18 15:27:46.588
2025-04-18 15:27:46.597 for line in act.stdout.splitlines():
2025-04-18 15:27:46.610 if (pos := line.lower().find('databases.conf')) > 0:
2025-04-18 15:27:46.624 print(line.lower()[pos:])
2025-04-18 15:27:46.633 else:
2025-04-18 15:27:46.641 print(line)
2025-04-18 15:27:46.647
2025-04-18 15:27:46.654 act.expected_stdout = f"""
2025-04-18 15:27:46.661 Statement failed, SQLSTATE = XX000
2025-04-18 15:27:46.677 databases.conf: illegal line <master parameter is missing before subconfig start '{{'>
2025-04-18 15:27:46.687 Statement failed, SQLSTATE = XX000
2025-04-18 15:27:46.696 databases.conf: illegal line <master parameter is missing before subconfig start '{{'>
2025-04-18 15:27:46.709 """
2025-04-18 15:27:46.721 act.stdout = capsys.readouterr().out
2025-04-18 15:27:46.731 >       assert act.clean_stdout == act.clean_expected_stdout
2025-04-18 15:27:46.739 E       AssertionError: assert
2025-04-18 15:27:46.745 E         - Statement failed, SQLSTATE = XX000
2025-04-18 15:27:46.760 E         - databases.conf: illegal line <master parameter is missing before subconfig start '{'>
2025-04-18 15:27:46.773 E         - Statement failed, SQLSTATE = XX000
2025-04-18 15:27:46.788 E         - databases.conf: illegal line <master parameter is missing before subconfig start '{'>
2025-04-18 15:27:46.800
2025-04-18 15:27:46.814 tests/bugs/gh_8485_test.py:64: AssertionError
2025-04-18 15:27:46.829 ---------------------------- Captured stdout setup -----------------------------
2025-04-18 15:27:46.840 Creating db: localhost:/var/tmp/qa_2024/test_11692/test.fdb [page_size=None, sql_dialect=None, charset='NONE', user=SYSDBA, password=masterkey]
3 #text
act = <firebird.qa.plugin.Action pytest object at [hex]>
tmp_file = PosixPath('/var/tmp/qa_2024/test_11692/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         - Statement failed, SQLSTATE = XX000
E         - databases.conf: illegal line <master parameter is missing before subconfig start '{'>

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 5.0.3.1674 2025.06.27 3ee5c S S 6 9 2025.07.03 10:58:29.502 2025.07.03 10:58:29.508 2025.07.03 09:37:54.583 2025.07.03 09:37:54.592
2 5.0.3.1657 2025.06.19 4bd4c S S 5 9 2025.06.27 12:22:22.645 2025.06.27 12:22:22.650 2025.06.27 11:03:08.085 2025.06.27 11:03:08.094
3 5.0.3.1657 2025.06.11 dae6f S S 7 10 2025.06.17 07:27:30.974 2025.06.17 07:27:30.981 2025.06.17 06:07:01.767 2025.06.17 06:07:01.777
4 5.0.3.1657 2025.06.10 dbc92 S S 9 11 2025.06.11 12:18:01.880 2025.06.11 12:18:01.889 2025.06.11 10:49:00.437 2025.06.11 10:49:00.448
5 5.0.3.1656 2025.05.20 c4b11 S S 8 6 2025.06.10 12:11:54.732 2025.06.10 12:11:54.740 2025.06.10 10:47:21.022 2025.06.10 10:47:21.028
6 5.0.3.1652 2025.05.13 f51c6 S S 10 9 2025.05.20 05:16:17.957 2025.05.20 05:16:17.967 2025.05.20 03:39:52.394 2025.05.20 03:39:52.403
7 5.0.3.1651 2025.04.30 141ef S S 8 10 2025.05.13 12:14:19.171 2025.05.13 12:14:19.179 2025.05.13 10:36:47.877 2025.05.13 10:36:47.887
8 5.0.3.1650 2025.04.28 4cbff S S 9 8 2025.05.01 11:48:07.771 2025.05.01 11:48:07.780 2025.05.01 10:11:32.875 2025.05.01 10:11:32.883
9 5.0.3.1649 2025.04.21 5b2d0 S S 9 10 2025.04.28 05:45:52.551 2025.04.28 05:45:52.560 2025.04.28 04:11:11.276 2025.04.28 04:11:11.286
10 5.0.3.1648 2025.04.18 2f4c5 P P 574 289 2025.04.20 05:37:34.822 2025.04.20 05:37:35.396 2025.04.20 04:05:29.658 2025.04.20 04:05:29.947
11 5.0.3.1635 2025.03.31 22ec6 F F 618 241 2025.04.18 12:00:44.649 2025.04.18 12:00:45.267 2025.04.18 10:24:42.655 2025.04.18 10:24:42.896

Elapsed time, ms. Chart for last 11 runs:

Last commits information (all timestamps in UTC):