Check for logs uploaded by swift
The ready log query changes slightly when we upload console logs to swift instead of copying them via SCP. Handle both cases with a (old or new message) query update. Example of a swift uploaded log can be found at: http://logs.openstack.org/56/164356/2/check/nodepool-coverage/4e5ec18/console.html Change-Id: Ic81889b1b2d5e6d6dd742fa93f245fea8147c847
This commit is contained in:
parent
e0ada82c0b
commit
c923de906d
@ -76,7 +76,8 @@ def result_ready(review, patch, name, build_short_uuid):
|
||||
lets us know that we've got results waiting that we need to process.
|
||||
"""
|
||||
return generic('filename:"console.html" AND '
|
||||
'message:"[SCP] Copying console log" '
|
||||
'(message:"[SCP] Copying console log" '
|
||||
'OR message:"Grabbing consoleLog") '
|
||||
'AND build_status:"FAILURE" '
|
||||
'AND build_change:"%s" '
|
||||
'AND build_patchset:"%s" '
|
||||
|
Loading…
Reference in New Issue
Block a user