#126354 Report by node gh-actions covering 204 tests from 58 modules resulted into 12 errors

Report

ObsPy version
1.3.0.post0+302.gca768c9dce.o…
GitHub Pull Request
-
Report file
JSON document
Total runtime
244.7 sec
Report date/time
Aug. 3, 2022, 6:25 a.m.

System / Python

Architecture
64bit
Machine
x86_64
Node
gh-actions
Processor
x86_64
Python Compiler
GCC 10.3.0
Python Implementation
CPython
Python Version
3.10.5
Release
5.15.0-1014-azure
System
Linux
Version
#17~20.04.1-Ubuntu SMP Thu Jun 23 20:01:51 UTC 2022

Dependencies

cartopy
0.20.3
decorator
5.1.1
flake8
---
geographiclib
2.0
lxml
4.9.1
matplotlib
3.5.2
numpy
1.23.1
obspy
1.3.0.post0+302.gca768c9dce.obspy.master
pyproj
3.3.1
pytest
7.1.2
pytest-json-report
1.5.0
requests
2.28.1
scipy
1.9.0
setuptools
63.3.0
shapefile
---
sqlalchemy
1.4.39

Modules (58)

Module Errors / Failures Tracebacks
obspy.clients.earthworm 4 1 2 3 4
obspy.clients.fdsn 2 5 6
obspy.clients.filesystem Not tested -
obspy.clients.iris - -
obspy.clients.neic - -
obspy.clients.nrl - -
obspy.clients.seedlink - -
obspy.clients.syngine 6 7 8 9 10 11 12
obspy.core Not tested -
obspy.core.event Not tested -
obspy.core.inventory Not tested -
obspy.core.util Not tested -
obspy.geodetics Not tested -
obspy.imaging Not tested -
obspy.io.ah Not tested -
obspy.io.arclink Not tested -
obspy.io.ascii Not tested -
obspy.io.cmtsolution Not tested -
obspy.io.cnv Not tested -
obspy.io.css Not tested -
obspy.io.dmx Not tested -
obspy.io.focmec Not tested -
obspy.io.gcf Not tested -
obspy.io.gse2 Not tested -
obspy.io.hypodd Not tested -
obspy.io.iaspei Not tested -
obspy.io.json Not tested -
obspy.io.kinemetrics Not tested -
obspy.io.kml Not tested -
obspy.io.mseed Not tested -
obspy.io.ndk Not tested -
obspy.io.nied Not tested -
obspy.io.nlloc Not tested -
obspy.io.nordic Not tested -
obspy.io.pdas Not tested -
obspy.io.pde Not tested -
obspy.io.quakeml Not tested -
obspy.io.reftek Not tested -
obspy.io.rg16 Not tested -
obspy.io.sac Not tested -
obspy.io.scardec Not tested -
obspy.io.seg2 Not tested -
obspy.io.segy Not tested -
obspy.io.seisan Not tested -
obspy.io.seiscomp Not tested -
obspy.io.sh Not tested -
obspy.io.shapefile Not tested -
obspy.io.stationtxt Not tested -
obspy.io.stationxml Not tested -
obspy.io.wav Not tested -
obspy.io.win Not tested -
obspy.io.xseed Not tested -
obspy.io.y Not tested -
obspy.io.zmap Not tested -
obspy.realtime Not tested -
obspy.scripts Not tested -
obspy.signal Not tested -
obspy.taup Not tested -
Summary 12 12

Tracebacks (12)

