#87843 Report by node docker-debian_7_wheezy covering 1902 tests from 53 modules resulted into 10 errors

Report

ObsPy Version
1.0.3.post0+1671.g764fc0d07...
Continuous Integration
-
GitHub Pull Request
-
Report File
XML Document
Total Runtime
1601.6 sec
Report Date/Time
2017-10-09 05:55:41

System / Python

Architecture
64bit
Machine
x86_64
Node
docker-debian_7_wheezy
Processor
None
Python Compiler
GCC 4.7.2
Python Implementation
CPython
Python Version
2.7.3
Release
4.9.0-0.bpo.3-amd64
System
Linux
Version
#1 SMP Debian 4.9.25-1~bpo8+1 (2017-05-19)

Dependencies

cartopy
---
decorator
3.3.3
flake8
---
future
0.16.0
geographiclib
???
lxml.etree
2.3.2
m2crypto
---
matplotlib
1.1.1rc2
mock
0.8.0
mpl_toolkits.basemap
1.0.3
numpy
1.6.2
osgeo.gdal
1.9.0
pep8-naming
---
pyflakes
---
pyimgur
0.5.3
pyproj
1.8.9
requests
0.12.1
scipy
0.10.1
setuptools
0.6
sqlalchemy
0.7.8

Modules (53)

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

Tracebacks (10)

