#86313 Report by node travis-ci covering 1852 tests from 53 modules resulted into 22 errors

Report

ObsPy Version
1.0.3.post0+1474.g04f7c6dc9c
Continuous Integration
https://travis-ci.org/obspy/obspy/jobs/263456974
GitHub Pull Request
https://github.com/obspy/obspy/pull/1791
Report File
XML Document
Total Runtime
1052.3 sec
Report Date/Time
2017-08-11 07:25:30

System / Python

Architecture
64bit
Machine
x86_64
Node
travis-ci
Processor
i386
Python Compiler
GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.57)
Python Implementation
CPython
Python Version
2.7.13
Release
15.6.0
System
Darwin
Version
Darwin Kernel Version 15.6.0: Mon Aug 29 20:21:34 PDT 2016; root:xnu-3248.60.11~1/RELEASE_X86_64

Dependencies

cartopy
---
decorator
4.1.2
flake8
---
future
0.16.0
geographiclib
1.48
lxml.etree
3.8.0
m2crypto
---
matplotlib
2.0.2
mock
2.0.0
mpl_toolkits.basemap
1.0.7
numpy
1.13.1
osgeo.gdal
---
pep8-naming
---
pyflakes
---
pyimgur
0.5.2
pyproj
1.9.5.1
requests
2.14.2
scipy
0.19.1
setuptools
27.2.0
sqlalchemy
1.1.13

Modules (53)

Module Errors /
Failures
Tracebacks
obspy.clients.arclink 1 1
obspy.clients.earthworm - -
obspy.clients.fdsn 21 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
obspy.clients.filesystem - -
obspy.clients.iris - -
obspy.clients.neic - -
obspy.clients.nrl - -
obspy.clients.seedlink - -
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.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 22 22

