zuul/tests
James E. Blair 735aae7b37 Resolve cache keys when gathering related changes
When we clean up the connection cache, we exclude changes which
are in pipelines and any changes related to those.  Gathering the
related changes is a partially recursive function.  When we switched
to using cache key references for keeping track of dependencies
between changes (rather than direct in-memory object references),
we did not update the method which recursively walks the
reverse-dependency path to collect that set.  That caused an error
since it was expecting to call a method on a change object but instead
was given a change key.

To correct this, we resolve the change key to a change object before
calling that method.

We were also missing some exception hnadlers, so this exception was
not being recorded in the scheduler log.  That is corrected and some
additional diagnostic debug log messages are added.

Change-Id: I6ac2e2b63c71d609d9f023217f2a435d18f1159d
2021-10-06 10:19:39 -07:00
..
fixtures Include project name in gerrit branch cache 2021-09-28 17:21:32 -07: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 Resolve cache keys when gathering related changes 2021-10-06 10:19:39 -07: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 TCP keepalive to gitlab 2021-10-05 15:08:56 -07: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
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