close Warning: Can't synchronize with repository "(default)" (/work/source/svn/csep does not appear to be a Subversion repository.). Look in the Trac log for more information.

Changes between Initial Version and Version 3 of Ticket #345


Ignore:
Timestamp:
2014-10-27T20:10:10-07:00 (3 years ago)
Author:
liukis
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #345

    • Property Owner set to liukis
    • Property Status changed from new to accepted
    • Property Version changed from 14.4.0 to 14.10.0
    • Property Summary changed from Re-try catalog retrieval to avoid truncated data to Replace 'urllib2' with 'requests' Python module for all data retrieval
  • Ticket #345 – Description

    initial v3  
    11It was observed on csep-cert image that retrieval of CMT catalog sometimes results in truncated data. To avoid incomplete catalog retrieval, re-try data retrieval. Software should throw an exception if less than expected data file is retrieved.
     2
     3After many attempts to address the problem using 'urllib2' module, we still see truncation error in CruiseControl builds now and then. User groups recommend to switch to 'requests' Python model which is "HTTP for humans". 'urllib2' is not robust and seems to be broken (the problem does not propagate itself on operational server though).