#134090 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
815.7 sec
Report date/time
March 31, 2023, 9:24 a.m.

System / Python

Architecture
64bit
Machine
x86_64
Node
gh-actions
Processor
i386
Python Compiler
Clang 14.0.6
Python Implementation
CPython
Python Version
3.8.16
Release
21.6.0
System
Darwin
Version
Darwin Kernel Version 21.6.0: Mon Dec 19 20:44:01 PST 2022; root:xnu-8020.240.18~2/RELEASE_X86_64

Dependencies

cartopy
0.21.1
decorator
5.1.1
flake8
---
geographiclib
2.0
lxml
4.9.2
matplotlib
3.3.4
numpy
1.20.3
obspy
1.4.0.post0+169.gebb2126580
pyproj
3.5.0
pytest
7.2.2
pytest-json-report
1.5.0
requests
2.28.2
scipy
1.7.3
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 "/Users/runner/miniconda3/envs/test/lib/python3.8/doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.csv[20]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.8/site-packages/obspy/io/csv/core.py", line 364, in load_csv
with _open(fname) as f:
File "/Users/runner/miniconda3/envs/test/lib/python3.8/contextlib.py", line 113, in __enter__
return next(self.gen)
File "/Users/runner/miniconda3/envs/test/lib/python3.8/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'
/Users/runner/miniconda3/envs/test/lib/python3.8/site-packages/obspy/io/csv/__init__.py:100: UnexpectedException
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.8/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 0x7fde542de040>)
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.8/site-packages/obspy/io/csv/tests/test_csv.py", line 138, in test_csz_without_check_compression_parameters
test_csz(check_compression=True)
File "/Users/runner/miniconda3/envs/test/lib/python3.8/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 0x7fde6f5ea460>)

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
192.457s geodetics/tests/test_util_flinnengdahl.py::TestUtilFlinnEngdahl::test_coordinates
26.990s io/xseed/tests/test_core.py::TestCore::test_response_calculation_from_seed_and_xseed
26.785s core/tests/test_event.py::TestEvent::test_plot_farfield_without_quiver_with_maps
13.448s imaging/tests/test_ppsd.py::TestPPSD::test_ppsd_plot
12.914s taup/tests/test_tau.py::TestTauPyModel::test_regional_models
12.697s taup/tests/test_seismic_phase.py::TestTauPySeismicPhase::test_shoot_existing_ray_param
12.078s taup/__init__.py::obspy.taup
11.223s signal/tests/test_spectral_estimation.py::TestPsd::test_ppsd
8.451s signal/tests/test_polarization.py::TestPolarization::test_polarization_vidale
8.152s io/mseed/tests/test_mseed_reading_and_writing.py::TestMSEEDReadingAndWriting::test_read_and_write_traces
7.190s core/tests/test_inventory.py::TestInventoryCartopy::test_location_plot_global
6.542s core/tests/test_inventory.py::TestInventoryCartopy::test_location_plot_local
6.343s signal/tests/test_rotate.py::TestRotate::test_rotate2zne_against_lqt_different_combinations
5.853s signal/tests/test_calibration.py::TestCalibration::test_relcal_different_overlaps
5.624s taup/tests/test_tau.py::TestTauPyModel::test_vs_java_iasp91
4.836s taup/tests/test_seismic_phase.py::TestTauPySeismicPhase::test_many_identically_named_phases
4.719s io/arclink/tests/test_inventory_xml.py::TestArclinkInventory::test_auto_read_arclink_xml
4.685s io/mseed/tests/test_mseed_special_issues.py::TestMSEEDSpecialIssue::test_long_year_range
4.538s signal/tests/test_spectral_estimation.py::TestPsd::test_ppsd_restricted_stacks
4.415s core/tests/test_trace.py::TestTrace::test_remove_response_plot