#102573 Report by node travis-ci covering 2090 tests from 56 modules resulted into 7 errors

Report

ObsPy version
1.1.1.post0+534.g5ed796d252.o…
GitHub Pull Request
-
Report file
XML document
Total runtime
808.0 sec
Report date/time
March 1, 2019, 9:10 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.2
Release
4.4.0-101-generic
System
Linux
Version
#124~14.04.1-Ubuntu SMP Fri Nov 10 19:05:36 UTC 2017

Dependencies

cartopy
---
decorator
4.3.2
flake8
---
future
0.17.1
geographiclib
1.49
lxml.etree
4.3.1
m2crypto
---
matplotlib
3.0.2
mock
2.0.0
mpl_toolkits.basemap
1.1.0
numpy
1.15.4
pep8-naming
---
pyflakes
---
pyimgur
0.5.2
pyproj
1.9.6
requests
2.21.0
scipy
1.2.1
setuptools
40.8.0
shapefile
2.1.0
sqlalchemy
1.2.18

Modules (56)

Module Errors / Failures Tracebacks
obspy.clients.arclink - -
obspy.clients.earthworm 2 1 2
obspy.clients.fdsn 3 3 4 5
obspy.clients.filesystem - -
obspy.clients.iris - -
obspy.clients.neic - -
obspy.clients.nrl - -
obspy.clients.seedlink 2 6 7
obspy.clients.seishub - -
obspy.clients.syngine - -
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.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 7 7

Tracebacks (7)

Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 2198, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.clients.earthworm.client.Client.get_availability
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/earthworm/client.py", line 170, in get_availability
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/earthworm/client.py", line 196, in obspy.clients.earthworm.client.Client.get_availability
Failed example:
response = client.get_availability(
network="AV", station="ACH", channel="BH*")
Exception raised:
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.earthworm.client.Client.get_availability[2]>", line 2, in <module>
network="AV", station="ACH", channel="BH*")
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/earthworm/client.py", line 224, in get_availability
response = get_menu(self.host, self.port, timeout=self.timeout)
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/earthworm/waveserver.py", line 221, in get_menu
r = get_sock_char_line(sock, timeout=timeout)
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/earthworm/waveserver.py", line 168, in get_sock_char_line
indat = sock.recv(1)
ConnectionResetError: [Errno 104] Connection reset by peer
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/earthworm/client.py", line 198, in obspy.clients.earthworm.client.Client.get_availability
Failed example:
print(response) # doctest: +ELLIPSIS +NORMALIZE_WHITESPACE
Exception raised:
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.earthworm.client.Client.get_availability[3]>", line 1, in <module>
print(response) # doctest: +ELLIPSIS +NORMALIZE_WHITESPACE
NameError: name 'response' is not defined
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 2198, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.clients.earthworm.__init__
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/earthworm/__init__.py", line 1, in __init__
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/earthworm/__init__.py", line 30, in obspy.clients.earthworm.__init__
Failed example:
st = client.get_waveforms('AV', 'ACH', '', 'BH*', t + 100, t + 130)
Exception raised:
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.earthworm.__init__[5]>", line 1, in <module>
st = client.get_waveforms('AV', 'ACH', '', 'BH*', t + 100, t + 130)
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/earthworm/client.py", line 105, in get_waveforms
cleanup=cleanup)
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/earthworm/client.py", line 113, in get_waveforms
cleanup=cleanup)
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/earthworm/waveserver.py", line 266, in read_wave_server_v
r = get_sock_char_line(sock, timeout=timeout)
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/earthworm/waveserver.py", line 168, in get_sock_char_line
indat = sock.recv(1)
ConnectionResetError: [Errno 104] Connection reset by peer
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 590, in test_authentication
got = client.get_waveforms(*query)
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/fdsn/client.py", line 831, 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 1384, 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 1715, 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 710, 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 1011, in get_waveforms_bulk
data=bulk)
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/fdsn/client.py", line 1384, 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 1715, 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 569, in test_iris_example_queries_dataselect
repr(query))
AssertionError: <obspy.core.stream.Stream object at 0x7effcc6a9be0> != <obspy.core.stream.Stream object at 0x7effcc6a98d0> : Dataselect failed for query ('IU', 'ANMO', '00', 'BHZ', UTCDateTime(2010, 2, 27, 6, 30), UTCDateTime(2010, 2, 27, 6, 40))
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 2198, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.clients.seedlink.basic_client.Client.get_waveforms
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/seedlink/basic_client.py", line 62, in get_waveforms
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/seedlink/basic_client.py", line 70, in obspy.clients.seedlink.basic_client.Client.get_waveforms
Failed example:
print(st) # doctest: +ELLIPSIS
Expected:
1 Trace(s) in Stream:
G.FDF.00.BHZ | 20... | 20.0 Hz, ... samples
Got:
0 Trace(s) in Stream:
<BLANKLINE>
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/seedlink/basic_client.py", line 79, in obspy.clients.seedlink.basic_client.Client.get_waveforms
Failed example:
print(st) # doctest: +ELLIPSIS
Expected:
3 Trace(s) in Stream:
G.FDF.00.BHZ | 20... | 20.0 Hz, ... samples
G.FDF.00.BHN | 20... | 20.0 Hz, ... samples
G.FDF.00.BHE | 20... | 20.0 Hz, ... samples
Got:
0 Trace(s) in Stream:
<BLANKLINE>
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/seedlink/tests/test_basic_client.py", line 42, in test_get_waveform
_test_offset_from_realtime(offset)
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/seedlink/tests/test_basic_client.py", line 25, in _test_offset_from_realtime
self.assertGreater(len(st), 0)
AssertionError: 0 not greater than 0