Traceback (most recent call last):
File "<string>", line 2, in test_get_waveform
File "/obspy/obspy/core/util/decorator.py", line 127, in skip_on_network_error
return func(*args, **kwargs)
File "/obspy/obspy/clients/earthworm/tests/test_client.py", line 56, in test_get_waveform
self.assertGreaterEqual(len(stream), 2)
AssertionError: 1 not greater than or equal to 2
Traceback (most recent call last):
File "/obspy/obspy/clients/fdsn/tests/test_mass_downloader.py", line 1000, in test_get_stationxml_contents
contents = get_stationxml_contents(filename)
File "/obspy/obspy/clients/fdsn/mass_downloader/utils.py", line 380, in get_stationxml_contents
response_tag))
File "iterparse.pxi", line 420, in lxml.etree.iterparse.__init__ (src/lxml/lxml.etree.c:97822)
File "parser.pxi", line 771, in lxml.etree._BaseParser._getPushParserContext (src/lxml/lxml.etree.c:76480)
File "iterparse.pxi", line 449, in lxml.etree.iterparse._createContext (src/lxml/lxml.etree.c:98026)
File "iterparse.pxi", line 124, in lxml.etree._IterparseContext._setEventFilter (src/lxml/lxml.etree.c:95200)
File "apihelpers.pxi", line 1462, in lxml.etree._getNsTag (src/lxml/lxml.etree.c:23116)
File "apihelpers.pxi", line 1480, in lxml.etree.__getNsTag (src/lxml/lxml.etree.c:23253)
File "apihelpers.pxi", line 1364, in lxml.etree._utf8 (src/lxml/lxml.etree.c:22039)
TypeError: Argument must be bytes or unicode, got 'tuple'
Traceback (most recent call last):
File "/obspy/obspy/clients/fdsn/tests/test_mass_downloader.py", line 1285, in test_sanitize_downloads
station.sanitize_downloads(logger)
File "/obspy/obspy/clients/fdsn/mass_downloader/download_helpers.py", line 372, in sanitize_downloads
if not os.path.isfile(time_interval.filename):
File "/usr/lib/python2.7/genericpath.py", line 29, in isfile
st = os.stat(path)
TypeError: coercing to Unicode: need string or buffer, NoneType found
Traceback (most recent call last):
File "/obspy/obspy/clients/neic/tests/test_client.py", line 27, in test_get_waveform
st = client.get_waveforms_nscl("IUANMO BH.00", t, duration)
File "/obspy/obspy/clients/neic/client.py", line 191, in get_waveforms_nscl
s.connect((self.host, self.port))
File "/usr/lib/python2.7/socket.py", line 224, in meth
return getattr(self._sock,name)(*args)
error: [Errno 110] Connection timed out
Traceback (most recent call last):
File "/obspy/obspy/clients/neic/tests/test_client.py", line 50, in test_get_waveform_nscl
st = client.get_waveforms_nscl("IUANMO BH.00", t, duration_long)
File "/obspy/obspy/clients/neic/client.py", line 191, in get_waveforms_nscl
s.connect((self.host, self.port))
File "/usr/lib/python2.7/socket.py", line 224, in meth
return getattr(self._sock,name)(*args)
error: [Errno 110] Connection timed out
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 2201, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.clients.neic.client.Client
File "/obspy/obspy/clients/neic/client.py", line 25, in Client
----------------------------------------------------------------------
File "/obspy/obspy/clients/neic/client.py", line 45, in obspy.clients.neic.client.Client
Failed example:
st = client.get_waveforms("IU", "ANMO", "00", "BH?", t, t + 10)
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 1289, in __run
compileflags, 1) in test.globs
File "<doctest obspy.clients.neic.client.Client[3]>", line 1, in <module>
st = client.get_waveforms("IU", "ANMO", "00", "BH?", t, t + 10)
File "/obspy/obspy/clients/neic/client.py", line 128, in get_waveforms
endtime - starttime)
File "/obspy/obspy/clients/neic/client.py", line 191, in get_waveforms_nscl
s.connect((self.host, self.port))
File "/usr/lib/python2.7/socket.py", line 224, in meth
return getattr(self._sock,name)(*args)
error: [Errno 110] Connection timed out
----------------------------------------------------------------------
File "/obspy/obspy/clients/neic/client.py", line 46, in obspy.clients.neic.client.Client
Failed example:
print(st) # doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 1289, in __run
compileflags, 1) in test.globs
File "<doctest obspy.clients.neic.client.Client[4]>", line 1, in <module>
print(st) # doctest: +ELLIPSIS
NameError: name 'st' is not defined
----------------------------------------------------------------------
File "/obspy/obspy/clients/neic/client.py", line 51, in obspy.clients.neic.client.Client
Failed example:
st = client.get_waveforms_nscl("IUANMO BH.00", t, 10)
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 1289, in __run
compileflags, 1) in test.globs
File "<doctest obspy.clients.neic.client.Client[5]>", line 1, in <module>
st = client.get_waveforms_nscl("IUANMO BH.00", t, 10)
File "/obspy/obspy/clients/neic/client.py", line 191, in get_waveforms_nscl
s.connect((self.host, self.port))
File "/usr/lib/python2.7/socket.py", line 224, in meth
return getattr(self._sock,name)(*args)
error: [Errno 110] Connection timed out
----------------------------------------------------------------------
File "/obspy/obspy/clients/neic/client.py", line 52, in obspy.clients.neic.client.Client
Failed example:
print(st) # doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 1289, in __run
compileflags, 1) in test.globs
File "<doctest obspy.clients.neic.client.Client[6]>", line 1, in <module>
print(st) # doctest: +ELLIPSIS
NameError: name 'st' is not defined
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 2201, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.clients.neic.client.Client.get_waveforms
File "/obspy/obspy/clients/neic/client.py", line 73, in get_waveforms
----------------------------------------------------------------------
File "/obspy/obspy/clients/neic/client.py", line 112, in obspy.clients.neic.client.Client.get_waveforms
Failed example:
st = client.get_waveforms("IU", "ANMO", "0?", "BH?", t, t + 10)
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 1289, in __run
compileflags, 1) in test.globs
File "<doctest obspy.clients.neic.client.Client.get_waveforms[3]>", line 1, in <module>
st = client.get_waveforms("IU", "ANMO", "0?", "BH?", t, t + 10)
File "/obspy/obspy/clients/neic/client.py", line 128, in get_waveforms
endtime - starttime)
File "/obspy/obspy/clients/neic/client.py", line 191, in get_waveforms_nscl
s.connect((self.host, self.port))
File "/usr/lib/python2.7/socket.py", line 224, in meth
return getattr(self._sock,name)(*args)
error: [Errno 110] Connection timed out
----------------------------------------------------------------------
File "/obspy/obspy/clients/neic/client.py", line 113, in obspy.clients.neic.client.Client.get_waveforms
Failed example:
print(st) # doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 1289, in __run
compileflags, 1) in test.globs
File "<doctest obspy.clients.neic.client.Client.get_waveforms[4]>", line 1, in <module>
print(st) # doctest: +ELLIPSIS
NameError: name 'st' is not defined
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 2201, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.clients.neic.client.Client.get_waveforms_nscl
File "/obspy/obspy/clients/neic/client.py", line 130, in get_waveforms_nscl
----------------------------------------------------------------------
File "/obspy/obspy/clients/neic/client.py", line 163, in obspy.clients.neic.client.Client.get_waveforms_nscl
Failed example:
st = client.get_waveforms_nscl("IUANMO BH.00", t, 10)
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 1289, in __run
compileflags, 1) in test.globs
File "<doctest obspy.clients.neic.client.Client.get_waveforms_nscl[4]>", line 1, in <module>
st = client.get_waveforms_nscl("IUANMO BH.00", t, 10)
File "/obspy/obspy/clients/neic/client.py", line 191, in get_waveforms_nscl
s.connect((self.host, self.port))
File "/usr/lib/python2.7/socket.py", line 224, in meth
return getattr(self._sock,name)(*args)
error: [Errno 110] Connection timed out
----------------------------------------------------------------------
File "/obspy/obspy/clients/neic/client.py", line 164, in obspy.clients.neic.client.Client.get_waveforms_nscl
Failed example:
print(st) # doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 1289, in __run
compileflags, 1) in test.globs
File "<doctest obspy.clients.neic.client.Client.get_waveforms_nscl[5]>", line 1, in <module>
print(st) # doctest: +ELLIPSIS
NameError: name 'st' is not defined
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 2201, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.clients.nrl.client.NRL.get_response
File "/obspy/obspy/clients/nrl/client.py", line 173, in get_response
----------------------------------------------------------------------
File "/obspy/obspy/clients/nrl/client.py", line 184, in obspy.clients.nrl.client.NRL.get_response
Failed example:
response = nrl.get_response(
sensor_keys=['Nanometrics', 'Trillium Compact', '120 s'],
datalogger_keys=['REF TEK', 'RT 130 & 130-SMA', '1', '200'])
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 1289, in __run
compileflags, 1) in test.globs
File "<doctest obspy.clients.nrl.client.NRL.get_response[1]>", line 3, in <module>
datalogger_keys=['REF TEK', 'RT 130 & 130-SMA', '1', '200'])
File "/obspy/obspy/clients/nrl/client.py", line 203, in get_response
dl_resp = self.get_datalogger_response(datalogger_keys)
File "/obspy/obspy/clients/nrl/client.py", line 153, in get_datalogger_response
with io.BytesIO(self._read_resp(datalogger[1]).encode()) as buf:
File "/obspy/obspy/clients/nrl/client.py", line 315, in _read_resp
return self._download(path)
File "/obspy/obspy/clients/nrl/client.py", line 293, in _download
_remote_nrl_cache[url] = response.text
File "/usr/lib/python2.7/dist-packages/requests/models.py", line 831, in text
content = str(self.content, encoding, errors='replace')
TypeError: unicode() argument 2 must be string, not None
----------------------------------------------------------------------
File "/obspy/obspy/clients/nrl/client.py", line 187, in obspy.clients.nrl.client.NRL.get_response
Failed example:
print(response) # doctest: +NORMALIZE_WHITESPACE +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 1289, in __run
compileflags, 1) in test.globs
File "<doctest obspy.clients.nrl.client.NRL.get_response[2]>", line 1, in <module>
print(response) # doctest: +NORMALIZE_WHITESPACE +ELLIPSIS
NameError: name 'response' is not defined
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 2201, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.clients.seishub.__init__
File "/obspy/obspy/clients/seishub/__init__.py", line 1, in __init__
----------------------------------------------------------------------
File "/obspy/obspy/clients/seishub/__init__.py", line 42, in obspy.clients.seishub.__init__
Failed example:
sorted(cha_ids) # doctest: +NORMALIZE_WHITESPACE
Expected:
['AEX', 'AEY', 'BHE', 'BHN', 'BHZ', 'EHE', 'EHN', 'EHZ', 'HHE', 'HHN', 'HHZ',
'LOG', 'SHE', 'SHN', 'SHZ']
Got:
['AEX', 'AEY', 'BHE', 'BHN', 'BHZ', 'E', 'EHE', 'EHN', 'EHZ', 'HHE', 'HHN', 'HHZ', 'LOG', 'N', 'SHE', 'SHN', 'SHZ', 'Z']

