#127407 Report by node gh-actions covering 2026 tests from 61 modules resulted into 3 errors

Report

ObsPy version
1.3.0.post0+22.g1861ba74f1
GitHub Pull Request
https://github.com/isas-yamamoto/obspy/pull/31
Report file
JSON document
Total runtime
760.0 sec
Report date/time
Sept. 25, 2022, 11:27 p.m.

System / Python

Architecture
64bit
Machine
x86_64
Node
gh-actions
Processor
i386
Python Compiler
Clang 11.1.0
Python Implementation
CPython
Python Version
3.7.12
Release
20.6.0
System
Darwin
Version
Darwin Kernel Version 20.6.0: Mon Aug 29 04:31:06 PDT 2022; root:xnu-7195.141.39~2/RELEASE_X86_64

Dependencies

cartopy
0.20.2
decorator
5.1.1
flake8
---
geographiclib
2.0
lxml
4.9.1
matplotlib
3.5.3
numpy
1.21.6
obspy
1.3.0.post0+22.g1861ba74f1
pyproj
3.2.1
pytest
7.1.3
pytest-json-report
1.5.0
requests
2.28.1
scipy
1.7.3
setuptools
65.3.0
shapefile
---
sqlalchemy
1.4.41

Modules (61)

Module Errors / Failures Tracebacks
obspy.clients.earthworm Not tested -
obspy.clients.fdsn - -
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 1 1
obspy.core.event - -
obspy.core.inventory - -
obspy.core.util - -
obspy.db Not tested -
obspy.geodetics - -
obspy.imaging - -
obspy.io.ah - -
obspy.io.alsep 1 2
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 1 3
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 - -
obspy.taup - -
Summary 3 3

