raise_objection() and drop_objection() drive a counter that decides when a phase may end, so every raise needs exactly one drop. Drop more than you raised and UVM reports UVM_FATAL (OBJTN_ZERO) rather than clamping the count at zero.
run_phase does its work (recorded = 42;) correctly, then drops an objection it never raised.
Right nowrecorded becomes 42, then a UVM_FATAL fires.
Fix run_phase so no UVM_FATAL occurs.
One working answer: brokenbench's own fix for this exercise. Try a few runs first.
What changes, against the code you started with:
docker run --pull always --rm -p 127.0.0.1:8787:8787 ghcr.io/adibis/brokenbench-runnerLooking for a runner on this computer…
The first start downloads about 250 MB; after that it starts in seconds and only downloads again when there's an update. Your code goes to the runner on your computer, not to chipdv.io.