Skipped Tests (24)

Submodule Test Skip Message
clients.fdsn test_spherical_nearest_neighbour (obspy.clients.fdsn.tests.test_mass_downloader.DownloadHelpersUtilTestCase) scipy version 0.12 or higher needed.
clients.fdsn test_download_method (obspy.clients.fdsn.tests.test_mass_downloader.DownloadHelperTestCase) scipy version 0.12 or higher needed.
clients.fdsn test_station_list_nearest_neighbour_filter (obspy.clients.fdsn.tests.test_mass_downloader.ClientDownloadHelperTestCase) scipy version 0.12 or higher needed.
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_cryptography (obspy.clients.arclink.tests.test_decrypt.ClientTestCase) cryptography is not installed
clients.arclink test_pycrypto (obspy.clients.arclink.tests.test_decrypt.ClientTestCase) PyCrypto is 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
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_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_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
imaging test_script_plot (obspy.imaging.tests.test_mopad_script.MopadTestCase) Currently broken until further review.
imaging test_farfield_with_quiver (obspy.imaging.tests.test_source.RadPatternTestCase) matplotlib >= 1.4 needed for 3D quiver plot.
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
signal test_schema_validation (obspy.signal.tests.test_quality_control.QualityControlTestCase) Test requires the jsonschema module
taup test_path_geo (obspy.taup.tests.test_taup_geo.TaupGeoTestCase) Module geographiclib is not installed or too old.

