#95694 Report by node docker-deb-ubuntu_18_04_bionic covering 2037 tests from 55 modules resulted into 19 errors

Report

ObsPy version
1.1.0.post0+424.g65ca646b95.d…
GitHub Pull Request
-
Report file
XML document
Total runtime
535.8 sec
Report date/time
May 16, 2018, 1:01 p.m.

System / Python

Architecture
64bit
Machine
x86_64
Node
docker-deb-ubuntu_18_04_bionic
Processor
x86_64
Python Compiler
GCC 7.3.0
Python Implementation
CPython
Python Version
3.6.5
Release
4.4.0-122-generic
System
Linux
Version
#146-Ubuntu SMP Mon Apr 23 15:34:04 UTC 2018

Dependencies

cartopy
---
decorator
4.1.2
flake8
3.5.0
future
0.15.2
geographiclib
1.49
lxml.etree
4.2.1
m2crypto
---
matplotlib
2.1.1
mock
2.0.0
mpl_toolkits.basemap
1.1.0
numpy
1.13.3
pep8-naming
---
pyflakes
1.6.0
pyimgur
0.5.3
pyproj
1.9.5.1
requests
2.18.4
scipy
0.19.1
setuptools
39.0.1
shapefile
1.2.12
sqlalchemy
1.1.11

Modules (55)

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