Tracebacks (22)

Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/clients/arclink/tests/test_client.py", line 277, in test_get_waveform_with_metadata
self.assertEqual(st[0].stats, results)
AssertionError: Stats({u'processing': [u'ObsPy 1.0.3.post0+1474.g04f7c6dc9c: trim(endtime=UTCDateTime(2010, 8, 1, 12, 1)::fill_value=None::nearest_sample=True::pad=False::starttime=UTCDateTime(2010, 8, 1, 12, 0))'], u'network': u'BW', '_format': 'MSEED', u'paz': AttribDict({u'normalization_factor': 60077000.0, u'name': 'RJOB.2007.351.HZ', u'sensitivity': 2516800000.0, u'normalization_frequency': 1.0, u'sensor_manufacturer': 'Streckeisen', u'sensitivity_unit': 'M/S', u'sensitivity_frequency': 0.02, u'zeros': [0j, 0j], u'gain': 60077000.0, u'poles': [(-0.037004+0.037016j), (-0.037004-0.037016j), (-251.33+0j), (-131.04-467.29j), (-131.04+467.29j)], u'sensor_model': 'STS-2', u'response_type': 'A'}), u'mseed': AttribDict({u'record_length': 512, u'encoding': u'STEIM1', 'filesize': 30720, u'dataquality': u'D', u'number_of_records': 4, u'byteorder': u'>'}), u'coordinates': AttribDict({u'latitude': 47.737167, u'elevation': 860.0, u'longitude': 12.795714}), u'sampling_rate': 200.0, u'station': u'RJOB', u'location': u'', u'starttime': UTCDateTime(2010, 8, 1, 12, 0), u'delta': 0.005, u'calib': 1.0, u'npts': 1370, u'endtime': UTCDateTime(2010, 8, 1, 12, 0, 6, 845000), u'channel': u'EHZ'}) != {u'processing': [u'ObsPy 1.0.3.post0+1474.g04f7c6dc9c: trim(endtime=UTCDateTime(2010, 8, 1, 12, 1)::fill_value=None::nearest_sample=True::pad=False::starttime=UTCDateTime(2010, 8, 1, 12, 0))'], u'mseed': AttribDict({u'record_length': 512, u'encoding': u'STEIM1', u'filesize': 30720, u'dataquality': u'D', u'number_of_records': 60, u'byteorder': u'>'}), u'delta': 0.005, u'endtime': UTCDateTime(2010, 8, 1, 12, 0, 6, 845000), u'network': u'BW', u'_format': u'MSEED', u'paz': AttribDict({u'sensitivity_frequency': 0.02, u'name': u'RJOB.2007.351.HZ', u'sensitivity': 2516800000.0, u'normalization_frequency': 1.0, u'sensor_manufacturer': u'Streckeisen', u'sensitivity_unit': u'M/S', u'normalization_factor': 60077000.0, u'poles': [(-0.037004+0.037016j), (-0.037004-0.037016j), (-251.33+0j), (-131.04-467.29j), (-131.04+467.29j)], u'gain': 60077000.0, u'zeros': [0j, 0j], u'sensor_model': u'STS-2', u'response_type': u'A'}), u'coordinates': AttribDict({u'latitude': 47.737167, u'elevation': 860.0, u'longitude': 12.795714}), u'station': u'RJOB', u'location': u'', u'starttime': UTCDateTime(2010, 8, 1, 12, 0), u'npts': 1370, u'calib': 1.0, u'sampling_rate': 200.0, u'channel': u'EHZ'}
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/clients/fdsn/tests/test_client.py", line 543, in test_authentication
got = client.get_waveforms(*query)
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/clients/fdsn/client.py", line 699, in get_waveforms
raise ValueError(msg)
ValueError: The current client does not have a dataselect service.
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/clients/fdsn/tests/test_client.py", line 552, in test_conflicting_params
network="IU", net="IU")
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/unittest/case.py", line 473, in assertRaises
callableObj(*args, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/clients/fdsn/client.py", line 586, in get_stations
raise ValueError(msg)
ValueError: The current client does not have a station service.
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/clients/fdsn/tests/test_client.py", line 657, in test_dataselect_bulk
got = client.get_waveforms_bulk(bulk, **params)
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/clients/fdsn/client.py", line 879, in get_waveforms_bulk
raise ValueError(msg)
ValueError: The current client does not have a dataselect service.
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/clients/fdsn/tests/test_client.py", line 762, in test_get_waveform_attach_response
st = client.get_waveforms_bulk(bulk, attach_response=True)
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/clients/fdsn/client.py", line 879, in get_waveforms_bulk
raise ValueError(msg)
ValueError: The current client does not have a dataselect service.
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/clients/fdsn/tests/test_client.py", line 568, in test_help_function_with_iris
client.help("event")
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/clients/fdsn/client.py", line 1180, in help
raise ValueError(msg)
ValueError: Service 'event' not available for current client.
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/clients/fdsn/tests/test_client.py", line 337, in test_iris_event_catalog_availability
self.assertEqual(set(self.client.services["available_event_catalogs"]),
KeyError: u'available_event_catalogs'
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/clients/fdsn/tests/test_client.py", line 518, in test_iris_example_queries_dataselect
got = client.get_waveforms(*query)
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/clients/fdsn/client.py", line 699, in get_waveforms
raise ValueError(msg)
ValueError: The current client does not have a dataselect service.
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/clients/fdsn/tests/test_client.py", line 385, in test_iris_example_queries_event
cat = client.get_events(eventid=609301)
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/clients/fdsn/client.py", line 388, in get_events
raise ValueError(msg)
ValueError: The current client does not have an event service.
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/clients/fdsn/tests/test_client.py", line 435, in test_iris_example_queries_station
maxradius=15)
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/clients/fdsn/client.py", line 586, in get_stations
raise ValueError(msg)
ValueError: The current client does not have a station service.
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/clients/fdsn/tests/test_client.py", line 634, in test_str_method
self.assertEqual(got, expected, failmsg(got, expected))
AssertionError:
Got:
[u'FDSN Webservice Client (base url: http://service.iris.edu)', u"Available Services: 'available_event_contributors'", u'', u"Use e.g. client.help('dataselect') for the", u'parameter description of the individual services', u'or client.help() for parameter description of', u'all webservices.']
Expected:
[u'FDSN Webservice Client (base url: http://service.iris.edu)', u"Available Services: 'dataselect' (vX.X.X) 'event' (vX.X.X) 'station' (vX.X.X) 'available_event_catalogs' 'available_event_contributors'", u'', u"Use e.g. client.help('dataselect') for the", u'parameter description of the individual services', u'or client.help() for parameter description of', u'all webservices.']
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/doctest.py", line 2226, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.clients.fdsn.client.Client.get_waveforms
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/clients/fdsn/client.py", line 608, in get_waveforms
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/clients/fdsn/client.py", line 615, in obspy.clients.fdsn.client.Client.get_waveforms
Failed example:
st = client.get_waveforms("IU", "ANMO", "00", "LHZ", t1, t2)
Exception raised:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/doctest.py", line 1315, in __run
compileflags, 1) in test.globs
File "<doctest obspy.clients.fdsn.client.Client.get_waveforms[3]>", line 1, in <module>
st = client.get_waveforms("IU", "ANMO", "00", "LHZ", t1, t2)
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/clients/fdsn/client.py", line 699, in get_waveforms
raise ValueError(msg)
ValueError: The current client does not have a dataselect service.
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/clients/fdsn/client.py", line 616, in obspy.clients.fdsn.client.Client.get_waveforms
Failed example:
print(st) # doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/doctest.py", line 1315, in __run
compileflags, 1) in test.globs
File "<doctest obspy.clients.fdsn.client.Client.get_waveforms[4]>", line 1, in <module>
print(st) # doctest: +ELLIPSIS
NameError: name 'st' is not defined
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/clients/fdsn/client.py", line 622, in obspy.clients.fdsn.client.Client.get_waveforms
Failed example:
st = client.get_waveforms("IU", "A*", "1?", "LHZ", t1, t2)
Exception raised:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/doctest.py", line 1315, in __run
compileflags, 1) in test.globs
File "<doctest obspy.clients.fdsn.client.Client.get_waveforms[5]>", line 1, in <module>
st = client.get_waveforms("IU", "A*", "1?", "LHZ", t1, t2)
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/clients/fdsn/client.py", line 699, in get_waveforms
raise ValueError(msg)
ValueError: The current client does not have a dataselect service.
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/clients/fdsn/client.py", line 623, in obspy.clients.fdsn.client.Client.get_waveforms
Failed example:
print(st) # doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/doctest.py", line 1315, in __run
compileflags, 1) in test.globs
File "<doctest obspy.clients.fdsn.client.Client.get_waveforms[6]>", line 1, in <module>
print(st) # doctest: +ELLIPSIS
NameError: name 'st' is not defined
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/clients/fdsn/client.py", line 634, in obspy.clients.fdsn.client.Client.get_waveforms
Failed example:
st = client.get_waveforms("TA", "E42A", "*", "BH?", t+300, t+400,
attach_response=True)
Exception raised:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/doctest.py", line 1315, in __run
compileflags, 1) in test.globs
File "<doctest obspy.clients.fdsn.client.Client.get_waveforms[8]>", line 2, in <module>
attach_response=True)
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/clients/fdsn/client.py", line 699, in get_waveforms
raise ValueError(msg)
ValueError: The current client does not have a dataselect service.
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/clients/fdsn/client.py", line 636, in obspy.clients.fdsn.client.Client.get_waveforms
Failed example:
st.remove_response(output="VEL") # doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/doctest.py", line 1315, in __run
compileflags, 1) in test.globs
File "<doctest obspy.clients.fdsn.client.Client.get_waveforms[9]>", line 1, in <module>
st.remove_response(output="VEL") # doctest: +ELLIPSIS
NameError: name 'st' is not defined
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/doctest.py", line 2226, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.clients.fdsn.client.Client.get_waveforms_bulk
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/clients/fdsn/client.py", line 753, in get_waveforms_bulk
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/clients/fdsn/client.py", line 784, in obspy.clients.fdsn.client.Client.get_waveforms_bulk
Failed example:
st = client.get_waveforms_bulk(bulk)
Exception raised:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/doctest.py", line 1315, in __run
compileflags, 1) in test.globs
File "<doctest obspy.clients.fdsn.client.Client.get_waveforms_bulk[5]>", line 1, in <module>
st = client.get_waveforms_bulk(bulk)
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/clients/fdsn/client.py", line 879, in get_waveforms_bulk
raise ValueError(msg)
ValueError: The current client does not have a dataselect service.
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/clients/fdsn/client.py", line 785, in obspy.clients.fdsn.client.Client.get_waveforms_bulk
Failed example:
print(st) # doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/doctest.py", line 1315, in __run
compileflags, 1) in test.globs
File "<doctest obspy.clients.fdsn.client.Client.get_waveforms_bulk[6]>", line 1, in <module>
print(st) # doctest: +ELLIPSIS
NameError: name 'st' is not defined
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/clients/fdsn/client.py", line 797, in obspy.clients.fdsn.client.Client.get_waveforms_bulk
Failed example:
st = client.get_waveforms_bulk(bulk)
Exception raised:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/doctest.py", line 1315, in __run
compileflags, 1) in test.globs
File "<doctest obspy.clients.fdsn.client.Client.get_waveforms_bulk[8]>", line 1, in <module>
st = client.get_waveforms_bulk(bulk)
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/clients/fdsn/client.py", line 879, in get_waveforms_bulk
raise ValueError(msg)
ValueError: The current client does not have a dataselect service.
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/clients/fdsn/client.py", line 798, in obspy.clients.fdsn.client.Client.get_waveforms_bulk
Failed example:
print(st) # doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/doctest.py", line 1315, in __run
compileflags, 1) in test.globs
File "<doctest obspy.clients.fdsn.client.Client.get_waveforms_bulk[9]>", line 1, in <module>
print(st) # doctest: +ELLIPSIS
NameError: name 'st' is not defined
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/clients/fdsn/client.py", line 820, in obspy.clients.fdsn.client.Client.get_waveforms_bulk
Failed example:
st = client.get_waveforms_bulk(bulk, attach_response=True)
Exception raised:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/doctest.py", line 1315, in __run
compileflags, 1) in test.globs
File "<doctest obspy.clients.fdsn.client.Client.get_waveforms_bulk[16]>", line 1, in <module>
st = client.get_waveforms_bulk(bulk, attach_response=True)
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/clients/fdsn/client.py", line 879, in get_waveforms_bulk
raise ValueError(msg)
ValueError: The current client does not have a dataselect service.
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/clients/fdsn/client.py", line 821, in obspy.clients.fdsn.client.Client.get_waveforms_bulk
Failed example:
st.remove_response(output="VEL") # doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/doctest.py", line 1315, in __run
compileflags, 1) in test.globs
File "<doctest obspy.clients.fdsn.client.Client.get_waveforms_bulk[17]>", line 1, in <module>
st.remove_response(output="VEL") # doctest: +ELLIPSIS
NameError: name 'st' is not defined
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/clients/fdsn/tests/test_client.py", line 293, in test_service_discovery_iris
"available_event_catalogs")))
AssertionError: Items in the second set but not the first:
u'dataselect'
u'station'
u'event'
u'available_event_catalogs'
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/clients/fdsn/tests/test_client.py", line 713, in test_station_bulk
inv = client.get_stations_bulk(bulk, level="station")
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/clients/fdsn/client.py", line 1024, in get_stations_bulk
raise ValueError(msg)
ValueError: The current client does not have a station service.
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/doctest.py", line 2226, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.clients.fdsn.__init__
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/clients/fdsn/__init__.py", line 1, in __init__
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/clients/fdsn/__init__.py", line 65, in obspy.clients.fdsn.__init__
Failed example:
st = client.get_waveforms("IU", "ANMO", "00", "LHZ", t, t + 60 * 60)
Exception raised:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/doctest.py", line 1315, in __run
compileflags, 1) in test.globs
File "<doctest obspy.clients.fdsn.__init__[6]>", line 1, in <module>
st = client.get_waveforms("IU", "ANMO", "00", "LHZ", t, t + 60 * 60)
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/clients/fdsn/client.py", line 699, in get_waveforms
raise ValueError(msg)
ValueError: The current client does not have a dataselect service.
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/clients/fdsn/__init__.py", line 83, in obspy.clients.fdsn.__init__
Failed example:
cat = client.get_events(starttime=starttime, endtime=endtime,
minmagnitude=6, catalog="ISC")
Exception raised:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/doctest.py", line 1315, in __run
compileflags, 1) in test.globs
File "<doctest obspy.clients.fdsn.__init__[10]>", line 2, in <module>
minmagnitude=6, catalog="ISC")
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/clients/fdsn/client.py", line 388, in get_events
raise ValueError(msg)
ValueError: The current client does not have an event service.
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/clients/fdsn/__init__.py", line 85, in obspy.clients.fdsn.__init__
Failed example:
print(cat) # doctest: +NORMALIZE_WHITESPACE
Exception raised:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/doctest.py", line 1315, in __run
compileflags, 1) in test.globs
File "<doctest obspy.clients.fdsn.__init__[11]>", line 1, in <module>
print(cat) # doctest: +NORMALIZE_WHITESPACE
NameError: name 'cat' is not defined
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/clients/fdsn/__init__.py", line 106, in obspy.clients.fdsn.__init__
Failed example:
inventory = client.get_stations(network="IU", station="A*",
starttime=starttime,
endtime=endtime)
Exception raised:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/doctest.py", line 1315, in __run
compileflags, 1) in test.globs
File "<doctest obspy.clients.fdsn.__init__[13]>", line 3, in <module>
endtime=endtime)
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/clients/fdsn/client.py", line 586, in get_stations
raise ValueError(msg)
ValueError: The current client does not have a station service.
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/clients/fdsn/__init__.py", line 109, in obspy.clients.fdsn.__init__
Failed example:
print(inventory) # doctest: +ELLIPSIS +NORMALIZE_WHITESPACE
Exception raised:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/doctest.py", line 1315, in __run
compileflags, 1) in test.globs
File "<doctest obspy.clients.fdsn.__init__[14]>", line 1, in <module>
print(inventory) # doctest: +ELLIPSIS +NORMALIZE_WHITESPACE
NameError: name 'inventory' is not defined
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/clients/fdsn/tests/test_client.py", line 245, in test_location_parameters
{"location": loc, "starttime": 0, "endtime": 1}))
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/clients/fdsn/client.py", line 1093, in _create_url_from_parameters
service_params = self.services[service]
KeyError: u'station'
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/clients/fdsn/tests/test_client.py", line 1185, in test_no_data
minmagnitude=8)
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/unittest/case.py", line 473, in assertRaises
callableObj(*args, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/clients/fdsn/client.py", line 388, in get_events
raise ValueError(msg)
ValueError: The current client does not have an event service.
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/doctest.py", line 2226, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.clients.fdsn.client.Client.get_stations
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/clients/fdsn/client.py", line 414, in get_stations
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/clients/fdsn/client.py", line 421, in obspy.clients.fdsn.client.Client.get_stations
Failed example:
inventory = client.get_stations(network="IU", station="A*",
starttime=starttime,
endtime=endtime)
Exception raised:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/doctest.py", line 1315, in __run
compileflags, 1) in test.globs
File "<doctest obspy.clients.fdsn.client.Client.get_stations[3]>", line 3, in <module>
endtime=endtime)
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/clients/fdsn/client.py", line 586, in get_stations
raise ValueError(msg)
ValueError: The current client does not have a station service.
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/clients/fdsn/client.py", line 424, in obspy.clients.fdsn.client.Client.get_stations
Failed example:
print(inventory) # doctest: +ELLIPSIS +NORMALIZE_WHITESPACE
Exception raised:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/doctest.py", line 1315, in __run
compileflags, 1) in test.globs
File "<doctest obspy.clients.fdsn.client.Client.get_stations[4]>", line 1, in <module>
print(inventory) # doctest: +ELLIPSIS +NORMALIZE_WHITESPACE
NameError: name 'inventory' is not defined
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/clients/fdsn/client.py", line 461, 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 "/Users/travis/miniconda/envs/test-environment/lib/python2.7/doctest.py", line 1315, in __run
compileflags, 1) in test.globs
File "<doctest obspy.clients.fdsn.client.Client.get_stations[6]>", line 4, in <module>
level="response")
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/clients/fdsn/client.py", line 586, in get_stations
raise ValueError(msg)
ValueError: The current client does not have a station service.
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/clients/fdsn/client.py", line 465, in obspy.clients.fdsn.client.Client.get_stations
Failed example:
print(inventory) # doctest: +ELLIPSIS +NORMALIZE_WHITESPACE
Exception raised:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/doctest.py", line 1315, in __run
compileflags, 1) in test.globs
File "<doctest obspy.clients.fdsn.client.Client.get_stations[7]>", line 1, in <module>
print(inventory) # doctest: +ELLIPSIS +NORMALIZE_WHITESPACE
NameError: name 'inventory' is not defined
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/doctest.py", line 2226, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.clients.fdsn.client.Client.get_stations_bulk
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/clients/fdsn/client.py", line 904, in get_stations_bulk
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/clients/fdsn/client.py", line 935, in obspy.clients.fdsn.client.Client.get_stations_bulk
Failed example:
inv = client.get_stations_bulk(bulk)
Exception raised:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/doctest.py", line 1315, in __run
compileflags, 1) in test.globs
File "<doctest obspy.clients.fdsn.client.Client.get_stations_bulk[5]>", line 1, in <module>
inv = client.get_stations_bulk(bulk)
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/clients/fdsn/client.py", line 1024, in get_stations_bulk
raise ValueError(msg)
ValueError: The current client does not have a station service.
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/clients/fdsn/client.py", line 936, in obspy.clients.fdsn.client.Client.get_stations_bulk
Failed example:
print(inv) # doctest: +ELLIPSIS +NORMALIZE_WHITESPACE
Exception raised:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/doctest.py", line 1315, in __run
compileflags, 1) in test.globs
File "<doctest obspy.clients.fdsn.client.Client.get_stations_bulk[6]>", line 1, in <module>
print(inv) # doctest: +ELLIPSIS +NORMALIZE_WHITESPACE
NameError: name 'inv' is not defined
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/clients/fdsn/client.py", line 965, in obspy.clients.fdsn.client.Client.get_stations_bulk
Failed example:
inv = client.get_stations_bulk(bulk, level="channel")
Exception raised:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/doctest.py", line 1315, in __run
compileflags, 1) in test.globs
File "<doctest obspy.clients.fdsn.client.Client.get_stations_bulk[8]>", line 1, in <module>
inv = client.get_stations_bulk(bulk, level="channel")
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/clients/fdsn/client.py", line 1024, in get_stations_bulk
raise ValueError(msg)
ValueError: The current client does not have a station service.
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/clients/fdsn/client.py", line 966, in obspy.clients.fdsn.client.Client.get_stations_bulk
Failed example:
print(inv) # doctest: +ELLIPSIS +NORMALIZE_WHITESPACE
Exception raised:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/doctest.py", line 1315, in __run
compileflags, 1) in test.globs
File "<doctest obspy.clients.fdsn.client.Client.get_stations_bulk[9]>", line 1, in <module>
print(inv) # doctest: +ELLIPSIS +NORMALIZE_WHITESPACE
NameError: name 'inv' is not defined
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/doctest.py", line 2226, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.clients.fdsn.client.Client.__init__
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/clients/fdsn/client.py", line 141, in __init__
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/clients/fdsn/client.py", line 146, 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: 'available_event_contributors'
<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 "/Users/travis/miniconda/envs/test-environment/lib/python2.7/doctest.py", line 2226, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.clients.fdsn.client.Client.get_events
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/clients/fdsn/client.py", line 272, in get_events
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/clients/fdsn/client.py", line 277, in obspy.clients.fdsn.client.Client.get_events
Failed example:
cat = client.get_events(eventid=609301)
Exception raised:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/doctest.py", line 1315, in __run
compileflags, 1) in test.globs
File "<doctest obspy.clients.fdsn.client.Client.get_events[1]>", line 1, in <module>
cat = client.get_events(eventid=609301)
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/clients/fdsn/client.py", line 388, in get_events
raise ValueError(msg)
ValueError: The current client does not have an event service.
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/clients/fdsn/client.py", line 278, in obspy.clients.fdsn.client.Client.get_events
Failed example:
print(cat)
Exception raised:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/doctest.py", line 1315, in __run
compileflags, 1) in test.globs
File "<doctest obspy.clients.fdsn.client.Client.get_events[2]>", line 1, in <module>
print(cat)
NameError: name 'cat' is not defined
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/clients/fdsn/client.py", line 287, in obspy.clients.fdsn.client.Client.get_events
Failed example:
cat = client.get_events(starttime=t1, endtime=t2, minmagnitude=4,
catalog="ISC")
Exception raised:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/doctest.py", line 1315, in __run
compileflags, 1) in test.globs
File "<doctest obspy.clients.fdsn.client.Client.get_events[5]>", line 2, in <module>
catalog="ISC")
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/clients/fdsn/client.py", line 388, in get_events
raise ValueError(msg)
ValueError: The current client does not have an event service.
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/clients/fdsn/client.py", line 289, in obspy.clients.fdsn.client.Client.get_events
Failed example:
print(cat)
Exception raised:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/doctest.py", line 1315, in __run
compileflags, 1) in test.globs
File "<doctest obspy.clients.fdsn.client.Client.get_events[6]>", line 1, in <module>
print(cat)
NameError: name 'cat' is not defined

