Fix missing mutex release when aborting builds
Currently when zuul aborts a build due to e.g. abandoning a change the mutex doesn't get released. This blocks all further jobs requiring the mutex until zuul is restarted. This adds test cases for detecting this and the missing mutex releases. This is a port from I37e69310fed045c5a41bd4eccb151c8826f342ea to zuulv3 branch. Change-Id: I5e78bdf4e37227027e3a16fb88bae1a0c2002aaf
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
- hosts: all
|
||||
tasks: []
|
||||
23
tests/fixtures/config/single-tenant/git/layout-mutex-reconfiguration/zuul.yaml
vendored
Normal file
23
tests/fixtures/config/single-tenant/git/layout-mutex-reconfiguration/zuul.yaml
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
- pipeline:
|
||||
name: check
|
||||
manager: independent
|
||||
source:
|
||||
gerrit
|
||||
trigger:
|
||||
gerrit:
|
||||
- event: patchset-created
|
||||
success:
|
||||
gerrit:
|
||||
verified: 1
|
||||
failure:
|
||||
gerrit:
|
||||
verified: -1
|
||||
|
||||
- job:
|
||||
name: project-test1
|
||||
|
||||
- project:
|
||||
name: org/project
|
||||
check:
|
||||
jobs:
|
||||
- project-test1
|
||||
Reference in New Issue
Block a user