#93619 Report by node travis-ci covering 2002 tests from 54 modules resulted into 19 errors

Report

ObsPy version
1.1.0.post0+296.gf7363fbf20.o…
Continuous Integration
https://travis-ci.org/obspy/obspy/jobs/368560549
GitHub Pull Request
-
Report file
XML document
Total runtime
944.7 sec
Report date/time
2018-04-19 05:04:26

System / Python

Architecture
64bit
Machine
x86_64
Node
travis-ci
Processor
x86_64
Python Compiler
GCC 7.2.0
Python Implementation
CPython
Python Version
3.6.5
Release
4.14.12-041412-generic
System
Linux
Version
#201801051649 SMP Fri Jan 5 16:50:54 UTC 2018

Dependencies

cartopy
---
decorator
4.3.0
flake8
---
future
0.16.0
geographiclib
1.49
lxml.etree
4.1.1
m2crypto
---
matplotlib
2.0.2
mock
2.0.0
mpl_toolkits.basemap
1.0.7
numpy
1.13.3
pep8-naming
---
pyflakes
---
pyimgur
0.5.2
pyproj
1.9.5.1
requests
2.18.4
scipy
1.0.1
setuptools
39.0.1
shapefile
1.2.12
sqlalchemy
1.2.6

Modules (54)

Module Errors / Failures Tracebacks
obspy.clients.arclink 2 1 2
obspy.clients.earthworm 3 3 4 5
obspy.clients.fdsn 14 6 7 8 9 10 11 12 13 14 15 16 17 18 19
obspy.clients.filesystem - -
obspy.clients.iris - -
obspy.clients.neic - -
obspy.clients.nrl - -
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.iaspei - -
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 19 19

