#134073 Report by node gh-actions covering 2111 tests from 60 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
327.2 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.9.16
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 (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.9/doctest.py", line 1334, 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.9/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.9/contextlib.py", line 119, in __enter__
return next(self.gen)
File "/usr/share/miniconda3/envs/test/lib/python3.9/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.9/site-packages/obspy/io/csv/__init__.py:100: UnexpectedException
Traceback (most recent call last):
File "/usr/share/miniconda3/envs/test/lib/python3.9/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 0x7f08333f64f0>)
Traceback (most recent call last):
File "/usr/share/miniconda3/envs/test/lib/python3.9/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.9/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 0x7f08333f6940>)

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
95.780s geodetics/tests/test_util_flinnengdahl.py::TestUtilFlinnEngdahl::test_coordinates
9.818s io/xseed/tests/test_core.py::TestCore::test_response_calculation_from_seed_and_xseed
7.398s core/tests/test_event.py::TestEvent::test_plot_farfield_without_quiver_with_maps
5.324s taup/tests/test_tau.py::TestTauPyModel::test_regional_models
5.094s taup/tests/test_seismic_phase.py::TestTauPySeismicPhase::test_shoot_existing_ray_param
5.031s taup/__init__.py::obspy.taup
4.289s core/tests/test_inventory.py::TestInventoryCartopy::test_location_plot_local
3.077s core/stream.py::obspy.core.stream.read
2.859s core/tests/test_inventory.py::TestInventoryCartopy::test_location_plot_global
2.698s signal/tests/test_calibration.py::TestCalibration::test_relcal_different_overlaps
2.516s signal/tests/test_cross_correlation.py::TestCrossCorrelation::test_correlate_stream_template_and_correlation_detector
2.418s taup/tests/test_velocity_model.py::TestTauPyVelocityModel::test_read_velocity_model
2.401s io/arclink/tests/test_inventory_xml.py::TestArclinkInventory::test_auto_read_arclink_xml
2.343s taup/tests/test_tau.py::TestTauPyModel::test_vs_java_iasp91
2.230s signal/tests/test_spectral_estimation.py::TestPsd::test_ppsd_restricted_stacks
2.170s taup/tests/test_seismic_phase.py::TestTauPySeismicPhase::test_many_identically_named_phases
2.034s core/tests/test_trace.py::TestTrace::test_remove_response_plot
1.774s imaging/tests/test_ppsd.py::TestPPSD::test_ppsd_plot
1.718s imaging/tests/test_waveform.py::TestWaveformPlot::test_plot_multiple_traces_10_traces_huge
1.680s signal/tests/test_polarization.py::TestPolarization::test_polarization_vidale