#122232 Report by node gh-actions covering 2010 tests from 59 modules resulted into 3 errors

Report

ObsPy version
1.3.0.post0+33.g9c11b97e78
GitHub Pull Request
https://github.com/obspy/obspy/pull/3024
Report file
JSON document
Total runtime
312.1 sec
Report date/time
March 21, 2022, 1:07 a.m.

System / Python

Architecture
64bit
Machine
x86_64
Node
gh-actions
Processor
x86_64
Python Compiler
GCC 9.4.0
Python Implementation
CPython
Python Version
3.10.2
Release
5.11.0-1028-azure
System
Linux
Version
#31~20.04.2-Ubuntu SMP Tue Jan 18 08:46:15 UTC 2022

Dependencies

cartopy
0.20.2
decorator
5.1.1
flake8
---
geographiclib
1.52
lxml
4.8.0
matplotlib
3.5.1
numpy
1.22.3
obspy
1.3.0.post0+33.g9c11b97e78
pyproj
3.3.0
pytest
7.1.1
pytest-json-report
1.5.0
requests
2.27.1
scipy
1.8.0
setuptools
60.10.0
shapefile
---
sqlalchemy
1.4.32

Modules (59)

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 Not tested -
obspy.clients.seedlink Not tested -
obspy.clients.syngine Not tested -
obspy.core - -
obspy.core.event - -
obspy.core.inventory 2 1 2
obspy.core.util - -
obspy.geodetics - -
obspy.imaging - -
obspy.io.ah - -
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 1 3
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)

