community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <>
Subject [jira] [Created] (COMDEV-222) projects.a.o does not handle SVN problems well
Date Tue, 20 Jun 2017 13:52:00 GMT
Sebb created COMDEV-222:

             Summary: projects.a.o does not handle SVN problems well
                 Key: COMDEV-222
             Project: Community Development
          Issue Type: Bug
          Components: Projects
            Reporter: Sebb

Recently there was some kind of a problem accessing SVN. This caused lots of errors [1] like:

Error when processing doap file
Traceback (most recent call last):
  File "", line 154, in <module>
    rdf = urllib.request.urlopen(url, timeout=URL_TIMEOUT).read()
  File "/usr/lib/python3.4/urllib/", line 161, in urlopen
    return, data, timeout)
  File "/usr/lib/python3.4/urllib/", line 469, in open
    response = meth(req, response)
  File "/usr/lib/python3.4/urllib/", line 579, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/python3.4/urllib/", line 507, in error
    return self._call_chain(*args)
  File "/usr/lib/python3.4/urllib/", line 441, in _call_chain
    result = func(*args)
  File "/usr/lib/python3.4/urllib/", line 587, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 403: Forbidden
URL: ''

Each such failure causes a message to site-dev
The failed gets also cause the doaps to be dropped:

Deleting obsolete file projects/xmlgraphics-fop.json

The script needs to be able to distinguish different kinds of errors and handle them accordingly.

For example, missing DOAPs are quite frequent, and should be retried next run.
However SVN errors such as the above should probably cause the run to be abandoned.


This message was sent by Atlassian JIRA

View raw message