#99340 Report by node travis-ci covering 2076 tests from 55 modules resulted into 24 errors
Report
- ObsPy version
- 1.1.1rc1.post0+436.g3ffa3209c…
- GitHub Pull Request
- -
- Report file
- XML document
- Total runtime
- 804.7 sec
- Report date/time
- Oct. 31, 2018, 6:26 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.0
- 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.0
- flake8
- ---
- future
- 0.16.0
- geographiclib
- 1.49
- lxml.etree
- 4.2.5
- m2crypto
- ---
- matplotlib
- 3.0.1
- mock
- 2.0.0
- mpl_toolkits.basemap
- 1.1.0
- numpy
- 1.15.3
- pep8-naming
- ---
- pyflakes
- ---
- pyimgur
- 0.5.2
- pyproj
- 1.9.5.1
- requests
- 2.19.1
- scipy
- 1.1.0
- setuptools
- 40.4.3
- shapefile
- 1.2.12
- sqlalchemy
- 1.2.12
Modules (55)
Module | Errors / Failures | Tracebacks | ||||
---|---|---|---|---|---|---|
obspy.clients.arclink | - | 41 | 39 | 2 | 321.41s | - |
obspy.clients.earthworm | 2 | 7 | 7 | - | 6.46s | 1 2 |
obspy.clients.fdsn | 1 | 132 | 132 | - | 49.50s | 3 |
obspy.clients.filesystem | 2 | 6 | 6 | - | 2.77s | 4 5 |
obspy.clients.iris | - | 15 | 15 | - | 11.34s | - |
obspy.clients.neic | 4 | 5 | 5 | - | 2.88s | 6 7 8 9 |
obspy.clients.nrl | 1 | 7 | 7 | - | 2.42s | 10 |
obspy.clients.seedlink | - | 10 | 7 | 3 | 6.89s | - |
obspy.clients.seishub | - | 17 | 4 | 13 | 0.03s | - |
obspy.clients.syngine | - | 18 | 18 | - | 11.61s | - |
obspy.core | 12 | 626 | 615 | 11 | 87.61s | 11 12 13 14 15 16 17 18 19 20 21 22 |
obspy.db | - | 9 | 9 | - | 0.15s | - |
obspy.geodetics | - | 18 | 17 | 1 | 0.35s | - |
obspy.imaging | - | 76 | 75 | 1 | 71.62s | - |
obspy.io.ah | - | 5 | 5 | - | 0.22s | - |
obspy.io.arclink | - | 4 | 4 | - | 4.69s | - |
obspy.io.ascii | - | 28 | 28 | - | 0.41s | - |
obspy.io.cmtsolution | - | 10 | 10 | - | 0.14s | - |
obspy.io.cnv | - | 1 | 1 | - | 0.05s | - |
obspy.io.css | - | 7 | 7 | - | 1.62s | - |
obspy.io.gcf | - | 9 | 9 | - | 0.07s | - |
obspy.io.gse2 | - | 55 | 55 | - | 1.10s | - |
obspy.io.iaspei | - | 7 | 7 | - | 2.01s | - |
obspy.io.json | - | 4 | 4 | - | 0.07s | - |
obspy.io.kinemetrics | - | 7 | 7 | - | 1.60s | - |
obspy.io.kml | - | 3 | 3 | - | 0.32s | - |
obspy.io.mseed | - | 121 | 121 | - | 4.99s | - |
obspy.io.ndk | - | 20 | 20 | - | 0.92s | - |
obspy.io.nied | - | 11 | 11 | - | 0.16s | - |
obspy.io.nlloc | - | 11 | 11 | - | 0.50s | - |
obspy.io.nordic | - | 35 | 35 | - | 2.39s | - |
obspy.io.pdas | - | 3 | 3 | - | 0.02s | - |
obspy.io.pde | - | 13 | 13 | - | 0.78s | - |
obspy.io.quakeml | - | 36 | 36 | - | 1.32s | - |
obspy.io.reftek | - | 20 | 20 | - | 0.46s | - |
obspy.io.rg16 | - | 21 | 21 | - | 0.56s | - |
obspy.io.sac | - | 95 | 95 | - | 1.13s | - |
obspy.io.scardec | - | 5 | 5 | - | 0.18s | - |
obspy.io.seg2 | - | 1 | 1 | - | 0.05s | - |
obspy.io.segy | - | 54 | 54 | - | 0.98s | - |
obspy.io.seisan | - | 8 | 8 | - | 0.24s | - |
obspy.io.seiscomp | - | 43 | 43 | - | 3.42s | - |
obspy.io.sh | - | 25 | 25 | - | 1.09s | - |
obspy.io.shapefile | - | 6 | 6 | - | 1.06s | - |
obspy.io.stationtxt | - | 11 | 11 | - | 0.15s | - |
obspy.io.stationxml | - | 20 | 20 | - | 0.64s | - |
obspy.io.wav | - | 8 | 8 | - | 0.10s | - |
obspy.io.win | - | 2 | 2 | - | 0.33s | - |
obspy.io.xseed | - | 81 | 81 | - | 24.15s | - |
obspy.io.y | - | 5 | 5 | - | 0.03s | - |
obspy.io.zmap | - | 14 | 14 | - | 0.57s | - |
obspy.realtime | - | 22 | 22 | - | 1.02s | - |
obspy.scripts | - | 2 | 2 | - | 0.03s | - |
obspy.signal | 2 | 192 | 192 | - | 67.53s | 23 24 |
obspy.taup | - | 64 | 64 | - | 102.53s | - |
Summary | 24 | 2076 | 2045 | 31 | 804.67s | 24 |
Tracebacks (24)
Traceback (most recent call last): File "<decorator-gen-56>", line 2, in test_save_waveform File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/decorator.py", line 126, in skip_on_network_error return func(*args, **kwargs) File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/earthworm/tests/test_client.py", line 97, in test_save_waveform format="SLIST") File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/earthworm/client.py", line 167, in save_waveforms st.write(filename, format=format) File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/stream.py", line 1423, in write raise ObsPyException(msg) obspy.core.util.obspy_types.ObsPyException: Can not write empty stream to file.
Traceback (most recent call last): File "<decorator-gen-55>", line 2, in test_get_waveform File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/decorator.py", line 126, in skip_on_network_error return func(*args, **kwargs) File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/earthworm/tests/test_client.py", line 41, in test_get_waveform self.assertEqual(len(stream), 1) AssertionError: 0 != 1
Traceback (most recent call last): File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/fdsn/tests/test_client.py", line 696, in test_dataselect_bulk self.assertEqual(got, expected, failmsg(got, expected)) AssertionError: <obspy.core.stream.Stream object at 0x1c1b5832b0> != <obspy.core.stream.Stream object at 0x1c1b583898> : Got: 2 Trace(s) in Stream: TA.A25A..BHE | 2010-03-25T00:00:00.000001Z - 2010-03-25T00:00:05.975001Z | 40.0 Hz, 240 samples TA.A25A..BHZ | 2010-03-25T00:00:00.000000Z - 2010-03-25T00:00:04.000000Z | 40.0 Hz, 161 samples Expected: 1 Trace(s) in Stream: TA.A25A..BHE | 2010-03-25T00:00:00.000001Z - 2010-03-25T00:00:05.975001Z | 40.0 Hz, 240 samples
Traceback (most recent call last): File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/sre_parse.py", line 1021, in parse_template this = chr(ESCAPES[this][1]) KeyError: '\\w' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/filesystem/tests/test_sds.py", line 241, in test_get_all_stations_and_nslc got_netsta = client.get_all_stations() File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/filesystem/sds.py", line 572, in get_all_stations dict_ = _parse_path_to_dict(file_, pattern_, group_map) File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/filesystem/sds.py", line 608, in _parse_path_to_dict regex = re.sub(FORMAT_STR_PLACEHOLDER_REGEX, r'(\w*?)', regex) + "$" File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/re.py", line 192, in sub return _compile(pattern, flags).sub(repl, string, count) File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/re.py", line 309, in _subx template = _compile_repl(template, pattern) File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/re.py", line 300, in _compile_repl return sre_parse.parse_template(repl, pattern) File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/sre_parse.py", line 1024, in parse_template raise s.error('bad escape %s' % this, len(this)) re.error: bad escape \w at position 1
Traceback (most recent call last): File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/sre_parse.py", line 1021, in parse_template this = chr(ESCAPES[this][1]) KeyError: '\\w' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/filesystem/tests/test_sds.py", line 184, in test_sds_report sds_report(argv) File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/scripts/sds_html_report.py", line 369, in main for net, sta in client.get_all_stations(): File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/filesystem/sds.py", line 572, in get_all_stations dict_ = _parse_path_to_dict(file_, pattern_, group_map) File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/filesystem/sds.py", line 608, in _parse_path_to_dict regex = re.sub(FORMAT_STR_PLACEHOLDER_REGEX, r'(\w*?)', regex) + "$" File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/re.py", line 192, in sub return _compile(pattern, flags).sub(repl, string, count) File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/re.py", line 309, in _subx template = _compile_repl(template, pattern) File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/re.py", line 300, in _compile_repl return sre_parse.parse_template(repl, pattern) File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/sre_parse.py", line 1024, in parse_template raise s.error('bad escape %s' % this, len(this)) re.error: bad escape \w at position 1
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.neic.client.Client File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/neic/client.py", line 25, in Client ---------------------------------------------------------------------- File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/neic/client.py", line 46, in obspy.clients.neic.client.Client Failed example: print(st) # doctest: +ELLIPSIS Expected: 3 Trace(s) in Stream: IU.ANMO.00.BH... | 20.0 Hz, 201 samples IU.ANMO.00.BH... | 20.0 Hz, 201 samples IU.ANMO.00.BH... | 20.0 Hz, 201 samples Got: 3 Trace(s) in Stream: IU.ANMO.00.BH1 | 2018-10-31T06:19:20.894538Z - 2018-10-31T06:19:30.894538Z | 40.0 Hz, 401 samples IU.ANMO.00.BH2 | 2018-10-31T06:19:20.894538Z - 2018-10-31T06:19:30.894538Z | 40.0 Hz, 401 samples IU.ANMO.00.BHZ | 2018-10-31T06:19:20.894538Z - 2018-10-31T06:19:30.894538Z | 40.0 Hz, 401 samples ---------------------------------------------------------------------- File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/neic/client.py", line 52, in obspy.clients.neic.client.Client Failed example: print(st) # doctest: +ELLIPSIS Expected: 3 Trace(s) in Stream: IU.ANMO.00.BH... | 20.0 Hz, 201 samples IU.ANMO.00.BH... | 20.0 Hz, 201 samples IU.ANMO.00.BH... | 20.0 Hz, 201 samples Got: 3 Trace(s) in Stream: IU.ANMO.00.BH1 | 2018-10-31T06:19:20.894538Z - 2018-10-31T06:19:30.894538Z | 40.0 Hz, 401 samples IU.ANMO.00.BH2 | 2018-10-31T06:19:20.894538Z - 2018-10-31T06:19:30.894538Z | 40.0 Hz, 401 samples IU.ANMO.00.BHZ | 2018-10-31T06:19:20.894538Z - 2018-10-31T06:19:30.894538Z | 40.0 Hz, 401 samples
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.neic.client.Client.get_waveforms File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/neic/client.py", line 73, in get_waveforms ---------------------------------------------------------------------- File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/neic/client.py", line 113, in obspy.clients.neic.client.Client.get_waveforms Failed example: print(st) # doctest: +ELLIPSIS Expected: 3 Trace(s) in Stream: IU.ANMO.00.BH... | 20.0 Hz, 201 samples IU.ANMO.00.BH... | 20.0 Hz, 201 samples IU.ANMO.00.BH... | 20.0 Hz, 201 samples Got: 3 Trace(s) in Stream: IU.ANMO.00.BH1 | 2018-10-31T06:19:21.494538Z - 2018-10-31T06:19:31.494538Z | 40.0 Hz, 401 samples IU.ANMO.00.BH2 | 2018-10-31T06:19:21.494538Z - 2018-10-31T06:19:31.494538Z | 40.0 Hz, 401 samples IU.ANMO.00.BHZ | 2018-10-31T06:19:21.494538Z - 2018-10-31T06:19:31.494538Z | 40.0 Hz, 401 samples
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.neic.client.Client.get_waveforms_nscl File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/neic/client.py", line 130, in get_waveforms_nscl ---------------------------------------------------------------------- File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/neic/client.py", line 164, in obspy.clients.neic.client.Client.get_waveforms_nscl Failed example: print(st) # doctest: +ELLIPSIS Expected: 3 Trace(s) in Stream: IU.ANMO.00.BH... | 20.0 Hz, 201 samples IU.ANMO.00.BH... | 20.0 Hz, 201 samples IU.ANMO.00.BH... | 20.0 Hz, 201 samples Got: 3 Trace(s) in Stream: IU.ANMO.00.BH1 | 2018-10-31T06:19:21.819538Z - 2018-10-31T06:19:31.819538Z | 40.0 Hz, 401 samples IU.ANMO.00.BH2 | 2018-10-31T06:19:21.819538Z - 2018-10-31T06:19:31.819538Z | 40.0 Hz, 401 samples IU.ANMO.00.BHZ | 2018-10-31T06:19:21.819538Z - 2018-10-31T06:19:31.819538Z | 40.0 Hz, 401 samples
Traceback (most recent call last): File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/neic/tests/test_client.py", line 71, in test_get_waveform_nscl self.assertEqual(stats.sampling_rate, 20.0) AssertionError: 40.0 != 20.0
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.nrl.client.NRL.get_response File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/nrl/client.py", line 183, in get_response ---------------------------------------------------------------------- File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/nrl/client.py", line 194, in obspy.clients.nrl.client.NRL.get_response Failed example: response = nrl.get_response( sensor_keys=['Nanometrics', 'Trillium Compact', '120 s'], datalogger_keys=['REF TEK', 'RT 130 & 130-SMA', '1', '200']) 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.nrl.client.NRL.get_response[1]>", line 3, in <module> datalogger_keys=['REF TEK', 'RT 130 & 130-SMA', '1', '200']) File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/nrl/client.py", line 214, in get_response sensor_resp = self.get_sensor_response(sensor_keys) File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/nrl/client.py", line 176, in get_sensor_response sensor = sensor[key] File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/nrl/client.py", line 250, in __getitem__ value = super(NRLDict, self).__getitem__(name) KeyError: 'Trillium Compact' ---------------------------------------------------------------------- File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/nrl/client.py", line 197, in obspy.clients.nrl.client.NRL.get_response Failed example: print(response) # doctest: +NORMALIZE_WHITESPACE +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.nrl.client.NRL.get_response[2]>", line 1, in <module> print(response) # doctest: +NORMALIZE_WHITESPACE +ELLIPSIS NameError: name 'response' is not defined
Traceback (most recent call last): File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/tests/test_event.py", line 532, in test_catalog_plot_global cat.plot(method='basemap', outfile=ic.name) File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/event/catalog.py", line 766, in plot show=False, fig=fig, **kwargs) File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/imaging/maps.py", line 786, in plot_map return plot_basemap(*args, **kwargs) File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/imaging/maps.py", line 249, in plot_basemap **kwargs) File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/imaging/maps.py", line 470, in _plot_basemap_into_axes cmap=colormap) File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/mpl_toolkits/basemap/__init__.py", line 567, in with_transform return plotfunc(self,x,y,*args,**kwargs) File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/mpl_toolkits/basemap/__init__.py", line 3262, in scatter self._restore_hold(ax) File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/mpl_toolkits/basemap/__init__.py", line 3238, in _restore_hold ax._hold = self._tmp_hold AttributeError: can't set attribute
Traceback (most recent call last): File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/tests/test_event.py", line 577, in test_catalog_plot_local color='date', colormap='gist_heat') File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/event/catalog.py", line 766, in plot show=False, fig=fig, **kwargs) File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/imaging/maps.py", line 786, in plot_map return plot_basemap(*args, **kwargs) File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/imaging/maps.py", line 249, in plot_basemap **kwargs) File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/imaging/maps.py", line 470, in _plot_basemap_into_axes cmap=colormap) File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/mpl_toolkits/basemap/__init__.py", line 567, in with_transform return plotfunc(self,x,y,*args,**kwargs) File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/mpl_toolkits/basemap/__init__.py", line 3262, in scatter self._restore_hold(ax) File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/mpl_toolkits/basemap/__init__.py", line 3238, in _restore_hold ax._hold = self._tmp_hold AttributeError: can't set attribute
Traceback (most recent call last): File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/tests/test_event.py", line 545, in test_catalog_plot_ortho color='date') File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/event/catalog.py", line 766, in plot show=False, fig=fig, **kwargs) File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/imaging/maps.py", line 786, in plot_map return plot_basemap(*args, **kwargs) File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/imaging/maps.py", line 249, in plot_basemap **kwargs) File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/imaging/maps.py", line 470, in _plot_basemap_into_axes cmap=colormap) File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/mpl_toolkits/basemap/__init__.py", line 567, in with_transform return plotfunc(self,x,y,*args,**kwargs) File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/mpl_toolkits/basemap/__init__.py", line 3262, in scatter self._restore_hold(ax) File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/mpl_toolkits/basemap/__init__.py", line 3238, in _restore_hold ax._hold = self._tmp_hold AttributeError: can't set attribute
Traceback (most recent call last): File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/tests/test_event.py", line 559, in test_catalog_plot_ortho_longitude_wrap water_fill_color='b') File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/event/catalog.py", line 766, in plot show=False, fig=fig, **kwargs) File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/imaging/maps.py", line 786, in plot_map return plot_basemap(*args, **kwargs) File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/imaging/maps.py", line 249, in plot_basemap **kwargs) File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/imaging/maps.py", line 470, in _plot_basemap_into_axes cmap=colormap) File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/mpl_toolkits/basemap/__init__.py", line 567, in with_transform return plotfunc(self,x,y,*args,**kwargs) File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/mpl_toolkits/basemap/__init__.py", line 3262, in scatter self._restore_hold(ax) File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/mpl_toolkits/basemap/__init__.py", line 3238, in _restore_hold ax._hold = self._tmp_hold AttributeError: can't set attribute
Traceback (most recent call last): File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/tests/test_event.py", line 135, in test_plot_farfield_without_quiver_with_maps ['p_sphere', 's_sphere']], outfile=ic.name) File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/event/event.py", line 259, in plot **kwargs) File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/event/catalog.py", line 759, in plot show=False, **kwargs) File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/imaging/maps.py", line 470, in _plot_basemap_into_axes cmap=colormap) File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/mpl_toolkits/basemap/__init__.py", line 567, in with_transform return plotfunc(self,x,y,*args,**kwargs) File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/mpl_toolkits/basemap/__init__.py", line 3262, in scatter self._restore_hold(ax) File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/mpl_toolkits/basemap/__init__.py", line 3238, in _restore_hold ax._hold = self._tmp_hold AttributeError: can't set attribute
Traceback (most recent call last): File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/tests/test_inventory.py", line 637, in test_combined_station_event_plot fig = inv.plot(show=False) File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/inventory/inventory.py", line 894, in plot title=None, show=False, fig=fig, **kwargs) File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/imaging/maps.py", line 777, in plot_map return plot_basemap(*args, **kwargs) File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/imaging/maps.py", line 249, in plot_basemap **kwargs) File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/imaging/maps.py", line 470, in _plot_basemap_into_axes cmap=colormap) File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/mpl_toolkits/basemap/__init__.py", line 567, in with_transform return plotfunc(self,x,y,*args,**kwargs) File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/mpl_toolkits/basemap/__init__.py", line 3262, in scatter self._restore_hold(ax) File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/mpl_toolkits/basemap/__init__.py", line 3238, in _restore_hold ax._hold = self._tmp_hold AttributeError: can't set attribute
Traceback (most recent call last): File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/tests/test_inventory.py", line 586, in test_location_plot_global inv.plot(outfile=ic.name) File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/inventory/inventory.py", line 894, in plot title=None, show=False, fig=fig, **kwargs) File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/imaging/maps.py", line 777, in plot_map return plot_basemap(*args, **kwargs) File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/imaging/maps.py", line 249, in plot_basemap **kwargs) File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/imaging/maps.py", line 470, in _plot_basemap_into_axes cmap=colormap) File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/mpl_toolkits/basemap/__init__.py", line 567, in with_transform return plotfunc(self,x,y,*args,**kwargs) File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/mpl_toolkits/basemap/__init__.py", line 3262, in scatter self._restore_hold(ax) File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/mpl_toolkits/basemap/__init__.py", line 3238, in _restore_hold ax._hold = self._tmp_hold AttributeError: can't set attribute
Traceback (most recent call last): File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/tests/test_inventory.py", line 619, in test_location_plot_local outfile=ic.name) File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/inventory/inventory.py", line 894, in plot title=None, show=False, fig=fig, **kwargs) File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/imaging/maps.py", line 786, in plot_map return plot_basemap(*args, **kwargs) File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/imaging/maps.py", line 249, in plot_basemap **kwargs) File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/imaging/maps.py", line 470, in _plot_basemap_into_axes cmap=colormap) File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/mpl_toolkits/basemap/__init__.py", line 567, in with_transform return plotfunc(self,x,y,*args,**kwargs) File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/mpl_toolkits/basemap/__init__.py", line 3262, in scatter self._restore_hold(ax) File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/mpl_toolkits/basemap/__init__.py", line 3238, in _restore_hold ax._hold = self._tmp_hold AttributeError: can't set attribute
Traceback (most recent call last): File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/tests/test_inventory.py", line 599, in test_location_plot_ortho colormap='Set3', color_per_network=True, outfile=ic.name) File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/inventory/inventory.py", line 894, in plot title=None, show=False, fig=fig, **kwargs) File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/imaging/maps.py", line 786, in plot_map return plot_basemap(*args, **kwargs) File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/imaging/maps.py", line 249, in plot_basemap **kwargs) File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/imaging/maps.py", line 470, in _plot_basemap_into_axes cmap=colormap) File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/mpl_toolkits/basemap/__init__.py", line 567, in with_transform return plotfunc(self,x,y,*args,**kwargs) File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/mpl_toolkits/basemap/__init__.py", line 3262, in scatter self._restore_hold(ax) File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/mpl_toolkits/basemap/__init__.py", line 3238, in _restore_hold ax._hold = self._tmp_hold AttributeError: can't set attribute
Traceback (most recent call last): File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/tests/test_network.py", line 289, in test_location_plot_global net.plot(method='basemap', outfile=ic.name) File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/inventory/network.py", line 557, in plot show=False, **kwargs) File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/imaging/maps.py", line 786, in plot_map return plot_basemap(*args, **kwargs) File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/imaging/maps.py", line 249, in plot_basemap **kwargs) File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/imaging/maps.py", line 470, in _plot_basemap_into_axes cmap=colormap) File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/mpl_toolkits/basemap/__init__.py", line 567, in with_transform return plotfunc(self,x,y,*args,**kwargs) File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/mpl_toolkits/basemap/__init__.py", line 3262, in scatter self._restore_hold(ax) File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/mpl_toolkits/basemap/__init__.py", line 3238, in _restore_hold ax._hold = self._tmp_hold AttributeError: can't set attribute
Traceback (most recent call last): File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/tests/test_network.py", line 321, in test_location_plot_local size=13**2, outfile=ic.name) File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/inventory/network.py", line 557, in plot show=False, **kwargs) File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/imaging/maps.py", line 786, in plot_map return plot_basemap(*args, **kwargs) File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/imaging/maps.py", line 249, in plot_basemap **kwargs) File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/imaging/maps.py", line 470, in _plot_basemap_into_axes cmap=colormap) File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/mpl_toolkits/basemap/__init__.py", line 567, in with_transform return plotfunc(self,x,y,*args,**kwargs) File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/mpl_toolkits/basemap/__init__.py", line 3262, in scatter self._restore_hold(ax) File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/mpl_toolkits/basemap/__init__.py", line 3238, in _restore_hold ax._hold = self._tmp_hold AttributeError: can't set attribute
Traceback (most recent call last): File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/tests/test_network.py", line 302, in test_location_plot_ortho color='yellow', label=False, outfile=ic.name) File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/inventory/network.py", line 557, in plot show=False, **kwargs) File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/imaging/maps.py", line 786, in plot_map return plot_basemap(*args, **kwargs) File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/imaging/maps.py", line 249, in plot_basemap **kwargs) File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/imaging/maps.py", line 470, in _plot_basemap_into_axes cmap=colormap) File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/mpl_toolkits/basemap/__init__.py", line 567, in with_transform return plotfunc(self,x,y,*args,**kwargs) File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/mpl_toolkits/basemap/__init__.py", line 3262, in scatter self._restore_hold(ax) File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/mpl_toolkits/basemap/__init__.py", line 3238, in _restore_hold ax._hold = self._tmp_hold AttributeError: can't set attribute
Traceback (most recent call last): File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/signal/tests/test_cross_correlation.py", line 86, in test_correlate_deprecated_domain_keyword self.assertEqual(len(w), 2) AssertionError: 3 != 2
Traceback (most recent call last): File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/signal/tests/test_spectral_estimation.py", line 775, in test_ppsd_spectrogram_plot fig.savefig(ic.name) File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/testing.py", line 509, in __exit__ raise ImageComparisonException(msg) obspy.core.util.testing.ImageComparisonException: Image comparison failed. File: ppsd_spectrogram.png RMS: 55.65189903917625 Tolerance: 45.0 Expected: https://i.imgur.com/hBtICrq.png Actual: https://i.imgur.com/8R8Akkt.png Diff: https://i.imgur.com/QMqPhhm.png
Skipped tests (31)
Submodule | Test | Skip message |
---|---|---|
clients.arclink | test_m2crypto (obspy.clients.arclink.tests.test_decrypt.ClientTestCase) | M2Crypto is not installed |
clients.arclink | test_pycrypto (obspy.clients.arclink.tests.test_decrypt.ClientTestCase) | PyCrypto is not installed |
clients.seedlink | test_info (obspy.clients.seedlink.tests.test_slclient.SLClientTestCase) | test must be started manually |
clients.seedlink | test_issue708 (obspy.clients.seedlink.tests.test_slclient.SLClientTestCase) | test must be started manually |
clients.seedlink | test_time_window (obspy.clients.seedlink.tests.test_slclient.SLClientTestCase) | test must be started manually |
clients.seishub | test_get_channel_ids (obspy.clients.seishub.tests.test_client.ClientTestCase) | Seishub test server not reachable. |
clients.seishub | test_get_coordinates (obspy.clients.seishub.tests.test_client.ClientTestCase) | Seishub test server not reachable. |
clients.seishub | test_get_event_list (obspy.clients.seishub.tests.test_client.ClientTestCase) | Seishub test server not reachable. |
clients.seishub | test_get_location_ids (obspy.clients.seishub.tests.test_client.ClientTestCase) | Seishub test server not reachable. |
clients.seishub | test_get_network_ids (obspy.clients.seishub.tests.test_client.ClientTestCase) | Seishub test server not reachable. |
clients.seishub | test_get_paz (obspy.clients.seishub.tests.test_client.ClientTestCase) | Seishub test server not reachable. |
clients.seishub | test_get_preview (obspy.clients.seishub.tests.test_client.ClientTestCase) | Seishub test server not reachable. |
clients.seishub | test_get_preview_by_ids (obspy.clients.seishub.tests.test_client.ClientTestCase) | Seishub test server not reachable. |
clients.seishub | test_get_station_ids (obspy.clients.seishub.tests.test_client.ClientTestCase) | Seishub test server not reachable. |
clients.seishub | test_get_waveform_with_metadata (obspy.clients.seishub.tests.test_client.ClientTestCase) | Seishub test server not reachable. |
clients.seishub | test_get_waveforms (obspy.clients.seishub.tests.test_client.ClientTestCase) | Seishub test server not reachable. |
clients.seishub | test_localcache (obspy.clients.seishub.tests.test_client.ClientTestCase) | Seishub test server not reachable. |
clients.seishub | test_ping (obspy.clients.seishub.tests.test_client.ClientTestCase) | Seishub test server not reachable. |
core | test_flake8 (obspy.core.tests.test_code_formatting.CodeFormattingTestCase) | Formatting tests require at least flake8 3.0. |
core | test_catalog_plot_global (obspy.core.tests.test_event.CatalogCartopyTestCase) | Cartopy not installed or too old |
core | test_catalog_plot_local (obspy.core.tests.test_event.CatalogCartopyTestCase) | Cartopy not installed or too old |
core | test_catalog_plot_ortho (obspy.core.tests.test_event.CatalogCartopyTestCase) | Cartopy not installed or too old |
core | test_catalog_plot_ortho_longitude_wrap (obspy.core.tests.test_event.CatalogCartopyTestCase) | Cartopy not installed or too old |
core | test_location_plot_global (obspy.core.tests.test_inventory.InventoryCartopyTestCase) | cartopy not installed |
core | test_location_plot_local (obspy.core.tests.test_inventory.InventoryCartopyTestCase) | cartopy not installed |
core | test_location_plot_ortho (obspy.core.tests.test_inventory.InventoryCartopyTestCase) | cartopy not installed |
core | test_location_plot_global (obspy.core.tests.test_network.NetworkCartopyTestCase) | cartopy not installed |
core | test_location_plot_local (obspy.core.tests.test_network.NetworkCartopyTestCase) | cartopy not installed |
core | test_location_plot_ortho (obspy.core.tests.test_network.NetworkCartopyTestCase) | cartopy not installed |
geodetics | test_gps_2_dist_azimuth_bug150 (obspy.geodetics.tests.test_util_geodetics.UtilGeodeticsTestCase) | Module geographiclib is installed, not using calc_vincenty_inverse |
imaging | test_script_plot (obspy.imaging.tests.test_mopad_script.MopadTestCase) | Currently broken until further review. |
Slowest tests (20)
Runtime | Test |
---|---|
28.632s | test_get_networks (obspy.clients.arclink.tests.test_client.ClientTestCase) |
24.891s | test_get_waveform_instrument_change (obspy.clients.arclink.tests.test_client.ClientTestCase) |
19.847s | test_get_routing (obspy.clients.arclink.tests.test_client.ClientTestCase) |
17.823s | test_response_calculation_from_seed_and_xseed (obspy.io.xseed.tests.test_core.CoreTestCase) |
17.033s | test_get_waveform_with_metadata (obspy.clients.arclink.tests.test_client.ClientTestCase) |
16.722s | test_get_inventory (obspy.clients.arclink.tests.test_client.ClientTestCase) |
14.206s | test_get_waveform_with_dcid_key_file (obspy.clients.arclink.tests.test_decrypt.ClientTestCase) |
14.199s | __init__ (obspy.taup) |
12.484s | test_ppsd_restricted_stacks (obspy.signal.tests.test_spectral_estimation.PsdTestCase) |
12.257s | test_issue_311 (obspy.clients.arclink.tests.test_client.ClientTestCase) |
12.207s | test_issue_372 (obspy.clients.arclink.tests.test_client.ClientTestCase) |
12.006s | test_save_waveform_no_compression (obspy.clients.arclink.tests.test_client.ClientTestCase) |
11.795s | test_get_stations (obspy.clients.arclink.tests.test_client.ClientTestCase) |
11.430s | test_shoot_existing_ray_param (obspy.taup.tests.test_seismic_phase.TauPySeismicPhaseTestCase) |
11.097s | test_delayed_request (obspy.clients.arclink.tests.test_client.ClientTestCase) |
11.029s | test_eida_token_resolution (obspy.clients.fdsn.tests.test_client.ClientTestCase) |
9.116s | __init__ (obspy.clients.arclink) |
8.654s | test_get_waveform (obspy.clients.arclink.tests.test_client.ClientTestCase) |
8.183s | test_get_inventory_twice (obspy.clients.arclink.tests.test_client.ClientTestCase) |
8.150s | test_save_waveform_compressed (obspy.clients.arclink.tests.test_client.ClientTestCase) |