069 Access: UNKNOWN
070 Contains:
071 Stations (1):
072 BW.RJOB (Jochberg, Bavaria, BW-Net)
073 Channels (3):
074 BW.RJOB..EHZ, BW.RJOB..EHN, BW.RJOB..EHE
075
076
077 >>> sta = net[0]
078 >>> print(sta) # doctest: +NORMALIZE_WHITESPACE
UNEXPECTED EXCEPTION: ValueError('Space not allowed in string format specifier')
Traceback (most recent call last):
File "/usr/share/miniconda3/envs/test/lib/python3.10/doctest.py", line 1346, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.inventory[9]>", line 1, in <module>
File "/home/runner/work/obspy/obspy/obspy/core/inventory/station.py", line 187, in __str__
for ele in _unified_content_strings_expanded(self.channels):
File "/home/runner/work/obspy/obspy/obspy/core/inventory/util.py", line 972, in _unified_content_strings_expanded
items = ["{l: >7s}.{c: 6s}{sr: 6.2f} Hz {start: .10s} to {end: .10s}"
File "/home/runner/work/obspy/obspy/obspy/core/inventory/util.py", line 972, in <listcomp>
items = ["{l: >7s}.{c: 6s}{sr: 6.2f} Hz {start: .10s} to {end: .10s}"
ValueError: Space not allowed in string format specifier
/home/runner/work/obspy/obspy/obspy/core/inventory/__init__.py:78: UnexpectedException
366 Use :meth:`copy()` afterwards to make a new copy of the data in
367 memory.
368
369 .. rubric:: Example
370
371 >>> from obspy import read_inventory, UTCDateTime
372 >>> sta = read_inventory()[0][0]
373 >>> t = UTCDateTime(2008, 7, 1, 12)
374 >>> sta = sta.select(channel="[LB]HZ", time=t)
375 >>> print(sta) # doctest: +NORMALIZE_WHITESPACE
UNEXPECTED EXCEPTION: ValueError('Space not allowed in string format specifier')
Traceback (most recent call last):
File "/usr/share/miniconda3/envs/test/lib/python3.10/doctest.py", line 1346, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.inventory.station.Station.select[4]>", line 1, in <module>
File "/home/runner/work/obspy/obspy/obspy/core/inventory/station.py", line 187, in __str__
for ele in _unified_content_strings_expanded(self.channels):
File "/home/runner/work/obspy/obspy/obspy/core/inventory/util.py", line 972, in _unified_content_strings_expanded
items = ["{l: >7s}.{c: 6s}{sr: 6.2f} Hz {start: .10s} to {end: .10s}"
File "/home/runner/work/obspy/obspy/obspy/core/inventory/util.py", line 972, in <listcomp>
items = ["{l: >7s}.{c: 6s}{sr: 6.2f} Hz {start: .10s} to {end: .10s}"
ValueError: Space not allowed in string format specifier
/home/runner/work/obspy/obspy/obspy/core/inventory/station.py:375: UnexpectedException
Traceback (most recent call last):
File "/home/runner/work/obspy/obspy/obspy/io/kml/tests/test_kml.py", line 25, in test_write_inventory
inv.write(tf.name, format="KML")
File "/home/runner/work/obspy/obspy/obspy/core/inventory/inventory.py", line 372, in write
return write_format(self, path_or_file_object, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/io/kml/core.py", line 289, in _write_kml
kml_string = inventory_to_kml_string(obj, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/io/kml/core.py", line 110, in inventory_to_kml_string
SubElement(placemark, "description").text = str(sta)
File "/home/runner/work/obspy/obspy/obspy/core/inventory/station.py", line 187, in __str__
for ele in _unified_content_strings_expanded(self.channels):
File "/home/runner/work/obspy/obspy/obspy/core/inventory/util.py", line 972, in _unified_content_strings_expanded
items = ["{l: >7s}.{c: 6s}{sr: 6.2f} Hz {start: .10s} to {end: .10s}"
File "/home/runner/work/obspy/obspy/obspy/core/inventory/util.py", line 972, in <listcomp>
items = ["{l: >7s}.{c: 6s}{sr: 6.2f} Hz {start: .10s} to {end: .10s}"
ValueError: Space not allowed in string format specifier

Skipped tests (19)

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.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
11.987s io/xseed/tests/test_core.py::CoreTestCase::test_response_calculation_from_seed_and_xseed
11.409s taup/__init__.py::obspy.taup
11.050s core/tests/test_event.py::TestEvent::test_plot_farfield_without_quiver_with_maps
9.377s taup/tests/test_seismic_phase.py::TestTauPySeismicPhase::test_shoot_existing_ray_param
5.624s taup/tau.py::obspy.taup.tau.plot_travel_times
5.014s core/tests/test_inventory.py::TestInventoryCartopy::test_location_plot_local
4.596s taup/tests/test_tau.py::TestTauPyModel::test_vs_java_iasp91
4.594s taup/tests/test_tau.py::TestTauPyModel::test_regional_models
4.232s taup/tests/test_velocity_model.py::TestTauPyVelocityModel::test_read_velocity_model
4.101s signal/tests/test_calibration.py::CalibrationTestCase::test_relcal_different_overlaps
3.914s core/tests/test_inventory.py::TestInventoryCartopy::test_location_plot_global
3.403s taup/tests/test_seismic_phase.py::TestTauPySeismicPhase::test_many_identically_named_phases
3.133s signal/tests/test_spectral_estimation.py::TestPsd::test_ppsd_restricted_stacks
2.976s signal/tests/test_polarization.py::PolarizationTestCase::test_polarization_vidale
2.934s signal/tests/test_cross_correlation.py::TestCrossCorrelation::test_correlate_stream_template_and_correlation_detector
2.794s core/tests/test_trace.py::TestTrace::test_remove_response_plot
2.742s io/arclink/tests/test_inventory_xml.py::ArclinkInventoryTestCase::test_auto_read_arclink_xml
2.568s signal/tests/test_rotate.py::RotateTestCase::test_rotate2zne_against_lqt_different_combinations
2.418s core/tests/test_inventory.py::TestInventoryCartopy::test_combined_station_event_plot
2.267s taup/tests/test_ray_paths.py::TestRayPathCalculations::test_compute_ray_paths