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

Report

ObsPy version
1.4.0.post0+169.gebb2126580
GitHub Pull Request
https://github.com/obspy/obspy/pull/3288
Report file
JSON document
Total runtime
358.4 sec
Report date/time
March 31, 2023, 9:13 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.1
Release
5.15.0-1034-azure
System
Linux
Version
#41-Ubuntu SMP Fri Feb 10 19:59:45 UTC 2023

Dependencies

cartopy
---
decorator
5.1.1
flake8
---
geographiclib
---
lxml
4.9.2
matplotlib
3.7.1
numpy
1.24.2
obspy
1.4.0.post0+169.gebb2126580
pyproj
---
pytest
7.2.2
pytest-json-report
1.5.0
requests
2.28.2
scipy
1.10.1
setuptools
67.6.1
shapefile
---
sqlalchemy
2.0.7

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 - -
obspy.clients.seedlink - -
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.alsep - -
obspy.io.arclink - -
obspy.io.ascii - -
obspy.io.cmtsolution - -
obspy.io.cnv - -
obspy.io.css - -
obspy.io.csv 3 1 2 3
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)

091 Load CSV/CSZ/EVENTTXT file into numpy array
092 -------------------------------------------
093
094 For plotting, e.t.c, it is useful to represent the event paramters with a numpy
095 array.
096 The `load_csv` function can be used to load a CSV or CSZ file as numpy array.
097 The `load_eventtxt` function ca be used to load an EVENTTXT file as numpy array.
098
099 >>> from obspy.io.csv import load_csv
100 >>> t = load_csv('catalog.csv')
UNEXPECTED EXCEPTION: FileNotFoundError(2, 'No such file or directory')
Traceback (most recent call last):
File "/usr/share/miniconda3/envs/test/lib/python3.11/doctest.py", line 1350, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.csv[20]>", line 1, in <module>
File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/csv/core.py", line 364, in load_csv
with _open(fname) as f:
File "/usr/share/miniconda3/envs/test/lib/python3.11/contextlib.py", line 137, in __enter__
return next(self.gen)
^^^^^^^^^^^^^^
File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/csv/core.py", line 110, in _open
with open(filein, *args, **kwargs) as f:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: 'catalog.csv'
/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/csv/__init__.py:100: UnexpectedException
Traceback (most recent call last):
File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/csv/tests/test_csv.py", line 119, in test_csz
assert len(events2) == 1
AssertionError: assert 2 == 1
+ where 2 = len(<obspy.core.event.catalog.Catalog object at 0x7fb4e08af3d0>)
Traceback (most recent call last):
File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/csv/tests/test_csv.py", line 138, in test_csz_without_check_compression_parameters
test_csz(check_compression=True)
File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/csv/tests/test_csv.py", line 119, in test_csz
assert len(events2) == 1
AssertionError: assert 2 == 1
+ where 2 = len(<obspy.core.event.catalog.Catalog object at 0x7fb4c83070d0>)

Skipped tests (42)