Tracebacks (19)

Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/arclink/tests/test_client.py", line 634, in test_save_response
client.save_response(tempfile, 'BW', 'MANZ', '', 'EHZ', start, end)
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/arclink/client.py", line 1008, in save_response
data = self._fetch(rtype, rdata, route=route)
File "/home/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 "/home/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 "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/arclink/tests/test_client.py", line 671, in test_srl
poles_zeros = client.get_paz("BW", "RJOB", "", "EHZ", t)
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/arclink/client.py", line 947, in get_paz
instruments=True, route=route)
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/arclink/client.py", line 1123, in get_inventory
result = self._fetch(rtype, rdata, route=route)
File "/home/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 "/home/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 "/home/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.earthworm.__init__
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/earthworm/__init__.py", line 1, in __init__
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/earthworm/__init__.py", line 21, in obspy.clients.earthworm.__init__
Failed example:
response = client.get_availability('AV', 'ACH', channel='EHE')
Exception raised:
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/doctest.py", line 1330, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.earthworm.__init__[2]>", line 1, in <module>
response = client.get_availability('AV', 'ACH', channel='EHE')
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/earthworm/client.py", line 224, in get_availability
response = get_menu(self.host, self.port, timeout=self.timeout)
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/earthworm/waveserver.py", line 221, in get_menu
r = get_sock_char_line(sock, timeout=timeout)
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/earthworm/waveserver.py", line 168, in get_sock_char_line
indat = sock.recv(1)
ConnectionResetError: [Errno 104] Connection reset by peer
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/earthworm/__init__.py", line 29, in obspy.clients.earthworm.__init__
Failed example:
t = response[0][4]
Exception raised:
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/doctest.py", line 1330, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.earthworm.__init__[4]>", line 1, in <module>
t = response[0][4]
NameError: name 'response' is not defined
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/earthworm/__init__.py", line 30, in obspy.clients.earthworm.__init__
Failed example:
st = client.get_waveforms('AV', 'ACH', '', 'EH*', t + 100, t + 130)
Exception raised:
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/doctest.py", line 1330, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.earthworm.__init__[5]>", line 1, in <module>
st = client.get_waveforms('AV', 'ACH', '', 'EH*', t + 100, t + 130)
NameError: name 't' is not defined
Traceback (most recent call last):
File "/home/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.earthworm.client.Client.get_availability
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/earthworm/client.py", line 170, in get_availability
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/earthworm/client.py", line 196, in obspy.clients.earthworm.client.Client.get_availability
Failed example:
response = client.get_availability(
network="AV", station="ACH", channel="EH*")
Exception raised:
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/doctest.py", line 1330, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.earthworm.client.Client.get_availability[2]>", line 2, in <module>
network="AV", station="ACH", channel="EH*")
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/earthworm/client.py", line 224, in get_availability
response = get_menu(self.host, self.port, timeout=self.timeout)
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/earthworm/waveserver.py", line 221, in get_menu
r = get_sock_char_line(sock, timeout=timeout)
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/earthworm/waveserver.py", line 168, in get_sock_char_line
indat = sock.recv(1)
ConnectionResetError: [Errno 104] Connection reset by peer
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/earthworm/client.py", line 198, in obspy.clients.earthworm.client.Client.get_availability
Failed example:
print(response) # doctest: +ELLIPSIS +NORMALIZE_WHITESPACE
Exception raised:
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/doctest.py", line 1330, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.earthworm.client.Client.get_availability[3]>", line 1, in <module>
print(response) # doctest: +ELLIPSIS +NORMALIZE_WHITESPACE
NameError: name 'response' is not defined
Traceback (most recent call last):
File "/home/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.earthworm.client.Client.get_waveforms
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/earthworm/client.py", line 50, in get_waveforms
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/earthworm/client.py", line 82, in obspy.clients.earthworm.client.Client.get_waveforms
Failed example:
st = client.get_waveforms('AV', 'ACH', '', 'EHE', dt, dt + 10)
Exception raised:
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/doctest.py", line 1330, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.earthworm.client.Client.get_waveforms[3]>", line 1, in <module>
st = client.get_waveforms('AV', 'ACH', '', 'EHE', dt, dt + 10)
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/earthworm/client.py", line 113, in get_waveforms
cleanup=cleanup)
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/earthworm/waveserver.py", line 266, in read_wave_server_v
r = get_sock_char_line(sock, timeout=timeout)
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/earthworm/waveserver.py", line 168, in get_sock_char_line
indat = sock.recv(1)
ConnectionResetError: [Errno 104] Connection reset by peer
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/earthworm/client.py", line 84, in obspy.clients.earthworm.client.Client.get_waveforms
Failed example:
st = client.get_waveforms('AV', 'ACH', '', 'EH*', dt, dt + 10)
Exception raised:
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/doctest.py", line 1330, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.earthworm.client.Client.get_waveforms[5]>", line 1, in <module>
st = client.get_waveforms('AV', 'ACH', '', 'EH*', dt, dt + 10)
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/earthworm/client.py", line 105, in get_waveforms
cleanup=cleanup)
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/earthworm/client.py", line 113, in get_waveforms
cleanup=cleanup)
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/earthworm/waveserver.py", line 266, in read_wave_server_v
r = get_sock_char_line(sock, timeout=timeout)
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/earthworm/waveserver.py", line 168, in get_sock_char_line
indat = sock.recv(1)
ConnectionResetError: [Errno 104] Connection reset by peer
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/fdsn/tests/test_client.py", line 1337, in test_eida_token_resolution
endtime=UTCDateTime("2010-02-27T06:40:00.000"))
File "<decorator-gen-60>", line 2, in get_waveforms
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/fdsn/routing/routing_client.py", line 79, in _assert_filename_not_in_kwargs
return f(*args, **kwargs)
File "<decorator-gen-59>", line 2, in get_waveforms
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/fdsn/routing/routing_client.py", line 86, in _assert_attach_response_not_in_kwargs
return f(*args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/fdsn/routing/routing_client.py", line 311, in get_waveforms
return self.get_waveforms_bulk([bulk], **kwargs)
File "<decorator-gen-63>", line 2, in get_waveforms_bulk
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/fdsn/routing/routing_client.py", line 79, in _assert_filename_not_in_kwargs
return f(*args, **kwargs)
File "<decorator-gen-62>", line 2, in get_waveforms_bulk
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/fdsn/routing/routing_client.py", line 86, in _assert_attach_response_not_in_kwargs
return f(*args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/fdsn/routing/eidaws_routing_client.py", line 104, in get_waveforms_bulk
level="channel", **kwargs)
File "<decorator-gen-65>", line 2, in get_stations_bulk
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/fdsn/routing/routing_client.py", line 79, in _assert_filename_not_in_kwargs
return f(*args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/fdsn/routing/eidaws_routing_client.py", line 175, in get_stations_bulk
return self._download_stations(split, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/fdsn/routing/routing_client.py", line 228, in _download_stations
return self._download_parallel(split, data_type="station", **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/fdsn/routing/routing_client.py", line 254, in _download_parallel
results = pool.map(_download_bulk, dl_requests)
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/multiprocessing/pool.py", line 266, in map
return self._map_async(func, iterable, mapstar, chunksize).get()
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/multiprocessing/pool.py", line 644, in get
raise self._value
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/multiprocessing/pool.py", line 119, in worker
result = (True, func(*args, **kwds))
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/multiprocessing/pool.py", line 44, in mapstar
return list(map(*args))
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/fdsn/routing/routing_client.py", line 115, in _download_bulk
service = c.services["station"]
KeyError: 'station'
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/fdsn/tests/test_client.py", line 582, in test_help_function_with_iris
client.help("event")
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/fdsn/client.py", line 1264, in help
raise ValueError(msg)
ValueError: Service 'event' not available for current client.
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/fdsn/tests/test_client.py", line 340, in test_iris_event_catalog_availability
self.assertEqual(set(self.client.services["available_event_catalogs"]),
KeyError: 'available_event_catalogs'
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/fdsn/tests/test_client.py", line 349, in test_iris_event_contributors_availability
xml = lxml.etree.fromstring(response.content)
File "src/lxml/etree.pyx", line 3230, in lxml.etree.fromstring (src/lxml/etree.c:81070)
File "src/lxml/parser.pxi", line 1871, in lxml.etree._parseMemoryDocument (src/lxml/etree.c:121250)
File "src/lxml/parser.pxi", line 1759, in lxml.etree._parseDoc (src/lxml/etree.c:119926)
File "src/lxml/parser.pxi", line 1125, in lxml.etree._BaseParser._parseDoc (src/lxml/etree.c:114173)
File "src/lxml/parser.pxi", line 598, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/etree.c:107738)
File "src/lxml/parser.pxi", line 709, in lxml.etree._handleParseResult (src/lxml/etree.c:109447)
File "src/lxml/parser.pxi", line 638, in lxml.etree._raiseParseError (src/lxml/etree.c:108301)
File "<string>", line 1
lxml.etree.XMLSyntaxError: StartTag: invalid element name, line 1, column 2
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/fdsn/tests/test_client.py", line 388, in test_iris_example_queries_event
cat = client.get_events(eventid=609301)
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/fdsn/client.py", line 505, in get_events
raise ValueError(msg)
ValueError: The current client does not have an event service.
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/fdsn/tests/test_client.py", line 1221, in test_no_data
minmagnitude=8)
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/unittest/case.py", line 733, in assertRaises
return context.handle('assertRaises', args, kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/unittest/case.py", line 178, in handle
callable_obj(*args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/fdsn/client.py", line 505, in get_events
raise ValueError(msg)
ValueError: The current client does not have an event service.
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/fdsn/tests/test_client.py", line 1085, in test_redirection
catalog="ISC")
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/fdsn/client.py", line 505, in get_events
raise ValueError(msg)
ValueError: The current client does not have an event service.
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/fdsn/tests/test_client.py", line 1158, in test_redirection_auth
catalog="ISC")
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/fdsn/client.py", line 505, in get_events
raise ValueError(msg)
ValueError: The current client does not have an event service.
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/fdsn/tests/test_federator_routing_client.py", line 342, in test_get_stations_integration_test
channel="LHZ", level="network")
File "<decorator-gen-68>", line 2, in get_stations
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/fdsn/routing/routing_client.py", line 79, in _assert_filename_not_in_kwargs
return f(*args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/fdsn/routing/federator_routing_client.py", line 110, in get_stations
return super(FederatorRoutingClient, self).get_stations(**kwargs)
File "<decorator-gen-61>", line 2, in get_stations
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/fdsn/routing/routing_client.py", line 79, in _assert_filename_not_in_kwargs
return f(*args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/fdsn/routing/routing_client.py", line 344, in get_stations
return self.get_stations_bulk([bulk], **kwargs)
File "<decorator-gen-69>", line 2, in get_stations_bulk
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/fdsn/routing/routing_client.py", line 79, in _assert_filename_not_in_kwargs
return f(*args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/fdsn/routing/federator_routing_client.py", line 143, in get_stations_bulk
r = self._download(self._url + "/query", data=bulk_str)
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/base.py", line 245, in _download
self._handle_requests_http_error(r)
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/fdsn/routing/routing_client.py", line 280, in _handle_requests_http_error
raise_on_error(r.status_code, get_reason_from_response(r))
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/fdsn/client.py", line 1710, in raise_on_error
raise FDSNException(msg, server_info)
obspy.clients.fdsn.header.FDSNException: Bad request. If you think your request was valid please contact the developers.
Traceback (most recent call last):
File "/home/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 "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/fdsn/__init__.py", line 1, in __init__
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/fdsn/__init__.py", line 89, in obspy.clients.fdsn.__init__
Failed example:
cat = client.get_events(starttime=starttime, endtime=endtime,
minmagnitude=6, catalog="ISC")
Exception raised:
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/doctest.py", line 1330, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.fdsn.__init__[10]>", line 2, in <module>
minmagnitude=6, catalog="ISC")
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/fdsn/client.py", line 505, in get_events
raise ValueError(msg)
ValueError: The current client does not have an event service.
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/fdsn/__init__.py", line 91, in obspy.clients.fdsn.__init__
Failed example:
print(cat) # doctest: +NORMALIZE_WHITESPACE
Exception raised:
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/doctest.py", line 1330, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.fdsn.__init__[11]>", line 1, in <module>
print(cat) # doctest: +NORMALIZE_WHITESPACE
NameError: name 'cat' is not defined
Traceback (most recent call last):
File "/home/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 "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/fdsn/client.py", line 143, in __init__
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/fdsn/client.py", line 148, 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: 'dataselect' (v1.1.5), 'station' (v1.1.32)
<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 "/home/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_events
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/fdsn/client.py", line 389, in get_events
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/fdsn/client.py", line 394, in obspy.clients.fdsn.client.Client.get_events
Failed example:
cat = client.get_events(eventid=609301)
Exception raised:
Traceback (most recent call last):
File "/home/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_events[1]>", line 1, in <module>
cat = client.get_events(eventid=609301)
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/fdsn/client.py", line 505, in get_events
raise ValueError(msg)
ValueError: The current client does not have an event service.
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/fdsn/client.py", line 395, in obspy.clients.fdsn.client.Client.get_events
Failed example:
print(cat)
Exception raised:
Traceback (most recent call last):
File "/home/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_events[2]>", line 1, in <module>
print(cat)
NameError: name 'cat' is not defined
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/fdsn/client.py", line 404, in obspy.clients.fdsn.client.Client.get_events
Failed example:
cat = client.get_events(starttime=t1, endtime=t2, minmagnitude=4,
catalog="ISC")
Exception raised:
Traceback (most recent call last):
File "/home/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_events[5]>", line 2, in <module>
catalog="ISC")
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/fdsn/client.py", line 505, in get_events
raise ValueError(msg)
ValueError: The current client does not have an event service.
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/fdsn/client.py", line 406, in obspy.clients.fdsn.client.Client.get_events
Failed example:
print(cat)
Exception raised:
Traceback (most recent call last):
File "/home/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_events[6]>", line 1, in <module>
print(cat)
NameError: name 'cat' is not defined
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/fdsn/tests/test_client.py", line 296, in test_service_discovery_iris
"available_event_catalogs")))
AssertionError: Items in the second set but not the first:
'event'
'available_event_contributors'
'available_event_catalogs'
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/fdsn/tests/test_client.py", line 648, in test_str_method
self.assertEqual(got, expected, failmsg(got, expected))
AssertionError: Lists differ: ['FDS[97 chars].X) 'station' (vX.X.X)", '', "Use e.g. client.[144 chars]es.'] != ['FDS[97 chars].X) 'event' (vX.X.X) 'station' (vX.X.X) 'avail[219 chars]es.']
First differing element 1:
"Avai[34 chars].X) 'station' (vX.X.X)"
"Avai[34 chars].X) 'event' (vX.X.X) 'station' (vX.X.X) 'avail[47 chars]ors'"
['FDSN Webservice Client (base url: http://service.iris.edu)',
- "Available Services: 'dataselect' (vX.X.X) 'station' (vX.X.X)",
? -------- -
+ "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: 'dataselect' (vX.X.X) 'station' (vX.X.X)", '', "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 (31)

Submodule Test Skip message
clients.arclink test_m2crypto (obspy.clients.arclink.tests.test_decrypt.ClientTestCase) M2Crypto is not installed
clients.arclink test_pycrypto (obspy.clients.arclink.tests.test_decrypt.ClientTestCase) PyCrypto 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 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
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.

Slowest tests (20)

Runtime Test
41.277s test_srl (obspy.clients.arclink.tests.test_client.ClientTestCase)
37.644s test_save_response (obspy.clients.arclink.tests.test_client.ClientTestCase)
36.852s test_get_networks (obspy.clients.arclink.tests.test_client.ClientTestCase)
29.262s test_get_waveform_instrument_change (obspy.clients.arclink.tests.test_client.ClientTestCase)
21.300s test_plot_farfield_without_quiver_with_maps (obspy.core.tests.test_event.EventTestCase)
19.100s test_get_routing (obspy.clients.arclink.tests.test_client.ClientTestCase)
18.041s __init__ (obspy.taup)
17.904s test_get_waveform_with_metadata (obspy.clients.arclink.tests.test_client.ClientTestCase)
17.840s test_get_inventory (obspy.clients.arclink.tests.test_client.ClientTestCase)
17.091s test_ppsd_restricted_stacks (obspy.signal.tests.test_spectral_estimation.PsdTestCase)
17.059s test_response_calculation_from_seed_and_xseed (obspy.io.xseed.tests.test_core.CoreTestCase)
14.755s test_get_waveform_with_dcid_key_file (obspy.clients.arclink.tests.test_decrypt.ClientTestCase)
14.061s test_get_stations (obspy.clients.arclink.tests.test_client.ClientTestCase)
13.108s test_issue_372 (obspy.clients.arclink.tests.test_client.ClientTestCase)
12.631s test_issue_311 (obspy.clients.arclink.tests.test_client.ClientTestCase)
11.894s test_save_waveform_no_compression (obspy.clients.arclink.tests.test_client.ClientTestCase)
11.153s test_get_waveform (obspy.clients.arclink.tests.test_client.ClientTestCase)
10.412s test_delayed_request (obspy.clients.arclink.tests.test_client.ClientTestCase)
9.909s __init__ (obspy.clients.arclink)
9.835s test_shoot_existing_ray_param (obspy.taup.tests.test_seismic_phase.TauPySeismicPhaseTestCase)

Chuck Norris fact

Chuck Norris burst the dot com bubble.