#85226 Report by node travis-ci covering 1805 tests from 52 modules resulted into 21 errors

Report

ObsPy version
1.0.3.post0+1260.g7ac8708ee1.…
GitHub Pull Request
-
Report file
XML document
Total runtime
1192.7 sec
Report date/time
June 12, 2017, 1:15 p.m.

System / Python

Architecture
64bit
Machine
x86_64
Node
travis-ci
Processor
i386
Python Compiler
GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.57)
Python Implementation
CPython
Python Version
3.6.1
Release
15.6.0
System
Darwin
Version
Darwin Kernel Version 15.6.0: Mon Aug 29 20:21:34 PDT 2016; root:xnu-3248.60.11~1/RELEASE_X86_64

Dependencies

cartopy
---
decorator
4.0.11
flake8
---
future
0.16.0
geographiclib
1.48
lxml.etree
3.8.0
m2crypto
---
matplotlib
2.0.2
mock
2.0.0
mpl_toolkits.basemap
1.0.7
numpy
1.13.0
osgeo.gdal
---
pep8-naming
---
pyflakes
---
pyimgur
0.5.2
pyproj
1.9.5.1
requests
2.14.2
scipy
0.19.0
setuptools
27.2.0
sqlalchemy
1.1.10

Modules (52)

Module Errors / Failures Tracebacks
obspy.clients.arclink 4 1 2 3 4
obspy.clients.earthworm - -
obspy.clients.fdsn 17 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
obspy.clients.filesystem - -
obspy.clients.iris - -
obspy.clients.neic - -
obspy.clients.seedlink - -
obspy.clients.seishub - -
obspy.clients.syngine - -
obspy.core - -
obspy.db - -
obspy.geodetics - -
obspy.imaging - -
obspy.io.ah - -
obspy.io.arclink - -
obspy.io.ascii - -
obspy.io.cmtsolution - -
obspy.io.cnv - -
obspy.io.css - -
obspy.io.gcf - -
obspy.io.gse2 - -
obspy.io.json - -
obspy.io.kinemetrics - -
obspy.io.kml - -
obspy.io.mseed - -
obspy.io.ndk - -
obspy.io.nied - -
obspy.io.nlloc - -
obspy.io.nordic - -
obspy.io.pdas - -
obspy.io.pde - -
obspy.io.quakeml - -
obspy.io.reftek - -
obspy.io.sac - -
obspy.io.scardec - -
obspy.io.seg2 - -
obspy.io.segy - -
obspy.io.seisan - -
obspy.io.seiscomp - -
obspy.io.sh - -
obspy.io.shapefile - -
obspy.io.stationtxt - -
obspy.io.stationxml - -
obspy.io.wav - -
obspy.io.win - -
obspy.io.xseed - -
obspy.io.y - -
obspy.io.zmap - -
obspy.realtime - -
obspy.scripts - -
obspy.signal - -
obspy.taup - -
Summary 21 21