Tracebacks (3)

Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/core/tests/test_waveform_plugins.py", line 220, in test_is_format
assert len(paths) > 0, msg + '\n '.join(all_paths)
AssertionError: Test data directories do not exist:
/Users/runner/miniconda3/envs/test/lib/python3.7/site-packages/obspy/io/ah/tests/data
/Users/runner/miniconda3/envs/test/lib/python3.7/site-packages/obspy/io/alsep/tests/data
/Users/runner/miniconda3/envs/test/lib/python3.7/site-packages/obspy/io/alsep/tests/data
/Users/runner/miniconda3/envs/test/lib/python3.7/site-packages/obspy/io/alsep/tests/data
/Users/runner/miniconda3/envs/test/lib/python3.7/site-packages/obspy/io/css/tests/data
/Users/runner/miniconda3/envs/test/lib/python3.7/site-packages/obspy/io/dmx/tests/data
/Users/runner/miniconda3/envs/test/lib/python3.7/site-packages/obspy/io/gcf/tests/data
/Users/runner/miniconda3/envs/test/lib/python3.7/site-packages/obspy/io/gse2/tests/data
/Users/runner/miniconda3/envs/test/lib/python3.7/site-packages/obspy/io/gse2/tests/data
/Users/runner/miniconda3/envs/test/lib/python3.7/site-packages/obspy/io/kinemetrics/tests/data
/Users/runner/miniconda3/envs/test/lib/python3.7/site-packages/obspy/io/nied/tests/data
/Users/runner/miniconda3/envs/test/lib/python3.7/site-packages/obspy/io/mseed/tests/data
/Users/runner/miniconda3/envs/test/lib/python3.7/site-packages/obspy/io/css/tests/data
/Users/runner/miniconda3/envs/test/lib/python3.7/site-packages/obspy/io/pdas/tests/data
/Users/runner/miniconda3/envs/test/lib/python3.7/site-packages/obspy/core/tests/data
/Users/runner/miniconda3/envs/test/lib/python3.7/site-packages/obspy/io/sh/tests/data
/Users/runner/miniconda3/envs/test/lib/python3.7/site-packages/obspy/io/reftek/tests/data
/Users/runner/miniconda3/envs/test/lib/python3.7/site-packages/obspy/io/rg16/tests/data
/Users/runner/miniconda3/envs/test/lib/python3.7/site-packages/obspy/io/sac/tests/data
/Users/runner/miniconda3/envs/test/lib/python3.7/site-packages/obspy/io/sac/tests/data
/Users/runner/miniconda3/envs/test/lib/python3.7/site-packages/obspy/io/seg2/tests/data
/Users/runner/miniconda3/envs/test/lib/python3.7/site-packages/obspy/io/segy/tests/data
/Users/runner/miniconda3/envs/test/lib/python3.7/site-packages/obspy/io/seisan/tests/data
/Users/runner/miniconda3/envs/test/lib/python3.7/site-packages/obspy/io/sh/tests/data
/Users/runner/miniconda3/envs/test/lib/python3.7/site-packages/obspy/io/ascii/tests/data
/Users/runner/miniconda3/envs/test/lib/python3.7/site-packages/obspy/io/segy/tests/data
/Users/runner/miniconda3/envs/test/lib/python3.7/site-packages/obspy/io/ascii/tests/data
/Users/runner/miniconda3/envs/test/lib/python3.7/site-packages/obspy/io/wav/tests/data
/Users/runner/miniconda3/envs/test/lib/python3.7/site-packages/obspy/io/win/tests/data
/Users/runner/miniconda3/envs/test/lib/python3.7/site-packages/obspy/io/y/tests/data
assert 0 > 0
+ where 0 = len({})
024
025 Reading
026 -------
027
028 There are three types of ALSEP tape: PSE, WTN, and WTH. They are handled by
029 using ObsPy's standard:func:`~obspy.core.stream.read` function. The format is
030 detected automatically.
031
032 >>> from obspy import read
033 >>> st = read("http://darts.isas.jaxa.jp/pub/apollo/pse/p15s/pse.a15.1.2")
UNEXPECTED EXCEPTION: ConnectionError(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 0x7fd8d0523490>: Failed to establish a new connection: [Errno 8] nodename nor servname provided, or not known'))"))
Traceback (most recent call last):
File "/Users/runner/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 "/Users/runner/miniconda3/envs/test/lib/python3.7/site-packages/urllib3/util/connection.py", line 72, in create_connection
for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
File "/Users/runner/miniconda3/envs/test/lib/python3.7/socket.py", line 752, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno 8] nodename nor servname provided, or not known
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.7/site-packages/urllib3/connectionpool.py", line 710, in urlopen
chunked=chunked,
File "/Users/runner/miniconda3/envs/test/lib/python3.7/site-packages/urllib3/connectionpool.py", line 398, in _make_request
conn.request(method, url, **httplib_request_kw)
File "/Users/runner/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 "/Users/runner/miniconda3/envs/test/lib/python3.7/http/client.py", line 1281, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/Users/runner/miniconda3/envs/test/lib/python3.7/http/client.py", line 1327, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/Users/runner/miniconda3/envs/test/lib/python3.7/http/client.py", line 1276, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/Users/runner/miniconda3/envs/test/lib/python3.7/http/client.py", line 1036, in _send_output
self.send(msg)
File "/Users/runner/miniconda3/envs/test/lib/python3.7/http/client.py", line 976, in send
self.connect()
File "/Users/runner/miniconda3/envs/test/lib/python3.7/site-packages/urllib3/connection.py", line 205, in connect
conn = self._new_conn()
File "/Users/runner/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 0x7fd8d0523490>: Failed to establish a new connection: [Errno 8] nodename nor servname provided, or not known
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.7/site-packages/requests/adapters.py", line 499, in send
timeout=timeout,
File "/Users/runner/miniconda3/envs/test/lib/python3.7/site-packages/urllib3/connectionpool.py", line 788, in urlopen
method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
File "/Users/runner/miniconda3/envs/test/lib/python3.7/site-packages/urllib3/util/retry.py", line 592, 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 0x7fd8d0523490>: Failed to establish a new connection: [Errno 8] nodename nor servname provided, or not known'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.7/doctest.py", line 1337, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.alsep[1]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.7/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 208, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 644, in _generic_reader
download_to_file(url=pathname_or_url, filename_or_buffer=fh)
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 593, in download_to_file
r = requests.get(url, stream=True)
File "/Users/runner/miniconda3/envs/test/lib/python3.7/site-packages/requests/api.py", line 73, in get
return request("get", url, params=params, **kwargs)
File "/Users/runner/miniconda3/envs/test/lib/python3.7/site-packages/requests/api.py", line 59, in request
return session.request(method=method, url=url, **kwargs)
File "/Users/runner/miniconda3/envs/test/lib/python3.7/site-packages/requests/sessions.py", line 587, in request
resp = self.send(prep, **send_kwargs)
File "/Users/runner/miniconda3/envs/test/lib/python3.7/site-packages/requests/sessions.py", line 701, in send
r = adapter.send(request, **kwargs)
File "/Users/runner/miniconda3/envs/test/lib/python3.7/site-packages/requests/adapters.py", line 565, 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 0x7fd8d0523490>: Failed to establish a new connection: [Errno 8] nodename nor servname provided, or not known'))
/Users/runner/work/obspy/obspy/obspy/io/alsep/__init__.py:33: UnexpectedException
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/io/nlloc/tests/test_util.py", line 63, in test_read_nlloc_scatter_coordinate_conversion
np.testing.assert_allclose(got[field], expected[field], rtol=1e-5)
File "/Users/runner/miniconda3/envs/test/lib/python3.7/site-packages/numpy/testing/_private/utils.py", line 1531, in assert_allclose
verbose=verbose, header=header, equal_nan=equal_nan)
File "/Users/runner/miniconda3/envs/test/lib/python3.7/site-packages/numpy/testing/_private/utils.py", line 773, in assert_array_compare
hasval='+inf')
File "/Users/runner/miniconda3/envs/test/lib/python3.7/site-packages/numpy/testing/_private/utils.py", line 745, in func_assert_same_pos
raise AssertionError(msg)
AssertionError:
Not equal to tolerance rtol=1e-05, atol=0
x and y +inf location mismatch:
x: array([ inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf,
inf], dtype=float32)
y: array([ 11.692239, 11.6914 , 11.69174 , 11.694236, 11.690792,
11.692451, 11.681713, 11.689898, 11.694788, 11.680189,
11.692247, 11.6864 ], dtype=float32)

