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

Report

ObsPy version
1.3.0.post0+313.g571f15918f.o…
GitHub Pull Request
-
Report file
JSON document
Total runtime
306.8 sec
Report date/time
Aug. 3, 2022, 8:37 a.m.

System / Python

Architecture
64bit
Machine
x86_64
Node
gh-actions
Processor
i386
Python Compiler
Clang 13.0.1
Python Implementation
CPython
Python Version
3.10.5
Release
20.6.0
System
Darwin
Version
Darwin Kernel Version 20.6.0: Tue Jun 21 20:50:28 PDT 2022; root:xnu-7195.141.32~1/RELEASE_X86_64

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+313.g571f15918f.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 "/Users/runner/work/obspy/obspy/obspy/clients/earthworm/tests/test_client.py", line 90, in test_get_waveform
assert len(ew_stream) == 1
AssertionError: assert 0 == 1
+ where 0 = len(<obspy.core.stream.Stream object at 0x135f05270>)
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/clients/earthworm/tests/test_client.py", line 110, in test_get_waveform_no_cleanup
delta = ew_stream[0].stats.delta
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 643, in __getitem__
return self.traces.__getitem__(index)
IndexError: list index out of range
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/clients/earthworm/tests/test_client.py", line 131, in test_get_waveform_widlcard
delta = stream[0].stats.delta
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 643, in __getitem__
return self.traces.__getitem__(index)
IndexError: list index out of range
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/clients/earthworm/tests/test_client.py", line 155, in test_save_waveform
ew_client.save_waveforms(
File "/Users/runner/work/obspy/obspy/obspy/clients/earthworm/client.py", line 163, in save_waveforms
st.write(filename, format=format)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 1431, in write
raise ObsPyException(msg)
obspy.core.util.obspy_types.ObsPyException: Can not write empty stream to file.
Traceback (most recent call last):
File "/Users/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 "/Users/runner/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 "/Users/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 "/Users/runner/miniconda3/envs/test/lib/python3.10/unittest/case.py", line 845, in assertEqual
assertion_func(first, second, msg=msg)
File "/Users/runner/miniconda3/envs/test/lib/python3.10/unittest/case.py", line 1105, in assertSetEqual
self.fail(self._formatMessage(msg, standardMsg))
File "/Users/runner/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 '
'GCMT\n '
'ISC\n '
Items in the second set but not the first:
'ISC'
'GCMT'
'NEIC PDE'
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 13:35:36 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 13:35:36 UTC\n\nService version:\nService: irisws-syngine version: 1.0.5')
Traceback (most recent call last):
File "/Users/runner/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 "/Users/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 "/Users/runner/work/obspy/obspy/obspy/clients/base.py", line 238, in _download
self._handle_requests_http_error(r)
File "/Users/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 13:35: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=ak135f_5s&network=IU&station=ANMO&eventid=GCMT%3AC201002270634A&format=miniseed
Request Submitted:
2022/08/03 13:35:36 UTC
Service version:
Service: irisws-syngine version: 1.0.5
/Users/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 13:35:52 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 13:35:52 UTC\n\nService version:\nService: irisws-syngine version: 1.0.5')
Traceback (most recent call last):
File "/Users/runner/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 "/Users/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 "/Users/runner/work/obspy/obspy/obspy/clients/base.py", line 238, in _download
self._handle_requests_http_error(r)
File "/Users/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 13:35:52 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 13:35:52 UTC
Service version:
Service: irisws-syngine version: 1.0.5
/Users/runner/work/obspy/obspy/obspy/clients/syngine/client.py:220: UnexpectedException
Traceback (most recent call last):
File "/Users/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 "/Users/runner/miniconda3/envs/test/lib/python3.10/unittest/case.py", line 1112, in assertIn
self.fail(self._formatMessage(msg, standardMsg))
File "/Users/runner/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 13:36:11 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 13:36:11 UTC\n\nService version:\nService: irisws-syngine version: 1.0.5'
Traceback (most recent call last):
File "/Users/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 "/Users/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 "/Users/runner/work/obspy/obspy/obspy/clients/base.py", line 238, in _download
self._handle_requests_http_error(r)
File "/Users/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 13:36: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=test&network=IU&station=ANMO&eventid=GCMT%3AC201002270634A&components=Z&format=miniseed
Request Submitted:
2022/08/03 13:36:38 UTC
Service version:
Service: irisws-syngine version: 1.0.5
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/clients/syngine/tests/test_client.py", line 441, in test_reading_saczip_files
st = self.c.get_waveforms(
File "/Users/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 "/Users/runner/work/obspy/obspy/obspy/clients/base.py", line 238, in _download
self._handle_requests_http_error(r)
File "/Users/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 13:36:54 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 13:36:54 UTC
Service version:
Service: irisws-syngine version: 1.0.5
Traceback (most recent call last):
File "/Users/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 "/Users/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 "/Users/runner/work/obspy/obspy/obspy/clients/base.py", line 238, in _download
self._handle_requests_http_error(r)
File "/Users/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 13:37: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&starttime=P-10&endtime=P%2B10
Request Submitted:
2022/08/03 13:37:10 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
20.060s clients/fdsn/tests/test_eidaws_routing_client.py::EIDAWSRoutingClientTestCase::test_get_waveforms_integration_test
17.321s clients/fdsn/tests/test_client.py::ClientTestCase::test_irisph5_event
12.772s clients/fdsn/tests/test_eidaws_routing_client.py::EIDAWSRoutingClientTestCase::test_get_stations_integration_test
10.726s clients/fdsn/tests/test_client.py::ClientTestCase::test_dataselect_bulk
10.166s clients/syngine/tests/test_client.py::ClientTestCase::test_get_available_models
5.322s clients/fdsn/tests/test_client.py::ClientTestCase::test_iris_example_queries_dataselect
4.884s clients/fdsn/tests/test_client.py::ClientTestCase::test_redirection_auth
4.854s clients/fdsn/tests/test_client.py::ClientTestCase::test_redirection
4.215s clients/fdsn/client.py::obspy.clients.fdsn.client.Client.get_waveforms_bulk
4.091s clients/fdsn/tests/test_client.py::ClientTestCase::test_iris_example_queries_dataselect_discover_services_false
3.436s clients/fdsn/tests/test_client.py::ClientTestCase::test_manually_deactivate_single_service
3.194s clients/iris/tests/test_client.py::ClientTestCase::test_evalresp
3.191s clients/seedlink/basic_client.py::obspy.clients.seedlink.basic_client.Client.get_waveforms
3.076s clients/nrl/client.py::obspy.clients.nrl.client.NRL.get_response
2.973s clients/fdsn/client.py::obspy.clients.fdsn.client.Client.get_waveforms
2.907s clients/iris/tests/test_client.py::ClientTestCase::test_resp
2.739s clients/syngine/client.py::obspy.clients.syngine.client.Client.get_waveforms_bulk
2.713s clients/seedlink/tests/test_basic_client.py::ClientTestCase::test_multiple_waveform_requests_with_multiple_info_requests
2.679s clients/fdsn/tests/test_federator_routing_client.py::FederatorRoutingClientTestCase::test_get_waveforms_integration_test
2.576s clients/earthworm/__init__.py::obspy.clients.earthworm