#14927 Report by node raring covering 1132 tests from 28 modules resulted into 35 errors

Report

ObsPy Version
0.9.2-16-g5249b
Continuous Integration
-
GitHub Pull Request
-
Report File
XML Document
Total Runtime
1319.1 sec
Report Date/Time
2014-06-03 19:54:52

System / Python

Architecture
32bit
Machine
x86_64
Node
raring
Processor
x86_64
Python Compiler
GCC 4.7.3
Python Implementation
CPython
Python Version
2.7.4
Release
3.2.0-4-amd64
System
Linux
Version
#1 SMP Debian 3.2.57-3+deb7u1

Dependencies

lxml.etree
3.1.0
matplotlib
1.2.1
mock
1.0.1
mpl_toolkits.basemap
Not Installed
nose
1.1.2
numpy
1.7.1
scipy
0.11.0
sqlalchemy
0.7.9
suds
0.4.1

Modules (28)

Module Errors /
Failures
Tracebacks
obspy.arclink 2 1 2
obspy.core - -
obspy.css - -
obspy.datamark - -
obspy.db - -
obspy.earthworm 3 3 4 5
obspy.fdsn 7 6 7 8 9 10 11 12
obspy.gse2 - -
obspy.imaging - -
obspy.iris 6 13 14 15 16 17 18
obspy.mseed - -
obspy.neic 5 19 20 21 22 23
obspy.neries 11 24 25 26 27 28 29 30 31 32 33 34
obspy.pde - -
obspy.realtime - -
obspy.sac - -
obspy.seedlink - -
obspy.seg2 - -
obspy.segy - -
obspy.seisan - -
obspy.seishub 1 35
obspy.sh - -
obspy.signal - -
obspy.station - -
obspy.taup - -
obspy.wav - -
obspy.xseed - -
obspy.y - -
Summary 35 35

Tracebacks (35)

