#112417 Report by node gh-actions covering 1976 tests from 49 modules resulted into 6 errors

Report

ObsPy version
0.0.0.dev+0.gcd0d7879cf
GitHub Pull Request
https://github.com/obspy/obspy/pull/8
Report file
XML document
Total runtime
198.0 sec
Report date/time
Nov. 18, 2020, 4:39 a.m.

System / Python

Architecture
64bit
Machine
x86_64
Node
gh-actions
Processor
x86_64
Python Compiler
GCC 7.5.0
Python Implementation
CPython
Python Version
3.7.8
Release
5.4.0-1031-azure
System
Linux
Version
#32~18.04.1-Ubuntu SMP Tue Oct 6 10:03:22 UTC 2020

Dependencies

cartopy
---
decorator
4.4.2
flake8
---
geographiclib
---
lxml.etree
4.6.1
m2crypto
---
matplotlib
3.3.3
mock
4.0.2
mpl_toolkits.basemap
---
numpy
1.19.4
pep8-naming
---
pyflakes
---
pyimgur
0.6.0
pyproj
1.9.6
requests
2.25.0
scipy
1.5.3
setuptools
49.6.0.post20201009
shapefile
2.1.2
sqlalchemy
1.3.20

Modules (49)

Module Errors / Failures Tracebacks
obspy.clients.arclink Not tested -
obspy.clients.earthworm Not tested -
obspy.clients.fdsn Not tested -
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.seishub Not tested -
obspy.clients.syngine Not tested -
obspy.core - -
obspy.db - -
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 1 1
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 2 2 3
obspy.io.xseed - -
obspy.io.y - -
obspy.io.zmap 1 4
obspy.realtime - -
obspy.scripts - -
obspy.signal 2 5 6
obspy.taup - -
Summary 6 6

Tracebacks (6)

Traceback (most recent call last):
File "/usr/share/miniconda3/envs/test/lib/python3.7/doctest.py", line 2204, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.io.hypodd.__init__
File "/home/runner/work/obspy/obspy/obspy/io/hypodd/__init__.py", line 0, in __init__
----------------------------------------------------------------------
File "/home/runner/work/obspy/obspy/obspy/io/hypodd/__init__.py", line 22, in obspy.io.hypodd.__init__
Failed example:
print(cat)
Exception raised:
Traceback (most recent call last):
File "/usr/share/miniconda3/envs/test/lib/python3.7/doctest.py", line 1337, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.hypodd.__init__[2]>", line 1, in <module>
print(cat)
File "/home/runner/work/obspy/obspy/obspy/core/event/catalog.py", line 234, in __str__
out += "\n".join([ev.short_str() for ev in self])
File "/home/runner/work/obspy/obspy/obspy/core/event/catalog.py", line 234, in <listcomp>
out += "\n".join([ev.short_str() for ev in self])
File "/home/runner/work/obspy/obspy/obspy/core/event/event.py", line 132, in short_str
magnitude.magnitude_type)
TypeError: unsupported format string passed to NoneType.__format__
Traceback (most recent call last):
File "/home/runner/work/obspy/obspy/obspy/io/win/tests/test_core.py", line 47, in test_read_via_module
st = _read_win(filename)
File "/home/runner/work/obspy/obspy/obspy/io/win/core.py", line 105, in _read_win
chanum = f"{flag:02}{chanum:02}"
ValueError: '=' alignment not allowed in string format specifier
Traceback (most recent call last):
File "/home/runner/work/obspy/obspy/obspy/io/win/tests/test_core.py", line 27, in test_read_via_obspy
st = read(filename)
File "<decorator-gen-31>", line 2, in read
File "/home/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 290, in _map_example_filename
return func(*args, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/core/stream.py", line 206, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/core/util/base.py", line 684, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "/home/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 201, in uncompress_file
result = func(filename, *args, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
headonly=headonly, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/core/util/base.py", line 455, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/io/win/core.py", line 105, in _read_win
chanum = f"{flag:02}{chanum:02}"
ValueError: '=' alignment not allowed in string format specifier
Traceback (most recent call last):
File "/usr/share/miniconda3/envs/test/lib/python3.7/doctest.py", line 2204, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.io.zmap.__init__
File "/home/runner/work/obspy/obspy/obspy/io/zmap/__init__.py", line 0, in __init__
----------------------------------------------------------------------
File "/home/runner/work/obspy/obspy/obspy/io/zmap/__init__.py", line 22, in obspy.io.zmap.__init__
Failed example:
print(cat)
Exception raised:
Traceback (most recent call last):
File "/usr/share/miniconda3/envs/test/lib/python3.7/doctest.py", line 1337, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.zmap.__init__[2]>", line 1, in <module>
print(cat)
File "/home/runner/work/obspy/obspy/obspy/core/event/catalog.py", line 234, in __str__
out += "\n".join([ev.short_str() for ev in self])
File "/home/runner/work/obspy/obspy/obspy/core/event/catalog.py", line 234, in <listcomp>
out += "\n".join([ev.short_str() for ev in self])
File "/home/runner/work/obspy/obspy/obspy/core/event/event.py", line 132, in short_str
magnitude.magnitude_type)
TypeError: unsupported format string passed to NoneType.__format__
Traceback (most recent call last):
File "/home/runner/work/obspy/obspy/obspy/signal/tests/test_tf_misfit.py", line 302, in test_plot_tf_gofs
fmax=self.fmax, show=False)
File "/home/runner/work/obspy/obspy/obspy/signal/tf_misfit.py", line 1334, in plot_tf_gofs
textstr = 'EG = {:2.2f}\nPG = {:2.2f}'.format(_eg[itr], _pg[itr])
TypeError: unsupported format string passed to numpy.ndarray.__format__
Traceback (most recent call last):
File "/home/runner/work/obspy/obspy/obspy/signal/tests/test_tf_misfit.py", line 294, in test_plot_tf_misfits
fmin=self.fmin, fmax=self.fmax, show=False)
File "/home/runner/work/obspy/obspy/obspy/signal/tf_misfit.py", line 1074, in plot_tf_misfits
textstr = 'EM = {:.2f}\nPM = {:.2f}'.format(_em[itr], _pm[itr])
TypeError: unsupported format string passed to numpy.ndarray.__format__

