#111452 Report by node travis-ci covering 2114 tests from 50 modules resulted into 6 errors

Report

ObsPy version
1.2.2.post0+88.ga3d9b0920c
GitHub Pull Request
https://github.com/obspy/obspy/pull/2670
Report file
XML document
Total runtime
256.6 sec
Report date/time
July 3, 2020, 4:13 a.m.

System / Python

Architecture
64bit
Machine
x86_64
Node
travis-ci
Processor
x86_64
Python Compiler
GCC 7.5.0
Python Implementation
CPython
Python Version
3.8.3
Release
4.15.0-1028-gcp
System
Linux
Version
#29~16.04.1-Ubuntu SMP Tue Feb 12 16:31:10 UTC 2019

Dependencies

cartopy
---
decorator
4.4.2
flake8
---
geographiclib
1.50
lxml.etree
4.5.1
m2crypto
---
matplotlib
3.2.2
mock
---
mpl_toolkits.basemap
1.2.1
numpy
1.18.5
pep8-naming
---
pyflakes
---
pyimgur
0.6.0
pyproj
1.9.6
requests
2.24.0
scipy
1.5.0
setuptools
47.3.1.post20200616
shapefile
2.1.0
sqlalchemy
1.3.18

Modules (50)

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

Tracebacks (6)

Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.8/unittest/mock.py", line 1325, in patched
return func(*newargs, **newkeywargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.8/site-packages/obspy/clients/fdsn/tests/test_mass_downloader.py", line 2176, in test_download_mseed
c.download_mseed()
File "/home/travis/miniconda/envs/test-environment/lib/python3.8/site-packages/obspy/clients/fdsn/mass_downloader/download_helpers.py", line 868, in download_mseed
pool.map(
File "/home/travis/miniconda/envs/test-environment/lib/python3.8/multiprocessing/pool.py", line 364, in map
return self._map_async(func, iterable, mapstar, chunksize).get()
File "/home/travis/miniconda/envs/test-environment/lib/python3.8/multiprocessing/pool.py", line 771, in get
raise self._value
File "/home/travis/miniconda/envs/test-environment/lib/python3.8/multiprocessing/pool.py", line 125, in worker
result = (True, func(*args, **kwds))
File "/home/travis/miniconda/envs/test-environment/lib/python3.8/multiprocessing/pool.py", line 48, in mapstar
return list(map(*args))
File "/home/travis/miniconda/envs/test-environment/lib/python3.8/site-packages/obspy/clients/fdsn/mass_downloader/download_helpers.py", line 854, in star_download_mseed
ret_val = utils.download_and_split_mseed_bulk(
File "/home/travis/miniconda/envs/test-environment/lib/python3.8/unittest/mock.py", line 1081, in __call__
return self._mock_call(*args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.8/unittest/mock.py", line 1085, in _mock_call
return self._execute_mock_call(*args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/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/travis/miniconda/envs/test-environment/lib/python3.8/site-packages/obspy/clients/fdsn/tests/test_client.py", line 922, in test_dataselect_bulk
client.get_waveforms_bulk(bulk, filename=tf.name, **params)
File "/home/travis/miniconda/envs/test-environment/lib/python3.8/site-packages/obspy/clients/fdsn/client.py", line 1018, in get_waveforms_bulk
data_stream = self._download(url,
File "/home/travis/miniconda/envs/test-environment/lib/python3.8/site-packages/obspy/clients/fdsn/client.py", line 1392, in _download
raise_on_error(code, data)
File "/home/travis/miniconda/envs/test-environment/lib/python3.8/site-packages/obspy/clients/fdsn/client.py", line 1727, in raise_on_error
raise FDSNAuthenticationException("Unauthorized, authentication "
obspy.clients.fdsn.header.FDSNAuthenticationException: Unauthorized, authentication required.
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.8/site-packages/obspy/clients/fdsn/tests/test_client.py", line 1552, in test_eida_token_resolution
user, password = client._resolve_eida_token(token=token)
File "/home/travis/miniconda/envs/test-environment/lib/python3.8/site-packages/obspy/clients/fdsn/client.py", line 381, in _resolve_eida_token
response = self._download(url=url, data=token.encode(),
File "/home/travis/miniconda/envs/test-environment/lib/python3.8/site-packages/obspy/clients/fdsn/client.py", line 1392, in _download
raise_on_error(code, data)
File "/home/travis/miniconda/envs/test-environment/lib/python3.8/site-packages/obspy/clients/fdsn/client.py", line 1720, in raise_on_error
raise FDSNAuthenticationException('Token is expired',
obspy.clients.fdsn.header.FDSNAuthenticationException: Token is expired
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:
2020-07-03T09:09:58.719559
Service Version:
1.1.0
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.8/site-packages/obspy/clients/fdsn/tests/test_client.py", line 339, in test_trim_stream_after_get_waveform
stream = c.get_waveforms('G', 'PEL', '*', 'LHZ', starttime, endtime)
File "/home/travis/miniconda/envs/test-environment/lib/python3.8/site-packages/obspy/clients/fdsn/client.py", line 825, in get_waveforms
raise ValueError(msg)
ValueError: The current client does not have a dataselect service.
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/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/travis/miniconda/envs/test-environment/lib/python3.8/site-packages/obspy/clients/fdsn/client.py", line 1033, in get_stations_bulk
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python3.8/site-packages/obspy/clients/fdsn/client.py", line 1065, 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 2020-07-03T09:09:33.000000Z
	Created by: IRIS WEB SERVICE: fdsnws-station | version: 1.1.45
		
	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/travis/miniconda/envs/test-environment/lib/python3.8/site-packages/obspy/clients/fdsn/client.py", line 1095, 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 2020-07-03T09:09:33.000000Z
	Created by: IRIS WEB SERVICE: fdsnws-station | version: 1.1.45
		
	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
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.8/unittest/mock.py", line 1325, in patched
return func(*newargs, **newkeywargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.8/site-packages/obspy/clients/fdsn/tests/test_client.py", line 1257, in test_download_urls_for_custom_mapping
self.assertTrue("Could not parse" in str(warning) or
AssertionError: False is not true

Skipped tests (25)

Submodule Test Skip message
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
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
geodetics test_gps_2_dist_azimuth_bug150 (obspy.geodetics.tests.test_util_geodetics.UtilGeodeticsTestCase) Module geographiclib is installed, not using calc_vincenty_inverse
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

Slowest tests (20)

Runtime Test
15.008s test_trim_stream_after_get_waveform (obspy.clients.fdsn.tests.test_client.ClientTestCase)
9.311s test_response_calculation_from_seed_and_xseed (obspy.io.xseed.tests.test_core.CoreTestCase)
7.905s __init__ (obspy.taup)
6.682s test_get_stations_integration_test (obspy.clients.fdsn.tests.test_eidaws_routing_client.EIDAWSRoutingClientTestCase)
6.264s test_shoot_existing_ray_param (obspy.taup.tests.test_seismic_phase.TauPySeismicPhaseTestCase)
5.973s test_ppsd_restricted_stacks (obspy.signal.tests.test_spectral_estimation.PsdTestCase)
4.871s test_plot_multiple_traces (obspy.imaging.tests.test_waveform.WaveformTestCase)
4.668s test_relcal_different_overlaps (obspy.signal.tests.test_calibration.CalibrationTestCase)
3.755s plot_travel_times (obspy.taup.tau)
3.386s test_polarization_vidale (obspy.signal.tests.test_polarization.PolarizationTestCase)
3.269s test_regional_models (obspy.taup.tests.test_tau.TauPyModelTestCase)
3.198s test_vs_java_iasp91 (obspy.taup.tests.test_tau.TauPyModelTestCase)
2.943s test_iris_example_queries_dataselect (obspy.clients.fdsn.tests.test_client.ClientTestCase)
2.924s test_iris_example_queries_dataselect_discover_services_false (obspy.clients.fdsn.tests.test_client.ClientTestCase)
2.788s test_redirection_auth (obspy.clients.fdsn.tests.test_client.ClientTestCase)
2.703s test_remove_response_plot (obspy.core.tests.test_trace.TraceTestCase)
2.629s test_many_identically_named_phases (obspy.taup.tests.test_seismic_phase.TauPySeismicPhaseTestCase)
2.461s test_auto_read_arclink_xml (obspy.io.arclink.tests.test_inventory_xml.ArclinkInventoryTestCase)
2.446s test_rotate2zne_against_lqt_different_combinations (obspy.signal.tests.test_rotate.RotateTestCase)
2.377s test_correlate_stream_template_and_correlation_detector (obspy.signal.tests.test_cross_correlation.CrossCorrelationTestCase)