#101580 Report by node travis-ci covering 2068 tests from 55 modules resulted into 15 errors
Report
- ObsPy version
- 1.1.1rc1.post0+642.g73d4dd0008
- GitHub Pull Request
- https://github.com/obspy/obspy/pull/2140
- Report file
- XML document
- Total runtime
- 782.4 sec
- Report date/time
- Feb. 15, 2019, 12:13 a.m.
System / Python
- Architecture
- 64bit
- Machine
- x86_64
- Node
- travis-ci
- Processor
- i386
- Python Compiler
- Clang 4.0.1 (tags/RELEASE_401/final)
- Python Implementation
- CPython
- Python Version
- 3.7.2
- Release
- 17.4.0
- System
- Darwin
- Version
- Darwin Kernel Version 17.4.0: Sun Dec 17 09:19:54 PST 2017; root:xnu-4570.41.2~1/RELEASE_X86_64
Dependencies
- cartopy
- ---
- decorator
- 4.3.2
- flake8
- ---
- future
- 0.17.1
- geographiclib
- 1.49
- lxml.etree
- 4.3.0
- m2crypto
- ---
- matplotlib
- 3.0.2
- mock
- 2.0.0
- mpl_toolkits.basemap
- 1.1.0
- numpy
- 1.15.4
- pep8-naming
- ---
- pyflakes
- ---
- pyimgur
- 0.5.2
- pyproj
- 1.9.6
- requests
- 2.21.0
- scipy
- 1.2.0
- setuptools
- 40.7.3
- shapefile
- 2.0.1
- sqlalchemy
- 1.2.17
Modules (55)
Module | Errors / Failures | Tracebacks | ||||
---|---|---|---|---|---|---|
obspy.clients.arclink | - | 41 | 39 | 2 | 330.94s | - |
obspy.clients.earthworm | - | 7 | 7 | - | 6.97s | - |
obspy.clients.fdsn | - | 132 | 132 | - | 71.22s | - |
obspy.clients.filesystem | - | 6 | 6 | - | 3.29s | - |
obspy.clients.iris | 15 | 15 | 15 | - | 0.06s | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
obspy.clients.neic | - | 5 | 5 | - | 4.03s | - |
obspy.clients.nrl | - | 7 | 7 | - | 2.91s | - |
obspy.clients.seedlink | - | 10 | 7 | 3 | 6.87s | - |
obspy.clients.seishub | - | 17 | 4 | 13 | 0.03s | - |
obspy.clients.syngine | - | 18 | 18 | - | 12.12s | - |
obspy.core | - | 632 | 616 | 16 | 65.04s | - |
obspy.db | - | 9 | 9 | - | 0.14s | - |
obspy.geodetics | - | 18 | 17 | 1 | 0.33s | - |
obspy.imaging | - | 76 | 75 | 1 | 66.23s | - |
obspy.io.ah | - | 5 | 5 | - | 0.23s | - |
obspy.io.arclink | - | 4 | 4 | - | 4.12s | - |
obspy.io.ascii | - | 28 | 28 | - | 0.47s | - |
obspy.io.cmtsolution | - | 10 | 10 | - | 0.15s | - |
obspy.io.cnv | - | 1 | 1 | - | 0.05s | - |
obspy.io.css | - | 7 | 7 | - | 1.63s | - |
obspy.io.gcf | - | 9 | 9 | - | 0.06s | - |
obspy.io.gse2 | - | 55 | 55 | - | 1.09s | - |
obspy.io.iaspei | - | 7 | 7 | - | 1.87s | - |
obspy.io.json | - | 4 | 4 | - | 0.07s | - |
obspy.io.kinemetrics | - | 7 | 7 | - | 1.60s | - |
obspy.io.kml | - | 3 | 3 | - | 0.30s | - |
obspy.io.mseed | - | 121 | 121 | - | 4.96s | - |
obspy.io.ndk | - | 20 | 20 | - | 0.90s | - |
obspy.io.nied | - | 11 | 11 | - | 0.16s | - |
obspy.io.nlloc | - | 11 | 11 | - | 0.35s | - |
obspy.io.nordic | - | 35 | 35 | - | 2.52s | - |
obspy.io.pdas | - | 3 | 3 | - | 0.02s | - |
obspy.io.pde | - | 13 | 13 | - | 0.77s | - |
obspy.io.quakeml | - | 36 | 36 | - | 1.23s | - |
obspy.io.reftek | - | 20 | 20 | - | 0.44s | - |
obspy.io.rg16 | - | 4 | 4 | - | 0.10s | - |
obspy.io.sac | - | 95 | 95 | - | 1.03s | - |
obspy.io.scardec | - | 5 | 5 | - | 0.17s | - |
obspy.io.seg2 | - | 1 | 1 | - | 0.05s | - |
obspy.io.segy | - | 54 | 54 | - | 0.96s | - |
obspy.io.seisan | - | 8 | 8 | - | 0.22s | - |
obspy.io.seiscomp | - | 45 | 45 | - | 3.08s | - |
obspy.io.sh | - | 25 | 25 | - | 1.07s | - |
obspy.io.shapefile | - | 6 | 6 | - | 0.95s | - |
obspy.io.stationtxt | - | 11 | 11 | - | 0.14s | - |
obspy.io.stationxml | - | 21 | 21 | - | 0.85s | - |
obspy.io.wav | - | 8 | 8 | - | 0.08s | - |
obspy.io.win | - | 2 | 2 | - | 0.30s | - |
obspy.io.xseed | - | 81 | 81 | - | 22.69s | - |
obspy.io.y | - | 5 | 5 | - | 0.03s | - |
obspy.io.zmap | - | 14 | 14 | - | 0.49s | - |
obspy.realtime | - | 22 | 22 | - | 1.09s | - |
obspy.scripts | - | 2 | 2 | - | 0.03s | - |
obspy.signal | - | 192 | 191 | 1 | 59.64s | - |
obspy.taup | - | 64 | 64 | - | 96.25s | - |
Summary | 15 | 2068 | 2031 | 37 | 782.35s | 15 |
Tracebacks (15)
Traceback (most recent call last): File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/iris/tests/test_client.py", line 58, in test_distaz client = Client() File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-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 "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/iris/tests/test_client.py", line 126, in test_evalresp client = Client() File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-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 "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/iris/tests/test_client.py", line 83, in test_flinnengdahl client = Client() File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-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 "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/iris/tests/test_client.py", line 223, in test_resp client = Client() File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-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 "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/iris/tests/test_client.py", line 31, in test_sacpz client = Client() File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-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 "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/iris/tests/test_client.py", line 248, in test_timeseries client = Client() File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-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 "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/iris/tests/test_client.py", line 116, in test_traveltime client = Client() File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-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 "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 2198, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for obspy.clients.iris.client.Client File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/iris/client.py", line 37, in Client ---------------------------------------------------------------------- File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-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 "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 1329, in __run compileflags, 1), test.globs) File "<doctest obspy.clients.iris.client.Client[1]>", line 1, in <module> client = Client() File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/iris/client.py", line 94, in __init__ if self.user or self.password: AttributeError: 'Client' object has no attribute 'user' ---------------------------------------------------------------------- File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-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 "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 1329, 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 "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-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 "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 1329, 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 "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-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 "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 1329, 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 "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-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 "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 1329, 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 "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 2198, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for obspy.clients.iris.client.Client.distaz File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/iris/client.py", line 564, in distaz ---------------------------------------------------------------------- File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-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 "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 1329, in __run compileflags, 1), test.globs) File "<doctest obspy.clients.iris.client.Client.distaz[1]>", line 1, in <module> client = Client() File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/iris/client.py", line 94, in __init__ if self.user or self.password: AttributeError: 'Client' object has no attribute 'user' ---------------------------------------------------------------------- File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-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 "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 1329, 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 "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-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 "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 1329, 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 "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-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 "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 1329, 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 "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-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 "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 1329, 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 "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-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 "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 1329, 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 "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-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 "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 1329, 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 "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 2198, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for obspy.clients.iris.client.Client.evalresp File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/iris/client.py", line 833, in evalresp ---------------------------------------------------------------------- File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-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 "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 1329, in __run compileflags, 1), test.globs) File "<doctest obspy.clients.iris.client.Client.evalresp[1]>", line 1, in <module> client = Client() File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/iris/client.py", line 94, in __init__ if self.user or self.password: AttributeError: 'Client' object has no attribute 'user' ---------------------------------------------------------------------- File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-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 "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 1329, 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 "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-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 "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 1329, 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 "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-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 "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 1329, in __run compileflags, 1), test.globs) File "<doctest obspy.clients.iris.client.Client.evalresp[6]>", line 1, in <module> client = Client() File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-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 "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 2198, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for obspy.clients.iris.client.Client.flinnengdahl File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/iris/client.py", line 629, in flinnengdahl ---------------------------------------------------------------------- File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-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 "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 1329, in __run compileflags, 1), test.globs) File "<doctest obspy.clients.iris.client.Client.flinnengdahl[1]>", line 1, in <module> client = Client() File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/iris/client.py", line 94, in __init__ if self.user or self.password: AttributeError: 'Client' object has no attribute 'user' ---------------------------------------------------------------------- File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-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 "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 1329, 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 "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-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 "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 1329, 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 "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-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 "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 1329, 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 "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-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 "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 1329, 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 "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 2198, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for obspy.clients.iris.client.Client.resp File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/iris/client.py", line 363, in resp ---------------------------------------------------------------------- File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-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 "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 1329, in __run compileflags, 1), test.globs) File "<doctest obspy.clients.iris.client.Client.resp[2]>", line 1, in <module> client = Client() File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/iris/client.py", line 94, in __init__ if self.user or self.password: AttributeError: 'Client' object has no attribute 'user' ---------------------------------------------------------------------- File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-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 "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 1329, 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 "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-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 "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 1329, 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 "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 2198, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for obspy.clients.iris.client.Client.sacpz File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/iris/client.py", line 457, in sacpz ---------------------------------------------------------------------- File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-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 "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 1329, in __run compileflags, 1), test.globs) File "<doctest obspy.clients.iris.client.Client.sacpz[2]>", line 1, in <module> client = Client() File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/iris/client.py", line 94, in __init__ if self.user or self.password: AttributeError: 'Client' object has no attribute 'user' ---------------------------------------------------------------------- File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-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 "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 1329, 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 "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-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 "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 1329, 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 "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 2198, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for obspy.clients.iris.client.Client.timeseries File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/iris/client.py", line 180, in timeseries ---------------------------------------------------------------------- File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-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 "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 1329, in __run compileflags, 1), test.globs) File "<doctest obspy.clients.iris.client.Client.timeseries[3]>", line 1, in <module> client = Client() File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/iris/client.py", line 94, in __init__ if self.user or self.password: AttributeError: 'Client' object has no attribute 'user' ---------------------------------------------------------------------- File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-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 "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 1329, 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 "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-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 "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 1329, 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 "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-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 "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 1329, 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 "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-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 "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 1329, 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 "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 2198, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for obspy.clients.iris.client.Client.traveltime File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/iris/client.py", line 687, in traveltime ---------------------------------------------------------------------- File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-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 "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 1329, in __run compileflags, 1), test.globs) File "<doctest obspy.clients.iris.client.Client.traveltime[1]>", line 1, in <module> client = Client() File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/iris/client.py", line 94, in __init__ if self.user or self.password: AttributeError: 'Client' object has no attribute 'user' ---------------------------------------------------------------------- File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-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 "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 1329, 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 "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-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 "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 1329, 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 (37)
Submodule | Test | Skip message |
---|---|---|
clients.arclink | test_m2crypto (obspy.clients.arclink.tests.test_decrypt.ClientTestCase) | M2Crypto is not installed |
clients.arclink | test_pycrypto (obspy.clients.arclink.tests.test_decrypt.ClientTestCase) | PyCrypto is not installed |
clients.seedlink | test_info (obspy.clients.seedlink.tests.test_slclient.SLClientTestCase) | test must be started manually |
clients.seedlink | test_issue708 (obspy.clients.seedlink.tests.test_slclient.SLClientTestCase) | test must be started manually |
clients.seedlink | test_time_window (obspy.clients.seedlink.tests.test_slclient.SLClientTestCase) | test must be started manually |
clients.seishub | test_get_channel_ids (obspy.clients.seishub.tests.test_client.ClientTestCase) | Seishub test server not reachable. |
clients.seishub | test_get_coordinates (obspy.clients.seishub.tests.test_client.ClientTestCase) | Seishub test server not reachable. |
clients.seishub | test_get_event_list (obspy.clients.seishub.tests.test_client.ClientTestCase) | Seishub test server not reachable. |
clients.seishub | test_get_location_ids (obspy.clients.seishub.tests.test_client.ClientTestCase) | Seishub test server not reachable. |
clients.seishub | test_get_network_ids (obspy.clients.seishub.tests.test_client.ClientTestCase) | Seishub test server not reachable. |
clients.seishub | test_get_paz (obspy.clients.seishub.tests.test_client.ClientTestCase) | Seishub test server not reachable. |
clients.seishub | test_get_preview (obspy.clients.seishub.tests.test_client.ClientTestCase) | Seishub test server not reachable. |
clients.seishub | test_get_preview_by_ids (obspy.clients.seishub.tests.test_client.ClientTestCase) | Seishub test server not reachable. |
clients.seishub | test_get_station_ids (obspy.clients.seishub.tests.test_client.ClientTestCase) | Seishub test server not reachable. |
clients.seishub | test_get_waveform_with_metadata (obspy.clients.seishub.tests.test_client.ClientTestCase) | Seishub test server not reachable. |
clients.seishub | test_get_waveforms (obspy.clients.seishub.tests.test_client.ClientTestCase) | Seishub test server not reachable. |
clients.seishub | test_localcache (obspy.clients.seishub.tests.test_client.ClientTestCase) | Seishub test server not reachable. |
clients.seishub | test_ping (obspy.clients.seishub.tests.test_client.ClientTestCase) | Seishub test server not reachable. |
core | test_flake8 (obspy.core.tests.test_code_formatting.CodeFormattingTestCase) | Formatting tests require at least flake8 3.0. |
core | test_catalog_plot_global (obspy.core.tests.test_event.CatalogBasemapTestCase) | unsupported proj4 library |
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) | unsupported proj4 library |
core | test_combined_station_event_plot (obspy.core.tests.test_inventory.InventoryBasemapTestCase) | unsupported proj4 library |
core | test_location_plot_global (obspy.core.tests.test_inventory.InventoryBasemapTestCase) | unsupported proj4 library |
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 |
---|---|
32.028s | test_get_networks (obspy.clients.arclink.tests.test_client.ClientTestCase) |
26.022s | test_get_waveform_instrument_change (obspy.clients.arclink.tests.test_client.ClientTestCase) |
19.867s | test_get_routing (obspy.clients.arclink.tests.test_client.ClientTestCase) |
17.429s | test_get_waveform_with_metadata (obspy.clients.arclink.tests.test_client.ClientTestCase) |
16.983s | test_response_calculation_from_seed_and_xseed (obspy.io.xseed.tests.test_core.CoreTestCase) |
16.854s | test_get_inventory (obspy.clients.arclink.tests.test_client.ClientTestCase) |
14.561s | test_get_waveform_with_dcid_key_file (obspy.clients.arclink.tests.test_decrypt.ClientTestCase) |
14.260s | test_eida_token_resolution (obspy.clients.fdsn.tests.test_client.ClientTestCase) |
13.962s | __init__ (obspy.taup) |
13.624s | test_issue_311 (obspy.clients.arclink.tests.test_client.ClientTestCase) |
13.441s | test_get_stations (obspy.clients.arclink.tests.test_client.ClientTestCase) |
12.200s | test_save_waveform_no_compression (obspy.clients.arclink.tests.test_client.ClientTestCase) |
11.699s | test_ppsd_restricted_stacks (obspy.signal.tests.test_spectral_estimation.PsdTestCase) |
11.583s | test_delayed_request (obspy.clients.arclink.tests.test_client.ClientTestCase) |
11.106s | test_get_stations_integration_test (obspy.clients.fdsn.tests.test_eidaws_routing_client.EIDAWSRoutingClientTestCase) |
10.294s | test_shoot_existing_ray_param (obspy.taup.tests.test_seismic_phase.TauPySeismicPhaseTestCase) |
9.625s | test_get_waveform (obspy.clients.arclink.tests.test_client.ClientTestCase) |
9.489s | __init__ (obspy.clients.arclink) |
9.257s | test_get_inventory_stationgroup (obspy.clients.arclink.tests.test_client.ClientTestCase) |
8.608s | test_get_inventory_twice (obspy.clients.arclink.tests.test_client.ClientTestCase) |