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

Report

ObsPy version
1.4.0.post0+22.g8da3ac4184
GitHub Pull Request
https://github.com/obspy/obspy/pull/3194
Report file
JSON document
Total runtime
622.5 sec
Report date/time
Nov. 22, 2022, 3:04 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.9.14
Release
21.6.0
System
Darwin
Version
Darwin Kernel Version 21.6.0: Thu Sep 29 20:12:57 PDT 2022; root:xnu-8020.240.7~1/RELEASE_X86_64

Dependencies

cartopy
0.21.0
decorator
5.1.1
flake8
---
geographiclib
2.0
lxml
4.9.1
matplotlib
3.6.2
numpy
1.23.5
obspy
1.4.0.post0+22.g8da3ac4184
pyproj
3.4.0
pytest
7.2.0
pytest-json-report
1.5.0
requests
2.28.1
scipy
1.9.3
setuptools
65.5.1
shapefile
---
sqlalchemy
1.4.44

Modules (60)

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 Not tested -
obspy.clients.syngine Not tested -
obspy.core 2 1 2
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 - -
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 1 3
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)

Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.9/site-packages/obspy/core/tests/test_inventory.py", line 412, in test_inventory_select
assert sum_stations(inv.select(public_id="TEST")) == 0
AssertionError: assert 30 == 0
+ where 30 = sum_stations(<obspy.core.inventory.inventory.Inventory object at 0x1354a68e0>)
+ where <obspy.core.inventory.inventory.Inventory object at 0x1354a68e0> = <bound method Inventory.select of <obspy.core.inventory.inventory.Inventory object at 0x1355e2a30>>(public_id='TEST')
+ where <bound method Inventory.select of <obspy.core.inventory.inventory.Inventory object at 0x1355e2a30>> = <obspy.core.inventory.inventory.Inventory object at 0x1355e2a30>.select
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.9/site-packages/obspy/core/tests/test_network.py", line 184, in test_network_select
assert sum(len(i) for i in net.select(public_id="TEST")) == 0
AssertionError: assert 21 == 0
+ where 21 = sum(<generator object TestNetwork.test_network_select.<locals>.<genexpr> at 0x1069bf4a0>)
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.9/site-packages/obspy/io/seiscomp/tests/test_inventory.py", line 78, in test_compare_xml
self.sc3ml_inventory.write(sc3ml_bytes, "STATIONXML")
File "/Users/runner/miniconda3/envs/test/lib/python3.9/site-packages/obspy/core/inventory/inventory.py", line 372, in write
return write_format(self, path_or_file_object, **kwargs)
File "/Users/runner/miniconda3/envs/test/lib/python3.9/site-packages/obspy/io/stationxml/core.py", line 929, in _write_stationxml
_write_network(root, network, level)
File "/Users/runner/miniconda3/envs/test/lib/python3.9/site-packages/obspy/io/stationxml/core.py", line 1026, in _write_network
_write_station(network_elem, station, level)
File "/Users/runner/miniconda3/envs/test/lib/python3.9/site-packages/obspy/io/stationxml/core.py", line 1132, in _write_station
_write_base_node(station_elem, station)
File "/Users/runner/miniconda3/envs/test/lib/python3.9/site-packages/obspy/io/stationxml/core.py", line 995, in _write_base_node
_write_extra(element, object_to_read_from)
File "/Users/runner/miniconda3/envs/test/lib/python3.9/site-packages/obspy/io/stationxml/core.py", line 1589, in _write_extra
_write_element(parent, element, tagname)
File "/Users/runner/miniconda3/envs/test/lib/python3.9/site-packages/obspy/io/stationxml/core.py", line 1567, in _write_element
element['namespace'], name) # name of the attribute/tag
TypeError: string indices must be integers

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::QualityControlTestCase::test_schema_validation Skipped: Test requires the jsonschema module

Slowest tests (20)

Runtime Test
29.453s signal/tests/test_cross_correlation.py::TestCrossCorrelation::test_correlate_stream_template_and_correlation_detector
20.176s core/tests/test_event.py::TestEvent::test_plot_farfield_without_quiver_with_maps
18.229s taup/tests/test_seismic_phase.py::TestTauPySeismicPhase::test_shoot_existing_ray_param
17.796s io/xseed/tests/test_core.py::CoreTestCase::test_response_calculation_from_seed_and_xseed
16.055s taup/__init__.py::obspy.taup
13.976s io/mseed/tests/test_mseed_reading_and_writing.py::MSEEDReadingAndWritingTestCase::test_read_and_write_traces
13.514s taup/tests/test_tau.py::TestTauPyModel::test_regional_models
11.366s signal/tests/test_rotate.py::RotateTestCase::test_rotate2zne_against_lqt_different_combinations
8.811s signal/tests/test_calibration.py::CalibrationTestCase::test_relcal_different_overlaps
7.827s taup/tests/test_tau.py::TestTauPyModel::test_vs_java_iasp91
7.242s core/tests/test_inventory.py::TestInventoryCartopy::test_location_plot_local
7.206s core/tests/test_waveform_plugins.py::TestWaveformPlugins::test_read_and_write
6.316s io/mseed/tests/test_mseed_special_issues.py::MSEEDSpecialIssueTestCase::test_infinite_loop
6.085s signal/tests/test_tf_misfit.py::TestTfPlot::test_plot_tf_gofs
5.957s taup/tests/test_seismic_phase.py::TestTauPySeismicPhase::test_many_identically_named_phases
5.871s core/tests/test_inventory.py::TestInventoryCartopy::test_location_plot_global
5.283s taup/tests/test_tau.py::TestTauPyModel::test_high_slowness_crust
5.260s signal/tests/test_spectral_estimation.py::TestPsd::test_ppsd_restricted_stacks
5.238s io/seiscomp/event.py::obspy.io.seiscomp.event._read_sc3ml
4.824s signal/tests/test_interpolation.py::TestInterpolation::test_plot_lanczos_window