Traceback (most recent call last):
File "/tmp/testrun/git/obspy/arclink/tests/test_client.py", line 594, in test_SRL
t, t + 30).values()[0]
File "/tmp/testrun/git/obspy/arclink/client.py", line 942, in getPAZ
instruments=True, route=route)
File "/tmp/testrun/git/obspy/arclink/client.py", line 1108, in getInventory
result = self._fetch(rtype, rdata, route=route)
File "/tmp/testrun/git/obspy/arclink/client.py", line 205, in _fetch
return self._request(request_type, request_data)
File "/tmp/testrun/git/obspy/arclink/client.py", line 309, in _request
raise ArcLinkException("%s %s" % (err_code, msg))
ArcLinkException: UNSET
Traceback (most recent call last):
File "/tmp/testrun/git/obspy/arclink/tests/test_client.py", line 366, in test_getNetworks
result = client.getNetworks(start, end)
File "/tmp/testrun/git/obspy/arclink/client.py", line 1325, in getNetworks
endtime=endtime, route=False)
File "/tmp/testrun/git/obspy/arclink/client.py", line 1106, in getInventory
result = self._fetch(rtype, rdata, route=False)
File "/tmp/testrun/git/obspy/arclink/client.py", line 205, in _fetch
return self._request(request_type, request_data)
File "/tmp/testrun/git/obspy/arclink/client.py", line 309, in _request
raise ArcLinkException("%s %s" % (err_code, msg))
ArcLinkException: UNSET
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.earthworm.__init__
File "/tmp/testrun/git/obspy/earthworm/__init__.py", line 1, in __init__
----------------------------------------------------------------------
File "/tmp/testrun/git/obspy/earthworm/__init__.py", line 21, in obspy.earthworm.__init__
Failed example:
response = client.availability("UW", "TUCA", channel="BHZ")
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.earthworm.__init__[2]>", line 1, in <module>
response = client.availability("UW", "TUCA", channel="BHZ")
File "/tmp/testrun/git/obspy/earthworm/client.py", line 217, in availability
response = getMenu(self.host, self.port, timeout=self.timeout)
File "/tmp/testrun/git/obspy/earthworm/waveserver.py", line 197, in getMenu
sock = sendSockReq(server, port, getstr, timeout=timeout)
File "/tmp/testrun/git/obspy/earthworm/waveserver.py", line 131, in sendSockReq
s.connect((server, 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 "/tmp/testrun/git/obspy/earthworm/__init__.py", line 29, in obspy.earthworm.__init__
Failed example:
t = response[0][4]
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.earthworm.__init__[4]>", line 1, in <module>
t = response[0][4]
NameError: name 'response' is not defined
----------------------------------------------------------------------
File "/tmp/testrun/git/obspy/earthworm/__init__.py", line 30, in obspy.earthworm.__init__
Failed example:
st = client.getWaveform('UW', 'TUCA', '', 'BH*', t + 100, t + 130)
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.earthworm.__init__[5]>", line 1, in <module>
st = client.getWaveform('UW', 'TUCA', '', 'BH*', t + 100, t + 130)
NameError: name 't' 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.earthworm.client.Client.availability
File "/tmp/testrun/git/obspy/earthworm/client.py", line 164, in availability
----------------------------------------------------------------------
File "/tmp/testrun/git/obspy/earthworm/client.py", line 191, in obspy.earthworm.client.Client.availability
Failed example:
response = client.availability(network="UW", station="TUCA",
channel="BH*")
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.earthworm.client.Client.availability[2]>", line 2, in <module>
channel="BH*")
File "/tmp/testrun/git/obspy/earthworm/client.py", line 217, in availability
response = getMenu(self.host, self.port, timeout=self.timeout)
File "/tmp/testrun/git/obspy/earthworm/waveserver.py", line 197, in getMenu
sock = sendSockReq(server, port, getstr, timeout=timeout)
File "/tmp/testrun/git/obspy/earthworm/waveserver.py", line 131, in sendSockReq
s.connect((server, port))
File "/usr/lib/python2.7/socket.py", line 224, in meth
return getattr(self._sock,name)(*args)
timeout: 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.earthworm.client.Client.getWaveform
File "/tmp/testrun/git/obspy/earthworm/client.py", line 46, in getWaveform
----------------------------------------------------------------------
File "/tmp/testrun/git/obspy/earthworm/client.py", line 78, in obspy.earthworm.client.Client.getWaveform
Failed example:
st = client.getWaveform('UW', 'TUCA', '', 'BHZ', dt, dt + 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.earthworm.client.Client.getWaveform[3]>", line 1, in <module>
st = client.getWaveform('UW', 'TUCA', '', 'BHZ', dt, dt + 10)
File "/tmp/testrun/git/obspy/earthworm/client.py", line 108, in getWaveform
timeout=self.timeout)
File "/tmp/testrun/git/obspy/earthworm/waveserver.py", line 237, in readWaveServerV
sock = sendSockReq(server, port, reqstr, timeout=timeout)
File "/tmp/testrun/git/obspy/earthworm/waveserver.py", line 131, in sendSockReq
s.connect((server, 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 "/tmp/testrun/git/obspy/earthworm/client.py", line 80, in obspy.earthworm.client.Client.getWaveform
Failed example:
st = client.getWaveform('UW', 'TUCA', '', 'BH*', dt, dt + 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.earthworm.client.Client.getWaveform[5]>", line 1, in <module>
st = client.getWaveform('UW', 'TUCA', '', 'BH*', dt, dt + 10)
File "/tmp/testrun/git/obspy/earthworm/client.py", line 101, in getWaveform
cleanup=cleanup)
File "/tmp/testrun/git/obspy/earthworm/client.py", line 108, in getWaveform
timeout=self.timeout)
File "/tmp/testrun/git/obspy/earthworm/waveserver.py", line 237, in readWaveServerV
sock = sendSockReq(server, port, reqstr, timeout=timeout)
File "/tmp/testrun/git/obspy/earthworm/waveserver.py", line 131, in sendSockReq
s.connect((server, 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 "/tmp/testrun/git/obspy/fdsn/tests/test_client.py", line 310, in test_IRIS_example_queries_event
got = client.get_events(**query)
File "/tmp/testrun/git/obspy/fdsn/client.py", line 272, in get_events
data_stream = self._download(url)
File "/tmp/testrun/git/obspy/fdsn/client.py", line 974, in _download
raise FDSNException("No data available for request.")
FDSNException: No data available for request.
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.fdsn.__init__
File "/tmp/testrun/git/obspy/fdsn/__init__.py", line 1, in __init__
----------------------------------------------------------------------
File "/tmp/testrun/git/obspy/fdsn/__init__.py", line 53, in obspy.fdsn.__init__
Failed example:
print(cat) # doctest: +NORMALIZE_WHITESPACE
Expected:
2 Event(s) in Catalog:
2011-04-07T14:32:43.290000Z | +38.276, +141.588 | 7.1 MW
2011-04-03T20:06:40.390000Z | -9.848, +107.693 | 6.7 MW
Got:
4 Event(s) in Catalog:
2011-04-11T08:16:12.690000Z | +36.953, +140.584 | 6.7 MW
2011-04-07T14:32:44.100000Z | +38.251, +141.730 | 7.1 MW
2011-04-07T13:11:23.430000Z | +17.265, -94.144 | 6.7 MW
2011-04-03T20:06:43.260000Z | -9.734, +107.769 | 6.7 MW
----------------------------------------------------------------------
File "/tmp/testrun/git/obspy/fdsn/__init__.py", line 76, in obspy.fdsn.__init__
Failed example:
print inventory # doctest: +ELLIPSIS +NORMALIZE_WHITESPACE
Expected:
Inventory created at ...
Created by: IRIS WEB SERVICE: fdsnws-station | version: ...
http://service.iris.edu/fdsnws/station/1/query?latitude=...
Sending institution: IRIS-DMC (IRIS-DMC)
Contains:
Networks (3):
AI
II
SY
Stations (4):
AI.ORCD (ORCADAS, SOUTH ORKNEY ISLANDS)
II.HOPE (Hope Point, South Georgia Island)
SY.HOPE (HOPE synthetic)
SY.ORCD (ORCD synthetic)
Channels (0):
Got:
Inventory created at 2014-06-04T00:41:26.000000Z
	Created by: IRIS WEB SERVICE: fdsnws-station | version: 1.1.3
		 http://service.iris.edu/fdsnws/station/1/query?latitude=-56.1&maxra...
	Sending institution: IRIS-DMC (IRIS-DMC)
	Contains:
		Networks (3):
			AI
			II
			SY
		Stations (4):
			AI.ORCD (Orcadas Permanent Argentinean Antarctic Base)
			II.HOPE (Hope Point, South Georgia Island)
			SY.HOPE (HOPE synthetic)
			SY.ORCD (ORCD synthetic)
		Channels (0):
<BLANKLINE>
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.fdsn.client.Client.get_stations
File "/tmp/testrun/git/obspy/fdsn/client.py", line 289, in get_stations
----------------------------------------------------------------------
File "/tmp/testrun/git/obspy/fdsn/client.py", line 296, in obspy.fdsn.client.Client.get_stations
Failed example:
print inventory # doctest: +ELLIPSIS +NORMALIZE_WHITESPACE
Expected:
Inventory created at ...
Created by: IRIS WEB SERVICE: fdsnws-station | version: ...
http://service.iris.edu/fdsnws/station/1/query?lat...
Sending institution: IRIS-DMC (IRIS-DMC)
Contains:
Networks (3):
AI
II
SY
Stations (4):
AI.ORCD (ORCADAS, SOUTH ORKNEY ISLANDS)
II.HOPE (Hope Point, South Georgia Island)
SY.HOPE (HOPE synthetic)
SY.ORCD (ORCD synthetic)
Channels (0):
Got:
Inventory created at 2014-06-04T00:41:41.000000Z
	Created by: IRIS WEB SERVICE: fdsnws-station | version: 1.1.3
		 http://service.iris.edu/fdsnws/station/1/query?latitude=-56.1&maxra...
	Sending institution: IRIS-DMC (IRIS-DMC)
	Contains:
		Networks (3):
			AI
			II
			SY
		Stations (4):
			AI.ORCD (Orcadas Permanent Argentinean Antarctic Base)
			II.HOPE (Hope Point, South Georgia Island)
			SY.HOPE (HOPE synthetic)
			SY.ORCD (ORCD synthetic)
		Channels (0):
<BLANKLINE>
----------------------------------------------------------------------
File "/tmp/testrun/git/obspy/fdsn/client.py", line 315, in obspy.fdsn.client.Client.get_stations
Failed example:
print inventory # doctest: +ELLIPSIS +NORMALIZE_WHITESPACE
Expected:
Inventory created at ...
Created by: IRIS WEB SERVICE: fdsnws-station | version: ...
http://service.iris.edu/fdsnws/station/1/query?station=...
Sending institution: IRIS-DMC (IRIS-DMC)
Contains:
Networks (1):
IU
Stations (1):
IU.ANMO (Albuquerque, New Mexico, USA)
Channels (57):
IU.ANMO.00.BH1, IU.ANMO.00.BH2, IU.ANMO.00.BHZ,
IU.ANMO.00.LH1, IU.ANMO.00.LH2, IU.ANMO.00.LHZ,
IU.ANMO.00.VH1, IU.ANMO.00.VH2, IU.ANMO.00.VHZ,
IU.ANMO.00.VM1, IU.ANMO.00.VM2, IU.ANMO.00.VMZ,
IU.ANMO.10.BH1, IU.ANMO.10.BH2, IU.ANMO.10.BHZ,
IU.ANMO.10.EH1, IU.ANMO.10.EH2, IU.ANMO.10.EHZ,
IU.ANMO.10.HH1, IU.ANMO.10.HH2, IU.ANMO.10.HHZ,
IU.ANMO.10.LH1, IU.ANMO.10.LH2, IU.ANMO.10.LHZ,
IU.ANMO.10.VH1, IU.ANMO.10.VH2, IU.ANMO.10.VHZ,
IU.ANMO.10.VM1, IU.ANMO.10.VM2, IU.ANMO.10.VMZ,
IU.ANMO.20.EN1, IU.ANMO.20.EN2, IU.ANMO.20.ENZ,
IU.ANMO.20.HN1, IU.ANMO.20.HN1, IU.ANMO.20.HN2,
IU.ANMO.20.HN2, IU.ANMO.20.HNZ, IU.ANMO.20.HNZ,
IU.ANMO.20.LN1, IU.ANMO.20.LN1, IU.ANMO.20.LN2,
IU.ANMO.20.LN2, IU.ANMO.20.LNZ, IU.ANMO.20.LNZ,
IU.ANMO.30.LDO, IU.ANMO.31.LDO, IU.ANMO.35.LDO,
IU.ANMO.40.LFZ, IU.ANMO.50.LDO, IU.ANMO.50.LIO,
IU.ANMO.50.LKO, IU.ANMO.50.LRH, IU.ANMO.50.LRI,
IU.ANMO.50.LWD, IU.ANMO.50.LWS, IU.ANMO.60.HDF
Got:
Inventory created at 2014-06-04T00:41:41.000000Z
	Created by: IRIS WEB SERVICE: fdsnws-station | version: 1.1.3
		 http://service.iris.edu/fdsnws/station/1/query?station=ANMO&network...
	Sending institution: IRIS-DMC (IRIS-DMC)
	Contains:
		Networks (1):
			IU
		Stations (1):
			IU.ANMO (Albuquerque, New Mexico, USA)
		Channels (57):
			IU.ANMO.00.BH1, IU.ANMO.00.BH2, IU.ANMO.00.BHZ, IU.ANMO.00.LH1,
			IU.ANMO.00.LH2, IU.ANMO.00.LHZ, IU.ANMO.00.VH1, IU.ANMO.00.VH2,
			IU.ANMO.00.VHZ, IU.ANMO.00.VM1, IU.ANMO.00.VM2, IU.ANMO.00.VMZ,
			IU.ANMO.10.BH1, IU.ANMO.10.BH2, IU.ANMO.10.BHZ, IU.ANMO.10.HH1,
			IU.ANMO.10.HH2, IU.ANMO.10.HHZ, IU.ANMO.10.LH1, IU.ANMO.10.LH2,
			IU.ANMO.10.LHZ, IU.ANMO.10.VH1, IU.ANMO.10.VH2, IU.ANMO.10.VHZ,
			IU.ANMO.10.VM1, IU.ANMO.10.VM2, IU.ANMO.10.VMZ, IU.ANMO.20.EN1,
			IU.ANMO.20.EN2, IU.ANMO.20.ENZ, IU.ANMO.20.HN1, IU.ANMO.20.HN1,
			IU.ANMO.20.HN2, IU.ANMO.20.HN2, IU.ANMO.20.HNZ, IU.ANMO.20.HNZ,
			IU.ANMO.20.LN1, IU.ANMO.20.LN1, IU.ANMO.20.LN2, IU.ANMO.20.LN2,
			IU.ANMO.20.LNZ, IU.ANMO.20.LNZ, IU.ANMO.30.LDO, IU.ANMO.31.LDO,
			IU.ANMO.35.LDO, IU.ANMO.40.LF1, IU.ANMO.40.LF2, IU.ANMO.40.LFZ,
			IU.ANMO.40.LFZ, IU.ANMO.50.LDO, IU.ANMO.50.LIO, IU.ANMO.50.LKO,
			IU.ANMO.50.LRH, IU.ANMO.50.LRI, IU.ANMO.50.LWD, IU.ANMO.50.LWS,
			IU.ANMO.60.HDF
Traceback (most recent call last):
File "/tmp/testrun/git/obspy/fdsn/tests/test_wadl_parser.py", line 428, in test_parsing_current_wadls_seismicportal
self.assertEqual(len(w), 0)
AssertionError: 1 != 0
Traceback (most recent call last):
File "/tmp/testrun/git/obspy/fdsn/tests/test_client.py", line 265, in test_IRIS_event_contributors_availability
"UNKNOWN", "NEIC PDE-M", "NEIC PDE-Q")))
AssertionError: Items in the first set but not the second:
'NEIC COMCAT'
Traceback (most recent call last):
File "/tmp/testrun/git/obspy/fdsn/tests/test_client.py", line 354, in test_IRIS_example_queries_station
self.assertEqual(got, expected, failmsg(got, expected))
AssertionError:
Got:
Inventory created at None
	Sending institution: IRIS-DMC (IRIS-DMC)
	Contains:
		Networks (3):
			AI
			II
			SY
		Stations (4):
			AI.ORCD (Orcadas Permanent Argentinean Antarctic Base)
			II.HOPE (Hope Point, South Georgia Island)
			SY.HOPE (HOPE synthetic)
			SY.ORCD (ORCD synthetic)
		Channels (0):
Expected:
Inventory created at None
	Sending institution: IRIS-DMC (IRIS-DMC)
	Contains:
		Networks (3):
			AI
			II
			SY
		Stations (4):
			AI.ORCD (Orcadas Permanent Argentinean Antarctic Base)
			II.HOPE (Hope Point, South Georgia Island)
			SY.HOPE (HOPE synthetic)
			SY.ORCD (ORCD synthetic)
		Channels (0):
Traceback (most recent call last):
File "/tmp/testrun/git/obspy/fdsn/tests/test_client.py", line 460, in test_help_function_with_IRIS
normalize_version_number(expected)))
AssertionError:
Diff:
- Available contributors: NEIC PDE-W, ANF, University of Washington, GCMT-Q, NEIC PDE-Q, UNKNOWN, NEIC ALERT, ISC, NEIC PDE-M, NEIC COMCAT, GCMT
? -------------
+ Available contributors: NEIC PDE-W, ANF, University of Washington, GCMT-Q, NEIC PDE-Q, UNKNOWN, NEIC ALERT, ISC, NEIC PDE-M, GCMT
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.iris.client.Client.evalresp
File "/tmp/testrun/git/obspy/iris/client.py", line 927, in evalresp
----------------------------------------------------------------------
File "/tmp/testrun/git/obspy/iris/client.py", line 1033, in obspy.iris.client.Client.evalresp
Failed example:
data[0] # frequency, amplitude, phase of first point
Expected:
array([ 1.00000000e-05, 1.20280200e+04, 1.79200700e+02])
Got:
array([ 1.00000000e-05, 1.05599900e+04, 1.79200700e+02])
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.iris.client.Client.sacpz
File "/tmp/testrun/git/obspy/iris/client.py", line 563, in sacpz
----------------------------------------------------------------------
File "/tmp/testrun/git/obspy/iris/client.py", line 601, in obspy.iris.client.Client.sacpz
Failed example:
print(sacpz) # doctest: +ELLIPSIS +NORMALIZE_WHITESPACE
Expected:
* **********************************
* NETWORK (KNETWK): IU
* STATION (KSTNM): ANMO
* LOCATION (KHOLE): 00
* CHANNEL (KCMPNM): BHZ
* CREATED : ...
* START : 2002-11-19T21:07:00
* END : 2008-06-30T00:00:00
* DESCRIPTION : Albuquerque, New Mexico, USA
* LATITUDE : 34.945981
* LONGITUDE : -106.457133
* ELEVATION : 1671.0
* DEPTH : 145.0
* DIP : 0.0
* AZIMUTH : 0.0
* SAMPLE RATE : 20.0
* INPUT UNIT : M
* OUTPUT UNIT : COUNTS
* INSTTYPE : Geotech KS-54000 Borehole Seismometer
* INSTGAIN : 2.204000e+03 (M/S)
* COMMENT :
* SENSITIVITY : 9.244000e+08 (M/S)
* A0 : 8.608300e+04
* **********************************
ZEROS 3
+0.000000e+00 +0.000000e+00
+0.000000e+00 +0.000000e+00
+0.000000e+00 +0.000000e+00
POLES 5
-5.943130e+01 +0.000000e+00
-2.271210e+01 +2.710650e+01
-2.271210e+01 -2.710650e+01
-4.800400e-03 +0.000000e+00
-7.319900e-02 +0.000000e+00
CONSTANT 7.957513e+13
<BLANKLINE>
<BLANKLINE>
<BLANKLINE>
Got:
* **********************************
* NETWORK (KNETWK): IU
* STATION (KSTNM): ANMO
* LOCATION (KHOLE): 00
* CHANNEL (KCMPNM): BHZ
* CREATED : 2014-06-04T00:45:02
* START : 2002-11-19T21:07:00
* END : 2008-06-30T00:00:00
* DESCRIPTION : Albuquerque, New Mexico, USA
* LATITUDE : 34.945981
* LONGITUDE : -106.457133
* ELEVATION : 1671.0
* DEPTH : 145.0
* DIP : 0.0
* AZIMUTH : 0.0
* SAMPLE RATE : 20.0
* INPUT UNIT : M
* OUTPUT UNIT : COUNTS
* INSTTYPE : Geotech KS-54000 Borehole Seismometer
* INSTGAIN : 1.935000e+03 (M/S)
* COMMENT :
* SENSITIVITY : 8.115970e+08 (M/S)
* A0 : 8.608300e+04
* **********************************
ZEROS	3
	+0.000000e+00	+0.000000e+00	
	+0.000000e+00	+0.000000e+00	
	+0.000000e+00	+0.000000e+00	
