#111109 Report by node travis-ci covering 2065 tests from 49 modules resulted into 13 errors

Report

ObsPy version
1.2.1.post0+43.g9b47482984
GitHub Pull Request
https://github.com/obspy/obspy/pull/2656
Report file
XML document
Total runtime
363.0 sec
Report date/time
June 25, 2020, 9:32 a.m.

System / Python

Architecture
64bit
Machine
x86_64
Node
travis-ci
Processor
i386
Python Compiler
Clang 9.0.1
Python Implementation
CPython
Python Version
3.7.6
Release
17.7.0
System
Darwin
Version
Darwin Kernel Version 17.7.0: Thu Jun 21 22:53:14 PDT 2018; root:xnu-4570.71.2~1/RELEASE_X86_64

Dependencies

cartopy
---
decorator
4.4.2
flake8
---
future
0.18.2
geographiclib
1.50
lxml.etree
4.5.1
m2crypto
---
matplotlib
3.2.2
mock
4.0.2
mpl_toolkits.basemap
1.2.1
numpy
1.18.5
pep8-naming
---
pyflakes
---
pyimgur
0.5.2
pyproj
1.9.6
requests
2.24.0
scipy
1.4.1
setuptools
47.3.1.post20200616
shapefile
2.1.0
sqlalchemy
1.3.17

Modules (49)

Module Errors / Failures Tracebacks
obspy.clients.arclink Not tested -
obspy.clients.earthworm Not tested -
obspy.clients.fdsn 13 1 2 3 4 5 6 7 8 9 10 11 12 13
obspy.clients.filesystem - -
obspy.clients.iris Not tested -
obspy.clients.neic Not tested -
obspy.clients.nrl Not tested -
obspy.clients.seedlink Not tested -
obspy.clients.seishub Not tested -
obspy.clients.syngine Not tested -
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.dmx - -
obspy.io.focmec - -
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.rg16 - -
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 13 13

