zuul/tests
James E. Blair 186792d5cd Handle missing config files in zuul-web
The following sequence is possible:

1) New project added to tenant config file
2) Scheduler begins smart reconfiguration
3) Scheduler encounters problem accessing the branch list for the
   new repo.  This is treated as a ConfigurationError and added
   to the layout error list but proceeds.
?) If at some point a branch listing for the new project has succeeded,
   there will be an entry for the branch in the branch cache.
4) A zuul-web starts (or attempts a reconfiguration), sees the branch
   in the branch cache, attempts to load the files from the config
   cache, and fails to load the layout.

The scheduler and web show different behaviors because web is unable
to fetch files via mergers.  To bring them closer to the same behavior,
treat missing files from the config cache as layout errors.

Change-Id: I76d659f558cc3ed95a6ba7259d11b457ca57976c
2022-01-13 15:37:51 -08:00
..
fixtures Fix erroneous semaphore leak cleanup 2021-12-14 16:38:57 -08:00
nodepool Don't use the AnsibleJob in the nodepool client 2021-09-10 10:55:01 -07:00
remote Fix zuul client and remote tests 2021-06-24 11:36:17 -07:00
unit Handle missing config files in zuul-web 2022-01-13 15:37:51 -08:00
zuul_client Merge "Don't clear connection caches during full reconfig" 2021-07-09 16:40:05 +00:00
__init__.py Add non-voting jobs. 2012-08-23 23:20:09 +00:00
base.py Add readiness/liveness probes to prometheus server 2021-12-09 07:37:29 -08:00
encrypt_secret.py Make tests' encrypt_secret.py work with python3 2017-10-19 18:09:57 +00:00
fake_graphql.py Fetch can-merge info when updating a pull-request 2020-09-23 12:03:55 +02:00
fakegithub.py github: more complete mocking for app setup 2021-09-23 19:53:48 +10:00
fakegitlab.py Perform actual HTTP requests in gitlab tests 2021-10-14 16:29:44 -07:00
make_playbooks.py Use libyaml if possible 2017-04-04 11:49:05 -07:00
print_layout.py Do not add implied branch matchers in project-templates 2017-09-30 10:19:07 -07:00