#126799 Report by node gh-actions covering 2015 tests from 60 modules resulted into 3 errors

Report

ObsPy version
1.3.0.post0+145.g3997552c04
GitHub Pull Request
https://github.com/obspy/obspy/pull/3018
Report file
JSON document
Total runtime
283.3 sec
Report date/time
Aug. 8, 2022, 6 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.15.0-1014-azure
System
Linux
Version
#17~20.04.1-Ubuntu SMP Thu Jun 23 20:01:51 UTC 2022

Dependencies

cartopy
0.17.0
decorator
5.1.1
flake8
---
geographiclib
2.0
lxml
4.9.1
matplotlib
3.2.2
numpy
1.15.4
obspy
1.3.0.post0+145.g3997552c04
pyproj
2.6.1.post1
pytest
7.1.2
pytest-json-report
1.5.0
requests
2.28.1
scipy
1.1.0
setuptools
63.4.2
shapefile
---
sqlalchemy
1.4.39

Modules (60)

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 3 1 2 3
obspy.core.event - -
obspy.core.inventory - -
obspy.core.util - -
obspy.db Not tested -
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 - -
Summary 3 3

Tracebacks (3)

Traceback (most recent call last):
File "/home/runner/work/obspy/obspy/obspy/core/tests/test_network.py", line 324, in test_location_plot_global
net.plot(method='cartopy', outfile=image_path)
File "/home/runner/work/obspy/obspy/obspy/core/inventory/network.py", line 631, in plot
show=False, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/imaging/maps.py", line 505, in plot_map
return plot_cartopy(*args, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/imaging/maps.py", line 276, in plot_cartopy
proj_kwargs=None)
File "/home/runner/work/obspy/obspy/obspy/imaging/maps.py", line 481, in _basic_setup
return fig, map_ax, cm_ax, show_colorbar
UnboundLocalError: local variable 'cm_ax' referenced before assignment
Traceback (most recent call last):
File "/home/runner/work/obspy/obspy/obspy/core/tests/test_network.py", line 334, in test_location_plot_ortho
color='yellow', label=False, outfile=image_path)
File "/home/runner/work/obspy/obspy/obspy/core/inventory/network.py", line 631, in plot
show=False, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/imaging/maps.py", line 505, in plot_map
return plot_cartopy(*args, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/imaging/maps.py", line 276, in plot_cartopy
proj_kwargs=None)
File "/home/runner/work/obspy/obspy/obspy/imaging/maps.py", line 481, in _basic_setup
return fig, map_ax, cm_ax, show_colorbar
UnboundLocalError: local variable 'cm_ax' referenced before assignment
Traceback (most recent call last):
File "/home/runner/work/obspy/obspy/obspy/core/tests/test_network.py", line 343, in test_location_plot_local
size=13**2, outfile=image_path)
File "/home/runner/work/obspy/obspy/obspy/core/inventory/network.py", line 631, in plot
show=False, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/imaging/maps.py", line 505, in plot_map
return plot_cartopy(*args, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/imaging/maps.py", line 276, in plot_cartopy
proj_kwargs=None)
File "/home/runner/work/obspy/obspy/obspy/imaging/maps.py", line 481, in _basic_setup
return fig, map_ax, cm_ax, show_colorbar
UnboundLocalError: local variable 'cm_ax' referenced before assignment

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
11.176s io/xseed/tests/test_core.py::CoreTestCase::test_response_calculation_from_seed_and_xseed
8.579s taup/__init__.py::obspy.taup
7.017s taup/tests/test_seismic_phase.py::TestTauPySeismicPhase::test_shoot_existing_ray_param
5.651s core/tests/test_event.py::TestEvent::test_plot_farfield_without_quiver_with_maps
4.735s core/tests/test_inventory.py::TestInventoryCartopy::test_location_plot_global
4.181s signal/tests/test_calibration.py::CalibrationTestCase::test_relcal_different_overlaps
3.917s taup/tau.py::obspy.taup.tau.plot_travel_times
3.859s signal/tests/test_polarization.py::PolarizationTestCase::test_polarization_vidale
3.444s taup/tests/test_tau.py::TestTauPyModel::test_regional_models
3.293s taup/tests/test_tau.py::TestTauPyModel::test_vs_java_iasp91
3.269s taup/tests/test_velocity_model.py::TestTauPyVelocityModel::test_read_velocity_model
3.039s signal/tests/test_cross_correlation.py::TestCrossCorrelation::test_correlate_stream_template_and_correlation_detector
3.016s io/arclink/tests/test_inventory_xml.py::ArclinkInventoryTestCase::test_auto_read_arclink_xml
2.975s signal/tests/test_spectral_estimation.py::TestPsd::test_ppsd_restricted_stacks
2.811s core/stream.py::obspy.core.stream.read
2.795s imaging/tests/test_waveform.py::TestWaveformPlot::test_plot_wiggles_horizontal_section
2.694s imaging/tests/test_waveform.py::TestWaveformPlot::test_plot_wiggles_vertical_section
2.686s taup/tests/test_seismic_phase.py::TestTauPySeismicPhase::test_many_identically_named_phases
2.650s imaging/tests/test_waveform.py::TestWaveformPlot::test_plot_default_section
2.643s imaging/tests/test_waveform.py::TestWaveformPlot::test_plot_colored_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/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 /home/runner/work/obspy/obspy/obspy/core/event/event.py:263 ObsPyDeprecationWarning Deprecated keyword bmap in _plot_cartopy_into_axes() call - ignoring.
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.