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

Report

ObsPy version
1.4.0.post0+168.g119931ed11
GitHub Pull Request
https://github.com/obspy/obspy/pull/3288
Report file
JSON document
Total runtime
313.3 sec
Report date/time
March 31, 2023, 9:04 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
0.21.1
decorator
5.1.1
flake8
---
geographiclib
2.0
lxml
4.9.2
matplotlib
3.7.1
numpy
1.24.2
obspy
1.4.0.post0+168.g119931ed11
pyproj
3.5.0
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 (61)

Module Errors / Failures Tracebacks
obspy.clients Not tested -
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 0x7f71d05a9c50>)
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 0x7f71d078d790>)

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
82.184s geodetics/tests/test_util_flinnengdahl.py::TestUtilFlinnEngdahl::test_coordinates
9.410s io/xseed/tests/test_core.py::TestCore::test_response_calculation_from_seed_and_xseed
7.434s core/tests/test_event.py::TestEvent::test_plot_farfield_without_quiver_with_maps
5.323s taup/tests/test_tau.py::TestTauPyModel::test_regional_models
5.167s taup/tests/test_seismic_phase.py::TestTauPySeismicPhase::test_shoot_existing_ray_param
4.872s taup/__init__.py::obspy.taup
3.248s core/tests/test_inventory.py::TestInventoryCartopy::test_location_plot_local
2.854s core/stream.py::obspy.core.stream.read
2.719s signal/tests/test_calibration.py::TestCalibration::test_relcal_different_overlaps
2.602s core/tests/test_inventory.py::TestInventoryCartopy::test_location_plot_global
2.495s io/arclink/tests/test_inventory_xml.py::TestArclinkInventory::test_auto_read_arclink_xml
2.424s signal/tests/test_cross_correlation.py::TestCrossCorrelation::test_correlate_stream_template_and_correlation_detector
2.326s taup/tests/test_velocity_model.py::TestTauPyVelocityModel::test_read_velocity_model
2.314s taup/tests/test_tau.py::TestTauPyModel::test_vs_java_iasp91
2.184s taup/tests/test_seismic_phase.py::TestTauPySeismicPhase::test_many_identically_named_phases
2.127s core/tests/test_trace.py::TestTrace::test_remove_response_plot
2.094s signal/tests/test_spectral_estimation.py::TestPsd::test_ppsd_restricted_stacks
2.090s imaging/tests/test_ppsd.py::TestPPSD::test_ppsd_plot
1.775s imaging/tests/test_waveform.py::TestWaveformPlot::test_plot_multiple_traces_10_traces
1.753s imaging/tests/test_waveform.py::TestWaveformPlot::test_plot_multiple_traces_10_traces_tiny