self = <omego.artifacts.JenkinsArtifacts object at 0x34e2590>
buildurl = 'http://ci.openmicroscopy.org/job/OMERO-5.1-latest/lastSuccessfulBuild/'
def read_xml(self, buildurl):
url = None
try:
url = fileutils.open_url(buildurl + 'api/xml')
log.debug('Fetching xml from %s code:%d', url.url, url.code)
if url.code != 200:
log.error('Failed to get CI XML from %s (code %d)',
url.url, url.code)
raise Stop(20, 'Job lookup failed, is the job name correct?')
ci_xml = url.read()
except HTTPError as e:
log.error('Failed to get CI XML (%s)', e)
> raise Stop(20, 'Job lookup failed, is the job name correct?')
E Stop: Job lookup failed, is the job name correct?
omego/artifacts.py:230: Stop
----------------------------- Captured stderr call -----------------------------
2016-05-19 18:43:19,658 [omego.artifa] ERROR Failed to get CI XML (HTTP Error 404: Not Found)
================== 2 tests deselected by "-m 'not slowtest'" ===================
============== 3 failed, 8 passed, 2 deselected in 13.13 seconds ===============
https://travis-ci.org/ome/omego/jobs/131498220