"F"-serie (CS): len=2, 6.0.0.1955 2026.05.16 8eb7bba9 - 6.0.0.1959 2026.05.19 fa5b1473
firebird.driver.types.DatabaseError: unsuccessful metadata update
-DROP TABLE "PUBLIC"."TEST" failed
-database file appears corrupt (/var/tmp/qa_2024/test_12364/test.fdb)
-wrong page type
-page 0 is of wrong type (expected index root, found database header)

LOG DETAILS:

2026-05-20 07:00:30.227
2026-05-20 07:00:30.239 act = <firebird.qa.plugin.Action object at [hex]>
2026-05-20 07:00:30.247 capsys = <_pytest.capture.CaptureFixture object at [hex]>
2026-05-20 07:00:30.257
2026-05-20 07:00:30.268 @pytest.mark.version('>=6.0')
2026-05-20 07:00:30.279 def test_1(act: Action, capsys):
2026-05-20 07:00:30.289
2026-05-20 07:00:30.301 custom_tpb = tpb(isolation=Isolation.SNAPSHOT, access_mode=TraAccessMode.WRITE, lock_timeout = -1)
2026-05-20 07:00:30.311
2026-05-20 07:00:30.324 with act.db.connect() as con:
2026-05-20 07:00:30.335 tx1a = con.transaction_manager(custom_tpb)
2026-05-20 07:00:30.348 tx1a.begin()
2026-05-20

[...SKIPPED...]

self.status.get_state()
2026-05-20 07:00:31.211 if StateFlag.ERRORS in state:
2026-05-20 07:00:31.216 >           raise self.__report(DatabaseError, self.status.get_errors())
2026-05-20 07:00:31.224 E           firebird.driver.types.DatabaseError: unsuccessful metadata update
2026-05-20 07:00:31.231 E           -DROP TABLE "PUBLIC"."TEST" failed
2026-05-20 07:00:31.237 E           -database file appears corrupt (/var/tmp/qa_2024/test_12364/test.fdb)
2026-05-20 07:00:31.244 E           -wrong page type
2026-05-20 07:00:31.252 E           -page 0 is of wrong type (expected index root, found database header)
2026-05-20 07:00:31.259
2026-05-20 07:00:31.265 ../lib/python3.11/site-packages/firebird/driver/interfaces.py:141: DatabaseError
2026-05-20 07:00:31.271 ---------------------------- Captured stdout setup -----------------------------
2026-05-20 07:00:31.277 Creating db: localhost:/var/tmp/qa_2024/test_12364/test.fdb [page_size=None, sql_dialect=None, charset='NONE', user=SYSDBA, password=masterkey]