Tracebacks (13)

Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/fdsn/tests/test_client.py", line 106, in setUpClass
cls.client = Client(base_url="IRIS", user_agent=USER_AGENT)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/fdsn/client.py", line 263, in __init__
self._discover_services()
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/fdsn/client.py", line 1547, in _discover_services
raise FDSNException(msg)
obspy.clients.fdsn.header.FDSNException: No FDSN services could be discovered at 'http://service.iris.edu'. This could be due to a temporary service outage or an invalid FDSN service address.
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/fdsn/tests/test_eidaws_routing_client.py", line 323, in test_get_waveforms_integration_test
endtime=obspy.UTCDateTime(2017, 1, 1, 0, 1))
File "<decorator-gen-54>", line 2, in get_waveforms
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/fdsn/routing/routing_client.py", line 82, in _assert_filename_not_in_kwargs
return f(*args, **kwargs)
File "<decorator-gen-53>", line 2, in get_waveforms
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/fdsn/routing/routing_client.py", line 89, in _assert_attach_response_not_in_kwargs
return f(*args, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/fdsn/routing/routing_client.py", line 338, in get_waveforms
return self.get_waveforms_bulk([bulk], **kwargs)
File "<decorator-gen-57>", line 2, in get_waveforms_bulk
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/fdsn/routing/routing_client.py", line 82, in _assert_filename_not_in_kwargs
return f(*args, **kwargs)
File "<decorator-gen-56>", line 2, in get_waveforms_bulk
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/fdsn/routing/routing_client.py", line 89, in _assert_attach_response_not_in_kwargs
return f(*args, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/fdsn/routing/eidaws_routing_client.py", line 114, in get_waveforms_bulk
raise FDSNNoDataException(msg)
obspy.clients.fdsn.header.FDSNNoDataException: No data available for request (requested time window might be out of bounds of valid station epochs).
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 2196, 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.7/site-packages/obspy/clients/fdsn/__init__.py", line 1, in __init__
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/fdsn/__init__.py", line 25, in obspy.clients.fdsn.__init__
Failed example:
client = Client("IRIS")
Exception raised:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.fdsn.__init__[1]>", line 1, in <module>
client = Client("IRIS")
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/fdsn/client.py", line 263, in __init__
self._discover_services()
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/fdsn/client.py", line 1547, in _discover_services
raise FDSNException(msg)
obspy.clients.fdsn.header.FDSNException: No FDSN services could be discovered at 'http://service.iris.edu'. This could be due to a temporary service outage or an invalid FDSN service address.
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/fdsn/__init__.py", line 73, 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.7/doctest.py", line 1329, 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)
NameError: name 'client' is not defined
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/fdsn/__init__.py", line 91, 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 "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.fdsn.__init__[10]>", line 1, in <module>
cat = client.get_events(starttime=starttime, endtime=endtime,
NameError: name 'client' is not defined
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/fdsn/__init__.py", line 93, in obspy.clients.fdsn.__init__
Failed example:
print(cat) # doctest: +NORMALIZE_WHITESPACE
Exception raised:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 1329, 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
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/fdsn/__init__.py", line 114, 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.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.fdsn.__init__[13]>", line 1, in <module>
inventory = client.get_stations(network="IU", station="A*",
NameError: name 'client' is not defined
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/fdsn/__init__.py", line 117, 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.7/doctest.py", line 1329, 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.7/doctest.py", line 2196, 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.7/site-packages/obspy/clients/fdsn/client.py", line 142, in __init__
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/fdsn/client.py", line 146, in obspy.clients.fdsn.client.Client.__init__
Failed example:
client = Client("IRIS")
Exception raised:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.fdsn.client.Client.__init__[0]>", line 1, in <module>
client = Client("IRIS")
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/fdsn/client.py", line 263, in __init__
self._discover_services()
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/fdsn/client.py", line 1547, in _discover_services
raise FDSNException(msg)
obspy.clients.fdsn.header.FDSNException: No FDSN services could be discovered at 'http://service.iris.edu'. This could be due to a temporary service outage or an invalid FDSN service address.
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/fdsn/client.py", line 147, in obspy.clients.fdsn.client.Client.__init__
Failed example:
print(client) # doctest: +ELLIPSIS +NORMALIZE_WHITESPACE
Exception raised:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.fdsn.client.Client.__init__[1]>", line 1, in <module>
print(client) # doctest: +ELLIPSIS +NORMALIZE_WHITESPACE
NameError: name 'client' is not defined
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 2196, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.clients.fdsn.client.Client.get_events
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/fdsn/client.py", line 403, in get_events
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/fdsn/client.py", line 407, in obspy.clients.fdsn.client.Client.get_events
Failed example:
client = Client("IRIS")
Exception raised:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.fdsn.client.Client.get_events[0]>", line 1, in <module>
client = Client("IRIS")
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/fdsn/client.py", line 263, in __init__
self._discover_services()
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/fdsn/client.py", line 1547, in _discover_services
raise FDSNException(msg)
obspy.clients.fdsn.header.FDSNException: No FDSN services could be discovered at 'http://service.iris.edu'. This could be due to a temporary service outage or an invalid FDSN service address.
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/fdsn/client.py", line 408, in obspy.clients.fdsn.client.Client.get_events
Failed example:
cat = client.get_events(eventid=609301)
Exception raised:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 1329, 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)
NameError: name 'client' is not defined
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/fdsn/client.py", line 409, in obspy.clients.fdsn.client.Client.get_events
Failed example:
print(cat)
Exception raised:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 1329, 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 "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/fdsn/client.py", line 418, 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 "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.fdsn.client.Client.get_events[5]>", line 1, in <module>
cat = client.get_events(starttime=t1, endtime=t2, minmagnitude=4,
NameError: name 'client' is not defined
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/fdsn/client.py", line 420, in obspy.clients.fdsn.client.Client.get_events
Failed example:
print(cat)
Exception raised:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 1329, 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 "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 2196, 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.7/site-packages/obspy/clients/fdsn/client.py", line 545, in get_stations
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/fdsn/client.py", line 549, in obspy.clients.fdsn.client.Client.get_stations
Failed example:
client = Client("IRIS")
Exception raised:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.fdsn.client.Client.get_stations[0]>", line 1, in <module>
client = Client("IRIS")
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/fdsn/client.py", line 263, in __init__
self._discover_services()
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/fdsn/client.py", line 1547, in _discover_services
raise FDSNException(msg)
obspy.clients.fdsn.header.FDSNException: No FDSN services could be discovered at 'http://service.iris.edu'. This could be due to a temporary service outage or an invalid FDSN service address.
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/fdsn/client.py", line 552, 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.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.fdsn.client.Client.get_stations[3]>", line 1, in <module>
inventory = client.get_stations(network="IU", station="A*",
NameError: name 'client' is not defined
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/fdsn/client.py", line 555, 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.7/doctest.py", line 1329, 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.7/site-packages/obspy/clients/fdsn/client.py", line 592, 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.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.fdsn.client.Client.get_stations[6]>", line 1, in <module>
inventory = client.get_stations(
NameError: name 'client' is not defined
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/fdsn/client.py", line 596, 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.7/doctest.py", line 1329, 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.7/doctest.py", line 2196, 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.7/site-packages/obspy/clients/fdsn/client.py", line 1038, in get_stations_bulk
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/fdsn/client.py", line 1062, in obspy.clients.fdsn.client.Client.get_stations_bulk
Failed example:
client = Client("IRIS")
Exception raised:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.fdsn.client.Client.get_stations_bulk[0]>", line 1, in <module>
client = Client("IRIS")
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/fdsn/client.py", line 263, in __init__
self._discover_services()
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/fdsn/client.py", line 1547, in _discover_services
raise FDSNException(msg)
obspy.clients.fdsn.header.FDSNException: No FDSN services could be discovered at 'http://service.iris.edu'. This could be due to a temporary service outage or an invalid FDSN service address.
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/fdsn/client.py", line 1069, 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.7/doctest.py", line 1329, 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)
NameError: name 'client' is not defined
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/fdsn/client.py", line 1070, 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.7/doctest.py", line 1329, 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.7/site-packages/obspy/clients/fdsn/client.py", line 1099, 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.7/doctest.py", line 1329, 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")
NameError: name 'client' is not defined
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/fdsn/client.py", line 1100, 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.7/doctest.py", line 1329, 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.7/doctest.py", line 2196, 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.7/site-packages/obspy/clients/fdsn/client.py", line 739, in get_waveforms
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/fdsn/client.py", line 743, in obspy.clients.fdsn.client.Client.get_waveforms
Failed example:
client = Client("IRIS")
Exception raised:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.fdsn.client.Client.get_waveforms[0]>", line 1, in <module>
client = Client("IRIS")
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/fdsn/client.py", line 263, in __init__
self._discover_services()
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/fdsn/client.py", line 1547, in _discover_services
raise FDSNException(msg)
obspy.clients.fdsn.header.FDSNException: No FDSN services could be discovered at 'http://service.iris.edu'. This could be due to a temporary service outage or an invalid FDSN service address.
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/fdsn/client.py", line 746, 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.7/doctest.py", line 1329, 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)
NameError: name 'client' is not defined
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/fdsn/client.py", line 747, 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.7/doctest.py", line 1329, 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.7/site-packages/obspy/clients/fdsn/client.py", line 753, 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.7/doctest.py", line 1329, 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)
NameError: name 'client' is not defined
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/fdsn/client.py", line 754, 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.7/doctest.py", line 1329, 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.7/site-packages/obspy/clients/fdsn/client.py", line 765, 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.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.fdsn.client.Client.get_waveforms[8]>", line 1, in <module>
st = client.get_waveforms("TA", "E42A", "*", "BH?", t+300, t+400,
NameError: name 'client' is not defined
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/fdsn/client.py", line 767, 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.7/doctest.py", line 1329, 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.7/doctest.py", line 2196, 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.7/site-packages/obspy/clients/fdsn/client.py", line 886, in get_waveforms_bulk
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/fdsn/client.py", line 910, in obspy.clients.fdsn.client.Client.get_waveforms_bulk
Failed example:
client = Client("IRIS")
Exception raised:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.fdsn.client.Client.get_waveforms_bulk[0]>", line 1, in <module>
client = Client("IRIS")
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/fdsn/client.py", line 263, in __init__
self._discover_services()
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/fdsn/client.py", line 1547, in _discover_services
raise FDSNException(msg)
obspy.clients.fdsn.header.FDSNException: No FDSN services could be discovered at 'http://service.iris.edu'. This could be due to a temporary service outage or an invalid FDSN service address.
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/fdsn/client.py", line 917, 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.7/doctest.py", line 1329, 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)
NameError: name 'client' is not defined
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/fdsn/client.py", line 918, 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.7/doctest.py", line 1329, 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.7/site-packages/obspy/clients/fdsn/client.py", line 930, 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.7/doctest.py", line 1329, 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)
NameError: name 'client' is not defined
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/fdsn/client.py", line 931, 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.7/doctest.py", line 1329, 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.7/site-packages/obspy/clients/fdsn/client.py", line 953, 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.7/doctest.py", line 1329, 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)
NameError: name 'client' is not defined
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/fdsn/client.py", line 954, 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.7/doctest.py", line 1329, 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.7/doctest.py", line 2196, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.clients.fdsn.mass_downloader.__init__
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/fdsn/mass_downloader/__init__.py", line 2, in __init__
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/fdsn/mass_downloader/__init__.py", line 498, in obspy.clients.fdsn.mass_downloader.__init__
Failed example:
client_orfeus = Client("ORFEUS", user="random", password="some_pw")
Exception raised:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.fdsn.mass_downloader.__init__[19]>", line 1, in <module>
client_orfeus = Client("ORFEUS", user="random", password="some_pw")
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/fdsn/client.py", line 263, in __init__
self._discover_services()
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/fdsn/client.py", line 1547, in _discover_services
raise FDSNException(msg)
obspy.clients.fdsn.header.FDSNException: No FDSN services could be discovered at 'http://www.orfeus-eu.org'. This could be due to a temporary service outage or an invalid FDSN service address.
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/fdsn/mass_downloader/__init__.py", line 499, in obspy.clients.fdsn.mass_downloader.__init__
Failed example:
client_eth = Client("ETH", user="from_me", password="to_you")
Exception raised:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.fdsn.mass_downloader.__init__[20]>", line 1, in <module>
client_eth = Client("ETH", user="from_me", password="to_you")
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/fdsn/client.py", line 263, in __init__
self._discover_services()
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/fdsn/client.py", line 1547, in _discover_services
raise FDSNException(msg)
obspy.clients.fdsn.header.FDSNException: No FDSN services could be discovered at 'http://eida.ethz.ch'. This could be due to a temporary service outage or an invalid FDSN service address.
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/fdsn/tests/test_eidaws_routing_client.py", line 351, in test_get_stations_integration_test
self.assertGreaterEqual(len(inv), 1)
AssertionError: 0 not greater than or equal to 1
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/fdsn/tests/test_federator_routing_client.py", line 344, in test_get_stations_integration_test
self.assertGreaterEqual(len(inv), 1)
AssertionError: 0 not greater than or equal to 1
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/fdsn/tests/test_federator_routing_client.py", line 320, in test_get_waveforms_integration_test
self.assertGreaterEqual(len(st), 1)
AssertionError: 0 not greater than or equal to 1