Submodule Test Skip message
core core/stream.py::obspy.core.stream._is_pickle Skipped: all tests skipped by +SKIP option
core core/tests/test_event.py::TestEvent::test_plot_farfield_without_quiver_with_maps Skipped: cartopy not installed
core core/tests/test_inventory.py::TestInventoryCartopy::test_location_plot_global Skipped: cartopy not installed
core core/tests/test_inventory.py::TestInventoryCartopy::test_location_plot_ortho Skipped: cartopy not installed
core core/tests/test_inventory.py::TestInventoryCartopy::test_location_plot_local Skipped: cartopy not installed
core core/tests/test_inventory.py::TestInventoryCartopy::test_combined_station_event_plot Skipped: cartopy not installed
core core/tests/test_network.py::TestNetworkCartopy::test_location_plot_global Skipped: cartopy not installed
core core/tests/test_network.py::TestNetworkCartopy::test_location_plot_ortho Skipped: cartopy not installed
core core/tests/test_network.py::TestNetworkCartopy::test_location_plot_local Skipped: cartopy not installed
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_with_geographiclib Skipped: Module geographiclib is not installed
geodetics geodetics/tests/test_util_geodetics.py::TestUtilGeodetics::test_issue_375 Skipped: Module geographiclib is not installed
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.nlloc io/nlloc/tests/test_util.py::TestNLLOC::test_read_nlloc_scatter_coordinate_conversion Skipped: pyproj not installed
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.shapefile io/shapefile/tests/test_core.py::TestShapefile::test_write_catalog_shapefile Skipped: pyshp not installed
io.shapefile io/shapefile/tests/test_core.py::TestShapefile::test_write_catalog_shapefile_with_extra_field Skipped: pyshp not installed
io.shapefile io/shapefile/tests/test_core.py::TestShapefile::test_write_inventory_shapefile_with_extra_field Skipped: pyshp not installed
io.shapefile io/shapefile/tests/test_core.py::TestShapefile::test_write_catalog_shapefile_via_plugin Skipped: pyshp not installed
io.shapefile io/shapefile/tests/test_core.py::TestShapefile::test_write_inventory_shapefile Skipped: pyshp not installed
io.shapefile io/shapefile/tests/test_core.py::TestShapefile::test_write_inventory_shapefile_via_plugin Skipped: pyshp not installed
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
taup taup/tests/test_ray_paths.py::TestRayPathCalculations::test_compute_ray_paths Skipped: test needs geographiclib >= 1.34
taup taup/tests/test_tau.py::TestTauPyModel::test_p_iasp91_geo_manual Skipped: Module geographiclib is not installed
taup taup/tests/test_tau.py::TestTauPyModel::test_pierce_p_iasp91_geo Skipped: test needs geographiclib >= 1.34
taup taup/tests/test_tau.py::TestTauPyModel::test_single_path_geo_iasp91 Skipped: test needs geographiclib >= 1.34
taup taup/tests/test_taup_geo.py::TestTaupGeo::test_path_geo Skipped: Module geographiclib is not installed or too old.
taup taup/tests/test_taup_geo.py::TestTaupGeo::test_path_resampling Skipped: Module geographiclib is not installed or too old.

Slowest tests (20)

Runtime Test
101.778s geodetics/tests/test_util_flinnengdahl.py::TestUtilFlinnEngdahl::test_coordinates
11.289s io/xseed/tests/test_core.py::TestCore::test_response_calculation_from_seed_and_xseed
6.850s taup/tests/test_tau.py::TestTauPyModel::test_regional_models
6.749s taup/tests/test_seismic_phase.py::TestTauPySeismicPhase::test_shoot_existing_ray_param
6.417s taup/__init__.py::obspy.taup
3.669s core/stream.py::obspy.core.stream.read
3.154s signal/tests/test_calibration.py::TestCalibration::test_relcal_different_overlaps
3.098s signal/tests/test_cross_correlation.py::TestCrossCorrelation::test_correlate_stream_template_and_correlation_detector
3.071s io/arclink/tests/test_inventory_xml.py::TestArclinkInventory::test_auto_read_arclink_xml
2.948s taup/tests/test_tau.py::TestTauPyModel::test_vs_java_iasp91
2.888s signal/tests/test_spectral_estimation.py::TestPsd::test_ppsd_restricted_stacks
2.771s taup/tests/test_seismic_phase.py::TestTauPySeismicPhase::test_many_identically_named_phases
2.617s taup/tests/test_velocity_model.py::TestTauPyVelocityModel::test_read_velocity_model
2.590s core/tests/test_trace.py::TestTrace::test_remove_response_plot
2.384s imaging/tests/test_ppsd.py::TestPPSD::test_ppsd_plot
2.155s imaging/tests/test_waveform.py::TestWaveformPlot::test_plot_multiple_traces_10_traces_tiny
2.150s imaging/tests/test_waveform.py::TestWaveformPlot::test_plot_multiple_traces_10_traces
2.041s signal/tests/test_polarization.py::TestPolarization::test_polarization_vidale
1.953s imaging/tests/test_waveform.py::TestWaveformPlot::test_plot_multiple_traces_10_traces_huge
1.939s signal/tests/test_rotate.py::TestRotate::test_rotate2zne_against_lqt_different_combinations