Tracebacks (21)

Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/arclink/tests/test_client.py", line 141, in test_get_routing
results = client.get_routing('GE', 'APE', dt, dt + 1)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/arclink/client.py", line 619, in get_routing
result = self._fetch(rtype, rdata, route=False)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/arclink/client.py", line 219, in _fetch
return self._request(request_type, request_data)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/arclink/client.py", line 324, in _request
raise ArcLinkException("%s %s" % (err_code, msg))
obspy.clients.arclink.client.ArcLinkException: b'UNSET'
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/arclink/tests/test_client.py", line 682, in test_get_waveform_instrument_change
metadata=True)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/arclink/client.py", line 456, in get_waveforms
instruments=True, route=route)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/arclink/client.py", line 1111, in get_inventory
result = self._fetch(rtype, rdata, route=route)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/arclink/client.py", line 225, in _fetch
endtime=request_data[1])
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/arclink/client.py", line 619, in get_routing
result = self._fetch(rtype, rdata, route=False)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/arclink/client.py", line 219, in _fetch
return self._request(request_type, request_data)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/arclink/client.py", line 324, in _request
raise ArcLinkException("%s %s" % (err_code, msg))
obspy.clients.arclink.client.ArcLinkException: b'UNSET'
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/arclink/tests/test_client.py", line 489, in test_save_waveform_compressed
end, unpack=False)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/arclink/client.py", line 563, in save_waveforms
data = self._fetch(rtype, rdata, route=route)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/arclink/client.py", line 260, in _fetch
return self._request(request_type, request_data)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/arclink/client.py", line 324, in _request
raise ArcLinkException("%s %s" % (err_code, msg))
obspy.clients.arclink.client.ArcLinkException: b'UNSET'
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/arclink/tests/test_client.py", line 277, in test_get_waveform_with_metadata
self.assertEqual(st[0].stats, results)
AssertionError: Stats({'sampling_rate': 200.0, 'delta': 0[1103 chars]'})}) != {'network': 'BW', '_format': 'MSEED', 'pa[1097 chars]))']}
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/fdsn/tests/test_client.py", line 543, in test_authentication
got = client.get_waveforms(*query)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/fdsn/client.py", line 699, in get_waveforms
raise ValueError(msg)
ValueError: The current client does not have a dataselect service.
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/fdsn/tests/test_client.py", line 552, in test_conflicting_params
network="IU", net="IU")
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/unittest/case.py", line 728, in assertRaises
return context.handle('assertRaises', args, kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/unittest/case.py", line 177, in handle
callable_obj(*args, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/fdsn/client.py", line 586, in get_stations
raise ValueError(msg)
ValueError: The current client does not have a station service.
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/fdsn/tests/test_client.py", line 657, in test_dataselect_bulk
got = client.get_waveforms_bulk(bulk, **params)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/fdsn/client.py", line 879, in get_waveforms_bulk
raise ValueError(msg)
ValueError: The current client does not have a dataselect service.
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/fdsn/tests/test_client.py", line 762, in test_get_waveform_attach_response
st = client.get_waveforms_bulk(bulk, attach_response=True)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/fdsn/client.py", line 879, in get_waveforms_bulk
raise ValueError(msg)
ValueError: The current client does not have a dataselect service.
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/fdsn/tests/test_client.py", line 590, in test_help_function_with_iris
client.help("station")
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/fdsn/client.py", line 1180, in help
raise ValueError(msg)
ValueError: Service 'station' not available for current client.
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/fdsn/tests/test_client.py", line 518, in test_iris_example_queries_dataselect
got = client.get_waveforms(*query)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/fdsn/client.py", line 699, in get_waveforms
raise ValueError(msg)
ValueError: The current client does not have a dataselect service.
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/fdsn/tests/test_client.py", line 435, in test_iris_example_queries_station
maxradius=15)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/fdsn/client.py", line 586, in get_stations
raise ValueError(msg)
ValueError: The current client does not have a station service.
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/fdsn/tests/test_client.py", line 245, in test_location_parameters
{"location": loc, "starttime": 0, "endtime": 1}))
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/fdsn/client.py", line 1093, in _create_url_from_parameters
service_params = self.services[service]
KeyError: 'station'
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/fdsn/tests/test_client.py", line 713, in test_station_bulk
inv = client.get_stations_bulk(bulk, level="station")
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/fdsn/client.py", line 1024, in get_stations_bulk
raise ValueError(msg)
ValueError: The current client does not have a station service.
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/doctest.py", line 2199, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.clients.fdsn.__init__
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/fdsn/__init__.py", line 1, in __init__
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/fdsn/__init__.py", line 64, in obspy.clients.fdsn.__init__
Failed example:
st = client.get_waveforms("IU", "ANMO", "00", "LHZ", t, t + 60 * 60)
Exception raised:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/doctest.py", line 1330, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.fdsn.__init__[6]>", line 1, in <module>
st = client.get_waveforms("IU", "ANMO", "00", "LHZ", t, t + 60 * 60)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/fdsn/client.py", line 699, in get_waveforms
raise ValueError(msg)
ValueError: The current client does not have a dataselect service.
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/fdsn/__init__.py", line 105, in obspy.clients.fdsn.__init__
Failed example:
inventory = client.get_stations(network="IU", station="A*",
starttime=starttime,
endtime=endtime)
Exception raised:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/doctest.py", line 1330, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.fdsn.__init__[13]>", line 3, in <module>
endtime=endtime)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/fdsn/client.py", line 586, in get_stations
raise ValueError(msg)
ValueError: The current client does not have a station service.
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/fdsn/__init__.py", line 108, in obspy.clients.fdsn.__init__
Failed example:
print(inventory) # doctest: +ELLIPSIS +NORMALIZE_WHITESPACE
Exception raised:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/doctest.py", line 1330, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.fdsn.__init__[14]>", line 1, in <module>
print(inventory) # doctest: +ELLIPSIS +NORMALIZE_WHITESPACE
NameError: name 'inventory' is not defined
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/doctest.py", line 2199, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.clients.fdsn.client.Client.__init__
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/fdsn/client.py", line 141, in __init__
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/fdsn/client.py", line 146, in obspy.clients.fdsn.client.Client.__init__
Failed example:
print(client) # doctest: +ELLIPSIS +NORMALIZE_WHITESPACE
Expected:
FDSN Webservice Client (base url: http://service.iris.edu)
Available Services: 'dataselect' (v...), 'event' (v...),
'station' (v...), 'available_event_catalogs',
'available_event_contributors'
Use e.g. client.help('dataselect') for the
parameter description of the individual services
or client.help() for parameter description of
all webservices.
Got:
FDSN Webservice Client (base url: http://service.iris.edu)
Available Services: 'event' (v1.1.7), 'available_event_catalogs', 'available_event_contributors'
<BLANKLINE>
Use e.g. client.help('dataselect') for the
parameter description of the individual services
or client.help() for parameter description of
all webservices.
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/doctest.py", line 2199, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.clients.fdsn.client.Client.get_stations
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/fdsn/client.py", line 414, in get_stations
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/fdsn/client.py", line 421, in obspy.clients.fdsn.client.Client.get_stations
Failed example:
inventory = client.get_stations(network="IU", station="A*",
starttime=starttime,
endtime=endtime)
Exception raised:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/doctest.py", line 1330, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.fdsn.client.Client.get_stations[3]>", line 3, in <module>
endtime=endtime)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/fdsn/client.py", line 586, in get_stations
raise ValueError(msg)
ValueError: The current client does not have a station service.
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/fdsn/client.py", line 424, in obspy.clients.fdsn.client.Client.get_stations
Failed example:
print(inventory) # doctest: +ELLIPSIS +NORMALIZE_WHITESPACE
Exception raised:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/doctest.py", line 1330, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.fdsn.client.Client.get_stations[4]>", line 1, in <module>
print(inventory) # doctest: +ELLIPSIS +NORMALIZE_WHITESPACE
NameError: name 'inventory' is not defined
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/fdsn/client.py", line 461, in obspy.clients.fdsn.client.Client.get_stations
Failed example:
inventory = client.get_stations(
starttime=starttime, endtime=endtime,
network="IU", sta="ANMO", loc="00", channel="*Z",
level="response")
Exception raised:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/doctest.py", line 1330, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.fdsn.client.Client.get_stations[6]>", line 4, in <module>
level="response")
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/fdsn/client.py", line 586, in get_stations
raise ValueError(msg)
ValueError: The current client does not have a station service.
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/fdsn/client.py", line 465, in obspy.clients.fdsn.client.Client.get_stations
Failed example:
print(inventory) # doctest: +ELLIPSIS +NORMALIZE_WHITESPACE
Exception raised:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/doctest.py", line 1330, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.fdsn.client.Client.get_stations[7]>", line 1, in <module>
print(inventory) # doctest: +ELLIPSIS +NORMALIZE_WHITESPACE
NameError: name 'inventory' is not defined
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/doctest.py", line 2199, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.clients.fdsn.client.Client.get_stations_bulk
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/fdsn/client.py", line 904, in get_stations_bulk
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/fdsn/client.py", line 935, in obspy.clients.fdsn.client.Client.get_stations_bulk
Failed example:
inv = client.get_stations_bulk(bulk)
Exception raised:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/doctest.py", line 1330, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.fdsn.client.Client.get_stations_bulk[5]>", line 1, in <module>
inv = client.get_stations_bulk(bulk)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/fdsn/client.py", line 1024, in get_stations_bulk
raise ValueError(msg)
ValueError: The current client does not have a station service.
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/fdsn/client.py", line 936, in obspy.clients.fdsn.client.Client.get_stations_bulk
Failed example:
print(inv) # doctest: +ELLIPSIS +NORMALIZE_WHITESPACE
Exception raised:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/doctest.py", line 1330, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.fdsn.client.Client.get_stations_bulk[6]>", line 1, in <module>
print(inv) # doctest: +ELLIPSIS +NORMALIZE_WHITESPACE
NameError: name 'inv' is not defined
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/fdsn/client.py", line 965, in obspy.clients.fdsn.client.Client.get_stations_bulk
Failed example:
inv = client.get_stations_bulk(bulk, level="channel")
Exception raised:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/doctest.py", line 1330, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.fdsn.client.Client.get_stations_bulk[8]>", line 1, in <module>
inv = client.get_stations_bulk(bulk, level="channel")
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/fdsn/client.py", line 1024, in get_stations_bulk
raise ValueError(msg)
ValueError: The current client does not have a station service.
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/fdsn/client.py", line 966, in obspy.clients.fdsn.client.Client.get_stations_bulk
Failed example:
print(inv) # doctest: +ELLIPSIS +NORMALIZE_WHITESPACE
Exception raised:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/doctest.py", line 1330, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.fdsn.client.Client.get_stations_bulk[9]>", line 1, in <module>
print(inv) # doctest: +ELLIPSIS +NORMALIZE_WHITESPACE
NameError: name 'inv' is not defined
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/doctest.py", line 2199, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.clients.fdsn.client.Client.get_waveforms
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/fdsn/client.py", line 608, in get_waveforms
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/fdsn/client.py", line 615, in obspy.clients.fdsn.client.Client.get_waveforms
Failed example:
st = client.get_waveforms("IU", "ANMO", "00", "LHZ", t1, t2)
Exception raised:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/doctest.py", line 1330, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.fdsn.client.Client.get_waveforms[3]>", line 1, in <module>
st = client.get_waveforms("IU", "ANMO", "00", "LHZ", t1, t2)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/fdsn/client.py", line 699, in get_waveforms
raise ValueError(msg)
ValueError: The current client does not have a dataselect service.
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/fdsn/client.py", line 616, in obspy.clients.fdsn.client.Client.get_waveforms
Failed example:
print(st) # doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/doctest.py", line 1330, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.fdsn.client.Client.get_waveforms[4]>", line 1, in <module>
print(st) # doctest: +ELLIPSIS
NameError: name 'st' is not defined
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/fdsn/client.py", line 622, in obspy.clients.fdsn.client.Client.get_waveforms
Failed example:
st = client.get_waveforms("IU", "A*", "1?", "LHZ", t1, t2)
Exception raised:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/doctest.py", line 1330, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.fdsn.client.Client.get_waveforms[5]>", line 1, in <module>
st = client.get_waveforms("IU", "A*", "1?", "LHZ", t1, t2)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/fdsn/client.py", line 699, in get_waveforms
raise ValueError(msg)
ValueError: The current client does not have a dataselect service.
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/fdsn/client.py", line 623, in obspy.clients.fdsn.client.Client.get_waveforms
Failed example:
print(st) # doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/doctest.py", line 1330, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.fdsn.client.Client.get_waveforms[6]>", line 1, in <module>
print(st) # doctest: +ELLIPSIS
NameError: name 'st' is not defined
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/fdsn/client.py", line 634, in obspy.clients.fdsn.client.Client.get_waveforms
Failed example:
st = client.get_waveforms("TA", "E42A", "*", "BH?", t+300, t+400,
attach_response=True)
Exception raised:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/doctest.py", line 1330, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.fdsn.client.Client.get_waveforms[8]>", line 2, in <module>
attach_response=True)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/fdsn/client.py", line 699, in get_waveforms
raise ValueError(msg)
ValueError: The current client does not have a dataselect service.
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/fdsn/client.py", line 636, in obspy.clients.fdsn.client.Client.get_waveforms
Failed example:
st.remove_response(output="VEL") # doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/doctest.py", line 1330, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.fdsn.client.Client.get_waveforms[9]>", line 1, in <module>
st.remove_response(output="VEL") # doctest: +ELLIPSIS
NameError: name 'st' is not defined
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/doctest.py", line 2199, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.clients.fdsn.client.Client.get_waveforms_bulk
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/fdsn/client.py", line 753, in get_waveforms_bulk
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/fdsn/client.py", line 784, in obspy.clients.fdsn.client.Client.get_waveforms_bulk
Failed example:
st = client.get_waveforms_bulk(bulk)
Exception raised:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/doctest.py", line 1330, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.fdsn.client.Client.get_waveforms_bulk[5]>", line 1, in <module>
st = client.get_waveforms_bulk(bulk)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/fdsn/client.py", line 879, in get_waveforms_bulk
raise ValueError(msg)
ValueError: The current client does not have a dataselect service.
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/fdsn/client.py", line 785, in obspy.clients.fdsn.client.Client.get_waveforms_bulk
Failed example:
print(st) # doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/doctest.py", line 1330, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.fdsn.client.Client.get_waveforms_bulk[6]>", line 1, in <module>
print(st) # doctest: +ELLIPSIS
NameError: name 'st' is not defined
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/fdsn/client.py", line 797, in obspy.clients.fdsn.client.Client.get_waveforms_bulk
Failed example:
st = client.get_waveforms_bulk(bulk)
Exception raised:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/doctest.py", line 1330, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.fdsn.client.Client.get_waveforms_bulk[8]>", line 1, in <module>
st = client.get_waveforms_bulk(bulk)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/fdsn/client.py", line 879, in get_waveforms_bulk
raise ValueError(msg)
ValueError: The current client does not have a dataselect service.
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/fdsn/client.py", line 798, in obspy.clients.fdsn.client.Client.get_waveforms_bulk
Failed example:
print(st) # doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/doctest.py", line 1330, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.fdsn.client.Client.get_waveforms_bulk[9]>", line 1, in <module>
print(st) # doctest: +ELLIPSIS
NameError: name 'st' is not defined
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/fdsn/client.py", line 820, in obspy.clients.fdsn.client.Client.get_waveforms_bulk
Failed example:
st = client.get_waveforms_bulk(bulk, attach_response=True)
Exception raised:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/doctest.py", line 1330, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.fdsn.client.Client.get_waveforms_bulk[16]>", line 1, in <module>
st = client.get_waveforms_bulk(bulk, attach_response=True)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/fdsn/client.py", line 879, in get_waveforms_bulk
raise ValueError(msg)
ValueError: The current client does not have a dataselect service.
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/fdsn/client.py", line 821, in obspy.clients.fdsn.client.Client.get_waveforms_bulk
Failed example:
st.remove_response(output="VEL") # doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/doctest.py", line 1330, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.fdsn.client.Client.get_waveforms_bulk[17]>", line 1, in <module>
st.remove_response(output="VEL") # doctest: +ELLIPSIS
NameError: name 'st' is not defined
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/fdsn/tests/test_client.py", line 293, in test_service_discovery_iris
"available_event_catalogs")))
AssertionError: Items in the second set but not the first:
'dataselect'
'station'
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/fdsn/tests/test_client.py", line 634, in test_str_method
self.assertEqual(got, expected, failmsg(got, expected))
AssertionError: Lists differ: ['FDS[75 chars]es: 'event' (vX.X.X) 'available_event_catalogs[200 chars]es.'] != ['FDS[75 chars]es: 'dataselect' (vX.X.X) 'event' (vX.X.X) 'st[241 chars]es.']
First differing element 1:
"Available Services: 'event' (vX.X.X) 'available_event_catalogs[28 chars]ors'"
"Available Services: 'dataselect' (vX.X.X) 'event' (vX.X.X) 'st[69 chars]ors'"
['FDSN Webservice Client (base url: http://service.iris.edu)',
- "Available Services: 'event' (vX.X.X) 'available_event_catalogs' "
- "'available_event_contributors'",
+ "Available Services: 'dataselect' (vX.X.X) 'event' (vX.X.X) 'station' "
+ "(vX.X.X) 'available_event_catalogs' 'available_event_contributors'",
'',
"Use e.g. client.help('dataselect') for the",
'parameter description of the individual services',
'or client.help() for parameter description of',
'all webservices.'] :
Got:
['FDSN Webservice Client (base url: http://service.iris.edu)', "Available Services: 'event' (vX.X.X) 'available_event_catalogs' 'available_event_contributors'", '', "Use e.g. client.help('dataselect') for the", 'parameter description of the individual services', 'or client.help() for parameter description of', 'all webservices.']
Expected:
['FDSN Webservice Client (base url: http://service.iris.edu)', "Available Services: 'dataselect' (vX.X.X) 'event' (vX.X.X) 'station' (vX.X.X) 'available_event_catalogs' 'available_event_contributors'", '', "Use e.g. client.help('dataselect') for the", 'parameter description of the individual services', 'or client.help() for parameter description of', 'all webservices.']

