Fix all fails query
There were two problems with the all fails query as sorted out by manually running the query in kibana. First the query didn't properly group the two sides of the job log ending query. They were separated by an OR and were meant to be grouped together as one clause in the query. Second zuul now requires the .yaml suffix on playbook names so the query looking for the post ssh playbook needs to end with .yaml. Change-Id: I951b2824fe6934eca667d1b14f8caf63428da89a
This commit is contained in:
parent
55c7db85d0
commit
53f45539c0
|
@ -50,9 +50,11 @@ INCLUDED_PROJECTS_REGEX = "(^openstack/|devstack|grenade)"
|
|||
# TODO(dmsimard): Revisit this query once Zuul v2 is no longer supported
|
||||
# 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")' # flake8: noqa
|
||||
'('
|
||||
'(filename:"job-output.txt" AND message:"POST-RUN END" AND message:"project-config/playbooks/base/post-ssh.yaml")' # flake8: noqa
|
||||
' OR '
|
||||
'(filename:"console.html" AND (message:"[Zuul] Job complete" OR message:"[SCP] Copying console log" OR message:"Grabbing consoleLog"))' # flake8: noqa
|
||||
')'
|
||||
' AND build_status:"FAILURE"'
|
||||
' AND build_queue:"gate"'
|
||||
' AND voting:"1"'
|
||||
|
|
Loading…
Reference in New Issue