Fix missing duration for blocked pipelines
What does this MR do?
This MR fixes missing pipeline duration for blocked pipelines.
Does this MR meet the acceptance criteria?
-
Changelog entry added, if necessary -
Tests aded for this bug
What are the relevant issue numbers?
Closes #31264 (closed)