#132693 Report by node gh-actions covering 2045 tests from 59 modules resulted into 5 errors

Report

ObsPy version
1.4.0.post0+97.g13b6ca5db7.ob…
GitHub Pull Request
-
Report file
JSON document
Total runtime
399.2 sec
Report date/time
Jan. 18, 2023, 8:55 a.m.

System / Python

Architecture
64bit
Machine
x86_64
Node
gh-actions
Processor
x86_64
Python Compiler
GCC 11.3.0
Python Implementation
CPython
Python Version
3.11.0
Release
5.15.0-1030-azure
System
Linux
Version
#37-Ubuntu SMP Mon Dec 12 19:15:51 UTC 2022

Dependencies

cartopy
0.21.1
decorator
5.1.1
flake8
---
geographiclib
2.0
lxml
4.9.2
matplotlib
3.6.2
numpy
1.24.1
obspy
1.4.0.post0+97.g13b6ca5db7.obspy.master
pyproj
3.4.1
pytest
7.2.1
pytest-json-report
1.5.0
requests
2.28.2
scipy
1.10.0
setuptools
66.0.0
shapefile
---
sqlalchemy
1.4.46

Modules (59)

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 - -
obspy.clients.seedlink - -
obspy.clients.syngine Not tested -
obspy.core 1 1
obspy.core.event - -
obspy.core.inventory - -
obspy.core.util - -
obspy.geodetics - -
obspy.imaging - -
obspy.io.ah - -
obspy.io.alsep - -
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 2 2 3
obspy.io.ndk - -
obspy.io.nied - -
obspy.io.nlloc 1 4
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 5
obspy.taup - -
Summary 5 5

Tracebacks (5)

Traceback (most recent call last):
File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_response.py", line 546, in test_unkown_units_PA_recalculate_sensitivity
inv = read_inventory(self.data_dir / 'hydrophone_response_PA.xml',
^^^^^^^^^^^^^
AttributeError: 'TestResponse' object has no attribute 'data_dir'
Traceback (most recent call last):
File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/mseed/tests/test_mseed_util.py", line 300, in test_get_flags
_create_mseed_file(
File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/mseed/tests/test_mseed_util.py", line 75, in _create_mseed_file
arr[:flags[key][name]] = 1 << _i
~~~^^^^^^^^^^^^^^^^^^^
DeprecationWarning: NumPy will stop allowing conversion of out-of-bound Python integers to integer arrays. The conversion of 128 to int8 will fail in the future.
For the old behavior, usually:
np.array(value).astype(dtype)`
will give the desired result (the cast overflows).
Traceback (most recent call last):
File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/mseed/tests/test_mseed_util.py", line 424, in test_get_flags_from_files_and_file_like_objects
_create_mseed_file(
File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/mseed/tests/test_mseed_util.py", line 75, in _create_mseed_file
arr[:flags[key][name]] = 1 << _i
~~~^^^^^^^^^^^^^^^^^^^
DeprecationWarning: NumPy will stop allowing conversion of out-of-bound Python integers to integer arrays. The conversion of 128 to int8 will fail in the future.
For the old behavior, usually:
np.array(value).astype(dtype)`
will give the desired result (the cast overflows).
Traceback (most recent call last):
File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/nlloc/tests/test_core.py", line 362, in test_rejected_origin
path = str(self.datapath / 'nlloc_rejected.hyp')
^^^^^^^^^^^^^
AttributeError: 'TestNLLOC' object has no attribute 'datapath'
Traceback (most recent call last):
File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/tests/test_quality_control.py", line 258, in test_extraction_fixed_header_flags
_create_mseed_file(tf1.name, record_count=35,
File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/mseed/tests/test_mseed_util.py", line 75, in _create_mseed_file
arr[:flags[key][name]] = 1 << _i
~~~^^^^^^^^^^^^^^^^^^^
DeprecationWarning: NumPy will stop allowing conversion of out-of-bound Python integers to integer arrays. The conversion of 128 to int8 will fail in the future.
For the old behavior, usually:
np.array(value).astype(dtype)`
will give the desired result (the cast overflows).

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.gcf io/gcf/core.py::obspy.io.gcf.core._write_gcf 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::TestQualityControl::test_schema_validation Skipped: Test requires the jsonschema module

Slowest tests (20)

Runtime Test
97.876s geodetics/tests/test_util_flinnengdahl.py::TestUtilFlinnEngdahl::test_coordinates
10.985s io/xseed/tests/test_core.py::TestCore::test_response_calculation_from_seed_and_xseed
10.636s core/tests/test_event.py::TestEvent::test_plot_farfield_without_quiver_with_maps
8.337s taup/tests/test_seismic_phase.py::TestTauPySeismicPhase::test_shoot_existing_ray_param
7.509s taup/__init__.py::obspy.taup
6.555s taup/tests/test_tau.py::TestTauPyModel::test_regional_models
3.762s signal/tests/test_calibration.py::TestCalibration::test_relcal_different_overlaps
3.628s taup/tests/test_tau.py::TestTauPyModel::test_vs_java_iasp91
3.413s core/stream.py::obspy.core.stream.read
3.224s taup/tests/test_seismic_phase.py::TestTauPySeismicPhase::test_many_identically_named_phases
3.071s signal/tests/test_spectral_estimation.py::TestPsd::test_ppsd_restricted_stacks
3.011s core/tests/test_inventory.py::TestInventoryCartopy::test_location_plot_global
2.903s io/arclink/tests/test_inventory_xml.py::TestArclinkInventory::test_auto_read_arclink_xml
2.899s signal/tests/test_cross_correlation.py::TestCrossCorrelation::test_correlate_stream_template_and_correlation_detector
2.798s core/tests/test_inventory.py::TestInventoryCartopy::test_location_plot_local
2.708s core/tests/test_trace.py::TestTrace::test_remove_response_plot
2.572s signal/tests/test_rotate.py::TestRotate::test_rotate2zne_against_lqt_different_combinations
2.448s imaging/tests/test_ppsd.py::TestPPSD::test_ppsd_plot
2.350s taup/tests/test_ray_paths.py::TestRayPathCalculations::test_compute_ray_paths
2.310s core/tests/test_network.py::TestNetworkCartopy::test_location_plot_global