#126472 Report by node gh-actions covering 204 tests from 58 modules resulted into 12 errors
Report
- ObsPy version
- 1.1.1.post0+2313.g5fc76074fe.…
- GitHub Pull Request
- -
- Report file
- JSON document
- Total runtime
- 246.5 sec
- Report date/time
- Aug. 3, 2022, 10:39 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.1.1.post0+2313.g5fc76074fe.arkottke.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 | 9 | 9 | - | 9.33s | 1 2 3 4 |
obspy.clients.fdsn | 2 | 137 | 135 | 2 | 86.10s | 5 6 |
obspy.clients.filesystem | Not tested | - | - | - | - | - |
obspy.clients.iris | - | 15 | 15 | - | 11.45s | - |
obspy.clients.neic | - | 5 | 5 | - | 2.97s | - |
obspy.clients.nrl | - | 7 | 7 | - | 4.68s | - |
obspy.clients.seedlink | - | 13 | 10 | 3 | 8.04s | - |
obspy.clients.syngine | 6 | 18 | 18 | - | 105.08s | 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 | 204 | 199 | 5 | 246.46s | 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.0.249', 48104), 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.0.249', 48108), 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.0.249', 48120), 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.0.249', 48122), 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: 'GCMT\n ' 'ISC\n ' 'NEIC PDE\n ' Items in the second set but not the first: 'NEIC PDE' 'GCMT' '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 15:38:22 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 15:38:22 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 15:38:22 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 15:38:22 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 15:38:38 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 15:38:38 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 15:38:38 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 15:38:38 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 15:38:56 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 15:38:56 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 15:39:20 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 15:39:20 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 15:39:36 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 15:39:36 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 15:39:51 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 15:39:51 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 |