#123981 Report by node gh-actions covering 2010 tests from 58 modules resulted into 2 errors

Report

ObsPy version
1.3.0.post0+89.gd769d6721a
GitHub Pull Request
https://github.com/obspy/obspy/pull/3064
Report file
JSON document
Total runtime
251.5 sec
Report date/time
May 10, 2022, 6:17 a.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.13.0-1022-azure
System
Linux
Version
#26~20.04.1-Ubuntu SMP Thu Apr 7 19:42:45 UTC 2022

Dependencies

cartopy
0.17.0
decorator
5.1.1
flake8
---
geographiclib
2.0
lxml
4.8.0
matplotlib
3.2.2
numpy
1.15.4
obspy
1.3.0.post0+89.gd769d6721a
pyproj
2.6.1.post1
pytest
7.1.2
pytest-json-report
1.5.0
requests
2.27.1
scipy
1.1.0
setuptools
62.1.0
shapefile
---
sqlalchemy
1.4.36

Modules (58)

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.syngine Not tested -
obspy.core - -
obspy.core.event - -
obspy.core.inventory - -
obspy.core.util - -
obspy.geodetics - -
obspy.imaging - -
obspy.io.ah - -
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 - -
obspy.taup 2 1 2
Summary 2 2

Tracebacks (2)

050 Travel Times
051 ^^^^^^^^^^^^
052 The models' main method is the
053 :meth:`~obspy.taup.tau.TauPyModel.get_travel_times` method; as the name
054 suggests it returns travel times for the chosen phases, distance, source depth,
055 and model. By default it returns arrivals for a number of phases.
056
057 >>> arrivals = model.get_travel_times(source_depth_in_km=55,
058 ... distance_in_degree=67)
059 >>> print(arrivals) # doctest: +NORMALIZE_WHITESPACE
Differences (unified diff with -expected +actual):
@@ -1,29 +1,29 @@
28 arrivals
- P phase arrival at 647.041 seconds
- pP phase arrival at 662.233 seconds
- sP phase arrival at 668.704 seconds
- PcP phase arrival at 674.865 seconds
- PP phase arrival at 794.992 seconds
- PKiKP phase arrival at 1034.098 seconds
- pPKiKP phase arrival at 1050.529 seconds
- sPKiKP phase arrival at 1056.721 seconds
- S phase arrival at 1176.948 seconds
- pS phase arrival at 1195.508 seconds
- SP phase arrival at 1196.830 seconds
- sS phase arrival at 1203.129 seconds
- PS phase arrival at 1205.421 seconds
- SKS phase arrival at 1239.090 seconds
- SKKS phase arrival at 1239.109 seconds
- ScS phase arrival at 1239.512 seconds
- SKiKP phase arrival at 1242.388 seconds
- pSKS phase arrival at 1260.314 seconds
- sSKS phase arrival at 1266.921 seconds
- SS phase arrival at 1437.427 seconds
- PKIKKIKP phase arrival at 1855.271 seconds
- SKIKKIKP phase arrival at 2063.564 seconds
- PKIKKIKS phase arrival at 2069.756 seconds
- SKIKKIKS phase arrival at 2277.857 seconds
- PKIKPPKIKP phase arrival at 2353.934 seconds
- PKPPKP phase arrival at 2356.425 seconds
- PKPPKP phase arrival at 2358.899 seconds
- SKIKSSKIKS phase arrival at 3208.155 seconds
+	P phase arrival at 647.041 seconds
+	pP phase arrival at 662.233 seconds
+	sP phase arrival at 668.704 seconds
+	PcP phase arrival at 674.865 seconds
+	PP phase arrival at 794.992 seconds
+	PKiKP phase arrival at 1034.098 seconds
+	pPKiKP phase arrival at 1050.528 seconds
+	sPKiKP phase arrival at 1056.721 seconds
+	S phase arrival at 1176.948 seconds
+	pS phase arrival at 1195.508 seconds
+	SP phase arrival at 1196.830 seconds
+	sS phase arrival at 1203.129 seconds
+	PS phase arrival at 1205.421 seconds
+	SKS phase arrival at 1239.090 seconds
+	SKKS phase arrival at 1239.109 seconds
+	ScS phase arrival at 1239.512 seconds
+	SKiKP phase arrival at 1242.388 seconds
+	pSKS phase arrival at 1260.314 seconds
+	sSKS phase arrival at 1266.921 seconds
+	SS phase arrival at 1437.427 seconds
+	PKIKKIKP phase arrival at 1855.271 seconds
+	SKIKKIKP phase arrival at 2063.564 seconds
+	PKIKKIKS phase arrival at 2069.756 seconds
+	SKIKKIKS phase arrival at 2277.857 seconds
+	PKIKPPKIKP phase arrival at 2353.934 seconds
+	PKPPKP phase arrival at 2356.425 seconds
+	PKPPKP phase arrival at 2358.899 seconds
+	SKIKSSKIKS phase arrival at 3208.155 seconds
/home/runner/work/obspy/obspy/obspy/taup/__init__.py:59: DocTestFailure
638 used.
639 :type cache: :class:`collections.OrderedDict` or bool
640
641 Usage:
642
643 >>> from obspy.taup import tau
644 >>> i91 = tau.TauPyModel()
645 >>> print(i91.get_travel_times(10, 20)[0].name)
646 P
647 >>> i91.get_travel_times(10, 20)[0].time # doctest: +ELLIPSIS
Expected:
272.675...
Got:
272.67601568284658
/home/runner/work/obspy/obspy/obspy/taup/tau.py:647: DocTestFailure