Skipped tests (34)

Submodule Test Skip message
core test_combined_station_event_plot (obspy.core.tests.test_inventory.InventoryBasemapTestCase) matplotlib 3.0.1 is not compatible with basemap
core test_location_plot_global (obspy.core.tests.test_inventory.InventoryBasemapTestCase) matplotlib 3.0.1 is not compatible with basemap
core test_location_plot_local (obspy.core.tests.test_inventory.InventoryBasemapTestCase) matplotlib 3.0.1 is not compatible with basemap
core test_location_plot_ortho (obspy.core.tests.test_inventory.InventoryBasemapTestCase) matplotlib 3.0.1 is not compatible with basemap
core test_location_plot_global (obspy.core.tests.test_inventory.InventoryCartopyTestCase) cartopy not installed
core test_location_plot_local (obspy.core.tests.test_inventory.InventoryCartopyTestCase) cartopy not installed
core test_location_plot_ortho (obspy.core.tests.test_inventory.InventoryCartopyTestCase) cartopy not installed
core test_flake8 (obspy.core.tests.test_code_formatting.CodeFormattingTestCase) Formatting tests require at least flake8 3.0.
core test_catalog_plot_global (obspy.core.tests.test_event.CatalogBasemapTestCase) matplotlib 3.0.1 is not compatible with basemap
core test_catalog_plot_local (obspy.core.tests.test_event.CatalogBasemapTestCase) matplotlib 3.0.1 is not compatible with basemap
core test_catalog_plot_ortho (obspy.core.tests.test_event.CatalogBasemapTestCase) matplotlib 3.0.1 is not compatible with basemap
core test_catalog_plot_ortho_longitude_wrap (obspy.core.tests.test_event.CatalogBasemapTestCase) matplotlib 3.0.1 is not compatible with basemap
core test_plot_catalog_before_1900 (obspy.core.tests.test_event.CatalogBasemapTestCase) matplotlib 3.0.1 is not compatible with basemap
core test_catalog_plot_global (obspy.core.tests.test_event.CatalogCartopyTestCase) Cartopy not installed or too old
core test_catalog_plot_local (obspy.core.tests.test_event.CatalogCartopyTestCase) Cartopy not installed or too old
core test_catalog_plot_ortho (obspy.core.tests.test_event.CatalogCartopyTestCase) Cartopy not installed or too old
core test_catalog_plot_ortho_longitude_wrap (obspy.core.tests.test_event.CatalogCartopyTestCase) Cartopy not installed or too old
core test_plot_farfield_without_quiver_with_maps (obspy.core.tests.test_event.EventTestCase) matplotlib 3.0.1 is not compatible with basemap
core test_location_plot_global (obspy.core.tests.test_network.NetworkBasemapTestCase) no or invalid basemap installation
core test_location_plot_local (obspy.core.tests.test_network.NetworkBasemapTestCase) no or invalid basemap installation
core test_location_plot_ortho (obspy.core.tests.test_network.NetworkBasemapTestCase) no or invalid basemap installation
core test_location_plot_global (obspy.core.tests.test_network.NetworkCartopyTestCase) cartopy not installed
core test_location_plot_local (obspy.core.tests.test_network.NetworkCartopyTestCase) cartopy not installed
core test_location_plot_ortho (obspy.core.tests.test_network.NetworkCartopyTestCase) cartopy not installed
geodetics test_gps_2_dist_azimuth_with_geographiclib (obspy.geodetics.tests.test_util_geodetics.UtilGeodeticsTestCase) Module geographiclib is not installed
geodetics test_issue_375 (obspy.geodetics.tests.test_util_geodetics.UtilGeodeticsTestCase) Module geographiclib is not installed
imaging test_script_plot (obspy.imaging.tests.test_mopad_script.MopadTestCase) Currently broken until further review.
signal test_ppsd_spectrogram_plot (obspy.signal.tests.test_spectral_estimation.PsdTestCase) matplotlib >= 3 shifts labels
taup test_path_geo (obspy.taup.tests.test_taup_geo.TaupGeoTestCase) Module geographiclib is not installed or too old.
taup test_path_resampling (obspy.taup.tests.test_taup_geo.TaupGeoTestCase) Module geographiclib is not installed or too old.
taup test_compute_ray_paths (obspy.taup.tests.test_ray_paths.RayPathCalculationsTestCase) test needs geographiclib >= 1.34
taup test_p_iasp91_geo_manual (obspy.taup.tests.test_tau.TauPyModelTestCase) Module geographiclib is not installed
taup test_pierce_p_iasp91_geo (obspy.taup.tests.test_tau.TauPyModelTestCase) test needs geographiclib >= 1.34
taup test_single_path_geo_iasp91 (obspy.taup.tests.test_tau.TauPyModelTestCase) test needs geographiclib >= 1.34