Skipped Tests (39)

Submodule Test Skip Message
geodetics test_gps_2_dist_azimuth_bug150 (obspy.geodetics.tests.test_util_geodetics.UtilGeodeticsTestCase) Module geographiclib is installed, not using calc_vincenty_inverse
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.seishub runTest (doctest.DocTestCase) Seishub test server not reachable.
clients.seishub runTest (doctest.DocTestCase) Seishub test server not reachable.
clients.seishub runTest (doctest.DocTestCase) Seishub test server not reachable.
clients.seishub runTest (doctest.DocTestCase) Seishub test server not reachable.
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
io.shapefile test_write_catalog_shapefile (obspy.io.shapefile.tests.test_core.ShapefileTestCase) gdal not installed or version is too old
io.shapefile test_write_catalog_shapefile_via_plugin (obspy.io.shapefile.tests.test_core.ShapefileTestCase) gdal not installed or version is too old
io.shapefile test_write_inventory_shapefile (obspy.io.shapefile.tests.test_core.ShapefileTestCase) gdal not installed or version is too old
io.shapefile test_write_inventory_shapefile_via_plugin (obspy.io.shapefile.tests.test_core.ShapefileTestCase) gdal not installed or version is too old
imaging test_script_plot (obspy.imaging.tests.test_mopad_script.MopadTestCase) Currently broken until further review.
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

