#105652 Report by node travis-ci covering 2132 tests from 56 modules resulted into 11 errors

Report

ObsPy Version
1.1.1.post0+827.gd26b3e60a9...
Continuous Integration
https://travis-ci.org/obspy/obspy/jobs/590693089
GitHub Pull Request
-
Report File
XML Document
Total Runtime
758.0 sec
Report Date/Time
2019-09-27 22:42:41

System / Python

Architecture
64bit
Machine
x86_64
Node
travis-ci
Processor
x86_64
Python Compiler
GCC 4.8.2 20140120 (Red Hat 4.8.2-15)
Python Implementation
CPython
Python Version
3.4.5
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.0
flake8
---
future
0.16.0
geographiclib
1.50
lxml.etree
3.7.2
m2crypto
---
matplotlib
2.0.0
mock
2.0.0
mpl_toolkits.basemap
1.0.7
numpy
1.11.3
pep8-naming
---
pyflakes
---
pyimgur
0.5.2
pyproj
1.9.5.1
requests
2.21.0
scipy
0.18.1
setuptools
27.2.0
shapefile
2.1.0
sqlalchemy
1.1.5

Modules (56)

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

Tracebacks (11)

Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/clients/arclink/tests/test_client.py", line 428, in test_get_stations
self.assertTrue(expected in result)
AssertionError: False is not true
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/clients/arclink/tests/test_client.py", line 135, in test_get_routing
self.assertEqual(results, expected_routing_iv)
AssertionError: {'IV.[15 chars]'eidaws.ingv.it', 'port': 18002, 'end': None, [51 chars]0)}]} != {'IV.[15 chars]'eida.ingv.it', 'port': 18002, 'end': None, 'p[49 chars]0)}]}
{'IV...': [{'end': None,
- 'host': 'eidaws.ingv.it',
? --
+ 'host': 'eida.ingv.it',
'port': 18002,
'priority': 1,
'start': UTCDateTime(1988, 1, 1, 0, 0)}]}
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/clients/arclink/tests/test_client.py", line 274, in test_get_waveform_with_metadata
metadata=True)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/clients/arclink/client.py", line 458, in get_waveforms
instruments=True, route=route)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/clients/arclink/client.py", line 1123, in get_inventory
result = self._fetch(rtype, rdata, route=route)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/clients/arclink/client.py", line 260, in _fetch
return self._request(request_type, request_data)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/clients/arclink/client.py", line 324, in _request
raise ArcLinkException("%s %s" % (err_code, msg))
obspy.clients.arclink.client.ArcLinkException: b'UNSET'
Traceback (most recent call last):
File "</home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/decorator.py:decorator-gen-63>", line 2, in test_get_waveform
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/decorator.py", line 126, in skip_on_network_error
return func(*args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/clients/earthworm/tests/test_client.py", line 41, in test_get_waveform
self.assertEqual(len(stream), 1)
AssertionError: 0 != 1
Traceback (most recent call last):
File "</home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/decorator.py:decorator-gen-64>", line 2, in test_save_waveform
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/decorator.py", line 126, in skip_on_network_error
return func(*args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/clients/earthworm/tests/test_client.py", line 97, in test_save_waveform
format="SLIST")
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/clients/earthworm/client.py", line 167, in save_waveforms
st.write(filename, format=format)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/stream.py", line 1435, in write
raise ObsPyException(msg)
obspy.core.util.obspy_types.ObsPyException: Can not write empty stream to file.
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/clients/fdsn/tests/test_client.py", line 613, in test_authentication
got = client.get_waveforms(*query)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/clients/fdsn/client.py", line 844, in get_waveforms
data_stream = self._download(url, use_gzip=False)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/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.4/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.4/site-packages/obspy/clients/fdsn/tests/test_client.py", line 1402, in test_redirection_auth
st = c_auth.get_waveforms_bulk(bulk, quality="B", longestonly=False)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/clients/fdsn/client.py", line 1024, in get_waveforms_bulk
data=bulk)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/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.4/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.4/site-packages/obspy/clients/fdsn/tests/test_client.py", line 904, in test_dataselect_bulk
got = client.get_waveforms_bulk(bulk, **params)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/clients/fdsn/client.py", line 1024, in get_waveforms_bulk
data=bulk)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/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.4/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.4/site-packages/obspy/clients/iris/tests/test_client.py", line 160, in test_evalresp
'1.000000E-05 1.055999E+04 1.792007E+02\n')
AssertionError: '1.000000E-05 1.055999E+04 1.792007E+02\n' != '1.000000E-05 1.055999E+04 1.792007E+02\n'
- 1.000000E-05 1.055999E+04 1.792007E+02
+ 1.000000E-05 1.055999E+04 1.792007E+02
? + +
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/doctest.py", line 2187, 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.4/site-packages/obspy/clients/seedlink/basic_client.py", line 62, in get_waveforms
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/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.4/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.4/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.4/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 (41)

Submodule Test Skip Message
imaging test_script_plot (obspy.imaging.tests.test_mopad_script.MopadTestCase) Currently broken until further review.
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_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
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
geodetics test_gps_2_dist_azimuth_bug150 (obspy.geodetics.tests.test_util_geodetics.UtilGeodeticsTestCase) Module geographiclib is installed, not using calc_vincenty_inverse

Slowest Tests (20)

Runtime Test
43.714s test_get_waveform_with_metadata (obspy.clients.arclink.tests.test_client.ClientTestCase)
42.173s get_waveforms (obspy.clients.seedlink.basic_client.Client)
21.052s test_get_waveform (obspy.clients.seedlink.tests.test_basic_client.ClientTestCase)
20.771s test_get_waveform_instrument_change (obspy.clients.arclink.tests.test_client.ClientTestCase)
17.578s test_get_stations_integration_test (obspy.clients.fdsn.tests.test_eidaws_routing_client.EIDAWSRoutingClientTestCase)
16.466s test_get_inventory (obspy.clients.arclink.tests.test_client.ClientTestCase)
15.389s test_get_networks (obspy.clients.arclink.tests.test_client.ClientTestCase)
14.100s test_get_waveform_with_dcid_key_file (obspy.clients.arclink.tests.test_decrypt.ClientTestCase)
14.014s test_get_waveforms_integration_test (obspy.clients.fdsn.tests.test_eidaws_routing_client.EIDAWSRoutingClientTestCase)
13.606s test_response_calculation_from_seed_and_xseed (obspy.io.xseed.tests.test_core.CoreTestCase)
11.894s test_ppsd_restricted_stacks (obspy.signal.tests.test_spectral_estimation.PsdTestCase)
11.435s test_issue_311 (obspy.clients.arclink.tests.test_client.ClientTestCase)
11.426s test_save_waveform_no_compression (obspy.clients.arclink.tests.test_client.ClientTestCase)
9.153s test_save_waveform (obspy.clients.arclink.tests.test_client.ClientTestCase)
8.943s __init__ (obspy.clients.arclink)
8.870s test_eida_token_resolution (obspy.clients.fdsn.tests.test_client.ClientTestCase)
8.778s test_get_inventory_twice (obspy.clients.arclink.tests.test_client.ClientTestCase)
8.764s test_plot_multiple_traces (obspy.imaging.tests.test_waveform.WaveformTestCase)
8.609s test_delayed_request (obspy.clients.arclink.tests.test_client.ClientTestCase)
8.157s test_get_routing (obspy.clients.arclink.tests.test_client.ClientTestCase)

Chuck Norris Fact

Chuck Norris can binary search unsorted data.