Skipped tests (19)

Submodule Test Skip message
core core/stream.py::obspy.core.stream._is_pickle Skipped: all tests skipped by +SKIP option
core.util core/util/misc.py::obspy.core.util.misc.CatchOutput Skipped: all tests skipped by +SKIP option
core.util core/util/misc.py::obspy.core.util.misc.SuppressOutput Skipped: all tests skipped by +SKIP option
core.util core/util/misc.py::obspy.core.util.misc.TemporaryWorkingDirectory Skipped: all tests skipped by +SKIP option
geodetics geodetics/tests/test_util_geodetics.py::TestUtilGeodetics::test_gps_2_dist_azimuth_bug150 Skipped: Geographiclib installed, not using calc_vincenty_inverse
imaging imaging/tests/test_mopad_script.py::TestMopad::test_script_plot Skipped: Currently broken until further review.
io.ascii io/ascii/core.py::obspy.io.ascii.core._is_slist Skipped: all tests skipped by +SKIP option
io.ascii io/ascii/core.py::obspy.io.ascii.core._is_tspair Skipped: all tests skipped by +SKIP option
io.nordic io/nordic/utils.py::obspy.io.nordic.utils._evmagtonor Skipped: all tests skipped by +SKIP option
io.nordic io/nordic/utils.py::obspy.io.nordic.utils._nortoevmag Skipped: all tests skipped by +SKIP option
io.pde io/pde/mchedr.py::obspy.io.pde.mchedr._is_mchedr Skipped: all tests skipped by +SKIP option
io.quakeml io/quakeml/core.py::obspy.io.quakeml.core._is_quakeml Skipped: all tests skipped by +SKIP option
io.seisan io/seisan/core.py::obspy.io.seisan.core._is_seisan Skipped: all tests skipped by +SKIP option
io.sh io/sh/core.py::obspy.io.sh.core._is_asc Skipped: all tests skipped by +SKIP option
io.sh io/sh/core.py::obspy.io.sh.core._is_q Skipped: all tests skipped by +SKIP option
io.wav io/wav/core.py::obspy.io.wav.core._is_wav Skipped: all tests skipped by +SKIP option
io.y io/y/core.py::obspy.io.y.core._is_y Skipped: all tests skipped by +SKIP option
signal signal/quality_control.py::obspy.signal.quality_control.MSEEDMetadata Skipped: all tests skipped by +SKIP option
signal signal/tests/test_quality_control.py::QualityControlTestCase::test_schema_validation Skipped: Test requires the jsonschema module

Slowest tests (20)

Runtime Test
63.469s signal/_sosfilt.py::obspy.signal._sosfilt._sosfilt
28.879s signal/_sosfilt.py::obspy.signal._sosfilt._zpk2sos
22.197s io/xseed/tests/test_core.py::CoreTestCase::test_response_calculation_from_seed_and_xseed
20.210s signal/tf_misfit.py::obspy.signal.tf_misfit.plot_tfr
18.777s signal/tests/test_calibration.py::CalibrationTestCase::test_relcal_different_overlaps
18.638s core/tests/test_event.py::TestEvent::test_plot_farfield_without_quiver_with_maps
14.504s taup/__init__.py::obspy.taup
14.452s signal/__init__.py::obspy.signal
12.060s taup/tests/test_seismic_phase.py::TestTauPySeismicPhase::test_shoot_existing_ray_param
11.355s signal/tests/test_cross_correlation.py::TestCrossCorrelation::test_correlate_stream_template_and_correlation_detector
7.979s taup/tests/test_velocity_model.py::TestTauPyVelocityModel::test_read_velocity_model
7.382s taup/tau.py::obspy.taup.tau.plot_travel_times
7.170s signal/tests/test_interpolation.py::TestInterpolation::test_plot_lanczos_window
6.130s taup/tests/test_tau.py::TestTauPyModel::test_regional_models
6.094s taup/tests/test_tau.py::TestTauPyModel::test_vs_java_iasp91
5.457s taup/tests/test_tau.py::TestTauPyModel::test_kennet_ak135_ttime_tables_pkikp
5.302s core/tests/test_inventory.py::TestInventoryCartopy::test_location_plot_local
4.657s signal/tests/test_rotate.py::RotateTestCase::test_rotate2zne_against_lqt_different_combinations
4.603s signal/_sosfilt.py::obspy.signal._sosfilt._cplxreal
4.452s core/tests/test_inventory.py::TestInventoryCartopy::test_location_plot_global