assert   
  + Unexpected p_sweep.returncode=0. Timestamps: sweep_kill_beg=datetime.datetime(2026, 8, 23, 9, 14, 18, 22142), sweep_kill_end=datetime.datetime(2026, 8, 23, 9, 14, 18, 22142) (compare with firebird.log if needed)
    FOUND SWEEP_FAILED MESSAGE.
    FIREBIRD.LOG: + SWEEP IS STARTED BY SYSDBA
    FIREBIRD.LOG: + OIT, OAT, OST, NEXT
    FIREBIRD.LOG: + ERROR DURING SWEEP OF TEST.FDB
  - FIREBIRD.LOG: + CONNECTION SHUTDOWN
  + FIREBIRD.LOG: + SWEEP IS STARTED BY SYSDBA
  + FIREBIRD.LOG: + OIT, OAT, OST, NEXT
  + FIREBIRD.LOG: + SWEEP IS FINISHED
  + FIREBIRD.LOG: + OIT, OAT, OST, NEXT

LOG DETAILS:

2026-08-23 09:33:33.175
2026-08-23 09:33:33.175 act = <firebird.qa.plugin.Action object at [hex]>
2026-08-23 09:33:33.175 sweep_log = WindowsPath('R:/Temp/qa/fbqa/test_1822/tmp_4337_sweep.log')
2026-08-23 09:33:33.175 capsys = <_pytest.capture.CaptureFixture object at [hex]>
2026-08-23 09:33:33.175
2026-08-23 09:33:33.175     @pytest.mark.trace
2026-08-23 09:33:33.175     @pytest.mark.version('>

[...SKIPPED...]

:33.190 E           FOUND SWEEP_FAILED MESSAGE.
2026-08-23 09:33:33.190 E           FIREBIRD.LOG: + SWEEP IS STARTED BY SYSDBA
2026-08-23 09:33:33.190 E           FIREBIRD.LOG: + OIT, OAT, OST, NEXT
2026-08-23 09:33:33.190 E           FIREBIRD.LOG: + ERROR DURING SWEEP OF TEST.FDB
2026-08-23 09:33:33.190 E         - FIREBIRD.LOG: + CONNECTION SHUTDOWN
2026-08-23 09:33:33.190 E         + FIREBIRD.LOG: + SWEEP IS STARTED BY SYSDBA
2026-08-23 09:33:33.190 E         + FIREBIRD.LOG: + OIT, OAT, OST, NEXT
2026-08-23 09:33:33.190 E         + FIREBIRD.LOG: + SWEEP IS FINISHED
2026-08-23 09:33:33.190 E         + FIREBIRD.LOG: + OIT, OAT, OST, NEXT
2026-08-23 09:33:33.190
2026-08-23 09:33:33.190 tests\bugs\core_4337_test.py:375: AssertionError
2026-08-23 09:33:33.190 ---------------------------- Captured stdout setup ----------------------------
2026-08-23 09:33:33.190 Creating db: localhost:R:\Temp\qa\fbqa\test_1822\test.fdb [page_size=16384, sql_dialect=None, charset='NONE', user=SYSDBA, password=masterkey]