#88899 Report by node sismo04 covering 1941 tests from 53 modules resulted into 5 errors
Report
- ObsPy version
- 1.1.0rc7
- GitHub Pull Request
- -
- Report file
- XML document
- Total runtime
- 1320.4 sec
- Report date/time
- Oct. 18, 2017, 4:21 a.m.
System / Python
- Architecture
- 64bit
- Machine
- x86_64
- Node
- sismo04
- Processor
- x86_64
- Python Compiler
- GCC 4.4.7 20120313 (Red Hat 4.4.7-1)
- Python Implementation
- CPython
- Python Version
- 3.6.2
- Release
- 4.10.0-37-generic
- System
- Linux
- Version
- #41~16.04.1-Ubuntu SMP Fri Oct 6 22:42:59 UTC 2017
Dependencies
- cartopy
- ---
- decorator
- 4.1.2
- flake8
- ---
- future
- 0.16.0
- geographiclib
- ---
- lxml.etree
- 4.1.0
- m2crypto
- ---
- matplotlib
- 1.5.3
- mock
- ---
- mpl_toolkits.basemap
- ---
- numpy
- 1.13.3
- pep8-naming
- ---
- pyflakes
- ---
- pyimgur
- ---
- pyproj
- ---
- requests
- 2.18.4
- scipy
- 0.19.1
- setuptools
- 36.5.0.post20170921
- shapefile
- ---
- sqlalchemy
- 1.1.13
Modules (53)
Module | Errors / Failures | Tracebacks | ||||
---|---|---|---|---|---|---|
obspy.clients.arclink | 1 | 41 | 39 | 2 | 268.02s | 1 |
obspy.clients.earthworm | - | 7 | 7 | - | 9.71s | - |
obspy.clients.fdsn | 1 | 125 | 125 | - | 144.07s | 2 |
obspy.clients.filesystem | - | 6 | 6 | - | 2.88s | - |
obspy.clients.iris | - | 15 | 15 | - | 44.32s | - |
obspy.clients.neic | - | 5 | 5 | - | 8.36s | - |
obspy.clients.nrl | - | 6 | 6 | - | 10.11s | - |
obspy.clients.seedlink | - | 10 | 7 | 3 | 0.50s | - |
obspy.clients.seishub | 3 | 17 | 4 | 13 | 485.56s | 3 4 5 |
obspy.clients.syngine | - | 18 | 18 | - | 47.82s | - |
obspy.core | - | 571 | 548 | 23 | 42.17s | - |
obspy.db | - | 9 | 9 | - | 0.16s | - |
obspy.geodetics | - | 18 | 16 | 2 | 0.25s | - |
obspy.imaging | - | 76 | 75 | 1 | 75.55s | - |
obspy.io.ah | - | 5 | 5 | - | 0.17s | - |
obspy.io.arclink | - | 4 | 4 | - | 3.50s | - |
obspy.io.ascii | - | 27 | 27 | - | 0.22s | - |
obspy.io.cmtsolution | - | 9 | 9 | - | 0.10s | - |
obspy.io.cnv | - | 1 | 1 | - | 0.04s | - |
obspy.io.css | - | 7 | 7 | - | 1.52s | - |
obspy.io.gcf | - | 9 | 9 | - | 0.04s | - |
obspy.io.gse2 | - | 55 | 55 | - | 0.70s | - |
obspy.io.json | - | 4 | 4 | - | 0.06s | - |
obspy.io.kinemetrics | - | 7 | 7 | - | 0.94s | - |
obspy.io.kml | - | 3 | 3 | - | 0.26s | - |
obspy.io.mseed | - | 115 | 115 | - | 2.79s | - |
obspy.io.ndk | - | 20 | 20 | - | 0.80s | - |
obspy.io.nied | - | 11 | 11 | - | 0.09s | - |
obspy.io.nlloc | - | 11 | 10 | 1 | 0.25s | - |
obspy.io.nordic | - | 31 | 31 | - | 1.30s | - |
obspy.io.pdas | - | 3 | 3 | - | 0.01s | - |
obspy.io.pde | - | 13 | 13 | - | 0.60s | - |
obspy.io.quakeml | - | 34 | 34 | - | 0.96s | - |
obspy.io.reftek | - | 18 | 18 | - | 0.28s | - |
obspy.io.sac | - | 94 | 94 | - | 1.02s | - |
obspy.io.scardec | - | 4 | 4 | - | 0.12s | - |
obspy.io.seg2 | - | 1 | 1 | - | 0.06s | - |
obspy.io.segy | - | 54 | 54 | - | 0.93s | - |
obspy.io.seisan | - | 8 | 8 | - | 0.15s | - |
obspy.io.seiscomp | - | 42 | 42 | - | 1.28s | - |
obspy.io.sh | - | 19 | 19 | - | 0.33s | - |
obspy.io.shapefile | - | 5 | 1 | 4 | 0.12s | - |
obspy.io.stationtxt | - | 11 | 11 | - | 0.12s | - |
obspy.io.stationxml | - | 20 | 20 | - | 0.56s | - |
obspy.io.wav | - | 8 | 8 | - | 0.04s | - |
obspy.io.win | - | 2 | 2 | - | 0.08s | - |
obspy.io.xseed | - | 80 | 80 | - | 16.01s | - |
obspy.io.y | - | 5 | 5 | - | 0.02s | - |
obspy.io.zmap | - | 14 | 14 | - | 0.38s | - |
obspy.realtime | - | 22 | 22 | - | 0.68s | - |
obspy.scripts | - | 2 | 2 | - | 0.02s | - |
obspy.signal | - | 175 | 174 | 1 | 67.31s | - |
obspy.taup | - | 64 | 58 | 6 | 77.01s | - |
Summary | 5 | 1941 | 1885 | 56 | 1320.38s | 5 |
Tracebacks (5)
Traceback (most recent call last): File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/site-packages/obspy/clients/arclink/tests/test_client.py", line 429, in test_get_stations result = client.get_stations(start, end, 'MN', route=True) File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/site-packages/obspy/clients/arclink/client.py", line 1379, in get_stations endtime=endtime, route=route) File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/site-packages/obspy/clients/arclink/client.py", line 1123, in get_inventory result = self._fetch(rtype, rdata, route=route) File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/site-packages/obspy/clients/arclink/client.py", line 260, in _fetch return self._request(request_type, request_data) File "/home/dam/anaconda3/envs/obspy_test/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/dam/anaconda3/envs/obspy_test/lib/python3.6/site-packages/obspy/clients/fdsn/tests/test_client.py", line 558, in test_authentication got = client.get_waveforms(*query) File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/site-packages/obspy/clients/fdsn/client.py", line 830, in get_waveforms data_stream = self._download(url, use_gzip=False) File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/site-packages/obspy/clients/fdsn/client.py", line 1382, in _download raise_on_error(code, data) File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/site-packages/obspy/clients/fdsn/client.py", line 1735, in raise_on_error (str(data.__class__.__name__), str(data)))) obspy.clients.fdsn.header.FDSNException: Unknown Error (URLError): <urlopen error [Errno -3] Temporary failure in name resolution>
Traceback (most recent call last): File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/doctest.py", line 2199, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for obspy.clients.seishub.__init__ File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/site-packages/obspy/clients/seishub/__init__.py", line 1, in __init__ ---------------------------------------------------------------------- File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/site-packages/obspy/clients/seishub/__init__.py", line 22, in obspy.clients.seishub.__init__ Failed example: st = client.waveform.get_waveforms("BW", "MANZ", "", "EH*", t, t+20) Exception raised: Traceback (most recent call last): File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/urllib/request.py", line 1318, in do_open encode_chunked=req.has_header('Transfer-encoding')) File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/http/client.py", line 1239, in request self._send_request(method, url, body, headers, encode_chunked) File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/http/client.py", line 1285, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/http/client.py", line 1234, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/http/client.py", line 1026, in _send_output self.send(msg) File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/http/client.py", line 964, in send self.connect() File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/http/client.py", line 936, in connect (self.host,self.port), self.timeout, self.source_address) File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/socket.py", line 722, in create_connection raise err File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/socket.py", line 713, in create_connection sock.connect(sa) socket.timeout: timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/doctest.py", line 1330, in __run compileflags, 1), test.globs) File "<doctest obspy.clients.seishub.__init__[4]>", line 1, in <module> st = client.waveform.get_waveforms("BW", "MANZ", "", "EH*", t, t+20) File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/site-packages/obspy/clients/seishub/client.py", line 504, in get_waveforms data = self.client._fetch(url, **kwargs) File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/site-packages/obspy/clients/seishub/client.py", line 218, in _fetch response = urllib_request.urlopen(remoteaddr, timeout=self.timeout) File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/urllib/request.py", line 223, in urlopen return opener.open(url, data, timeout) File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/urllib/request.py", line 526, in open response = self._open(req, data) File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/urllib/request.py", line 544, in _open '_open', req) File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/urllib/request.py", line 504, in _call_chain result = func(*args) File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/urllib/request.py", line 1346, in http_open return self.do_open(http.client.HTTPConnection, req) File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/urllib/request.py", line 1320, in do_open raise URLError(err) urllib.error.URLError: <urlopen error timed out> ---------------------------------------------------------------------- File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/site-packages/obspy/clients/seishub/__init__.py", line 23, in obspy.clients.seishub.__init__ Failed example: st.sort() # doctest: +ELLIPSIS Exception raised: Traceback (most recent call last): File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/doctest.py", line 1330, in __run compileflags, 1), test.globs) File "<doctest obspy.clients.seishub.__init__[5]>", line 1, in <module> st.sort() # doctest: +ELLIPSIS NameError: name 'st' is not defined ---------------------------------------------------------------------- File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/site-packages/obspy/clients/seishub/__init__.py", line 25, in obspy.clients.seishub.__init__ Failed example: print(st) # doctest: +ELLIPSIS Exception raised: Traceback (most recent call last): File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/doctest.py", line 1330, in __run compileflags, 1), test.globs) File "<doctest obspy.clients.seishub.__init__[6]>", line 1, in <module> print(st) # doctest: +ELLIPSIS NameError: name 'st' is not defined ---------------------------------------------------------------------- File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/site-packages/obspy/clients/seishub/__init__.py", line 37, in obspy.clients.seishub.__init__ Failed example: sta_ids = client.waveform.get_station_ids(network='BW') Exception raised: Traceback (most recent call last): File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/urllib/request.py", line 1318, in do_open encode_chunked=req.has_header('Transfer-encoding')) File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/http/client.py", line 1239, in request self._send_request(method, url, body, headers, encode_chunked) File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/http/client.py", line 1285, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/http/client.py", line 1234, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/http/client.py", line 1026, in _send_output self.send(msg) File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/http/client.py", line 964, in send self.connect() File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/http/client.py", line 936, in connect (self.host,self.port), self.timeout, self.source_address) File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/socket.py", line 722, in create_connection raise err File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/socket.py", line 713, in create_connection sock.connect(sa) socket.timeout: timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/doctest.py", line 1330, in __run compileflags, 1), test.globs) File "<doctest obspy.clients.seishub.__init__[8]>", line 1, in <module> sta_ids = client.waveform.get_station_ids(network='BW') File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/site-packages/obspy/clients/seishub/client.py", line 376, in get_station_ids root = self.client._objectify(url, **kwargs) File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/site-packages/obspy/clients/seishub/client.py", line 255, in _objectify doc = self._fetch(url, *args, **kwargs) File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/site-packages/obspy/clients/seishub/client.py", line 218, in _fetch response = urllib_request.urlopen(remoteaddr, timeout=self.timeout) File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/urllib/request.py", line 223, in urlopen return opener.open(url, data, timeout) File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/urllib/request.py", line 526, in open response = self._open(req, data) File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/urllib/request.py", line 544, in _open '_open', req) File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/urllib/request.py", line 504, in _call_chain result = func(*args) File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/urllib/request.py", line 1346, in http_open return self.do_open(http.client.HTTPConnection, req) File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/urllib/request.py", line 1320, in do_open raise URLError(err) urllib.error.URLError: <urlopen error timed out> ---------------------------------------------------------------------- File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/site-packages/obspy/clients/seishub/__init__.py", line 41, in obspy.clients.seishub.__init__ Failed example: cha_ids = client.waveform.get_channel_ids(network='BW', station='MANZ') Exception raised: Traceback (most recent call last): File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/urllib/request.py", line 1318, in do_open encode_chunked=req.has_header('Transfer-encoding')) File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/http/client.py", line 1239, in request self._send_request(method, url, body, headers, encode_chunked) File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/http/client.py", line 1285, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/http/client.py", line 1234, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/http/client.py", line 1026, in _send_output self.send(msg) File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/http/client.py", line 964, in send self.connect() File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/http/client.py", line 936, in connect (self.host,self.port), self.timeout, self.source_address) File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/socket.py", line 722, in create_connection raise err File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/socket.py", line 713, in create_connection sock.connect(sa) socket.timeout: timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/doctest.py", line 1330, in __run compileflags, 1), test.globs) File "<doctest obspy.clients.seishub.__init__[10]>", line 1, in <module> cha_ids = client.waveform.get_channel_ids(network='BW', station='MANZ') File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/site-packages/obspy/clients/seishub/client.py", line 417, in get_channel_ids root = self.client._objectify(url, **kwargs) File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/site-packages/obspy/clients/seishub/client.py", line 255, in _objectify doc = self._fetch(url, *args, **kwargs) File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/site-packages/obspy/clients/seishub/client.py", line 218, in _fetch response = urllib_request.urlopen(remoteaddr, timeout=self.timeout) File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/urllib/request.py", line 223, in urlopen return opener.open(url, data, timeout) File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/urllib/request.py", line 526, in open response = self._open(req, data) File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/urllib/request.py", line 544, in _open '_open', req) File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/urllib/request.py", line 504, in _call_chain result = func(*args) File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/urllib/request.py", line 1346, in http_open return self.do_open(http.client.HTTPConnection, req) File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/urllib/request.py", line 1320, in do_open raise URLError(err) urllib.error.URLError: <urlopen error timed out> ---------------------------------------------------------------------- File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/site-packages/obspy/clients/seishub/__init__.py", line 42, in obspy.clients.seishub.__init__ Failed example: sorted(cha_ids) # doctest: +NORMALIZE_WHITESPACE Exception raised: Traceback (most recent call last): File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/doctest.py", line 1330, in __run compileflags, 1), test.globs) File "<doctest obspy.clients.seishub.__init__[11]>", line 1, in <module> sorted(cha_ids) # doctest: +NORMALIZE_WHITESPACE NameError: name 'cha_ids' is not defined ---------------------------------------------------------------------- File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/site-packages/obspy/clients/seishub/__init__.py", line 46, in obspy.clients.seishub.__init__ Failed example: paz = client.station.get_paz('BW.MANZ..EHZ', UTCDateTime('20090808')) Exception raised: Traceback (most recent call last): File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/urllib/request.py", line 1318, in do_open encode_chunked=req.has_header('Transfer-encoding')) File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/http/client.py", line 1239, in request self._send_request(method, url, body, headers, encode_chunked) File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/http/client.py", line 1285, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/http/client.py", line 1234, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/http/client.py", line 1026, in _send_output self.send(msg) File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/http/client.py", line 964, in send self.connect() File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/http/client.py", line 936, in connect (self.host,self.port), self.timeout, self.source_address) File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/socket.py", line 722, in create_connection raise err File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/socket.py", line 713, in create_connection sock.connect(sa) socket.timeout: timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/doctest.py", line 1330, in __run compileflags, 1), test.globs) File "<doctest obspy.clients.seishub.__init__[12]>", line 1, in <module> paz = client.station.get_paz('BW.MANZ..EHZ', UTCDateTime('20090808')) File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/site-packages/obspy/clients/seishub/client.py", line 745, in get_paz datetime=datetime) File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/site-packages/obspy/clients/seishub/client.py", line 641, in get_list root = self.client._objectify(url, **kwargs) File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/site-packages/obspy/clients/seishub/client.py", line 255, in _objectify doc = self._fetch(url, *args, **kwargs) File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/site-packages/obspy/clients/seishub/client.py", line 218, in _fetch response = urllib_request.urlopen(remoteaddr, timeout=self.timeout) File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/urllib/request.py", line 223, in urlopen return opener.open(url, data, timeout) File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/urllib/request.py", line 526, in open response = self._open(req, data) File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/urllib/request.py", line 544, in _open '_open', req) File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/urllib/request.py", line 504, in _call_chain result = func(*args) File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/urllib/request.py", line 1346, in http_open return self.do_open(http.client.HTTPConnection, req) File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/urllib/request.py", line 1320, in do_open raise URLError(err) urllib.error.URLError: <urlopen error timed out> ---------------------------------------------------------------------- File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/site-packages/obspy/clients/seishub/__init__.py", line 47, in obspy.clients.seishub.__init__ Failed example: paz = paz.items() Exception raised: Traceback (most recent call last): File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/doctest.py", line 1330, in __run compileflags, 1), test.globs) File "<doctest obspy.clients.seishub.__init__[13]>", line 1, in <module> paz = paz.items() NameError: name 'paz' is not defined
Traceback (most recent call last): File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/doctest.py", line 2199, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for obspy.clients.seishub.client.Client File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/site-packages/obspy/clients/seishub/client.py", line 87, in Client ---------------------------------------------------------------------- File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/site-packages/obspy/clients/seishub/client.py", line 110, in obspy.clients.seishub.client.Client Failed example: st = client.waveform.get_waveforms("BW", "RTBE", "", "EHZ", t, t + 20) Exception raised: Traceback (most recent call last): File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/urllib/request.py", line 1318, in do_open encode_chunked=req.has_header('Transfer-encoding')) File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/http/client.py", line 1239, in request self._send_request(method, url, body, headers, encode_chunked) File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/http/client.py", line 1285, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/http/client.py", line 1234, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/http/client.py", line 1026, in _send_output self.send(msg) File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/http/client.py", line 964, in send self.connect() File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/http/client.py", line 936, in connect (self.host,self.port), self.timeout, self.source_address) File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/socket.py", line 722, in create_connection raise err File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/socket.py", line 713, in create_connection sock.connect(sa) socket.timeout: timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/doctest.py", line 1330, in __run compileflags, 1), test.globs) File "<doctest obspy.clients.seishub.client.Client[3]>", line 1, in <module> st = client.waveform.get_waveforms("BW", "RTBE", "", "EHZ", t, t + 20) File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/site-packages/obspy/clients/seishub/client.py", line 504, in get_waveforms data = self.client._fetch(url, **kwargs) File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/site-packages/obspy/clients/seishub/client.py", line 218, in _fetch response = urllib_request.urlopen(remoteaddr, timeout=self.timeout) File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/urllib/request.py", line 223, in urlopen return opener.open(url, data, timeout) File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/urllib/request.py", line 526, in open response = self._open(req, data) File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/urllib/request.py", line 544, in _open '_open', req) File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/urllib/request.py", line 504, in _call_chain result = func(*args) File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/urllib/request.py", line 1346, in http_open return self.do_open(http.client.HTTPConnection, req) File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/urllib/request.py", line 1320, in do_open raise URLError(err) urllib.error.URLError: <urlopen error timed out> ---------------------------------------------------------------------- File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/site-packages/obspy/clients/seishub/client.py", line 111, in obspy.clients.seishub.client.Client Failed example: print(st) # doctest: +ELLIPSIS Exception raised: Traceback (most recent call last): File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/doctest.py", line 1330, in __run compileflags, 1), test.globs) File "<doctest obspy.clients.seishub.client.Client[4]>", line 1, in <module> print(st) # doctest: +ELLIPSIS NameError: name 'st' is not defined
Traceback (most recent call last): File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/doctest.py", line 2199, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for obspy.clients.seishub.client._StationMapperClient.get_paz File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/site-packages/obspy/clients/seishub/client.py", line 704, in get_paz ---------------------------------------------------------------------- File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/site-packages/obspy/clients/seishub/client.py", line 721, in obspy.clients.seishub.client._StationMapperClient.get_paz Failed example: paz = c.station.get_paz('BW.MANZ..EHZ', '20090707') Exception raised: Traceback (most recent call last): File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/urllib/request.py", line 1318, in do_open encode_chunked=req.has_header('Transfer-encoding')) File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/http/client.py", line 1239, in request self._send_request(method, url, body, headers, encode_chunked) File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/http/client.py", line 1285, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/http/client.py", line 1234, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/http/client.py", line 1026, in _send_output self.send(msg) File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/http/client.py", line 964, in send self.connect() File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/http/client.py", line 936, in connect (self.host,self.port), self.timeout, self.source_address) File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/socket.py", line 722, in create_connection raise err File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/socket.py", line 713, in create_connection sock.connect(sa) socket.timeout: timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/doctest.py", line 1330, in __run compileflags, 1), test.globs) File "<doctest obspy.clients.seishub.client._StationMapperClient.get_paz[1]>", line 1, in <module> paz = c.station.get_paz('BW.MANZ..EHZ', '20090707') File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/site-packages/obspy/clients/seishub/client.py", line 745, in get_paz datetime=datetime) File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/site-packages/obspy/clients/seishub/client.py", line 641, in get_list root = self.client._objectify(url, **kwargs) File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/site-packages/obspy/clients/seishub/client.py", line 255, in _objectify doc = self._fetch(url, *args, **kwargs) File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/site-packages/obspy/clients/seishub/client.py", line 218, in _fetch response = urllib_request.urlopen(remoteaddr, timeout=self.timeout) File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/urllib/request.py", line 223, in urlopen return opener.open(url, data, timeout) File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/urllib/request.py", line 526, in open response = self._open(req, data) File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/urllib/request.py", line 544, in _open '_open', req) File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/urllib/request.py", line 504, in _call_chain result = func(*args) File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/urllib/request.py", line 1346, in http_open return self.do_open(http.client.HTTPConnection, req) File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/urllib/request.py", line 1320, in do_open raise URLError(err) urllib.error.URLError: <urlopen error timed out> ---------------------------------------------------------------------- File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/site-packages/obspy/clients/seishub/client.py", line 722, in obspy.clients.seishub.client._StationMapperClient.get_paz Failed example: paz['zeros'] Exception raised: Traceback (most recent call last): File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/doctest.py", line 1330, in __run compileflags, 1), test.globs) File "<doctest obspy.clients.seishub.client._StationMapperClient.get_paz[2]>", line 1, in <module> paz['zeros'] NameError: name 'paz' is not defined ---------------------------------------------------------------------- File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/site-packages/obspy/clients/seishub/client.py", line 724, in obspy.clients.seishub.client._StationMapperClient.get_paz Failed example: len(paz['poles']) Exception raised: Traceback (most recent call last): File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/doctest.py", line 1330, in __run compileflags, 1), test.globs) File "<doctest obspy.clients.seishub.client._StationMapperClient.get_paz[3]>", line 1, in <module> len(paz['poles']) NameError: name 'paz' is not defined ---------------------------------------------------------------------- File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/site-packages/obspy/clients/seishub/client.py", line 726, in obspy.clients.seishub.client._StationMapperClient.get_paz Failed example: print(paz['poles'][0]) Exception raised: Traceback (most recent call last): File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/doctest.py", line 1330, in __run compileflags, 1), test.globs) File "<doctest obspy.clients.seishub.client._StationMapperClient.get_paz[4]>", line 1, in <module> print(paz['poles'][0]) NameError: name 'paz' is not defined ---------------------------------------------------------------------- File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/site-packages/obspy/clients/seishub/client.py", line 728, in obspy.clients.seishub.client._StationMapperClient.get_paz Failed example: paz['gain'] Exception raised: Traceback (most recent call last): File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/doctest.py", line 1330, in __run compileflags, 1), test.globs) File "<doctest obspy.clients.seishub.client._StationMapperClient.get_paz[5]>", line 1, in <module> paz['gain'] NameError: name 'paz' is not defined ---------------------------------------------------------------------- File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/site-packages/obspy/clients/seishub/client.py", line 730, in obspy.clients.seishub.client._StationMapperClient.get_paz Failed example: paz['sensitivity'] Exception raised: Traceback (most recent call last): File "/home/dam/anaconda3/envs/obspy_test/lib/python3.6/doctest.py", line 1330, in __run compileflags, 1), test.globs) File "<doctest obspy.clients.seishub.client._StationMapperClient.get_paz[6]>", line 1, in <module> paz['sensitivity'] NameError: name 'paz' is not defined
Skipped tests (56)
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_combined_station_event_plot (obspy.core.tests.test_inventory.InventoryBasemapTestCase) | basemap not installed |
core | test_location_plot_global (obspy.core.tests.test_inventory.InventoryBasemapTestCase) | basemap not installed |
core | test_location_plot_local (obspy.core.tests.test_inventory.InventoryBasemapTestCase) | basemap not installed |
core | test_location_plot_ortho (obspy.core.tests.test_inventory.InventoryBasemapTestCase) | basemap not installed |
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) | basemap not installed |
core | test_location_plot_local (obspy.core.tests.test_network.NetworkBasemapTestCase) | basemap not installed |
core | test_location_plot_ortho (obspy.core.tests.test_network.NetworkBasemapTestCase) | basemap not installed |
core | test_location_plot_global (obspy.core.tests.test_network.NetworkCartopyTestCase) | cartopy not installed |
core | test_location_plot_local (obspy.core.tests.test_network.NetworkCartopyTestCase) | cartopy not installed |
core | test_location_plot_ortho (obspy.core.tests.test_network.NetworkCartopyTestCase) | cartopy not installed |
core | test_catalog_plot_global (obspy.core.tests.test_event.CatalogBasemapTestCase) | basemap not installed |
core | test_catalog_plot_local (obspy.core.tests.test_event.CatalogBasemapTestCase) | basemap not installed |
core | test_catalog_plot_ortho (obspy.core.tests.test_event.CatalogBasemapTestCase) | basemap not installed |
core | test_catalog_plot_ortho_longitude_wrap (obspy.core.tests.test_event.CatalogBasemapTestCase) | basemap 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_plot_farfield_without_quiver_with_maps (obspy.core.tests.test_event.EventTestCase) | basemap not installed |
geodetics | test_gps_2_dist_azimuth_with_geographiclib (obspy.geodetics.tests.test_util_geodetics.UtilGeodeticsTestCase) | Module geographiclib is not installed |
geodetics | test_issue_375 (obspy.geodetics.tests.test_util_geodetics.UtilGeodeticsTestCase) | Module geographiclib is not installed |
imaging | test_script_plot (obspy.imaging.tests.test_mopad_script.MopadTestCase) | Currently broken until further review. |
io.nlloc | test_read_nlloc_scatter_coordinate_conversion (obspy.io.nlloc.tests.test_util.NLLOCTestCase) | pyproj not installed |
io.shapefile | test_write_catalog_shapefile (obspy.io.shapefile.tests.test_core.ShapefileTestCase) | pyshp not installed |
io.shapefile | test_write_catalog_shapefile_via_plugin (obspy.io.shapefile.tests.test_core.ShapefileTestCase) | pyshp not installed |
io.shapefile | test_write_inventory_shapefile (obspy.io.shapefile.tests.test_core.ShapefileTestCase) | pyshp not installed |
io.shapefile | test_write_inventory_shapefile_via_plugin (obspy.io.shapefile.tests.test_core.ShapefileTestCase) | pyshp not installed |
signal | test_schema_validation (obspy.signal.tests.test_quality_control.QualityControlTestCase) | Test requires the jsonschema module |
taup | test_compute_ray_paths (obspy.taup.tests.test_ray_paths.RayPathCalculationsTestCase) | test needs geographiclib >= 1.34 |
taup | test_path_geo (obspy.taup.tests.test_taup_geo.TaupGeoTestCase) | Module geographiclib is not installed or too old. |
taup | test_path_resampling (obspy.taup.tests.test_taup_geo.TaupGeoTestCase) | Module geographiclib is not installed or too old. |
taup | test_p_iasp91_geo_manual (obspy.taup.tests.test_tau.TauPyModelTestCase) | Module geographiclib is not installed |
taup | test_pierce_p_iasp91_geo (obspy.taup.tests.test_tau.TauPyModelTestCase) | test needs geographiclib >= 1.34 |
taup | test_single_path_geo_iasp91 (obspy.taup.tests.test_tau.TauPyModelTestCase) | test needs geographiclib >= 1.34 |
Slowest tests (20)
Runtime | Test |
---|---|
320.371s | __init__ (obspy.clients.seishub) |
85.106s | get_paz (obspy.clients.seishub.client._StationMapperClient) |
80.079s | Client (obspy.clients.seishub.client) |
38.941s | test_get_stations (obspy.clients.arclink.tests.test_client.ClientTestCase) |
28.480s | test_get_networks (obspy.clients.arclink.tests.test_client.ClientTestCase) |
26.676s | test_iris_example_queries_dataselect (obspy.clients.fdsn.tests.test_client.ClientTestCase) |
19.803s | test_get_waveforms (obspy.clients.syngine.tests.test_client.ClientTestCase) |
18.212s | test_evalresp (obspy.clients.iris.tests.test_client.ClientTestCase) |
17.249s | test_get_waveform_instrument_change (obspy.clients.arclink.tests.test_client.ClientTestCase) |
15.028s | test_redirection_auth (obspy.clients.fdsn.tests.test_client.ClientTestCase) |
13.270s | test_get_waveform_with_dcid_key_file (obspy.clients.arclink.tests.test_decrypt.ClientTestCase) |
12.515s | test_get_inventory_stationgroup (obspy.clients.arclink.tests.test_client.ClientTestCase) |
12.019s | test_get_waveform_with_metadata (obspy.clients.arclink.tests.test_client.ClientTestCase) |
11.683s | test_eida_token_resolution (obspy.clients.fdsn.tests.test_client.ClientTestCase) |
11.554s | __init__ (obspy.taup) |
11.546s | test_response_calculation_from_seed_and_xseed (obspy.io.xseed.tests.test_core.CoreTestCase) |
11.444s | test_get_routing (obspy.clients.arclink.tests.test_client.ClientTestCase) |
11.361s | test_get_inventory (obspy.clients.arclink.tests.test_client.ClientTestCase) |
11.095s | test_issue_372 (obspy.clients.arclink.tests.test_client.ClientTestCase) |
11.084s | test_redirection (obspy.clients.fdsn.tests.test_client.ClientTestCase) |