AssertionError: Init script failed.
assert   
  - Statement failed, SQLSTATE = 39000
  - unsuccessful metadata update
  - -CREATE OR ALTER VIEW V_CHECK failed
  - -Dynamic SQL Error
  - -SQL error code = -804
  - -Function unknown
  - -RDB$ROLE_IN_USE
  - Statement failed, SQLSTATE = 42000
  - unsuccessful metadata update
  - -GRANT failed
  - -Table V_CHECK does not exist
  - Statement failed, SQLSTATE = 42000
  - Dynamic SQL Error
  - -SQL error code = -104
  - -Token unknown - line 2, column 17
  - -system
  - Statement failed, SQLSTATE = 42000
  - Dynamic SQL Error
  - -SQL error code = -104
  - -Token unknown - line 1, column 7
  - -default

LOG DETAILS:

2026-01-16 20:11:02.347
2026-01-16 20:11:02.354 act = <firebird.qa.plugin.Action object at [hex]>
2026-01-16 20:11:02.360 tmp_user = <firebird.qa.plugin.User object at [hex]>
2026-01-16 20:11:02.368 tmp_role = <firebird.qa.plugin.Role object at [hex]>
2026-01-16 20:11:02.379 capsys = <_pytest.capture.CaptureFixture object at [hex]>
2026-01-16 

[...SKIPPED...]

SQLSTATE = 42000
2026-01-16 20:11:03.152 E         - Dynamic SQL Error
2026-01-16 20:11:03.161 E         - -SQL error code = -104
2026-01-16 20:11:03.174 E         - -Token unknown - line 1, column 7
2026-01-16 20:11:03.184 E         - -default
2026-01-16 20:11:03.193
2026-01-16 20:11:03.202 tests/functional/syspriv/test_access_shutdown_database.py:158: AssertionError
2026-01-16 20:11:03.209 ---------------------------- Captured stdout setup -----------------------------
2026-01-16 20:11:03.216 Creating db: localhost:/var/tmp/qa_2024/test_11945/test.fdb [page_size=None, sql_dialect=None, charset='NONE', user=SYSDBA, password=masterkey]
2026-01-16 20:11:03.225 CREATE user: TMP_SYSPRIV_USER PLUGIN: Srp
2026-01-16 20:11:03.238 CREATE role: TMP_ROLE_FOR_ACCESS_SHUTDOWN_DB
2026-01-16 20:11:03.247 --------------------------- Captured stdout teardown ---------------------------
2026-01-16 20:11:03.260 DROP role: TMP_ROLE_FOR_ACCESS_SHUTDOWN_DB
2026-01-16 20:11:03.270 DROP user: TMP_SYSPRIV_USER PLUGIN: Srp