Skipped tests (20)

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
taup taup/tests/test_tau.py::TestTauPyModel::test_paths_for_crustal_phases Skipped: Unsure if these test paths are accurate.

Slowest tests (20)

Runtime Test
9.518s io/xseed/tests/test_core.py::CoreTestCase::test_response_calculation_from_seed_and_xseed
7.567s core/tests/test_inventory.py::TestInventoryCartopy::test_location_plot_local
6.783s core/tests/test_event.py::TestEvent::test_plot_farfield_without_quiver_with_maps
6.764s taup/tests/test_tau.py::TestTauPyModel::test_vs_java_iasp91
5.348s taup/tau.py::obspy.taup.tau.plot_travel_times
4.862s taup/tests/test_seismic_phase.py::TestTauPySeismicPhase::test_shoot_existing_ray_param
3.083s signal/tests/test_calibration.py::CalibrationTestCase::test_relcal_different_overlaps
2.765s taup/tests/test_tau.py::TestTauPyModel::test_regional_models
2.756s taup/tests/test_velocity_model.py::TestTauPyVelocityModel::test_read_velocity_model
2.735s signal/tests/test_polarization.py::PolarizationTestCase::test_polarization_vidale
2.649s signal/tests/test_cross_correlation.py::TestCrossCorrelation::test_correlate_stream_template_and_correlation_detector
2.631s core/stream.py::obspy.core.stream.read
2.565s io/arclink/tests/test_inventory_xml.py::ArclinkInventoryTestCase::test_auto_read_arclink_xml
2.510s taup/tests/test_tau.py::TestTauPyModel::test_ak135
2.486s taup/tests/test_tau.py::TestTauPyModel::test_iasp91
2.436s imaging/tests/test_waveform.py::TestWaveformPlot::test_plot_colored_section
2.276s imaging/tests/test_waveform.py::TestWaveformPlot::test_plot_wiggles_vertical_section
2.276s imaging/tests/test_waveform.py::TestWaveformPlot::test_plot_wiggles_horizontal_section
2.257s imaging/tests/test_waveform.py::TestWaveformPlot::test_plot_wiggles_negative_section
2.253s imaging/tests/test_waveform.py::TestWaveformPlot::test_plot_wiggles_positive_section