Skipped tests (25)

Submodule Test Skip message
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.CatalogBasemapTestCase) matplotlib 3.0.1 is not compatible with basemap
core test_catalog_plot_local (obspy.core.tests.test_event.CatalogBasemapTestCase) matplotlib 3.0.1 is not compatible with basemap
core test_catalog_plot_ortho (obspy.core.tests.test_event.CatalogBasemapTestCase) matplotlib 3.0.1 is not compatible with basemap
core test_catalog_plot_ortho_longitude_wrap (obspy.core.tests.test_event.CatalogBasemapTestCase) matplotlib 3.0.1 is not compatible with basemap
core test_plot_catalog_before_1900 (obspy.core.tests.test_event.CatalogBasemapTestCase) matplotlib 3.0.1 is not compatible with basemap
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_plot_farfield_without_quiver_with_maps (obspy.core.tests.test_event.EventTestCase) matplotlib 3.0.1 is not compatible with basemap
core test_combined_station_event_plot (obspy.core.tests.test_inventory.InventoryBasemapTestCase) matplotlib 3.0.1 is not compatible with basemap
core test_location_plot_global (obspy.core.tests.test_inventory.InventoryBasemapTestCase) matplotlib 3.0.1 is not compatible with basemap
core test_location_plot_local (obspy.core.tests.test_inventory.InventoryBasemapTestCase) matplotlib 3.0.1 is not compatible with basemap
core test_location_plot_ortho (obspy.core.tests.test_inventory.InventoryBasemapTestCase) matplotlib 3.0.1 is not compatible with basemap
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.NetworkBasemapTestCase) unsupported proj4 library
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.
signal test_ppsd_spectrogram_plot (obspy.signal.tests.test_spectral_estimation.PsdTestCase) matplotlib >= 3 shifts labels

