zuul/tests/fixtures/config/semaphore
Tobias Henkel fc11cf1334 Fix repo state restore / Keep jobgraphs frozen
This is two changes squashed.  First:

Fix missing repo state restore

The global repo state handling misses the restoration of the repo
states of projects that are not part of the dependency chain. This can
be generically fixed by ensuring that the repo state is restored
immediately after clone into the job workspace.

Original Change-Id: I61db67edb3952cdba7709b5b597dac93be4b6dde

Second:

Keep jobgraphs frozen across reconfiguration

This removes test cases which are no longer be relevant.

Many of these were testing various mutations across reconfigurations,
but with job graphs frozen, about the only thing that we expect to
change now is when a pipeline, project, or tenant is deleted.  Test
cases are modified or added to test these.

It appears even the current code may have some bugs related to deleting
pipelines and tenants.  The improved testing in this change highlighted
that.  The scheduler is updated to ensure that it cancels all jobs on
pipelines or tenants that are removed from a running configuration.  This
should ensure we don't leak nodes or semaphores.

Change-Id: I2e4bd2fb9222b49cb10661d28d4c52a3c994ba62
Co-Authored-By: James E. Blair <jim@acmegating.com>
2021-04-21 14:53:54 -07:00
..
git Fix rare semaphore leak during reconfiguration 2019-02-25 15:38:24 +01:00
main.yaml Fix missing semaphore release on node failure 2019-01-18 08:34:58 +01:00
zuul-reconfiguration.yaml Fix repo state restore / Keep jobgraphs frozen 2021-04-21 14:53:54 -07:00