#114466 Report by node gh-actions covering 1994 tests from 49 modules resulted into 2 errors
Report
- ObsPy version
- 0.0.0.dev+0.g46256dcddb
- GitHub Pull Request
- https://github.com/obspy/obspy/pull/4
- Report file
- XML document
- Total runtime
- 344.9 sec
- Report date/time
- Aug. 18, 2021, 5:08 a.m.
System / Python
- Architecture
- 64bit
- Machine
- x86_64
- Node
- gh-actions
- Processor
- x86_64
- Python Compiler
- GCC 9.3.0
- Python Implementation
- CPython
- Python Version
- 3.8.10
- Release
- 5.8.0-1039-azure
- System
- Linux
- Version
- #42~20.04.1-Ubuntu SMP Thu Jul 15 14:11:07 UTC 2021
Dependencies
- cartopy
- ---
- decorator
- 5.0.9
- flake8
- ---
- geographiclib
- ---
- lxml.etree
- 4.6.3
- m2crypto
- ---
- matplotlib
- 3.4.3
- mock
- 4.0.3
- mpl_toolkits.basemap
- ---
- numpy
- 1.21.2
- pep8-naming
- ---
- pyflakes
- ---
- pyimgur
- 0.6.0
- pyproj
- 1.9.6
- requests
- 2.26.0
- scipy
- 1.7.1
- setuptools
- 57.4.0
- shapefile
- 2.1.3
- sqlalchemy
- 1.4.22
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.49s | - |
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 | 36.23s | - |
obspy.db | Not tested | - | - | - | - | - |
obspy.geodetics | - | 21 | 19 | 2 | 0.24s | - |
obspy.imaging | - | 77 | 76 | 1 | 32.27s | - |
obspy.io.ah | - | 5 | 5 | - | 0.12s | - |
obspy.io.alsep | 1 | 16 | 16 | - | 134.57s | 1 |
obspy.io.arclink | - | 5 | 5 | - | 3.04s | - |
obspy.io.ascii | - | 28 | 28 | - | 0.21s | - |
obspy.io.cmtsolution | - | 10 | 10 | - | 0.10s | - |
obspy.io.cnv | - | 1 | 1 | - | 0.03s | - |
obspy.io.css | - | 10 | 10 | - | 0.89s | - |
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.71s | - |
obspy.io.hypodd | - | 9 | 9 | - | 0.26s | - |
obspy.io.iaspei | - | 7 | 7 | - | 1.21s | - |
obspy.io.json | - | 4 | 4 | - | 0.04s | - |
obspy.io.kinemetrics | - | 7 | 7 | - | 0.84s | - |
obspy.io.kml | - | 3 | 3 | - | 0.19s | - |
obspy.io.mseed | - | 127 | 127 | - | 2.37s | - |
obspy.io.ndk | - | 20 | 20 | - | 0.73s | - |
obspy.io.nied | - | 11 | 11 | - | 0.11s | - |
obspy.io.nlloc | - | 12 | 12 | - | 0.25s | - |
obspy.io.nordic | - | 52 | 52 | - | 2.32s | - |
obspy.io.pdas | - | 3 | 3 | - | 0.01s | - |
obspy.io.pde | - | 13 | 13 | - | 0.46s | - |
obspy.io.quakeml | - | 38 | 38 | - | 0.70s | - |
obspy.io.reftek | - | 21 | 21 | - | 0.27s | - |
obspy.io.rg16 | - | 38 | 38 | - | 0.22s | - |
obspy.io.sac | - | 96 | 96 | - | 0.62s | - |
obspy.io.scardec | - | 5 | 5 | - | 0.10s | - |
obspy.io.seg2 | - | 2 | 2 | - | 0.05s | - |
obspy.io.segy | - | 56 | 56 | - | 0.63s | - |
obspy.io.seisan | - | 8 | 8 | - | 0.11s | - |
obspy.io.seiscomp | - | 47 | 47 | - | 1.91s | - |
obspy.io.sh | - | 25 | 25 | - | 0.66s | - |
obspy.io.shapefile | - | 7 | 7 | - | 0.75s | - |
obspy.io.stationtxt | - | 11 | 11 | - | 0.13s | - |
obspy.io.stationxml | - | 23 | 23 | - | 0.69s | - |
obspy.io.wav | - | 8 | 8 | - | 0.04s | - |
obspy.io.win | - | 2 | 2 | - | 0.15s | - |
obspy.io.xseed | - | 82 | 82 | - | 14.96s | - |
obspy.io.y | - | 5 | 5 | - | 0.02s | - |
obspy.io.zmap | - | 14 | 14 | - | 0.29s | - |
obspy.realtime | - | 22 | 22 | - | 0.72s | - |
obspy.scripts | - | 2 | 2 | - | 0.02s | - |
obspy.signal | 1 | 198 | 197 | 1 | 43.43s | 2 |
obspy.taup | - | 64 | 58 | 6 | 57.46s | - |
Summary | 2 | 1994 | 1960 | 34 | 344.85s | 2 |
Tracebacks (2)
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.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.8/site-packages/urllib3/connection.py", line 169, in _new_conn conn = connection.create_connection( File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/usr/share/miniconda3/envs/test/lib/python3.8/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.8/site-packages/urllib3/connectionpool.py", line 699, in urlopen httplib_response = self._make_request( File "/usr/share/miniconda3/envs/test/lib/python3.8/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.8/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/share/miniconda3/envs/test/lib/python3.8/http/client.py", line 1252, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/share/miniconda3/envs/test/lib/python3.8/http/client.py", line 1298, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/share/miniconda3/envs/test/lib/python3.8/http/client.py", line 1247, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/share/miniconda3/envs/test/lib/python3.8/http/client.py", line 1007, in _send_output self.send(msg) File "/usr/share/miniconda3/envs/test/lib/python3.8/http/client.py", line 947, in send self.connect() File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/urllib3/connection.py", line 181, in _new_conn raise NewConnectionError( urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f1ad03dd400>: 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.8/site-packages/requests/adapters.py", line 439, in send resp = conn.urlopen( File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/urllib3/connectionpool.py", line 755, in urlopen retries = retries.increment( File "/usr/share/miniconda3/envs/test/lib/python3.8/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 0x7f1ad03dd400>: 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.8/doctest.py", line 1336, in __run exec(compile(example.source, filename, "single", 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.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 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.8/site-packages/requests/api.py", line 75, in get return request('get', url, params=params, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.8/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.8/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.8/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 0x7f1ad03dd400>: 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.8/doctest.py", line 1336, in __run exec(compile(example.source, filename, "single", 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.8/doctest.py", line 1336, in __run exec(compile(example.source, filename, "single", 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.8/doctest.py", line 1336, in __run exec(compile(example.source, filename, "single", 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.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 (34)
Submodule | Test | Skip message |
---|---|---|
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 |
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_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 |
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_compute_ray_paths (obspy.taup.tests.test_ray_paths.RayPathCalculationsTestCase) | test needs geographiclib >= 1.34 |
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. |
Slowest tests (20)
Runtime | Test |
---|---|
131.537s | __init__ (obspy.io.alsep) |
11.349s | test_response_calculation_from_seed_and_xseed (obspy.io.xseed.tests.test_core.CoreTestCase) |
8.354s | __init__ (obspy.taup) |
6.462s | test_ppsd_restricted_stacks (obspy.signal.tests.test_spectral_estimation.PsdTestCase) |
6.274s | test_shoot_existing_ray_param (obspy.taup.tests.test_seismic_phase.TauPySeismicPhaseTestCase) |
5.880s | test_plot_multiple_traces (obspy.imaging.tests.test_waveform.WaveformTestCase) |
3.869s | plot_travel_times (obspy.taup.tau) |
3.536s | test_remove_response_plot (obspy.core.tests.test_trace.TraceTestCase) |
3.416s | test_regional_models (obspy.taup.tests.test_tau.TauPyModelTestCase) |
3.315s | test_vs_java_iasp91 (obspy.taup.tests.test_tau.TauPyModelTestCase) |
3.167s | test_relcal_different_overlaps (obspy.signal.tests.test_calibration.CalibrationTestCase) |
2.981s | test_auto_read_arclink_xml (obspy.io.arclink.tests.test_inventory_xml.ArclinkInventoryTestCase) |
2.868s | test_correlate_stream_template_and_correlation_detector (obspy.signal.tests.test_cross_correlation.CrossCorrelationTestCase) |
2.764s | test_many_identically_named_phases (obspy.taup.tests.test_seismic_phase.TauPySeismicPhaseTestCase) |
2.575s | test_polarization_vidale (obspy.signal.tests.test_polarization.PolarizationTestCase) |
2.242s | read (obspy.core.stream) |
1.874s | test_plot_tf_misfits (obspy.signal.tests.test_tf_misfit.TfPlotTestCase) |
1.731s | test_read_alsep_pse_file_with_ignore_error (obspy.io.alsep.tests.test_alsep.AlsepTestCase) |
1.706s | test_spherical_many_phases (obspy.taup.tests.test_plotting.TauPyPlottingTestCase) |
1.701s | test_plot_tf_gofs (obspy.signal.tests.test_tf_misfit.TfPlotTestCase) |