#131260 Report by node gh-actions covering 2060 tests from 59 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
228.0 sec
Report date/time
Nov. 22, 2022, 2:56 a.m.

System / Python

Architecture
64bit
Machine
x86_64
Node
gh-actions
Processor
x86_64
Python Compiler
GCC 10.4.0
Python Implementation
CPython
Python Version
3.8.14
Release
5.15.0-1022-azure
System
Linux
Version
#27~20.04.1-Ubuntu SMP Mon Oct 17 02:03:50 UTC 2022

Dependencies

cartopy
0.21.0
decorator
5.1.1
flake8
---
geographiclib
2.0
lxml
4.9.1
matplotlib
3.3.4
numpy
1.20.3
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.7.3
setuptools
65.5.1
shapefile
---
sqlalchemy
1.4.44

Modules (59)

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 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 "/usr/share/miniconda3/envs/test/lib/python3.8/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 0x7f58d65c7520>)
+ where <obspy.core.inventory.inventory.Inventory object at 0x7f58d65c7520> = <bound method Inventory.select of <obspy.core.inventory.inventory.Inventory object at 0x7f58de783dc0>>(public_id='TEST')
+ where <bound method Inventory.select of <obspy.core.inventory.inventory.Inventory object at 0x7f58de783dc0>> = <obspy.core.inventory.inventory.Inventory object at 0x7f58de783dc0>.select
Traceback (most recent call last):
File "/usr/share/miniconda3/envs/test/lib/python3.8/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 0x7f58d5e64190>)
Traceback (most recent call last):
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/io/seiscomp/tests/test_inventory.py", line 78, in test_compare_xml
self.sc3ml_inventory.write(sc3ml_bytes, "STATIONXML")
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/core/inventory/inventory.py", line 372, in write
return write_format(self, path_or_file_object, **kwargs)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/io/stationxml/core.py", line 929, in _write_stationxml
_write_network(root, network, level)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/io/stationxml/core.py", line 1026, in _write_network
_write_station(network_elem, station, level)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/io/stationxml/core.py", line 1132, in _write_station
_write_base_node(station_elem, station)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/io/stationxml/core.py", line 995, in _write_base_node
_write_extra(element, object_to_read_from)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/io/stationxml/core.py", line 1589, in _write_extra
_write_element(parent, element, tagname)
File "/usr/share/miniconda3/envs/test/lib/python3.8/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
9.468s io/xseed/tests/test_core.py::CoreTestCase::test_response_calculation_from_seed_and_xseed
8.344s core/tests/test_event.py::TestEvent::test_plot_farfield_without_quiver_with_maps
5.220s taup/tests/test_seismic_phase.py::TestTauPySeismicPhase::test_shoot_existing_ray_param
5.069s taup/__init__.py::obspy.taup
4.391s taup/tests/test_tau.py::TestTauPyModel::test_regional_models
4.246s core/tests/test_inventory.py::TestInventoryCartopy::test_location_plot_local
3.324s core/tests/test_inventory.py::TestInventoryCartopy::test_location_plot_global
2.666s core/stream.py::obspy.core.stream.read
2.432s signal/tests/test_calibration.py::CalibrationTestCase::test_relcal_different_overlaps
2.406s taup/tests/test_tau.py::TestTauPyModel::test_vs_java_iasp91
2.365s io/arclink/tests/test_inventory_xml.py::ArclinkInventoryTestCase::test_auto_read_arclink_xml
2.305s signal/tests/test_cross_correlation.py::TestCrossCorrelation::test_correlate_stream_template_and_correlation_detector
2.204s taup/tests/test_seismic_phase.py::TestTauPySeismicPhase::test_many_identically_named_phases
2.153s taup/tests/test_velocity_model.py::TestTauPyVelocityModel::test_read_velocity_model
2.108s core/tests/test_trace.py::TestTrace::test_remove_response_plot
2.055s signal/tests/test_polarization.py::PolarizationTestCase::test_polarization_vidale
1.887s signal/tests/test_spectral_estimation.py::TestPsd::test_ppsd_restricted_stacks
1.724s taup/tests/test_ray_paths.py::TestRayPathCalculations::test_compute_ray_paths
1.554s core/tests/test_network.py::TestNetworkCartopy::test_location_plot_global
1.522s signal/tests/test_tf_misfit.py::TestTfPlot::test_plot_tf_gofs