Slowest tests (20)

Runtime Test
11.016s test_response_calculation_from_seed_and_xseed (obspy.io.xseed.tests.test_core.CoreTestCase)
7.096s __init__ (obspy.taup)
6.336s test_ppsd_restricted_stacks (obspy.signal.tests.test_spectral_estimation.PsdTestCase)
6.025s test_plot_multiple_traces (obspy.imaging.tests.test_waveform.WaveformTestCase)
5.272s test_shoot_existing_ray_param (obspy.taup.tests.test_seismic_phase.TauPySeismicPhaseTestCase)
4.064s test_relcal_different_overlaps (obspy.signal.tests.test_calibration.CalibrationTestCase)
3.741s test_remove_response_plot (obspy.core.tests.test_trace.TraceTestCase)
3.273s plot_travel_times (obspy.taup.tau)
2.853s test_polarization_vidale (obspy.signal.tests.test_polarization.PolarizationTestCase)
2.798s test_regional_models (obspy.taup.tests.test_tau.TauPyModelTestCase)
2.773s test_vs_java_iasp91 (obspy.taup.tests.test_tau.TauPyModelTestCase)
2.634s test_auto_read_arclink_xml (obspy.io.arclink.tests.test_inventory_xml.ArclinkInventoryTestCase)
2.341s test_correlate_stream_template_and_correlation_detector (obspy.signal.tests.test_cross_correlation.CrossCorrelationTestCase)
2.242s test_many_identically_named_phases (obspy.taup.tests.test_seismic_phase.TauPySeismicPhaseTestCase)
1.905s read (obspy.core.stream)
1.755s test_rotate2zne_against_lqt_different_combinations (obspy.signal.tests.test_rotate.RotateTestCase)
1.678s test_evalresp_file_like_object (obspy.signal.tests.test_invsim.InvSimTestCase)
1.620s test_plot_travel_times_convenience (obspy.taup.tests.test_plotting.TauPyPlottingTestCase)
1.414s test_spherical_many_phases (obspy.taup.tests.test_plotting.TauPyPlottingTestCase)
1.261s test_spherical_many_phases_one_way (obspy.taup.tests.test_plotting.TauPyPlottingTestCase)