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

Report

ObsPy version
1.2.2.post0+95.g6e7553d24f
GitHub Pull Request
https://github.com/obspy/obspy/pull/2670
Report file
XML document
Total runtime
364.1 sec
Report date/time
July 7, 2020, 4:44 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.7.6
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
49.1.0.post20200704
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.7/unittest/mock.py", line 1255, in patched
return func(*args, **keywargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/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.7/site-packages/obspy/clients/fdsn/mass_downloader/download_helpers.py", line 870, in download_mseed
[(self.client, self.client_name, chunk) for chunk in chunks])
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/multiprocessing/pool.py", line 268, in map
return self._map_async(func, iterable, mapstar, chunksize).get()
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/multiprocessing/pool.py", line 657, in get
raise self._value
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/multiprocessing/pool.py", line 121, in worker
result = (True, func(*args, **kwds))
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/multiprocessing/pool.py", line 44, in mapstar
return list(map(*args))
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/fdsn/mass_downloader/download_helpers.py", line 855, in star_download_mseed
*args, logger=self.logger)
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/unittest/mock.py", line 1011, in __call__
return _mock_self._mock_call(*args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/unittest/mock.py", line 1071, in _mock_call
raise effect
http.client.HTTPException: disconnected
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/fdsn/tests/test_client.py", line 923, in test_dataselect_bulk
got = client.get_waveforms_bulk(bulk, **params)
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/fdsn/client.py", line 1025, in get_waveforms_bulk
data=bulk)
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/fdsn/client.py", line 1398, in _download
raise_on_error(code, data)
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/fdsn/client.py", line 1730, in raise_on_error
"required.", server_info)
obspy.clients.fdsn.header.FDSNUnauthorizedException: Unauthorized, authentication required.
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/fdsn/tests/test_client.py", line 1601, in test_eida_token_resolution
user, password = client._resolve_eida_token(token=token)
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/fdsn/client.py", line 388, in _resolve_eida_token
use_gzip=True, return_string=True)
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/fdsn/client.py", line 1398, in _download
raise_on_error(code, data)
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/fdsn/client.py", line 1727, 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:
2020-07-07T09:40:14.438623
Service Version:
1.1.0
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/fdsn/tests/test_client.py", line 1397, in test_redirection_auth
endtime=UTCDateTime("2010-02-27T06:30:01.000"))
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/fdsn/client.py", line 845, in get_waveforms
data_stream = self._download(url, use_gzip=False)
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/fdsn/client.py", line 1398, in _download
raise_on_error(code, data)
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/fdsn/client.py", line 1730, in raise_on_error
"required.", server_info)
obspy.clients.fdsn.header.FDSNUnauthorizedException: Unauthorized, authentication required.
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 2196, 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.7/site-packages/obspy/clients/fdsn/client.py", line 1039, in get_stations_bulk
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/fdsn/client.py", line 1071, 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-07T09:37:56.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.7/site-packages/obspy/clients/fdsn/client.py", line 1101, 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-07T09:37:56.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.7/unittest/mock.py", line 1255, in patched
return func(*args, **keywargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/fdsn/tests/test_client.py", line 1266, in test_download_urls_for_custom_mapping
"cannot deal with" in str(warning))
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
68.639s test_get_stations_integration_test (obspy.clients.fdsn.tests.test_eidaws_routing_client.EIDAWSRoutingClientTestCase)
51.773s test_get_waveforms_integration_test (obspy.clients.fdsn.tests.test_eidaws_routing_client.EIDAWSRoutingClientTestCase)
9.160s test_response_calculation_from_seed_and_xseed (obspy.io.xseed.tests.test_core.CoreTestCase)
7.956s __init__ (obspy.taup)
6.223s test_shoot_existing_ray_param (obspy.taup.tests.test_seismic_phase.TauPySeismicPhaseTestCase)
5.819s test_ppsd_restricted_stacks (obspy.signal.tests.test_spectral_estimation.PsdTestCase)
5.012s test_plot_multiple_traces (obspy.imaging.tests.test_waveform.WaveformTestCase)
4.713s test_relcal_different_overlaps (obspy.signal.tests.test_calibration.CalibrationTestCase)
4.034s test_iris_example_queries_dataselect (obspy.clients.fdsn.tests.test_client.ClientTestCase)
3.680s plot_travel_times (obspy.taup.tau)
3.468s test_iris_example_queries_dataselect_discover_services_false (obspy.clients.fdsn.tests.test_client.ClientTestCase)
3.316s test_polarization_vidale (obspy.signal.tests.test_polarization.PolarizationTestCase)
3.301s test_regional_models (obspy.taup.tests.test_tau.TauPyModelTestCase)
3.184s test_vs_java_iasp91 (obspy.taup.tests.test_tau.TauPyModelTestCase)
3.025s test_redirection (obspy.clients.fdsn.tests.test_client.ClientTestCase)
2.964s get_waveforms_bulk (obspy.clients.fdsn.client.Client)
2.735s test_remove_response_plot (obspy.core.tests.test_trace.TraceTestCase)
2.582s get_waveforms (obspy.clients.fdsn.client.Client)
2.551s test_many_identically_named_phases (obspy.taup.tests.test_seismic_phase.TauPySeismicPhaseTestCase)
2.432s test_correlate_stream_template_and_correlation_detector (obspy.signal.tests.test_cross_correlation.CrossCorrelationTestCase)