#112809 Report by node gh-actions covering 2131 tests from 50 modules resulted into 4 errors

Report

ObsPy version
0.0.0.dev+0.g079b88e8e0
GitHub Pull Request
https://github.com/obspy/obspy/pull/2780
Report file
XML document
Total runtime
297.3 sec
Report date/time
Feb. 12, 2021, 9:47 a.m.

System / Python

Architecture
64bit
Machine
x86_64
Node
gh-actions
Processor
x86_64
Python Compiler
GCC 9.3.0
Python Implementation
CPython
Python Version
3.8.6
Release
5.4.0-1039-azure
System
Linux
Version
#41~18.04.1-Ubuntu SMP Mon Jan 18 14:00:01 UTC 2021

Dependencies

cartopy
---
decorator
4.4.2
flake8
---
geographiclib
---
lxml.etree
4.6.2
m2crypto
---
matplotlib
3.3.4
mock
4.0.3
mpl_toolkits.basemap
---
numpy
1.20.1
pep8-naming
---
pyflakes
---
pyimgur
0.6.0
pyproj
1.9.6
requests
2.25.1
scipy
1.6.0
setuptools
49.6.0.post20210108
shapefile
2.1.3
sqlalchemy
1.3.23

Modules (50)

Module Errors / Failures Tracebacks
obspy.clients.arclink Not tested -
obspy.clients.earthworm Not tested -
obspy.clients.fdsn 4 1 2 3 4
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 - -
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 4 4

Tracebacks (4)

