#91399 Report by node travis-ci covering 1957 tests from 54 modules resulted into 7 errors

Report

ObsPy Version
1.1.0.post0+35.gc6a686f9b1....
Continuous Integration
https://travis-ci.org/obspy/obspy/jobs/328110018
GitHub Pull Request
-
Report File
XML Document
Total Runtime
1032.6 sec
Report Date/Time
2018-01-12 08:03:20

System / Python

Architecture
64bit
Machine
x86_64
Node
travis-ci
Processor
x86_64
Python Compiler
GCC 7.2.0
Python Implementation
CPython
Python Version
3.6.4
Release
4.14.12-041412-generic
System
Linux
Version
#201801051649 SMP Fri Jan 5 16:50:54 UTC 2018

Dependencies

cartopy
---
decorator
4.1.2
flake8
---
future
0.16.0
geographiclib
1.49
lxml.etree
4.1.1
m2crypto
---
matplotlib
2.0.2
mock
2.0.0
mpl_toolkits.basemap
1.0.7
numpy
1.13.3
pep8-naming
---
pyflakes
---
pyimgur
0.5.2
pyproj
1.9.5.1
requests
2.18.4
scipy
1.0.0
setuptools
36.5.0.post20170921
shapefile
1.2.12
sqlalchemy
1.2.0

Modules (54)

Module Errors /
Failures
Tracebacks
obspy.clients.arclink - -
obspy.clients.earthworm - -
obspy.clients.fdsn 5 1 2 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.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.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.6/site-packages/obspy/clients/fdsn/tests/test_client.py", line 355, in test_iris_event_contributors_availability
set(self.client.services["available_event_contributors"]),
KeyError: 'available_event_contributors'
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/doctest.py", line 2199, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.clients.fdsn.client.Client.__init__
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/fdsn/client.py", line 143, in __init__
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/fdsn/client.py", line 148, in obspy.clients.fdsn.client.Client.__init__
Failed example:
print(client) # doctest: +ELLIPSIS +NORMALIZE_WHITESPACE
Expected:
FDSN Webservice Client (base url: http://service.iris.edu)
Available Services: 'dataselect' (v...), 'event' (v...),
'station' (v...), 'available_event_catalogs',
'available_event_contributors'
Use e.g. client.help('dataselect') for the
parameter description of the individual services
or client.help() for parameter description of
all webservices.
Got:
FDSN Webservice Client (base url: http://service.iris.edu)
Available Services: 'dataselect' (v1.1.5), 'event' (v1.1.8), 'station' (v1.1.32), 'available_event_catalogs'
<BLANKLINE>
Use e.g. client.help('dataselect') for the
parameter description of the individual services
or client.help() for parameter description of
all webservices.
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/fdsn/tests/test_client.py", line 593, in test_help_function_with_iris
self.assertTrue(got[-2].startswith('Available catalogs:'))
AssertionError: False is not true
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/fdsn/tests/test_client.py", line 296, in test_service_discovery_iris
"available_event_catalogs")))
AssertionError: Items in the second set but not the first:
'available_event_contributors'
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/fdsn/tests/test_client.py", line 648, in test_str_method
self.assertEqual(got, expected, failmsg(got, expected))
AssertionError: Lists differ: ['FDS[158 chars]logs'", '', "Use e.g. client.help('dataselect'[127 chars]es.'] != ['FDS[158 chars]logs' 'available_event_contributors'", '', "Us[158 chars]es.']
First differing element 1:
"Avai[69 chars]X.X) 'available_event_catalogs'"
"Avai[69 chars]X.X) 'available_event_catalogs' 'available_event_contributors'"
['FDSN Webservice Client (base url: http://service.iris.edu)',
"Available Services: 'dataselect' (vX.X.X) 'event' (vX.X.X) 'station' "
- "(vX.X.X) 'available_event_catalogs'",
+ "(vX.X.X) 'available_event_catalogs' 'available_event_contributors'",
'',
"Use e.g. client.help('dataselect') for the",
'parameter description of the individual services',
'or client.help() for parameter description of',
'all webservices.'] :
Got:
['FDSN Webservice Client (base url: http://service.iris.edu)', "Available Services: 'dataselect' (vX.X.X) 'event' (vX.X.X) 'station' (vX.X.X) 'available_event_catalogs'", '', "Use e.g. client.help('dataselect') for the", 'parameter description of the individual services', 'or client.help() for parameter description of', 'all webservices.']
Expected:
['FDSN Webservice Client (base url: http://service.iris.edu)', "Available Services: 'dataselect' (vX.X.X) 'event' (vX.X.X) 'station' (vX.X.X) 'available_event_catalogs' 'available_event_contributors'", '', "Use e.g. client.help('dataselect') for the", 'parameter description of the individual services', 'or client.help() for parameter description of', 'all webservices.']
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/doctest.py", line 2199, 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.6/site-packages/obspy/clients/seedlink/basic_client.py", line 62, in get_waveforms
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/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.6/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.6/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.6/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 (31)

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.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_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_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
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.

Slowest Tests (20)

Runtime Test
42.120s get_waveforms (obspy.clients.seedlink.basic_client.Client)
39.876s test_get_networks (obspy.clients.arclink.tests.test_client.ClientTestCase)
31.417s test_get_waveform_instrument_change (obspy.clients.arclink.tests.test_client.ClientTestCase)
27.482s test_response_calculation_from_seed_and_xseed (obspy.io.xseed.tests.test_core.CoreTestCase)
25.654s test_get_waveform_with_metadata (obspy.clients.arclink.tests.test_client.ClientTestCase)
22.446s test_get_routing (obspy.clients.arclink.tests.test_client.ClientTestCase)
21.678s test_get_stations (obspy.clients.arclink.tests.test_client.ClientTestCase)
20.928s test_get_waveform (obspy.clients.seedlink.tests.test_basic_client.ClientTestCase)
20.463s test_plot_farfield_without_quiver_with_maps (obspy.core.tests.test_event.EventTestCase)
20.199s test_get_inventory (obspy.clients.arclink.tests.test_client.ClientTestCase)
19.211s test_get_waveform_with_dcid_key_file (obspy.clients.arclink.tests.test_decrypt.ClientTestCase)
18.549s test_get_inventory_stationgroup (obspy.clients.arclink.tests.test_client.ClientTestCase)
17.216s test_delayed_request (obspy.clients.arclink.tests.test_client.ClientTestCase)
14.507s test_save_waveform_no_compression (obspy.clients.arclink.tests.test_client.ClientTestCase)
13.952s __init__ (obspy.taup)
13.826s test_issue_311 (obspy.clients.arclink.tests.test_client.ClientTestCase)
13.059s test_ppsd_restricted_stacks (obspy.signal.tests.test_spectral_estimation.PsdTestCase)
12.939s test_save_waveform_compressed (obspy.clients.arclink.tests.test_client.ClientTestCase)
12.494s test_issue_372 (obspy.clients.arclink.tests.test_client.ClientTestCase)
12.113s test_eida_token_resolution (obspy.clients.fdsn.tests.test_client.ClientTestCase)

Chuck Norris Fact

Chuck Norris insists on strongly-typed programming languages.