Lewis John McGibbney created CLIMATE-906: --------------------------------------------
Summary: TestPodaacDataSource IndexError: list index out of range Key: CLIMATE-906 URL: https://issues.apache.org/jira/browse/CLIMATE-906 Project: Apache Open Climate Workbench Issue Type: Bug Components: data sources Reporter: Lewis John McGibbney Assignee: Lewis John McGibbney Fix For: 1.2.0 It looks like the tests broke a while back in master. {code} ====================================================================== 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 << --------------------- {code} -- This message was sent by Atlassian JIRA (v6.3.15#6346)