#108855 Report by node travis-ci covering 2096 tests from 49 modules resulted into 8 errors

Report

ObsPy version
1.2.0rc5.post0+9.gc9f55110f7
GitHub Pull Request
https://github.com/obspy/obspy/pull/2555
Report file
XML document
Total runtime
255.4 sec
Report date/time
Feb. 13, 2020, 12:12 p.m.

System / Python

Architecture
64bit
Machine
x86_64
Node
travis-ci
Processor
x86_64
Python Compiler
GCC 7.3.0
Python Implementation
CPython
Python Version
3.8.1
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.1
flake8
---
future
0.18.2
geographiclib
1.50
lxml.etree
4.5.0
m2crypto
---
matplotlib
3.1.3
mock
3.0.5
mpl_toolkits.basemap
1.2.1
numpy
1.18.1
pep8-naming
---
pyflakes
---
pyimgur
0.5.2
pyproj
1.9.6
requests
2.22.0
scipy
1.4.1
setuptools
45.2.0.post20200209
shapefile
2.1.0
sqlalchemy
1.3.13

Modules (49)

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

Tracebacks (8)

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 923, in test_dataselect_bulk
got = client.get_waveforms_bulk(bulk)
File "/home/travis/miniconda/envs/test-environment/lib/python3.8/site-packages/obspy/clients/fdsn/client.py", line 1023, 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 1397, 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 FDSNException("Unauthorized, authentication required.",
obspy.clients.fdsn.header.FDSNException: 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 1498, 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 386, 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 1397, 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 1725, in raise_on_error
raise FDSNException(msg, server_info)
obspy.clients.fdsn.header.FDSNException: Bad request. If you think your request was valid please contact the developers.
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-02-13T18:08:07.26485
Service Version:
1.2.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 507, in test_iris_example_queries_station
inv = client.get_stations(
File "/home/travis/miniconda/envs/test-environment/lib/python3.8/site-packages/obspy/clients/fdsn/client.py", line 725, in get_stations
data_stream = self._download(url)
File "/home/travis/miniconda/envs/test-environment/lib/python3.8/site-packages/obspy/clients/fdsn/client.py", line 1397, 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 1725, in raise_on_error
raise FDSNException(msg, server_info)
obspy.clients.fdsn.header.FDSNException: Bad request. If you think your request was valid please contact the developers.
Detailed response of server:
Error 400 BAD_REQUEST: Invalid input parameter: Invalid min/maxlongitude: (170.0) must be smaller than (-170.0)
Request:
http://service.iris.edu/fdsnws/station/1/query?network=IM&minlatitude=15.0&maxlatitude=55.0&minlongitude=170.0&maxlongitude=-170.0&startafter=2003-01-07T00%3A00%3A00.000000&endbefore=2011-02-07T00%3A00%3A00.000000
Request Submitted:
2020-02-13T18:08:16
Service version:1.1.41
build:1.2.1
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 695, in test_iris_example_queries_station_discover_services_false
inv = client.get_stations(
File "/home/travis/miniconda/envs/test-environment/lib/python3.8/site-packages/obspy/clients/fdsn/client.py", line 725, in get_stations
data_stream = self._download(url)
File "/home/travis/miniconda/envs/test-environment/lib/python3.8/site-packages/obspy/clients/fdsn/client.py", line 1397, 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 1725, in raise_on_error
raise FDSNException(msg, server_info)
obspy.clients.fdsn.header.FDSNException: Bad request. If you think your request was valid please contact the developers.
Detailed response of server:
Error 400 BAD_REQUEST: Invalid input parameter: Invalid min/maxlongitude: (170.0) must be smaller than (-170.0)
Request:
http://service.iris.edu/fdsnws/station/1/query?network=IM&minlatitude=15.0&maxlatitude=55.0&minlongitude=170.0&maxlongitude=-170.0&startafter=2003-01-07T00%3A00%3A00.000000&endbefore=2011-02-07T00%3A00%3A00.000000
Request Submitted:
2020-02-13T18:08:16
Service version:1.1.41
build:1.2.1
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.8/doctest.py", line 2197, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.clients.fdsn.__init__
File "/home/travis/miniconda/envs/test-environment/lib/python3.8/site-packages/obspy/clients/fdsn/__init__.py", line 1, in __init__
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python3.8/site-packages/obspy/clients/fdsn/__init__.py", line 35, in obspy.clients.fdsn.__init__
Failed example:
for key in sorted(URL_MAPPINGS.keys()):
print("{0:<7} {1}".format(key, URL_MAPPINGS[key]))
Expected:
BGR http://eida.bgr.de
EMSC http://www.seismicportal.eu
ETH http://eida.ethz.ch
GEONET http://service.geonet.org.nz
GFZ http://geofon.gfz-potsdam.de
ICGC http://ws.icgc.cat
INGV http://webservices.ingv.it
IPGP http://ws.ipgp.fr
IRIS http://service.iris.edu
ISC http://isc-mirror.iris.washington.edu
KNMI http://rdsa.knmi.nl
KOERI http://eida.koeri.boun.edu.tr
LMU http://erde.geophysik.uni-muenchen.de
NCEDC http://service.ncedc.org
NIEP http://eida-sc3.infp.ro
NOA http://eida.gein.noa.gr
ODC http://www.orfeus-eu.org
ORFEUS http://www.orfeus-eu.org
RESIF http://ws.resif.fr
RASPISHAKE http://fdsnws.raspberryshakedata.com
SCEDC http://service.scedc.caltech.edu
TEXNET http://rtserve.beg.utexas.edu
USGS http://earthquake.usgs.gov
USP http://sismo.iag.usp.br
Got:
BGR http://eida.bgr.de
EMSC http://www.seismicportal.eu
ETH http://eida.ethz.ch
GEONET http://service.geonet.org.nz
GFZ http://geofon.gfz-potsdam.de
ICGC http://ws.icgc.cat
INGV http://webservices.ingv.it
IPGP http://ws.ipgp.fr
IRIS http://service.iris.edu
ISC http://isc-mirror.iris.washington.edu
KNMI http://rdsa.knmi.nl
KOERI http://eida.koeri.boun.edu.tr
LMU http://erde.geophysik.uni-muenchen.de
NCEDC http://service.ncedc.org
NIEP http://eida-sc3.infp.ro
NOA http://eida.gein.noa.gr
ODC http://www.orfeus-eu.org
ORFEUS http://www.orfeus-eu.org
RASPISHAKE http://fdsnws.raspberryshakedata.com
RESIF http://ws.resif.fr
SCEDC http://service.scedc.caltech.edu
TEXNET http://rtserve.beg.utexas.edu
USGS http://earthquake.usgs.gov
USP http://sismo.iag.usp.br
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.8/doctest.py", line 2197, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.clients.fdsn.client.Client.get_stations
File "/home/travis/miniconda/envs/test-environment/lib/python3.8/site-packages/obspy/clients/fdsn/client.py", line 545, in get_stations
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python3.8/site-packages/obspy/clients/fdsn/client.py", line 592, in obspy.clients.fdsn.client.Client.get_stations
Failed example:
inventory = client.get_stations(
starttime=starttime, endtime=endtime,
network="IU", sta="ANMO", loc="00", channel="*Z",
level="response")
Exception raised:
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.8/doctest.py", line 1329, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.clients.fdsn.client.Client.get_stations[6]>", line 1, in <module>
inventory = client.get_stations(
File "/home/travis/miniconda/envs/test-environment/lib/python3.8/site-packages/obspy/clients/fdsn/client.py", line 720, in get_stations
setup_query_dict('station', locs, kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.8/site-packages/obspy/clients/fdsn/client.py", line 1839, in setup_query_dict
for key in kwargs.keys():
RuntimeError: dictionary keys changed during iteration
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python3.8/site-packages/obspy/clients/fdsn/client.py", line 596, in obspy.clients.fdsn.client.Client.get_stations
Failed example:
print(inventory) # doctest: +ELLIPSIS +NORMALIZE_WHITESPACE
Expected:
Inventory created at ...
Created by: IRIS WEB SERVICE: fdsnws-station | version: ...
...
Sending institution: IRIS-DMC (IRIS-DMC)
Contains:
Networks (1):
IU
Stations (1):
IU.ANMO (Albuquerque, New Mexico, USA)
Channels (4):
IU.ANMO.00.BHZ, IU.ANMO.00.LHZ, IU.ANMO.00.UHZ,
IU.ANMO.00.VHZ
Got:
Inventory created at 2020-02-13T18:07:44.000000Z
	Created by: IRIS WEB SERVICE: fdsnws-station | version: 1.1.41
		 http://service.iris.edu/fdsnws/station/1/query?starttime=2001-01-01...
	Sending institution: IRIS-DMC (IRIS-DMC)
	Contains:
		Networks (1):
			IU
		Stations (3):
			IU.ADK (Adak, Aleutian Islands, Alaska)
			IU.AFI (Afiamalu, Samoa)
			IU.ANMO (Albuquerque, New Mexico, USA)
		Channels (0):
<BLANKLINE>
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.8/doctest.py", line 2197, 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 1038, in get_stations_bulk
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python3.8/site-packages/obspy/clients/fdsn/client.py", line 1070, 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-02-13T18:07:44.000000Z
	Created by: IRIS WEB SERVICE: fdsnws-station | version: 1.1.41
		
	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 1100, 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-02-13T18:07:44.000000Z
	Created by: IRIS WEB SERVICE: fdsnws-station | version: 1.1.41
		
	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/site-packages/obspy/clients/fdsn/tests/test_federator_routing_client.py", line 358, in test_get_stations_integration_test
self.assertEqual(inv.get_contents(), inv2.get_contents())
AssertionError: {'networks': ['AE', 'SY', 'TA'], 'stations': ['AE.W18A ([107 chars]: []} != {'networks': ['TA'], 'stations': ['TA.W18A (Petrified Fo[28 chars]: []}
{'channels': [],
- 'networks': ['AE', 'SY', 'TA'],
? ------------
+ 'networks': ['TA'],
- 'stations': ['AE.W18A (Petrified Forest, AZ, USA)',
? - ^
+ 'stations': ['TA.W18A (Petrified Forest, AZ, USA)']}
? + ^^
- 'SY.W18A (W18A synthetic)',
- 'TA.W18A (Petrified Forest, AZ, USA)']}

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 campatible with basemap
core test_catalog_plot_local (obspy.core.tests.test_event.CatalogBasemapTestCase) matplotlib 3.0.1 is not campatible with basemap
core test_catalog_plot_ortho (obspy.core.tests.test_event.CatalogBasemapTestCase) matplotlib 3.0.1 is not campatible with basemap
core test_catalog_plot_ortho_longitude_wrap (obspy.core.tests.test_event.CatalogBasemapTestCase) matplotlib 3.0.1 is not campatible with basemap
core test_plot_catalog_before_1900 (obspy.core.tests.test_event.CatalogBasemapTestCase) matplotlib 3.0.1 is not campatible 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 campatible 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
9.661s test_response_calculation_from_seed_and_xseed (obspy.io.xseed.tests.test_core.CoreTestCase)
8.743s __init__ (obspy.taup)
8.430s test_ppsd_restricted_stacks (obspy.signal.tests.test_spectral_estimation.PsdTestCase)
6.697s test_shoot_existing_ray_param (obspy.taup.tests.test_seismic_phase.TauPySeismicPhaseTestCase)
4.927s test_plot_multiple_traces (obspy.imaging.tests.test_waveform.WaveformTestCase)
4.627s test_relcal_different_overlaps (obspy.signal.tests.test_calibration.CalibrationTestCase)
4.374s test_get_waveforms_integration_test (obspy.clients.fdsn.tests.test_eidaws_routing_client.EIDAWSRoutingClientTestCase)
4.181s plot_travel_times (obspy.taup.tau)
3.899s test_dataselect_bulk (obspy.clients.fdsn.tests.test_client.ClientTestCase)
3.643s test_vs_java_iasp91 (obspy.taup.tests.test_tau.TauPyModelTestCase)
3.489s read (obspy.core.stream)
3.488s test_regional_models (obspy.taup.tests.test_tau.TauPyModelTestCase)
3.289s test_iris_example_queries_dataselect (obspy.clients.fdsn.tests.test_client.ClientTestCase)
3.233s test_iris_example_queries_dataselect_discover_services_false (obspy.clients.fdsn.tests.test_client.ClientTestCase)
3.185s test_polarization_vidale (obspy.signal.tests.test_polarization.PolarizationTestCase)
3.041s test_rotate2zne_against_lqt_different_combinations (obspy.signal.tests.test_rotate.RotateTestCase)
2.809s test_redirection_auth (obspy.clients.fdsn.tests.test_client.ClientTestCase)
2.799s test_remove_response_plot (obspy.core.tests.test_trace.TraceTestCase)
2.652s test_many_identically_named_phases (obspy.taup.tests.test_seismic_phase.TauPySeismicPhaseTestCase)
2.552s test_get_stations_integration_test (obspy.clients.fdsn.tests.test_eidaws_routing_client.EIDAWSRoutingClientTestCase)