Tracebacks (19)

Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/clients/arclink/tests/test_client.py", line 734, in test_get_inventory_instrument_change
instruments=True, route=False)
File "/usr/lib/python3/dist-packages/obspy/clients/arclink/client.py", line 1123, in get_inventory
result = self._fetch(rtype, rdata, route=route)
File "/usr/lib/python3/dist-packages/obspy/clients/arclink/client.py", line 219, in _fetch
return self._request(request_type, request_data)
File "/usr/lib/python3/dist-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 "/usr/lib/python3/dist-packages/obspy/clients/arclink/tests/test_client.py", line 226, in test_get_inventory_stationgroup
result = client.get_inventory(network="_NFOTABOO", route=True)
File "/usr/lib/python3/dist-packages/obspy/clients/arclink/client.py", line 1121, in get_inventory
result = self._fetch(rtype, rdata, route=False)
File "/usr/lib/python3/dist-packages/obspy/clients/arclink/client.py", line 219, in _fetch
return self._request(request_type, request_data)
File "/usr/lib/python3/dist-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 "/usr/lib/python3.6/doctest.py", line 2199, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.clients.arclink.client.Client.get_metadata
File "/usr/lib/python3/dist-packages/obspy/clients/arclink/client.py", line 751, in get_metadata
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/clients/arclink/client.py", line 777, in obspy.clients.arclink.client.Client.get_metadata
Failed example:
data = client.get_metadata('BW', 'MANZ', '', 'EHZ', t)
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.6/doctest.py", line 1330, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.arclink.client.Client.get_metadata[4]>", line 1, in <module>
data = client.get_metadata('BW', 'MANZ', '', 'EHZ', t)
File "/usr/lib/python3/dist-packages/obspy/clients/arclink/client.py", line 805, in get_metadata
instruments=True, route=route)
File "/usr/lib/python3/dist-packages/obspy/clients/arclink/client.py", line 1123, in get_inventory
result = self._fetch(rtype, rdata, route=route)
File "/usr/lib/python3/dist-packages/obspy/clients/arclink/client.py", line 219, in _fetch
return self._request(request_type, request_data)
File "/usr/lib/python3/dist-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 "/usr/lib/python3/dist-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-71>", line 2, in get_stations
File "/usr/lib/python3/dist-packages/obspy/clients/fdsn/routing/routing_client.py", line 79, in _assert_filename_not_in_kwargs
return f(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/clients/fdsn/routing/federator_routing_client.py", line 110, in get_stations
return super(FederatorRoutingClient, self).get_stations(**kwargs)
File "<decorator-gen-64>", line 2, in get_stations
File "/usr/lib/python3/dist-packages/obspy/clients/fdsn/routing/routing_client.py", line 79, in _assert_filename_not_in_kwargs
return f(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/clients/fdsn/routing/routing_client.py", line 344, in get_stations
return self.get_stations_bulk([bulk], **kwargs)
File "<decorator-gen-72>", line 2, in get_stations_bulk
File "/usr/lib/python3/dist-packages/obspy/clients/fdsn/routing/routing_client.py", line 79, in _assert_filename_not_in_kwargs
return f(*args, **kwargs)
File "/usr/lib/python3/dist-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 "/usr/lib/python3/dist-packages/obspy/clients/base.py", line 245, in _download
self._handle_requests_http_error(r)
File "/usr/lib/python3/dist-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 "/usr/lib/python3/dist-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 "/usr/lib/python3/dist-packages/obspy/clients/iris/tests/test_client.py", line 58, in test_distaz
client = Client()
File "/usr/lib/python3/dist-packages/obspy/clients/iris/client.py", line 94, in __init__
if self.user or self.password:
AttributeError: 'Client' object has no attribute 'user'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/clients/iris/tests/test_client.py", line 126, in test_evalresp
client = Client()
File "/usr/lib/python3/dist-packages/obspy/clients/iris/client.py", line 94, in __init__
if self.user or self.password:
AttributeError: 'Client' object has no attribute 'user'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/clients/iris/tests/test_client.py", line 83, in test_flinnengdahl
client = Client()
File "/usr/lib/python3/dist-packages/obspy/clients/iris/client.py", line 94, in __init__
if self.user or self.password:
AttributeError: 'Client' object has no attribute 'user'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/clients/iris/tests/test_client.py", line 223, in test_resp
client = Client()
File "/usr/lib/python3/dist-packages/obspy/clients/iris/client.py", line 94, in __init__
if self.user or self.password:
AttributeError: 'Client' object has no attribute 'user'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/clients/iris/tests/test_client.py", line 31, in test_sacpz
client = Client()
File "/usr/lib/python3/dist-packages/obspy/clients/iris/client.py", line 94, in __init__
if self.user or self.password:
AttributeError: 'Client' object has no attribute 'user'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/clients/iris/tests/test_client.py", line 248, in test_timeseries
client = Client()
File "/usr/lib/python3/dist-packages/obspy/clients/iris/client.py", line 94, in __init__
if self.user or self.password:
AttributeError: 'Client' object has no attribute 'user'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/clients/iris/tests/test_client.py", line 116, in test_traveltime
client = Client()
File "/usr/lib/python3/dist-packages/obspy/clients/iris/client.py", line 94, in __init__
if self.user or self.password:
AttributeError: 'Client' object has no attribute 'user'
Traceback (most recent call last):
File "/usr/lib/python3.6/doctest.py", line 2199, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.clients.iris.client.Client
File "/usr/lib/python3/dist-packages/obspy/clients/iris/client.py", line 37, in Client
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/clients/iris/client.py", line 70, in obspy.clients.iris.client.Client
Failed example:
client = Client()
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.6/doctest.py", line 1330, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.iris.client.Client[1]>", line 1, in <module>
client = Client()
File "/usr/lib/python3/dist-packages/obspy/clients/iris/client.py", line 94, in __init__
if self.user or self.password:
AttributeError: 'Client' object has no attribute 'user'
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/clients/iris/client.py", line 71, in obspy.clients.iris.client.Client
Failed example:
result = client.distaz(stalat=1.1, stalon=1.2, evtlat=3.2,
evtlon=1.4)
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.6/doctest.py", line 1330, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.iris.client.Client[2]>", line 1, in <module>
result = client.distaz(stalat=1.1, stalon=1.2, evtlat=3.2,
NameError: name 'client' is not defined
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/clients/iris/client.py", line 73, in obspy.clients.iris.client.Client
Failed example:
print(result['distance'])
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.6/doctest.py", line 1330, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.iris.client.Client[3]>", line 1, in <module>
print(result['distance'])
NameError: name 'result' is not defined
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/clients/iris/client.py", line 75, in obspy.clients.iris.client.Client
Failed example:
print(result['backazimuth'])
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.6/doctest.py", line 1330, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.iris.client.Client[4]>", line 1, in <module>
print(result['backazimuth'])
NameError: name 'result' is not defined
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/clients/iris/client.py", line 77, in obspy.clients.iris.client.Client
Failed example:
print(result['azimuth'])
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.6/doctest.py", line 1330, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.iris.client.Client[5]>", line 1, in <module>
print(result['azimuth'])
NameError: name 'result' is not defined
Traceback (most recent call last):
File "/usr/lib/python3.6/doctest.py", line 2199, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.clients.iris.client.Client.distaz
File "/usr/lib/python3/dist-packages/obspy/clients/iris/client.py", line 564, in distaz
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/clients/iris/client.py", line 598, in obspy.clients.iris.client.Client.distaz
Failed example:
client = Client()
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.6/doctest.py", line 1330, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.iris.client.Client.distaz[1]>", line 1, in <module>
client = Client()
File "/usr/lib/python3/dist-packages/obspy/clients/iris/client.py", line 94, in __init__
if self.user or self.password:
AttributeError: 'Client' object has no attribute 'user'
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/clients/iris/client.py", line 599, in obspy.clients.iris.client.Client.distaz
Failed example:
result = client.distaz(stalat=1.1, stalon=1.2, evtlat=3.2,
evtlon=1.4)
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.6/doctest.py", line 1330, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.iris.client.Client.distaz[2]>", line 1, in <module>
result = client.distaz(stalat=1.1, stalon=1.2, evtlat=3.2,
NameError: name 'client' is not defined
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/clients/iris/client.py", line 601, in obspy.clients.iris.client.Client.distaz
Failed example:
print(result['distance'])
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.6/doctest.py", line 1330, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.iris.client.Client.distaz[3]>", line 1, in <module>
print(result['distance'])
NameError: name 'result' is not defined
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/clients/iris/client.py", line 603, in obspy.clients.iris.client.Client.distaz
Failed example:
print(result['distancemeters'])
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.6/doctest.py", line 1330, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.iris.client.Client.distaz[4]>", line 1, in <module>
print(result['distancemeters'])
NameError: name 'result' is not defined
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/clients/iris/client.py", line 605, in obspy.clients.iris.client.Client.distaz
Failed example:
print(result['backazimuth'])
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.6/doctest.py", line 1330, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.iris.client.Client.distaz[5]>", line 1, in <module>
print(result['backazimuth'])
NameError: name 'result' is not defined
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/clients/iris/client.py", line 607, in obspy.clients.iris.client.Client.distaz
Failed example:
print(result['azimuth'])
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.6/doctest.py", line 1330, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.iris.client.Client.distaz[6]>", line 1, in <module>
print(result['azimuth'])
NameError: name 'result' is not defined
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/clients/iris/client.py", line 609, in obspy.clients.iris.client.Client.distaz
Failed example:
print(result['ellipsoidname'])
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.6/doctest.py", line 1330, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.iris.client.Client.distaz[7]>", line 1, in <module>
print(result['ellipsoidname'])
NameError: name 'result' is not defined
Traceback (most recent call last):
File "/usr/lib/python3.6/doctest.py", line 2199, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.clients.iris.client.Client.evalresp
File "/usr/lib/python3/dist-packages/obspy/clients/iris/client.py", line 833, in evalresp
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/clients/iris/client.py", line 935, in obspy.clients.iris.client.Client.evalresp
Failed example:
client = Client()
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.6/doctest.py", line 1330, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.iris.client.Client.evalresp[1]>", line 1, in <module>
client = Client()
File "/usr/lib/python3/dist-packages/obspy/clients/iris/client.py", line 94, in __init__
if self.user or self.password:
AttributeError: 'Client' object has no attribute 'user'
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/clients/iris/client.py", line 937, in obspy.clients.iris.client.Client.evalresp
Failed example:
data = client.evalresp("IU", "ANMO", "00", "BHZ", dt,
output='fap')
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.6/doctest.py", line 1330, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.iris.client.Client.evalresp[3]>", line 1, in <module>
data = client.evalresp("IU", "ANMO", "00", "BHZ", dt,
NameError: name 'client' is not defined
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/clients/iris/client.py", line 939, in obspy.clients.iris.client.Client.evalresp
Failed example:
data[0] # frequency, amplitude, phase of first point
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.6/doctest.py", line 1330, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.iris.client.Client.evalresp[4]>", line 1, in <module>
data[0] # frequency, amplitude, phase of first point
NameError: name 'data' is not defined
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/clients/iris/client.py", line 945, in obspy.clients.iris.client.Client.evalresp
Failed example:
client = Client()
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.6/doctest.py", line 1330, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.iris.client.Client.evalresp[6]>", line 1, in <module>
client = Client()
File "/usr/lib/python3/dist-packages/obspy/clients/iris/client.py", line 94, in __init__
if self.user or self.password:
AttributeError: 'Client' object has no attribute 'user'
Traceback (most recent call last):
File "/usr/lib/python3.6/doctest.py", line 2199, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.clients.iris.client.Client.flinnengdahl
File "/usr/lib/python3/dist-packages/obspy/clients/iris/client.py", line 629, in flinnengdahl
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/clients/iris/client.py", line 653, in obspy.clients.iris.client.Client.flinnengdahl
Failed example:
client = Client()
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.6/doctest.py", line 1330, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.iris.client.Client.flinnengdahl[1]>", line 1, in <module>
client = Client()
File "/usr/lib/python3/dist-packages/obspy/clients/iris/client.py", line 94, in __init__
if self.user or self.password:
AttributeError: 'Client' object has no attribute 'user'
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/clients/iris/client.py", line 654, in obspy.clients.iris.client.Client.flinnengdahl
Failed example:
client.flinnengdahl(lat=-20.5, lon=-100.6, rtype="code")
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.6/doctest.py", line 1330, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.iris.client.Client.flinnengdahl[2]>", line 1, in <module>
client.flinnengdahl(lat=-20.5, lon=-100.6, rtype="code")
NameError: name 'client' is not defined
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/clients/iris/client.py", line 657, in obspy.clients.iris.client.Client.flinnengdahl
Failed example:
print(client.flinnengdahl(lat=42, lon=-122.24, rtype="region"))
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.6/doctest.py", line 1330, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.iris.client.Client.flinnengdahl[3]>", line 1, in <module>
print(client.flinnengdahl(lat=42, lon=-122.24, rtype="region"))
NameError: name 'client' is not defined
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/clients/iris/client.py", line 660, in obspy.clients.iris.client.Client.flinnengdahl
Failed example:
code, region = client.flinnengdahl(lat=-20.5, lon=-100.6)
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.6/doctest.py", line 1330, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.iris.client.Client.flinnengdahl[4]>", line 1, in <module>
code, region = client.flinnengdahl(lat=-20.5, lon=-100.6)
NameError: name 'client' is not defined
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/clients/iris/client.py", line 661, in obspy.clients.iris.client.Client.flinnengdahl
Failed example:
print(code, region)
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.6/doctest.py", line 1330, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.iris.client.Client.flinnengdahl[5]>", line 1, in <module>
print(code, region)
NameError: name 'code' is not defined
Traceback (most recent call last):
File "/usr/lib/python3.6/doctest.py", line 2199, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.clients.iris.client.Client.resp
File "/usr/lib/python3/dist-packages/obspy/clients/iris/client.py", line 363, in resp
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/clients/iris/client.py", line 409, in obspy.clients.iris.client.Client.resp
Failed example:
client = Client()
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.6/doctest.py", line 1330, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.iris.client.Client.resp[2]>", line 1, in <module>
client = Client()
File "/usr/lib/python3/dist-packages/obspy/clients/iris/client.py", line 94, in __init__
if self.user or self.password:
AttributeError: 'Client' object has no attribute 'user'
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/clients/iris/client.py", line 411, in obspy.clients.iris.client.Client.resp
Failed example:
data = client.resp("IU", "ANMO", "00", "BHZ", dt)
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.6/doctest.py", line 1330, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.iris.client.Client.resp[4]>", line 1, in <module>
data = client.resp("IU", "ANMO", "00", "BHZ", dt)
NameError: name 'client' is not defined
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/clients/iris/client.py", line 412, in obspy.clients.iris.client.Client.resp
Failed example:
print(data.decode()) # doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.6/doctest.py", line 1330, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.iris.client.Client.resp[5]>", line 1, in <module>
print(data.decode()) # doctest: +ELLIPSIS
NameError: name 'data' is not defined
Traceback (most recent call last):
File "/usr/lib/python3.6/doctest.py", line 2199, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.clients.iris.client.Client.sacpz
File "/usr/lib/python3/dist-packages/obspy/clients/iris/client.py", line 457, in sacpz
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/clients/iris/client.py", line 492, in obspy.clients.iris.client.Client.sacpz
Failed example:
client = Client()
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.6/doctest.py", line 1330, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.iris.client.Client.sacpz[2]>", line 1, in <module>
client = Client()
File "/usr/lib/python3/dist-packages/obspy/clients/iris/client.py", line 94, in __init__
if self.user or self.password:
AttributeError: 'Client' object has no attribute 'user'
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/clients/iris/client.py", line 494, in obspy.clients.iris.client.Client.sacpz
Failed example:
sacpz = client.sacpz("IU", "ANMO", "00", "BHZ", dt)
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.6/doctest.py", line 1330, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.iris.client.Client.sacpz[4]>", line 1, in <module>
sacpz = client.sacpz("IU", "ANMO", "00", "BHZ", dt)
NameError: name 'client' is not defined
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/clients/iris/client.py", line 495, in obspy.clients.iris.client.Client.sacpz
Failed example:
print(sacpz.decode()) # doctest: +ELLIPSIS +NORMALIZE_WHITESPACE
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.6/doctest.py", line 1330, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.iris.client.Client.sacpz[5]>", line 1, in <module>
print(sacpz.decode()) # doctest: +ELLIPSIS +NORMALIZE_WHITESPACE
NameError: name 'sacpz' is not defined
Traceback (most recent call last):
File "/usr/lib/python3.6/doctest.py", line 2199, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.clients.iris.client.Client.timeseries
File "/usr/lib/python3/dist-packages/obspy/clients/iris/client.py", line 180, in timeseries
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/clients/iris/client.py", line 317, in obspy.clients.iris.client.Client.timeseries
Failed example:
client = Client()
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.6/doctest.py", line 1330, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.iris.client.Client.timeseries[3]>", line 1, in <module>
client = Client()
File "/usr/lib/python3/dist-packages/obspy/clients/iris/client.py", line 94, in __init__
if self.user or self.password:
AttributeError: 'Client' object has no attribute 'user'
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/clients/iris/client.py", line 318, in obspy.clients.iris.client.Client.timeseries
Failed example:
st = client.timeseries("IU", "ANMO", "00", "BHZ", dt, dt+10)
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.6/doctest.py", line 1330, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.iris.client.Client.timeseries[4]>", line 1, in <module>
st = client.timeseries("IU", "ANMO", "00", "BHZ", dt, dt+10)
NameError: name 'client' is not defined
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/clients/iris/client.py", line 319, in obspy.clients.iris.client.Client.timeseries
Failed example:
print(st[0].data) # doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.6/doctest.py", line 1330, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.iris.client.Client.timeseries[5]>", line 1, in <module>
print(st[0].data) # doctest: +ELLIPSIS
NameError: name 'st' is not defined
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/clients/iris/client.py", line 321, in obspy.clients.iris.client.Client.timeseries
Failed example:
st = client.timeseries("IU", "ANMO", "00", "BHZ", dt, dt+10,
filter=["correct", "demean", "lp=2.0"])
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.6/doctest.py", line 1330, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.iris.client.Client.timeseries[6]>", line 1, in <module>
st = client.timeseries("IU", "ANMO", "00", "BHZ", dt, dt+10,
NameError: name 'client' is not defined
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/clients/iris/client.py", line 323, in obspy.clients.iris.client.Client.timeseries
Failed example:
print(st[0].data) # doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.6/doctest.py", line 1330, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.iris.client.Client.timeseries[7]>", line 1, in <module>
print(st[0].data) # doctest: +ELLIPSIS
NameError: name 'st' is not defined
Traceback (most recent call last):
File "/usr/lib/python3.6/doctest.py", line 2199, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.clients.iris.client.Client.traveltime
File "/usr/lib/python3/dist-packages/obspy/clients/iris/client.py", line 687, in traveltime
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/clients/iris/client.py", line 771, in obspy.clients.iris.client.Client.traveltime
Failed example:
client = Client()
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.6/doctest.py", line 1330, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.iris.client.Client.traveltime[1]>", line 1, in <module>
client = Client()
File "/usr/lib/python3/dist-packages/obspy/clients/iris/client.py", line 94, in __init__
if self.user or self.password:
AttributeError: 'Client' object has no attribute 'user'
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/clients/iris/client.py", line 772, in obspy.clients.iris.client.Client.traveltime
Failed example:
result = client.traveltime(evloc=(-36.122,-72.898),
staloc=[(-33.45,-70.67),(47.61,-122.33),(35.69,139.69)],
evdepth=22.9)
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.6/doctest.py", line 1330, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.iris.client.Client.traveltime[2]>", line 1, in <module>
result = client.traveltime(evloc=(-36.122,-72.898),
NameError: name 'client' is not defined
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/clients/iris/client.py", line 775, in obspy.clients.iris.client.Client.traveltime
Failed example:
print(result.decode()) # doctest: +ELLIPSIS +NORMALIZE_WHITESPACE
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.6/doctest.py", line 1330, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.iris.client.Client.traveltime[3]>", line 1, in <module>
print(result.decode()) # doctest: +ELLIPSIS +NORMALIZE_WHITESPACE
NameError: name 'result' is not defined

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_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_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_flake8 (obspy.core.tests.test_code_formatting.CodeFormattingTestCase) flake8 check disabled
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
28.716s get_metadata (obspy.clients.arclink.client.Client)
28.694s test_get_inventory_instrument_change (obspy.clients.arclink.tests.test_client.ClientTestCase)
28.694s test_get_inventory_stationgroup (obspy.clients.arclink.tests.test_client.ClientTestCase)
20.437s test_get_networks (obspy.clients.arclink.tests.test_client.ClientTestCase)
12.820s test_get_waveform_instrument_change (obspy.clients.arclink.tests.test_client.ClientTestCase)
9.523s test_get_inventory (obspy.clients.arclink.tests.test_client.ClientTestCase)
9.507s test_redirection_auth (obspy.clients.fdsn.tests.test_client.ClientTestCase)
9.102s test_dataselect_bulk (obspy.clients.fdsn.tests.test_client.ClientTestCase)
8.888s test_redirection (obspy.clients.fdsn.tests.test_client.ClientTestCase)
8.859s test_plot_farfield_without_quiver_with_maps (obspy.core.tests.test_event.EventTestCase)
8.823s test_eida_token_resolution (obspy.clients.fdsn.tests.test_client.ClientTestCase)
8.817s test_get_routing (obspy.clients.arclink.tests.test_client.ClientTestCase)
8.788s test_ppsd_restricted_stacks (obspy.signal.tests.test_spectral_estimation.PsdTestCase)
8.502s test_get_waveform_with_metadata (obspy.clients.arclink.tests.test_client.ClientTestCase)
7.140s test_get_waveform_with_dcid_key_file (obspy.clients.arclink.tests.test_decrypt.ClientTestCase)
7.037s test_get_waveforms_integration_test (obspy.clients.fdsn.tests.test_federator_routing_client.FederatorRoutingClientTestCase)
6.506s test_issue_311 (obspy.clients.arclink.tests.test_client.ClientTestCase)
6.300s test_delayed_request (obspy.clients.arclink.tests.test_client.ClientTestCase)
6.122s test_get_stations (obspy.clients.arclink.tests.test_client.ClientTestCase)
5.852s test_issue_372 (obspy.clients.arclink.tests.test_client.ClientTestCase)