Traceback (most recent call last):
File "/usr/share/miniconda3/envs/test/lib/python3.8/unittest/mock.py", line 1325, in patched
return func(*newargs, **newkeywargs)
File "/home/runner/work/obspy/obspy/obspy/clients/fdsn/tests/test_mass_downloader.py", line 2176, in test_download_mseed
c.download_mseed()
File "/home/runner/work/obspy/obspy/obspy/clients/fdsn/mass_downloader/download_helpers.py", line 867, in download_mseed
pool.map(
File "/usr/share/miniconda3/envs/test/lib/python3.8/multiprocessing/pool.py", line 364, in map
return self._map_async(func, iterable, mapstar, chunksize).get()
File "/usr/share/miniconda3/envs/test/lib/python3.8/multiprocessing/pool.py", line 771, in get
raise self._value
File "/usr/share/miniconda3/envs/test/lib/python3.8/multiprocessing/pool.py", line 125, in worker
result = (True, func(*args, **kwds))
File "/usr/share/miniconda3/envs/test/lib/python3.8/multiprocessing/pool.py", line 48, in mapstar
return list(map(*args))
File "/home/runner/work/obspy/obspy/obspy/clients/fdsn/mass_downloader/download_helpers.py", line 853, in star_download_mseed
ret_val = utils.download_and_split_mseed_bulk(
File "/usr/share/miniconda3/envs/test/lib/python3.8/unittest/mock.py", line 1081, in __call__
return self._mock_call(*args, **kwargs)
File "/usr/share/miniconda3/envs/test/lib/python3.8/unittest/mock.py", line 1085, in _mock_call
return self._execute_mock_call(*args, **kwargs)
File "/usr/share/miniconda3/envs/test/lib/python3.8/unittest/mock.py", line 1140, in _execute_mock_call
raise effect
http.client.HTTPException: disconnected
Traceback (most recent call last):
File "/home/runner/work/obspy/obspy/obspy/clients/fdsn/tests/test_client.py", line 1613, in test_eida_token_resolution
user, password = client._resolve_eida_token(token=token)
File "/home/runner/work/obspy/obspy/obspy/clients/fdsn/client.py", line 394, in _resolve_eida_token
response = self._download(url=url, data=token.encode(),
File "/home/runner/work/obspy/obspy/obspy/clients/fdsn/client.py", line 1412, in _download
raise_on_error(code, data)
File "/home/runner/work/obspy/obspy/obspy/clients/fdsn/client.py", line 1747, in raise_on_error
raise FDSNBadRequestException(msg, server_info)
obspy.clients.fdsn.header.FDSNBadRequestException: Bad request. If you think your request was valid please contact the developers.
HTTP Status code: 400
Detailed response of server:
Error 400: Bad Request
token is expired
Usage details are available from /fdsnws/dataselect/1/
Request:
/fdsnws/dataselect/1/auth
Request Submitted:
2021-02-12T15:43:18.996233
Service Version:
1.1.0
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.clients.fdsn.client.Client.get_events
File "/home/runner/work/obspy/obspy/obspy/clients/fdsn/client.py", line 412, in get_events
----------------------------------------------------------------------
File "/home/runner/work/obspy/obspy/obspy/clients/fdsn/client.py", line 418, in obspy.clients.fdsn.client.Client.get_events
Failed example:
print(cat)
Expected:
1 Event(s) in Catalog:
1997-10-14T09:53:11.070000Z | -22.145, -176.720 | 7.8 mw
Got:
1 Event(s) in Catalog:
1997-10-14T09:53:11.070000Z | -22.145, -176.720 | 7.8 mw
----------------------------------------------------------------------
File "/home/runner/work/obspy/obspy/obspy/clients/fdsn/client.py", line 429, in obspy.clients.fdsn.client.Client.get_events
Failed example:
print(cat)
Expected:
3 Event(s) in Catalog:
2001-01-07T02:55:59.290000Z | +9.801, +76.548 | 4.9 mb
2001-01-07T02:35:35.170000Z | -21.291, -68.308 | 4.4 mb
2001-01-07T00:09:25.630000Z | +22.946, -107.011 | 4.0 mb
Got:
3 Event(s) in Catalog:
2001-01-07T02:55:59.290000Z | +9.801, +76.548 | 4.9 mb
2001-01-07T02:35:35.170000Z | -21.291, -68.308 | 4.4 mb
2001-01-07T00:09:25.630000Z | +22.946, -107.011 | 4.0 mb
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.clients.fdsn.client.Client.get_stations_bulk
File "/home/runner/work/obspy/obspy/obspy/clients/fdsn/client.py", line 1053, in get_stations_bulk
----------------------------------------------------------------------
File "/home/runner/work/obspy/obspy/obspy/clients/fdsn/client.py", line 1085, in obspy.clients.fdsn.client.Client.get_stations_bulk
Failed example:
print(inv) # doctest: +ELLIPSIS +NORMALIZE_WHITESPACE
Expected:
Inventory created at ...
Created by: IRIS WEB SERVICE: fdsnws-station | version: ...
...
Sending institution: IRIS-DMC (IRIS-DMC)
Contains:
Networks (2):
GR, IU
Stations (2):
GR.GRA1 (GRAFENBERG ARRAY, BAYERN)
IU.ANMO (Albuquerque, New Mexico, USA)
Channels (0):
Got:
Inventory created at 2021-02-12T15:42:35.000000Z
	Created by: IRIS WEB SERVICE: fdsnws-station | version: 1.1.47
		
	Sending institution: IRIS-DMC (IRIS-DMC)
	Contains:
		Networks (2):
			GR, IU
		Stations (2):
			GR.GRA1 (GRAFENBERG ARRAY, BAYERN)
			IU.ANMO (Albuquerque, New Mexico, USA)
		Channels (0):
<BLANKLINE>
----------------------------------------------------------------------
File "/home/runner/work/obspy/obspy/obspy/clients/fdsn/client.py", line 1115, in obspy.clients.fdsn.client.Client.get_stations_bulk
Failed example:
print(inv) # doctest: +ELLIPSIS +NORMALIZE_WHITESPACE
Expected:
Inventory created at ...
Created by: IRIS WEB SERVICE: fdsnws-station | version: ...
...
Sending institution: IRIS-DMC (IRIS-DMC)
Contains:
Networks (2):
GR, IU
Stations (2):
GR.GRA1 (GRAFENBERG ARRAY, BAYERN)
IU.ANMO (Albuquerque, New Mexico, USA)
Channels (5):
GR.GRA1..BHZ, GR.GRA1..BHN, GR.GRA1..BHE, IU.ANMO.00.BHZ,
IU.ANMO.10.BHZ
Got:
Inventory created at 2021-02-12T15:42:36.000000Z
	Created by: IRIS WEB SERVICE: fdsnws-station | version: 1.1.47
		
	Sending institution: IRIS-DMC (IRIS-DMC)
	Contains:
		Networks (2):
			GR, IU
		Stations (2):
			GR.GRA1 (GRAFENBERG ARRAY, BAYERN)
			IU.ANMO (Albuquerque, New Mexico, USA)
		Channels (5):
			GR.GRA1..BHZ, GR.GRA1..BHN, GR.GRA1..BHE, IU.ANMO.00.BHZ,
			IU.ANMO.10.BHZ

Skipped tests (34)

Submodule Test Skip message
core test_flake8 (obspy.core.tests.test_code_formatting.CodeFormattingTestCase) Formatting tests require at least flake8 3.0.
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_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_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
14.892s test_get_stations_integration_test (obspy.clients.fdsn.tests.test_eidaws_routing_client.EIDAWSRoutingClientTestCase)
10.554s test_response_calculation_from_seed_and_xseed (obspy.io.xseed.tests.test_core.CoreTestCase)
10.172s __init__ (obspy.taup)
8.779s test_get_waveforms_integration_test (obspy.clients.fdsn.tests.test_eidaws_routing_client.EIDAWSRoutingClientTestCase)
8.469s test_ppsd_restricted_stacks (obspy.signal.tests.test_spectral_estimation.PsdTestCase)
7.321s test_shoot_existing_ray_param (obspy.taup.tests.test_seismic_phase.TauPySeismicPhaseTestCase)
6.550s test_plot_multiple_traces (obspy.imaging.tests.test_waveform.WaveformTestCase)
6.485s test_irisph5_event (obspy.clients.fdsn.tests.test_client.ClientTestCase)
5.117s test_relcal_different_overlaps (obspy.signal.tests.test_calibration.CalibrationTestCase)
5.070s plot_travel_times (obspy.taup.tau)
4.668s test_dataselect_bulk (obspy.clients.fdsn.tests.test_client.ClientTestCase)
4.002s test_regional_models (obspy.taup.tests.test_tau.TauPyModelTestCase)
4.001s test_remove_response_plot (obspy.core.tests.test_trace.TraceTestCase)
3.876s test_vs_java_iasp91 (obspy.taup.tests.test_tau.TauPyModelTestCase)
3.029s test_many_identically_named_phases (obspy.taup.tests.test_seismic_phase.TauPySeismicPhaseTestCase)
2.993s test_polarization_vidale (obspy.signal.tests.test_polarization.PolarizationTestCase)
2.942s read (obspy.core.stream)
2.925s test_iris_example_queries_dataselect (obspy.clients.fdsn.tests.test_client.ClientTestCase)
2.731s test_auto_read_arclink_xml (obspy.io.arclink.tests.test_inventory_xml.ArclinkInventoryTestCase)
2.709s test_correlate_stream_template_and_correlation_detector (obspy.signal.tests.test_cross_correlation.CrossCorrelationTestCase)