#114925 Report by node gh-actions covering 1994 tests from 49 modules resulted into 2 errors
Report
- ObsPy version
- 0.0.0.dev+0.ge174cf4fcb
- GitHub Pull Request
- https://github.com/obspy/obspy/pull/7
- Report file
- XML document
- Total runtime
- 315.1 sec
- Report date/time
- Nov. 21, 2021, 10:18 p.m.
System / Python
- Architecture
- 64bit
- Machine
- x86_64
- Node
- gh-actions
- Processor
- x86_64
- Python Compiler
- GCC 9.4.0
- Python Implementation
- CPython
- Python Version
- 3.7.12
- Release
- 5.11.0-1021-azure
- System
- Linux
- Version
- #22~20.04.1-Ubuntu SMP Fri Oct 29 01:11:25 UTC 2021
Dependencies
- cartopy
- ---
- decorator
- 5.1.0
- flake8
- ---
- geographiclib
- ---
- lxml.etree
- 4.6.4
- m2crypto
- ---
- matplotlib
- 3.5.0
- mock
- 4.0.3
- mpl_toolkits.basemap
- ---
- numpy
- 1.21.4
- pep8-naming
- ---
- pyflakes
- ---
- pyimgur
- 0.6.0
- pyproj
- 1.9.6
- requests
- 2.26.0
- scipy
- 1.7.2
- setuptools
- 59.2.0
- shapefile
- 2.1.3
- sqlalchemy
- 1.4.27
Modules (49)
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.45s | - |
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 | - | 673 | 649 | 24 | 32.66s | - |
obspy.db | Not tested | - | - | - | - | - |
obspy.geodetics | - | 21 | 19 | 2 | 0.20s | - |
obspy.imaging | - | 77 | 76 | 1 | 27.24s | - |
obspy.io.ah | - | 5 | 5 | - | 0.11s | - |
obspy.io.alsep | 1 | 16 | 16 | - | 132.93s | 1 |
obspy.io.arclink | - | 5 | 5 | - | 2.32s | - |
obspy.io.ascii | - | 28 | 28 | - | 0.18s | - |
obspy.io.cmtsolution | - | 10 | 10 | - | 0.10s | - |
obspy.io.cnv | - | 1 | 1 | - | 0.03s | - |
obspy.io.css | - | 10 | 10 | - | 0.83s | - |
obspy.io.dmx | - | 5 | 5 | - | 0.03s | - |
obspy.io.focmec | - | 8 | 8 | - | 0.15s | - |
obspy.io.gcf | - | 9 | 9 | - | 0.04s | - |
obspy.io.gse2 | - | 55 | 55 | - | 0.68s | - |
obspy.io.hypodd | - | 9 | 9 | - | 0.22s | - |
obspy.io.iaspei | - | 7 | 7 | - | 1.16s | - |
obspy.io.json | - | 4 | 4 | - | 0.04s | - |
obspy.io.kinemetrics | - | 7 | 7 | - | 0.69s | - |
obspy.io.kml | - | 3 | 3 | - | 0.17s | - |
obspy.io.mseed | - | 127 | 127 | - | 1.95s | - |
obspy.io.ndk | - | 20 | 20 | - | 0.52s | - |
obspy.io.nied | - | 11 | 11 | - | 0.08s | - |
obspy.io.nlloc | - | 12 | 12 | - | 0.22s | - |
obspy.io.nordic | - | 52 | 52 | - | 2.13s | - |
obspy.io.pdas | - | 3 | 3 | - | 0.01s | - |
obspy.io.pde | - | 13 | 13 | - | 0.44s | - |
obspy.io.quakeml | - | 38 | 38 | - | 0.66s | - |
obspy.io.reftek | - | 21 | 21 | - | 0.24s | - |
obspy.io.rg16 | - | 38 | 38 | - | 0.19s | - |
obspy.io.sac | - | 96 | 96 | - | 0.52s | - |
obspy.io.scardec | - | 5 | 5 | - | 0.09s | - |
obspy.io.seg2 | - | 2 | 2 | - | 0.04s | - |
obspy.io.segy | - | 56 | 56 | - | 0.63s | - |
obspy.io.seisan | - | 8 | 8 | - | 0.10s | - |
obspy.io.seiscomp | - | 47 | 47 | - | 1.47s | - |
obspy.io.sh | - | 25 | 25 | - | 0.58s | - |
obspy.io.shapefile | - | 7 | 7 | - | 0.62s | - |
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.11s | - |
obspy.io.xseed | - | 82 | 82 | - | 12.65s | - |
obspy.io.y | - | 5 | 5 | - | 0.02s | - |
obspy.io.zmap | - | 14 | 14 | - | 0.28s | - |
obspy.realtime | - | 22 | 22 | - | 0.53s | - |
obspy.scripts | - | 2 | 2 | - | 0.01s | - |
obspy.signal | 1 | 198 | 197 | 1 | 38.22s | 2 |
obspy.taup | - | 64 | 58 | 6 | 48.76s | - |
Summary | 2 | 1994 | 1960 | 34 | 315.12s | 2 |
Tracebacks (2)
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.7/doctest.py", line 2204, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for obspy.io.alsep.__init__ File "/home/runner/work/obspy/obspy/obspy/io/alsep/__init__.py", line 1, in __init__ ---------------------------------------------------------------------- File "/home/runner/work/obspy/obspy/obspy/io/alsep/__init__.py", line 33, in obspy.io.alsep.__init__ Failed example: st = read("http://darts.isas.jaxa.jp/pub/apollo/pse/p15s/pse.a15.1.2") Exception raised: Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.7/site-packages/urllib3/connection.py", line 175, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/usr/share/miniconda3/envs/test/lib/python3.7/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/usr/share/miniconda3/envs/test/lib/python3.7/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.7/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/usr/share/miniconda3/envs/test/lib/python3.7/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/share/miniconda3/envs/test/lib/python3.7/site-packages/urllib3/connection.py", line 239, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/share/miniconda3/envs/test/lib/python3.7/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/share/miniconda3/envs/test/lib/python3.7/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/share/miniconda3/envs/test/lib/python3.7/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/share/miniconda3/envs/test/lib/python3.7/http/client.py", line 1036, in _send_output self.send(msg) File "/usr/share/miniconda3/envs/test/lib/python3.7/http/client.py", line 976, in send self.connect() File "/usr/share/miniconda3/envs/test/lib/python3.7/site-packages/urllib3/connection.py", line 205, in connect conn = self._new_conn() File "/usr/share/miniconda3/envs/test/lib/python3.7/site-packages/urllib3/connection.py", line 187, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fb2ba792790>: Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.7/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/share/miniconda3/envs/test/lib/python3.7/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/usr/share/miniconda3/envs/test/lib/python3.7/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='darts.isas.jaxa.jp', port=80): Max retries exceeded with url: /pub/apollo/pse/p15s/pse.a15.1.2 (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb2ba792790>: Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.7/doctest.py", line 1337, in __run compileflags, 1), test.globs) File "<doctest obspy.io.alsep.__init__[1]>", line 1, in <module> st = read("http://darts.isas.jaxa.jp/pub/apollo/pse/p15s/pse.a15.1.2") File "/usr/share/miniconda3/envs/test/lib/python3.7/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 291, in _map_example_filename return func(*args, **kwargs) File "/home/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "/home/runner/work/obspy/obspy/obspy/core/util/base.py", line 679, in _generic_reader download_to_file(url=pathname_or_url, filename_or_buffer=fh) File "/home/runner/work/obspy/obspy/obspy/core/util/base.py", line 628, in download_to_file r = requests.get(url, stream=True) File "/usr/share/miniconda3/envs/test/lib/python3.7/site-packages/requests/api.py", line 75, in get return request('get', url, params=params, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.7/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.7/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.7/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.7/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='darts.isas.jaxa.jp', port=80): Max retries exceeded with url: /pub/apollo/pse/p15s/pse.a15.1.2 (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb2ba792790>: Failed to establish a new connection: [Errno 110] Connection timed out')) ---------------------------------------------------------------------- File "/home/runner/work/obspy/obspy/obspy/io/alsep/__init__.py", line 34, in obspy.io.alsep.__init__ Failed example: st #doctest: +ELLIPSIS Exception raised: Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.7/doctest.py", line 1337, in __run compileflags, 1), test.globs) File "<doctest obspy.io.alsep.__init__[2]>", line 1, in <module> st #doctest: +ELLIPSIS NameError: name 'st' is not defined ---------------------------------------------------------------------- File "/home/runner/work/obspy/obspy/obspy/io/alsep/__init__.py", line 36, in obspy.io.alsep.__init__ Failed example: st_spz = st.select(id='XA.S15..SPZ') Exception raised: Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.7/doctest.py", line 1337, in __run compileflags, 1), test.globs) File "<doctest obspy.io.alsep.__init__[3]>", line 1, in <module> st_spz = st.select(id='XA.S15..SPZ') NameError: name 'st' is not defined ---------------------------------------------------------------------- File "/home/runner/work/obspy/obspy/obspy/io/alsep/__init__.py", line 37, in obspy.io.alsep.__init__ Failed example: print(st_spz) #doctest: +ELLIPSIS Exception raised: Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.7/doctest.py", line 1337, in __run compileflags, 1), test.globs) File "<doctest obspy.io.alsep.__init__[4]>", line 1, in <module> print(st_spz) #doctest: +ELLIPSIS NameError: name 'st_spz' is not defined
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.7/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 (34)
Submodule | Test | Skip message |
---|---|---|
core | test_location_plot_global (obspy.core.tests.test_network.NetworkBasemapTestCase) | no or invalid basemap installation |
core | test_location_plot_local (obspy.core.tests.test_network.NetworkBasemapTestCase) | no or invalid basemap installation |
core | test_location_plot_ortho (obspy.core.tests.test_network.NetworkBasemapTestCase) | no or invalid basemap installation |
core | test_location_plot_global (obspy.core.tests.test_network.NetworkCartopyTestCase) | cartopy not installed |
core | test_location_plot_local (obspy.core.tests.test_network.NetworkCartopyTestCase) | cartopy not installed |
core | test_location_plot_ortho (obspy.core.tests.test_network.NetworkCartopyTestCase) | cartopy not installed |
core | test_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_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) | 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 |
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_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_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_compute_ray_paths (obspy.taup.tests.test_ray_paths.RayPathCalculationsTestCase) | test needs geographiclib >= 1.34 |
Slowest tests (20)
Runtime | Test |
---|---|
130.148s | __init__ (obspy.io.alsep) |
9.513s | test_response_calculation_from_seed_and_xseed (obspy.io.xseed.tests.test_core.CoreTestCase) |
6.988s | __init__ (obspy.taup) |
6.363s | test_ppsd_restricted_stacks (obspy.signal.tests.test_spectral_estimation.PsdTestCase) |
5.300s | test_shoot_existing_ray_param (obspy.taup.tests.test_seismic_phase.TauPySeismicPhaseTestCase) |
4.787s | test_plot_multiple_traces (obspy.imaging.tests.test_waveform.WaveformTestCase) |
3.228s | plot_travel_times (obspy.taup.tau) |
2.893s | test_regional_models (obspy.taup.tests.test_tau.TauPyModelTestCase) |
2.861s | test_remove_response_plot (obspy.core.tests.test_trace.TraceTestCase) |
2.827s | test_vs_java_iasp91 (obspy.taup.tests.test_tau.TauPyModelTestCase) |
2.718s | read (obspy.core.stream) |
2.714s | test_relcal_different_overlaps (obspy.signal.tests.test_calibration.CalibrationTestCase) |
2.339s | test_correlate_stream_template_and_correlation_detector (obspy.signal.tests.test_cross_correlation.CrossCorrelationTestCase) |
2.283s | test_many_identically_named_phases (obspy.taup.tests.test_seismic_phase.TauPySeismicPhaseTestCase) |
2.273s | test_auto_read_arclink_xml (obspy.io.arclink.tests.test_inventory_xml.ArclinkInventoryTestCase) |
2.223s | test_polarization_vidale (obspy.signal.tests.test_polarization.PolarizationTestCase) |
1.892s | test_read_url_via_network (obspy.core.tests.test_stream.StreamTestCase) |
1.698s | test_read_alsep_pse_file_with_ignore_error (obspy.io.alsep.tests.test_alsep.AlsepTestCase) |
1.561s | test_plot_tf_gofs (obspy.signal.tests.test_tf_misfit.TfPlotTestCase) |
1.470s | test_rotate2zne_against_lqt_different_combinations (obspy.signal.tests.test_rotate.RotateTestCase) |