Add job failure output detection regexes
This allows users to trigger the new early failure detection by matching regexes in the streaming job output. For example, if a unit test job outputs something sufficiently unique on failure, one could write a regex that matches that and triggers the early failure detection before the playbook completes. For hour-long unit test jobs, this could save a considerable amount of time. Note that this adds the google-re2 library to the Ansible venvs. It has manylinux wheels available, so is easy to install with zuul-manage-ansible. In Zuul itself, we use the fb-re2 library which requires compilation and is therefore more difficult to use with zuul-manage-ansible. Presumably using fb-re2 to validate the syntax and then later actually using google-re2 to run the regexes is sufficient. We may want to switch Zuul to use google-re2 later for consistency. Change-Id: Ifc9454767385de4c96e6da6d6f41bcb936aa24cd
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
[common]
|
||||
default_version = 6
|
||||
# OpenStackSDK 0.99.0 coincides with CORS header problems in some providers
|
||||
requirements = openstacksdk<0.99 openshift jmespath google-cloud-storage pywinrm boto3 azure-storage-blob ibm-cos-sdk netaddr passlib
|
||||
requirements = openstacksdk<0.99 openshift jmespath google-cloud-storage pywinrm boto3 azure-storage-blob ibm-cos-sdk netaddr passlib google-re2
|
||||
|
||||
[6]
|
||||
requirements = ansible>=6.0,<7.0
|
||||
|
||||
Reference in New Issue
Block a user