From cdf6ee031e9514b6a8751f0684c147dd3d500404 Mon Sep 17 00:00:00 2001 From: Clark Boylan Date: Thu, 17 Jan 2019 13:40:34 -0800 Subject: [PATCH] Fix all fails query not matching any jobs Monty updated the post-ssh.yaml playbook in project config to do other post tasks and renamed it to post.yaml as a result. Change If01bdd7b7656b1a9ebaa5d5d7d021f82093db8ac has all the details. We need to accomodate that in the all fails query of e-r by updating the all fails query to look for post.yaml instead of post-ssh.yaml. Note that there are no query matches for post-ssh.yaml so we don't need an interim period if matching both. Change-Id: I208675c2258b6c635925c7b9ea9fae5afd000565 --- elastic_recheck/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/elastic_recheck/config.py b/elastic_recheck/config.py index edb8c014..53fc3ecc 100644 --- a/elastic_recheck/config.py +++ b/elastic_recheck/config.py @@ -52,7 +52,7 @@ INCLUDED_PROJECTS_REGEX = "(^openstack/|devstack|grenade)" # Let's value legibility over pep8 line width here... ALL_FAILS_QUERY = ( '(' - '(filename:"job-output.txt" AND message:"POST-RUN END" AND message:"project-config/playbooks/base/post-ssh.yaml")' # flake8: noqa + '(filename:"job-output.txt" AND message:"POST-RUN END" AND message:"project-config/playbooks/base/post.yaml")' # flake8: noqa ' OR ' '(filename:"console.html" AND (message:"[Zuul] Job complete" OR message:"[SCP] Copying console log" OR message:"Grabbing consoleLog"))' # flake8: noqa ')'