#114926 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
327.4 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.8.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 - -
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 - -
obspy.db Not tested -
obspy.geodetics - -
obspy.imaging - -
obspy.io.ah - -
obspy.io.alsep 1 1
obspy.io.arclink - -
obspy.io.ascii - -
obspy.io.cmtsolution - -
obspy.io.cnv - -
obspy.io.css - -
obspy.io.dmx - -
obspy.io.focmec - -
obspy.io.gcf - -
obspy.io.gse2 - -
obspy.io.hypodd - -
obspy.io.iaspei - -
obspy.io.json - -
obspy.io.kinemetrics - -
obspy.io.kml - -
obspy.io.mseed - -
obspy.io.ndk - -
obspy.io.nied - -
obspy.io.nlloc - -
obspy.io.nordic - -
obspy.io.pdas - -
obspy.io.pde - -
obspy.io.quakeml - -
obspy.io.reftek - -
obspy.io.rg16 - -
obspy.io.sac - -
obspy.io.scardec - -
obspy.io.seg2 - -
obspy.io.segy - -
obspy.io.seisan - -
obspy.io.seiscomp - -
obspy.io.sh - -
obspy.io.shapefile - -
obspy.io.stationtxt - -
obspy.io.stationxml - -
obspy.io.wav - -
obspy.io.win - -
obspy.io.xseed - -
obspy.io.y - -
obspy.io.zmap - -
obspy.realtime - -
obspy.scripts - -
obspy.signal 1 2
obspy.taup - -
Summary 2 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 174, 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 239, 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 1256, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/usr/share/miniconda3/envs/test/lib/python3.8/http/client.py", line 1302, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/usr/share/miniconda3/envs/test/lib/python3.8/http/client.py", line 1251, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/usr/share/miniconda3/envs/test/lib/python3.8/http/client.py", line 1011, in _send_output
self.send(msg)
File "/usr/share/miniconda3/envs/test/lib/python3.8/http/client.py", line 951, in send
self.connect()
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/urllib3/connection.py", line 205, in connect
conn = self._new_conn()
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/urllib3/connection.py", line 186, in _new_conn
raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f875b6e5250>: 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 0x7f875b6e5250>: 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 0x7f875b6e5250>: 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_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.729s __init__ (obspy.io.alsep)
10.339s test_response_calculation_from_seed_and_xseed (obspy.io.xseed.tests.test_core.CoreTestCase)
7.614s __init__ (obspy.taup)
6.455s test_ppsd_restricted_stacks (obspy.signal.tests.test_spectral_estimation.PsdTestCase)
6.024s test_shoot_existing_ray_param (obspy.taup.tests.test_seismic_phase.TauPySeismicPhaseTestCase)
4.959s test_plot_multiple_traces (obspy.imaging.tests.test_waveform.WaveformTestCase)
3.558s plot_travel_times (obspy.taup.tau)
3.111s test_vs_java_iasp91 (obspy.taup.tests.test_tau.TauPyModelTestCase)
3.105s test_regional_models (obspy.taup.tests.test_tau.TauPyModelTestCase)
2.963s test_relcal_different_overlaps (obspy.signal.tests.test_calibration.CalibrationTestCase)
2.913s test_remove_response_plot (obspy.core.tests.test_trace.TraceTestCase)
2.768s test_auto_read_arclink_xml (obspy.io.arclink.tests.test_inventory_xml.ArclinkInventoryTestCase)
2.529s read (obspy.core.stream)
2.511s test_correlate_stream_template_and_correlation_detector (obspy.signal.tests.test_cross_correlation.CrossCorrelationTestCase)
2.493s test_many_identically_named_phases (obspy.taup.tests.test_seismic_phase.TauPySeismicPhaseTestCase)
2.344s test_polarization_vidale (obspy.signal.tests.test_polarization.PolarizationTestCase)
1.738s test_rotate2zne_against_lqt_different_combinations (obspy.signal.tests.test_rotate.RotateTestCase)
1.650s test_plot_tf_gofs (obspy.signal.tests.test_tf_misfit.TfPlotTestCase)
1.524s test_plot_travel_times_convenience (obspy.taup.tests.test_plotting.TauPyPlottingTestCase)
1.519s test_read_alsep_pse_file_with_ignore_error (obspy.io.alsep.tests.test_alsep.AlsepTestCase)