Skipped tests (39)

Submodule Test Skip message
clients.arclink test_m2crypto (obspy.clients.arclink.tests.test_decrypt.ClientTestCase) M2Crypto is not installed
clients.arclink test_pycrypto (obspy.clients.arclink.tests.test_decrypt.ClientTestCase) PyCrypto is not installed
clients.seedlink test_info (obspy.clients.seedlink.tests.test_slclient.SLClientTestCase) test must be started manually
clients.seedlink test_issue708 (obspy.clients.seedlink.tests.test_slclient.SLClientTestCase) test must be started manually
clients.seedlink test_time_window (obspy.clients.seedlink.tests.test_slclient.SLClientTestCase) test must be started manually
clients.seishub test_get_channel_ids (obspy.clients.seishub.tests.test_client.ClientTestCase) Seishub test server not reachable.
clients.seishub test_get_coordinates (obspy.clients.seishub.tests.test_client.ClientTestCase) Seishub test server not reachable.
clients.seishub test_get_event_list (obspy.clients.seishub.tests.test_client.ClientTestCase) Seishub test server not reachable.
clients.seishub test_get_location_ids (obspy.clients.seishub.tests.test_client.ClientTestCase) Seishub test server not reachable.
clients.seishub test_get_network_ids (obspy.clients.seishub.tests.test_client.ClientTestCase) Seishub test server not reachable.
clients.seishub test_get_paz (obspy.clients.seishub.tests.test_client.ClientTestCase) Seishub test server not reachable.
clients.seishub test_get_preview (obspy.clients.seishub.tests.test_client.ClientTestCase) Seishub test server not reachable.
clients.seishub test_get_preview_by_ids (obspy.clients.seishub.tests.test_client.ClientTestCase) Seishub test server not reachable.
clients.seishub test_get_station_ids (obspy.clients.seishub.tests.test_client.ClientTestCase) Seishub test server not reachable.
clients.seishub test_get_waveform_with_metadata (obspy.clients.seishub.tests.test_client.ClientTestCase) Seishub test server not reachable.
clients.seishub test_get_waveforms (obspy.clients.seishub.tests.test_client.ClientTestCase) Seishub test server not reachable.
clients.seishub test_localcache (obspy.clients.seishub.tests.test_client.ClientTestCase) Seishub test server not reachable.
clients.seishub test_ping (obspy.clients.seishub.tests.test_client.ClientTestCase) Seishub test server not reachable.
core test_flake8 (obspy.core.tests.test_code_formatting.CodeFormattingTestCase) Formatting tests require at least flake8 3.0.
core test_catalog_plot_global (obspy.core.tests.test_event.CatalogBasemapTestCase) unsupported proj4 library
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) unsupported proj4 library
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
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
47.642s test_eida_token_resolution (obspy.clients.fdsn.tests.test_client.ClientTestCase)
42.277s get_waveforms (obspy.clients.seedlink.basic_client.Client)
28.138s test_get_waveform_instrument_change (obspy.clients.arclink.tests.test_client.ClientTestCase)
25.140s test_get_networks (obspy.clients.arclink.tests.test_client.ClientTestCase)
22.815s test_get_waveform (obspy.clients.seedlink.tests.test_basic_client.ClientTestCase)
20.916s test_get_routing (obspy.clients.arclink.tests.test_client.ClientTestCase)
19.453s test_get_waveform_with_metadata (obspy.clients.arclink.tests.test_client.ClientTestCase)
17.669s test_get_stations_integration_test (obspy.clients.fdsn.tests.test_eidaws_routing_client.EIDAWSRoutingClientTestCase)
16.981s test_get_inventory (obspy.clients.arclink.tests.test_client.ClientTestCase)
15.810s test_get_waveform_with_dcid_key_file (obspy.clients.arclink.tests.test_decrypt.ClientTestCase)
14.473s test_get_stations (obspy.clients.arclink.tests.test_client.ClientTestCase)
14.406s test_issue_311 (obspy.clients.arclink.tests.test_client.ClientTestCase)
13.299s test_get_not_existing_waveform (obspy.clients.arclink.tests.test_client.ClientTestCase)
12.982s test_save_waveform_no_compression (obspy.clients.arclink.tests.test_client.ClientTestCase)
12.131s test_get_waveform (obspy.clients.arclink.tests.test_client.ClientTestCase)
11.769s test_response_calculation_from_seed_and_xseed (obspy.io.xseed.tests.test_core.CoreTestCase)
10.327s test_delayed_request (obspy.clients.arclink.tests.test_client.ClientTestCase)
10.073s __init__ (obspy.clients.arclink)
9.725s test_ppsd_restricted_stacks (obspy.signal.tests.test_spectral_estimation.PsdTestCase)
8.937s test_save_waveform_compressed (obspy.clients.arclink.tests.test_client.ClientTestCase)