Hello, we are experiencing the issue as well.
We are using Gerrit too. The pipeline code (.groovy) file is being checked out on master, causing issues with locking workspace, preventing multiple job executions at once.
When examining thread dumps we can see multiple threads that are waiting to acquire workspace:
Waiting to acquire /var/lib/jenkins/jobs/VERIFY/jobs/VERIFY/jobs/VERIFY_E2E_TESTS/workspace@script/0419e2442d94ef5f69637204e14a72fecf11342317af3b0f5723980143096367 : Executor #-1 for Built-In Node : executing VERIFY/VERIFY/VERIFY_E2E_TESTS #247669
java.base@11.0.20.1/java.lang.Object.wait(Native Method)
java.base@11.0.20.1/java.lang.Object.wait(Object.java:328)
hudson.slaves.WorkspaceList.acquire(WorkspaceList.java:261)
hudson.slaves.WorkspaceList.acquire(WorkspaceList.java:240)
hudson.slaves.WorkspaceList.acquire(WorkspaceList.java:229)
org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition.create(CpsScmFlowDefinition.java:155)
org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition.create(CpsScmFlowDefinition.java:70)
org.jenkinsci.plugins.workflow.job.WorkflowRun.run(WorkflowRun.java:310)
hudson.model.ResourceController.execute(ResourceController.java:99)
hudson.model.Executor.run(Executor.java:432)
and the job stops at:
I've not seen this for my multibranch Pipeline builds. My multibranch Pipeline don't use Gerrit, but they can run many branches at the same time.
I think that you'll need to provide more detailed instructions so that others can see the failure in a fresh installation of Jenkins.