Slowest Tests (20)

Runtime Test
262.187s Client (obspy.clients.neic.client)
131.095s get_waveforms (obspy.clients.neic.client.Client)
131.069s test_get_waveform_nscl (obspy.clients.neic.tests.test_client.ClientTestCase)
131.069s test_get_waveform (obspy.clients.neic.tests.test_client.ClientTestCase)
131.050s get_waveforms_nscl (obspy.clients.neic.client.Client)
22.139s test_get_networks (obspy.clients.arclink.tests.test_client.ClientTestCase)
17.743s __init__ (obspy.clients.seishub)
16.531s __init__ (obspy.taup)
14.795s test_response_calculation_from_seed_and_xseed (obspy.io.xseed.tests.test_core.CoreTestCase)
14.740s test_get_inventory (obspy.clients.arclink.tests.test_client.ClientTestCase)
13.813s test_plot_farfield_without_quiver_with_maps (obspy.core.tests.test_event.EventTestCase)
11.970s test_get_waveform_instrument_change (obspy.clients.arclink.tests.test_client.ClientTestCase)
11.848s test_get_waveforms (obspy.clients.seishub.tests.test_client.ClientTestCase)
11.243s test_get_preview_by_ids (obspy.clients.seishub.tests.test_client.ClientTestCase)
10.531s test_shoot_existing_ray_param (obspy.taup.tests.test_seismic_phase.TauPySeismicPhaseTestCase)
10.096s test_redirection_auth (obspy.clients.fdsn.tests.test_client.ClientTestCase)
9.991s test_delayed_request (obspy.clients.arclink.tests.test_client.ClientTestCase)
9.848s test_dataselect_bulk (obspy.clients.fdsn.tests.test_client.ClientTestCase)
9.630s test_plot_multiple_traces (obspy.imaging.tests.test_waveform.WaveformTestCase)
9.117s test_redirection (obspy.clients.fdsn.tests.test_client.ClientTestCase)

Chuck Norris Fact

Chuck Norris burst the dot com bubble.