firebird.qa.plugin.ExecutionError: Test script execution failed

Statement failed, SQLSTATE = 23000
violation of FOREIGN KEY constraint "TEST_F02_FKEY" on table "TEST"
-Foreign key reference target does not exist
-Problematic key value is ("F02" = x'004980FE272C4E7D83138E8F3E8810E0')
Statement failed, SQLSTATE = 42000
unsuccessful metadata update
-ALTER TABLE TEST failed
-CONSTRAINT TEST_F02_FKEY does not exist.
Statement failed, SQLSTATE = 23000
violation of FOREIGN KEY constraint "TEST_F02_FKEY" on table "TEST"
-Foreign key reference target does not exist
-Problematic key value is ("F02" = x'004980FE272C4E7D83138E8F3E8810E0')

LOG DETAILS:

2026-06-17 10:04:06.969
2026-06-17 10:04:06.969 act = <firebird.qa.plugin.Action object at [hex]>
2026-06-17 10:04:06.969
2026-06-17 10:04:06.969     @pytest.mark.version('>=3.0.15')
2026-06-17 10:04:06.969     def test_1(act: Action):
2026-06-17 10:04:06.969         act.expected_stdout = expected_stdout
2026-06-17 10:04:06.969 >       act.execute()
2026-06-17 

[...SKIPPED...]

1341\test.fdb, User: SYSDBA
2026-06-17 10:04:06.969
2026-06-17 10:04:06.969 -------------------------- Captured ISQL stderr call --------------------------
2026-06-17 10:04:06.969 Statement failed, SQLSTATE = 23000
2026-06-17 10:04:06.969 violation of FOREIGN KEY constraint "TEST_F02_FKEY" on table "TEST"
2026-06-17 10:04:06.969 -Foreign key reference target does not exist
2026-06-17 10:04:06.969 -Problematic key value is ("F02" = x'004980FE272C4E7D83138E8F3E8810E0')
2026-06-17 10:04:06.969 Statement failed, SQLSTATE = 42000
2026-06-17 10:04:06.969 unsuccessful metadata update
2026-06-17 10:04:06.969 -ALTER TABLE TEST failed
2026-06-17 10:04:06.969 -CONSTRAINT TEST_F02_FKEY does not exist.
2026-06-17 10:04:06.969 Statement failed, SQLSTATE = 23000
2026-06-17 10:04:06.969 violation of FOREIGN KEY constraint "TEST_F02_FKEY" on table "TEST"
2026-06-17 10:04:06.969 -Foreign key reference target does not exist
2026-06-17 10:04:06.969 -Problematic key value is ("F02" = x'004980FE272C4E7D83138E8F3E8810E0')