"F"-serie (CS): len=24, 6.0.0.1806 2026.03.01 72cd2509 - 6.0.0.1887 2026.04.09 2e189290
assert   
    Statement failed, SQLSTATE = 23000
  + unsuccessful metadata update
  + -ALTER TABLE "PUBLIC"."TDETL" failed
  - violation of FOREIGN KEY constraint "TDETL_FK" on table "PUBLIC"."TDETL"
  + -violation of FOREIGN KEY constraint "TDETL_FK" on table "PUBLIC"."TDETL"
    -Foreign key reference target does not exist
    -Problematic key value is ("PID" = 2)

LOG DETAILS:

2026-03-30 04:32:12.721
2026-03-30 04:32:12.721 act = <firebird.qa.plugin.Action object at [hex]>
2026-03-30 04:32:12.721
2026-03-30 04:32:12.721     @pytest.mark.version('>=3')
2026-03-30 04:32:12.721     def test_1(act: Action):
2026-03-30 04:32:12.721
2026-03-30 04:32:12.721         SCHEMA_PREFIX = '' if act.is_version('<6') else '"PUBLIC".'
2026-03-30 04:32:12.721
2026-03-30 04:32:12.721         expected_stdout = f"""
2026-03-30 04:32:12.721             Statement failed, SQLSTATE = 23000
2026-03-30 04:32:12.721             violation

[...SKIPPED...]

 act.clean_expected_stdout
2026-03-30 04:32:12.721 E       assert
2026-03-30 04:32:12.721 E           Statement failed, SQLSTATE = 23000
2026-03-30 04:32:12.721 E         + unsuccessful metadata update
2026-03-30 04:32:12.721 E         + -ALTER TABLE "PUBLIC"."TDETL" failed
2026-03-30 04:32:12.721 E         - violation of FOREIGN KEY constraint "TDETL_FK" on table "PUBLIC"."TDETL"
2026-03-30 04:32:12.721 E         + -violation of FOREIGN KEY constraint "TDETL_FK" on table "PUBLIC"."TDETL"
2026-03-30 04:32:12.721 E           -Foreign key reference target does not exist
2026-03-30 04:32:12.721 E           -Problematic key value is ("PID" = 2)
2026-03-30 04:32:12.721
2026-03-30 04:32:12.721 tests\bugs\core_3691_test.py:50: AssertionError
2026-03-30 04:32:12.721 ---------------------------- Captured stdout setup ----------------------------
2026-03-30 04:32:12.721 Creating db: localhost:R:\Temp\qa\fbqa\test_1659\test.fdb [page_size=None, sql_dialect=None, charset='NONE', user=SYSDBA, password=masterkey]