"F"-serie (CS): len=38, 6.0.0.1824 2026.03.13 c7ba4cac - 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_1549/test.fdb)
-wrong page type
-page 0 is of wrong type (expected index root, found database header)

LOG DETAILS:

2026-05-07 06:28:07.050
2026-05-07 06:28:07.059 act = <firebird.qa.plugin.Action object at [hex]>
2026-05-07 06:28:07.066
2026-05-07 06:28:07.073 @pytest.mark.version('>=3')
2026-05-07 06:28:07.078 def test_1(act: Action):
2026-05-07 06:28:07.083 with act.connect_server() as srv:
2026-05-07 06:28:07.092 srv.info.get_log()
2026-05-07 06:28:07.097 log_before = srv.readlines()
2026-05-07 06:28:07.102 with act.db.connect() as con1, act.db.connect() as con2:
2026-05-07 06:28:07.110 c1 = con1.cursor()
2026-05-07 06:28:07.117 c1.execute("create table test(id int primary key)")
2026-05-07 06:28:07.123 con1.commit()
2026-05-07 06:28:07.128 #
2026-05-07 06

[...SKIPPED...]

= self.status.get_state()
2026-05-07 06:28:07.888 if StateFlag.ERRORS in state:
2026-05-07 06:28:07.895 >           raise self.__report(DatabaseError, self.status.get_errors())
2026-05-07 06:28:07.901 E           firebird.driver.types.DatabaseError: unsuccessful metadata update
2026-05-07 06:28:07.907 E           -DROP TABLE "PUBLIC"."TEST" failed
2026-05-07 06:28:07.913 E           -database file appears corrupt (/var/tmp/qa_2024/test_1549/test.fdb)
2026-05-07 06:28:07.919 E           -wrong page type
2026-05-07 06:28:07.926 E           -page 0 is of wrong type (expected index root, found database header)
2026-05-07 06:28:07.933
2026-05-07 06:28:07.944 ../lib/python3.11/site-packages/firebird/driver/interfaces.py:141: DatabaseError
2026-05-07 06:28:07.952 ---------------------------- Captured stdout setup -----------------------------
2026-05-07 06:28:07.962 Creating db: localhost:/var/tmp/qa_2024/test_1549/test.fdb [page_size=None, sql_dialect=None, charset='NONE', user=SYSDBA, password=masterkey]