POLES	5
	-5.943130e+01	+0.000000e+00	
	-2.271210e+01	+2.710650e+01	
	-2.271210e+01	-2.710650e+01	
	-4.800400e-03	+0.000000e+00	
	-7.319900e-02	+0.000000e+00	
CONSTANT	6.986470e+13
<BLANKLINE>
<BLANKLINE>
<BLANKLINE>
Traceback (most recent call last):
File "/tmp/testrun/git/obspy/iris/tests/test_client.py", line 37, in test_sacpz
self.assertEqual(result, expected)
AssertionError: Lists differ: ['* **************************... != ['* **************************...
First differing element 18:
* INSTGAIN : 1.935000e+03 (M/S)
* INSTGAIN : 2.204000e+03 (M/S)
Diff is 1597 characters long. Set self.maxDiff to None to see it.
Traceback (most recent call last):
File "/tmp/testrun/git/obspy/iris/tests/test_client.py", line 242, in test_timeseries
self.assertAlmostEqual(st2[0].data[0], -2.4910707e-06)
AssertionError: -2.8373747e-06 != -2.4910707e-06 within 7 places
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.iris.client.Client.timeseries
File "/tmp/testrun/git/obspy/iris/client.py", line 227, in timeseries
----------------------------------------------------------------------
File "/tmp/testrun/git/obspy/iris/client.py", line 370, in obspy.iris.client.Client.timeseries
Failed example:
print(st[0].data) # doctest: +ELLIPSIS
Expected:
[ -1.38267058e-06 -1.10900783e-06 -6.89020794e-07 ...
Got:
[ -1.57488682e-06 -1.26318002e-06 -7.84807128e-07 -2.73580895e-07
1.49641949e-07 4.15135247e-07 5.13873999e-07 4.83424117e-07
3.82785231e-07 2.68379921e-07 1.78701185e-07 1.29603151e-07
1.18047787e-07 1.30180879e-07 1.49708740e-07 1.63899244e-07
1.66238124e-07 1.56159871e-07 1.37023861e-07 1.13618619e-07
9.01472319e-08 6.91393254e-08 5.12805975e-08 3.58765142e-08
2.15867093e-08 7.12067916e-09 -8.30025737e-09 -2.47852494e-08
-4.18824371e-08 -5.88444955e-08 -7.49230082e-08 -8.95902659e-08
-1.02635518e-07 -1.14133037e-07 -1.24321318e-07 -1.33457192e-07
-1.41705840e-07 -1.49100586e-07 -1.55569623e-07 -1.61000344e-07
-1.65302936e-07 -1.68445425e-07 -1.70453760e-07 -1.71391022e-07
-1.71335259e-07 -1.70367130e-07 -1.68566842e-07 -1.66015639e-07
-1.62796766e-07 -1.58993089e-07 -1.54683065e-07 -1.49941684e-07
-1.44849821e-07 -1.39504522e-07 -1.34017284e-07 -1.28497135e-07
-1.23030944e-07 -1.17675036e-07 -1.12459304e-07 -1.07394271e-07
-1.02474239e-07 -9.76798376e-08 -9.29866673e-08 -8.83817677e-08
-8.38813321e-08 -7.95367754e-08 -7.54173968e-08 -7.15724298e-08
-6.79954795e-08 -6.46179217e-08 -6.13387030e-08 -5.80724979e-08
-5.47882948e-08 -5.15169454e-08 -4.83208744e-08 -4.52372575e-08
-4.22242721e-08 -3.91458208e-08 -3.58125831e-08 -3.20637596e-08
-2.78474008e-08 -2.32552733e-08 -1.84913151e-08 -1.37869014e-08
-9.30496391e-09 -5.08262099e-09 -1.04179332e-09 2.94013547e-09
6.93967461e-09 1.09249694e-08 1.47514365e-08 1.82110060e-08
2.11027444e-08 2.32873294e-08 2.47055016e-08 2.53651251e-08
2.53154475e-08 2.46253027e-08 2.33702799e-08 2.16216964e-08
1.94287022e-08 1.67964131e-08 1.36762264e-08 9.98304905e-09
5.63661162e-09 6.05496542e-10 -5.07044806e-09 -1.12889653e-08
-1.79158164e-08 -2.48185579e-08 -3.18917124e-08 -3.90726207e-08
-4.63514240e-08 -5.37748548e-08 -6.14405593e-08 -6.94807625e-08
-7.80359812e-08 -8.72183321e-08 -9.70658860e-08 -1.07498927e-07
-1.18297805e-07 -1.29119954e-07 -1.39559049e-07 -1.49231894e-07
-1.57866083e-07 -1.65358003e-07 -1.71780059e-07 -1.77335011e-07
-1.82273794e-07 -1.86805138e-07 -1.91026515e-07 -1.94897893e-07
-1.98262398e-07 -2.00899862e-07 -2.02590428e-07 -2.03170259e-07
-2.02566838e-07 -2.00805516e-07 -1.97984932e-07 -1.94232058e-07
-1.89656646e-07 -1.84321479e-07 -1.78235297e-07 -1.71368441e-07
-1.63682955e-07 -1.55162127e-07 -1.45824785e-07 -1.35720384e-07
-1.24911935e-07 -1.13455798e-07 -1.01386277e-07 -8.87107987e-08
-7.54210845e-08 -6.15206659e-08 -4.70591424e-08 -3.21548548e-08
-1.69899828e-08 -1.77743664e-09 1.32841045e-08 2.80456849e-08
4.24210533e-08 5.63750291e-08 6.98916480e-08 8.29321252e-08
9.54003099e-08 1.07135605e-07 1.17940687e-07 1.27630315e-07
1.36073922e-07 1.43212119e-07 1.49048219e-07 1.53631191e-07
1.57047111e-07 1.59423237e-07 1.60934675e-07 1.61796734e-07
1.62230435e-07 1.62400667e-07 1.62343824e-07 1.61917512e-07
1.60808440e-07 1.58617837e-07 1.55008536e-07 1.49864746e-07
1.43400499e-07 1.36160310e-07 1.28882519e-07 1.22239527e-07
1.16524831e-07 1.11403686e-07 1.05859797e-07 9.84317552e-08
8.77385133e-08 7.31615231e-08 5.54217792e-08 3.67180029e-08
2.01511323e-08 8.42432168e-09 2.32801600e-09 3.11299042e-10]
Traceback (most recent call last):
File "/tmp/testrun/git/obspy/iris/tests/test_client.py", line 146, in test_evalresp
'1.000000E-05 1.202802E+04 1.792007E+02\n')
AssertionError: '1.000000E-05 1.055999E+04 1.792007E+02\n' != '1.000000E-05 1.202802E+04 1.792007E+02\n'
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.neic.client.Client.getWaveformNSCL
File "/tmp/testrun/git/obspy/neic/client.py", line 123, in getWaveformNSCL
----------------------------------------------------------------------
File "/tmp/testrun/git/obspy/neic/client.py", line 156, in obspy.neic.client.Client.getWaveformNSCL
Failed example:
st = client.getWaveformNSCL("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.neic.client.Client.getWaveformNSCL[4]>", line 1, in <module>
st = client.getWaveformNSCL("IUANMO BH.00", t, 10)
File "/tmp/testrun/git/obspy/neic/client.py", line 176, in getWaveformNSCL
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 "/tmp/testrun/git/obspy/neic/client.py", line 157, in obspy.neic.client.Client.getWaveformNSCL
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.neic.client.Client.getWaveformNSCL[5]>", line 1, in <module>
print st # doctest: +ELLIPSIS
NameError: name 'st' is not defined
Traceback (most recent call last):
File "/tmp/testrun/git/obspy/neic/tests/test_client.py", line 23, in test_getWaveform
st = client.getWaveformNSCL("IUANMO BH.00", t, duration)
File "/tmp/testrun/git/obspy/neic/client.py", line 176, in getWaveformNSCL
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 "/tmp/testrun/git/obspy/neic/tests/test_client.py", line 45, in test_getWaveformNSCL
st = client.getWaveformNSCL("IUANMO BH.00", t, duration_long)
File "/tmp/testrun/git/obspy/neic/client.py", line 176, in getWaveformNSCL
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.neic.client.Client
File "/tmp/testrun/git/obspy/neic/client.py", line 20, in Client
----------------------------------------------------------------------
File "/tmp/testrun/git/obspy/neic/client.py", line 40, in obspy.neic.client.Client
Failed example:
st = client.getWaveform("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.neic.client.Client[3]>", line 1, in <module>
st = client.getWaveform("IU", "ANMO", "00", "BH?", t, t + 10)
File "/tmp/testrun/git/obspy/neic/client.py", line 121, in getWaveform
return self.getWaveformNSCL(seedname, starttime, endtime - starttime)
File "/tmp/testrun/git/obspy/neic/client.py", line 176, in getWaveformNSCL
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 "/tmp/testrun/git/obspy/neic/client.py", line 41, in obspy.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.neic.client.Client[4]>", line 1, in <module>
print st # doctest: +ELLIPSIS
NameError: name 'st' is not defined
----------------------------------------------------------------------
File "/tmp/testrun/git/obspy/neic/client.py", line 46, in obspy.neic.client.Client
Failed example:
st = client.getWaveformNSCL("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.neic.client.Client[5]>", line 1, in <module>
st = client.getWaveformNSCL("IUANMO BH.00", t, 10)
File "/tmp/testrun/git/obspy/neic/client.py", line 176, in getWaveformNSCL
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 "/tmp/testrun/git/obspy/neic/client.py", line 47, in obspy.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.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.neic.client.Client.getWaveform
File "/tmp/testrun/git/obspy/neic/client.py", line 67, in getWaveform
----------------------------------------------------------------------
File "/tmp/testrun/git/obspy/neic/client.py", line 105, in obspy.neic.client.Client.getWaveform
Failed example:
st = client.getWaveform("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.neic.client.Client.getWaveform[3]>", line 1, in <module>
st = client.getWaveform("IU", "ANMO", "0?", "BH?", t, t + 10)
File "/tmp/testrun/git/obspy/neic/client.py", line 121, in getWaveform
return self.getWaveformNSCL(seedname, starttime, endtime - starttime)
File "/tmp/testrun/git/obspy/neic/client.py", line 176, in getWaveformNSCL
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 "/tmp/testrun/git/obspy/neic/client.py", line 106, in obspy.neic.client.Client.getWaveform
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.neic.client.Client.getWaveform[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.neries.__init__
File "/tmp/testrun/git/obspy/neries/__init__.py", line 1, in __init__
----------------------------------------------------------------------
File "/tmp/testrun/git/obspy/neries/__init__.py", line 25, in obspy.neries.__init__
Failed example:
events = client.getEvents(min_datetime="2004-01-01",
max_datetime="2005-01-01",
min_magnitude=9)
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.neries.__init__[2]>", line 3, in <module>
min_magnitude=9)
File "/tmp/testrun/git/obspy/neries/client.py", line 81, in wrapper
v = f(*args, **new_kwargs)
File "/tmp/testrun/git/obspy/neries/client.py", line 279, in getEvents
data = self._fetch("/services/event/search", **kwargs)
File "/tmp/testrun/git/obspy/neries/client.py", line 160, in _fetch
response = urllib2.urlopen(remoteaddr, timeout=self.timeout)
File "/usr/lib/python2.7/urllib2.py", line 127, in urlopen
return _opener.open(url, data, timeout)
File "/usr/lib/python2.7/urllib2.py", line 410, in open
response = meth(req, response)
File "/usr/lib/python2.7/urllib2.py", line 523, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.7/urllib2.py", line 448, in error
return self._call_chain(*args)
File "/usr/lib/python2.7/urllib2.py", line 382, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 531, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 503: Service Unavailable
----------------------------------------------------------------------
File "/tmp/testrun/git/obspy/neries/__init__.py", line 28, in obspy.neries.__init__
Failed example:
len(events)
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.neries.__init__[3]>", line 1, in <module>
len(events)
NameError: name 'events' is not defined
----------------------------------------------------------------------
File "/tmp/testrun/git/obspy/neries/__init__.py", line 41, in obspy.neries.__init__
Failed example:
events = client.getLatestEvents(num=5, format='list')
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.neries.__init__[7]>", line 1, in <module>
events = client.getLatestEvents(num=5, format='list')
File "/tmp/testrun/git/obspy/neries/client.py", line 343, in getLatestEvents
data = self._fetch("/services/event/latest", **kwargs)
File "/tmp/testrun/git/obspy/neries/client.py", line 160, in _fetch
response = urllib2.urlopen(remoteaddr, timeout=self.timeout)
File "/usr/lib/python2.7/urllib2.py", line 127, in urlopen
return _opener.open(url, data, timeout)
File "/usr/lib/python2.7/urllib2.py", line 410, in open
response = meth(req, response)
File "/usr/lib/python2.7/urllib2.py", line 523, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.7/urllib2.py", line 448, in error
return self._call_chain(*args)
File "/usr/lib/python2.7/urllib2.py", line 382, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 531, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 503: Service Unavailable
----------------------------------------------------------------------
File "/tmp/testrun/git/obspy/neries/__init__.py", line 55, in obspy.neries.__init__
Failed example:
result = client.getEventDetail("20041226_0000148", 'list')
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.neries.__init__[12]>", line 1, in <module>
result = client.getEventDetail("20041226_0000148", 'list')
File "/tmp/testrun/git/obspy/neries/client.py", line 404, in getEventDetail
data = self._fetch("/services/event/detail", **kwargs)
File "/tmp/testrun/git/obspy/neries/client.py", line 160, in _fetch
response = urllib2.urlopen(remoteaddr, timeout=self.timeout)
File "/usr/lib/python2.7/urllib2.py", line 127, in urlopen
return _opener.open(url, data, timeout)
File "/usr/lib/python2.7/urllib2.py", line 410, in open
response = meth(req, response)
File "/usr/lib/python2.7/urllib2.py", line 523, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.7/urllib2.py", line 448, in error
return self._call_chain(*args)
File "/usr/lib/python2.7/urllib2.py", line 382, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 531, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 503: Service Unavailable
----------------------------------------------------------------------
File "/tmp/testrun/git/obspy/neries/__init__.py", line 56, in obspy.neries.__init__
Failed example:
len(result) # Number of calculated origins
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.neries.__init__[13]>", line 1, in <module>
len(result) # Number of calculated origins
NameError: name 'result' is not defined
Traceback (most recent call last):
File "/tmp/testrun/git/obspy/neries/tests/test_client.py", line 136, in test_getEventDetail
data = client.getEventDetail("19990817_0000001", format='xml')
File "/tmp/testrun/git/obspy/neries/client.py", line 404, in getEventDetail
data = self._fetch("/services/event/detail", **kwargs)
File "/tmp/testrun/git/obspy/neries/client.py", line 160, in _fetch
response = urllib2.urlopen(remoteaddr, timeout=self.timeout)
File "/usr/lib/python2.7/urllib2.py", line 127, in urlopen
return _opener.open(url, data, timeout)
File "/usr/lib/python2.7/urllib2.py", line 410, in open
response = meth(req, response)
File "/usr/lib/python2.7/urllib2.py", line 523, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.7/urllib2.py", line 448, in error
return self._call_chain(*args)
File "/usr/lib/python2.7/urllib2.py", line 382, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 531, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 503: Service Unavailable
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.neries.client.Client.getEventDetail
File "/tmp/testrun/git/obspy/neries/client.py", line 352, in getEventDetail
----------------------------------------------------------------------
File "/tmp/testrun/git/obspy/neries/client.py", line 374, in obspy.neries.client.Client.getEventDetail
Failed example:
result = client.getEventDetail("19990817_0000001", 'list')
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.neries.client.Client.getEventDetail[2]>", line 1, in <module>
result = client.getEventDetail("19990817_0000001", 'list')
File "/tmp/testrun/git/obspy/neries/client.py", line 404, in getEventDetail
data = self._fetch("/services/event/detail", **kwargs)
File "/tmp/testrun/git/obspy/neries/client.py", line 160, in _fetch
response = urllib2.urlopen(remoteaddr, timeout=self.timeout)
File "/usr/lib/python2.7/urllib2.py", line 127, in urlopen
return _opener.open(url, data, timeout)
File "/usr/lib/python2.7/urllib2.py", line 410, in open
response = meth(req, response)
File "/usr/lib/python2.7/urllib2.py", line 523, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.7/urllib2.py", line 448, in error
return self._call_chain(*args)
File "/usr/lib/python2.7/urllib2.py", line 382, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 531, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 503: Service Unavailable
----------------------------------------------------------------------
File "/tmp/testrun/git/obspy/neries/client.py", line 375, in obspy.neries.client.Client.getEventDetail
Failed example:
len(result) # Number of calculated origins
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.neries.client.Client.getEventDetail[3]>", line 1, in <module>
len(result) # Number of calculated origins
NameError: name 'result' 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.neries.client.Client.getEvents
File "/tmp/testrun/git/obspy/neries/client.py", line 75, in getEvents
----------------------------------------------------------------------
File "/tmp/testrun/git/obspy/neries/client.py", line 136, in obspy.neries.client.Client.getEvents
Failed example:
events = client.getEvents(min_datetime="2004-12-01",
max_datetime="2005-01-01",
min_magnitude=9, format="list")
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.neries.client.Client.getEvents[2]>", line 3, in <module>
min_magnitude=9, format="list")
File "/tmp/testrun/git/obspy/neries/client.py", line 81, in wrapper
v = f(*args, **new_kwargs)
File "/tmp/testrun/git/obspy/neries/client.py", line 279, in getEvents
data = self._fetch("/services/event/search", **kwargs)
File "/tmp/testrun/git/obspy/neries/client.py", line 160, in _fetch
response = urllib2.urlopen(remoteaddr, timeout=self.timeout)
File "/usr/lib/python2.7/urllib2.py", line 127, in urlopen
return _opener.open(url, data, timeout)
File "/usr/lib/python2.7/urllib2.py", line 410, in open
response = meth(req, response)
File "/usr/lib/python2.7/urllib2.py", line 523, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.7/urllib2.py", line 448, in error
return self._call_chain(*args)
File "/usr/lib/python2.7/urllib2.py", line 382, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 531, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 503: Service Unavailable
----------------------------------------------------------------------
File "/tmp/testrun/git/obspy/neries/client.py", line 139, in obspy.neries.client.Client.getEvents
Failed example:
len(events)
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.neries.client.Client.getEvents[3]>", line 1, in <module>
len(events)
NameError: name 'events' 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.neries.client.Client.getLatestEvents
File "/tmp/testrun/git/obspy/neries/client.py", line 288, in getLatestEvents
----------------------------------------------------------------------
File "/tmp/testrun/git/obspy/neries/client.py", line 314, in obspy.neries.client.Client.getLatestEvents
Failed example:
events = client.getLatestEvents(num=5, format='list')
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.neries.client.Client.getLatestEvents[2]>", line 1, in <module>
events = client.getLatestEvents(num=5, format='list')
File "/tmp/testrun/git/obspy/neries/client.py", line 343, in getLatestEvents
data = self._fetch("/services/event/latest", **kwargs)
File "/tmp/testrun/git/obspy/neries/client.py", line 160, in _fetch
response = urllib2.urlopen(remoteaddr, timeout=self.timeout)
File "/usr/lib/python2.7/urllib2.py", line 127, in urlopen
return _opener.open(url, data, timeout)
File "/usr/lib/python2.7/urllib2.py", line 410, in open
response = meth(req, response)
File "/usr/lib/python2.7/urllib2.py", line 523, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.7/urllib2.py", line 448, in error
return self._call_chain(*args)
File "/usr/lib/python2.7/urllib2.py", line 382, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 531, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 503: Service Unavailable
Traceback (most recent call last):
File "/tmp/testrun/git/obspy/neries/tests/test_client.py", line 87, in test_getEventsWithUTCDateTimes
max_datetime=UTCDateTime("2005-01-01"))
File "/tmp/testrun/git/obspy/neries/client.py", line 81, in wrapper
v = f(*args, **new_kwargs)
File "/tmp/testrun/git/obspy/neries/client.py", line 279, in getEvents
data = self._fetch("/services/event/search", **kwargs)
File "/tmp/testrun/git/obspy/neries/client.py", line 160, in _fetch
response = urllib2.urlopen(remoteaddr, timeout=self.timeout)
File "/usr/lib/python2.7/urllib2.py", line 127, in urlopen
return _opener.open(url, data, timeout)
File "/usr/lib/python2.7/urllib2.py", line 410, in open
response = meth(req, response)
File "/usr/lib/python2.7/urllib2.py", line 523, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.7/urllib2.py", line 448, in error
return self._call_chain(*args)
File "/usr/lib/python2.7/urllib2.py", line 382, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 531, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 503: Service Unavailable
Traceback (most recent call last):
File "/tmp/testrun/git/obspy/neries/tests/test_client.py", line 24, in test_getEventsList
max_datetime="2005-01-01")
File "/tmp/testrun/git/obspy/neries/client.py", line 81, in wrapper
v = f(*args, **new_kwargs)
File "/tmp/testrun/git/obspy/neries/client.py", line 279, in getEvents
data = self._fetch("/services/event/search", **kwargs)
File "/tmp/testrun/git/obspy/neries/client.py", line 160, in _fetch
response = urllib2.urlopen(remoteaddr, timeout=self.timeout)
File "/usr/lib/python2.7/urllib2.py", line 127, in urlopen
return _opener.open(url, data, timeout)
File "/usr/lib/python2.7/urllib2.py", line 410, in open
response = meth(req, response)
File "/usr/lib/python2.7/urllib2.py", line 523, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.7/urllib2.py", line 448, in error
return self._call_chain(*args)
File "/usr/lib/python2.7/urllib2.py", line 382, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 531, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 503: Service Unavailable
Traceback (most recent call last):
File "/tmp/testrun/git/obspy/neries/tests/test_client.py", line 113, in test_getEventsAsQuakeML
max_datetime=UTCDateTime("2005-01-01"))
File "/tmp/testrun/git/obspy/neries/client.py", line 81, in wrapper
v = f(*args, **new_kwargs)
File "/tmp/testrun/git/obspy/neries/client.py", line 279, in getEvents
data = self._fetch("/services/event/search", **kwargs)
File "/tmp/testrun/git/obspy/neries/client.py", line 160, in _fetch
response = urllib2.urlopen(remoteaddr, timeout=self.timeout)
File "/usr/lib/python2.7/urllib2.py", line 127, in urlopen
return _opener.open(url, data, timeout)
File "/usr/lib/python2.7/urllib2.py", line 410, in open
response = meth(req, response)
File "/usr/lib/python2.7/urllib2.py", line 523, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.7/urllib2.py", line 448, in error
return self._call_chain(*args)
File "/usr/lib/python2.7/urllib2.py", line 382, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 531, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 503: Service Unavailable
Traceback (most recent call last):
File "/tmp/testrun/git/obspy/neries/tests/test_client.py", line 124, in test_getEventsAsCatalog
max_datetime=UTCDateTime("2005-01-01"))
File "/tmp/testrun/git/obspy/neries/client.py", line 81, in wrapper
v = f(*args, **new_kwargs)
File "/tmp/testrun/git/obspy/neries/client.py", line 279, in getEvents
data = self._fetch("/services/event/search", **kwargs)
File "/tmp/testrun/git/obspy/neries/client.py", line 160, in _fetch
response = urllib2.urlopen(remoteaddr, timeout=self.timeout)
File "/usr/lib/python2.7/urllib2.py", line 127, in urlopen
return _opener.open(url, data, timeout)
File "/usr/lib/python2.7/urllib2.py", line 410, in open
response = meth(req, response)
File "/usr/lib/python2.7/urllib2.py", line 523, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.7/urllib2.py", line 448, in error
return self._call_chain(*args)
File "/usr/lib/python2.7/urllib2.py", line 382, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 531, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 503: Service Unavailable
Traceback (most recent call last):
File "/tmp/testrun/git/obspy/neries/tests/test_client.py", line 290, in test_issue531
minmag=5.5, format='catalog')
File "/tmp/testrun/git/obspy/neries/client.py", line 81, in wrapper
v = f(*args, **new_kwargs)
File "/tmp/testrun/git/obspy/neries/client.py", line 279, in getEvents
data = self._fetch("/services/event/search", **kwargs)
File "/tmp/testrun/git/obspy/neries/client.py", line 160, in _fetch
response = urllib2.urlopen(remoteaddr, timeout=self.timeout)
File "/usr/lib/python2.7/urllib2.py", line 127, in urlopen
return _opener.open(url, data, timeout)
File "/usr/lib/python2.7/urllib2.py", line 410, in open
response = meth(req, response)
File "/usr/lib/python2.7/urllib2.py", line 523, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.7/urllib2.py", line 448, in error
return self._call_chain(*args)
File "/usr/lib/python2.7/urllib2.py", line 382, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 531, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 503: Service Unavailable
Traceback (most recent call last):
File "/tmp/testrun/git/obspy/neries/tests/test_client.py", line 168, in test_getLatestEvents
data = client.getLatestEvents(5, format='xml')
File "/tmp/testrun/git/obspy/neries/client.py", line 343, in getLatestEvents
data = self._fetch("/services/event/latest", **kwargs)
File "/tmp/testrun/git/obspy/neries/client.py", line 160, in _fetch
response = urllib2.urlopen(remoteaddr, timeout=self.timeout)
File "/usr/lib/python2.7/urllib2.py", line 127, in urlopen
return _opener.open(url, data, timeout)
File "/usr/lib/python2.7/urllib2.py", line 410, in open
response = meth(req, response)
File "/usr/lib/python2.7/urllib2.py", line 523, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.7/urllib2.py", line 448, in error
return self._call_chain(*args)
File "/usr/lib/python2.7/urllib2.py", line 382, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 531, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 503: Service Unavailable
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.seishub.__init__
File "/tmp/testrun/git/obspy/seishub/__init__.py", line 1, in __init__
----------------------------------------------------------------------
File "/tmp/testrun/git/obspy/seishub/__init__.py", line 37, in obspy.seishub.__init__
Failed example:
sta_ids = client.waveform.getStationIds(network='BW')
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.seishub.__init__[8]>", line 1, in <module>
sta_ids = client.waveform.getStationIds(network='BW')
File "/tmp/testrun/git/obspy/seishub/client.py", line 371, in getStationIds
root = self.client._objectify(url, **kwargs)
File "/tmp/testrun/git/obspy/seishub/client.py", line 250, in _objectify
doc = self._fetch(url, *args, **kwargs)
File "/tmp/testrun/git/obspy/seishub/client.py", line 213, in _fetch
response = urllib2.urlopen(remoteaddr, timeout=self.timeout)
File "/usr/lib/python2.7/urllib2.py", line 127, in urlopen
return _opener.open(url, data, timeout)
File "/usr/lib/python2.7/urllib2.py", line 404, in open
response = self._open(req, data)
File "/usr/lib/python2.7/urllib2.py", line 422, in _open
'_open', req)
File "/usr/lib/python2.7/urllib2.py", line 382, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 1214, in http_open
return self.do_open(httplib.HTTPConnection, req)
File "/usr/lib/python2.7/urllib2.py", line 1187, in do_open
r = h.getresponse(buffering=True)
File "/usr/lib/python2.7/httplib.py", line 1045, in getresponse
response.begin()
File "/usr/lib/python2.7/httplib.py", line 409, in begin
version, status, reason = self._read_status()
File "/usr/lib/python2.7/httplib.py", line 365, in _read_status
line = self.fp.readline(_MAXLINE + 1)
File "/usr/lib/python2.7/socket.py", line 476, in readline
data = self._sock.recv(self._rbufsize)
timeout: timed out

Chuck Norris Fact

Chuck Norris doesn't need to use AJAX because pages are too afraid to postback anyways.