You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@climate.apache.org by lewis john mcgibbney <le...@apache.org> on 2017/03/31 01:42:31 UTC
Tests Broken in Master
Hi Folks,
It looks like the tests broke a while back in master.
The log can be seen below, I am going to take a look into it now and also
try to make the upgrade of Podaacpy to 1.7.0.
Related Jira issue https://issues.apache.org/jira/browse/CLIMATE-906
======================================================================
ERROR: test suite for <class 'ocw.tests.test_podaac.TestPodaacDataSource'>
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/nose/suite.py",
line 209, in run
self.setUp()
File
"/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/nose/suite.py",
line 292, in setUp
self.setupContext(ancestor)
File
"/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/nose/suite.py",
line 315, in setupContext
try_run(context, names)
File
"/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/nose/util.py",
line 471, in try_run
return func()
File "/home/travis/build/apache/climate/ocw/tests/test_podaac.py", line 36,
in setUpClass
cls.variable, cls.datasetId, cls.name)
File
"/home/travis/build/apache/climate/ocw/data_source/podaac_datasource.py",
line 103, in load_level4_granule
dataset_id=datasetId, path=path)
File
"/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/podaac/podaac.py",
line 594, in extract_l4_granule
granule_name = granule_name.split('\t')[3][:-1]
IndexError: list index out of range
-------------------- >> begin captured logging << --------------------
requests.packages.urllib3.connectionpool: DEBUG: Starting new HTTP
connection (1): podaac.jpl.nasa.gov
requests.packages.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
requests.packages.urllib3.connectionpool: DEBUG: Starting new HTTPS
connection (1): podaac.jpl.nasa.gov
requests.packages.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 << ---------------------
--
http://home.apache.org/~lewismc/
@hectorMcSpector
http://www.linkedin.com/in/lmcgibbney
Re: Tests Broken in Master
Posted by Omkar Reddy <om...@gmail.com>.
Hello Lewis,
I will look into it to find out the reason.
Thanks,
Omkar
On 31 March 2017 at 07:12, lewis john mcgibbney <le...@apache.org> wrote:
> Hi Folks,
> It looks like the tests broke a while back in master.
> The log can be seen below, I am going to take a look into it now and also
> try to make the upgrade of Podaacpy to 1.7.0.
> Related Jira issue https://issues.apache.org/jira/browse/CLIMATE-906
>
> ======================================================================
>
> ERROR: test suite for <class 'ocw.tests.test_podaac.TestPodaacDataSource'>
>
> ----------------------------------------------------------------------
>
> Traceback (most recent call last):
>
> File
> "/home/travis/miniconda/envs/test-environment/lib/python2.
> 7/site-packages/nose/suite.py",
> line 209, in run
>
> self.setUp()
>
> File
> "/home/travis/miniconda/envs/test-environment/lib/python2.
> 7/site-packages/nose/suite.py",
> line 292, in setUp
>
> self.setupContext(ancestor)
>
> File
> "/home/travis/miniconda/envs/test-environment/lib/python2.
> 7/site-packages/nose/suite.py",
> line 315, in setupContext
>
> try_run(context, names)
>
> File
> "/home/travis/miniconda/envs/test-environment/lib/python2.
> 7/site-packages/nose/util.py",
> line 471, in try_run
>
> return func()
>
> File "/home/travis/build/apache/climate/ocw/tests/test_podaac.py", line
> 36,
> in setUpClass
>
> cls.variable, cls.datasetId, cls.name)
>
> File
> "/home/travis/build/apache/climate/ocw/data_source/podaac_datasource.py",
> line 103, in load_level4_granule
>
> dataset_id=datasetId, path=path)
>
> File
> "/home/travis/miniconda/envs/test-environment/lib/python2.
> 7/site-packages/podaac/podaac.py",
> line 594, in extract_l4_granule
>
> granule_name = granule_name.split('\t')[3][:-1]
>
> IndexError: list index out of range
>
> -------------------- >> begin captured logging << --------------------
>
> requests.packages.urllib3.connectionpool: DEBUG: Starting new HTTP
> connection (1): podaac.jpl.nasa.gov
>
> requests.packages.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
>
> requests.packages.urllib3.connectionpool: DEBUG: Starting new HTTPS
> connection (1): podaac.jpl.nasa.gov
>
> requests.packages.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 << ---------------------
>
>
> --
> http://home.apache.org/~lewismc/
> @hectorMcSpector
> http://www.linkedin.com/in/lmcgibbney
>