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

Report

ObsPy version
1.2.0rc5.post0+8.gc3756b7eae
GitHub Pull Request
https://github.com/obspy/obspy/pull/2555
Report file
XML document
Total runtime
273.0 sec
Report date/time
Feb. 13, 2020, 9:30 a.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.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.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.7/site-packages/obspy/clients/fdsn/tests/test_client.py", line 940, in test_dataselect_bulk
client.get_waveforms_bulk(bulk, filename=tf.name)
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/fdsn/client.py", line 1024, in get_waveforms_bulk
data=bulk)
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/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.7/site-packages/obspy/clients/fdsn/client.py", line 1728, in raise_on_error
server_info)
obspy.clients.fdsn.header.FDSNException: 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 1498, 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 387, 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 1397, 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 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-13T15:26:05.580578
Service Version:
1.2.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 510, in test_iris_example_queries_station
maxlatitude=55, minlongitude=170, maxlongitude=-170, network="IM")
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/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.7/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.7/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-13T15:26:15
Service version:1.1.41
build:1.2.1
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 698, in test_iris_example_queries_station_discover_services_false
maxlatitude=55, minlongitude=170, maxlongitude=-170, network="IM")
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/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.7/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.7/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-13T15:26:16
Service version:1.1.41
build:1.2.1
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.__init__
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/fdsn/__init__.py", line 1, in __init__
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/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.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 1038, in get_stations_bulk
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/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-13T15:25:32.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.7/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-13T15:25:32.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.7/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)']}
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 1247, 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 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
11.675s test_get_stations_integration_test (obspy.clients.fdsn.tests.test_eidaws_routing_client.EIDAWSRoutingClientTestCase)
9.642s test_response_calculation_from_seed_and_xseed (obspy.io.xseed.tests.test_core.CoreTestCase)
8.563s __init__ (obspy.taup)
8.473s test_ppsd_restricted_stacks (obspy.signal.tests.test_spectral_estimation.PsdTestCase)
6.705s test_shoot_existing_ray_param (obspy.taup.tests.test_seismic_phase.TauPySeismicPhaseTestCase)
6.442s test_dataselect_bulk (obspy.clients.fdsn.tests.test_client.ClientTestCase)
5.151s test_plot_multiple_traces (obspy.imaging.tests.test_waveform.WaveformTestCase)
4.776s test_relcal_different_overlaps (obspy.signal.tests.test_calibration.CalibrationTestCase)
4.220s plot_travel_times (obspy.taup.tau)
3.520s test_iris_example_queries_dataselect_discover_services_false (obspy.clients.fdsn.tests.test_client.ClientTestCase)
3.497s test_iris_example_queries_dataselect (obspy.clients.fdsn.tests.test_client.ClientTestCase)
3.453s test_vs_java_iasp91 (obspy.taup.tests.test_tau.TauPyModelTestCase)
3.347s test_regional_models (obspy.taup.tests.test_tau.TauPyModelTestCase)
3.204s test_redirection_auth (obspy.clients.fdsn.tests.test_client.ClientTestCase)
3.007s test_polarization_vidale (obspy.signal.tests.test_polarization.PolarizationTestCase)
2.874s test_rotate2zne_against_lqt_different_combinations (obspy.signal.tests.test_rotate.RotateTestCase)
2.848s test_remove_response_plot (obspy.core.tests.test_trace.TraceTestCase)
2.698s test_correlate_stream_template_and_correlation_detector (obspy.signal.tests.test_cross_correlation.CrossCorrelationTestCase)
2.660s test_auto_read_arclink_xml (obspy.io.arclink.tests.test_inventory_xml.ArclinkInventoryTestCase)
2.652s test_many_identically_named_phases (obspy.taup.tests.test_seismic_phase.TauPySeismicPhaseTestCase)