Slowest Tests (20)

Runtime Test
34.728s test_plot_farfield_without_quiver_with_maps (obspy.core.tests.test_event.EventTestCase)
34.140s test_response_calculation_from_seed_and_xseed (obspy.io.xseed.tests.test_core.CoreTestCase)
33.344s test_get_networks (obspy.clients.arclink.tests.test_client.ClientTestCase)
31.413s test_get_inventory (obspy.clients.arclink.tests.test_client.ClientTestCase)
26.455s test_get_waveform_instrument_change (obspy.clients.arclink.tests.test_client.ClientTestCase)
20.257s test_get_routing (obspy.clients.arclink.tests.test_client.ClientTestCase)
17.196s test_ppsd_restricted_stacks (obspy.signal.tests.test_spectral_estimation.PsdTestCase)
16.811s test_get_inventory_twice (obspy.clients.arclink.tests.test_client.ClientTestCase)
14.767s test_issue_372 (obspy.clients.arclink.tests.test_client.ClientTestCase)
14.731s test_get_waveform_with_dcid_key_file (obspy.clients.arclink.tests.test_decrypt.ClientTestCase)
14.536s test_get_waveform_nscl (obspy.clients.neic.tests.test_client.ClientTestCase)
13.032s test_save_waveform_no_compression (obspy.clients.arclink.tests.test_client.ClientTestCase)
12.937s test_plot_multiple_traces (obspy.imaging.tests.test_waveform.WaveformTestCase)
12.384s test_location_plot_global (obspy.core.tests.test_inventory.InventoryBasemapTestCase)
12.243s test_issue_311 (obspy.clients.arclink.tests.test_client.ClientTestCase)
12.234s test_catalog_plot_global (obspy.core.tests.test_event.CatalogBasemapTestCase)
12.155s __init__ (obspy.clients.arclink)
11.885s test_combined_station_event_plot (obspy.core.tests.test_inventory.InventoryBasemapTestCase)
11.868s test_location_plot_global (obspy.core.tests.test_network.NetworkBasemapTestCase)
10.625s test_delayed_request (obspy.clients.arclink.tests.test_client.ClientTestCase)

Chuck Norris Fact

The only pattern Chuck Norris knows is God Object.