Skipped tests (47)

Submodule Test Skip message
clients.arclink test_cryptography (obspy.clients.arclink.tests.test_decrypt.ClientTestCase) M2Crypto, PyCrypto or cryptography is not installed
clients.arclink test_get_waveform_no_password (obspy.clients.arclink.tests.test_decrypt.ClientTestCase) M2Crypto, PyCrypto or cryptography is not installed
clients.arclink test_get_waveform_unknown_user (obspy.clients.arclink.tests.test_decrypt.ClientTestCase) M2Crypto, PyCrypto or cryptography is not installed
clients.arclink test_get_waveform_with_dcid_key (obspy.clients.arclink.tests.test_decrypt.ClientTestCase) M2Crypto, PyCrypto or cryptography is not installed
clients.arclink test_get_waveform_with_dcid_key_file (obspy.clients.arclink.tests.test_decrypt.ClientTestCase) M2Crypto, PyCrypto or cryptography is not installed
clients.arclink test_get_waveform_with_default_dcid_key_file (obspy.clients.arclink.tests.test_decrypt.ClientTestCase) M2Crypto, PyCrypto or cryptography is not installed
clients.arclink test_get_waveform_wrong_password (obspy.clients.arclink.tests.test_decrypt.ClientTestCase) M2Crypto, PyCrypto or cryptography is not installed
clients.arclink test_m2crypto (obspy.clients.arclink.tests.test_decrypt.ClientTestCase) M2Crypto, PyCrypto or cryptography is not installed
clients.arclink test_pycrypto (obspy.clients.arclink.tests.test_decrypt.ClientTestCase) M2Crypto, PyCrypto or cryptography is not installed
clients.seedlink test_info (obspy.clients.seedlink.tests.test_slclient.SLClientTestCase) test must be started manually
clients.seedlink test_issue708 (obspy.clients.seedlink.tests.test_slclient.SLClientTestCase) test must be started manually
clients.seedlink test_time_window (obspy.clients.seedlink.tests.test_slclient.SLClientTestCase) test must be started manually
clients.seishub runTest (doctest.DocTestCase) Seishub test server not reachable.
clients.seishub runTest (doctest.DocTestCase) Seishub test server not reachable.
clients.seishub runTest (doctest.DocTestCase) Seishub test server not reachable.
clients.seishub runTest (doctest.DocTestCase) Seishub test server not reachable.
clients.seishub test_get_channel_ids (obspy.clients.seishub.tests.test_client.ClientTestCase) Seishub test server not reachable.
clients.seishub test_get_coordinates (obspy.clients.seishub.tests.test_client.ClientTestCase) Seishub test server not reachable.
clients.seishub test_get_event_list (obspy.clients.seishub.tests.test_client.ClientTestCase) Seishub test server not reachable.
clients.seishub test_get_location_ids (obspy.clients.seishub.tests.test_client.ClientTestCase) Seishub test server not reachable.
clients.seishub test_get_network_ids (obspy.clients.seishub.tests.test_client.ClientTestCase) Seishub test server not reachable.
clients.seishub test_get_paz (obspy.clients.seishub.tests.test_client.ClientTestCase) Seishub test server not reachable.
clients.seishub test_get_preview (obspy.clients.seishub.tests.test_client.ClientTestCase) Seishub test server not reachable.
clients.seishub test_get_preview_by_ids (obspy.clients.seishub.tests.test_client.ClientTestCase) Seishub test server not reachable.
clients.seishub test_get_station_ids (obspy.clients.seishub.tests.test_client.ClientTestCase) Seishub test server not reachable.
clients.seishub test_get_waveform_with_metadata (obspy.clients.seishub.tests.test_client.ClientTestCase) Seishub test server not reachable.
clients.seishub test_get_waveforms (obspy.clients.seishub.tests.test_client.ClientTestCase) Seishub test server not reachable.
clients.seishub test_localcache (obspy.clients.seishub.tests.test_client.ClientTestCase) Seishub test server not reachable.
clients.seishub test_ping (obspy.clients.seishub.tests.test_client.ClientTestCase) Seishub test server not reachable.
core test_flake8 (obspy.core.tests.test_code_formatting.CodeFormattingTestCase) Formatting tests require at least flake8 3.0.
core test_catalog_plot_global (obspy.core.tests.test_event.CatalogCartopyTestCase) Cartopy not installed or too old
core test_catalog_plot_local (obspy.core.tests.test_event.CatalogCartopyTestCase) Cartopy not installed or too old
core test_catalog_plot_ortho (obspy.core.tests.test_event.CatalogCartopyTestCase) Cartopy not installed or too old
core test_catalog_plot_ortho_longitude_wrap (obspy.core.tests.test_event.CatalogCartopyTestCase) Cartopy not installed or too old
core test_location_plot_global (obspy.core.tests.test_inventory.InventoryCartopyTestCase) cartopy not installed
core test_location_plot_local (obspy.core.tests.test_inventory.InventoryCartopyTestCase) cartopy not installed
core test_location_plot_ortho (obspy.core.tests.test_inventory.InventoryCartopyTestCase) cartopy not installed
core test_location_plot_global (obspy.core.tests.test_network.NetworkCartopyTestCase) cartopy not installed
core test_location_plot_local (obspy.core.tests.test_network.NetworkCartopyTestCase) cartopy not installed
core test_location_plot_ortho (obspy.core.tests.test_network.NetworkCartopyTestCase) cartopy not installed
core test_catch_output (obspy.core.tests.test_util_misc.UtilMiscTestCase) Does not work with Python 3 for some Windows and OSX versions
geodetics test_gps_2_dist_azimuth_bug150 (obspy.geodetics.tests.test_util_geodetics.UtilGeodeticsTestCase) Module geographiclib is installed, not using calc_vincenty_inverse
imaging test_script_plot (obspy.imaging.tests.test_mopad_script.MopadTestCase) Currently broken until further review.
io.shapefile test_write_catalog_shapefile (obspy.io.shapefile.tests.test_core.ShapefileTestCase) gdal not installed or version is too old
io.shapefile test_write_catalog_shapefile_via_plugin (obspy.io.shapefile.tests.test_core.ShapefileTestCase) gdal not installed or version is too old
io.shapefile test_write_inventory_shapefile (obspy.io.shapefile.tests.test_core.ShapefileTestCase) gdal not installed or version is too old
io.shapefile test_write_inventory_shapefile_via_plugin (obspy.io.shapefile.tests.test_core.ShapefileTestCase) gdal not installed or version is too old

