climate-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lewis John McGibbney (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CLIMATE-959) Remove ocw.tests.test_podaac.TestPodaacDataSource from tests until service is more reliable
Date Mon, 02 Jul 2018 22:15:00 GMT
Lewis John McGibbney created CLIMATE-959:
--------------------------------------------

             Summary: Remove ocw.tests.test_podaac.TestPodaacDataSource from tests until service
is more reliable
                 Key: CLIMATE-959
                 URL: https://issues.apache.org/jira/browse/CLIMATE-959
             Project: Apache Open Climate Workbench
          Issue Type: New Feature
          Components: data sources
            Reporter: Lewis John McGibbney
            Assignee: Lewis John McGibbney
             Fix For: 1.4.0


TravisCI typically always returns the following error message for the above test execution
{code}
======================================================================
ERROR: test suite for <class 'ocw.tests.test_podaac.TestPodaacDataSource'>
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/travis/miniconda/envs/test-environment/lib/python3.5/site-packages/nose/suite.py",
line 210, in run
    self.setUp()
  File "/home/travis/miniconda/envs/test-environment/lib/python3.5/site-packages/nose/suite.py",
line 293, in setUp
    self.setupContext(ancestor)
  File "/home/travis/miniconda/envs/test-environment/lib/python3.5/site-packages/nose/suite.py",
line 316, in setupContext
    try_run(context, names)
  File "/home/travis/miniconda/envs/test-environment/lib/python3.5/site-packages/nose/util.py",
line 471, in try_run
    return func()
  File "/home/travis/build/apache/climate/ocw/tests/test_podaac.py", line 35, in setUpClass
    cls.dataset = podaac.extract_l4_granule(cls.variable, cls.datasetId, cls.name)
  File "/home/travis/build/apache/climate/ocw/data_source/podaac_datasource.py", line 114,
in extract_l4_granule
    dataset_id=dataset_id, path=path)
  File "/home/travis/miniconda/envs/test-environment/lib/python3.5/site-packages/podaac/podaac.py",
line 599, in extract_l4_granule
    urlretrieve(url, path)
  File "/home/travis/miniconda/envs/test-environment/lib/python3.5/urllib/request.py", line
188, in urlretrieve
    with contextlib.closing(urlopen(url, data)) as fp:
  File "/home/travis/miniconda/envs/test-environment/lib/python3.5/urllib/request.py", line
163, in urlopen
    return opener.open(url, data, timeout)
  File "/home/travis/miniconda/envs/test-environment/lib/python3.5/urllib/request.py", line
466, in open
    response = self._open(req, data)
  File "/home/travis/miniconda/envs/test-environment/lib/python3.5/urllib/request.py", line
484, in _open
    '_open', req)
  File "/home/travis/miniconda/envs/test-environment/lib/python3.5/urllib/request.py", line
444, in _call_chain
    result = func(*args)
  File "/home/travis/miniconda/envs/test-environment/lib/python3.5/urllib/request.py", line
1488, in ftp_open
    raise exc.with_traceback(sys.exc_info()[2])
  File "/home/travis/miniconda/envs/test-environment/lib/python3.5/urllib/request.py", line
1477, in ftp_open
    fp, retrlen = fw.retrfile(file, type)
  File "/home/travis/miniconda/envs/test-environment/lib/python3.5/urllib/request.py", line
2342, in retrfile
    conn, retrlen = self.ftp.ntransfercmd(cmd)
  File "/home/travis/miniconda/envs/test-environment/lib/python3.5/ftplib.py", line 362, in
ntransfercmd
    source_address=self.source_address)
  File "/home/travis/miniconda/envs/test-environment/lib/python3.5/socket.py", line 712, in
create_connection
    raise err
  File "/home/travis/miniconda/envs/test-environment/lib/python3.5/socket.py", line 703, in
create_connection
    sock.connect(sa)
urllib.error.URLError: <urlopen error ftp error: TimeoutError(110, 'Connection timed out')>
-------------------- >> begin captured logging << --------------------
urllib3.connectionpool: DEBUG: Starting new HTTP connection (1): podaac.jpl.nasa.gov:80
urllib3.connectionpool: DEBUG: http://podaac.jpl.nasa.gov:80 "GET /ws/search/granule/?datasetId=PODAAC-GHCMC-4FM02&startIndex=1&sortBy=timeAsc&itemsPerPage=7&format=atom&pretty=True
HTTP/1.1" 302 346
urllib3.connectionpool: DEBUG: Starting new HTTPS connection (1): podaac.jpl.nasa.gov:443
urllib3.connectionpool: DEBUG: https://podaac.jpl.nasa.gov:443 "GET /ws/search/granule/?datasetId=PODAAC-GHCMC-4FM02&startIndex=1&sortBy=timeAsc&itemsPerPage=7&format=atom&pretty=True
HTTP/1.1" 200 None
--------------------- >> end captured logging << ---------------------

{code}

Until we have determined why this is the case, I propose to merely disable the tests execution.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message