Traceback (most recent call last):
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/_pytest/runner.py", line 338, in from_call
result: Optional[TResult] = func()
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/_pytest/runner.py", line 259, in <lambda>
lambda: ihook(item=item, **kwds), when=when, reraise=reraise
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/pluggy/_hooks.py", line 265, in __call__
return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/pluggy/_manager.py", line 80, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/pluggy/_callers.py", line 55, in _multicall
gen.send(outcome)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 83, in pytest_runtest_setup
yield from unraisable_exception_runtest_hook()
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 78, in unraisable_exception_runtest_hook
warnings.warn(pytest.PytestUnraisableExceptionWarning(msg))
pytest.PytestUnraisableExceptionWarning: Exception ignored in: <socket.socket fd=-1, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0>
Traceback (most recent call last):
File "/home/runner/work/obspy/obspy/obspy/clients/earthworm/client.py", line 107, in get_waveforms
tbl = read_wave_server_v(self.host, self.port, scnl, starttime,
ResourceWarning: unclosed <socket.socket fd=14, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('10.1.1.138', 46928), raddr=('130.118.181.39', 16022)>
Traceback (most recent call last):
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/_pytest/runner.py", line 338, in from_call
result: Optional[TResult] = func()
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/_pytest/runner.py", line 259, in <lambda>
lambda: ihook(item=item, **kwds), when=when, reraise=reraise
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/pluggy/_hooks.py", line 265, in __call__
return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/pluggy/_manager.py", line 80, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/pluggy/_callers.py", line 55, in _multicall
gen.send(outcome)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 83, in pytest_runtest_setup
yield from unraisable_exception_runtest_hook()
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 78, in unraisable_exception_runtest_hook
warnings.warn(pytest.PytestUnraisableExceptionWarning(msg))
pytest.PytestUnraisableExceptionWarning: Exception ignored in: <socket.socket fd=-1, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0>
Traceback (most recent call last):
File "/home/runner/work/obspy/obspy/obspy/clients/earthworm/client.py", line 107, in get_waveforms
tbl = read_wave_server_v(self.host, self.port, scnl, starttime,
ResourceWarning: unclosed <socket.socket fd=14, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('10.1.1.138', 46932), raddr=('130.118.181.39', 16022)>
Traceback (most recent call last):
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/_pytest/runner.py", line 338, in from_call
result: Optional[TResult] = func()
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/_pytest/runner.py", line 259, in <lambda>
lambda: ihook(item=item, **kwds), when=when, reraise=reraise
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/pluggy/_hooks.py", line 265, in __call__
return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/pluggy/_manager.py", line 80, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/pluggy/_callers.py", line 55, in _multicall
gen.send(outcome)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 83, in pytest_runtest_setup
yield from unraisable_exception_runtest_hook()
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 78, in unraisable_exception_runtest_hook
warnings.warn(pytest.PytestUnraisableExceptionWarning(msg))
pytest.PytestUnraisableExceptionWarning: Exception ignored in: <socket.socket fd=-1, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0>
Traceback (most recent call last):
File "/home/runner/work/obspy/obspy/obspy/clients/earthworm/client.py", line 107, in get_waveforms
tbl = read_wave_server_v(self.host, self.port, scnl, starttime,
ResourceWarning: unclosed <socket.socket fd=14, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('10.1.1.138', 46944), raddr=('130.118.181.39', 16022)>
Traceback (most recent call last):
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/_pytest/runner.py", line 338, in from_call
result: Optional[TResult] = func()
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/_pytest/runner.py", line 259, in <lambda>
lambda: ihook(item=item, **kwds), when=when, reraise=reraise
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/pluggy/_hooks.py", line 265, in __call__
return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/pluggy/_manager.py", line 80, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/pluggy/_callers.py", line 55, in _multicall
gen.send(outcome)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 88, in pytest_runtest_call
yield from unraisable_exception_runtest_hook()
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 78, in unraisable_exception_runtest_hook
warnings.warn(pytest.PytestUnraisableExceptionWarning(msg))
pytest.PytestUnraisableExceptionWarning: Exception ignored in: <socket.socket fd=-1, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0>
Traceback (most recent call last):
File "/home/runner/work/obspy/obspy/obspy/clients/earthworm/client.py", line 107, in get_waveforms
tbl = read_wave_server_v(self.host, self.port, scnl, starttime,
ResourceWarning: unclosed <socket.socket fd=15, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('10.1.1.138', 46946), raddr=('130.118.181.39', 16022)>
Traceback (most recent call last):
File "/home/runner/work/obspy/obspy/obspy/clients/fdsn/tests/test_client.py", line 865, in test_help_function_with_iris
self.assertTrue(got[-2].startswith('Available catalogs:'))
File "/usr/share/miniconda3/envs/test/lib/python3.10/unittest/case.py", line 687, in assertTrue
raise self.failureException(msg)
AssertionError: False is not true
Traceback (most recent call last):
File "/home/runner/work/obspy/obspy/obspy/clients/fdsn/tests/test_client.py", line 415, in test_iris_event_catalog_availability
self.assertEqual(set(self.client.services["available_event_catalogs"]),
File "/usr/share/miniconda3/envs/test/lib/python3.10/unittest/case.py", line 845, in assertEqual
assertion_func(first, second, msg=msg)
File "/usr/share/miniconda3/envs/test/lib/python3.10/unittest/case.py", line 1105, in assertSetEqual
self.fail(self._formatMessage(msg, standardMsg))
File "/usr/share/miniconda3/envs/test/lib/python3.10/unittest/case.py", line 675, in fail
raise self.failureException(msg)
AssertionError: Items in the first set but not the second:
'NEIC PDE\n '
'ISC\n '
'GCMT\n '
Items in the second set but not the first:
'GCMT'
'NEIC PDE'
'ISC'
019 -----------
020
021 First initialize a client object.
022
023 >>> from obspy.clients.syngine import Client
024 >>> client = Client()
025
026 Then request some data.
027
028 >>> st = client.get_waveforms(model="ak135f_5s", network="IU", station="ANMO",
UNEXPECTED EXCEPTION: ClientHTTPException('HTTP code 500 when downloading \'http://service.iris.edu/irisws/syngine/1/query?model=ak135f_5s&network=IU&station=ANMO&eventid=GCMT%3AC201002270634A&format=miniseed\':\n\nError 500: GCMT lookup error [500]: Error 500: Error while accessing DB\n\nInternal Exception: org.postgresql.util.PSQLException: This connection has been closed.\nError Code: 0\nCall: SELECT t0.ID, t0.PRODUCT_TYPE, t0.ACTIVE, t0.DESCRIPTION, t0.DOI, t0.EXTERN_DOI, t0.NOTES, t0.PRODUCT_ID, t0.PRODUCT_SUB_TYPE, t0.TAGS, t0.EVENT_ID, t0.LOCATION_TIME_ID, t0.PROV_ID, t1.ID, t1.BODY_COMPONENT_CNT, t1.BODY_SHORTEST_PERIOD, t1.BODY_STATION_CNT, t1.DEPTH, t1.DEPTH_STDERR, t1.DEPTH_TYPE, t1.EIGEN_0, t1.EIGEN_0_AZIMUTH, t1.EIGEN_0_PLUNGE, t1.EIGEN_1, t1.EIGEN_1_AZIMUTH, t1.EIGEN_1_PLUNGE, t1.EIGEN_2, t1.EIGEN_2_AZIMUTH, t1.EIGEN_2_PLUNGE, t1.EVENT_NAME, t1.EXPONENT, t1.FUNCTION_TYPE, t1.HALF_DURATION, t1.LATITUDE, t1.LATITUDE_STDERR, t1.LONGITUDE, t1.LONGITUDE_STDERR, t1.MANTLE_COMPONENT_CNT, t1.MANTLE_SHORTEST_PERIOD, t1.MANTLE_STATION_CNT, t1.MPP, t1.MPP_STDERR, t1.MRP, t1.MRP_STDERR, t1.MRR, t1.MRR_STDERR, t1.MRT, t1.MRT_STDERR, t1.MTP, t1.MTP_STDERR, t1.MTT, t1.MTT_STDERR, t1.NP1_DIP, t1.NP1_RAKE, t1.NP1_STRIKE, t1.NP2_DIP, t1.NP2_RAKE, t1.NP2_STRIKE, t1.REF_EVENT_DEPTH, t1.REF_EVENT_LATITUDE, t1.REF_EVENT_LONGITUDE, t1.REF_EVENT_MAG_MB, t1.REF_EVENT_MAG_MS, t1.REF_EVENT_REGION, t1.REF_EVENT_TIME, t1.REF_TIME_OFFSET, t1.REF_TIME_OFFSET_STDERR, t1.REF_CATALOG, t1.SCALAR_MOMENT, t1.SOURCE_TYPE, t1.SURFACE_COMPONENT_CNT, t1.SURFACE_SHORTEST_PERIOD, t1.SURFACE_STATION_CNT, t1.TIMESTAMP, t1.VERSION FROM item t0, moment_tensor t1 WHERE ((((t0.ACTIVE = ?) AND (t1.EVENT_NAME = ?)) AND (t0.PRODUCT_TYPE = ?)) AND ((t1.ID = t0.ID) AND (t0.PRODUCT_TYPE = ?)))\n\tbind => [4 parameters bound]\nQuery: ReadAllQuery(referenceClass=MomentTensor sql="SELECT t0.ID, t0.PRODUCT_TYPE, t0.ACTIVE, t0.DESCRIPTION, t0.DOI, t0.EXTERN_DOI, t0.NOTES, t0.PRODUCT_ID, t0.PRODUCT_SUB_TYPE, t0.TAGS, t0.EVENT_ID, t0.LOCATION_TIME_ID, t0.PROV_ID, t1.ID, t1.BODY_COMPONENT_CNT, t1.BODY_SHORTEST_PERIOD, t1.BODY_STATION_CNT, t1.DEPTH, t1.DEPTH_STDERR, t1.DEPTH_TYPE, t1.EIGEN_0, t1.EIGEN_0_AZIMUTH, t1.EIGEN_0_PLUNGE, t1.EIGEN_1, t1.EIGEN_1_AZIMUTH, t1.EIGEN_1_PLUNGE, t1.EIGEN_2, t1.EIGEN_2_AZIMUTH, t1.EIGEN_2_PLUNGE, t1.EVENT_NAME, t1.EXPONENT, t1.FUNCTION_TYPE, t1.HALF_DURATION, t1.LATITUDE, t1.LATITUDE_STDERR, t1.LONGITUDE, t1.LONGITUDE_STDERR, t1.MANTLE_COMPONENT_CNT, t1.MANTLE_SHORTEST_PERIOD, t1.MANTLE_STATION_CNT, t1.MPP, t1.MPP_STDERR, t1.MRP, t1.MRP_STDERR, t1.MRR, t1.MRR_STDERR, t1.MRT, t1.MRT_STDERR, t1.MTP, t1.MTP_STDERR, t1.MTT, t1.MTT_STDERR, t1.NP1_DIP, t1.NP1_RAKE, t1.NP1_STRIKE, t1.NP2_DIP, t1.NP2_RAKE, t1.NP2_STRIKE, t1.REF_EVENT_DEPTH, t1.REF_EVENT_LATITUDE, t1.REF_EVENT_LONGITUDE, t1.REF_EVENT_MAG_MB, t1.REF_EVENT_MAG_MS, t1.REF_EVENT_REGION, t1.REF_EVENT_TIME, t1.REF_TIME_OFFSET, t1.REF_TIME_OFFSET_STDERR, t1.REF_CATALOG, t1.SCALAR_MOMENT, t1.SOURCE_TYPE, t1.SURFACE_COMPONENT_CNT, t1.SURFACE_SHORTEST_PERIOD, t1.SURFACE_STATION_CNT, t1.TIMESTAMP, t1.VERSION FROM item t0, moment_tensor t1 WHERE ((((t0.ACTIVE = ?) AND (t1.EVENT_NAME = ?)) AND (t0.PRODUCT_TYPE = ?)) AND ((t1.ID = t0.ID) AND (t0.PRODUCT_TYPE = ?)))")\nThis connection has been closed.\n\n\nRequest:\nhttp://ds.iris.edu/spudservice/momenttensor/gcmtid/C201002270634A/ndk\n\nRequest Submitted:\n2022/08/03 11:24:13 UTC\n\nService version:\nSPUD Services: 3.0.1\nspu:80\n\n\n\nMore Details:\nhandler exited, code: 1 reason: Internal Server Error\n\nRequest:\nhttp://service.iris.edu/irisws/syngine/1/query?model=ak135f_5s&network=IU&station=ANMO&eventid=GCMT%3AC201002270634A&format=miniseed\n\nRequest Submitted:\n2022/08/03 11:24:13 UTC\n\nService version:\nService: irisws-syngine version: 1.0.5')
Traceback (most recent call last):
File "/usr/share/miniconda3/envs/test/lib/python3.10/doctest.py", line 1350, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.clients.syngine[2]>", line 1, in <module>
File "/home/runner/work/obspy/obspy/obspy/clients/syngine/client.py", line 363, in get_waveforms
r = self._download(url=self._get_url("query"), params=params,
File "/home/runner/work/obspy/obspy/obspy/clients/base.py", line 238, in _download
self._handle_requests_http_error(r)
File "/home/runner/work/obspy/obspy/obspy/clients/syngine/client.py", line 55, in _handle_requests_http_error
raise ClientHTTPException(msg.strip())
obspy.clients.base.ClientHTTPException: HTTP code 500 when downloading 'http://service.iris.edu/irisws/syngine/1/query?model=ak135f_5s&network=IU&station=ANMO&eventid=GCMT%3AC201002270634A&format=miniseed':
Error 500: GCMT lookup error [500]: Error 500: Error while accessing DB
Internal Exception: org.postgresql.util.PSQLException: This connection has been closed.
Error Code: 0
Call: SELECT t0.ID, t0.PRODUCT_TYPE, t0.ACTIVE, t0.DESCRIPTION, t0.DOI, t0.EXTERN_DOI, t0.NOTES, t0.PRODUCT_ID, t0.PRODUCT_SUB_TYPE, t0.TAGS, t0.EVENT_ID, t0.LOCATION_TIME_ID, t0.PROV_ID, t1.ID, t1.BODY_COMPONENT_CNT, t1.BODY_SHORTEST_PERIOD, t1.BODY_STATION_CNT, t1.DEPTH, t1.DEPTH_STDERR, t1.DEPTH_TYPE, t1.EIGEN_0, t1.EIGEN_0_AZIMUTH, t1.EIGEN_0_PLUNGE, t1.EIGEN_1, t1.EIGEN_1_AZIMUTH, t1.EIGEN_1_PLUNGE, t1.EIGEN_2, t1.EIGEN_2_AZIMUTH, t1.EIGEN_2_PLUNGE, t1.EVENT_NAME, t1.EXPONENT, t1.FUNCTION_TYPE, t1.HALF_DURATION, t1.LATITUDE, t1.LATITUDE_STDERR, t1.LONGITUDE, t1.LONGITUDE_STDERR, t1.MANTLE_COMPONENT_CNT, t1.MANTLE_SHORTEST_PERIOD, t1.MANTLE_STATION_CNT, t1.MPP, t1.MPP_STDERR, t1.MRP, t1.MRP_STDERR, t1.MRR, t1.MRR_STDERR, t1.MRT, t1.MRT_STDERR, t1.MTP, t1.MTP_STDERR, t1.MTT, t1.MTT_STDERR, t1.NP1_DIP, t1.NP1_RAKE, t1.NP1_STRIKE, t1.NP2_DIP, t1.NP2_RAKE, t1.NP2_STRIKE, t1.REF_EVENT_DEPTH, t1.REF_EVENT_LATITUDE, t1.REF_EVENT_LONGITUDE, t1.REF_EVENT_MAG_MB, t1.REF_EVENT_MAG_MS, t1.REF_EVENT_REGION, t1.REF_EVENT_TIME, t1.REF_TIME_OFFSET, t1.REF_TIME_OFFSET_STDERR, t1.REF_CATALOG, t1.SCALAR_MOMENT, t1.SOURCE_TYPE, t1.SURFACE_COMPONENT_CNT, t1.SURFACE_SHORTEST_PERIOD, t1.SURFACE_STATION_CNT, t1.TIMESTAMP, t1.VERSION FROM item t0, moment_tensor t1 WHERE ((((t0.ACTIVE = ?) AND (t1.EVENT_NAME = ?)) AND (t0.PRODUCT_TYPE = ?)) AND ((t1.ID = t0.ID) AND (t0.PRODUCT_TYPE = ?)))
	bind => [4 parameters bound]
Query: ReadAllQuery(referenceClass=MomentTensor sql="SELECT t0.ID, t0.PRODUCT_TYPE, t0.ACTIVE, t0.DESCRIPTION, t0.DOI, t0.EXTERN_DOI, t0.NOTES, t0.PRODUCT_ID, t0.PRODUCT_SUB_TYPE, t0.TAGS, t0.EVENT_ID, t0.LOCATION_TIME_ID, t0.PROV_ID, t1.ID, t1.BODY_COMPONENT_CNT, t1.BODY_SHORTEST_PERIOD, t1.BODY_STATION_CNT, t1.DEPTH, t1.DEPTH_STDERR, t1.DEPTH_TYPE, t1.EIGEN_0, t1.EIGEN_0_AZIMUTH, t1.EIGEN_0_PLUNGE, t1.EIGEN_1, t1.EIGEN_1_AZIMUTH, t1.EIGEN_1_PLUNGE, t1.EIGEN_2, t1.EIGEN_2_AZIMUTH, t1.EIGEN_2_PLUNGE, t1.EVENT_NAME, t1.EXPONENT, t1.FUNCTION_TYPE, t1.HALF_DURATION, t1.LATITUDE, t1.LATITUDE_STDERR, t1.LONGITUDE, t1.LONGITUDE_STDERR, t1.MANTLE_COMPONENT_CNT, t1.MANTLE_SHORTEST_PERIOD, t1.MANTLE_STATION_CNT, t1.MPP, t1.MPP_STDERR, t1.MRP, t1.MRP_STDERR, t1.MRR, t1.MRR_STDERR, t1.MRT, t1.MRT_STDERR, t1.MTP, t1.MTP_STDERR, t1.MTT, t1.MTT_STDERR, t1.NP1_DIP, t1.NP1_RAKE, t1.NP1_STRIKE, t1.NP2_DIP, t1.NP2_RAKE, t1.NP2_STRIKE, t1.REF_EVENT_DEPTH, t1.REF_EVENT_LATITUDE, t1.REF_EVENT_LONGITUDE, t1.REF_EVENT_MAG_MB, t1.REF_EVENT_MAG_MS, t1.REF_EVENT_REGION, t1.REF_EVENT_TIME, t1.REF_TIME_OFFSET, t1.REF_TIME_OFFSET_STDERR, t1.REF_CATALOG, t1.SCALAR_MOMENT, t1.SOURCE_TYPE, t1.SURFACE_COMPONENT_CNT, t1.SURFACE_SHORTEST_PERIOD, t1.SURFACE_STATION_CNT, t1.TIMESTAMP, t1.VERSION FROM item t0, moment_tensor t1 WHERE ((((t0.ACTIVE = ?) AND (t1.EVENT_NAME = ?)) AND (t0.PRODUCT_TYPE = ?)) AND ((t1.ID = t0.ID) AND (t0.PRODUCT_TYPE = ?)))")
This connection has been closed.
Request:
http://ds.iris.edu/spudservice/momenttensor/gcmtid/C201002270634A/ndk
Request Submitted:
2022/08/03 11:24:13 UTC
Service version:
SPUD Services: 3.0.1
spu:80
More Details:
handler exited, code: 1 reason: Internal Server Error
Request:
http://service.iris.edu/irisws/syngine/1/query?model=ak135f_5s&network=IU&station=ANMO&eventid=GCMT%3AC201002270634A&format=miniseed
Request Submitted:
2022/08/03 11:24:13 UTC
Service version:
Service: irisws-syngine version: 1.0.5
/home/runner/work/obspy/obspy/obspy/clients/syngine/__init__.py:28: UnexpectedException
211 server side. The default values and all the exception handling are
212 deferred to the service. Please see `the Syngine documentation
213 <https://ds.iris.edu/ds/products/syngine/>`_ for more details and the
214 default values of all parameters.
215
216 .. rubric:: Example
217
218 >>> from obspy.clients.syngine import Client
219 >>> client = Client()
220 >>> st = client.get_waveforms(model="ak135f_5s", network="IU",
UNEXPECTED EXCEPTION: ClientHTTPException('HTTP code 500 when downloading \'http://service.iris.edu/irisws/syngine/1/query?model=ak135f_5s&network=IU&station=ANMO&eventid=GCMT%3AC201002270634A&format=miniseed\':\n\nError 500: GCMT lookup error [500]: Error 500: Error while accessing DB\n\nInternal Exception: org.postgresql.util.PSQLException: This connection has been closed.\nError Code: 0\nCall: SELECT t0.ID, t0.PRODUCT_TYPE, t0.ACTIVE, t0.DESCRIPTION, t0.DOI, t0.EXTERN_DOI, t0.NOTES, t0.PRODUCT_ID, t0.PRODUCT_SUB_TYPE, t0.TAGS, t0.EVENT_ID, t0.LOCATION_TIME_ID, t0.PROV_ID, t1.ID, t1.BODY_COMPONENT_CNT, t1.BODY_SHORTEST_PERIOD, t1.BODY_STATION_CNT, t1.DEPTH, t1.DEPTH_STDERR, t1.DEPTH_TYPE, t1.EIGEN_0, t1.EIGEN_0_AZIMUTH, t1.EIGEN_0_PLUNGE, t1.EIGEN_1, t1.EIGEN_1_AZIMUTH, t1.EIGEN_1_PLUNGE, t1.EIGEN_2, t1.EIGEN_2_AZIMUTH, t1.EIGEN_2_PLUNGE, t1.EVENT_NAME, t1.EXPONENT, t1.FUNCTION_TYPE, t1.HALF_DURATION, t1.LATITUDE, t1.LATITUDE_STDERR, t1.LONGITUDE, t1.LONGITUDE_STDERR, t1.MANTLE_COMPONENT_CNT, t1.MANTLE_SHORTEST_PERIOD, t1.MANTLE_STATION_CNT, t1.MPP, t1.MPP_STDERR, t1.MRP, t1.MRP_STDERR, t1.MRR, t1.MRR_STDERR, t1.MRT, t1.MRT_STDERR, t1.MTP, t1.MTP_STDERR, t1.MTT, t1.MTT_STDERR, t1.NP1_DIP, t1.NP1_RAKE, t1.NP1_STRIKE, t1.NP2_DIP, t1.NP2_RAKE, t1.NP2_STRIKE, t1.REF_EVENT_DEPTH, t1.REF_EVENT_LATITUDE, t1.REF_EVENT_LONGITUDE, t1.REF_EVENT_MAG_MB, t1.REF_EVENT_MAG_MS, t1.REF_EVENT_REGION, t1.REF_EVENT_TIME, t1.REF_TIME_OFFSET, t1.REF_TIME_OFFSET_STDERR, t1.REF_CATALOG, t1.SCALAR_MOMENT, t1.SOURCE_TYPE, t1.SURFACE_COMPONENT_CNT, t1.SURFACE_SHORTEST_PERIOD, t1.SURFACE_STATION_CNT, t1.TIMESTAMP, t1.VERSION FROM item t0, moment_tensor t1 WHERE ((((t0.ACTIVE = ?) AND (t1.EVENT_NAME = ?)) AND (t0.PRODUCT_TYPE = ?)) AND ((t1.ID = t0.ID) AND (t0.PRODUCT_TYPE = ?)))\n\tbind => [4 parameters bound]\nQuery: ReadAllQuery(referenceClass=MomentTensor sql="SELECT t0.ID, t0.PRODUCT_TYPE, t0.ACTIVE, t0.DESCRIPTION, t0.DOI, t0.EXTERN_DOI, t0.NOTES, t0.PRODUCT_ID, t0.PRODUCT_SUB_TYPE, t0.TAGS, t0.EVENT_ID, t0.LOCATION_TIME_ID, t0.PROV_ID, t1.ID, t1.BODY_COMPONENT_CNT, t1.BODY_SHORTEST_PERIOD, t1.BODY_STATION_CNT, t1.DEPTH, t1.DEPTH_STDERR, t1.DEPTH_TYPE, t1.EIGEN_0, t1.EIGEN_0_AZIMUTH, t1.EIGEN_0_PLUNGE, t1.EIGEN_1, t1.EIGEN_1_AZIMUTH, t1.EIGEN_1_PLUNGE, t1.EIGEN_2, t1.EIGEN_2_AZIMUTH, t1.EIGEN_2_PLUNGE, t1.EVENT_NAME, t1.EXPONENT, t1.FUNCTION_TYPE, t1.HALF_DURATION, t1.LATITUDE, t1.LATITUDE_STDERR, t1.LONGITUDE, t1.LONGITUDE_STDERR, t1.MANTLE_COMPONENT_CNT, t1.MANTLE_SHORTEST_PERIOD, t1.MANTLE_STATION_CNT, t1.MPP, t1.MPP_STDERR, t1.MRP, t1.MRP_STDERR, t1.MRR, t1.MRR_STDERR, t1.MRT, t1.MRT_STDERR, t1.MTP, t1.MTP_STDERR, t1.MTT, t1.MTT_STDERR, t1.NP1_DIP, t1.NP1_RAKE, t1.NP1_STRIKE, t1.NP2_DIP, t1.NP2_RAKE, t1.NP2_STRIKE, t1.REF_EVENT_DEPTH, t1.REF_EVENT_LATITUDE, t1.REF_EVENT_LONGITUDE, t1.REF_EVENT_MAG_MB, t1.REF_EVENT_MAG_MS, t1.REF_EVENT_REGION, t1.REF_EVENT_TIME, t1.REF_TIME_OFFSET, t1.REF_TIME_OFFSET_STDERR, t1.REF_CATALOG, t1.SCALAR_MOMENT, t1.SOURCE_TYPE, t1.SURFACE_COMPONENT_CNT, t1.SURFACE_SHORTEST_PERIOD, t1.SURFACE_STATION_CNT, t1.TIMESTAMP, t1.VERSION FROM item t0, moment_tensor t1 WHERE ((((t0.ACTIVE = ?) AND (t1.EVENT_NAME = ?)) AND (t0.PRODUCT_TYPE = ?)) AND ((t1.ID = t0.ID) AND (t0.PRODUCT_TYPE = ?)))")\nThis connection has been closed.\n\n\nRequest:\nhttp://ds.iris.edu/spudservice/momenttensor/gcmtid/C201002270634A/ndk\n\nRequest Submitted:\n2022/08/03 11:24:29 UTC\n\nService version:\nSPUD Services: 3.0.1\nspu:80\n\n\n\nMore Details:\nhandler exited, code: 1 reason: Internal Server Error\n\nRequest:\nhttp://service.iris.edu/irisws/syngine/1/query?model=ak135f_5s&network=IU&station=ANMO&eventid=GCMT%3AC201002270634A&format=miniseed\n\nRequest Submitted:\n2022/08/03 11:24:29 UTC\n\nService version:\nService: irisws-syngine version: 1.0.5')
Traceback (most recent call last):
File "/usr/share/miniconda3/envs/test/lib/python3.10/doctest.py", line 1350, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.clients.syngine.client.Client.get_waveforms[2]>", line 1, in <module>
File "/home/runner/work/obspy/obspy/obspy/clients/syngine/client.py", line 363, in get_waveforms
r = self._download(url=self._get_url("query"), params=params,
File "/home/runner/work/obspy/obspy/obspy/clients/base.py", line 238, in _download
self._handle_requests_http_error(r)
File "/home/runner/work/obspy/obspy/obspy/clients/syngine/client.py", line 55, in _handle_requests_http_error
raise ClientHTTPException(msg.strip())
obspy.clients.base.ClientHTTPException: HTTP code 500 when downloading 'http://service.iris.edu/irisws/syngine/1/query?model=ak135f_5s&network=IU&station=ANMO&eventid=GCMT%3AC201002270634A&format=miniseed':
Error 500: GCMT lookup error [500]: Error 500: Error while accessing DB
Internal Exception: org.postgresql.util.PSQLException: This connection has been closed.
Error Code: 0
Call: SELECT t0.ID, t0.PRODUCT_TYPE, t0.ACTIVE, t0.DESCRIPTION, t0.DOI, t0.EXTERN_DOI, t0.NOTES, t0.PRODUCT_ID, t0.PRODUCT_SUB_TYPE, t0.TAGS, t0.EVENT_ID, t0.LOCATION_TIME_ID, t0.PROV_ID, t1.ID, t1.BODY_COMPONENT_CNT, t1.BODY_SHORTEST_PERIOD, t1.BODY_STATION_CNT, t1.DEPTH, t1.DEPTH_STDERR, t1.DEPTH_TYPE, t1.EIGEN_0, t1.EIGEN_0_AZIMUTH, t1.EIGEN_0_PLUNGE, t1.EIGEN_1, t1.EIGEN_1_AZIMUTH, t1.EIGEN_1_PLUNGE, t1.EIGEN_2, t1.EIGEN_2_AZIMUTH, t1.EIGEN_2_PLUNGE, t1.EVENT_NAME, t1.EXPONENT, t1.FUNCTION_TYPE, t1.HALF_DURATION, t1.LATITUDE, t1.LATITUDE_STDERR, t1.LONGITUDE, t1.LONGITUDE_STDERR, t1.MANTLE_COMPONENT_CNT, t1.MANTLE_SHORTEST_PERIOD, t1.MANTLE_STATION_CNT, t1.MPP, t1.MPP_STDERR, t1.MRP, t1.MRP_STDERR, t1.MRR, t1.MRR_STDERR, t1.MRT, t1.MRT_STDERR, t1.MTP, t1.MTP_STDERR, t1.MTT, t1.MTT_STDERR, t1.NP1_DIP, t1.NP1_RAKE, t1.NP1_STRIKE, t1.NP2_DIP, t1.NP2_RAKE, t1.NP2_STRIKE, t1.REF_EVENT_DEPTH, t1.REF_EVENT_LATITUDE, t1.REF_EVENT_LONGITUDE, t1.REF_EVENT_MAG_MB, t1.REF_EVENT_MAG_MS, t1.REF_EVENT_REGION, t1.REF_EVENT_TIME, t1.REF_TIME_OFFSET, t1.REF_TIME_OFFSET_STDERR, t1.REF_CATALOG, t1.SCALAR_MOMENT, t1.SOURCE_TYPE, t1.SURFACE_COMPONENT_CNT, t1.SURFACE_SHORTEST_PERIOD, t1.SURFACE_STATION_CNT, t1.TIMESTAMP, t1.VERSION FROM item t0, moment_tensor t1 WHERE ((((t0.ACTIVE = ?) AND (t1.EVENT_NAME = ?)) AND (t0.PRODUCT_TYPE = ?)) AND ((t1.ID = t0.ID) AND (t0.PRODUCT_TYPE = ?)))
	bind => [4 parameters bound]
Query: ReadAllQuery(referenceClass=MomentTensor sql="SELECT t0.ID, t0.PRODUCT_TYPE, t0.ACTIVE, t0.DESCRIPTION, t0.DOI, t0.EXTERN_DOI, t0.NOTES, t0.PRODUCT_ID, t0.PRODUCT_SUB_TYPE, t0.TAGS, t0.EVENT_ID, t0.LOCATION_TIME_ID, t0.PROV_ID, t1.ID, t1.BODY_COMPONENT_CNT, t1.BODY_SHORTEST_PERIOD, t1.BODY_STATION_CNT, t1.DEPTH, t1.DEPTH_STDERR, t1.DEPTH_TYPE, t1.EIGEN_0, t1.EIGEN_0_AZIMUTH, t1.EIGEN_0_PLUNGE, t1.EIGEN_1, t1.EIGEN_1_AZIMUTH, t1.EIGEN_1_PLUNGE, t1.EIGEN_2, t1.EIGEN_2_AZIMUTH, t1.EIGEN_2_PLUNGE, t1.EVENT_NAME, t1.EXPONENT, t1.FUNCTION_TYPE, t1.HALF_DURATION, t1.LATITUDE, t1.LATITUDE_STDERR, t1.LONGITUDE, t1.LONGITUDE_STDERR, t1.MANTLE_COMPONENT_CNT, t1.MANTLE_SHORTEST_PERIOD, t1.MANTLE_STATION_CNT, t1.MPP, t1.MPP_STDERR, t1.MRP, t1.MRP_STDERR, t1.MRR, t1.MRR_STDERR, t1.MRT, t1.MRT_STDERR, t1.MTP, t1.MTP_STDERR, t1.MTT, t1.MTT_STDERR, t1.NP1_DIP, t1.NP1_RAKE, t1.NP1_STRIKE, t1.NP2_DIP, t1.NP2_RAKE, t1.NP2_STRIKE, t1.REF_EVENT_DEPTH, t1.REF_EVENT_LATITUDE, t1.REF_EVENT_LONGITUDE, t1.REF_EVENT_MAG_MB, t1.REF_EVENT_MAG_MS, t1.REF_EVENT_REGION, t1.REF_EVENT_TIME, t1.REF_TIME_OFFSET, t1.REF_TIME_OFFSET_STDERR, t1.REF_CATALOG, t1.SCALAR_MOMENT, t1.SOURCE_TYPE, t1.SURFACE_COMPONENT_CNT, t1.SURFACE_SHORTEST_PERIOD, t1.SURFACE_STATION_CNT, t1.TIMESTAMP, t1.VERSION FROM item t0, moment_tensor t1 WHERE ((((t0.ACTIVE = ?) AND (t1.EVENT_NAME = ?)) AND (t0.PRODUCT_TYPE = ?)) AND ((t1.ID = t0.ID) AND (t0.PRODUCT_TYPE = ?)))")
This connection has been closed.
Request:
http://ds.iris.edu/spudservice/momenttensor/gcmtid/C201002270634A/ndk
Request Submitted:
2022/08/03 11:24:29 UTC
Service version:
SPUD Services: 3.0.1
spu:80
More Details:
handler exited, code: 1 reason: Internal Server Error
Request:
http://service.iris.edu/irisws/syngine/1/query?model=ak135f_5s&network=IU&station=ANMO&eventid=GCMT%3AC201002270634A&format=miniseed
Request Submitted:
2022/08/03 11:24:29 UTC
Service version:
Service: irisws-syngine version: 1.0.5
/home/runner/work/obspy/obspy/obspy/clients/syngine/client.py:220: UnexpectedException
Traceback (most recent call last):
File "/home/runner/work/obspy/obspy/obspy/clients/syngine/tests/test_client.py", line 261, in test_error_handling
self.assertIn("HTTP code 400 when", msg)
File "/usr/share/miniconda3/envs/test/lib/python3.10/unittest/case.py", line 1112, in assertIn
self.fail(self._formatMessage(msg, standardMsg))
File "/usr/share/miniconda3/envs/test/lib/python3.10/unittest/case.py", line 675, in fail
raise self.failureException(msg)
AssertionError: 'HTTP code 400 when' not found in 'HTTP code 500 when downloading \'http://service.iris.edu/irisws/syngine/1/query?model=ak135f_5s&network=IU&station=ANMO&eventid=GCMT%3AC201002270634A&components=ABC&format=miniseed\':\n\nError 500: GCMT lookup error [500]: Error 500: Error while accessing DB\n\nInternal Exception: org.postgresql.util.PSQLException: This connection has been closed.\nError Code: 0\nCall: SELECT t0.ID, t0.PRODUCT_TYPE, t0.ACTIVE, t0.DESCRIPTION, t0.DOI, t0.EXTERN_DOI, t0.NOTES, t0.PRODUCT_ID, t0.PRODUCT_SUB_TYPE, t0.TAGS, t0.EVENT_ID, t0.LOCATION_TIME_ID, t0.PROV_ID, t1.ID, t1.BODY_COMPONENT_CNT, t1.BODY_SHORTEST_PERIOD, t1.BODY_STATION_CNT, t1.DEPTH, t1.DEPTH_STDERR, t1.DEPTH_TYPE, t1.EIGEN_0, t1.EIGEN_0_AZIMUTH, t1.EIGEN_0_PLUNGE, t1.EIGEN_1, t1.EIGEN_1_AZIMUTH, t1.EIGEN_1_PLUNGE, t1.EIGEN_2, t1.EIGEN_2_AZIMUTH, t1.EIGEN_2_PLUNGE, t1.EVENT_NAME, t1.EXPONENT, t1.FUNCTION_TYPE, t1.HALF_DURATION, t1.LATITUDE, t1.LATITUDE_STDERR, t1.LONGITUDE, t1.LONGITUDE_STDERR, t1.MANTLE_COMPONENT_CNT, t1.MANTLE_SHORTEST_PERIOD, t1.MANTLE_STATION_CNT, t1.MPP, t1.MPP_STDERR, t1.MRP, t1.MRP_STDERR, t1.MRR, t1.MRR_STDERR, t1.MRT, t1.MRT_STDERR, t1.MTP, t1.MTP_STDERR, t1.MTT, t1.MTT_STDERR, t1.NP1_DIP, t1.NP1_RAKE, t1.NP1_STRIKE, t1.NP2_DIP, t1.NP2_RAKE, t1.NP2_STRIKE, t1.REF_EVENT_DEPTH, t1.REF_EVENT_LATITUDE, t1.REF_EVENT_LONGITUDE, t1.REF_EVENT_MAG_MB, t1.REF_EVENT_MAG_MS, t1.REF_EVENT_REGION, t1.REF_EVENT_TIME, t1.REF_TIME_OFFSET, t1.REF_TIME_OFFSET_STDERR, t1.REF_CATALOG, t1.SCALAR_MOMENT, t1.SOURCE_TYPE, t1.SURFACE_COMPONENT_CNT, t1.SURFACE_SHORTEST_PERIOD, t1.SURFACE_STATION_CNT, t1.TIMESTAMP, t1.VERSION FROM item t0, moment_tensor t1 WHERE ((((t0.ACTIVE = ?) AND (t1.EVENT_NAME = ?)) AND (t0.PRODUCT_TYPE = ?)) AND ((t1.ID = t0.ID) AND (t0.PRODUCT_TYPE = ?)))\n\tbind => [4 parameters bound]\nQuery: ReadAllQuery(referenceClass=MomentTensor sql="SELECT t0.ID, t0.PRODUCT_TYPE, t0.ACTIVE, t0.DESCRIPTION, t0.DOI, t0.EXTERN_DOI, t0.NOTES, t0.PRODUCT_ID, t0.PRODUCT_SUB_TYPE, t0.TAGS, t0.EVENT_ID, t0.LOCATION_TIME_ID, t0.PROV_ID, t1.ID, t1.BODY_COMPONENT_CNT, t1.BODY_SHORTEST_PERIOD, t1.BODY_STATION_CNT, t1.DEPTH, t1.DEPTH_STDERR, t1.DEPTH_TYPE, t1.EIGEN_0, t1.EIGEN_0_AZIMUTH, t1.EIGEN_0_PLUNGE, t1.EIGEN_1, t1.EIGEN_1_AZIMUTH, t1.EIGEN_1_PLUNGE, t1.EIGEN_2, t1.EIGEN_2_AZIMUTH, t1.EIGEN_2_PLUNGE, t1.EVENT_NAME, t1.EXPONENT, t1.FUNCTION_TYPE, t1.HALF_DURATION, t1.LATITUDE, t1.LATITUDE_STDERR, t1.LONGITUDE, t1.LONGITUDE_STDERR, t1.MANTLE_COMPONENT_CNT, t1.MANTLE_SHORTEST_PERIOD, t1.MANTLE_STATION_CNT, t1.MPP, t1.MPP_STDERR, t1.MRP, t1.MRP_STDERR, t1.MRR, t1.MRR_STDERR, t1.MRT, t1.MRT_STDERR, t1.MTP, t1.MTP_STDERR, t1.MTT, t1.MTT_STDERR, t1.NP1_DIP, t1.NP1_RAKE, t1.NP1_STRIKE, t1.NP2_DIP, t1.NP2_RAKE, t1.NP2_STRIKE, t1.REF_EVENT_DEPTH, t1.REF_EVENT_LATITUDE, t1.REF_EVENT_LONGITUDE, t1.REF_EVENT_MAG_MB, t1.REF_EVENT_MAG_MS, t1.REF_EVENT_REGION, t1.REF_EVENT_TIME, t1.REF_TIME_OFFSET, t1.REF_TIME_OFFSET_STDERR, t1.REF_CATALOG, t1.SCALAR_MOMENT, t1.SOURCE_TYPE, t1.SURFACE_COMPONENT_CNT, t1.SURFACE_SHORTEST_PERIOD, t1.SURFACE_STATION_CNT, t1.TIMESTAMP, t1.VERSION FROM item t0, moment_tensor t1 WHERE ((((t0.ACTIVE = ?) AND (t1.EVENT_NAME = ?)) AND (t0.PRODUCT_TYPE = ?)) AND ((t1.ID = t0.ID) AND (t0.PRODUCT_TYPE = ?)))")\nThis connection has been closed.\n\n\nRequest:\nhttp://ds.iris.edu/spudservice/momenttensor/gcmtid/C201002270634A/ndk\n\nRequest Submitted:\n2022/08/03 11:24:46 UTC\n\nService version:\nSPUD Services: 3.0.1\nspu:80\n\n\n\nMore Details:\nhandler exited, code: 1 reason: Internal Server Error\n\nRequest:\nhttp://service.iris.edu/irisws/syngine/1/query?model=ak135f_5s&network=IU&station=ANMO&eventid=GCMT%3AC201002270634A&components=ABC&format=miniseed\n\nRequest Submitted:\n2022/08/03 11:24:46 UTC\n\nService version:\nService: irisws-syngine version: 1.0.5'
Traceback (most recent call last):
File "/home/runner/work/obspy/obspy/obspy/clients/syngine/tests/test_client.py", line 348, in test_get_waveforms
st = self.c.get_waveforms(model="test", network="IU", station="ANMO",
File "/home/runner/work/obspy/obspy/obspy/clients/syngine/client.py", line 363, in get_waveforms
r = self._download(url=self._get_url("query"), params=params,
File "/home/runner/work/obspy/obspy/obspy/clients/base.py", line 238, in _download
self._handle_requests_http_error(r)
File "/home/runner/work/obspy/obspy/obspy/clients/syngine/client.py", line 55, in _handle_requests_http_error
raise ClientHTTPException(msg.strip())
obspy.clients.base.ClientHTTPException: HTTP code 500 when downloading 'http://service.iris.edu/irisws/syngine/1/query?model=test&network=IU&station=ANMO&eventid=GCMT%3AC201002270634A&components=Z&format=miniseed':
Error 500: GCMT lookup error [500]: Error 500: Error while accessing DB
Internal Exception: org.postgresql.util.PSQLException: This connection has been closed.
Error Code: 0
Call: SELECT t0.ID, t0.PRODUCT_TYPE, t0.ACTIVE, t0.DESCRIPTION, t0.DOI, t0.EXTERN_DOI, t0.NOTES, t0.PRODUCT_ID, t0.PRODUCT_SUB_TYPE, t0.TAGS, t0.EVENT_ID, t0.LOCATION_TIME_ID, t0.PROV_ID, t1.ID, t1.BODY_COMPONENT_CNT, t1.BODY_SHORTEST_PERIOD, t1.BODY_STATION_CNT, t1.DEPTH, t1.DEPTH_STDERR, t1.DEPTH_TYPE, t1.EIGEN_0, t1.EIGEN_0_AZIMUTH, t1.EIGEN_0_PLUNGE, t1.EIGEN_1, t1.EIGEN_1_AZIMUTH, t1.EIGEN_1_PLUNGE, t1.EIGEN_2, t1.EIGEN_2_AZIMUTH, t1.EIGEN_2_PLUNGE, t1.EVENT_NAME, t1.EXPONENT, t1.FUNCTION_TYPE, t1.HALF_DURATION, t1.LATITUDE, t1.LATITUDE_STDERR, t1.LONGITUDE, t1.LONGITUDE_STDERR, t1.MANTLE_COMPONENT_CNT, t1.MANTLE_SHORTEST_PERIOD, t1.MANTLE_STATION_CNT, t1.MPP, t1.MPP_STDERR, t1.MRP, t1.MRP_STDERR, t1.MRR, t1.MRR_STDERR, t1.MRT, t1.MRT_STDERR, t1.MTP, t1.MTP_STDERR, t1.MTT, t1.MTT_STDERR, t1.NP1_DIP, t1.NP1_RAKE, t1.NP1_STRIKE, t1.NP2_DIP, t1.NP2_RAKE, t1.NP2_STRIKE, t1.REF_EVENT_DEPTH, t1.REF_EVENT_LATITUDE, t1.REF_EVENT_LONGITUDE, t1.REF_EVENT_MAG_MB, t1.REF_EVENT_MAG_MS, t1.REF_EVENT_REGION, t1.REF_EVENT_TIME, t1.REF_TIME_OFFSET, t1.REF_TIME_OFFSET_STDERR, t1.REF_CATALOG, t1.SCALAR_MOMENT, t1.SOURCE_TYPE, t1.SURFACE_COMPONENT_CNT, t1.SURFACE_SHORTEST_PERIOD, t1.SURFACE_STATION_CNT, t1.TIMESTAMP, t1.VERSION FROM item t0, moment_tensor t1 WHERE ((((t0.ACTIVE = ?) AND (t1.EVENT_NAME = ?)) AND (t0.PRODUCT_TYPE = ?)) AND ((t1.ID = t0.ID) AND (t0.PRODUCT_TYPE = ?)))
	bind => [4 parameters bound]
Query: ReadAllQuery(referenceClass=MomentTensor sql="SELECT t0.ID, t0.PRODUCT_TYPE, t0.ACTIVE, t0.DESCRIPTION, t0.DOI, t0.EXTERN_DOI, t0.NOTES, t0.PRODUCT_ID, t0.PRODUCT_SUB_TYPE, t0.TAGS, t0.EVENT_ID, t0.LOCATION_TIME_ID, t0.PROV_ID, t1.ID, t1.BODY_COMPONENT_CNT, t1.BODY_SHORTEST_PERIOD, t1.BODY_STATION_CNT, t1.DEPTH, t1.DEPTH_STDERR, t1.DEPTH_TYPE, t1.EIGEN_0, t1.EIGEN_0_AZIMUTH, t1.EIGEN_0_PLUNGE, t1.EIGEN_1, t1.EIGEN_1_AZIMUTH, t1.EIGEN_1_PLUNGE, t1.EIGEN_2, t1.EIGEN_2_AZIMUTH, t1.EIGEN_2_PLUNGE, t1.EVENT_NAME, t1.EXPONENT, t1.FUNCTION_TYPE, t1.HALF_DURATION, t1.LATITUDE, t1.LATITUDE_STDERR, t1.LONGITUDE, t1.LONGITUDE_STDERR, t1.MANTLE_COMPONENT_CNT, t1.MANTLE_SHORTEST_PERIOD, t1.MANTLE_STATION_CNT, t1.MPP, t1.MPP_STDERR, t1.MRP, t1.MRP_STDERR, t1.MRR, t1.MRR_STDERR, t1.MRT, t1.MRT_STDERR, t1.MTP, t1.MTP_STDERR, t1.MTT, t1.MTT_STDERR, t1.NP1_DIP, t1.NP1_RAKE, t1.NP1_STRIKE, t1.NP2_DIP, t1.NP2_RAKE, t1.NP2_STRIKE, t1.REF_EVENT_DEPTH, t1.REF_EVENT_LATITUDE, t1.REF_EVENT_LONGITUDE, t1.REF_EVENT_MAG_MB, t1.REF_EVENT_MAG_MS, t1.REF_EVENT_REGION, t1.REF_EVENT_TIME, t1.REF_TIME_OFFSET, t1.REF_TIME_OFFSET_STDERR, t1.REF_CATALOG, t1.SCALAR_MOMENT, t1.SOURCE_TYPE, t1.SURFACE_COMPONENT_CNT, t1.SURFACE_SHORTEST_PERIOD, t1.SURFACE_STATION_CNT, t1.TIMESTAMP, t1.VERSION FROM item t0, moment_tensor t1 WHERE ((((t0.ACTIVE = ?) AND (t1.EVENT_NAME = ?)) AND (t0.PRODUCT_TYPE = ?)) AND ((t1.ID = t0.ID) AND (t0.PRODUCT_TYPE = ?)))")
This connection has been closed.
Request:
http://ds.iris.edu/spudservice/momenttensor/gcmtid/C201002270634A/ndk
Request Submitted:
2022/08/03 11:25:10 UTC
Service version:
SPUD Services: 3.0.1
spu:80
More Details:
handler exited, code: 1 reason: Internal Server Error
Request:
http://service.iris.edu/irisws/syngine/1/query?model=test&network=IU&station=ANMO&eventid=GCMT%3AC201002270634A&components=Z&format=miniseed
Request Submitted:
2022/08/03 11:25:10 UTC
Service version:
Service: irisws-syngine version: 1.0.5
Traceback (most recent call last):
File "/home/runner/work/obspy/obspy/obspy/clients/syngine/tests/test_client.py", line 441, in test_reading_saczip_files
st = self.c.get_waveforms(
File "/home/runner/work/obspy/obspy/obspy/clients/syngine/client.py", line 363, in get_waveforms
r = self._download(url=self._get_url("query"), params=params,
File "/home/runner/work/obspy/obspy/obspy/clients/base.py", line 238, in _download
self._handle_requests_http_error(r)
File "/home/runner/work/obspy/obspy/obspy/clients/syngine/client.py", line 55, in _handle_requests_http_error
raise ClientHTTPException(msg.strip())
obspy.clients.base.ClientHTTPException: HTTP code 500 when downloading 'http://service.iris.edu/irisws/syngine/1/query?model=test&network=IU&station=ANMO&eventid=GCMT%3AC201002270634A&components=Z&format=saczip&starttime=P-10&endtime=P%2B10':
Error 500: GCMT lookup error [500]: Error 500: Error while accessing DB
Internal Exception: org.postgresql.util.PSQLException: This connection has been closed.
Error Code: 0
Call: SELECT t0.ID, t0.PRODUCT_TYPE, t0.ACTIVE, t0.DESCRIPTION, t0.DOI, t0.EXTERN_DOI, t0.NOTES, t0.PRODUCT_ID, t0.PRODUCT_SUB_TYPE, t0.TAGS, t0.EVENT_ID, t0.LOCATION_TIME_ID, t0.PROV_ID, t1.ID, t1.BODY_COMPONENT_CNT, t1.BODY_SHORTEST_PERIOD, t1.BODY_STATION_CNT, t1.DEPTH, t1.DEPTH_STDERR, t1.DEPTH_TYPE, t1.EIGEN_0, t1.EIGEN_0_AZIMUTH, t1.EIGEN_0_PLUNGE, t1.EIGEN_1, t1.EIGEN_1_AZIMUTH, t1.EIGEN_1_PLUNGE, t1.EIGEN_2, t1.EIGEN_2_AZIMUTH, t1.EIGEN_2_PLUNGE, t1.EVENT_NAME, t1.EXPONENT, t1.FUNCTION_TYPE, t1.HALF_DURATION, t1.LATITUDE, t1.LATITUDE_STDERR, t1.LONGITUDE, t1.LONGITUDE_STDERR, t1.MANTLE_COMPONENT_CNT, t1.MANTLE_SHORTEST_PERIOD, t1.MANTLE_STATION_CNT, t1.MPP, t1.MPP_STDERR, t1.MRP, t1.MRP_STDERR, t1.MRR, t1.MRR_STDERR, t1.MRT, t1.MRT_STDERR, t1.MTP, t1.MTP_STDERR, t1.MTT, t1.MTT_STDERR, t1.NP1_DIP, t1.NP1_RAKE, t1.NP1_STRIKE, t1.NP2_DIP, t1.NP2_RAKE, t1.NP2_STRIKE, t1.REF_EVENT_DEPTH, t1.REF_EVENT_LATITUDE, t1.REF_EVENT_LONGITUDE, t1.REF_EVENT_MAG_MB, t1.REF_EVENT_MAG_MS, t1.REF_EVENT_REGION, t1.REF_EVENT_TIME, t1.REF_TIME_OFFSET, t1.REF_TIME_OFFSET_STDERR, t1.REF_CATALOG, t1.SCALAR_MOMENT, t1.SOURCE_TYPE, t1.SURFACE_COMPONENT_CNT, t1.SURFACE_SHORTEST_PERIOD, t1.SURFACE_STATION_CNT, t1.TIMESTAMP, t1.VERSION FROM item t0, moment_tensor t1 WHERE ((((t0.ACTIVE = ?) AND (t1.EVENT_NAME = ?)) AND (t0.PRODUCT_TYPE = ?)) AND ((t1.ID = t0.ID) AND (t0.PRODUCT_TYPE = ?)))
	bind => [4 parameters bound]
Query: ReadAllQuery(referenceClass=MomentTensor sql="SELECT t0.ID, t0.PRODUCT_TYPE, t0.ACTIVE, t0.DESCRIPTION, t0.DOI, t0.EXTERN_DOI, t0.NOTES, t0.PRODUCT_ID, t0.PRODUCT_SUB_TYPE, t0.TAGS, t0.EVENT_ID, t0.LOCATION_TIME_ID, t0.PROV_ID, t1.ID, t1.BODY_COMPONENT_CNT, t1.BODY_SHORTEST_PERIOD, t1.BODY_STATION_CNT, t1.DEPTH, t1.DEPTH_STDERR, t1.DEPTH_TYPE, t1.EIGEN_0, t1.EIGEN_0_AZIMUTH, t1.EIGEN_0_PLUNGE, t1.EIGEN_1, t1.EIGEN_1_AZIMUTH, t1.EIGEN_1_PLUNGE, t1.EIGEN_2, t1.EIGEN_2_AZIMUTH, t1.EIGEN_2_PLUNGE, t1.EVENT_NAME, t1.EXPONENT, t1.FUNCTION_TYPE, t1.HALF_DURATION, t1.LATITUDE, t1.LATITUDE_STDERR, t1.LONGITUDE, t1.LONGITUDE_STDERR, t1.MANTLE_COMPONENT_CNT, t1.MANTLE_SHORTEST_PERIOD, t1.MANTLE_STATION_CNT, t1.MPP, t1.MPP_STDERR, t1.MRP, t1.MRP_STDERR, t1.MRR, t1.MRR_STDERR, t1.MRT, t1.MRT_STDERR, t1.MTP, t1.MTP_STDERR, t1.MTT, t1.MTT_STDERR, t1.NP1_DIP, t1.NP1_RAKE, t1.NP1_STRIKE, t1.NP2_DIP, t1.NP2_RAKE, t1.NP2_STRIKE, t1.REF_EVENT_DEPTH, t1.REF_EVENT_LATITUDE, t1.REF_EVENT_LONGITUDE, t1.REF_EVENT_MAG_MB, t1.REF_EVENT_MAG_MS, t1.REF_EVENT_REGION, t1.REF_EVENT_TIME, t1.REF_TIME_OFFSET, t1.REF_TIME_OFFSET_STDERR, t1.REF_CATALOG, t1.SCALAR_MOMENT, t1.SOURCE_TYPE, t1.SURFACE_COMPONENT_CNT, t1.SURFACE_SHORTEST_PERIOD, t1.SURFACE_STATION_CNT, t1.TIMESTAMP, t1.VERSION FROM item t0, moment_tensor t1 WHERE ((((t0.ACTIVE = ?) AND (t1.EVENT_NAME = ?)) AND (t0.PRODUCT_TYPE = ?)) AND ((t1.ID = t0.ID) AND (t0.PRODUCT_TYPE = ?)))")
This connection has been closed.
Request:
http://ds.iris.edu/spudservice/momenttensor/gcmtid/C201002270634A/ndk
Request Submitted:
2022/08/03 11:25:25 UTC
Service version:
SPUD Services: 3.0.1
spu:80
More Details:
handler exited, code: 1 reason: Internal Server Error
Request:
http://service.iris.edu/irisws/syngine/1/query?model=test&network=IU&station=ANMO&eventid=GCMT%3AC201002270634A&components=Z&format=saczip&starttime=P-10&endtime=P%2B10
Request Submitted:
2022/08/03 11:25:25 UTC
Service version:
Service: irisws-syngine version: 1.0.5
Traceback (most recent call last):
File "/home/runner/work/obspy/obspy/obspy/clients/syngine/tests/test_client.py", line 417, in test_saving_directly_to_file
st = self.c.get_waveforms(
File "/home/runner/work/obspy/obspy/obspy/clients/syngine/client.py", line 363, in get_waveforms
r = self._download(url=self._get_url("query"), params=params,
File "/home/runner/work/obspy/obspy/obspy/clients/base.py", line 238, in _download
self._handle_requests_http_error(r)
File "/home/runner/work/obspy/obspy/obspy/clients/syngine/client.py", line 55, in _handle_requests_http_error
raise ClientHTTPException(msg.strip())
obspy.clients.base.ClientHTTPException: HTTP code 500 when downloading 'http://service.iris.edu/irisws/syngine/1/query?model=test&network=IU&station=ANMO&eventid=GCMT%3AC201002270634A&components=Z&format=miniseed&starttime=P-10&endtime=P%2B10':
Error 500: GCMT lookup error [500]: Error 500: Error while accessing DB
Internal Exception: org.postgresql.util.PSQLException: This connection has been closed.
Error Code: 0
Call: SELECT t0.ID, t0.PRODUCT_TYPE, t0.ACTIVE, t0.DESCRIPTION, t0.DOI, t0.EXTERN_DOI, t0.NOTES, t0.PRODUCT_ID, t0.PRODUCT_SUB_TYPE, t0.TAGS, t0.EVENT_ID, t0.LOCATION_TIME_ID, t0.PROV_ID, t1.ID, t1.BODY_COMPONENT_CNT, t1.BODY_SHORTEST_PERIOD, t1.BODY_STATION_CNT, t1.DEPTH, t1.DEPTH_STDERR, t1.DEPTH_TYPE, t1.EIGEN_0, t1.EIGEN_0_AZIMUTH, t1.EIGEN_0_PLUNGE, t1.EIGEN_1, t1.EIGEN_1_AZIMUTH, t1.EIGEN_1_PLUNGE, t1.EIGEN_2, t1.EIGEN_2_AZIMUTH, t1.EIGEN_2_PLUNGE, t1.EVENT_NAME, t1.EXPONENT, t1.FUNCTION_TYPE, t1.HALF_DURATION, t1.LATITUDE, t1.LATITUDE_STDERR, t1.LONGITUDE, t1.LONGITUDE_STDERR, t1.MANTLE_COMPONENT_CNT, t1.MANTLE_SHORTEST_PERIOD, t1.MANTLE_STATION_CNT, t1.MPP, t1.MPP_STDERR, t1.MRP, t1.MRP_STDERR, t1.MRR, t1.MRR_STDERR, t1.MRT, t1.MRT_STDERR, t1.MTP, t1.MTP_STDERR, t1.MTT, t1.MTT_STDERR, t1.NP1_DIP, t1.NP1_RAKE, t1.NP1_STRIKE, t1.NP2_DIP, t1.NP2_RAKE, t1.NP2_STRIKE, t1.REF_EVENT_DEPTH, t1.REF_EVENT_LATITUDE, t1.REF_EVENT_LONGITUDE, t1.REF_EVENT_MAG_MB, t1.REF_EVENT_MAG_MS, t1.REF_EVENT_REGION, t1.REF_EVENT_TIME, t1.REF_TIME_OFFSET, t1.REF_TIME_OFFSET_STDERR, t1.REF_CATALOG, t1.SCALAR_MOMENT, t1.SOURCE_TYPE, t1.SURFACE_COMPONENT_CNT, t1.SURFACE_SHORTEST_PERIOD, t1.SURFACE_STATION_CNT, t1.TIMESTAMP, t1.VERSION FROM item t0, moment_tensor t1 WHERE ((((t0.ACTIVE = ?) AND (t1.EVENT_NAME = ?)) AND (t0.PRODUCT_TYPE = ?)) AND ((t1.ID = t0.ID) AND (t0.PRODUCT_TYPE = ?)))
	bind => [4 parameters bound]
Query: ReadAllQuery(referenceClass=MomentTensor sql="SELECT t0.ID, t0.PRODUCT_TYPE, t0.ACTIVE, t0.DESCRIPTION, t0.DOI, t0.EXTERN_DOI, t0.NOTES, t0.PRODUCT_ID, t0.PRODUCT_SUB_TYPE, t0.TAGS, t0.EVENT_ID, t0.LOCATION_TIME_ID, t0.PROV_ID, t1.ID, t1.BODY_COMPONENT_CNT, t1.BODY_SHORTEST_PERIOD, t1.BODY_STATION_CNT, t1.DEPTH, t1.DEPTH_STDERR, t1.DEPTH_TYPE, t1.EIGEN_0, t1.EIGEN_0_AZIMUTH, t1.EIGEN_0_PLUNGE, t1.EIGEN_1, t1.EIGEN_1_AZIMUTH, t1.EIGEN_1_PLUNGE, t1.EIGEN_2, t1.EIGEN_2_AZIMUTH, t1.EIGEN_2_PLUNGE, t1.EVENT_NAME, t1.EXPONENT, t1.FUNCTION_TYPE, t1.HALF_DURATION, t1.LATITUDE, t1.LATITUDE_STDERR, t1.LONGITUDE, t1.LONGITUDE_STDERR, t1.MANTLE_COMPONENT_CNT, t1.MANTLE_SHORTEST_PERIOD, t1.MANTLE_STATION_CNT, t1.MPP, t1.MPP_STDERR, t1.MRP, t1.MRP_STDERR, t1.MRR, t1.MRR_STDERR, t1.MRT, t1.MRT_STDERR, t1.MTP, t1.MTP_STDERR, t1.MTT, t1.MTT_STDERR, t1.NP1_DIP, t1.NP1_RAKE, t1.NP1_STRIKE, t1.NP2_DIP, t1.NP2_RAKE, t1.NP2_STRIKE, t1.REF_EVENT_DEPTH, t1.REF_EVENT_LATITUDE, t1.REF_EVENT_LONGITUDE, t1.REF_EVENT_MAG_MB, t1.REF_EVENT_MAG_MS, t1.REF_EVENT_REGION, t1.REF_EVENT_TIME, t1.REF_TIME_OFFSET, t1.REF_TIME_OFFSET_STDERR, t1.REF_CATALOG, t1.SCALAR_MOMENT, t1.SOURCE_TYPE, t1.SURFACE_COMPONENT_CNT, t1.SURFACE_SHORTEST_PERIOD, t1.SURFACE_STATION_CNT, t1.TIMESTAMP, t1.VERSION FROM item t0, moment_tensor t1 WHERE ((((t0.ACTIVE = ?) AND (t1.EVENT_NAME = ?)) AND (t0.PRODUCT_TYPE = ?)) AND ((t1.ID = t0.ID) AND (t0.PRODUCT_TYPE = ?)))")
This connection has been closed.
Request:
http://ds.iris.edu/spudservice/momenttensor/gcmtid/C201002270634A/ndk
Request Submitted:
2022/08/03 11:25:41 UTC
Service version:
SPUD Services: 3.0.1
spu:80
More Details:
handler exited, code: 1 reason: Internal Server Error
Request:
http://service.iris.edu/irisws/syngine/1/query?model=test&network=IU&station=ANMO&eventid=GCMT%3AC201002270634A&components=Z&format=miniseed&starttime=P-10&endtime=P%2B10
Request Submitted:
2022/08/03 11:25:41 UTC
Service version:
Service: irisws-syngine version: 1.0.5

Skipped tests (5)

Submodule Test Skip message
clients.fdsn clients/fdsn/tests/test_client.py::ClientTestCase::test_eida_token_resolution Skipped: Token is expired
clients.fdsn clients/fdsn/tests/test_client.py::ClientTestCase::test_trim_stream_after_get_waveform Skipped: data no longer available
clients.seedlink clients/seedlink/tests/test_slclient.py::SLClientTestCase::test_info Skipped: test must be started manually
clients.seedlink clients/seedlink/tests/test_slclient.py::SLClientTestCase::test_issue708 Skipped: test must be started manually
clients.seedlink clients/seedlink/tests/test_slclient.py::SLClientTestCase::test_time_window Skipped: test must be started manually

Slowest tests (20)

Runtime Test
12.151s clients/fdsn/tests/test_client.py::ClientTestCase::test_irisph5_event
11.652s clients/fdsn/tests/test_eidaws_routing_client.py::EIDAWSRoutingClientTestCase::test_get_waveforms_integration_test
8.262s clients/syngine/tests/test_client.py::ClientTestCase::test_get_available_models
7.842s clients/fdsn/tests/test_client.py::ClientTestCase::test_dataselect_bulk
6.930s clients/fdsn/tests/test_client.py::ClientTestCase::test_no_service_exception
6.306s clients/fdsn/tests/test_client.py::ClientTestCase::test_iris_example_queries_dataselect_discover_services_false
5.073s clients/fdsn/tests/test_eidaws_routing_client.py::EIDAWSRoutingClientTestCase::test_get_stations_integration_test
4.390s clients/seedlink/basic_client.py::obspy.clients.seedlink.basic_client.Client.get_waveforms
3.871s clients/fdsn/client.py::obspy.clients.fdsn.client.Client.get_waveforms_bulk
3.854s clients/fdsn/tests/test_client.py::ClientTestCase::test_iris_example_queries_dataselect
3.458s clients/seedlink/tests/test_basic_client.py::ClientTestCase::test_multiple_waveform_requests_with_multiple_info_requests
2.829s clients/fdsn/tests/test_client.py::ClientTestCase::test_redirection_auth
2.822s clients/fdsn/tests/test_client.py::ClientTestCase::test_redirection
2.755s clients/fdsn/client.py::obspy.clients.fdsn.client.Client.get_waveforms
2.591s clients/iris/tests/test_client.py::ClientTestCase::test_evalresp
2.284s clients/fdsn/tests/test_federator_routing_client.py::FederatorRoutingClientTestCase::test_get_waveforms_integration_test
2.234s clients/earthworm/__init__.py::obspy.clients.earthworm
2.106s clients/fdsn/__init__.py::obspy.clients.fdsn
2.099s clients/iris/tests/test_client.py::ClientTestCase::test_resp
1.893s clients/nrl/client.py::obspy.clients.nrl.client.NRL.get_response