#140620 Report by node gh-actions covering 202 tests from 61 modules resulted into 51 errors
Report
- ObsPy version
- 1.4.1.post0+285.ge515aa8c61
- GitHub Pull Request
- https://github.com/obspy/obspy/pull/3461
- Report file
- JSON document
- Total runtime
- 219.3 sec
- Report date/time
- June 5, 2024, 5:08 a.m.
System / Python
- Architecture
- 64bit
- Machine
- x86_64
- Node
- gh-actions
- Processor
- x86_64
- Python Compiler
- GCC 12.3.0
- Python Implementation
- CPython
- Python Version
- 3.12.3
- Release
- 6.5.0-1021-azure
- System
- Linux
- Version
- #22~22.04.1-Ubuntu SMP Tue Apr 30 16:08:18 UTC 2024
Dependencies
- cartopy
- 0.23.0
- decorator
- 5.1.1
- flake8
- ---
- geographiclib
- 2.0
- lxml
- 5.2.2
- matplotlib
- 3.8.4
- numpy
- 1.26.4
- obspy
- 1.4.1.post0+285.ge515aa8c61
- pyproj
- 3.6.1
- pytest
- 8.2.2
- pytest-json-report
- 1.5.0
- requests
- 2.32.3
- scipy
- 1.13.1
- setuptools
- 70.0.0
- shapefile
- ---
- sqlalchemy
- 1.4.49
Modules (61)
Module | Errors / Failures | Tracebacks | ||||
---|---|---|---|---|---|---|
obspy.clients.earthworm | 1 | 9 | 9 | - | 4.82s | 1 |
obspy.clients.fdsn | 38 | 139 | 137 | 2 | 120.71s | 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 |
obspy.clients.filesystem | Not tested | - | - | - | - | - |
obspy.clients.iris | 9 | 15 | 15 | - | 23.27s | 40 41 42 43 44 45 46 47 48 |
obspy.clients.neic | 1 | 5 | 5 | - | 3.80s | 49 |
obspy.clients.nrl | 1 | 3 | 3 | - | 2.98s | 50 |
obspy.clients.seedlink | - | 12 | 9 | 3 | 9.40s | - |
obspy.clients.syngine | 1 | 18 | 18 | - | 26.07s | 51 |
obspy.core | - | 1 | 1 | - | 7.02s | - |
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.alsep | 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.csv | Not tested | - | - | - | - | - |
obspy.io.cybershake | 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 | 51 | 202 | 197 | 5 | 219.33s | 51 |
Tracebacks (51)
Traceback (most recent call last): File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/threadexception.py", line 87, in pytest_runtest_call yield from thread_exception_runtest_hook() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/unraisableexception.py", line 90, in pytest_runtest_call yield from unraisable_exception_runtest_hook() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield from self._runtest_for(item, "call") File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/capture.py", line 878, in pytest_runtest_call return (yield) ^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/skipping.py", line 257, in pytest_runtest_call return (yield) ^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 183, in pytest_runtest_call raise e File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 173, in pytest_runtest_call item.runtest() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 1632, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall raise exception.with_traceback(exception.__traceback__) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 162, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/core/util/decorator.py", line 119, in skip_on_network_error return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/earthworm/tests/test_client.py", line 111, in test_get_waveform_no_cleanup assert len(ew_stream) >= 2 AssertionError: assert 1 >= 2 + where 1 = len(<obspy.core.stream.Stream object at 0x7f6dd88a25a0>)
073 channel of station Albuquerque, New Mexico (``"ANMO"``) of the Global 074 Seismograph Network (``"IU"``) for an seismic event around 2010-02-27 06:45 075 (UTC). Results are returned as a :class:`~obspy.core.stream.Stream` object. 076 See the :meth:`~obspy.clients.fdsn.client.Client.get_waveforms_bulk()` 077 method for information on how to send multiple requests simultaneously to 078 avoid unnecessary network overhead. 079 080 >>> from obspy import UTCDateTime 081 >>> t = UTCDateTime("2010-02-27T06:45:00.000") 082 >>> st = client.get_waveforms("IU", "ANMO", "00", "LHZ", t, t + 60 * 60) UNEXPECTED EXCEPTION: FDSNInternalServerException('Service responds: Internal server error\nHTTP Status code: 500\nDetailed response of server:\n\nError 500: Error calling internal metadata service, code 404 [<!doctype html>\n<html lang="en">\n <head>\n \n <title>\n \n NSF SAGE: \n 404 Page Not Found Error\n \n </title>\n \n <meta name="keywords" content="seismology, seismological data,\n earthquakes, iris dmc" />\n <!-- Forces IE to render in \'latest\' compatible mode -->\n <meta http-equiv="X-UA-Compatible" content="IE=Edge"/>\n <meta charset="utf-8" />\n <meta name="viewport" content="width=device-width, initial-scale=1" />\n \n \n <link rel="stylesheet" media="all" type="text/css" href="/static/css/iris.css" />\n <link rel="stylesheet" media="print" type="text/css" href="/static/css/print.css" />\n \n \n \n <link rel="shortcut icon" href="/static/img/favicon.ico" />\n \n \n <script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.js"></script>\n <script type="text/javascript" src="//netdna.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script>\n \n <!--\n <script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jqueryui/1.8.23/jquery-ui.min.js"></script>\n <script type="text/javascript" src="/static/libs/megamenu/megamenu_plugins.js"></script>\n <script type="text/javascript" src="/static/libs/megamenu/megamenu.min.js"></script>\n -->\n \n \n <!-- Global site tag (gtag.js) - Google Analytics -->\n <script async src="https://www.googletagmanager.com/gtag/js?id=UA-1860730-1"></script>\n <script>\n window.dataLayer = window.dataLayer || [];\n function gtag(){dataLayer.push(arguments);}\n gtag(\'js\', new Date());\n gtag(\'config\', \'UA-1860730-1\');\n </script>\n \n \n <link rel="stylesheet" type="text/css" href="/static/libs/qtip2/2.1.1/jquery.qtip.css" />\n <script type="text/javascript" src="/static/libs/qtip2/2.1.1/jquery.qtip.js"></script>\n <script>\n $(function() {\n /* Automatically set up popup help blocks like:\n * <div class="popup-help">\n * <span class="glyphicon glyphicon-question-sign"> </span>\n * <div>\n * Content to show in the popup.\n * </div>\n * </div>\n * Hovering over the icon shows the content in a popup.\n */\n $(".popup-help").each(function() {\n var content = $(this).children(\'div\').detach();\n var popupOnClick = $(this).hasClass(\'popup-on-click\');\n // Attach to the first element\n $(this).children().first().qtip({\n content: { text: content },\n style: { classes: \'qtip-bootstrap\' },\n hide: {\n delay: 100,\n fixed: true\n },\n show: {\n event: popupOnClick ? \'click\' : \'mouseenter\'\n },\n position: {\n viewport: $(window)\n },\n });\n });\n });\n </script>\n \n \n \n \n </head>\n <body>\n \n \n \n <div class="container blur">\n <div id="breadcrumbs">\n \n <ul class="breadcrumbs">\n \n \n <li>\n <a href="/">Web Services</a>\n </li>\n \n \n </ul>\n \n </div>\n \n \n \n \n \n <div id="page-content">\n \n \n \n \n \n \n \n \n <h1>\n \n \n 404 Page Not Found Error\n \n </h1>\n \n \n <div id="content">\n \n <p>We are sorry, but the page you are requesting does not exist.</p>\n <p>Please check the URL path you are requested and try again.</p>\n <p>If you believe the error to be ours, please\n <a href="//www.iris.edu/hq/contact">contact</a>\n us.</p>\n </div>\n \n </div>\n \n \n </div>\n \n \n </body>\n</html>\n]\nMore Details:\nhandler exited, code: 1 reason: Internal Server Error\nRequest:\nhttp://service.iris.edu/fdsnws/dataselect/1/query?starttime=2010-02-27T06%3A45%3A00.000000&endtime=2010-02-27T07%3A45%3A00.000000&network=IU&station=ANMO&location=00&channel=LHZ\nRequest Submitted:\n2024/06/05 10:05:18 UTC\nService version:\nService: fdsnws-dataselect version: 1.1.9') Traceback (most recent call last): File "/home/runner/miniconda3/envs/test/lib/python3.12/doctest.py", line 1361, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.clients.fdsn[6]>", line 1, in <module> File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/client.py", line 879, in get_waveforms data_stream = self._download(url, use_gzip=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/client.py", line 1493, in _download raise_on_error(code, data) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/client.py", line 1868, in raise_on_error raise FDSNInternalServerException("Service responds: Internal server " obspy.clients.fdsn.header.FDSNInternalServerException: Service responds: Internal server error HTTP Status code: 500 Detailed response of server: Error 500: Error calling internal metadata service, code 404 [<!doctype html> <html lang="en"> <head> <title> NSF SAGE: 404 Page Not Found Error </title> <meta name="keywords" content="seismology, seismological data, earthquakes, iris dmc" /> <!-- Forces IE to render in 'latest' compatible mode --> <meta http-equiv="X-UA-Compatible" content="IE=Edge"/> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <link rel="stylesheet" media="all" type="text/css" href="/static/css/iris.css" /> <link rel="stylesheet" media="print" type="text/css" href="/static/css/print.css" /> <link rel="shortcut icon" href="/static/img/favicon.ico" /> <script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.js"></script> <script type="text/javascript" src="//netdna.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script> <!-- <script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jqueryui/1.8.23/jquery-ui.min.js"></script> <script type="text/javascript" src="/static/libs/megamenu/megamenu_plugins.js"></script> <script type="text/javascript" src="/static/libs/megamenu/megamenu.min.js"></script> --> <!-- Global site tag (gtag.js) - Google Analytics --> <script async src="https://www.googletagmanager.com/gtag/js?id=UA-1860730-1"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'UA-1860730-1'); </script> <link rel="stylesheet" type="text/css" href="/static/libs/qtip2/2.1.1/jquery.qtip.css" /> <script type="text/javascript" src="/static/libs/qtip2/2.1.1/jquery.qtip.js"></script> <script> $(function() { /* Automatically set up popup help blocks like: * <div class="popup-help"> * <span class="glyphicon glyphicon-question-sign"> </span> * <div> * Content to show in the popup. * </div> * </div> * Hovering over the icon shows the content in a popup. */ $(".popup-help").each(function() { var content = $(this).children('div').detach(); var popupOnClick = $(this).hasClass('popup-on-click'); // Attach to the first element $(this).children().first().qtip({ content: { text: content }, style: { classes: 'qtip-bootstrap' }, hide: { delay: 100, fixed: true }, show: { event: popupOnClick ? 'click' : 'mouseenter' }, position: { viewport: $(window) }, }); }); }); </script> </head> <body> <div class="container blur"> <div id="breadcrumbs"> <ul class="breadcrumbs"> <li> <a href="/">Web Services</a> </li> </ul> </div> <div id="page-content"> <h1> 404 Page Not Found Error </h1> <div id="content"> <p>We are sorry, but the page you are requesting does not exist.</p> <p>Please check the URL path you are requested and try again.</p> <p>If you believe the error to be ours, please <a href="//www.iris.edu/hq/contact">contact</a> us.</p> </div> </div> </div> </body> </html> ] More Details: handler exited, code: 1 reason: Internal Server Error Request: http://service.iris.edu/fdsnws/dataselect/1/query?starttime=2010-02-27T06%3A45%3A00.000000&endtime=2010-02-27T07%3A45%3A00.000000&network=IU&station=ANMO&location=00&channel=LHZ Request Submitted: 2024/06/05 10:05:18 UTC Service version: Service: fdsnws-dataselect version: 1.1.9 /home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/__init__.py:82: UnexpectedException
154 155 Initializes an FDSN Web Service client. 156 157 >>> client = Client("EARTHSCOPE") 158 >>> print(client) # doctest: +ELLIPSIS +NORMALIZE_WHITESPACE Differences (unified diff with -expected +actual): @@ -1,6 +1,5 @@ FDSN Webservice Client (base url: http://service.iris.edu) -Available Services: 'dataselect' (v...), 'event' (v...), -'station' (v...), 'available_event_catalogs', -'available_event_contributors' +Available Services: 'dataselect' (v1.1.9), 'event' (v1.1.13), 'available_event_catalogs', 'available_event_contributors' +<BLANKLINE> Use e.g. client.help('dataselect') for the parameter description of the individual services /home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/client.py:158: DocTestFailure
576 577 Query the station service of the FDSN client. 578 579 >>> client = Client("EARTHSCOPE") 580 >>> starttime = UTCDateTime("2001-01-01") 581 >>> endtime = UTCDateTime("2001-01-02") 582 >>> inventory = client.get_stations(network="IU", station="A*", UNEXPECTED EXCEPTION: ValueError('The current client does not have a station service.') Traceback (most recent call last): File "/home/runner/miniconda3/envs/test/lib/python3.12/doctest.py", line 1361, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.clients.fdsn.client.Client.get_stations[3]>", line 1, in <module> File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/client.py", line 747, in get_stations raise ValueError(msg) ValueError: The current client does not have a station service. /home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/client.py:582: UnexpectedException
1100 - an open file handle (or file-like object) with the request 1101 1102 >>> client = Client("EARTHSCOPE") 1103 >>> t1 = UTCDateTime("2010-02-27T06:30:00.000") 1104 >>> t2 = t1 + 1 1105 >>> t3 = t1 + 3 1106 >>> bulk = [("IU", "ANMO", "*", "BHZ", t1, t2), 1107 ... ("IU", "AFI", "1?", "BHE", t1, t3), 1108 ... ("GR", "GRA1", "*", "BH*", t2, t3)] 1109 >>> inv = client.get_stations_bulk(bulk) UNEXPECTED EXCEPTION: ValueError('The current client does not have a station service.') Traceback (most recent call last): File "/home/runner/miniconda3/envs/test/lib/python3.12/doctest.py", line 1361, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.clients.fdsn.client.Client.get_stations_bulk[5]>", line 1, in <module> File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/client.py", line 1234, in get_stations_bulk raise ValueError(msg) ValueError: The current client does not have a station service. /home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/client.py:1109: UnexpectedException
775 776 Query the dataselect service of the client. 777 778 >>> client = Client("EARTHSCOPE") 779 >>> t1 = UTCDateTime("2010-02-27T06:30:00.000") 780 >>> t2 = t1 + 5 781 >>> st = client.get_waveforms("IU", "ANMO", "00", "LHZ", t1, t2) UNEXPECTED EXCEPTION: FDSNInternalServerException('Service responds: Internal server error\nHTTP Status code: 500\nDetailed response of server:\n\nError 500: Error calling internal metadata service, code 404 [<!doctype html>\n<html lang="en">\n <head>\n \n <title>\n \n NSF SAGE: \n 404 Page Not Found Error\n \n </title>\n \n <meta name="keywords" content="seismology, seismological data,\n earthquakes, iris dmc" />\n <!-- Forces IE to render in \'latest\' compatible mode -->\n <meta http-equiv="X-UA-Compatible" content="IE=Edge"/>\n <meta charset="utf-8" />\n <meta name="viewport" content="width=device-width, initial-scale=1" />\n \n \n <link rel="stylesheet" media="all" type="text/css" href="/static/css/iris.css" />\n <link rel="stylesheet" media="print" type="text/css" href="/static/css/print.css" />\n \n \n \n <link rel="shortcut icon" href="/static/img/favicon.ico" />\n \n \n <script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.js"></script>\n <script type="text/javascript" src="//netdna.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script>\n \n <!--\n <script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jqueryui/1.8.23/jquery-ui.min.js"></script>\n <script type="text/javascript" src="/static/libs/megamenu/megamenu_plugins.js"></script>\n <script type="text/javascript" src="/static/libs/megamenu/megamenu.min.js"></script>\n -->\n \n \n <!-- Global site tag (gtag.js) - Google Analytics -->\n <script async src="https://www.googletagmanager.com/gtag/js?id=UA-1860730-1"></script>\n <script>\n window.dataLayer = window.dataLayer || [];\n function gtag(){dataLayer.push(arguments);}\n gtag(\'js\', new Date());\n gtag(\'config\', \'UA-1860730-1\');\n </script>\n \n \n <link rel="stylesheet" type="text/css" href="/static/libs/qtip2/2.1.1/jquery.qtip.css" />\n <script type="text/javascript" src="/static/libs/qtip2/2.1.1/jquery.qtip.js"></script>\n <script>\n $(function() {\n /* Automatically set up popup help blocks like:\n * <div class="popup-help">\n * <span class="glyphicon glyphicon-question-sign"> </span>\n * <div>\n * Content to show in the popup.\n * </div>\n * </div>\n * Hovering over the icon shows the content in a popup.\n */\n $(".popup-help").each(function() {\n var content = $(this).children(\'div\').detach();\n var popupOnClick = $(this).hasClass(\'popup-on-click\');\n // Attach to the first element\n $(this).children().first().qtip({\n content: { text: content },\n style: { classes: \'qtip-bootstrap\' },\n hide: {\n delay: 100,\n fixed: true\n },\n show: {\n event: popupOnClick ? \'click\' : \'mouseenter\'\n },\n position: {\n viewport: $(window)\n },\n });\n });\n });\n </script>\n \n \n \n \n </head>\n <body>\n \n \n \n <div class="container blur">\n <div id="breadcrumbs">\n \n <ul class="breadcrumbs">\n \n \n <li>\n <a href="/">Web Services</a>\n </li>\n \n \n </ul>\n \n </div>\n \n \n \n \n \n <div id="page-content">\n \n \n \n \n \n \n \n \n <h1>\n \n \n 404 Page Not Found Error\n \n </h1>\n \n \n <div id="content">\n \n <p>We are sorry, but the page you are requesting does not exist.</p>\n <p>Please check the URL path you are requested and try again.</p>\n <p>If you believe the error to be ours, please\n <a href="//www.iris.edu/hq/contact">contact</a>\n us.</p>\n </div>\n \n </div>\n \n \n </div>\n \n \n </body>\n</html>\n]\nMore Details:\nhandler exited, code: 1 reason: Internal Server Error\nRequest:\nhttp://service.iris.edu/fdsnws/dataselect/1/query?starttime=2010-02-27T06%3A30%3A00.000000&endtime=2010-02-27T06%3A30%3A05.000000&network=IU&station=ANMO&location=00&channel=LHZ\nRequest Submitted:\n2024/06/05 10:05:20 UTC\nService version:\nService: fdsnws-dataselect version: 1.1.9') Traceback (most recent call last): File "/home/runner/miniconda3/envs/test/lib/python3.12/doctest.py", line 1361, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.clients.fdsn.client.Client.get_waveforms[3]>", line 1, in <module> File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/client.py", line 879, in get_waveforms data_stream = self._download(url, use_gzip=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/client.py", line 1493, in _download raise_on_error(code, data) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/client.py", line 1868, in raise_on_error raise FDSNInternalServerException("Service responds: Internal server " obspy.clients.fdsn.header.FDSNInternalServerException: Service responds: Internal server error HTTP Status code: 500 Detailed response of server: Error 500: Error calling internal metadata service, code 404 [<!doctype html> <html lang="en"> <head> <title> NSF SAGE: 404 Page Not Found Error </title> <meta name="keywords" content="seismology, seismological data, earthquakes, iris dmc" /> <!-- Forces IE to render in 'latest' compatible mode --> <meta http-equiv="X-UA-Compatible" content="IE=Edge"/> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <link rel="stylesheet" media="all" type="text/css" href="/static/css/iris.css" /> <link rel="stylesheet" media="print" type="text/css" href="/static/css/print.css" /> <link rel="shortcut icon" href="/static/img/favicon.ico" /> <script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.js"></script> <script type="text/javascript" src="//netdna.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script> <!-- <script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jqueryui/1.8.23/jquery-ui.min.js"></script> <script type="text/javascript" src="/static/libs/megamenu/megamenu_plugins.js"></script> <script type="text/javascript" src="/static/libs/megamenu/megamenu.min.js"></script> --> <!-- Global site tag (gtag.js) - Google Analytics --> <script async src="https://www.googletagmanager.com/gtag/js?id=UA-1860730-1"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'UA-1860730-1'); </script> <link rel="stylesheet" type="text/css" href="/static/libs/qtip2/2.1.1/jquery.qtip.css" /> <script type="text/javascript" src="/static/libs/qtip2/2.1.1/jquery.qtip.js"></script> <script> $(function() { /* Automatically set up popup help blocks like: * <div class="popup-help"> * <span class="glyphicon glyphicon-question-sign"> </span> * <div> * Content to show in the popup. * </div> * </div> * Hovering over the icon shows the content in a popup. */ $(".popup-help").each(function() { var content = $(this).children('div').detach(); var popupOnClick = $(this).hasClass('popup-on-click'); // Attach to the first element $(this).children().first().qtip({ content: { text: content }, style: { classes: 'qtip-bootstrap' }, hide: { delay: 100, fixed: true }, show: { event: popupOnClick ? 'click' : 'mouseenter' }, position: { viewport: $(window) }, }); }); }); </script> </head> <body> <div class="container blur"> <div id="breadcrumbs"> <ul class="breadcrumbs"> <li> <a href="/">Web Services</a> </li> </ul> </div> <div id="page-content"> <h1> 404 Page Not Found Error </h1> <div id="content"> <p>We are sorry, but the page you are requesting does not exist.</p> <p>Please check the URL path you are requested and try again.</p> <p>If you believe the error to be ours, please <a href="//www.iris.edu/hq/contact">contact</a> us.</p> </div> </div> </div> </body> </html> ] More Details: handler exited, code: 1 reason: Internal Server Error Request: http://service.iris.edu/fdsnws/dataselect/1/query?starttime=2010-02-27T06%3A30%3A00.000000&endtime=2010-02-27T06%3A30%3A05.000000&network=IU&station=ANMO&location=00&channel=LHZ Request Submitted: 2024/06/05 10:05:20 UTC Service version: Service: fdsnws-dataselect version: 1.1.9 /home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/client.py:781: UnexpectedException
943 - an open file handle (or file-like object) with the request 944 945 >>> client = Client("EARTHSCOPE") 946 >>> t1 = UTCDateTime("2010-02-27T06:30:00.000") 947 >>> t2 = t1 + 1 948 >>> t3 = t1 + 3 949 >>> bulk = [("IU", "ANMO", "*", "BHZ", t1, t2), 950 ... ("IU", "AFI", "1?", "BHE", t1, t3), 951 ... ("GR", "GRA1", "*", "BH*", t2, t3)] 952 >>> st = client.get_waveforms_bulk(bulk) UNEXPECTED EXCEPTION: FDSNInternalServerException('Service responds: Internal server error\nHTTP Status code: 500\nDetailed response of server:\n\n\x1f\x08\x00\x00\x00\x00\x00\x00\x00Xmo6\x10_q\x15\n."yi\u05f9 M\x00]W4+6(\x06Z:KL\x16c;R,Ng\n\x11H\x14y|̥\x08.m3I"\x08DQf<\x145\x0fP.DG\x10!\nyW\x05Bd\n\x12E\x13\x173w\x00ci\x00\x07h\x13_M}~\n.Gh#\x0fyNwm!\x1ahx\x13\x16W\\%ɧLO\\ByG#hڂ<\x07\x11\x01 :+-#\x10R(\x08\x05f=zyd\nP%\n$f!J\nz\tרtt\x05b .ϛ6vZ\x17\nޕb1q>{\x17pȫe\x186\x13K4VrmNׅeK݂YPǓ\x10y\nʄ\x16<\x14\x1aȩ~\x1b\x12)\x0enɷ\x08ӫ\x04UH)O\\\n\x13\x17O\\\x05\x18%\'.S\tL\x173vt#h!)\x0e\n5qh .H#6\n3ӣaaC\n(tۜ\x1bU\nJ\x06\x04\n<\x12q6Om\x1fKL\x12\nW\x7f7ʝY3=XQ:̸?sE\x10fVYN3DmTd;*(\x7fe)ϗib\x03ud\x15\x18QgeHHd\x7f\x01\x7fj\x0f;m\x06](o(\x114\x1fѓ\x0e,]pNYtET\nU\x16T\x06F-˚fIyFOZ\n.-k\x11N(c\n|1t\n?:\x17.E\x16Kߤ|E9j;|0/@<\x03?ֈE>QI\ni5xPϰ\x1b;\n\x12`\x7f0x5J[l."mR[o\x17\x12ŏS];-\x13v6je\x7f\x11#>\x1a~\x15x_S\x1ftgp^<5\x1a(\x0ei(\n(1&\x05̒<U[\nmj3\x18b\x01A\x95i=#N2ƌgk(Y\x15Itд<rB\x19<%"*f\x15hF\x17tuwQ\x15\x17S(.M1V\n\x00E%_4g\x0eHT\x03g]̌\n5}o12\x07~\x01\x16\\6\x13c\x06~\x10$z\uf455\x1f>$&3߲D\x041W\x17~\nHo\n18\x060h\n4`fo\x04w\x1aV&m\x7f`\x08QіOFF\x07\x11\nT^wF,B3a\x0f ĄFp<\nuF\n\x11hYH\x10Z]X\\X\'\x18~\nG cӼT|\x11zSVuհ>&*\n\x0e\n\x07zh-ݦ7wm\x0e˔wVMs1cZڬ\n\x17\x19mYRfo[\x11\x00L\x12b tV*5>-ٝ\x0fy.TN\x19\\W\x015f+<f]}ǬL:יÞӁ~v)*tz\x0ep]\n\x0eg8>e\x7f\x028C\nC5vMG\n\x17\x146%ʥ{\u05ccNh\x18Wyi$VUjA*#^(Y1`>\tTQMA=踋!pC\x156S\njng\x086\x16\x05\n!/%]\nښM\x03`Xٝ\x1au\x10\n\x13Oi2\x15]6ǰ*KW\x1a5\'^P-\x13\x1a91Pn!jBOy\n9L¼Z_6\':>U\x12\x00VZG`<TR1shTT\x02͎=,5sẜBڑs2<9c\x17ljh|tr\n\x7fp:\x00V&;FP)6\n\x11\x02:?;X{\x00`\x10\x00\x00') Traceback (most recent call last): File "/home/runner/miniconda3/envs/test/lib/python3.12/doctest.py", line 1361, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.clients.fdsn.client.Client.get_waveforms_bulk[5]>", line 1, in <module> File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/client.py", line 1058, in get_waveforms_bulk data_stream = self._download( ^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/client.py", line 1493, in _download raise_on_error(code, data) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/client.py", line 1868, in raise_on_error raise FDSNInternalServerException("Service responds: Internal server " obspy.clients.fdsn.header.FDSNInternalServerException: Service responds: Internal server error HTTP Status code: 500 Detailed response of server: Xmo6_q ."yi M ]W4+6(Z:KLc;R,Ng Hy|̥.m3I"DQf<5P.DG! yWBd E3w ci h_M}~ .Gh#yNwm!hxW\%ɧLO\ByG#hڂ< :+-#R(f=zyd P% $f!J z רttb .ϛ6vZ ޕb1q>{pȫe6K4VrmNׅeK݂YPǓy ʄ<ȩ~)nɷӫUH)O\ O\%'.S L3vt#h!) 5qh .H#6 3ӣaaC (tۜU J <q6OmKL W7ʝY3=XQ:̸?sEfVYN3DmTd;*(e)ϗibudQgeHHdj;m](o(4ѓ,]pNYtET UTF-˚fIyFOZ .-kN(c |1t ?:.EKߤ|E9j;|0/@<?ֈE>QI i5xPϰ; `0x5J[l."mR[oŏS];-v6je#>~x_Stgp^<5(i( (1&̒<U[ mj3bAi=#N2ƌgk(YItд<rB<%"*fhFtuwQS(.M1V E%_4gHTg]̌ 5}o12~\6c~$z>$&3߲D1W~ Ho 180h 4`fowV&m`QіOFF T^wF,B3a ĄFp< uF hYHZ]X\X'~ G cӼT|zSVuհ>&* zh-ݦ7wm˔wVMs1cZڬ mYRfo[ Lb tV*5>-ٝy.TN\W5f+<f]}ǬL:יÞӁ~v)*tzp] g8>e8C C5vMG 6%ʥ{NhWyi$VUjA*#^(Y1`> TQMA=踋!pC6S jng6 !/%] ښM`Xٝu Oi2]6ǰ*KW5'^P-91Pn!jBOy 9L¼Z_6':>U VZG`<TR1shTT͎=,5sẜBڑs2<9cljh|tr p: V&;FP)6 :?;X{ ` /home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/client.py:952: UnexpectedException
Traceback (most recent call last): File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/threadexception.py", line 87, in pytest_runtest_call yield from thread_exception_runtest_hook() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/unraisableexception.py", line 90, in pytest_runtest_call yield from unraisable_exception_runtest_hook() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield from self._runtest_for(item, "call") File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/capture.py", line 878, in pytest_runtest_call return (yield) ^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/skipping.py", line 257, in pytest_runtest_call return (yield) ^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 183, in pytest_runtest_call raise e File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 173, in pytest_runtest_call item.runtest() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 1632, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall raise exception.with_traceback(exception.__traceback__) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 162, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/tests/test_client.py", line 262, in test_location_parameters assert "location=--" in \ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/client.py", line 1284, in _create_url_from_parameters service_params = self.services[service] ~~~~~~~~~~~~~^^^^^^^^^ KeyError: 'station'
Traceback (most recent call last): File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/threadexception.py", line 87, in pytest_runtest_call yield from thread_exception_runtest_hook() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/unraisableexception.py", line 90, in pytest_runtest_call yield from unraisable_exception_runtest_hook() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield from self._runtest_for(item, "call") File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/capture.py", line 878, in pytest_runtest_call return (yield) ^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/skipping.py", line 257, in pytest_runtest_call return (yield) ^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 183, in pytest_runtest_call raise e File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 173, in pytest_runtest_call item.runtest() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 1632, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall raise exception.with_traceback(exception.__traceback__) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 162, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/tests/test_client.py", line 343, in test_service_discovery_iris assert {*client.services.keys()} == \ AssertionError: assert {'available_e...ect', 'event'} == {'available_e...t', 'station'} Extra items in the right set: 'station' Full diff: { 'available_event_catalogs', 'available_event_contributors', 'dataselect', 'event', - 'station', }
Traceback (most recent call last): File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/threadexception.py", line 87, in pytest_runtest_call yield from thread_exception_runtest_hook() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/unraisableexception.py", line 90, in pytest_runtest_call yield from unraisable_exception_runtest_hook() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield from self._runtest_for(item, "call") File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/capture.py", line 878, in pytest_runtest_call return (yield) ^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/skipping.py", line 257, in pytest_runtest_call return (yield) ^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 183, in pytest_runtest_call raise e File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 173, in pytest_runtest_call item.runtest() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 1632, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall raise exception.with_traceback(exception.__traceback__) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 162, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/tests/test_client.py", line 501, in test_iris_example_queries_station inv = client.get_stations(latitude=-56.1, longitude=-26.7, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/client.py", line 747, in get_stations raise ValueError(msg) ValueError: The current client does not have a station service.
Traceback (most recent call last): File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/threadexception.py", line 87, in pytest_runtest_call yield from thread_exception_runtest_hook() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/unraisableexception.py", line 90, in pytest_runtest_call yield from unraisable_exception_runtest_hook() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield from self._runtest_for(item, "call") File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/capture.py", line 878, in pytest_runtest_call return (yield) ^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/skipping.py", line 257, in pytest_runtest_call return (yield) ^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 183, in pytest_runtest_call raise e File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 173, in pytest_runtest_call item.runtest() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 1632, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall raise exception.with_traceback(exception.__traceback__) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 162, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/tests/test_client.py", line 584, in test_iris_example_queries_dataselect got = client.get_waveforms(*query) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/client.py", line 879, in get_waveforms data_stream = self._download(url, use_gzip=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/client.py", line 1493, in _download raise_on_error(code, data) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/client.py", line 1868, in raise_on_error raise FDSNInternalServerException("Service responds: Internal server " obspy.clients.fdsn.header.FDSNInternalServerException: Service responds: Internal server error HTTP Status code: 500 Detailed response of server: Error 500: Error calling internal metadata service, code 404 [<!doctype html> <html lang="en"> <head> <title> NSF SAGE: 404 Page Not Found Error </title> <meta name="keywords" content="seismology, seismological data, earthquakes, iris dmc" /> <!-- Forces IE to render in 'latest' compatible mode --> <meta http-equiv="X-UA-Compatible" content="IE=Edge"/> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <link rel="stylesheet" media="all" type="text/css" href="/static/css/iris.css" /> <link rel="stylesheet" media="print" type="text/css" href="/static/css/print.css" /> <link rel="shortcut icon" href="/static/img/favicon.ico" /> <script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.js"></script> <script type="text/javascript" src="//netdna.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script> <!-- <script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jqueryui/1.8.23/jquery-ui.min.js"></script> <script type="text/javascript" src="/static/libs/megamenu/megamenu_plugins.js"></script> <script type="text/javascript" src="/static/libs/megamenu/megamenu.min.js"></script> --> <!-- Global site tag (gtag.js) - Google Analytics --> <script async src="https://www.googletagmanager.com/gtag/js?id=UA-1860730-1"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'UA-1860730-1'); </script> <link rel="stylesheet" type="text/css" href="/static/libs/qtip2/2.1.1/jquery.qtip.css" /> <script type="text/javascript" src="/static/libs/qtip2/2.1.1/jquery.qtip.js"></script> <script> $(function() { /* Automatically set up popup help blocks like: * <div class="popup-help"> * <span class="glyphicon glyphicon-question-sign"> </span> * <div> * Content to show in the popup. * </div> * </div> * Hovering over the icon shows the content in a popup. */ $(".popup-help").each(function() { var content = $(this).children('div').detach(); var popupOnClick = $(this).hasClass('popup-on-click'); // Attach to the first element $(this).children().first().qtip({ content: { text: content }, style: { classes: 'qtip-bootstrap' }, hide: { delay: 100, fixed: true }, show: { event: popupOnClick ? 'click' : 'mouseenter' }, position: { viewport: $(window) }, }); }); }); </script> </head> <body> <div class="container blur"> <div id="breadcrumbs"> <ul class="breadcrumbs"> <li> <a href="/">Web Services</a> </li> </ul> </div> <div id="page-content"> <h1> 404 Page Not Found Error </h1> <div id="content"> <p>We are sorry, but the page you are requesting does not exist.</p> <p>Please check the URL path you are requested and try again.</p> <p>If you believe the error to be ours, please <a href="//www.iris.edu/hq/contact">contact</a> us.</p> </div> </div> </div> </body> </html> ] More Details: handler exited, code: 1 reason: Internal Server Error Request: http://service.iris.edu/fdsnws/dataselect/1/query?starttime=2010-02-27T06%3A30%3A00.000000&endtime=2010-02-27T06%3A40%3A00.000000&network=IU&station=ANMO&location=00&channel=BHZ Request Submitted: 2024/06/05 10:05:40 UTC Service version: Service: fdsnws-dataselect version: 1.1.9
Traceback (most recent call last): File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/threadexception.py", line 87, in pytest_runtest_call yield from thread_exception_runtest_hook() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/unraisableexception.py", line 90, in pytest_runtest_call yield from unraisable_exception_runtest_hook() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield from self._runtest_for(item, "call") File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/capture.py", line 878, in pytest_runtest_call return (yield) ^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/skipping.py", line 257, in pytest_runtest_call return (yield) ^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 183, in pytest_runtest_call raise e File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 173, in pytest_runtest_call item.runtest() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 1632, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall raise exception.with_traceback(exception.__traceback__) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 162, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/tests/test_client.py", line 616, in test_authentication got = client.get_waveforms(*query) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/client.py", line 879, in get_waveforms data_stream = self._download(url, use_gzip=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/client.py", line 1493, in _download raise_on_error(code, data) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/client.py", line 1868, in raise_on_error raise FDSNInternalServerException("Service responds: Internal server " obspy.clients.fdsn.header.FDSNInternalServerException: Service responds: Internal server error HTTP Status code: 500 Detailed response of server: Error 500: Error calling internal metadata service, code 404 [<!doctype html> <html lang="en"> <head> <title> NSF SAGE: 404 Page Not Found Error </title> <meta name="keywords" content="seismology, seismological data, earthquakes, iris dmc" /> <!-- Forces IE to render in 'latest' compatible mode --> <meta http-equiv="X-UA-Compatible" content="IE=Edge"/> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <link rel="stylesheet" media="all" type="text/css" href="/static/css/iris.css" /> <link rel="stylesheet" media="print" type="text/css" href="/static/css/print.css" /> <link rel="shortcut icon" href="/static/img/favicon.ico" /> <script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.js"></script> <script type="text/javascript" src="//netdna.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script> <!-- <script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jqueryui/1.8.23/jquery-ui.min.js"></script> <script type="text/javascript" src="/static/libs/megamenu/megamenu_plugins.js"></script> <script type="text/javascript" src="/static/libs/megamenu/megamenu.min.js"></script> --> <!-- Global site tag (gtag.js) - Google Analytics --> <script async src="https://www.googletagmanager.com/gtag/js?id=UA-1860730-1"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'UA-1860730-1'); </script> <link rel="stylesheet" type="text/css" href="/static/libs/qtip2/2.1.1/jquery.qtip.css" /> <script type="text/javascript" src="/static/libs/qtip2/2.1.1/jquery.qtip.js"></script> <script> $(function() { /* Automatically set up popup help blocks like: * <div class="popup-help"> * <span class="glyphicon glyphicon-question-sign"> </span> * <div> * Content to show in the popup. * </div> * </div> * Hovering over the icon shows the content in a popup. */ $(".popup-help").each(function() { var content = $(this).children('div').detach(); var popupOnClick = $(this).hasClass('popup-on-click'); // Attach to the first element $(this).children().first().qtip({ content: { text: content }, style: { classes: 'qtip-bootstrap' }, hide: { delay: 100, fixed: true }, show: { event: popupOnClick ? 'click' : 'mouseenter' }, position: { viewport: $(window) }, }); }); }); </script> </head> <body> <div class="container blur"> <div id="breadcrumbs"> <ul class="breadcrumbs"> <li> <a href="/">Web Services</a> </li> </ul> </div> <div id="page-content"> <h1> 404 Page Not Found Error </h1> <div id="content"> <p>We are sorry, but the page you are requesting does not exist.</p> <p>Please check the URL path you are requested and try again.</p> <p>If you believe the error to be ours, please <a href="//www.iris.edu/hq/contact">contact</a> us.</p> </div> </div> </div> </body> </html> ] More Details: handler exited, code: 1 reason: Internal Server Error Request: http://service.iris.edu/fdsnws/dataselect/1/queryauth?starttime=2010-02-27T06%3A30%3A00.000000&endtime=2010-02-27T06%3A40%3A00.000000&network=IU&station=ANMO&location=00&channel=BHZ Request Submitted: 2024/06/05 10:05:41 UTC Service version: Service: fdsnws-dataselect version: 1.1.9
Traceback (most recent call last): File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/threadexception.py", line 87, in pytest_runtest_call yield from thread_exception_runtest_hook() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/unraisableexception.py", line 90, in pytest_runtest_call yield from unraisable_exception_runtest_hook() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield from self._runtest_for(item, "call") File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/capture.py", line 878, in pytest_runtest_call return (yield) ^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/skipping.py", line 257, in pytest_runtest_call return (yield) ^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 183, in pytest_runtest_call raise e File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 173, in pytest_runtest_call item.runtest() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 1632, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall raise exception.with_traceback(exception.__traceback__) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 162, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/tests/test_client.py", line 681, in test_iris_example_queries_station_discover_services_false inv = client.get_stations(latitude=-56.1, longitude=-26.7, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/client.py", line 755, in get_stations data_stream = self._download(url) ^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/client.py", line 1493, in _download raise_on_error(code, data) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/client.py", line 1888, in raise_on_error raise FDSNException("Unknown HTTP code: %i" % code, server_info) obspy.clients.fdsn.header.FDSNException: Unknown HTTP code: 404 Detailed response of server: Not Found <!doctype html> <html lang="en"> <head> <title> NSF SAGE: 404 Page Not Found Error </title> <meta name="keywords" content="seismology, seismological data, earthquakes, iris dmc" /> <!-- Forces IE to render in 'latest' compatible mode --> <meta http-equiv="X-UA-Compatible" content="IE=Edge"/> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <link rel="stylesheet" media="all" type="text/css" href="/static/css/iris.css" /> <link rel="stylesheet" media="print" type="text/css" href="/static/css/print.css" /> <link rel="shortcut icon" href="/static/img/favicon.ico" /> <script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.js"></script> <script type="text/javascript" src="//netdna.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script> <!-- <script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jqueryui/1.8.23/jquery-ui.min.js"></script> <script type="text/javascript" src="/static/libs/megamenu/megamenu_plugins.js"></script> <script type="text/javascript" src="/static/libs/megamenu/megamenu.min.js"></script> --> <!-- Global site tag (gtag.js) - Google Analytics --> <script async src="https://www.googletagmanager.com/gtag/js?id=UA-1860730-1"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'UA-1860730-1'); </script> <link rel="stylesheet" type="text/css" href="/static/libs/qtip2/2.1.1/jquery.qtip.css" /> <script type="text/javascript" src="/static/libs/qtip2/2.1.1/jquery.qtip.js"></script> <script> $(function() { /* Automatically set up popup help blocks like: * <div class="popup-help"> * <span class="glyphicon glyphicon-question-sign"> </span> * <div> * Content to show in the popup. * </div> * </div> * Hovering over the icon shows the content in a popup. */ $(".popup-help").each(function() { var content = $(this).children('div').detach(); var popupOnClick = $(this).hasClass('popup-on-click'); // Attach to the first element $(this).children().first().qtip({ content: { text: content }, style: { classes: 'qtip-bootstrap' }, hide: { delay: 100, fixed: true }, show: { event: popupOnClick ? 'click' : 'mouseenter' }, position: { viewport: $(window) }, }); }); }); </script> </head> <body> <div class="container blur"> <div id="breadcrumbs"> <ul class="breadcrumbs"> <li> <a href="/">Web Services</a> </li> </ul> </div> <div id="page-content"> <h1> 404 Page Not Found Error </h1> <div id="content"> <p>We are sorry, but the page you are requesting does not exist.</p> <p>Please check the URL path you are requested and try again.</p> <p>If you believe the error to be ours, please <a href="//www.iris.edu/hq/contact">contact</a> us.</p> </div> </div> </div> </body> </html>
Traceback (most recent call last): File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/threadexception.py", line 87, in pytest_runtest_call yield from thread_exception_runtest_hook() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/unraisableexception.py", line 90, in pytest_runtest_call yield from unraisable_exception_runtest_hook() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield from self._runtest_for(item, "call") File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/capture.py", line 878, in pytest_runtest_call return (yield) ^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/skipping.py", line 257, in pytest_runtest_call return (yield) ^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 183, in pytest_runtest_call raise e File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 173, in pytest_runtest_call item.runtest() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 1632, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall raise exception.with_traceback(exception.__traceback__) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 162, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/tests/test_client.py", line 766, in test_iris_example_queries_dataselect_discover_services_false got = client.get_waveforms(*query) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/client.py", line 879, in get_waveforms data_stream = self._download(url, use_gzip=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/client.py", line 1493, in _download raise_on_error(code, data) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/client.py", line 1868, in raise_on_error raise FDSNInternalServerException("Service responds: Internal server " obspy.clients.fdsn.header.FDSNInternalServerException: Service responds: Internal server error HTTP Status code: 500 Detailed response of server: Error 500: Error calling internal metadata service, code 404 [<!doctype html> <html lang="en"> <head> <title> NSF SAGE: 404 Page Not Found Error </title> <meta name="keywords" content="seismology, seismological data, earthquakes, iris dmc" /> <!-- Forces IE to render in 'latest' compatible mode --> <meta http-equiv="X-UA-Compatible" content="IE=Edge"/> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <link rel="stylesheet" media="all" type="text/css" href="/static/css/iris.css" /> <link rel="stylesheet" media="print" type="text/css" href="/static/css/print.css" /> <link rel="shortcut icon" href="/static/img/favicon.ico" /> <script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.js"></script> <script type="text/javascript" src="//netdna.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script> <!-- <script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jqueryui/1.8.23/jquery-ui.min.js"></script> <script type="text/javascript" src="/static/libs/megamenu/megamenu_plugins.js"></script> <script type="text/javascript" src="/static/libs/megamenu/megamenu.min.js"></script> --> <!-- Global site tag (gtag.js) - Google Analytics --> <script async src="https://www.googletagmanager.com/gtag/js?id=UA-1860730-1"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'UA-1860730-1'); </script> <link rel="stylesheet" type="text/css" href="/static/libs/qtip2/2.1.1/jquery.qtip.css" /> <script type="text/javascript" src="/static/libs/qtip2/2.1.1/jquery.qtip.js"></script> <script> $(function() { /* Automatically set up popup help blocks like: * <div class="popup-help"> * <span class="glyphicon glyphicon-question-sign"> </span> * <div> * Content to show in the popup. * </div> * </div> * Hovering over the icon shows the content in a popup. */ $(".popup-help").each(function() { var content = $(this).children('div').detach(); var popupOnClick = $(this).hasClass('popup-on-click'); // Attach to the first element $(this).children().first().qtip({ content: { text: content }, style: { classes: 'qtip-bootstrap' }, hide: { delay: 100, fixed: true }, show: { event: popupOnClick ? 'click' : 'mouseenter' }, position: { viewport: $(window) }, }); }); }); </script> </head> <body> <div class="container blur"> <div id="breadcrumbs"> <ul class="breadcrumbs"> <li> <a href="/">Web Services</a> </li> </ul> </div> <div id="page-content"> <h1> 404 Page Not Found Error </h1> <div id="content"> <p>We are sorry, but the page you are requesting does not exist.</p> <p>Please check the URL path you are requested and try again.</p> <p>If you believe the error to be ours, please <a href="//www.iris.edu/hq/contact">contact</a> us.</p> </div> </div> </div> </body> </html> ] More Details: handler exited, code: 1 reason: Internal Server Error Request: http://service.iris.edu/fdsnws/dataselect/1/query?starttime=2010-02-27T06%3A30%3A00.000000&endtime=2010-02-27T06%3A40%3A00.000000&network=IU&station=ANMO&location=00&channel=BHZ Request Submitted: 2024/06/05 10:05:47 UTC Service version: Service: fdsnws-dataselect version: 1.1.9
Traceback (most recent call last): File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/threadexception.py", line 87, in pytest_runtest_call yield from thread_exception_runtest_hook() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/unraisableexception.py", line 90, in pytest_runtest_call yield from unraisable_exception_runtest_hook() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield from self._runtest_for(item, "call") File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/capture.py", line 878, in pytest_runtest_call return (yield) ^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/skipping.py", line 257, in pytest_runtest_call return (yield) ^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 183, in pytest_runtest_call raise e File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 173, in pytest_runtest_call item.runtest() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 1632, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall raise exception.with_traceback(exception.__traceback__) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 162, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/tests/test_client.py", line 792, in test_conflicting_params self.client.get_stations(network="IU", net="IU") File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/client.py", line 747, in get_stations raise ValueError(msg) ValueError: The current client does not have a station service.
Traceback (most recent call last): File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/threadexception.py", line 87, in pytest_runtest_call yield from thread_exception_runtest_hook() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/unraisableexception.py", line 90, in pytest_runtest_call yield from unraisable_exception_runtest_hook() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield from self._runtest_for(item, "call") File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/capture.py", line 878, in pytest_runtest_call return (yield) ^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/skipping.py", line 257, in pytest_runtest_call return (yield) ^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 183, in pytest_runtest_call raise e File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 173, in pytest_runtest_call item.runtest() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 1632, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall raise exception.with_traceback(exception.__traceback__) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 162, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/tests/test_client.py", line 830, in test_help_function_with_iris client.help("station") File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/client.py", line 1371, in help raise ValueError(msg) ValueError: Service 'station' not available for current client.
Traceback (most recent call last): File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/threadexception.py", line 87, in pytest_runtest_call yield from thread_exception_runtest_hook() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/unraisableexception.py", line 90, in pytest_runtest_call yield from unraisable_exception_runtest_hook() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield from self._runtest_for(item, "call") File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/capture.py", line 878, in pytest_runtest_call return (yield) ^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/skipping.py", line 257, in pytest_runtest_call return (yield) ^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 183, in pytest_runtest_call raise e File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 173, in pytest_runtest_call item.runtest() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 1632, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall raise exception.with_traceback(exception.__traceback__) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 162, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/tests/test_client.py", line 874, in test_str_method assert got == expected, failmsg(got, expected) AssertionError: Got: ['FDSN Webservice Client (base url: http://service.iris.edu)', "Available Services: 'dataselect' (vX.X.X) 'event' (vX.X.X) 'available_event_catalogs' 'available_event_contributors'", '', "Use e.g. client.help('dataselect') for the", 'parameter description of the individual services', 'or client.help() for parameter description of', 'all webservices.'] Expected: ['FDSN Webservice Client (base url: http://service.iris.edu)', "Available Services: 'dataselect' (vX.X.X) 'event' (vX.X.X) 'station' (vX.X.X) 'available_event_catalogs' 'available_event_contributors'", '', "Use e.g. client.help('dataselect') for the", 'parameter description of the individual services', 'or client.help() for parameter description of', 'all webservices.'] assert ['FDSN Webser...tion of', ...] == ['FDSN Webser...tion of', ...] At index 1 diff: "Available Services: 'dataselect' (vX.X.X) 'event' (vX.X.X) 'available_event_catalogs' 'available_event_contributors'" != "Available Services: 'dataselect' (vX.X.X) 'event' (vX.X.X) 'station' (vX.X.X) 'available_event_catalogs' 'available_event_contributors'" Full diff: [ 'FDSN Webservice Client (base url: http://service.iris.edu)', - "Available Services: 'dataselect' (vX.X.X) 'event' (vX.X.X) 'station' " ? ---------- + "Available Services: 'dataselect' (vX.X.X) 'event' (vX.X.X) " - "(vX.X.X) 'available_event_catalogs' 'available_event_contributors'", ? --------- + "'available_event_catalogs' 'available_event_contributors'", '', "Use e.g. client.help('dataselect') for the", 'parameter description of the individual services', 'or client.help() for parameter description of', 'all webservices.', ]
Traceback (most recent call last): File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/threadexception.py", line 87, in pytest_runtest_call yield from thread_exception_runtest_hook() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/unraisableexception.py", line 90, in pytest_runtest_call yield from unraisable_exception_runtest_hook() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield from self._runtest_for(item, "call") File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/capture.py", line 878, in pytest_runtest_call return (yield) ^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/skipping.py", line 257, in pytest_runtest_call return (yield) ^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 183, in pytest_runtest_call raise e File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 173, in pytest_runtest_call item.runtest() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 1632, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall raise exception.with_traceback(exception.__traceback__) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 162, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/tests/test_client.py", line 900, in test_dataselect_bulk got = client.get_waveforms_bulk(bulk, **params) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/client.py", line 1058, in get_waveforms_bulk data_stream = self._download( ^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/client.py", line 1493, in _download raise_on_error(code, data) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/client.py", line 1868, in raise_on_error raise FDSNInternalServerException("Service responds: Internal server " obspy.clients.fdsn.header.FDSNInternalServerException: Service responds: Internal server error HTTP Status code: 500 Detailed response of server: Xmo6_q ."NӮumAvhWl@Q t-$ehwdY6#( K)s φ1\fDdLx)j rA\ O C|< @ X̙$<.fC B'8n{ |:{96F !5,Lt3'l(5FCS7^2T.M>ez**͓<Z@9GO moPBA.0##{d .A 1 QeKF{+-!5tyެ+ֺ˩ܻh[F^]N/]\*R/sZ.\J:hγP&ej mI8!"LT1"! >u)L\0K?u5i(b8Li&0]p1; 6\ǩ"&2R >8"/͐O-*msW.(Ώ<J<},sŮoKk6GWʝMX3;ZQ:̸?sEfVYgFvU,QWR/ӧWY/UbDM")#=I>F<~DO; t9e5)S5BYPdr3Zj '?i6?pJcCo\Y|5~z¢- [#\F%1}= U2\kJ(mHWK]J?N v9o(N٩p-E<`mVqCi ߚŞyhT:, zƘ0OFA"npO`% W;k3 mĢd]&A eTU]EU\L 2OXw Xa|Ҝ9"YS u13zִ]G ćXr OiA,yGV~H0x̴j~.ܴ\]70" \\àqp!Ҁ ܳj[Qz7c&Ǎ{';rv?) 3h^S5z̈́> h8<, cвĝ!N03* MR!iGENY}_4&t8x辵tܵ=;4/SYu6y njͳjkr\d I)mEsI,ӹrgZIL68vd>luoR; ] R<aeұ |}CQAӫw;TXu vĬ&h K1(4Uw [sRP *]s:ۢa_ XU%aN;?aŬ@'PE5!F w. -#L-c"(X_st+jk6ohRa[fwj@zCRwv?L!9NWv ê$Ckk/_iלxyML$jKB% =q 2 js7ۜXK tZj-Pe+̡QQ5 41{Xj§r Mj 3!KH2 |1JU 8E
Traceback (most recent call last): File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/threadexception.py", line 87, in pytest_runtest_call yield from thread_exception_runtest_hook() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/unraisableexception.py", line 90, in pytest_runtest_call yield from unraisable_exception_runtest_hook() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield from self._runtest_for(item, "call") File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/capture.py", line 878, in pytest_runtest_call return (yield) ^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/skipping.py", line 257, in pytest_runtest_call return (yield) ^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 183, in pytest_runtest_call raise e File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 173, in pytest_runtest_call item.runtest() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 1632, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall raise exception.with_traceback(exception.__traceback__) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 162, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/tests/test_client.py", line 976, in test_station_bulk inv = client.get_stations_bulk(bulk, level="station") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/client.py", line 1234, in get_stations_bulk raise ValueError(msg) ValueError: The current client does not have a station service.
Traceback (most recent call last): File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/threadexception.py", line 87, in pytest_runtest_call yield from thread_exception_runtest_hook() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/unraisableexception.py", line 90, in pytest_runtest_call yield from unraisable_exception_runtest_hook() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield from self._runtest_for(item, "call") File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/capture.py", line 878, in pytest_runtest_call return (yield) ^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/skipping.py", line 257, in pytest_runtest_call return (yield) ^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 183, in pytest_runtest_call raise e File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 173, in pytest_runtest_call item.runtest() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 1632, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall raise exception.with_traceback(exception.__traceback__) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 162, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/tests/test_client.py", line 1022, in test_get_waveform_attach_response st = client.get_waveforms_bulk(bulk, attach_response=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/client.py", line 1058, in get_waveforms_bulk data_stream = self._download( ^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/client.py", line 1493, in _download raise_on_error(code, data) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/client.py", line 1868, in raise_on_error raise FDSNInternalServerException("Service responds: Internal server " obspy.clients.fdsn.header.FDSNInternalServerException: Service responds: Internal server error HTTP Status code: 500 Detailed response of server: Xmo6_q ."IsmAvhVl@Q t-$ehwdY6#( K)s g.m3I"DQf<5P.DG!yWBd E3w ci h_M}~ .Gh#yNwm!hxW\%ɧLO\ByG#hڂ< :+-#R(f=zyd P% $f!J z רttb .ϛ6vZ ޕb1q>{pȫe6K4VrmNׅeK݂YPǓy ʄ<ȩ~)nɷӫUH)O\ O\%'.S L3vt#h!) 5qh .H#6 3ӣaaC (tۜU J <q6OmKL W7ʝY3=XQ:̸?sEfVYFtvU,QWR/WY/UbDM")#=wI>F<~DO; t9e)S5BVYPdr1\.k '?i6E8qCp)0_&+QݮWyZ}F/JJbHzݨd7 QbsDm{ڊ}(~riQLW+[y [ 5=R@tEuHCY@1)`DhS#8 %L#qwږ1f<[EɪMʘ)Q6@3(EGvi .n/9sEhe?bf]-i?~<T 5X$!~ !a4i]$"mM0{ Do`Dz[ 6A\H4{%c6okoF LD ~2R6:Pgмj3b [} !&|532@F :kU<B4ޏЋ21iDWp8Ck6퇽ksvh^ l<\mgfh;̒R6{ۊPpgY3NTqm|;tQ'_Zw຺ 1]1S<feұ |}MQAӫw;TXu v=.{abPh nk7<?b縠.T.%ݻft*EK;&JT W9Bi̊iNjB O E] ZGZWs+<DP(hogy)WXEl ÒwԀ<(Un/0}rN19UI^ʿȯ9jHȉr QK,Uz@qeo9 !" J?>ʖCjhva ,Ԏ)`3!>~8urRL_wRm@#t4v͜C
Traceback (most recent call last): File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/threadexception.py", line 87, in pytest_runtest_call yield from thread_exception_runtest_hook() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/unraisableexception.py", line 90, in pytest_runtest_call yield from unraisable_exception_runtest_hook() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield from self._runtest_for(item, "call") File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/capture.py", line 878, in pytest_runtest_call return (yield) ^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/skipping.py", line 257, in pytest_runtest_call return (yield) ^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 183, in pytest_runtest_call raise e File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 173, in pytest_runtest_call item.runtest() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 1632, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall raise exception.with_traceback(exception.__traceback__) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 162, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/tests/test_client.py", line 1189, in test_manually_deactivate_single_service assert sorted(client.services.keys()) == ['dataselect', 'station'] AssertionError: assert ['dataselect'] == ['dataselect', 'station'] Right contains one more item: 'station' Full diff: [ 'dataselect', - 'station', ]
Traceback (most recent call last): File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/threadexception.py", line 87, in pytest_runtest_call yield from thread_exception_runtest_hook() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/unraisableexception.py", line 90, in pytest_runtest_call yield from unraisable_exception_runtest_hook() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield from self._runtest_for(item, "call") File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/capture.py", line 878, in pytest_runtest_call return (yield) ^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/skipping.py", line 257, in pytest_runtest_call return (yield) ^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 183, in pytest_runtest_call raise e File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 173, in pytest_runtest_call item.runtest() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 1632, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall raise exception.with_traceback(exception.__traceback__) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 162, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/tests/test_client.py", line 1286, in test_redirection st = c.get_waveforms( ^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/client.py", line 879, in get_waveforms data_stream = self._download(url, use_gzip=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/client.py", line 1493, in _download raise_on_error(code, data) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/client.py", line 1868, in raise_on_error raise FDSNInternalServerException("Service responds: Internal server " obspy.clients.fdsn.header.FDSNInternalServerException: Service responds: Internal server error HTTP Status code: 500 Detailed response of server: Error 500: Error calling internal metadata service, code 404 [<!doctype html> <html lang="en"> <head> <title> NSF SAGE: 404 Page Not Found Error </title> <meta name="keywords" content="seismology, seismological data, earthquakes, iris dmc" /> <!-- Forces IE to render in 'latest' compatible mode --> <meta http-equiv="X-UA-Compatible" content="IE=Edge"/> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <link rel="stylesheet" media="all" type="text/css" href="/static/css/iris.css" /> <link rel="stylesheet" media="print" type="text/css" href="/static/css/print.css" /> <link rel="shortcut icon" href="/static/img/favicon.ico" /> <script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.js"></script> <script type="text/javascript" src="//netdna.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script> <!-- <script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jqueryui/1.8.23/jquery-ui.min.js"></script> <script type="text/javascript" src="/static/libs/megamenu/megamenu_plugins.js"></script> <script type="text/javascript" src="/static/libs/megamenu/megamenu.min.js"></script> --> <!-- Global site tag (gtag.js) - Google Analytics --> <script async src="https://www.googletagmanager.com/gtag/js?id=UA-1860730-1"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'UA-1860730-1'); </script> <link rel="stylesheet" type="text/css" href="/static/libs/qtip2/2.1.1/jquery.qtip.css" /> <script type="text/javascript" src="/static/libs/qtip2/2.1.1/jquery.qtip.js"></script> <script> $(function() { /* Automatically set up popup help blocks like: * <div class="popup-help"> * <span class="glyphicon glyphicon-question-sign"> </span> * <div> * Content to show in the popup. * </div> * </div> * Hovering over the icon shows the content in a popup. */ $(".popup-help").each(function() { var content = $(this).children('div').detach(); var popupOnClick = $(this).hasClass('popup-on-click'); // Attach to the first element $(this).children().first().qtip({ content: { text: content }, style: { classes: 'qtip-bootstrap' }, hide: { delay: 100, fixed: true }, show: { event: popupOnClick ? 'click' : 'mouseenter' }, position: { viewport: $(window) }, }); }); }); </script> </head> <body> <div class="container blur"> <div id="breadcrumbs"> <ul class="breadcrumbs"> <li> <a href="/">Web Services</a> </li> </ul> </div> <div id="page-content"> <h1> 404 Page Not Found Error </h1> <div id="content"> <p>We are sorry, but the page you are requesting does not exist.</p> <p>Please check the URL path you are requested and try again.</p> <p>If you believe the error to be ours, please <a href="//www.iris.edu/hq/contact">contact</a> us.</p> </div> </div> </div> </body> </html> ] More Details: handler exited, code: 1 reason: Internal Server Error Request: http://service.iris.edu/fdsnws/dataselect/1/query?starttime=2010-02-27T06%3A30%3A00.000000&endtime=2010-02-27T06%3A30%3A01.000000&network=IU&station=ANMO&location=00&channel=BHZ Request Submitted: 2024/06/05 10:05:58 UTC Service version: Service: fdsnws-dataselect version: 1.1.9
Traceback (most recent call last): File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/threadexception.py", line 87, in pytest_runtest_call yield from thread_exception_runtest_hook() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/unraisableexception.py", line 90, in pytest_runtest_call yield from unraisable_exception_runtest_hook() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield from self._runtest_for(item, "call") File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/capture.py", line 878, in pytest_runtest_call return (yield) ^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/skipping.py", line 257, in pytest_runtest_call return (yield) ^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 183, in pytest_runtest_call raise e File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 173, in pytest_runtest_call item.runtest() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 1632, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall raise exception.with_traceback(exception.__traceback__) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 162, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/tests/test_client.py", line 1355, in test_redirection_auth st = c_auth.get_waveforms( ^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/client.py", line 879, in get_waveforms data_stream = self._download(url, use_gzip=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/client.py", line 1493, in _download raise_on_error(code, data) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/client.py", line 1868, in raise_on_error raise FDSNInternalServerException("Service responds: Internal server " obspy.clients.fdsn.header.FDSNInternalServerException: Service responds: Internal server error HTTP Status code: 500 Detailed response of server: Error 500: Error calling internal metadata service, code 404 [<!doctype html> <html lang="en"> <head> <title> NSF SAGE: 404 Page Not Found Error </title> <meta name="keywords" content="seismology, seismological data, earthquakes, iris dmc" /> <!-- Forces IE to render in 'latest' compatible mode --> <meta http-equiv="X-UA-Compatible" content="IE=Edge"/> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <link rel="stylesheet" media="all" type="text/css" href="/static/css/iris.css" /> <link rel="stylesheet" media="print" type="text/css" href="/static/css/print.css" /> <link rel="shortcut icon" href="/static/img/favicon.ico" /> <script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.js"></script> <script type="text/javascript" src="//netdna.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script> <!-- <script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jqueryui/1.8.23/jquery-ui.min.js"></script> <script type="text/javascript" src="/static/libs/megamenu/megamenu_plugins.js"></script> <script type="text/javascript" src="/static/libs/megamenu/megamenu.min.js"></script> --> <!-- Global site tag (gtag.js) - Google Analytics --> <script async src="https://www.googletagmanager.com/gtag/js?id=UA-1860730-1"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'UA-1860730-1'); </script> <link rel="stylesheet" type="text/css" href="/static/libs/qtip2/2.1.1/jquery.qtip.css" /> <script type="text/javascript" src="/static/libs/qtip2/2.1.1/jquery.qtip.js"></script> <script> $(function() { /* Automatically set up popup help blocks like: * <div class="popup-help"> * <span class="glyphicon glyphicon-question-sign"> </span> * <div> * Content to show in the popup. * </div> * </div> * Hovering over the icon shows the content in a popup. */ $(".popup-help").each(function() { var content = $(this).children('div').detach(); var popupOnClick = $(this).hasClass('popup-on-click'); // Attach to the first element $(this).children().first().qtip({ content: { text: content }, style: { classes: 'qtip-bootstrap' }, hide: { delay: 100, fixed: true }, show: { event: popupOnClick ? 'click' : 'mouseenter' }, position: { viewport: $(window) }, }); }); }); </script> </head> <body> <div class="container blur"> <div id="breadcrumbs"> <ul class="breadcrumbs"> <li> <a href="/">Web Services</a> </li> </ul> </div> <div id="page-content"> <h1> 404 Page Not Found Error </h1> <div id="content"> <p>We are sorry, but the page you are requesting does not exist.</p> <p>Please check the URL path you are requested and try again.</p> <p>If you believe the error to be ours, please <a href="//www.iris.edu/hq/contact">contact</a> us.</p> </div> </div> </div> </body> </html> ] More Details: handler exited, code: 1 reason: Internal Server Error Request: http://service.iris.edu/fdsnws/dataselect/1/queryauth?starttime=2010-02-27T06%3A30%3A00.000000&endtime=2010-02-27T06%3A30%3A01.000000&network=IU&station=ANMO&location=00&channel=BHZ Request Submitted: 2024/06/05 10:06:05 UTC Service version: Service: fdsnws-dataselect version: 1.1.9
Traceback (most recent call last): File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/threadexception.py", line 87, in pytest_runtest_call yield from thread_exception_runtest_hook() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/unraisableexception.py", line 90, in pytest_runtest_call yield from unraisable_exception_runtest_hook() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield from self._runtest_for(item, "call") File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/capture.py", line 878, in pytest_runtest_call return (yield) ^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/skipping.py", line 257, in pytest_runtest_call return (yield) ^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 183, in pytest_runtest_call raise e File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 173, in pytest_runtest_call item.runtest() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 1632, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall raise exception.with_traceback(exception.__traceback__) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 162, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/unittest/mock.py", line 1390, in patched return func(*newargs, **newkeywargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/tests/test_client.py", line 1434, in test_no_data_exception self.client.get_stations() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/client.py", line 747, in get_stations raise ValueError(msg) ValueError: The current client does not have a station service.
Traceback (most recent call last): File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/threadexception.py", line 87, in pytest_runtest_call yield from thread_exception_runtest_hook() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/unraisableexception.py", line 90, in pytest_runtest_call yield from unraisable_exception_runtest_hook() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield from self._runtest_for(item, "call") File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/capture.py", line 878, in pytest_runtest_call return (yield) ^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/skipping.py", line 257, in pytest_runtest_call return (yield) ^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 183, in pytest_runtest_call raise e File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 173, in pytest_runtest_call item.runtest() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 1632, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall raise exception.with_traceback(exception.__traceback__) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 162, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/unittest/mock.py", line 1390, in patched return func(*newargs, **newkeywargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/tests/test_client.py", line 1444, in test_request_too_large_exception self.client.get_stations() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/client.py", line 747, in get_stations raise ValueError(msg) ValueError: The current client does not have a station service.
Traceback (most recent call last): File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/unraisableexception.py", line 90, in pytest_runtest_call yield from unraisable_exception_runtest_hook() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield from self._runtest_for(item, "call") File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/capture.py", line 878, in pytest_runtest_call return (yield) ^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/skipping.py", line 257, in pytest_runtest_call return (yield) ^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 183, in pytest_runtest_call raise e File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 173, in pytest_runtest_call item.runtest() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 1632, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall raise exception.with_traceback(exception.__traceback__) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 162, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/unittest/mock.py", line 1390, in patched return func(*newargs, **newkeywargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/tests/test_client.py", line 1456, in test_authentication_exceptions Client(eida_token="TEST") File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/client.py", line 284, in __init__ self._discover_services() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/client.py", line 1657, in _discover_services raise FDSNNoServiceException(msg) obspy.clients.fdsn.header.FDSNNoServiceException: No FDSN services could be discovered at 'http://service.iris.edu'. This could be due to a temporary service outage or an invalid FDSN service address. During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/threadexception.py", line 87, in pytest_runtest_call yield from thread_exception_runtest_hook() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/threadexception.py", line 77, in thread_exception_runtest_hook warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg)) pytest.PytestUnhandledThreadExceptionWarning: Exception in thread Thread-103 Traceback (most recent call last): File "/home/runner/miniconda3/envs/test/lib/python3.12/threading.py", line 1073, in _bootstrap_inner self.run() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/client.py", line 1550, in run code, data = download_url( ^^^^^^^^^^ ValueError: not enough values to unpack (expected 2, got 0)
Traceback (most recent call last): File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/threadexception.py", line 87, in pytest_runtest_call yield from thread_exception_runtest_hook() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/unraisableexception.py", line 90, in pytest_runtest_call yield from unraisable_exception_runtest_hook() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield from self._runtest_for(item, "call") File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/capture.py", line 878, in pytest_runtest_call return (yield) ^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/skipping.py", line 257, in pytest_runtest_call return (yield) ^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 183, in pytest_runtest_call raise e File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 173, in pytest_runtest_call item.runtest() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 1632, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall raise exception.with_traceback(exception.__traceback__) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 162, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/unittest/mock.py", line 1390, in patched return func(*newargs, **newkeywargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/tests/test_client.py", line 1476, in test_timeout_exception self.client.get_stations() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/client.py", line 747, in get_stations raise ValueError(msg) ValueError: The current client does not have a station service.
Traceback (most recent call last): File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/threadexception.py", line 87, in pytest_runtest_call yield from thread_exception_runtest_hook() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/unraisableexception.py", line 90, in pytest_runtest_call yield from unraisable_exception_runtest_hook() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield from self._runtest_for(item, "call") File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/capture.py", line 878, in pytest_runtest_call return (yield) ^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/skipping.py", line 257, in pytest_runtest_call return (yield) ^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 183, in pytest_runtest_call raise e File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 173, in pytest_runtest_call item.runtest() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 1632, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall raise exception.with_traceback(exception.__traceback__) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 162, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/unittest/mock.py", line 1390, in patched return func(*newargs, **newkeywargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/tests/test_client.py", line 1494, in test_not_implemented_exception self.client.get_stations() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/client.py", line 747, in get_stations raise ValueError(msg) ValueError: The current client does not have a station service.
Traceback (most recent call last): File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/threadexception.py", line 87, in pytest_runtest_call yield from thread_exception_runtest_hook() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/unraisableexception.py", line 90, in pytest_runtest_call yield from unraisable_exception_runtest_hook() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield from self._runtest_for(item, "call") File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/capture.py", line 878, in pytest_runtest_call return (yield) ^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/skipping.py", line 257, in pytest_runtest_call return (yield) ^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 183, in pytest_runtest_call raise e File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 173, in pytest_runtest_call item.runtest() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 1632, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall raise exception.with_traceback(exception.__traceback__) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 162, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/unittest/mock.py", line 1390, in patched return func(*newargs, **newkeywargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/tests/test_client.py", line 1504, in test_bad_gateway_exception self.client.get_stations() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/client.py", line 747, in get_stations raise ValueError(msg) ValueError: The current client does not have a station service.
Traceback (most recent call last): File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/threadexception.py", line 87, in pytest_runtest_call yield from thread_exception_runtest_hook() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/unraisableexception.py", line 90, in pytest_runtest_call yield from unraisable_exception_runtest_hook() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield from self._runtest_for(item, "call") File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/capture.py", line 878, in pytest_runtest_call return (yield) ^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/skipping.py", line 257, in pytest_runtest_call return (yield) ^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 183, in pytest_runtest_call raise e File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 173, in pytest_runtest_call item.runtest() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 1632, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall raise exception.with_traceback(exception.__traceback__) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 162, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/unittest/mock.py", line 1390, in patched return func(*newargs, **newkeywargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/tests/test_client.py", line 1514, in test_service_unavailable_exception self.client.get_stations() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/client.py", line 747, in get_stations raise ValueError(msg) ValueError: The current client does not have a station service.
Traceback (most recent call last): File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/threadexception.py", line 87, in pytest_runtest_call yield from thread_exception_runtest_hook() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/unraisableexception.py", line 90, in pytest_runtest_call yield from unraisable_exception_runtest_hook() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield from self._runtest_for(item, "call") File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/capture.py", line 878, in pytest_runtest_call return (yield) ^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/skipping.py", line 257, in pytest_runtest_call return (yield) ^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 183, in pytest_runtest_call raise e File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 173, in pytest_runtest_call item.runtest() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 1632, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall raise exception.with_traceback(exception.__traceback__) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 162, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/unittest/mock.py", line 1390, in patched return func(*newargs, **newkeywargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/tests/test_client.py", line 1523, in test_bad_request_exception self.client.get_stations() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/client.py", line 747, in get_stations raise ValueError(msg) ValueError: The current client does not have a station service.
Traceback (most recent call last): File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/threadexception.py", line 87, in pytest_runtest_call yield from thread_exception_runtest_hook() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/unraisableexception.py", line 90, in pytest_runtest_call yield from unraisable_exception_runtest_hook() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield from self._runtest_for(item, "call") File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/capture.py", line 878, in pytest_runtest_call return (yield) ^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/skipping.py", line 257, in pytest_runtest_call return (yield) ^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 183, in pytest_runtest_call raise e File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 173, in pytest_runtest_call item.runtest() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 1632, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall raise exception.with_traceback(exception.__traceback__) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 162, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/unittest/mock.py", line 1390, in patched return func(*newargs, **newkeywargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/tests/test_client.py", line 1532, in test_server_exception self.client.get_stations() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/client.py", line 747, in get_stations raise ValueError(msg) ValueError: The current client does not have a station service.
Traceback (most recent call last): File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/threadexception.py", line 87, in pytest_runtest_call yield from thread_exception_runtest_hook() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/unraisableexception.py", line 90, in pytest_runtest_call yield from unraisable_exception_runtest_hook() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield from self._runtest_for(item, "call") File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/capture.py", line 878, in pytest_runtest_call return (yield) ^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/skipping.py", line 257, in pytest_runtest_call return (yield) ^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 183, in pytest_runtest_call raise e File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 173, in pytest_runtest_call item.runtest() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 1632, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall raise exception.with_traceback(exception.__traceback__) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 162, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/unittest/mock.py", line 1390, in patched return func(*newargs, **newkeywargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/tests/test_client.py", line 1541, in test_too_many_requests_exception self.client.get_stations() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/client.py", line 747, in get_stations raise ValueError(msg) ValueError: The current client does not have a station service.
Traceback (most recent call last): File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/routing/routing_client.py", line 105, in _try_download_bulk return _download_bulk(r) ^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/routing/routing_client.py", line 148, in _download_bulk return fct(bulk_str + r["bulk_str"]) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/client.py", line 1058, in get_waveforms_bulk data_stream = self._download( ^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/client.py", line 1489, in _download code, data = download_url( ^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/client.py", line 1977, in download_url data = io.BytesIO(f.read()) ^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/http/client.py", line 473, in read return self._read_chunked(amt) ^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/http/client.py", line 595, in _read_chunked while (chunk_left := self._get_chunk_left()) is not None: ^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/http/client.py", line 579, in _get_chunk_left chunk_left = self._read_next_chunk_size() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/http/client.py", line 539, in _read_next_chunk_size line = self.fp.readline(_MAXLINE + 1) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/socket.py", line 707, in readinto return self._sock.recv_into(b) ^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/ssl.py", line 1252, in recv_into return self.read(nbytes, buffer) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/ssl.py", line 1104, in read return self._sslobj.read(len, buffer) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TimeoutError: The read operation timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/threadexception.py", line 87, in pytest_runtest_call yield from thread_exception_runtest_hook() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/unraisableexception.py", line 90, in pytest_runtest_call yield from unraisable_exception_runtest_hook() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield from self._runtest_for(item, "call") File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/capture.py", line 878, in pytest_runtest_call return (yield) ^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/skipping.py", line 257, in pytest_runtest_call return (yield) ^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 183, in pytest_runtest_call raise e File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 173, in pytest_runtest_call item.runtest() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 1632, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall raise exception.with_traceback(exception.__traceback__) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 162, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/tests/test_eidaws_routing_client.py", line 305, in test_get_waveforms_integration_test st = self.client.get_waveforms( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/routing/routing_client.py", line 93, in _assert_filename_not_in_kwargs return f(*args, **kwargs) ^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/routing/routing_client.py", line 100, in _assert_attach_response_not_in_kwargs return f(*args, **kwargs) ^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/routing/routing_client.py", line 344, in get_waveforms return self.get_waveforms_bulk([bulk], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/routing/routing_client.py", line 93, in _assert_filename_not_in_kwargs return f(*args, **kwargs) ^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/routing/routing_client.py", line 100, in _assert_attach_response_not_in_kwargs return f(*args, **kwargs) ^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/routing/eidaws_routing_client.py", line 123, in get_waveforms_bulk return self._download_waveforms(split, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/routing/routing_client.py", line 250, in _download_waveforms return self._download_parallel(split, data_type="waveform", **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/routing/routing_client.py", line 279, in _download_parallel results = pool.map(_try_download_bulk, dl_requests) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/multiprocessing/pool.py", line 367, in map return self._map_async(func, iterable, mapstar, chunksize).get() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/multiprocessing/pool.py", line 774, in get raise self._value File "/home/runner/miniconda3/envs/test/lib/python3.12/multiprocessing/pool.py", line 125, in worker result = (True, func(*args, **kwds)) ^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/multiprocessing/pool.py", line 48, in mapstar return list(map(*args)) ^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/routing/routing_client.py", line 108, in _try_download_bulk warnings.warn( UserWarning: Failed to download data of type 'waveform' from 'https://erde.geophysik.uni-muenchen.de' due to: Traceback (most recent call last): File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/routing/routing_client.py", line 105, in _try_download_bulk return _download_bulk(r) ^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/routing/routing_client.py", line 148, in _download_bulk return fct(bulk_str + r["bulk_str"]) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/client.py", line 1058, in get_waveforms_bulk data_stream = self._download( ^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/client.py", line 1489, in _download code, data = download_url( ^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/client.py", line 1977, in download_url data = io.BytesIO(f.read()) ^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/http/client.py", line 473, in read return self._read_chunked(amt) ^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/http/client.py", line 595, in _read_chunked while (chunk_left := self._get_chunk_left()) is not None: ^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/http/client.py", line 579, in _get_chunk_left chunk_left = self._read_next_chunk_size() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/http/client.py", line 539, in _read_next_chunk_size line = self.fp.readline(_MAXLINE + 1) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/socket.py", line 707, in readinto return self._sock.recv_into(b) ^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/ssl.py", line 1252, in recv_into return self.read(nbytes, buffer) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/ssl.py", line 1104, in read return self._sslobj.read(len, buffer) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TimeoutError: The read operation timed out
Traceback (most recent call last): File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/routing/routing_client.py", line 105, in _try_download_bulk return _download_bulk(r) ^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/routing/routing_client.py", line 148, in _download_bulk return fct(bulk_str + r["bulk_str"]) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/client.py", line 1256, in get_stations_bulk data_stream = self._download( ^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/client.py", line 1493, in _download raise_on_error(code, data) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/client.py", line 1838, in raise_on_error line for line in server_info.splitlines() if line) ^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'TimeoutError' object has no attribute 'splitlines' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield from self._runtest_for(item, "call") File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/capture.py", line 878, in pytest_runtest_call return (yield) ^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/skipping.py", line 257, in pytest_runtest_call return (yield) ^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 183, in pytest_runtest_call raise e File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 173, in pytest_runtest_call item.runtest() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 1632, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall raise exception.with_traceback(exception.__traceback__) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 162, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/tests/test_eidaws_routing_client.py", line 328, in test_get_stations_integration_test inv = self.client.get_stations( ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/routing/routing_client.py", line 93, in _assert_filename_not_in_kwargs return f(*args, **kwargs) ^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/routing/eidaws_routing_client.py", line 149, in get_stations return super(EIDAWSRoutingClient, self).get_stations(**kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/routing/routing_client.py", line 93, in _assert_filename_not_in_kwargs return f(*args, **kwargs) ^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/routing/routing_client.py", line 377, in get_stations return self.get_stations_bulk([bulk], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/routing/routing_client.py", line 86, in _assert_format_not_in_kwargs return f(*args, **kwargs) ^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/routing/routing_client.py", line 93, in _assert_filename_not_in_kwargs return f(*args, **kwargs) ^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/routing/eidaws_routing_client.py", line 180, in get_stations_bulk return self._download_stations(split, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/routing/routing_client.py", line 253, in _download_stations return self._download_parallel(split, data_type="station", **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/routing/routing_client.py", line 279, in _download_parallel results = pool.map(_try_download_bulk, dl_requests) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/multiprocessing/pool.py", line 367, in map return self._map_async(func, iterable, mapstar, chunksize).get() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/multiprocessing/pool.py", line 774, in get raise self._value File "/home/runner/miniconda3/envs/test/lib/python3.12/multiprocessing/pool.py", line 125, in worker result = (True, func(*args, **kwds)) ^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/multiprocessing/pool.py", line 48, in mapstar return list(map(*args)) ^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/routing/routing_client.py", line 108, in _try_download_bulk warnings.warn( UserWarning: Failed to download data of type 'station' from 'https://erde.geophysik.uni-muenchen.de' due to: Traceback (most recent call last): File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/routing/routing_client.py", line 105, in _try_download_bulk return _download_bulk(r) ^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/routing/routing_client.py", line 148, in _download_bulk return fct(bulk_str + r["bulk_str"]) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/client.py", line 1256, in get_stations_bulk data_stream = self._download( ^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/client.py", line 1493, in _download raise_on_error(code, data) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/client.py", line 1838, in raise_on_error line for line in server_info.splitlines() if line) ^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'TimeoutError' object has no attribute 'splitlines' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/threadexception.py", line 87, in pytest_runtest_call yield from thread_exception_runtest_hook() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/unraisableexception.py", line 90, in pytest_runtest_call yield from unraisable_exception_runtest_hook() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/unraisableexception.py", line 80, in unraisable_exception_runtest_hook warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) pytest.PytestUnraisableExceptionWarning: Exception ignored in: <function Pool.__del__ at 0x7f6dd7e5c220> Traceback (most recent call last): File "/home/runner/miniconda3/envs/test/lib/python3.12/multiprocessing/pool.py", line 268, in __del__ _warn(f"unclosed running multiprocessing pool {self!r}", ResourceWarning: unclosed running multiprocessing pool <multiprocessing.pool.ThreadPool state=RUN pool_size=5>
Traceback (most recent call last): File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/threadexception.py", line 87, in pytest_runtest_call yield from thread_exception_runtest_hook() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/unraisableexception.py", line 90, in pytest_runtest_call yield from unraisable_exception_runtest_hook() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield from self._runtest_for(item, "call") File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/capture.py", line 878, in pytest_runtest_call return (yield) ^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/skipping.py", line 257, in pytest_runtest_call return (yield) ^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 183, in pytest_runtest_call raise e File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 173, in pytest_runtest_call item.runtest() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 1632, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall raise exception.with_traceback(exception.__traceback__) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 162, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/tests/test_federator_routing_client.py", line 308, in test_get_waveforms_integration_test assert len(st) >= 1 AssertionError: assert 0 >= 1 + where 0 = len(<obspy.core.stream.Stream object at 0x7f6dd05c83e0>)
Traceback (most recent call last): File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/routing/routing_client.py", line 105, in _try_download_bulk return _download_bulk(r) ^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/routing/routing_client.py", line 140, in _download_bulk service = c.services["station"] ~~~~~~~~~~^^^^^^^^^^^ KeyError: 'station' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/threadexception.py", line 87, in pytest_runtest_call yield from thread_exception_runtest_hook() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/unraisableexception.py", line 90, in pytest_runtest_call yield from unraisable_exception_runtest_hook() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield from self._runtest_for(item, "call") File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/capture.py", line 878, in pytest_runtest_call return (yield) ^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/skipping.py", line 257, in pytest_runtest_call return (yield) ^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 183, in pytest_runtest_call raise e File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 173, in pytest_runtest_call item.runtest() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 1632, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall raise exception.with_traceback(exception.__traceback__) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 162, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/tests/test_federator_routing_client.py", line 324, in test_get_stations_integration_test inv = self.client.get_stations( ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/routing/routing_client.py", line 93, in _assert_filename_not_in_kwargs return f(*args, **kwargs) ^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/routing/federator_routing_client.py", line 104, in get_stations return super(FederatorRoutingClient, self).get_stations(**kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/routing/routing_client.py", line 93, in _assert_filename_not_in_kwargs return f(*args, **kwargs) ^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/routing/routing_client.py", line 377, in get_stations return self.get_stations_bulk([bulk], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/routing/routing_client.py", line 93, in _assert_filename_not_in_kwargs return f(*args, **kwargs) ^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/routing/federator_routing_client.py", line 141, in get_stations_bulk return self._download_stations(split, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/routing/routing_client.py", line 253, in _download_stations return self._download_parallel(split, data_type="station", **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/routing/routing_client.py", line 279, in _download_parallel results = pool.map(_try_download_bulk, dl_requests) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/multiprocessing/pool.py", line 367, in map return self._map_async(func, iterable, mapstar, chunksize).get() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/multiprocessing/pool.py", line 774, in get raise self._value File "/home/runner/miniconda3/envs/test/lib/python3.12/multiprocessing/pool.py", line 125, in worker result = (True, func(*args, **kwds)) ^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/multiprocessing/pool.py", line 48, in mapstar return list(map(*args)) ^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/routing/routing_client.py", line 108, in _try_download_bulk warnings.warn( UserWarning: Failed to download data of type 'station' from 'http://service.iris.edu' due to: Traceback (most recent call last): File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/routing/routing_client.py", line 105, in _try_download_bulk return _download_bulk(r) ^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/fdsn/routing/routing_client.py", line 140, in _download_bulk service = c.services["station"] ~~~~~~~~~~^^^^^^^^^^^ KeyError: 'station'
Traceback (most recent call last): File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/threadexception.py", line 87, in pytest_runtest_call yield from thread_exception_runtest_hook() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 169, in _multicall teardown.send(outcome._result) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/unraisableexception.py", line 90, in pytest_runtest_call yield from unraisable_exception_runtest_hook() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/unraisableexception.py", line 80, in unraisable_exception_runtest_hook warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) pytest.PytestUnraisableExceptionWarning: Exception ignored in: <function Pool.__del__ at 0x7f6dd7e5c220> Traceback (most recent call last): File "/home/runner/miniconda3/envs/test/lib/python3.12/multiprocessing/pool.py", line 268, in __del__ _warn(f"unclosed running multiprocessing pool {self!r}", ResourceWarning: unclosed running multiprocessing pool <multiprocessing.pool.ThreadPool state=RUN pool_size=1>
Traceback (most recent call last): File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/threadexception.py", line 87, in pytest_runtest_call yield from thread_exception_runtest_hook() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 169, in _multicall teardown.send(outcome._result) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/unraisableexception.py", line 90, in pytest_runtest_call yield from unraisable_exception_runtest_hook() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/unraisableexception.py", line 80, in unraisable_exception_runtest_hook warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) pytest.PytestUnraisableExceptionWarning: Exception ignored in: <function Pool.__del__ at 0x7f6dd7e5c220> Traceback (most recent call last): File "/home/runner/miniconda3/envs/test/lib/python3.12/multiprocessing/pool.py", line 268, in __del__ _warn(f"unclosed running multiprocessing pool {self!r}", ResourceWarning: unclosed running multiprocessing pool <multiprocessing.pool.ThreadPool state=RUN pool_size=5>
913 or nothing, depending on the ``output`` parameter. 914 915 .. rubric:: Examples 916 917 (1) Returning frequency, amplitude, phase of first point. 918 919 >>> from obspy.clients.iris import Client 920 >>> client = Client() 921 >>> dt = UTCDateTime("2005-01-01") 922 >>> data = client.evalresp("IU", "ANMO", "00", "BHZ", dt, UNEXPECTED EXCEPTION: <HTTPError 404: ''> Traceback (most recent call last): File "/home/runner/miniconda3/envs/test/lib/python3.12/doctest.py", line 1361, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.clients.iris.client.Client.evalresp[3]>", line 1, in <module> File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/iris/client.py", line 970, in evalresp data = self._fetch("evalresp", **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/iris/client.py", line 124, in _fetch response = urllib_request.urlopen(req, timeout=self.timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/urllib/request.py", line 215, in urlopen return opener.open(url, data, timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/urllib/request.py", line 521, in open response = meth(req, response) ^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/urllib/request.py", line 630, in http_response response = self.parent.error( ^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/urllib/request.py", line 559, in error return self._call_chain(*args) ^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/urllib/request.py", line 492, in _call_chain result = func(*args) ^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/urllib/request.py", line 639, in http_error_default raise HTTPError(req.full_url, code, msg, hdrs, fp) urllib.error.HTTPError: HTTP Error 404: /home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/iris/client.py:922: UnexpectedException
def unraisable_exception_runtest_hook() -> Generator[None, None, None]: with catch_unraisable_exception() as cm: try: > yield ../_pytest/unraisableexception.py:65: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ hook_name = 'pytest_runtest_call' hook_impls = [<HookImpl plugin_name='runner', plugin=<module '_pytest.runner' from '/home/runner/miniconda3/envs/test/lib/python3.1...146b0>>, <HookImpl plugin_name='logging-plugin', plugin=<_pytest.logging.LoggingPlugin object at 0x7f6dd88a24e0>>, ...] caller_kwargs = {'item': <DoctestItem obspy.clients.iris.client.Client.resp>} firstresult = False def _multicall( hook_name: str, hook_impls: Sequence[HookImpl], caller_kwargs: Mapping[str, object], firstresult: bool, ) -> object | list[object]: """Execute a call into multiple python functions/methods and return the result(s). ``caller_kwargs`` comes from HookCaller.__call__(). """ __tracebackhide__ = True results: list[object] = [] exception = None only_new_style_wrappers = True try: # run impl and wrapper setup functions in a loop teardowns: list[Teardown] = [] try: for hook_impl in reversed(hook_impls): try: args = [caller_kwargs[argname] for argname in hook_impl.argnames] except KeyError: for argname in hook_impl.argnames: if argname not in caller_kwargs: raise HookCallError( f"hook call must provide argument {argname!r}" ) if hook_impl.hookwrapper: only_new_style_wrappers = False try: # If this cast is not valid, a type error is raised below, # which is the desired response. res = hook_impl.function(*args) wrapper_gen = cast(Generator[None, Result[object], None], res) next(wrapper_gen) # first yield teardowns.append((wrapper_gen, hook_impl)) except StopIteration: _raise_wrapfail(wrapper_gen, "did not yield") elif hook_impl.wrapper: try: # If this cast is not valid, a type error is raised below, # which is the desired response. res = hook_impl.function(*args) function_gen = cast(Generator[None, object, object], res) next(function_gen) # first yield teardowns.append(function_gen) except StopIteration: _raise_wrapfail(function_gen, "did not yield") else: res = hook_impl.function(*args) if res is not None: results.append(res) if firstresult: # halt further impl calls break except BaseException as exc: exception = exc finally: # Fast path - only new-style wrappers, no Result. if only_new_style_wrappers: if firstresult: # first result hooks return a single value result = results[0] if results else None else: result = results # run all wrapper post-yield blocks for teardown in reversed(teardowns): try: if exception is not None: teardown.throw(exception) # type: ignore[union-attr] else: teardown.send(result) # type: ignore[union-attr] # Following is unreachable for a well behaved hook wrapper. # Try to force finalizers otherwise postponed till GC action. # Note: close() may raise if generator handles GeneratorExit. teardown.close() # type: ignore[union-attr] except StopIteration as si: result = si.value exception = None continue except BaseException as e: exception = e continue _raise_wrapfail(teardown, "has second yield") # type: ignore[arg-type] if exception is not None: raise exception.with_traceback(exception.__traceback__) else: return result # Slow path - need to support old-style wrappers. else: if firstresult: # first result hooks return a single value outcome: Result[object | list[object]] = Result( results[0] if results else None, exception ) else: outcome = Result(results, exception) # run all wrapper post-yield blocks for teardown in reversed(teardowns): if isinstance(teardown, tuple): try: teardown[0].send(outcome) except StopIteration: pass except BaseException as e: _warn_teardown_exception(hook_name, teardown[1], e) raise else: _raise_wrapfail(teardown[0], "has second yield") else: try: if outcome._exception is not None: > teardown.throw(outcome._exception) ../pluggy/_callers.py:167: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_pytest.logging.LoggingPlugin object at 0x7f6dd88a24e0> item = <DoctestItem obspy.clients.iris.client.Client.resp> @hookimpl(wrapper=True) def pytest_runtest_call(self, item: nodes.Item) -> Generator[None, None, None]: self.log_cli_handler.set_when("call") > yield from self._runtest_for(item, "call") ../_pytest/logging.py:850: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_pytest.logging.LoggingPlugin object at 0x7f6dd88a24e0> item = <DoctestItem obspy.clients.iris.client.Client.resp>, when = 'call' def _runtest_for(self, item: nodes.Item, when: str) -> Generator[None, None, None]: """Implement the internals of the pytest_runtest_xxx() hooks.""" with catching_logs( self.caplog_handler, level=self.log_level, ) as caplog_handler, catching_logs( self.report_handler, level=self.log_level, ) as report_handler: caplog_handler.reset() report_handler.reset() item.stash[caplog_records_key][when] = caplog_handler.records item.stash[caplog_handler_key] = caplog_handler try: > yield ../_pytest/logging.py:833: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ hook_name = 'pytest_runtest_call' hook_impls = [<HookImpl plugin_name='runner', plugin=<module '_pytest.runner' from '/home/runner/miniconda3/envs/test/lib/python3.1...146b0>>, <HookImpl plugin_name='logging-plugin', plugin=<_pytest.logging.LoggingPlugin object at 0x7f6dd88a24e0>>, ...] caller_kwargs = {'item': <DoctestItem obspy.clients.iris.client.Client.resp>} firstresult = False def _multicall( hook_name: str, hook_impls: Sequence[HookImpl], caller_kwargs: Mapping[str, object], firstresult: bool, ) -> object | list[object]: """Execute a call into multiple python functions/methods and return the result(s). ``caller_kwargs`` comes from HookCaller.__call__(). """ __tracebackhide__ = True results: list[object] = [] exception = None only_new_style_wrappers = True try: # run impl and wrapper setup functions in a loop teardowns: list[Teardown] = [] try: for hook_impl in reversed(hook_impls): try: args = [caller_kwargs[argname] for argname in hook_impl.argnames] except KeyError: for argname in hook_impl.argnames: if argname not in caller_kwargs: raise HookCallError( f"hook call must provide argument {argname!r}" ) if hook_impl.hookwrapper: only_new_style_wrappers = False try: # If this cast is not valid, a type error is raised below, # which is the desired response. res = hook_impl.function(*args) wrapper_gen = cast(Generator[None, Result[object], None], res) next(wrapper_gen) # first yield teardowns.append((wrapper_gen, hook_impl)) except StopIteration: _raise_wrapfail(wrapper_gen, "did not yield") elif hook_impl.wrapper: try: # If this cast is not valid, a type error is raised below, # which is the desired response. res = hook_impl.function(*args) function_gen = cast(Generator[None, object, object], res) next(function_gen) # first yield teardowns.append(function_gen) except StopIteration: _raise_wrapfail(function_gen, "did not yield") else: res = hook_impl.function(*args) if res is not None: results.append(res) if firstresult: # halt further impl calls break except BaseException as exc: exception = exc finally: # Fast path - only new-style wrappers, no Result. if only_new_style_wrappers: if firstresult: # first result hooks return a single value result = results[0] if results else None else: result = results # run all wrapper post-yield blocks for teardown in reversed(teardowns): try: if exception is not None: teardown.throw(exception) # type: ignore[union-attr] else: teardown.send(result) # type: ignore[union-attr] # Following is unreachable for a well behaved hook wrapper. # Try to force finalizers otherwise postponed till GC action. # Note: close() may raise if generator handles GeneratorExit. teardown.close() # type: ignore[union-attr] except StopIteration as si: result = si.value exception = None continue except BaseException as e: exception = e continue _raise_wrapfail(teardown, "has second yield") # type: ignore[arg-type] if exception is not None: raise exception.with_traceback(exception.__traceback__) else: return result # Slow path - need to support old-style wrappers. else: if firstresult: # first result hooks return a single value outcome: Result[object | list[object]] = Result( results[0] if results else None, exception ) else: outcome = Result(results, exception) # run all wrapper post-yield blocks for teardown in reversed(teardowns): if isinstance(teardown, tuple): try: teardown[0].send(outcome) except StopIteration: pass except BaseException as e: _warn_teardown_exception(hook_name, teardown[1], e) raise else: _raise_wrapfail(teardown[0], "has second yield") else: try: if outcome._exception is not None: > teardown.throw(outcome._exception) ../pluggy/_callers.py:167: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <CaptureManager _method='fd' _global_capturing=<MultiCapture out=<FDCapture 1 oldfd=6 _state='suspended' tmpfile=<_io....xtIOWrapper name='/dev/null' mode='r' encoding='utf-8'>> _state='suspended' _in_suspended=False> _capture_fixture=None> item = <DoctestItem obspy.clients.iris.client.Client.resp> @hookimpl(wrapper=True) def pytest_runtest_call(self, item: Item) -> Generator[None, None, None]: with self.item_capture("call", item): > return (yield) ../_pytest/capture.py:878: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ hook_name = 'pytest_runtest_call' hook_impls = [<HookImpl plugin_name='runner', plugin=<module '_pytest.runner' from '/home/runner/miniconda3/envs/test/lib/python3.1...146b0>>, <HookImpl plugin_name='logging-plugin', plugin=<_pytest.logging.LoggingPlugin object at 0x7f6dd88a24e0>>, ...] caller_kwargs = {'item': <DoctestItem obspy.clients.iris.client.Client.resp>} firstresult = False def _multicall( hook_name: str, hook_impls: Sequence[HookImpl], caller_kwargs: Mapping[str, object], firstresult: bool, ) -> object | list[object]: """Execute a call into multiple python functions/methods and return the result(s). ``caller_kwargs`` comes from HookCaller.__call__(). """ __tracebackhide__ = True results: list[object] = [] exception = None only_new_style_wrappers = True try: # run impl and wrapper setup functions in a loop teardowns: list[Teardown] = [] try: for hook_impl in reversed(hook_impls): try: args = [caller_kwargs[argname] for argname in hook_impl.argnames] except KeyError: for argname in hook_impl.argnames: if argname not in caller_kwargs: raise HookCallError( f"hook call must provide argument {argname!r}" ) if hook_impl.hookwrapper: only_new_style_wrappers = False try: # If this cast is not valid, a type error is raised below, # which is the desired response. res = hook_impl.function(*args) wrapper_gen = cast(Generator[None, Result[object], None], res) next(wrapper_gen) # first yield teardowns.append((wrapper_gen, hook_impl)) except StopIteration: _raise_wrapfail(wrapper_gen, "did not yield") elif hook_impl.wrapper: try: # If this cast is not valid, a type error is raised below, # which is the desired response. res = hook_impl.function(*args) function_gen = cast(Generator[None, object, object], res) next(function_gen) # first yield teardowns.append(function_gen) except StopIteration: _raise_wrapfail(function_gen, "did not yield") else: res = hook_impl.function(*args) if res is not None: results.append(res) if firstresult: # halt further impl calls break except BaseException as exc: exception = exc finally: # Fast path - only new-style wrappers, no Result. if only_new_style_wrappers: if firstresult: # first result hooks return a single value result = results[0] if results else None else: result = results # run all wrapper post-yield blocks for teardown in reversed(teardowns): try: if exception is not None: teardown.throw(exception) # type: ignore[union-attr] else: teardown.send(result) # type: ignore[union-attr] # Following is unreachable for a well behaved hook wrapper. # Try to force finalizers otherwise postponed till GC action. # Note: close() may raise if generator handles GeneratorExit. teardown.close() # type: ignore[union-attr] except StopIteration as si: result = si.value exception = None continue except BaseException as e: exception = e continue _raise_wrapfail(teardown, "has second yield") # type: ignore[arg-type] if exception is not None: raise exception.with_traceback(exception.__traceback__) else: return result # Slow path - need to support old-style wrappers. else: if firstresult: # first result hooks return a single value outcome: Result[object | list[object]] = Result( results[0] if results else None, exception ) else: outcome = Result(results, exception) # run all wrapper post-yield blocks for teardown in reversed(teardowns): if isinstance(teardown, tuple): try: teardown[0].send(outcome) except StopIteration: pass except BaseException as e: _warn_teardown_exception(hook_name, teardown[1], e) raise else: _raise_wrapfail(teardown[0], "has second yield") else: try: if outcome._exception is not None: > teardown.throw(outcome._exception) ../pluggy/_callers.py:167: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ item = <DoctestItem obspy.clients.iris.client.Client.resp> @hookimpl(wrapper=True) def pytest_runtest_call(item: Item) -> Generator[None, None, None]: xfailed = item.stash.get(xfailed_key, None) if xfailed is None: item.stash[xfailed_key] = xfailed = evaluate_xfail_marks(item) if xfailed and not item.config.option.runxfail and not xfailed.run: xfail("[NOTRUN] " + xfailed.reason) try: > return (yield) ../_pytest/skipping.py:257: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ hook_name = 'pytest_runtest_call' hook_impls = [<HookImpl plugin_name='runner', plugin=<module '_pytest.runner' from '/home/runner/miniconda3/envs/test/lib/python3.1...146b0>>, <HookImpl plugin_name='logging-plugin', plugin=<_pytest.logging.LoggingPlugin object at 0x7f6dd88a24e0>>, ...] caller_kwargs = {'item': <DoctestItem obspy.clients.iris.client.Client.resp>} firstresult = False def _multicall( hook_name: str, hook_impls: Sequence[HookImpl], caller_kwargs: Mapping[str, object], firstresult: bool, ) -> object | list[object]: """Execute a call into multiple python functions/methods and return the result(s). ``caller_kwargs`` comes from HookCaller.__call__(). """ __tracebackhide__ = True results: list[object] = [] exception = None only_new_style_wrappers = True try: # run impl and wrapper setup functions in a loop teardowns: list[Teardown] = [] try: for hook_impl in reversed(hook_impls): try: args = [caller_kwargs[argname] for argname in hook_impl.argnames] except KeyError: for argname in hook_impl.argnames: if argname not in caller_kwargs: raise HookCallError( f"hook call must provide argument {argname!r}" ) if hook_impl.hookwrapper: only_new_style_wrappers = False try: # If this cast is not valid, a type error is raised below, # which is the desired response. res = hook_impl.function(*args) wrapper_gen = cast(Generator[None, Result[object], None], res) next(wrapper_gen) # first yield teardowns.append((wrapper_gen, hook_impl)) except StopIteration: _raise_wrapfail(wrapper_gen, "did not yield") elif hook_impl.wrapper: try: # If this cast is not valid, a type error is raised below, # which is the desired response. res = hook_impl.function(*args) function_gen = cast(Generator[None, object, object], res) next(function_gen) # first yield teardowns.append(function_gen) except StopIteration: _raise_wrapfail(function_gen, "did not yield") else: > res = hook_impl.function(*args) ../pluggy/_callers.py:103: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ item = <DoctestItem obspy.clients.iris.client.Client.resp> def pytest_runtest_call(item: Item) -> None: _update_current_test_var(item, "call") try: del sys.last_type del sys.last_value del sys.last_traceback if sys.version_info >= (3, 12, 0): del sys.last_exc # type: ignore[attr-defined] except AttributeError: pass try: item.runtest() except Exception as e: # Store trace info to allow postmortem debugging sys.last_type = type(e) sys.last_value = e if sys.version_info >= (3, 12, 0): sys.last_exc = e # type: ignore[attr-defined] assert e.__traceback__ is not None # Skip *this* frame sys.last_traceback = e.__traceback__.tb_next > raise e ../_pytest/runner.py:183: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ item = <DoctestItem obspy.clients.iris.client.Client.resp> def pytest_runtest_call(item: Item) -> None: _update_current_test_var(item, "call") try: del sys.last_type del sys.last_value del sys.last_traceback if sys.version_info >= (3, 12, 0): del sys.last_exc # type: ignore[attr-defined] except AttributeError: pass try: > item.runtest() ../_pytest/runner.py:173: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <DoctestItem obspy.clients.iris.client.Client.resp> def runtest(self) -> None: _check_all_skipped(self.dtest) self._disable_output_capturing_for_darwin() failures: List["doctest.DocTestFailure"] = [] # Type ignored because we change the type of `out` from what # doctest expects. > self.runner.run(self.dtest, out=failures) # type: ignore[arg-type] ../_pytest/doctest.py:304: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_pytest.doctest._init_runner_class.<locals>.PytestDoctestRunner object at 0x7f6dd7a457f0> test = <DocTest obspy.clients.iris.client.Client.resp from /home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/iris/client.py:351 (6 examples)> compileflags = None, out = [], clear_globs = True def run(self, test, compileflags=None, out=None, clear_globs=True): > r = DocTestRunner.run(self, test, compileflags, out, False) ../../doctest.py:1886: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_pytest.doctest._init_runner_class.<locals>.PytestDoctestRunner object at 0x7f6dd7a457f0> test = <DocTest obspy.clients.iris.client.Client.resp from /home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/iris/client.py:351 (6 examples)> compileflags = 0, out = [], clear_globs = False def run(self, test, compileflags=None, out=None, clear_globs=True): """ Run the examples in `test`, and display the results using the writer function `out`. The examples are run in the namespace `test.globs`. If `clear_globs` is true (the default), then this namespace will be cleared after the test runs, to help with garbage collection. If you would like to examine the namespace after the test completes, then use `clear_globs=False`. `compileflags` gives the set of flags that should be used by the Python compiler when running the examples. If not specified, then it will default to the set of future-import flags that apply to `globs`. The output of each example is checked using `DocTestRunner.check_output`, and the results are formatted by the `DocTestRunner.report_*` methods. """ self.test = test if compileflags is None: compileflags = _extract_future_flags(test.globs) save_stdout = sys.stdout if out is None: encoding = save_stdout.encoding if encoding is None or encoding.lower() == 'utf-8': out = save_stdout.write else: # Use backslashreplace error handling on write def out(s): s = str(s.encode(encoding, 'backslashreplace'), encoding) save_stdout.write(s) sys.stdout = self._fakeout # Patch pdb.set_trace to restore sys.stdout during interactive # debugging (so it's not still redirected to self._fakeout). # Note that the interactive output will go to *our* # save_stdout, even if that's not the real sys.stdout; this # allows us to write test cases for the set_trace behavior. save_trace = sys.gettrace() save_set_trace = pdb.set_trace self.debugger = _OutputRedirectingPdb(save_stdout) self.debugger.reset() pdb.set_trace = self.debugger.set_trace # Patch linecache.getlines, so we can see the example's source # when we're inside the debugger. self.save_linecache_getlines = linecache.getlines linecache.getlines = self.__patched_linecache_getlines # Make sure sys.displayhook just prints the value to stdout save_displayhook = sys.displayhook sys.displayhook = sys.__displayhook__ try: > return self.__run(test, compileflags, out) ../../doctest.py:1525: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_pytest.doctest._init_runner_class.<locals>.PytestDoctestRunner object at 0x7f6dd7a457f0> test = <DocTest obspy.clients.iris.client.Client.resp from /home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/iris/client.py:351 (6 examples)> compileflags = 0, out = [] def __run(self, test, compileflags, out): """ Run the examples in `test`. Write the outcome of each example with one of the `DocTestRunner.report_*` methods, using the writer function `out`. `compileflags` is the set of compiler flags that should be used to execute examples. Return a tuple `(f, t)`, where `t` is the number of examples tried, and `f` is the number of examples that failed. The examples are run in the namespace `test.globs`. """ # Keep track of the number of failures and tries. failures = tries = 0 # Save the option flags (since option directives can be used # to modify them). original_optionflags = self.optionflags SUCCESS, FAILURE, BOOM = range(3) # `outcome` state check = self._checker.check_output # Process each example. for examplenum, example in enumerate(test.examples): # If REPORT_ONLY_FIRST_FAILURE is set, then suppress # reporting after the first failure. quiet = (self.optionflags & REPORT_ONLY_FIRST_FAILURE and failures > 0) # Merge in the example's options. self.optionflags = original_optionflags if example.options: for (optionflag, val) in example.options.items(): if val: self.optionflags |= optionflag else: self.optionflags &= ~optionflag # If 'SKIP' is set, then skip this example. if self.optionflags & SKIP: continue # Record that we started this example. tries += 1 if not quiet: self.report_start(out, test, example) # Use a special filename for compile(), so we can retrieve # the source code during interactive debugging (see # __patched_linecache_getlines). filename = '<doctest %s[%d]>' % (test.name, examplenum) # Run the example in the given context (globs), and record # any exception that gets raised. (But don't intercept # keyboard interrupts.) try: # Don't blink! This is where the user's code gets run. exec(compile(example.source, filename, "single", compileflags, True), test.globs) self.debugger.set_continue() # ==== Example Finished ==== exception = None except KeyboardInterrupt: raise except: exception = sys.exc_info() self.debugger.set_continue() # ==== Example Finished ==== got = self._fakeout.getvalue() # the actual output self._fakeout.truncate(0) outcome = FAILURE # guilty until proved innocent or insane # If the example executed without raising any exceptions, # verify its output. if exception is None: if check(example.want, got, self.optionflags): outcome = SUCCESS # The example raised an exception: check if it was expected. else: formatted_ex = traceback.format_exception_only(*exception[:2]) if issubclass(exception[0], SyntaxError): # SyntaxError / IndentationError is special: # we don't care about the carets / suggestions / etc # We only care about the error message and notes. # They start with `SyntaxError:` (or any other class name) exception_line_prefixes = ( f"{exception[0].__qualname__}:", f"{exception[0].__module__}.{exception[0].__qualname__}:", ) exc_msg_index = next( index for index, line in enumerate(formatted_ex) if line.startswith(exception_line_prefixes) ) formatted_ex = formatted_ex[exc_msg_index:] exc_msg = "".join(formatted_ex) if not quiet: got += _exception_traceback(exception) # If `example.exc_msg` is None, then we weren't expecting # an exception. if example.exc_msg is None: outcome = BOOM # We expected an exception: see whether it matches. elif check(example.exc_msg, exc_msg, self.optionflags): outcome = SUCCESS # Another chance if they didn't care about the detail. elif self.optionflags & IGNORE_EXCEPTION_DETAIL: if check(_strip_exception_details(example.exc_msg), _strip_exception_details(exc_msg), self.optionflags): outcome = SUCCESS # Report the outcome. if outcome is SUCCESS: if not quiet: self.report_success(out, test, example, got) elif outcome is FAILURE: if not quiet: self.report_failure(out, test, example, got) failures += 1 elif outcome is BOOM: if not quiet: > self.report_unexpected_exception(out, test, example, exception) ../../doctest.py:1430: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_pytest.doctest._init_runner_class.<locals>.PytestDoctestRunner object at 0x7f6dd7a457f0> out = [] test = <DocTest obspy.clients.iris.client.Client.resp from /home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/iris/client.py:351 (6 examples)> example = <doctest.Example object at 0x7f6dd7ab4440> exc_info = (<class 'Exception'>, Exception('No response data available (HTTPError: HTTP Error 500: )'), <traceback object at 0x7f6dd061bc40>) def report_unexpected_exception( self, out, test: "doctest.DocTest", example: "doctest.Example", exc_info: Tuple[Type[BaseException], BaseException, types.TracebackType], ) -> None: if isinstance(exc_info[1], OutcomeException): raise exc_info[1] if isinstance(exc_info[1], bdb.BdbQuit): outcomes.exit("Quitting debugger") failure = doctest.UnexpectedException(test, example, exc_info) if self.continue_on_failure: out.append(failure) else: > raise failure E doctest.UnexpectedException: <DocTest obspy.clients.iris.client.Client.resp from /home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/iris/client.py:351 (6 examples)> ../_pytest/doctest.py:229: UnexpectedException During handling of the above exception, another exception occurred: cls = <class '_pytest.runner.CallInfo'> func = <function call_and_report.<locals>.<lambda> at 0x7f6dd3ac1f80> when = 'call' reraise = (<class '_pytest.outcomes.Exit'>, <class 'KeyboardInterrupt'>) @classmethod def from_call( cls, func: Callable[[], TResult], when: Literal["collect", "setup", "call", "teardown"], reraise: Optional[ Union[Type[BaseException], Tuple[Type[BaseException], ...]] ] = None, ) -> "CallInfo[TResult]": """Call func, wrapping the result in a CallInfo. :param func: The function to call. Called without arguments. :param when: The phase in which the function is called. :param reraise: Exception or exceptions that shall propagate if raised by the function, instead of being wrapped in the CallInfo. """ excinfo = None start = timing.time() precise_start = timing.perf_counter() try: > result: Optional[TResult] = func() ../_pytest/runner.py:341: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise ) ../_pytest/runner.py:241: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <HookCaller 'pytest_runtest_call'> kwargs = {'item': <DoctestItem obspy.clients.iris.client.Client.resp>} firstresult = False def __call__(self, **kwargs: object) -> Any: """Call the hook. Only accepts keyword arguments, which should match the hook specification. Returns the result(s) of calling all registered plugins, see :ref:`calling`. """ assert ( not self.is_historic() ), "Cannot directly call a historic hook - use call_historic instead." self._verify_all_args_are_provided(kwargs) firstresult = self.spec.opts.get("firstresult", False) if self.spec else False # Copy because plugins may register other plugins during iteration (#438). > return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ../pluggy/_hooks.py:513: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_pytest.config.PytestPluginManager object at 0x7f6de4d03140> hook_name = 'pytest_runtest_call' methods = [<HookImpl plugin_name='runner', plugin=<module '_pytest.runner' from '/home/runner/miniconda3/envs/test/lib/python3.1...146b0>>, <HookImpl plugin_name='logging-plugin', plugin=<_pytest.logging.LoggingPlugin object at 0x7f6dd88a24e0>>, ...] kwargs = {'item': <DoctestItem obspy.clients.iris.client.Client.resp>} firstresult = False def _hookexec( self, hook_name: str, methods: Sequence[HookImpl], kwargs: Mapping[str, object], firstresult: bool, ) -> object | list[object]: # called from all hookcaller instances. # enable_tracing will set its own wrapping function at self._inner_hookexec > return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ../pluggy/_manager.py:120: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ hook_name = 'pytest_runtest_call' hook_impls = [<HookImpl plugin_name='runner', plugin=<module '_pytest.runner' from '/home/runner/miniconda3/envs/test/lib/python3.1...146b0>>, <HookImpl plugin_name='logging-plugin', plugin=<_pytest.logging.LoggingPlugin object at 0x7f6dd88a24e0>>, ...] caller_kwargs = {'item': <DoctestItem obspy.clients.iris.client.Client.resp>} firstresult = False def _multicall( hook_name: str, hook_impls: Sequence[HookImpl], caller_kwargs: Mapping[str, object], firstresult: bool, ) -> object | list[object]: """Execute a call into multiple python functions/methods and return the result(s). ``caller_kwargs`` comes from HookCaller.__call__(). """ __tracebackhide__ = True results: list[object] = [] exception = None only_new_style_wrappers = True try: # run impl and wrapper setup functions in a loop teardowns: list[Teardown] = [] try: for hook_impl in reversed(hook_impls): try: args = [caller_kwargs[argname] for argname in hook_impl.argnames] except KeyError: for argname in hook_impl.argnames: if argname not in caller_kwargs: raise HookCallError( f"hook call must provide argument {argname!r}" ) if hook_impl.hookwrapper: only_new_style_wrappers = False try: # If this cast is not valid, a type error is raised below, # which is the desired response. res = hook_impl.function(*args) wrapper_gen = cast(Generator[None, Result[object], None], res) next(wrapper_gen) # first yield teardowns.append((wrapper_gen, hook_impl)) except StopIteration: _raise_wrapfail(wrapper_gen, "did not yield") elif hook_impl.wrapper: try: # If this cast is not valid, a type error is raised below, # which is the desired response. res = hook_impl.function(*args) function_gen = cast(Generator[None, object, object], res) next(function_gen) # first yield teardowns.append(function_gen) except StopIteration: _raise_wrapfail(function_gen, "did not yield") else: res = hook_impl.function(*args) if res is not None: results.append(res) if firstresult: # halt further impl calls break except BaseException as exc: exception = exc finally: # Fast path - only new-style wrappers, no Result. if only_new_style_wrappers: if firstresult: # first result hooks return a single value result = results[0] if results else None else: result = results # run all wrapper post-yield blocks for teardown in reversed(teardowns): try: if exception is not None: teardown.throw(exception) # type: ignore[union-attr] else: teardown.send(result) # type: ignore[union-attr] # Following is unreachable for a well behaved hook wrapper. # Try to force finalizers otherwise postponed till GC action. # Note: close() may raise if generator handles GeneratorExit. teardown.close() # type: ignore[union-attr] except StopIteration as si: result = si.value exception = None continue except BaseException as e: exception = e continue _raise_wrapfail(teardown, "has second yield") # type: ignore[arg-type] if exception is not None: raise exception.with_traceback(exception.__traceback__) else: return result # Slow path - need to support old-style wrappers. else: if firstresult: # first result hooks return a single value outcome: Result[object | list[object]] = Result( results[0] if results else None, exception ) else: outcome = Result(results, exception) # run all wrapper post-yield blocks for teardown in reversed(teardowns): if isinstance(teardown, tuple): try: teardown[0].send(outcome) except StopIteration: pass except BaseException as e: _warn_teardown_exception(hook_name, teardown[1], e) raise else: _raise_wrapfail(teardown[0], "has second yield") else: try: if outcome._exception is not None: teardown.throw(outcome._exception) else: teardown.send(outcome._result) # Following is unreachable for a well behaved hook wrapper. # Try to force finalizers otherwise postponed till GC action. # Note: close() may raise if generator handles GeneratorExit. teardown.close() except StopIteration as si: outcome.force_result(si.value) continue except BaseException as e: outcome.force_exception(e) continue _raise_wrapfail(teardown, "has second yield") > return outcome.get_result() ../pluggy/_callers.py:182: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pluggy._result.Result object at 0x7f6dd7afff10> def get_result(self) -> ResultType: """Get the result(s) for this hook call. If the hook was marked as a ``firstresult`` only a single value will be returned, otherwise a list of results. """ __tracebackhide__ = True exc = self._exception if exc is None: return cast(ResultType, self._result) else: > raise exc.with_traceback(exc.__traceback__) ../pluggy/_result.py:100: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ hook_name = 'pytest_runtest_call' hook_impls = [<HookImpl plugin_name='runner', plugin=<module '_pytest.runner' from '/home/runner/miniconda3/envs/test/lib/python3.1...146b0>>, <HookImpl plugin_name='logging-plugin', plugin=<_pytest.logging.LoggingPlugin object at 0x7f6dd88a24e0>>, ...] caller_kwargs = {'item': <DoctestItem obspy.clients.iris.client.Client.resp>} firstresult = False def _multicall( hook_name: str, hook_impls: Sequence[HookImpl], caller_kwargs: Mapping[str, object], firstresult: bool, ) -> object | list[object]: """Execute a call into multiple python functions/methods and return the result(s). ``caller_kwargs`` comes from HookCaller.__call__(). """ __tracebackhide__ = True results: list[object] = [] exception = None only_new_style_wrappers = True try: # run impl and wrapper setup functions in a loop teardowns: list[Teardown] = [] try: for hook_impl in reversed(hook_impls): try: args = [caller_kwargs[argname] for argname in hook_impl.argnames] except KeyError: for argname in hook_impl.argnames: if argname not in caller_kwargs: raise HookCallError( f"hook call must provide argument {argname!r}" ) if hook_impl.hookwrapper: only_new_style_wrappers = False try: # If this cast is not valid, a type error is raised below, # which is the desired response. res = hook_impl.function(*args) wrapper_gen = cast(Generator[None, Result[object], None], res) next(wrapper_gen) # first yield teardowns.append((wrapper_gen, hook_impl)) except StopIteration: _raise_wrapfail(wrapper_gen, "did not yield") elif hook_impl.wrapper: try: # If this cast is not valid, a type error is raised below, # which is the desired response. res = hook_impl.function(*args) function_gen = cast(Generator[None, object, object], res) next(function_gen) # first yield teardowns.append(function_gen) except StopIteration: _raise_wrapfail(function_gen, "did not yield") else: res = hook_impl.function(*args) if res is not None: results.append(res) if firstresult: # halt further impl calls break except BaseException as exc: exception = exc finally: # Fast path - only new-style wrappers, no Result. if only_new_style_wrappers: if firstresult: # first result hooks return a single value result = results[0] if results else None else: result = results # run all wrapper post-yield blocks for teardown in reversed(teardowns): try: if exception is not None: teardown.throw(exception) # type: ignore[union-attr] else: teardown.send(result) # type: ignore[union-attr] # Following is unreachable for a well behaved hook wrapper. # Try to force finalizers otherwise postponed till GC action. # Note: close() may raise if generator handles GeneratorExit. teardown.close() # type: ignore[union-attr] except StopIteration as si: result = si.value exception = None continue except BaseException as e: exception = e continue _raise_wrapfail(teardown, "has second yield") # type: ignore[arg-type] if exception is not None: raise exception.with_traceback(exception.__traceback__) else: return result # Slow path - need to support old-style wrappers. else: if firstresult: # first result hooks return a single value outcome: Result[object | list[object]] = Result( results[0] if results else None, exception ) else: outcome = Result(results, exception) # run all wrapper post-yield blocks for teardown in reversed(teardowns): if isinstance(teardown, tuple): try: teardown[0].send(outcome) except StopIteration: pass except BaseException as e: _warn_teardown_exception(hook_name, teardown[1], e) raise else: _raise_wrapfail(teardown[0], "has second yield") else: try: if outcome._exception is not None: > teardown.throw(outcome._exception) ../pluggy/_callers.py:167: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @pytest.hookimpl(wrapper=True, tryfirst=True) def pytest_runtest_call() -> Generator[None, None, None]: > yield from thread_exception_runtest_hook() ../_pytest/threadexception.py:87: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def thread_exception_runtest_hook() -> Generator[None, None, None]: with catch_threading_exception() as cm: try: > yield ../_pytest/threadexception.py:63: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ hook_name = 'pytest_runtest_call' hook_impls = [<HookImpl plugin_name='runner', plugin=<module '_pytest.runner' from '/home/runner/miniconda3/envs/test/lib/python3.1...146b0>>, <HookImpl plugin_name='logging-plugin', plugin=<_pytest.logging.LoggingPlugin object at 0x7f6dd88a24e0>>, ...] caller_kwargs = {'item': <DoctestItem obspy.clients.iris.client.Client.resp>} firstresult = False def _multicall( hook_name: str, hook_impls: Sequence[HookImpl], caller_kwargs: Mapping[str, object], firstresult: bool, ) -> object | list[object]: """Execute a call into multiple python functions/methods and return the result(s). ``caller_kwargs`` comes from HookCaller.__call__(). """ __tracebackhide__ = True results: list[object] = [] exception = None only_new_style_wrappers = True try: # run impl and wrapper setup functions in a loop teardowns: list[Teardown] = [] try: for hook_impl in reversed(hook_impls): try: args = [caller_kwargs[argname] for argname in hook_impl.argnames] except KeyError: for argname in hook_impl.argnames: if argname not in caller_kwargs: raise HookCallError( f"hook call must provide argument {argname!r}" ) if hook_impl.hookwrapper: only_new_style_wrappers = False try: # If this cast is not valid, a type error is raised below, # which is the desired response. res = hook_impl.function(*args) wrapper_gen = cast(Generator[None, Result[object], None], res) next(wrapper_gen) # first yield teardowns.append((wrapper_gen, hook_impl)) except StopIteration: _raise_wrapfail(wrapper_gen, "did not yield") elif hook_impl.wrapper: try: # If this cast is not valid, a type error is raised below, # which is the desired response. res = hook_impl.function(*args) function_gen = cast(Generator[None, object, object], res) next(function_gen) # first yield teardowns.append(function_gen) except StopIteration: _raise_wrapfail(function_gen, "did not yield") else: res = hook_impl.function(*args) if res is not None: results.append(res) if firstresult: # halt further impl calls break except BaseException as exc: exception = exc finally: # Fast path - only new-style wrappers, no Result. if only_new_style_wrappers: if firstresult: # first result hooks return a single value result = results[0] if results else None else: result = results # run all wrapper post-yield blocks for teardown in reversed(teardowns): try: if exception is not None: teardown.throw(exception) # type: ignore[union-attr] else: teardown.send(result) # type: ignore[union-attr] # Following is unreachable for a well behaved hook wrapper. # Try to force finalizers otherwise postponed till GC action. # Note: close() may raise if generator handles GeneratorExit. teardown.close() # type: ignore[union-attr] except StopIteration as si: result = si.value exception = None continue except BaseException as e: exception = e continue _raise_wrapfail(teardown, "has second yield") # type: ignore[arg-type] if exception is not None: raise exception.with_traceback(exception.__traceback__) else: return result # Slow path - need to support old-style wrappers. else: if firstresult: # first result hooks return a single value outcome: Result[object | list[object]] = Result( results[0] if results else None, exception ) else: outcome = Result(results, exception) # run all wrapper post-yield blocks for teardown in reversed(teardowns): if isinstance(teardown, tuple): try: teardown[0].send(outcome) except StopIteration: pass except BaseException as e: _warn_teardown_exception(hook_name, teardown[1], e) raise else: _raise_wrapfail(teardown[0], "has second yield") else: try: if outcome._exception is not None: > teardown.throw(outcome._exception) ../pluggy/_callers.py:167: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @pytest.hookimpl(wrapper=True, tryfirst=True) def pytest_runtest_call() -> Generator[None, None, None]: > yield from unraisable_exception_runtest_hook() ../_pytest/unraisableexception.py:90: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def unraisable_exception_runtest_hook() -> Generator[None, None, None]: with catch_unraisable_exception() as cm: try: yield finally: if cm.unraisable: if cm.unraisable.err_msg is not None: err_msg = cm.unraisable.err_msg else: err_msg = "Exception ignored in" msg = f"{err_msg}: {cm.unraisable.object!r}\n\n" msg += "".join( traceback.format_exception( cm.unraisable.exc_type, cm.unraisable.exc_value, cm.unraisable.exc_traceback, ) ) > warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) E pytest.PytestUnraisableExceptionWarning: Exception ignored in: <socket.socket [closed] fd=-1, family=2, type=1, proto=6> E E Traceback (most recent call last): E File "/home/runner/miniconda3/envs/test/lib/python3.12/traceback.py", line 369, in _get_code_position E return next(itertools.islice(positions_gen, instruction_index // 2, None)) E ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E ResourceWarning: unclosed <socket.socket [closed] fd=13, family=2, type=1, proto=6> ../_pytest/unraisableexception.py:80: PytestUnraisableExceptionWarning
473 :return: String with SAC poles and zeros information if no ``filename`` 474 is given. 475 476 .. rubric:: Example 477 478 >>> from obspy.clients.iris import Client 479 >>> from obspy import UTCDateTime 480 >>> client = Client() 481 >>> dt = UTCDateTime("2005-01-01") 482 >>> sacpz = client.sacpz("IU", "ANMO", "00", "BHZ", dt) UNEXPECTED EXCEPTION: <HTTPError 500: ''> Traceback (most recent call last): File "/home/runner/miniconda3/envs/test/lib/python3.12/doctest.py", line 1361, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.clients.iris.client.Client.sacpz[4]>", line 1, in <module> File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/iris/client.py", line 540, in sacpz data = self._fetch("sacpz", **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/iris/client.py", line 124, in _fetch response = urllib_request.urlopen(req, timeout=self.timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/urllib/request.py", line 215, in urlopen return opener.open(url, data, timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/urllib/request.py", line 521, in open response = meth(req, response) ^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/urllib/request.py", line 630, in http_response response = self.parent.error( ^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/urllib/request.py", line 559, in error return self._call_chain(*args) ^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/urllib/request.py", line 492, in _call_chain result = func(*args) ^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/urllib/request.py", line 639, in http_error_default raise HTTPError(req.full_url, code, msg, hdrs, fp) urllib.error.HTTPError: HTTP Error 500: /home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/iris/client.py:482: UnexpectedException
297 :rtype: :class:`~obspy.core.stream.Stream` or ``None`` 298 :return: ObsPy Stream object if no ``filename`` is given. 299 300 .. rubric:: Example 301 302 >>> from obspy.clients.iris import Client 303 >>> from obspy import UTCDateTime 304 >>> dt = UTCDateTime("2005-01-01T00:00:00") 305 >>> client = Client() 306 >>> st = client.timeseries("IU", "ANMO", "00", "BHZ", dt, dt+10) UNEXPECTED EXCEPTION: Exception('No waveform data available (HTTPError: HTTP Error 500: )') Traceback (most recent call last): File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/iris/client.py", line 331, in timeseries data = self._fetch("timeseries", param_list=filter, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/iris/client.py", line 124, in _fetch response = urllib_request.urlopen(req, timeout=self.timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/urllib/request.py", line 215, in urlopen return opener.open(url, data, timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/urllib/request.py", line 521, in open response = meth(req, response) ^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/urllib/request.py", line 630, in http_response response = self.parent.error( ^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/urllib/request.py", line 559, in error return self._call_chain(*args) ^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/urllib/request.py", line 492, in _call_chain result = func(*args) ^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/urllib/request.py", line 639, in http_error_default raise HTTPError(req.full_url, code, msg, hdrs, fp) urllib.error.HTTPError: HTTP Error 500: During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/runner/miniconda3/envs/test/lib/python3.12/doctest.py", line 1361, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.clients.iris.client.Client.timeseries[4]>", line 1, in <module> File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/iris/client.py", line 335, in timeseries raise Exception(msg) Exception: No waveform data available (HTTPError: HTTP Error 500: ) /home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/iris/client.py:306: UnexpectedException
cls = <class '_pytest.runner.CallInfo'> func = <function call_and_report.<locals>.<lambda> at 0x7f6de2cd0ae0> when = 'call' reraise = (<class '_pytest.outcomes.Exit'>, <class 'KeyboardInterrupt'>) @classmethod def from_call( cls, func: Callable[[], TResult], when: Literal["collect", "setup", "call", "teardown"], reraise: Optional[ Union[Type[BaseException], Tuple[Type[BaseException], ...]] ] = None, ) -> "CallInfo[TResult]": """Call func, wrapping the result in a CallInfo. :param func: The function to call. Called without arguments. :param when: The phase in which the function is called. :param reraise: Exception or exceptions that shall propagate if raised by the function, instead of being wrapped in the CallInfo. """ excinfo = None start = timing.time() precise_start = timing.perf_counter() try: > result: Optional[TResult] = func() ../_pytest/runner.py:341: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise ) ../_pytest/runner.py:241: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <HookCaller 'pytest_runtest_call'> kwargs = {'item': <DoctestItem obspy.clients.iris.client.Client.traveltime>} firstresult = False def __call__(self, **kwargs: object) -> Any: """Call the hook. Only accepts keyword arguments, which should match the hook specification. Returns the result(s) of calling all registered plugins, see :ref:`calling`. """ assert ( not self.is_historic() ), "Cannot directly call a historic hook - use call_historic instead." self._verify_all_args_are_provided(kwargs) firstresult = self.spec.opts.get("firstresult", False) if self.spec else False # Copy because plugins may register other plugins during iteration (#438). > return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ../pluggy/_hooks.py:513: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_pytest.config.PytestPluginManager object at 0x7f6de4d03140> hook_name = 'pytest_runtest_call' methods = [<HookImpl plugin_name='runner', plugin=<module '_pytest.runner' from '/home/runner/miniconda3/envs/test/lib/python3.1...146b0>>, <HookImpl plugin_name='logging-plugin', plugin=<_pytest.logging.LoggingPlugin object at 0x7f6dd88a24e0>>, ...] kwargs = {'item': <DoctestItem obspy.clients.iris.client.Client.traveltime>} firstresult = False def _hookexec( self, hook_name: str, methods: Sequence[HookImpl], kwargs: Mapping[str, object], firstresult: bool, ) -> object | list[object]: # called from all hookcaller instances. # enable_tracing will set its own wrapping function at self._inner_hookexec > return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ../pluggy/_manager.py:120: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ hook_name = 'pytest_runtest_call' hook_impls = [<HookImpl plugin_name='runner', plugin=<module '_pytest.runner' from '/home/runner/miniconda3/envs/test/lib/python3.1...146b0>>, <HookImpl plugin_name='logging-plugin', plugin=<_pytest.logging.LoggingPlugin object at 0x7f6dd88a24e0>>, ...] caller_kwargs = {'item': <DoctestItem obspy.clients.iris.client.Client.traveltime>} firstresult = False def _multicall( hook_name: str, hook_impls: Sequence[HookImpl], caller_kwargs: Mapping[str, object], firstresult: bool, ) -> object | list[object]: """Execute a call into multiple python functions/methods and return the result(s). ``caller_kwargs`` comes from HookCaller.__call__(). """ __tracebackhide__ = True results: list[object] = [] exception = None only_new_style_wrappers = True try: # run impl and wrapper setup functions in a loop teardowns: list[Teardown] = [] try: for hook_impl in reversed(hook_impls): try: args = [caller_kwargs[argname] for argname in hook_impl.argnames] except KeyError: for argname in hook_impl.argnames: if argname not in caller_kwargs: raise HookCallError( f"hook call must provide argument {argname!r}" ) if hook_impl.hookwrapper: only_new_style_wrappers = False try: # If this cast is not valid, a type error is raised below, # which is the desired response. res = hook_impl.function(*args) wrapper_gen = cast(Generator[None, Result[object], None], res) next(wrapper_gen) # first yield teardowns.append((wrapper_gen, hook_impl)) except StopIteration: _raise_wrapfail(wrapper_gen, "did not yield") elif hook_impl.wrapper: try: # If this cast is not valid, a type error is raised below, # which is the desired response. res = hook_impl.function(*args) function_gen = cast(Generator[None, object, object], res) next(function_gen) # first yield teardowns.append(function_gen) except StopIteration: _raise_wrapfail(function_gen, "did not yield") else: res = hook_impl.function(*args) if res is not None: results.append(res) if firstresult: # halt further impl calls break except BaseException as exc: exception = exc finally: # Fast path - only new-style wrappers, no Result. if only_new_style_wrappers: if firstresult: # first result hooks return a single value result = results[0] if results else None else: result = results # run all wrapper post-yield blocks for teardown in reversed(teardowns): try: if exception is not None: teardown.throw(exception) # type: ignore[union-attr] else: teardown.send(result) # type: ignore[union-attr] # Following is unreachable for a well behaved hook wrapper. # Try to force finalizers otherwise postponed till GC action. # Note: close() may raise if generator handles GeneratorExit. teardown.close() # type: ignore[union-attr] except StopIteration as si: result = si.value exception = None continue except BaseException as e: exception = e continue _raise_wrapfail(teardown, "has second yield") # type: ignore[arg-type] if exception is not None: raise exception.with_traceback(exception.__traceback__) else: return result # Slow path - need to support old-style wrappers. else: if firstresult: # first result hooks return a single value outcome: Result[object | list[object]] = Result( results[0] if results else None, exception ) else: outcome = Result(results, exception) # run all wrapper post-yield blocks for teardown in reversed(teardowns): if isinstance(teardown, tuple): try: teardown[0].send(outcome) except StopIteration: pass except BaseException as e: _warn_teardown_exception(hook_name, teardown[1], e) raise else: _raise_wrapfail(teardown[0], "has second yield") else: try: if outcome._exception is not None: teardown.throw(outcome._exception) else: teardown.send(outcome._result) # Following is unreachable for a well behaved hook wrapper. # Try to force finalizers otherwise postponed till GC action. # Note: close() may raise if generator handles GeneratorExit. teardown.close() except StopIteration as si: outcome.force_result(si.value) continue except BaseException as e: outcome.force_exception(e) continue _raise_wrapfail(teardown, "has second yield") > return outcome.get_result() ../pluggy/_callers.py:182: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pluggy._result.Result object at 0x7f6dd55b7790> def get_result(self) -> ResultType: """Get the result(s) for this hook call. If the hook was marked as a ``firstresult`` only a single value will be returned, otherwise a list of results. """ __tracebackhide__ = True exc = self._exception if exc is None: return cast(ResultType, self._result) else: > raise exc.with_traceback(exc.__traceback__) ../pluggy/_result.py:100: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ hook_name = 'pytest_runtest_call' hook_impls = [<HookImpl plugin_name='runner', plugin=<module '_pytest.runner' from '/home/runner/miniconda3/envs/test/lib/python3.1...146b0>>, <HookImpl plugin_name='logging-plugin', plugin=<_pytest.logging.LoggingPlugin object at 0x7f6dd88a24e0>>, ...] caller_kwargs = {'item': <DoctestItem obspy.clients.iris.client.Client.traveltime>} firstresult = False def _multicall( hook_name: str, hook_impls: Sequence[HookImpl], caller_kwargs: Mapping[str, object], firstresult: bool, ) -> object | list[object]: """Execute a call into multiple python functions/methods and return the result(s). ``caller_kwargs`` comes from HookCaller.__call__(). """ __tracebackhide__ = True results: list[object] = [] exception = None only_new_style_wrappers = True try: # run impl and wrapper setup functions in a loop teardowns: list[Teardown] = [] try: for hook_impl in reversed(hook_impls): try: args = [caller_kwargs[argname] for argname in hook_impl.argnames] except KeyError: for argname in hook_impl.argnames: if argname not in caller_kwargs: raise HookCallError( f"hook call must provide argument {argname!r}" ) if hook_impl.hookwrapper: only_new_style_wrappers = False try: # If this cast is not valid, a type error is raised below, # which is the desired response. res = hook_impl.function(*args) wrapper_gen = cast(Generator[None, Result[object], None], res) next(wrapper_gen) # first yield teardowns.append((wrapper_gen, hook_impl)) except StopIteration: _raise_wrapfail(wrapper_gen, "did not yield") elif hook_impl.wrapper: try: # If this cast is not valid, a type error is raised below, # which is the desired response. res = hook_impl.function(*args) function_gen = cast(Generator[None, object, object], res) next(function_gen) # first yield teardowns.append(function_gen) except StopIteration: _raise_wrapfail(function_gen, "did not yield") else: res = hook_impl.function(*args) if res is not None: results.append(res) if firstresult: # halt further impl calls break except BaseException as exc: exception = exc finally: # Fast path - only new-style wrappers, no Result. if only_new_style_wrappers: if firstresult: # first result hooks return a single value result = results[0] if results else None else: result = results # run all wrapper post-yield blocks for teardown in reversed(teardowns): try: if exception is not None: teardown.throw(exception) # type: ignore[union-attr] else: teardown.send(result) # type: ignore[union-attr] # Following is unreachable for a well behaved hook wrapper. # Try to force finalizers otherwise postponed till GC action. # Note: close() may raise if generator handles GeneratorExit. teardown.close() # type: ignore[union-attr] except StopIteration as si: result = si.value exception = None continue except BaseException as e: exception = e continue _raise_wrapfail(teardown, "has second yield") # type: ignore[arg-type] if exception is not None: raise exception.with_traceback(exception.__traceback__) else: return result # Slow path - need to support old-style wrappers. else: if firstresult: # first result hooks return a single value outcome: Result[object | list[object]] = Result( results[0] if results else None, exception ) else: outcome = Result(results, exception) # run all wrapper post-yield blocks for teardown in reversed(teardowns): if isinstance(teardown, tuple): try: teardown[0].send(outcome) except StopIteration: pass except BaseException as e: _warn_teardown_exception(hook_name, teardown[1], e) raise else: _raise_wrapfail(teardown[0], "has second yield") else: try: if outcome._exception is not None: > teardown.throw(outcome._exception) ../pluggy/_callers.py:167: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @pytest.hookimpl(wrapper=True, tryfirst=True) def pytest_runtest_call() -> Generator[None, None, None]: > yield from thread_exception_runtest_hook() ../_pytest/threadexception.py:87: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def thread_exception_runtest_hook() -> Generator[None, None, None]: with catch_threading_exception() as cm: try: > yield ../_pytest/threadexception.py:63: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ hook_name = 'pytest_runtest_call' hook_impls = [<HookImpl plugin_name='runner', plugin=<module '_pytest.runner' from '/home/runner/miniconda3/envs/test/lib/python3.1...146b0>>, <HookImpl plugin_name='logging-plugin', plugin=<_pytest.logging.LoggingPlugin object at 0x7f6dd88a24e0>>, ...] caller_kwargs = {'item': <DoctestItem obspy.clients.iris.client.Client.traveltime>} firstresult = False def _multicall( hook_name: str, hook_impls: Sequence[HookImpl], caller_kwargs: Mapping[str, object], firstresult: bool, ) -> object | list[object]: """Execute a call into multiple python functions/methods and return the result(s). ``caller_kwargs`` comes from HookCaller.__call__(). """ __tracebackhide__ = True results: list[object] = [] exception = None only_new_style_wrappers = True try: # run impl and wrapper setup functions in a loop teardowns: list[Teardown] = [] try: for hook_impl in reversed(hook_impls): try: args = [caller_kwargs[argname] for argname in hook_impl.argnames] except KeyError: for argname in hook_impl.argnames: if argname not in caller_kwargs: raise HookCallError( f"hook call must provide argument {argname!r}" ) if hook_impl.hookwrapper: only_new_style_wrappers = False try: # If this cast is not valid, a type error is raised below, # which is the desired response. res = hook_impl.function(*args) wrapper_gen = cast(Generator[None, Result[object], None], res) next(wrapper_gen) # first yield teardowns.append((wrapper_gen, hook_impl)) except StopIteration: _raise_wrapfail(wrapper_gen, "did not yield") elif hook_impl.wrapper: try: # If this cast is not valid, a type error is raised below, # which is the desired response. res = hook_impl.function(*args) function_gen = cast(Generator[None, object, object], res) next(function_gen) # first yield teardowns.append(function_gen) except StopIteration: _raise_wrapfail(function_gen, "did not yield") else: res = hook_impl.function(*args) if res is not None: results.append(res) if firstresult: # halt further impl calls break except BaseException as exc: exception = exc finally: # Fast path - only new-style wrappers, no Result. if only_new_style_wrappers: if firstresult: # first result hooks return a single value result = results[0] if results else None else: result = results # run all wrapper post-yield blocks for teardown in reversed(teardowns): try: if exception is not None: teardown.throw(exception) # type: ignore[union-attr] else: teardown.send(result) # type: ignore[union-attr] # Following is unreachable for a well behaved hook wrapper. # Try to force finalizers otherwise postponed till GC action. # Note: close() may raise if generator handles GeneratorExit. teardown.close() # type: ignore[union-attr] except StopIteration as si: result = si.value exception = None continue except BaseException as e: exception = e continue _raise_wrapfail(teardown, "has second yield") # type: ignore[arg-type] if exception is not None: raise exception.with_traceback(exception.__traceback__) else: return result # Slow path - need to support old-style wrappers. else: if firstresult: # first result hooks return a single value outcome: Result[object | list[object]] = Result( results[0] if results else None, exception ) else: outcome = Result(results, exception) # run all wrapper post-yield blocks for teardown in reversed(teardowns): if isinstance(teardown, tuple): try: teardown[0].send(outcome) except StopIteration: pass except BaseException as e: _warn_teardown_exception(hook_name, teardown[1], e) raise else: _raise_wrapfail(teardown[0], "has second yield") else: try: if outcome._exception is not None: teardown.throw(outcome._exception) else: > teardown.send(outcome._result) ../pluggy/_callers.py:169: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @pytest.hookimpl(wrapper=True, tryfirst=True) def pytest_runtest_call() -> Generator[None, None, None]: > yield from unraisable_exception_runtest_hook() ../_pytest/unraisableexception.py:90: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def unraisable_exception_runtest_hook() -> Generator[None, None, None]: with catch_unraisable_exception() as cm: try: yield finally: if cm.unraisable: if cm.unraisable.err_msg is not None: err_msg = cm.unraisable.err_msg else: err_msg = "Exception ignored in" msg = f"{err_msg}: {cm.unraisable.object!r}\n\n" msg += "".join( traceback.format_exception( cm.unraisable.exc_type, cm.unraisable.exc_value, cm.unraisable.exc_traceback, ) ) > warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) E pytest.PytestUnraisableExceptionWarning: Exception ignored in: <socket.socket [closed] fd=-1, family=2, type=1, proto=6> E E Traceback (most recent call last): E File "/home/runner/miniconda3/envs/test/lib/python3.12/email/feedparser.py", line 88, in readline E for ateof in reversed(self._eofstack): E ^^^^^^^^^^^^^^^^^^^^^^^^ E ResourceWarning: unclosed <socket.socket [closed] fd=15, family=2, type=1, proto=6> ../_pytest/unraisableexception.py:80: PytestUnraisableExceptionWarning
Traceback (most recent call last): File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/threadexception.py", line 87, in pytest_runtest_call yield from thread_exception_runtest_hook() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/unraisableexception.py", line 90, in pytest_runtest_call yield from unraisable_exception_runtest_hook() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield from self._runtest_for(item, "call") File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/capture.py", line 878, in pytest_runtest_call return (yield) ^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/skipping.py", line 257, in pytest_runtest_call return (yield) ^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 183, in pytest_runtest_call raise e File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 173, in pytest_runtest_call item.runtest() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 1632, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall raise exception.with_traceback(exception.__traceback__) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 162, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/iris/tests/test_client.py", line 27, in test_sacpz result = client.sacpz("IU", "ANMO", "00", "BHZ", t1, t2) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/iris/client.py", line 540, in sacpz data = self._fetch("sacpz", **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/iris/client.py", line 124, in _fetch response = urllib_request.urlopen(req, timeout=self.timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/urllib/request.py", line 215, in urlopen return opener.open(url, data, timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/urllib/request.py", line 521, in open response = meth(req, response) ^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/urllib/request.py", line 630, in http_response response = self.parent.error( ^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/urllib/request.py", line 559, in error return self._call_chain(*args) ^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/urllib/request.py", line 492, in _call_chain result = func(*args) ^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/urllib/request.py", line 639, in http_error_default raise HTTPError(req.full_url, code, msg, hdrs, fp) urllib.error.HTTPError: HTTP Error 500:
Traceback (most recent call last): File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/threadexception.py", line 87, in pytest_runtest_call yield from thread_exception_runtest_hook() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/unraisableexception.py", line 90, in pytest_runtest_call yield from unraisable_exception_runtest_hook() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield from self._runtest_for(item, "call") File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/capture.py", line 878, in pytest_runtest_call return (yield) ^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/skipping.py", line 257, in pytest_runtest_call return (yield) ^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 183, in pytest_runtest_call raise e File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 173, in pytest_runtest_call item.runtest() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 1632, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall raise exception.with_traceback(exception.__traceback__) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 162, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/iris/tests/test_client.py", line 139, in test_evalresp client.evalresp(network="IU", station="ANMO", location="00", File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/iris/client.py", line 970, in evalresp data = self._fetch("evalresp", **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/iris/client.py", line 124, in _fetch response = urllib_request.urlopen(req, timeout=self.timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/urllib/request.py", line 215, in urlopen return opener.open(url, data, timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/urllib/request.py", line 521, in open response = meth(req, response) ^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/urllib/request.py", line 630, in http_response response = self.parent.error( ^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/urllib/request.py", line 559, in error return self._call_chain(*args) ^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/urllib/request.py", line 492, in _call_chain result = func(*args) ^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/urllib/request.py", line 639, in http_error_default raise HTTPError(req.full_url, code, msg, hdrs, fp) urllib.error.HTTPError: HTTP Error 404:
Traceback (most recent call last): File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/iris/client.py", line 437, in resp data = self._fetch("resp", **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/iris/client.py", line 124, in _fetch response = urllib_request.urlopen(req, timeout=self.timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/urllib/request.py", line 215, in urlopen return opener.open(url, data, timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/urllib/request.py", line 521, in open response = meth(req, response) ^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/urllib/request.py", line 630, in http_response response = self.parent.error( ^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/urllib/request.py", line 559, in error return self._call_chain(*args) ^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/urllib/request.py", line 492, in _call_chain result = func(*args) ^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/urllib/request.py", line 639, in http_error_default raise HTTPError(req.full_url, code, msg, hdrs, fp) urllib.error.HTTPError: HTTP Error 500: During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/threadexception.py", line 87, in pytest_runtest_call yield from thread_exception_runtest_hook() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/unraisableexception.py", line 90, in pytest_runtest_call yield from unraisable_exception_runtest_hook() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield from self._runtest_for(item, "call") File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/capture.py", line 878, in pytest_runtest_call return (yield) ^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/skipping.py", line 257, in pytest_runtest_call return (yield) ^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 183, in pytest_runtest_call raise e File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 173, in pytest_runtest_call item.runtest() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 1632, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall raise exception.with_traceback(exception.__traceback__) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 162, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/iris/tests/test_client.py", line 235, in test_resp result = client.resp("IU", "ANMO", "00", "BHZ", t1, t2) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/iris/client.py", line 441, in resp raise Exception(msg) Exception: No response data available (HTTPError: HTTP Error 500: )
Traceback (most recent call last): File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/iris/client.py", line 331, in timeseries data = self._fetch("timeseries", param_list=filter, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/iris/client.py", line 124, in _fetch response = urllib_request.urlopen(req, timeout=self.timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/urllib/request.py", line 215, in urlopen return opener.open(url, data, timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/urllib/request.py", line 521, in open response = meth(req, response) ^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/urllib/request.py", line 630, in http_response response = self.parent.error( ^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/urllib/request.py", line 559, in error return self._call_chain(*args) ^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/urllib/request.py", line 492, in _call_chain result = func(*args) ^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/urllib/request.py", line 639, in http_error_default raise HTTPError(req.full_url, code, msg, hdrs, fp) urllib.error.HTTPError: HTTP Error 500: During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/threadexception.py", line 87, in pytest_runtest_call yield from thread_exception_runtest_hook() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/unraisableexception.py", line 90, in pytest_runtest_call yield from unraisable_exception_runtest_hook() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield from self._runtest_for(item, "call") File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/capture.py", line 878, in pytest_runtest_call return (yield) ^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/skipping.py", line 257, in pytest_runtest_call return (yield) ^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 183, in pytest_runtest_call raise e File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 173, in pytest_runtest_call item.runtest() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 1632, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall raise exception.with_traceback(exception.__traceback__) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 162, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/iris/tests/test_client.py", line 266, in test_timeseries st1 = client.timeseries("IU", "ANMO", "00", "BHZ", t1, t2) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/iris/client.py", line 335, in timeseries raise Exception(msg) Exception: No waveform data available (HTTPError: HTTP Error 500: )
cls = <class '_pytest.runner.CallInfo'> func = <function call_and_report.<locals>.<lambda> at 0x7f6de2cd16c0> when = 'call' reraise = (<class '_pytest.outcomes.Exit'>, <class 'KeyboardInterrupt'>) @classmethod def from_call( cls, func: Callable[[], TResult], when: Literal["collect", "setup", "call", "teardown"], reraise: Optional[ Union[Type[BaseException], Tuple[Type[BaseException], ...]] ] = None, ) -> "CallInfo[TResult]": """Call func, wrapping the result in a CallInfo. :param func: The function to call. Called without arguments. :param when: The phase in which the function is called. :param reraise: Exception or exceptions that shall propagate if raised by the function, instead of being wrapped in the CallInfo. """ excinfo = None start = timing.time() precise_start = timing.perf_counter() try: > result: Optional[TResult] = func() ../_pytest/runner.py:341: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise ) ../_pytest/runner.py:241: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <HookCaller 'pytest_runtest_call'> kwargs = {'item': <DoctestItem obspy.clients.neic.client.Client.get_waveforms>} firstresult = False def __call__(self, **kwargs: object) -> Any: """Call the hook. Only accepts keyword arguments, which should match the hook specification. Returns the result(s) of calling all registered plugins, see :ref:`calling`. """ assert ( not self.is_historic() ), "Cannot directly call a historic hook - use call_historic instead." self._verify_all_args_are_provided(kwargs) firstresult = self.spec.opts.get("firstresult", False) if self.spec else False # Copy because plugins may register other plugins during iteration (#438). > return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ../pluggy/_hooks.py:513: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_pytest.config.PytestPluginManager object at 0x7f6de4d03140> hook_name = 'pytest_runtest_call' methods = [<HookImpl plugin_name='runner', plugin=<module '_pytest.runner' from '/home/runner/miniconda3/envs/test/lib/python3.1...146b0>>, <HookImpl plugin_name='logging-plugin', plugin=<_pytest.logging.LoggingPlugin object at 0x7f6dd88a24e0>>, ...] kwargs = {'item': <DoctestItem obspy.clients.neic.client.Client.get_waveforms>} firstresult = False def _hookexec( self, hook_name: str, methods: Sequence[HookImpl], kwargs: Mapping[str, object], firstresult: bool, ) -> object | list[object]: # called from all hookcaller instances. # enable_tracing will set its own wrapping function at self._inner_hookexec > return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ../pluggy/_manager.py:120: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ hook_name = 'pytest_runtest_call' hook_impls = [<HookImpl plugin_name='runner', plugin=<module '_pytest.runner' from '/home/runner/miniconda3/envs/test/lib/python3.1...146b0>>, <HookImpl plugin_name='logging-plugin', plugin=<_pytest.logging.LoggingPlugin object at 0x7f6dd88a24e0>>, ...] caller_kwargs = {'item': <DoctestItem obspy.clients.neic.client.Client.get_waveforms>} firstresult = False def _multicall( hook_name: str, hook_impls: Sequence[HookImpl], caller_kwargs: Mapping[str, object], firstresult: bool, ) -> object | list[object]: """Execute a call into multiple python functions/methods and return the result(s). ``caller_kwargs`` comes from HookCaller.__call__(). """ __tracebackhide__ = True results: list[object] = [] exception = None only_new_style_wrappers = True try: # run impl and wrapper setup functions in a loop teardowns: list[Teardown] = [] try: for hook_impl in reversed(hook_impls): try: args = [caller_kwargs[argname] for argname in hook_impl.argnames] except KeyError: for argname in hook_impl.argnames: if argname not in caller_kwargs: raise HookCallError( f"hook call must provide argument {argname!r}" ) if hook_impl.hookwrapper: only_new_style_wrappers = False try: # If this cast is not valid, a type error is raised below, # which is the desired response. res = hook_impl.function(*args) wrapper_gen = cast(Generator[None, Result[object], None], res) next(wrapper_gen) # first yield teardowns.append((wrapper_gen, hook_impl)) except StopIteration: _raise_wrapfail(wrapper_gen, "did not yield") elif hook_impl.wrapper: try: # If this cast is not valid, a type error is raised below, # which is the desired response. res = hook_impl.function(*args) function_gen = cast(Generator[None, object, object], res) next(function_gen) # first yield teardowns.append(function_gen) except StopIteration: _raise_wrapfail(function_gen, "did not yield") else: res = hook_impl.function(*args) if res is not None: results.append(res) if firstresult: # halt further impl calls break except BaseException as exc: exception = exc finally: # Fast path - only new-style wrappers, no Result. if only_new_style_wrappers: if firstresult: # first result hooks return a single value result = results[0] if results else None else: result = results # run all wrapper post-yield blocks for teardown in reversed(teardowns): try: if exception is not None: teardown.throw(exception) # type: ignore[union-attr] else: teardown.send(result) # type: ignore[union-attr] # Following is unreachable for a well behaved hook wrapper. # Try to force finalizers otherwise postponed till GC action. # Note: close() may raise if generator handles GeneratorExit. teardown.close() # type: ignore[union-attr] except StopIteration as si: result = si.value exception = None continue except BaseException as e: exception = e continue _raise_wrapfail(teardown, "has second yield") # type: ignore[arg-type] if exception is not None: raise exception.with_traceback(exception.__traceback__) else: return result # Slow path - need to support old-style wrappers. else: if firstresult: # first result hooks return a single value outcome: Result[object | list[object]] = Result( results[0] if results else None, exception ) else: outcome = Result(results, exception) # run all wrapper post-yield blocks for teardown in reversed(teardowns): if isinstance(teardown, tuple): try: teardown[0].send(outcome) except StopIteration: pass except BaseException as e: _warn_teardown_exception(hook_name, teardown[1], e) raise else: _raise_wrapfail(teardown[0], "has second yield") else: try: if outcome._exception is not None: teardown.throw(outcome._exception) else: teardown.send(outcome._result) # Following is unreachable for a well behaved hook wrapper. # Try to force finalizers otherwise postponed till GC action. # Note: close() may raise if generator handles GeneratorExit. teardown.close() except StopIteration as si: outcome.force_result(si.value) continue except BaseException as e: outcome.force_exception(e) continue _raise_wrapfail(teardown, "has second yield") > return outcome.get_result() ../pluggy/_callers.py:182: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pluggy._result.Result object at 0x7f6dd7a9ebc0> def get_result(self) -> ResultType: """Get the result(s) for this hook call. If the hook was marked as a ``firstresult`` only a single value will be returned, otherwise a list of results. """ __tracebackhide__ = True exc = self._exception if exc is None: return cast(ResultType, self._result) else: > raise exc.with_traceback(exc.__traceback__) ../pluggy/_result.py:100: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ hook_name = 'pytest_runtest_call' hook_impls = [<HookImpl plugin_name='runner', plugin=<module '_pytest.runner' from '/home/runner/miniconda3/envs/test/lib/python3.1...146b0>>, <HookImpl plugin_name='logging-plugin', plugin=<_pytest.logging.LoggingPlugin object at 0x7f6dd88a24e0>>, ...] caller_kwargs = {'item': <DoctestItem obspy.clients.neic.client.Client.get_waveforms>} firstresult = False def _multicall( hook_name: str, hook_impls: Sequence[HookImpl], caller_kwargs: Mapping[str, object], firstresult: bool, ) -> object | list[object]: """Execute a call into multiple python functions/methods and return the result(s). ``caller_kwargs`` comes from HookCaller.__call__(). """ __tracebackhide__ = True results: list[object] = [] exception = None only_new_style_wrappers = True try: # run impl and wrapper setup functions in a loop teardowns: list[Teardown] = [] try: for hook_impl in reversed(hook_impls): try: args = [caller_kwargs[argname] for argname in hook_impl.argnames] except KeyError: for argname in hook_impl.argnames: if argname not in caller_kwargs: raise HookCallError( f"hook call must provide argument {argname!r}" ) if hook_impl.hookwrapper: only_new_style_wrappers = False try: # If this cast is not valid, a type error is raised below, # which is the desired response. res = hook_impl.function(*args) wrapper_gen = cast(Generator[None, Result[object], None], res) next(wrapper_gen) # first yield teardowns.append((wrapper_gen, hook_impl)) except StopIteration: _raise_wrapfail(wrapper_gen, "did not yield") elif hook_impl.wrapper: try: # If this cast is not valid, a type error is raised below, # which is the desired response. res = hook_impl.function(*args) function_gen = cast(Generator[None, object, object], res) next(function_gen) # first yield teardowns.append(function_gen) except StopIteration: _raise_wrapfail(function_gen, "did not yield") else: res = hook_impl.function(*args) if res is not None: results.append(res) if firstresult: # halt further impl calls break except BaseException as exc: exception = exc finally: # Fast path - only new-style wrappers, no Result. if only_new_style_wrappers: if firstresult: # first result hooks return a single value result = results[0] if results else None else: result = results # run all wrapper post-yield blocks for teardown in reversed(teardowns): try: if exception is not None: teardown.throw(exception) # type: ignore[union-attr] else: teardown.send(result) # type: ignore[union-attr] # Following is unreachable for a well behaved hook wrapper. # Try to force finalizers otherwise postponed till GC action. # Note: close() may raise if generator handles GeneratorExit. teardown.close() # type: ignore[union-attr] except StopIteration as si: result = si.value exception = None continue except BaseException as e: exception = e continue _raise_wrapfail(teardown, "has second yield") # type: ignore[arg-type] if exception is not None: raise exception.with_traceback(exception.__traceback__) else: return result # Slow path - need to support old-style wrappers. else: if firstresult: # first result hooks return a single value outcome: Result[object | list[object]] = Result( results[0] if results else None, exception ) else: outcome = Result(results, exception) # run all wrapper post-yield blocks for teardown in reversed(teardowns): if isinstance(teardown, tuple): try: teardown[0].send(outcome) except StopIteration: pass except BaseException as e: _warn_teardown_exception(hook_name, teardown[1], e) raise else: _raise_wrapfail(teardown[0], "has second yield") else: try: if outcome._exception is not None: > teardown.throw(outcome._exception) ../pluggy/_callers.py:167: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @pytest.hookimpl(wrapper=True, tryfirst=True) def pytest_runtest_call() -> Generator[None, None, None]: > yield from thread_exception_runtest_hook() ../_pytest/threadexception.py:87: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def thread_exception_runtest_hook() -> Generator[None, None, None]: with catch_threading_exception() as cm: try: > yield ../_pytest/threadexception.py:63: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ hook_name = 'pytest_runtest_call' hook_impls = [<HookImpl plugin_name='runner', plugin=<module '_pytest.runner' from '/home/runner/miniconda3/envs/test/lib/python3.1...146b0>>, <HookImpl plugin_name='logging-plugin', plugin=<_pytest.logging.LoggingPlugin object at 0x7f6dd88a24e0>>, ...] caller_kwargs = {'item': <DoctestItem obspy.clients.neic.client.Client.get_waveforms>} firstresult = False def _multicall( hook_name: str, hook_impls: Sequence[HookImpl], caller_kwargs: Mapping[str, object], firstresult: bool, ) -> object | list[object]: """Execute a call into multiple python functions/methods and return the result(s). ``caller_kwargs`` comes from HookCaller.__call__(). """ __tracebackhide__ = True results: list[object] = [] exception = None only_new_style_wrappers = True try: # run impl and wrapper setup functions in a loop teardowns: list[Teardown] = [] try: for hook_impl in reversed(hook_impls): try: args = [caller_kwargs[argname] for argname in hook_impl.argnames] except KeyError: for argname in hook_impl.argnames: if argname not in caller_kwargs: raise HookCallError( f"hook call must provide argument {argname!r}" ) if hook_impl.hookwrapper: only_new_style_wrappers = False try: # If this cast is not valid, a type error is raised below, # which is the desired response. res = hook_impl.function(*args) wrapper_gen = cast(Generator[None, Result[object], None], res) next(wrapper_gen) # first yield teardowns.append((wrapper_gen, hook_impl)) except StopIteration: _raise_wrapfail(wrapper_gen, "did not yield") elif hook_impl.wrapper: try: # If this cast is not valid, a type error is raised below, # which is the desired response. res = hook_impl.function(*args) function_gen = cast(Generator[None, object, object], res) next(function_gen) # first yield teardowns.append(function_gen) except StopIteration: _raise_wrapfail(function_gen, "did not yield") else: res = hook_impl.function(*args) if res is not None: results.append(res) if firstresult: # halt further impl calls break except BaseException as exc: exception = exc finally: # Fast path - only new-style wrappers, no Result. if only_new_style_wrappers: if firstresult: # first result hooks return a single value result = results[0] if results else None else: result = results # run all wrapper post-yield blocks for teardown in reversed(teardowns): try: if exception is not None: teardown.throw(exception) # type: ignore[union-attr] else: teardown.send(result) # type: ignore[union-attr] # Following is unreachable for a well behaved hook wrapper. # Try to force finalizers otherwise postponed till GC action. # Note: close() may raise if generator handles GeneratorExit. teardown.close() # type: ignore[union-attr] except StopIteration as si: result = si.value exception = None continue except BaseException as e: exception = e continue _raise_wrapfail(teardown, "has second yield") # type: ignore[arg-type] if exception is not None: raise exception.with_traceback(exception.__traceback__) else: return result # Slow path - need to support old-style wrappers. else: if firstresult: # first result hooks return a single value outcome: Result[object | list[object]] = Result( results[0] if results else None, exception ) else: outcome = Result(results, exception) # run all wrapper post-yield blocks for teardown in reversed(teardowns): if isinstance(teardown, tuple): try: teardown[0].send(outcome) except StopIteration: pass except BaseException as e: _warn_teardown_exception(hook_name, teardown[1], e) raise else: _raise_wrapfail(teardown[0], "has second yield") else: try: if outcome._exception is not None: teardown.throw(outcome._exception) else: > teardown.send(outcome._result) ../pluggy/_callers.py:169: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @pytest.hookimpl(wrapper=True, tryfirst=True) def pytest_runtest_call() -> Generator[None, None, None]: > yield from unraisable_exception_runtest_hook() ../_pytest/unraisableexception.py:90: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def unraisable_exception_runtest_hook() -> Generator[None, None, None]: with catch_unraisable_exception() as cm: try: yield finally: if cm.unraisable: if cm.unraisable.err_msg is not None: err_msg = cm.unraisable.err_msg else: err_msg = "Exception ignored in" msg = f"{err_msg}: {cm.unraisable.object!r}\n\n" msg += "".join( traceback.format_exception( cm.unraisable.exc_type, cm.unraisable.exc_value, cm.unraisable.exc_traceback, ) ) > warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) E pytest.PytestUnraisableExceptionWarning: Exception ignored in: <socket.socket [closed] fd=-1, family=2, type=1, proto=6> E E Traceback (most recent call last): E File "/home/runner/miniconda3/envs/test/lib/python3.12/ctypes/__init__.py", line 518, in cast E return _cast(obj, obj, typ) E ^^^^^^^^^^^^^^^^^^^^ E ResourceWarning: unclosed <socket.socket [closed] fd=15, family=2, type=1, proto=6> ../_pytest/unraisableexception.py:80: PytestUnraisableExceptionWarning
Traceback (most recent call last): File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/urllib3/connectionpool.py", line 793, in urlopen response = self._make_request( ^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/urllib3/connectionpool.py", line 537, in _make_request response = conn.getresponse() ^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/urllib3/connection.py", line 466, in getresponse httplib_response = super().getresponse() ^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/http/client.py", line 1428, in getresponse response.begin() File "/home/runner/miniconda3/envs/test/lib/python3.12/http/client.py", line 331, in begin version, status, reason = self._read_status() ^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/http/client.py", line 292, in _read_status line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/socket.py", line 707, in readinto return self._sock.recv_into(b) ^^^^^^^^^^^^^^^^^^^^^^^ ConnectionResetError: [Errno 104] Connection reset by peer During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/requests/adapters.py", line 667, in send resp = conn.urlopen( ^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/urllib3/connectionpool.py", line 847, in urlopen retries = retries.increment( ^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/urllib3/util/retry.py", line 470, in increment raise reraise(type(error), error, _stacktrace) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/urllib3/util/util.py", line 38, in reraise raise value.with_traceback(tb) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/urllib3/connectionpool.py", line 793, in urlopen response = self._make_request( ^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/urllib3/connectionpool.py", line 537, in _make_request response = conn.getresponse() ^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/urllib3/connection.py", line 466, in getresponse httplib_response = super().getresponse() ^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/http/client.py", line 1428, in getresponse response.begin() File "/home/runner/miniconda3/envs/test/lib/python3.12/http/client.py", line 331, in begin version, status, reason = self._read_status() ^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/http/client.py", line 292, in _read_status line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/socket.py", line 707, in readinto return self._sock.recv_into(b) ^^^^^^^^^^^^^^^^^^^^^^^ urllib3.exceptions.ProtocolError: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/threadexception.py", line 87, in pytest_runtest_call yield from thread_exception_runtest_hook() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/unraisableexception.py", line 90, in pytest_runtest_call yield from unraisable_exception_runtest_hook() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield from self._runtest_for(item, "call") File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/capture.py", line 878, in pytest_runtest_call return (yield) ^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/skipping.py", line 257, in pytest_runtest_call return (yield) ^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 183, in pytest_runtest_call raise e File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 173, in pytest_runtest_call item.runtest() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 1632, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall raise exception.with_traceback(exception.__traceback__) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 162, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/nrl/tests/test_nrl.py", line 17, in test_nrl_type nrl_online = NRL(root='http://ds.iris.edu/NRL') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/core/util/decorator.py", line 49, in _deprecated return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/nrl/client.py", line 599, in __init__ super(self.__class__, self).__init__() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/nrl/client.py", line 67, in __init__ self.sensors = self._parse_ini(sensor_index) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/nrl/client.py", line 136, in _parse_ini cp = self._get_cp_from_ini(path) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/nrl/client.py", line 621, in _get_cp_from_ini with io.StringIO(self._download(path)) as buf: ^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/nrl/client.py", line 606, in _download r = requests.get(url) ^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/requests/api.py", line 73, in get return request("get", url, params=params, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/requests/api.py", line 59, in request return session.request(method=method, url=url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/requests/sessions.py", line 589, in request resp = self.send(prep, **send_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/requests/sessions.py", line 703, in send r = adapter.send(request, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/requests/adapters.py", line 682, in send raise ConnectionError(err, request=request) requests.exceptions.ConnectionError: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
Traceback (most recent call last): File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/syngine/client.py", line 183, in __read_to_stream st = obspy.read(buf) ^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/core/stream.py", line 209, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/core/util/base.py", line 625, in _generic_reader return callback_func(pathname_or_url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/core/util/decorator.py", line 143, in uncompress_file return func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/core/stream.py", line 254, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/core/util/base.py", line 406, in _read_from_plugin raise TypeError('Unknown format for file %s' % filename) TypeError: Unknown format for file <_io.BytesIO object at 0x7f6de2dbf290> During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/threadexception.py", line 87, in pytest_runtest_call yield from thread_exception_runtest_hook() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/unraisableexception.py", line 90, in pytest_runtest_call yield from unraisable_exception_runtest_hook() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield from self._runtest_for(item, "call") File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/capture.py", line 878, in pytest_runtest_call return (yield) ^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/skipping.py", line 257, in pytest_runtest_call return (yield) ^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 183, in pytest_runtest_call raise e File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 173, in pytest_runtest_call item.runtest() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 1632, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall raise exception.with_traceback(exception.__traceback__) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 162, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/syngine/tests/test_client.py", line 437, in test_reading_saczip_files st = self.c.get_waveforms( ^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/syngine/client.py", line 370, in get_waveforms return self.__read_to_stream(r=r) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/clients/syngine/client.py", line 194, in __read_to_stream st += obspy.read(buf_2) ^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/core/stream.py", line 209, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/core/util/base.py", line 625, in _generic_reader return callback_func(pathname_or_url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/core/util/decorator.py", line 143, in uncompress_file return func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/core/stream.py", line 254, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/core/util/base.py", line 426, in _read_from_plugin list_obj = read_format(filename, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/sac/core.py", line 356, in _read_sac return _internal_read_sac( ^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/sac/core.py", line 417, in _internal_read_sac tr = sac.to_obspy_trace(debug_headers=debug_headers, encoding=encoding_str, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/sac/sactrace.py", line 1304, in to_obspy_trace stats = _ut.sac_to_obspy_header( ^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/sac/util.py", line 260, in sac_to_obspy_header warnings.warn(msg) UserWarning: Sample spacing read from SAC file (2.500000000 when rounded to nanoseconds) was rounded of to microsecond precision (2.500000000) to avoid floating point issues when converting to sampling rate (see #3408)
Skipped tests (5)
Submodule | Test | Skip message |
---|---|---|
clients.fdsn | clients/fdsn/tests/test_client.py::TestClient::test_trim_stream_after_get_waveform | Skipped: data no longer available |
clients.fdsn | clients/fdsn/tests/test_client.py::TestClient::test_eida_token_resolution | Skipped: Token is expired |
clients.seedlink | clients/seedlink/tests/test_slclient.py::TestSLClient::test_info | Skipped: test must be started manually |
clients.seedlink | clients/seedlink/tests/test_slclient.py::TestSLClient::test_time_window | Skipped: test must be started manually |
clients.seedlink | clients/seedlink/tests/test_slclient.py::TestSLClient::test_issue708 | Skipped: test must be started manually |