Slowest tests (20)

Runtime Test
17.802s test_response_calculation_from_seed_and_xseed (obspy.io.xseed.tests.test_core.CoreTestCase)
14.179s __init__ (obspy.taup)
10.824s test_shoot_existing_ray_param (obspy.taup.tests.test_seismic_phase.TauPySeismicPhaseTestCase)
8.545s test_ppsd_restricted_stacks (obspy.signal.tests.test_spectral_estimation.PsdTestCase)
8.307s test_plot_multiple_traces (obspy.imaging.tests.test_waveform.WaveformTestCase)
7.788s test_regional_models (obspy.taup.tests.test_tau.TauPyModelTestCase)
6.666s test_polarization_vidale (obspy.signal.tests.test_polarization.PolarizationTestCase)
6.642s plot_travel_times (obspy.taup.tau)
5.707s test_relcal_different_overlaps (obspy.signal.tests.test_calibration.CalibrationTestCase)
5.694s test_vs_java_iasp91 (obspy.taup.tests.test_tau.TauPyModelTestCase)
4.709s test_remove_response_plot (obspy.core.tests.test_trace.TraceTestCase)
4.372s test_many_identically_named_phases (obspy.taup.tests.test_seismic_phase.TauPySeismicPhaseTestCase)
4.355s test_correlate_stream_template_and_correlation_detector (obspy.signal.tests.test_cross_correlation.CrossCorrelationTestCase)
4.114s test_auto_read_arclink_xml (obspy.io.arclink.tests.test_inventory_xml.ArclinkInventoryTestCase)
3.655s test_rotate2zne_against_lqt_different_combinations (obspy.signal.tests.test_rotate.RotateTestCase)
3.393s test_ppsd_w_iris_against_obspy_results (obspy.signal.tests.test_spectral_estimation.PsdTestCase)
2.955s test_compute_ray_paths (obspy.taup.tests.test_ray_paths.RayPathCalculationsTestCase)
2.939s test_plot_travel_times_convenience (obspy.taup.tests.test_plotting.TauPyPlottingTestCase)
2.540s test_path_geo (obspy.taup.tests.test_taup_geo.TaupGeoTestCase)
2.539s test_spherical_many_phases (obspy.taup.tests.test_plotting.TauPyPlottingTestCase)