#111728 Report by node gh-actions covering 1898 tests from 49 modules resulted into 7 errors

Report

ObsPy version
1.2.2.post0+173.g8fc8c6409e
GitHub Pull Request
https://github.com/obspy/obspy/pull/2687
Report file
XML document
Total runtime
223.9 sec
Report date/time
Aug. 3, 2020, 8:26 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.8.5
Release
5.3.0-1032-azure
System
Linux
Version
#33~18.04.1-Ubuntu SMP Fri Jun 26 15:01:15 UTC 2020

Dependencies

cartopy
---
decorator
4.4.2
flake8
---
geographiclib
---
lxml.etree
4.5.2
m2crypto
---
matplotlib
3.3.0
mock
4.0.2
mpl_toolkits.basemap
---
numpy
1.19.1
pep8-naming
---
pyflakes
---
pyimgur
0.6.0
pyproj
1.9.6
requests
2.24.0
scipy
1.5.2
setuptools
49.2.1.post20200802
shapefile
2.1.0
sqlalchemy
1.3.18

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 6 1 2 3 4 5 6
obspy.db - -
obspy.geodetics - -
obspy.imaging 1 7
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 - -
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 7 7

Tracebacks (7)

Traceback (most recent call last):
File "/home/runner/work/obspy/obspy/obspy/core/tests/test_network.py", line 374, in test_location_plot_local
net.plot(method='basemap', projection='local', resolution='l',
File "/home/runner/work/obspy/obspy/obspy/core/inventory/network.py", line 603, in plot
from obspy.imaging.maps import plot_map
File "/home/runner/work/obspy/obspy/obspy/imaging/maps.py", line 28, in <module>
from mpl_toolkits.basemap import Basemap
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/mpl_toolkits/basemap/__init__.py", line 50, in <module>
from .proj import Proj
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/mpl_toolkits/basemap/proj.py", line 6, in <module>
from matplotlib.cbook import dedent
ImportError: cannot import name 'dedent' from 'matplotlib.cbook' (/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/matplotlib/cbook/__init__.py)
Traceback (most recent call last):
File "/home/runner/work/obspy/obspy/obspy/core/tests/test_network.py", line 354, in test_location_plot_ortho
net.plot(method='basemap', projection='ortho', resolution='c',
File "/home/runner/work/obspy/obspy/obspy/core/inventory/network.py", line 603, in plot
from obspy.imaging.maps import plot_map
File "/home/runner/work/obspy/obspy/obspy/imaging/maps.py", line 28, in <module>
from mpl_toolkits.basemap import Basemap
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/mpl_toolkits/basemap/__init__.py", line 50, in <module>
from .proj import Proj
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/mpl_toolkits/basemap/proj.py", line 6, in <module>
from matplotlib.cbook import dedent
ImportError: cannot import name 'dedent' from 'matplotlib.cbook' (/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/matplotlib/cbook/__init__.py)
Traceback (most recent call last):
File "/usr/share/miniconda3/envs/test/lib/python3.8/doctest.py", line 2204, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.core.utcdatetime.UTCDateTime.matplotlib_date
File "/home/runner/work/obspy/obspy/obspy/core/utcdatetime.py", line unknown line number, in matplotlib_date
----------------------------------------------------------------------
File "/home/runner/work/obspy/obspy/obspy/core/utcdatetime.py", line ?, in obspy.core.utcdatetime.UTCDateTime.matplotlib_date
Failed example:
t.matplotlib_date
Expected:
733643.0139780092
Got:
14480.01397800926
Traceback (most recent call last):
File "/usr/share/miniconda3/envs/test/lib/python3.8/doctest.py", line 2204, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.core.trace.Trace.times
File "/home/runner/work/obspy/obspy/obspy/core/trace.py", line 2494, in times
----------------------------------------------------------------------
File "/home/runner/work/obspy/obspy/obspy/core/trace.py", line 2536, in obspy.core.trace.Trace.times
Failed example:
tr.times("matplotlib")
Expected:
array([ 733643.01392361, 733643.01392373, 733643.01392384, ...,
733643.01427049, 733643.0142706 , 733643.01427072])
Got:
array([ 14480.01392361, 14480.01392373, 14480.01392384, ...,
14480.01427049, 14480.0142706 , 14480.01427072])
Traceback (most recent call last):
File "/home/runner/work/obspy/obspy/obspy/core/tests/test_trace.py", line 1444, in test_times
np.testing.assert_allclose(got[:5], expected, rtol=1e-17)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/numpy/testing/_private/utils.py", line 1527, in assert_allclose
assert_array_compare(compare, actual, desired, err_msg=str(err_msg),
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/numpy/testing/_private/utils.py", line 840, in assert_array_compare
raise AssertionError(msg)
AssertionError:
Not equal to tolerance rtol=1e-17, atol=0
Mismatched elements: 5 / 5 (100%)
Max absolute difference: 719163.0
Max relative difference: 0.9849928778830878
x: array([ 10957. , 10957.000001, 10957.000001, 10957.000002,
10957.000002])
y: array([ 730120. , 730120.000001, 730120.000001, 730120.000002,
730120.000002])
Traceback (most recent call last):
File "/home/runner/work/obspy/obspy/obspy/core/tests/test_utcdatetime.py", line 1086, in test_matplotlib_date
np.testing.assert_almost_equal(
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/numpy/testing/_private/utils.py", line 595, in assert_almost_equal
raise AssertionError(_build_err_msg())
AssertionError:
Arrays are not almost equal to 8 decimals
ACTUAL: 5965.5723676839116
DESIRED: 725128.5723676839
>>> Cannot import test suite for module obspy.imaging due to:
-------------------------------------------------------------
File "/usr/share/miniconda3/envs/test/bin/coverage", line 11, in <module>
sys.exit(main())
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/coverage/cmdline.py", line 865, in main
status = CoverageScript().command_line(argv)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/coverage/cmdline.py", line 582, in command_line
return self.do_run(options, args)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/coverage/cmdline.py", line 740, in do_run
runner.run()
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/coverage/execfile.py", line 247, in run
exec(code, main_mod.__dict__)
File "/home/runner/work/obspy/obspy/obspy/scripts/runtests.py", line 752, in <module>
errors = run(interactive=False)
File "/home/runner/work/obspy/obspy/obspy/scripts/runtests.py", line 706, in run
return run_tests(verbosity, args.tests, report, args.log, args.server,
File "/home/runner/work/obspy/obspy/obspy/scripts/runtests.py", line 537, in run_tests
suites, status, import_failures = _get_suites(verbosity, tests)
File "/home/runner/work/obspy/obspy/obspy/scripts/runtests.py", line 161, in _get_suites
suite.append(ut.loadTestsFromName(test, None))
File "/usr/share/miniconda3/envs/test/lib/python3.8/unittest/loader.py", line 205, in loadTestsFromName
test = obj()
File "/home/runner/work/obspy/obspy/obspy/imaging/tests/__init__.py", line 19, in suite
add_doctests(suite, MODULE_NAME)
File "/home/runner/work/obspy/obspy/obspy/core/util/testing.py", line 114, in add_doctests
_module = __import__(_module_name,
File "/home/runner/work/obspy/obspy/obspy/imaging/maps.py", line 28, in <module>
from mpl_toolkits.basemap import Basemap
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/mpl_toolkits/basemap/__init__.py", line 50, in <module>
from .proj import Proj
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/mpl_toolkits/basemap/proj.py", line 6, in <module>
from matplotlib.cbook import dedent
ImportError: cannot import name 'dedent' from 'matplotlib.cbook' (/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/matplotlib/cbook/__init__.py)

Skipped tests (31)

Submodule Test Skip message
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_flake8 (obspy.core.tests.test_code_formatting.CodeFormattingTestCase) Formatting tests require at least flake8 3.0.
core test_location_plot_global (obspy.core.tests.test_network.NetworkBasemapTestCase) unsupported proj4 library
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
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
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
signal test_ppsd_spectrogram_plot (obspy.signal.tests.test_spectral_estimation.PsdTestCase) matplotlib >= 3 shifts labels
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
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.

Slowest tests (20)

Runtime Test
13.076s test_response_calculation_from_seed_and_xseed (obspy.io.xseed.tests.test_core.CoreTestCase)
11.524s __init__ (obspy.taup)
8.716s test_shoot_existing_ray_param (obspy.taup.tests.test_seismic_phase.TauPySeismicPhaseTestCase)
8.121s test_ppsd_restricted_stacks (obspy.signal.tests.test_spectral_estimation.PsdTestCase)
5.844s test_relcal_different_overlaps (obspy.signal.tests.test_calibration.CalibrationTestCase)
5.320s plot_travel_times (obspy.taup.tau)
4.684s test_vs_java_iasp91 (obspy.taup.tests.test_tau.TauPyModelTestCase)
4.646s test_remove_response_plot (obspy.core.tests.test_trace.TraceTestCase)
4.642s test_regional_models (obspy.taup.tests.test_tau.TauPyModelTestCase)
4.236s test_polarization_vidale (obspy.signal.tests.test_polarization.PolarizationTestCase)
3.587s test_many_identically_named_phases (obspy.taup.tests.test_seismic_phase.TauPySeismicPhaseTestCase)
3.172s test_correlate_stream_template_and_correlation_detector (obspy.signal.tests.test_cross_correlation.CrossCorrelationTestCase)
3.157s test_auto_read_arclink_xml (obspy.io.arclink.tests.test_inventory_xml.ArclinkInventoryTestCase)
2.553s test_rotate2zne_against_lqt_different_combinations (obspy.signal.tests.test_rotate.RotateTestCase)
2.511s test_plot_tf_misfits (obspy.signal.tests.test_tf_misfit.TfPlotTestCase)
2.358s test_plot_tf_gofs (obspy.signal.tests.test_tf_misfit.TfPlotTestCase)
2.225s test_plot_travel_times_convenience (obspy.taup.tests.test_plotting.TauPyPlottingTestCase)
2.056s test_spherical_many_phases (obspy.taup.tests.test_plotting.TauPyPlottingTestCase)
1.972s __init__ (obspy.taup.tau.TauPyModel)
1.963s read (obspy.core.stream)