#128019 Report by node gh-actions covering 1978 tests from 48 modules resulted into 13 errors
Report
- ObsPy version
- 0.0.0.dev+0.gd5c3bafb1a
- GitHub Pull Request
- https://github.com/obspy/obspy/pull/21
- Report file
- XML document
- Total runtime
- 175.3 sec
- Report date/time
- Oct. 10, 2022, 7:21 a.m.
System / Python
- Architecture
- 64bit
- Machine
- x86_64
- Node
- gh-actions
- Processor
- x86_64
- Python Compiler
- GCC 10.3.0
- Python Implementation
- CPython
- Python Version
- 3.8.13
- Release
- 5.15.0-1020-azure
- System
- Linux
- Version
- #25~20.04.1-Ubuntu SMP Thu Sep 1 19:20:56 UTC 2022
Dependencies
- cartopy
- ---
- decorator
- 5.1.1
- flake8
- ---
- geographiclib
- ---
- lxml.etree
- 4.9.1
- m2crypto
- ---
- matplotlib
- 3.6.0
- mock
- 4.0.3
- mpl_toolkits.basemap
- 1.3.4
- numpy
- 1.23.3
- pep8-naming
- ---
- pyflakes
- ---
- pyimgur
- 0.6.0
- pyproj
- 1.9.6
- requests
- 2.28.1
- scipy
- 1.9.1
- setuptools
- 65.4.1
- shapefile
- 2.1.3
- sqlalchemy
- 1.4.41
Modules (48)
Module | Errors / Failures | Tracebacks | ||||
---|---|---|---|---|---|---|
obspy.clients.arclink | Not tested | - | - | - | - | - |
obspy.clients.earthworm | Not tested | - | - | - | - | - |
obspy.clients.fdsn | Not tested | - | - | - | - | - |
obspy.clients.filesystem | - | 29 | 29 | - | 3.21s | - |
obspy.clients.iris | Not tested | - | - | - | - | - |
obspy.clients.neic | Not tested | - | - | - | - | - |
obspy.clients.nrl | Not tested | - | - | - | - | - |
obspy.clients.seedlink | Not tested | - | - | - | - | - |
obspy.clients.seishub | Not tested | - | - | - | - | - |
obspy.clients.syngine | Not tested | - | - | - | - | - |
obspy.core | 8 | 673 | 651 | 22 | 33.23s | 1 2 3 4 5 6 7 8 |
obspy.db | Not tested | - | - | - | - | - |
obspy.geodetics | 1 | 21 | 19 | 2 | 0.20s | 9 |
obspy.imaging | 3 | 77 | 76 | 1 | 31.04s | 10 11 12 |
obspy.io.ah | - | 5 | 5 | - | 0.11s | - |
obspy.io.arclink | - | 5 | 5 | - | 2.42s | - |
obspy.io.ascii | - | 28 | 28 | - | 0.26s | - |
obspy.io.cmtsolution | - | 10 | 10 | - | 0.08s | - |
obspy.io.cnv | - | 1 | 1 | - | 0.02s | - |
obspy.io.css | - | 10 | 10 | - | 0.24s | - |
obspy.io.dmx | - | 5 | 5 | - | 0.03s | - |
obspy.io.focmec | - | 8 | 8 | - | 0.12s | - |
obspy.io.gcf | - | 9 | 9 | - | 0.04s | - |
obspy.io.gse2 | - | 55 | 55 | - | 0.59s | - |
obspy.io.hypodd | - | 9 | 9 | - | 0.20s | - |
obspy.io.iaspei | - | 7 | 7 | - | 0.99s | - |
obspy.io.json | - | 4 | 4 | - | 0.04s | - |
obspy.io.kinemetrics | - | 7 | 7 | - | 0.71s | - |
obspy.io.kml | - | 3 | 3 | - | 0.16s | - |
obspy.io.mseed | - | 127 | 127 | - | 1.88s | - |
obspy.io.ndk | - | 20 | 20 | - | 0.48s | - |
obspy.io.nied | - | 11 | 11 | - | 0.08s | - |
obspy.io.nlloc | - | 12 | 12 | - | 0.25s | - |
obspy.io.nordic | - | 52 | 52 | - | 1.77s | - |
obspy.io.pdas | - | 3 | 3 | - | 0.01s | - |
obspy.io.pde | - | 13 | 13 | - | 0.38s | - |
obspy.io.quakeml | - | 38 | 38 | - | 0.73s | - |
obspy.io.reftek | - | 21 | 21 | - | 0.23s | - |
obspy.io.rg16 | - | 38 | 38 | - | 0.18s | - |
obspy.io.sac | - | 96 | 96 | - | 0.54s | - |
obspy.io.scardec | - | 5 | 5 | - | 0.09s | - |
obspy.io.seg2 | - | 2 | 2 | - | 0.02s | - |
obspy.io.segy | - | 56 | 56 | - | 0.50s | - |
obspy.io.seisan | - | 8 | 8 | - | 0.10s | - |
obspy.io.seiscomp | - | 47 | 47 | - | 1.65s | - |
obspy.io.sh | - | 25 | 25 | - | 0.50s | - |
obspy.io.shapefile | - | 7 | 7 | - | 0.59s | - |
obspy.io.stationtxt | - | 11 | 11 | - | 0.11s | - |
obspy.io.stationxml | - | 23 | 23 | - | 0.65s | - |
obspy.io.wav | - | 8 | 8 | - | 0.04s | - |
obspy.io.win | - | 2 | 2 | - | 0.13s | - |
obspy.io.xseed | - | 82 | 82 | - | 12.79s | - |
obspy.io.y | - | 5 | 5 | - | 0.02s | - |
obspy.io.zmap | - | 14 | 14 | - | 0.25s | - |
obspy.realtime | - | 22 | 22 | - | 0.54s | - |
obspy.scripts | - | 2 | 2 | - | 0.01s | - |
obspy.signal | 1 | 198 | 197 | 1 | 31.50s | 13 |
obspy.taup | - | 64 | 58 | 6 | 45.56s | - |
Summary | 13 | 1978 | 1946 | 32 | 175.28s | 13 |
Tracebacks (13)
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/scipy/signal/windows/_windows.py", line 2214, in get_window beta = float(window) ValueError: could not convert string to float: 'hanning' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/scipy/signal/windows/_windows.py", line 2232, in get_window winfunc = _win_equiv[winstr] KeyError: 'hanning' The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/home/runner/work/obspy/obspy/obspy/core/tests/test_stream.py", line 2219, in test_method_chaining temp = st.trim(st[0].stats.starttime + 1, st[0].stats.starttime + 10)\ File "/home/runner/work/obspy/obspy/obspy/core/stream.py", line 2327, in resample tr.resample(sampling_rate, window=window, File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/home/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 237, in skip_if_no_data return func(*args, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/home/runner/work/obspy/obspy/obspy/core/trace.py", line 280, in _add_processing_info result = func(*args, **kwargs) File "/home/runner/work/obspy/obspy/obspy/core/trace.py", line 1740, in resample large_w = np.fft.ifftshift(get_window(window, File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/scipy/signal/windows/_windows.py", line 2234, in get_window raise ValueError("Unknown window type.") from e ValueError: Unknown window type.
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/scipy/signal/windows/_windows.py", line 2214, in get_window beta = float(window) ValueError: could not convert string to float: 'hanning' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/scipy/signal/windows/_windows.py", line 2232, in get_window winfunc = _win_equiv[winstr] KeyError: 'hanning' The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/home/runner/work/obspy/obspy/obspy/core/tests/test_trace.py", line 2587, in test_dtype_is_not_unnecessarily_changed self.assertEqual(tr_int32.copy().resample(2.0).data.dtype, np.float64) File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/home/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 237, in skip_if_no_data return func(*args, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/home/runner/work/obspy/obspy/obspy/core/trace.py", line 280, in _add_processing_info result = func(*args, **kwargs) File "/home/runner/work/obspy/obspy/obspy/core/trace.py", line 1740, in resample large_w = np.fft.ifftshift(get_window(window, File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/scipy/signal/windows/_windows.py", line 2234, in get_window raise ValueError("Unknown window type.") from e ValueError: Unknown window type.
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/scipy/signal/windows/_windows.py", line 2214, in get_window beta = float(window) ValueError: could not convert string to float: 'hanning' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/scipy/signal/windows/_windows.py", line 2232, in get_window winfunc = _win_equiv[winstr] KeyError: 'hanning' The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/home/runner/work/obspy/obspy/obspy/core/tests/test_trace.py", line 1649, in test_method_chaining temp_tr = tr.trim(tr.stats.starttime + 1)\ File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/home/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 237, in skip_if_no_data return func(*args, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/home/runner/work/obspy/obspy/obspy/core/trace.py", line 280, in _add_processing_info result = func(*args, **kwargs) File "/home/runner/work/obspy/obspy/obspy/core/trace.py", line 1740, in resample large_w = np.fft.ifftshift(get_window(window, File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/scipy/signal/windows/_windows.py", line 2234, in get_window raise ValueError("Unknown window type.") from e ValueError: Unknown window type.
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/scipy/signal/windows/_windows.py", line 2214, in get_window beta = float(window) ValueError: could not convert string to float: 'hanning' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/scipy/signal/windows/_windows.py", line 2232, in get_window winfunc = _win_equiv[winstr] KeyError: 'hanning' The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/home/runner/work/obspy/obspy/obspy/core/tests/test_trace.py", line 1826, in test_processing_information tr.resample(tr.stats.sampling_rate / 2.0) File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/home/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 237, in skip_if_no_data return func(*args, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/home/runner/work/obspy/obspy/obspy/core/trace.py", line 280, in _add_processing_info result = func(*args, **kwargs) File "/home/runner/work/obspy/obspy/obspy/core/trace.py", line 1740, in resample large_w = np.fft.ifftshift(get_window(window, File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/scipy/signal/windows/_windows.py", line 2234, in get_window raise ValueError("Unknown window type.") from e ValueError: Unknown window type.
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/scipy/signal/windows/_windows.py", line 2214, in get_window beta = float(window) ValueError: could not convert string to float: 'hanning' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/scipy/signal/windows/_windows.py", line 2232, in get_window winfunc = _win_equiv[winstr] KeyError: 'hanning' The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/home/runner/work/obspy/obspy/obspy/core/tests/test_trace.py", line 1622, in test_resample tr_2 = tr.copy().resample(sampling_rate=50.0) File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/home/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 237, in skip_if_no_data return func(*args, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/home/runner/work/obspy/obspy/obspy/core/trace.py", line 280, in _add_processing_info result = func(*args, **kwargs) File "/home/runner/work/obspy/obspy/obspy/core/trace.py", line 1740, in resample large_w = np.fft.ifftshift(get_window(window, File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/scipy/signal/windows/_windows.py", line 2234, in get_window raise ValueError("Unknown window type.") from e ValueError: Unknown window type.
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/scipy/signal/windows/_windows.py", line 2214, in get_window beta = float(window) ValueError: could not convert string to float: 'hanning' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/scipy/signal/windows/_windows.py", line 2232, in get_window winfunc = _win_equiv[winstr] KeyError: 'hanning' The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/home/runner/work/obspy/obspy/obspy/core/tests/test_trace.py", line 2102, in test_resample_new tr.resample(0.5, window='hanning', no_filter=True) File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/home/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 237, in skip_if_no_data return func(*args, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/home/runner/work/obspy/obspy/obspy/core/trace.py", line 280, in _add_processing_info result = func(*args, **kwargs) File "/home/runner/work/obspy/obspy/obspy/core/trace.py", line 1740, in resample large_w = np.fft.ifftshift(get_window(window, File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/scipy/signal/windows/_windows.py", line 2234, in get_window raise ValueError("Unknown window type.") from e ValueError: Unknown window type.
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.8/doctest.py", line 2204, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for obspy.core.stream.Stream.resample File "/home/runner/work/obspy/obspy/obspy/core/stream.py", line 2272, in resample ---------------------------------------------------------------------- File "/home/runner/work/obspy/obspy/obspy/core/stream.py", line 2318, in obspy.core.stream.Stream.resample Failed example: st.resample(10.0) # doctest: +ELLIPSIS Exception raised: Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/scipy/signal/windows/_windows.py", line 2214, in get_window beta = float(window) ValueError: could not convert string to float: 'hanning' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/scipy/signal/windows/_windows.py", line 2232, in get_window winfunc = _win_equiv[winstr] KeyError: 'hanning' The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.8/doctest.py", line 1336, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.core.stream.Stream.resample[2]>", line 1, in <module> st.resample(10.0) # doctest: +ELLIPSIS File "/home/runner/work/obspy/obspy/obspy/core/stream.py", line 2327, in resample tr.resample(sampling_rate, window=window, File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/home/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 237, in skip_if_no_data return func(*args, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/home/runner/work/obspy/obspy/obspy/core/trace.py", line 280, in _add_processing_info result = func(*args, **kwargs) File "/home/runner/work/obspy/obspy/obspy/core/trace.py", line 1740, in resample large_w = np.fft.ifftshift(get_window(window, File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/scipy/signal/windows/_windows.py", line 2234, in get_window raise ValueError("Unknown window type.") from e ValueError: Unknown window type. ---------------------------------------------------------------------- File "/home/runner/work/obspy/obspy/obspy/core/stream.py", line 2320, in obspy.core.stream.Stream.resample Failed example: print(st) # doctest: +ELLIPSIS Expected: 3 Trace(s) in Stream: BW.RJOB..EHZ | 2009-08-24T00:20:03.000000Z ... | 10.0 Hz, 300 samples BW.RJOB..EHN | 2009-08-24T00:20:03.000000Z ... | 10.0 Hz, 300 samples BW.RJOB..EHE | 2009-08-24T00:20:03.000000Z ... | 10.0 Hz, 300 samples Got: 3 Trace(s) in Stream: BW.RJOB..EHZ | 2009-08-24T00:20:03.000000Z - 2009-08-24T00:20:32.990000Z | 100.0 Hz, 3000 samples BW.RJOB..EHN | 2009-08-24T00:20:03.000000Z - 2009-08-24T00:20:32.990000Z | 100.0 Hz, 3000 samples BW.RJOB..EHE | 2009-08-24T00:20:03.000000Z - 2009-08-24T00:20:32.990000Z | 100.0 Hz, 3000 samples
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.8/doctest.py", line 2204, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for obspy.core.trace.Trace.resample File "/home/runner/work/obspy/obspy/obspy/core/trace.py", line 232, in resample ---------------------------------------------------------------------- File "/home/runner/work/obspy/obspy/obspy/core/trace.py", line 278, in obspy.core.trace.Trace.resample Failed example: tr.resample(4.0) # doctest: +ELLIPSIS Exception raised: Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/scipy/signal/windows/_windows.py", line 2214, in get_window beta = float(window) ValueError: could not convert string to float: 'hanning' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/scipy/signal/windows/_windows.py", line 2232, in get_window winfunc = _win_equiv[winstr] KeyError: 'hanning' The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.8/doctest.py", line 1336, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.core.trace.Trace.resample[3]>", line 1, in <module> tr.resample(4.0) # doctest: +ELLIPSIS File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/home/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 237, in skip_if_no_data return func(*args, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/home/runner/work/obspy/obspy/obspy/core/trace.py", line 280, in _add_processing_info result = func(*args, **kwargs) File "/home/runner/work/obspy/obspy/obspy/core/trace.py", line 1740, in resample large_w = np.fft.ifftshift(get_window(window, File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/scipy/signal/windows/_windows.py", line 2234, in get_window raise ValueError("Unknown window type.") from e ValueError: Unknown window type. ---------------------------------------------------------------------- File "/home/runner/work/obspy/obspy/obspy/core/trace.py", line 280, in obspy.core.trace.Trace.resample Failed example: len(tr) Expected: 32 Got: 8 ---------------------------------------------------------------------- File "/home/runner/work/obspy/obspy/obspy/core/trace.py", line 282, in obspy.core.trace.Trace.resample Failed example: tr.stats.sampling_rate Expected: 4.0 Got: 1.0 ---------------------------------------------------------------------- File "/home/runner/work/obspy/obspy/obspy/core/trace.py", line 284, in obspy.core.trace.Trace.resample Failed example: tr.data # doctest: +NORMALIZE_WHITESPACE +ELLIPSIS Expected: array([ 0.5 , 0.40432914, 0.3232233 , 0.26903012, 0.25 ... Got: array([ 0.5, 0. , 0.5, 1. , 0.5, 0. , 0.5, 1. ])
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.8/doctest.py", line 2204, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for obspy.geodetics.base.locations2degrees File "/home/runner/work/obspy/obspy/obspy/geodetics/base.py", line 329, in locations2degrees ---------------------------------------------------------------------- File "/home/runner/work/obspy/obspy/obspy/geodetics/base.py", line 353, in obspy.geodetics.base.locations2degrees Failed example: locations2degrees(5, 5, 10, 10) Expected: 7.0397014191753815 Got: 7.0397014191753851
Traceback (most recent call last): File "/home/runner/work/obspy/obspy/obspy/imaging/tests/test_scan.py", line 227, in test_multiple_sampling_rates for ex_line, out_line in zip(expected, output): File "/home/runner/work/obspy/obspy/obspy/core/util/testing.py", line 474, in __exit__ raise ImageComparisonException(msg) obspy.core.util.testing.ImageComparisonException: Image comparison failed. File: scan_mult_sampl.png RMS: 58.799356005543686 Tolerance: 50 Expected: https://i.imgur.com/TuwJjaM.png Actual: https://i.imgur.com/QOdP3Jh.png Diff: https://i.imgur.com/mmiPkvw.png
Traceback (most recent call last): File "/home/runner/work/obspy/obspy/obspy/imaging/tests/test_beachball.py", line 288, in test_collection_aspect_x self.collection_aspect(axis=[-10000, 10000, -100, 100], File "/home/runner/work/obspy/obspy/obspy/imaging/tests/test_beachball.py", line 266, in collection_aspect fig.savefig(ic.name) File "/home/runner/work/obspy/obspy/obspy/core/util/testing.py", line 474, in __exit__ raise ImageComparisonException(msg) obspy.core.util.testing.ImageComparisonException: Image comparison failed. File: bb_aspect_x.png RMS: 69.91670091377787 Tolerance: 30.0 Expected: https://i.imgur.com/JjXjxLf.png Actual: https://i.imgur.com/Ns5FRSg.png Diff: https://i.imgur.com/RtJCVAw.png
Traceback (most recent call last): File "/home/runner/work/obspy/obspy/obspy/imaging/tests/test_beachball.py", line 297, in test_collection_aspect_y self.collection_aspect(axis=[-100, 100, -10000, 10000], File "/home/runner/work/obspy/obspy/obspy/imaging/tests/test_beachball.py", line 266, in collection_aspect fig.savefig(ic.name) File "/home/runner/work/obspy/obspy/obspy/core/util/testing.py", line 474, in __exit__ raise ImageComparisonException(msg) obspy.core.util.testing.ImageComparisonException: Image comparison failed. File: bb_aspect_y.png RMS: 69.76242732780065 Tolerance: 30.0 Expected: https://i.imgur.com/QbATU3A.png Actual: https://i.imgur.com/5neNHPQ.png Diff: https://i.imgur.com/H22oF6k.png
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.8/doctest.py", line 2204, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for obspy.signal._sosfilt._zpk2sos File "/home/runner/work/obspy/obspy/obspy/signal/_sosfilt.py", line 137, in _zpk2sos ---------------------------------------------------------------------- File "/home/runner/work/obspy/obspy/obspy/signal/_sosfilt.py", line 252, in obspy.signal._sosfilt._zpk2sos Failed example: sos[:, :3] Expected: array([[ 0.0014154 , 0.00248707, 0.0014154 ], [ 1. , 0.72965193, 1. ], [ 1. , 0.17594966, 1. ]]) Got: array([[ 0.0014152 , 0.00248677, 0.0014152 ], [ 1. , 0.72976874, 1. ], [ 1. , 0.17607852, 1. ]]) ---------------------------------------------------------------------- File "/home/runner/work/obspy/obspy/obspy/signal/_sosfilt.py", line 262, in obspy.signal._sosfilt._zpk2sos Failed example: sos[:, 3:] Expected: array([[ 1. , -1.32543251, 0.46989499], [ 1. , -1.26117915, 0.6262586 ], [ 1. , -1.25707217, 0.86199667]]) Got: array([[ 1. , -1.32544025, 0.46989976], [ 1. , -1.26118294, 0.62625924], [ 1. , -1.2570723 , 0.8619958 ]])
Skipped tests (32)
Submodule | Test | Skip message |
---|---|---|
core | test_combined_station_event_plot (obspy.core.tests.test_inventory.InventoryBasemapTestCase) | matplotlib 3.0.1 is not compatible with basemap |
core | test_location_plot_global (obspy.core.tests.test_inventory.InventoryBasemapTestCase) | matplotlib 3.0.1 is not compatible with basemap |
core | test_location_plot_local (obspy.core.tests.test_inventory.InventoryBasemapTestCase) | matplotlib 3.0.1 is not compatible with basemap |
core | test_location_plot_ortho (obspy.core.tests.test_inventory.InventoryBasemapTestCase) | matplotlib 3.0.1 is not compatible with basemap |
core | test_location_plot_global (obspy.core.tests.test_inventory.InventoryCartopyTestCase) | cartopy not installed |
core | test_location_plot_local (obspy.core.tests.test_inventory.InventoryCartopyTestCase) | cartopy not installed |
core | test_location_plot_ortho (obspy.core.tests.test_inventory.InventoryCartopyTestCase) | cartopy not installed |
core | test_catalog_plot_global (obspy.core.tests.test_event.CatalogBasemapTestCase) | matplotlib 3.0.1 is not compatible with basemap |
core | test_catalog_plot_local (obspy.core.tests.test_event.CatalogBasemapTestCase) | matplotlib 3.0.1 is not compatible with basemap |
core | test_catalog_plot_ortho (obspy.core.tests.test_event.CatalogBasemapTestCase) | matplotlib 3.0.1 is not compatible with basemap |
core | test_catalog_plot_ortho_longitude_wrap (obspy.core.tests.test_event.CatalogBasemapTestCase) | matplotlib 3.0.1 is not compatible with basemap |
core | test_plot_catalog_before_1900 (obspy.core.tests.test_event.CatalogBasemapTestCase) | matplotlib 3.0.1 is not compatible with basemap |
core | test_catalog_plot_global (obspy.core.tests.test_event.CatalogCartopyTestCase) | Cartopy not installed or too old |
core | test_catalog_plot_local (obspy.core.tests.test_event.CatalogCartopyTestCase) | Cartopy not installed or too old |
core | test_catalog_plot_ortho (obspy.core.tests.test_event.CatalogCartopyTestCase) | Cartopy not installed or too old |
core | test_catalog_plot_ortho_longitude_wrap (obspy.core.tests.test_event.CatalogCartopyTestCase) | Cartopy not installed or too old |
core | test_plot_farfield_without_quiver_with_maps (obspy.core.tests.test_event.EventTestCase) | matplotlib 3.0.1 is not compatible with basemap |
core | test_flake8 (obspy.core.tests.test_code_formatting.CodeFormattingTestCase) | Formatting tests require at least flake8 3.0. |
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_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. |
signal | test_ppsd_spectrogram_plot (obspy.signal.tests.test_spectral_estimation.PsdTestCase) | matplotlib >= 3 shifts labels |
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 |
taup | test_compute_ray_paths (obspy.taup.tests.test_ray_paths.RayPathCalculationsTestCase) | test needs geographiclib >= 1.34 |
Slowest tests (20)
Runtime | Test |
---|---|
9.645s | test_response_calculation_from_seed_and_xseed (obspy.io.xseed.tests.test_core.CoreTestCase) |
6.555s | __init__ (obspy.taup) |
5.358s | test_ppsd_restricted_stacks (obspy.signal.tests.test_spectral_estimation.PsdTestCase) |
4.867s | test_plot_multiple_traces (obspy.imaging.tests.test_waveform.WaveformTestCase) |
4.828s | test_shoot_existing_ray_param (obspy.taup.tests.test_seismic_phase.TauPySeismicPhaseTestCase) |
3.045s | plot_travel_times (obspy.taup.tau) |
2.727s | test_regional_models (obspy.taup.tests.test_tau.TauPyModelTestCase) |
2.711s | read (obspy.core.stream) |
2.670s | test_remove_response_plot (obspy.core.tests.test_trace.TraceTestCase) |
2.626s | test_vs_java_iasp91 (obspy.taup.tests.test_tau.TauPyModelTestCase) |
2.372s | test_correlate_stream_template_and_correlation_detector (obspy.signal.tests.test_cross_correlation.CrossCorrelationTestCase) |
2.365s | test_auto_read_arclink_xml (obspy.io.arclink.tests.test_inventory_xml.ArclinkInventoryTestCase) |
2.181s | test_many_identically_named_phases (obspy.taup.tests.test_seismic_phase.TauPySeismicPhaseTestCase) |
1.973s | test_relcal_different_overlaps (obspy.signal.tests.test_calibration.CalibrationTestCase) |
1.804s | test_collection_aspect_y (obspy.imaging.tests.test_beachball.BeachballTestCase) |
1.747s | test_multiple_sampling_rates (obspy.imaging.tests.test_scan.ScanTestCase) |
1.735s | test_location_plot_local (obspy.core.tests.test_network.NetworkBasemapTestCase) |
1.735s | test_collection_aspect_x (obspy.imaging.tests.test_beachball.BeachballTestCase) |
1.624s | test_polarization_vidale (obspy.signal.tests.test_polarization.PolarizationTestCase) |
1.606s | test_read_url_via_network (obspy.core.tests.test_stream.StreamTestCase) |