Warnings (11)

Stage Filename Category Message
runtest /usr/share/miniconda3/envs/test/lib/python3.7/site-packages/scipy/signal/signaltools.py:2223 FutureWarning Using a non-tuple sequence for multidimensional indexing is deprecated; use `arr[tuple(seq)]` instead of `arr[seq]`. In the future this will be interpreted as an array index, `arr[np.array(seq)]`, which will result either in an error or a different result.
runtest /usr/share/miniconda3/envs/test/lib/python3.7/site-packages/cartopy/mpl/geoaxes.py:782 MatplotlibDeprecationWarning Passing the minor parameter of set_xticks() positionally is deprecated since Matplotlib 3.2; the parameter will become keyword-only two minor releases later.
runtest /usr/share/miniconda3/envs/test/lib/python3.7/site-packages/cartopy/mpl/geoaxes.py:1063 DeprecationWarning Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
runtest /usr/share/miniconda3/envs/test/lib/python3.7/site-packages/scipy/signal/signaltools.py:491 FutureWarning Using a non-tuple sequence for multidimensional indexing is deprecated; use `arr[tuple(seq)]` instead of `arr[seq]`. In the future this will be interpreted as an array index, `arr[np.array(seq)]`, which will result either in an error or a different result.
runtest /usr/share/miniconda3/envs/test/lib/python3.7/site-packages/numpy/matrixlib/defmatrix.py:68 PendingDeprecationWarning the matrix subclass is not the recommended way to represent matrices or deal with linear algebra (see https://docs.scipy.org/doc/numpy/user/numpy-for-matlab-users.html). Please adjust your code to use regular ndarray.
runtest /usr/share/miniconda3/envs/test/lib/python3.7/site-packages/scipy/signal/signaltools.py:2230 FutureWarning Using a non-tuple sequence for multidimensional indexing is deprecated; use `arr[tuple(seq)]` instead of `arr[seq]`. In the future this will be interpreted as an array index, `arr[np.array(seq)]`, which will result either in an error or a different result.
runtest /usr/share/miniconda3/envs/test/lib/python3.7/site-packages/cartopy/mpl/geoaxes.py:829 MatplotlibDeprecationWarning Passing the minor parameter of set_yticks() positionally is deprecated since Matplotlib 3.2; the parameter will become keyword-only two minor releases later.
runtest /usr/share/miniconda3/envs/test/lib/python3.7/site-packages/scipy/signal/signaltools.py:2225 FutureWarning Using a non-tuple sequence for multidimensional indexing is deprecated; use `arr[tuple(seq)]` instead of `arr[seq]`. In the future this will be interpreted as an array index, `arr[np.array(seq)]`, which will result either in an error or a different result.
runtest /usr/share/miniconda3/envs/test/lib/python3.7/site-packages/scipy/fftpack/basic.py:160 FutureWarning Using a non-tuple sequence for multidimensional indexing is deprecated; use `arr[tuple(seq)]` instead of `arr[seq]`. In the future this will be interpreted as an array index, `arr[np.array(seq)]`, which will result either in an error or a different result.
runtest /usr/share/miniconda3/envs/test/lib/python3.7/site-packages/scipy/signal/signaltools.py:1344 FutureWarning Using a non-tuple sequence for multidimensional indexing is deprecated; use `arr[tuple(seq)]` instead of `arr[seq]`. In the future this will be interpreted as an array index, `arr[np.array(seq)]`, which will result either in an error or a different result.
runtest /usr/share/miniconda3/envs/test/lib/python3.7/site-packages/scipy/signal/signaltools.py:1593 FutureWarning Using a non-tuple sequence for multidimensional indexing is deprecated; use `arr[tuple(seq)]` instead of `arr[seq]`. In the future this will be interpreted as an array index, `arr[np.array(seq)]`, which will result either in an error or a different result.