zuul/tests/fixtures/config/job-pause/git
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
..
common-config Remove auto-add of localhost from unit test inventory 2019-09-12 14:42:09 +10:00
org_project Support job pause 2018-08-09 10:07:34 +02:00
org_project2 Check paused parent on node failure of child job 2018-10-12 07:37:44 +02:00
org_project3 Resume paused job with skipped children 2018-11-05 12:06:32 +01:00
org_project4 Fix bug that allowed failing jobs to pause 2020-07-08 14:47:04 +02:00
org_project5 Correctly handle skipped jobs on retries 2020-07-10 19:23:53 +02:00
org_project6 Fix repo state restore / Keep jobgraphs frozen 2021-04-21 14:53:54 -07:00