[Numpy-discussion] New test failure on SPARC buildbots.

Robert Kern robert.kern at gmail.com
Thu Jul 3 15:02:28 EDT 2008


On Thu, Jul 3, 2008 at 13:50, Robert Kern <robert.kern at gmail.com> wrote:
> On Thu, Jul 3, 2008 at 11:41, Neil Muller <drnlmuller+scipy at gmail.com> wrote:
>> On Thu, Jul 3, 2008 at 6:19 PM, Charles R Harris
>> <charlesr.harris at gmail.com> wrote:
>>> ======================================================================
>>> ERROR: test_ValidHTTP (test__datasource.TestDataSourceOpen)
>>> ----------------------------------------------------------------------
>>>
>>> Traceback (most recent call last):
>>>   File
>>> "/home/numpybb/Buildbot/numpy/b13/numpy-install/lib/python2.4/site-packages/numpy/lib/tests/test__datasource.py",
>>> line 81, in test_ValidHTTP
>>>     assert self.ds.open(valid_httpurl())
>>>
>>>   File
>>> "../numpy-install/lib/python2.4/site-packages/numpy/lib/_datasource.py",
>>> line 394, in open
>>>   File
>>> "../numpy-install/lib/python2.4/site-packages/numpy/lib/_datasource.py",
>>> line 252, in _findfile
>>>
>>>   File
>>> "../numpy-install/lib/python2.4/site-packages/numpy/lib/_datasource.py",
>>> line 214, in _cache
>>> URLError: <urlopen error URL not found: http://www.google.com/index.html>
>>>
>>>
>>> It seems to be from the changes to speed up imports.
>>
>> This is due to a local configuration issue on the buildbots - the
>> proxy isn't being set correctly, so trying to open the url fails. I'll
>> fix this tomorrow.
>
> On the other hand, the unit tests should not have been written to
> require network access.

Actually it *is* related to the import changes. The stub replaced
_datasource.urlopen(), which is no longer the location of the
urlopen() that is actually used. This is fixed in SVN.

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth."
 -- Umberto Eco



More information about the NumPy-Discussion mailing list