assert   
    REQ_ALIAS                       tmp_gh_6860_fb25_alias
    MSG                             DB creation completed OK.
  + Statement failed, SQLSTATE = 28000
  + unsuccessful metadata update
  + -ALTER DATABASE failed
  + -no permission for ALTER access to DATABASE

LOG DETAILS:

2026-07-23 20:54:26.165
2026-07-23 20:54:26.165 act = <firebird.qa.plugin.Action object at [hex]>
2026-07-23 20:54:26.165 capsys = <_pytest.capture.CaptureFixture object at [hex]>
2026-07-23 20:54:26.165
2026-07-23 20:54:26.165     @pytest.mark.version('>=4.0')
2026-07-23 20:54:26.165     def test_1(act: Action, capsys):
2026-07-23 20:54:26.165
2026-07-23 20:54:26.165
2026-07-23 20:54:26.165         for req_alias in ('tmp_gh_6860_fb25_alias', 'tmp_gh_6860_fb30_alias'):
2026-07-23 20:54:26.165
2026-07-23 20:54:26.165             # Scan line-by-line through databases.conf, find line starting with REQUIRED_ALIAS and extract name of file that
2026-07-23 20:54:26.165             # must be created in the $(dir_sampleD

[...SKIPPED...]

)
2026-07-23 20:54:26.165 >               assert act.clean_stdout == act.clean_expected_stdout
2026-07-23 20:54:26.165 E               assert
2026-07-23 20:54:26.165 E                   REQ_ALIAS                       tmp_gh_6860_fb25_alias
2026-07-23 20:54:26.165 E                   MSG                             DB creation completed OK.
2026-07-23 20:54:26.165 E                 + Statement failed, SQLSTATE = 28000
2026-07-23 20:54:26.165 E                 + unsuccessful metadata update
2026-07-23 20:54:26.165 E                 + -ALTER DATABASE failed
2026-07-23 20:54:26.165 E                 + -no permission for ALTER access to DATABASE
2026-07-23 20:54:26.165
2026-07-23 20:54:26.165 tests\bugs\gh_6860_test.py:97: AssertionError
2026-07-23 20:54:26.165 ---------------------------- Captured stdout setup ----------------------------
2026-07-23 20:54:26.165 Creating db: localhost:R:\Temp\qa\fbqa\test_11458\test.fdb [page_size=None, sql_dialect=None, charset='NONE', user=SYSDBA, password=masterkey]