Slowest tests (20)

Runtime Test
51.860s test_get_routing (obspy.clients.arclink.tests.test_client.ClientTestCase)
49.516s test_issue_372 (obspy.clients.arclink.tests.test_client.ClientTestCase)
43.534s test_get_waveform_instrument_change (obspy.clients.arclink.tests.test_client.ClientTestCase)
42.414s test_save_waveform_compressed (obspy.clients.arclink.tests.test_client.ClientTestCase)
41.503s test_get_networks (obspy.clients.arclink.tests.test_client.ClientTestCase)
34.072s test_plot_farfield_without_quiver_with_maps (obspy.core.tests.test_event.EventTestCase)
29.107s test_get_inventory (obspy.clients.arclink.tests.test_client.ClientTestCase)
25.720s test_save_waveform_no_compression (obspy.clients.arclink.tests.test_client.ClientTestCase)
18.491s test_redirection (obspy.clients.fdsn.tests.test_client.ClientTestCase)
17.675s test_ppsd_restricted_stacks (obspy.signal.tests.test_spectral_estimation.PsdTestCase)
17.173s test_get_inventory_twice (obspy.clients.arclink.tests.test_client.ClientTestCase)
16.004s test_plot_multiple_traces (obspy.imaging.tests.test_waveform.WaveformTestCase)
13.835s test_catalog_plot_global (obspy.core.tests.test_event.CatalogBasemapTestCase)
12.523s test_issue_311 (obspy.clients.arclink.tests.test_client.ClientTestCase)
12.509s __init__ (obspy.clients.fdsn)
12.480s test_location_plot_global (obspy.core.tests.test_inventory.InventoryBasemapTestCase)
12.286s test_location_plot_global (obspy.core.tests.test_network.NetworkBasemapTestCase)
11.878s test_combined_station_event_plot (obspy.core.tests.test_inventory.InventoryBasemapTestCase)
11.776s __init__ (obspy.clients.arclink)
11.169s test_delayed_request (obspy.clients.arclink.tests.test_client.ClientTestCase)