#131692 Report by node gh-actions covering 201 tests from 59 modules resulted into 25 errors

Report

ObsPy version
1.2.0rc3.post0+1449.gb583fbed…
GitHub Pull Request
-
Report file
JSON document
Total runtime
239.9 sec
Report date/time
Dec. 6, 2022, 6:59 a.m.

System / Python

Architecture
64bit
Machine
x86_64
Node
gh-actions
Processor
x86_64
Python Compiler
GCC 10.4.0
Python Implementation
CPython
Python Version
3.11.0
Release
5.15.0-1023-azure
System
Linux
Version
#29~20.04.1-Ubuntu SMP Wed Oct 26 19:18:25 UTC 2022

Dependencies

cartopy
0.21.0
decorator
5.1.1
flake8
---
geographiclib
2.0
lxml
4.9.1
matplotlib
3.6.2
numpy
1.23.5
obspy
1.2.0rc3.post0+1449.gb583fbedaa.flixha.master
pyproj
3.4.0
pytest
7.2.0
pytest-json-report
1.5.0
requests
2.28.1
scipy
1.9.3
setuptools
65.5.1
shapefile
---
sqlalchemy
1.4.44

Modules (59)

Module Errors / Failures Tracebacks
obspy.clients.earthworm - -
obspy.clients.fdsn 25 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
obspy.clients.filesystem Not tested -
obspy.clients.iris - -
obspy.clients.neic - -
obspy.clients.nrl - -
obspy.clients.seedlink - -
obspy.clients.syngine - -
obspy.core - -
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.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 25 25

Tracebacks (25)

cls = <class '_pytest.runner.CallInfo'>
func = <function call_runtest_hook.<locals>.<lambda> at 0x7f9b7b1bb740>
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:339:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> lambda: ihook(item=item, **kwds), when=when, reraise=reraise
)
../_pytest/runner.py:260:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <_HookCaller 'pytest_runtest_call'>, args = ()
kwargs = {'item': <DoctestItem obspy.clients.fdsn>}, argname = 'item'
firstresult = False
def __call__(self, *args, **kwargs):
if args:
raise TypeError("hook calling supports only keyword arguments")
assert not self.is_historic()
# This is written to avoid expensive operations when not needed.
if self.spec:
for argname in self.spec.argnames:
if argname not in kwargs:
notincall = tuple(set(self.spec.argnames) - kwargs.keys())
warnings.warn(
"Argument(s) {} which are declared in the hookspec "
"can not be found in this hook call".format(notincall),
stacklevel=2,
)
break
firstresult = self.spec.opts.get("firstresult")
else:
firstresult = False
> return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
../pluggy/_hooks.py:265:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <_pytest.config.PytestPluginManager object at 0x7f9b8d715290>
hook_name = 'pytest_runtest_call'
methods = [<HookImpl plugin_name='runner', plugin=<module '_pytest.runner' from '/usr/share/miniconda3/envs/test/lib/python3.11/...d3c50>>, <HookImpl plugin_name='logging-plugin', plugin=<_pytest.logging.LoggingPlugin object at 0x7f9b8afe1f10>>, ...]
kwargs = {'item': <DoctestItem obspy.clients.fdsn>}, firstresult = False
def _hookexec(self, hook_name, methods, kwargs, firstresult):
# 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:80:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
hook_name = 'pytest_runtest_call'
hook_impls = [<HookImpl plugin_name='runner', plugin=<module '_pytest.runner' from '/usr/share/miniconda3/envs/test/lib/python3.11/...d3c50>>, <HookImpl plugin_name='logging-plugin', plugin=<_pytest.logging.LoggingPlugin object at 0x7f9b8afe1f10>>, ...]
caller_kwargs = {'item': <DoctestItem obspy.clients.fdsn>}, firstresult = False
def _multicall(hook_name, hook_impls, caller_kwargs, firstresult):
"""Execute a call into multiple python functions/methods and return the
result(s).
``caller_kwargs`` comes from _HookCaller.__call__().
"""
__tracebackhide__ = True
results = []
excinfo = None
try: # run impl and wrapper setup functions in a loop
teardowns = []
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:
try:
gen = hook_impl.function(*args)
next(gen) # first yield
teardowns.append(gen)
except StopIteration:
_raise_wrapfail(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:
excinfo = sys.exc_info()
finally:
if firstresult: # first result hooks return a single value
outcome = _Result(results[0] if results else None, excinfo)
else:
outcome = _Result(results, excinfo)
# run all wrapper post-yield blocks
for gen in reversed(teardowns):
try:
> gen.send(outcome)
../pluggy/_callers.py:55:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
@pytest.hookimpl(hookwrapper=True, tryfirst=True)
def pytest_runtest_call() -> Generator[None, None, None]:
> yield from thread_exception_runtest_hook()
../_pytest/threadexception.py:83:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
def thread_exception_runtest_hook() -> Generator[None, None, None]:
with catch_threading_exception() as cm:
yield
if cm.args:
thread_name = "<unknown>" if cm.args.thread is None else cm.args.thread.name
msg = f"Exception in thread {thread_name}\n\n"
msg += "".join(
traceback.format_exception(
cm.args.exc_type,
cm.args.exc_value,
cm.args.exc_traceback,
)
)
> warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg))
E pytest.PytestUnhandledThreadExceptionWarning: Exception in thread Thread-4
E
E Traceback (most recent call last):
E File "/usr/share/miniconda3/envs/test/lib/python3.11/threading.py", line 1038, in _bootstrap_inner
E self.run()
E File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/client.py", line 1543, in run
E code, data = download_url(
E ^^^^^^^^^^^^^
E File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/client.py", line 1929, in download_url
E data = f.read()
E ^^^^^^^^
E File "/usr/share/miniconda3/envs/test/lib/python3.11/gzip.py", line 301, in read
E return self._buffer.read(size)
E ^^^^^^^^^^^^^^^^^^^^^^^
E File "/usr/share/miniconda3/envs/test/lib/python3.11/_compression.py", line 118, in readall
E while data := self.read(sys.maxsize):
E ^^^^^^^^^^^^^^^^^^^^^^
E File "/usr/share/miniconda3/envs/test/lib/python3.11/gzip.py", line 499, in read
E if not self._read_gzip_header():
E ^^^^^^^^^^^^^^^^^^^^^^^^
E File "/usr/share/miniconda3/envs/test/lib/python3.11/gzip.py", line 468, in _read_gzip_header
E last_mtime = _read_gzip_header(self._fp)
E ^^^^^^^^^^^^^^^^^^^^^^^^^^^
E File "/usr/share/miniconda3/envs/test/lib/python3.11/gzip.py", line 428, in _read_gzip_header
E raise BadGzipFile('Not a gzipped file (%r)' % magic)
E gzip.BadGzipFile: Not a gzipped file (b'a\r')
../_pytest/threadexception.py:73: PytestUnhandledThreadExceptionWarning
153
154 Initializes an FDSN Web Service client.
155
156 >>> client = Client("IRIS")
157 >>> 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
/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/client.py:157: DocTestFailure
569
570 Query the station service of the FDSN client.
571
572 >>> client = Client("IRIS")
573 >>> starttime = UTCDateTime("2001-01-01")
574 >>> endtime = UTCDateTime("2001-01-02")
575 >>> 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 "/usr/share/miniconda3/envs/test/lib/python3.11/doctest.py", line 1350, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.clients.fdsn.client.Client.get_stations[3]>", line 1, in <module>
File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/client.py", line 740, in get_stations
raise ValueError(msg)
ValueError: The current client does not have a station service.
/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/client.py:575: UnexpectedException
1093 - an open file handle (or file-like object) with the request
1094
1095 >>> client = Client("IRIS")
1096 >>> t1 = UTCDateTime("2010-02-27T06:30:00.000")
1097 >>> t2 = t1 + 1
1098 >>> t3 = t1 + 3
1099 >>> bulk = [("IU", "ANMO", "*", "BHZ", t1, t2),
1100 ... ("IU", "AFI", "1?", "BHE", t1, t3),
1101 ... ("GR", "GRA1", "*", "BH*", t2, t3)]
1102 >>> inv = client.get_stations_bulk(bulk)
UNEXPECTED EXCEPTION: ValueError('The current client does not have a station service.')
Traceback (most recent call last):
File "/usr/share/miniconda3/envs/test/lib/python3.11/doctest.py", line 1350, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.clients.fdsn.client.Client.get_stations_bulk[5]>", line 1, in <module>
File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/client.py", line 1227, in get_stations_bulk
raise ValueError(msg)
ValueError: The current client does not have a station service.
/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/client.py:1102: UnexpectedException
784 IU.ADK.10.LHZ | 2010-02-27T06:30:00.069538Z - ... | 1.0 Hz, 5 samples
785 IU.AFI.10.LHZ | 2010-02-27T06:30:00.069538Z - ... | 1.0 Hz, 5 samples
786 IU.ANMO.10.LHZ | 2010-02-27T06:30:00.069538Z - ... | 1.0 Hz, 5 samples
787
788 Use ``attach_response=True`` to automatically add response information
789 to each trace. This can be used to remove response using
790 :meth:`~obspy.core.stream.Stream.remove_response`.
791
792 >>> t = UTCDateTime("2012-12-14T10:36:01.6Z")
793 >>> st = client.get_waveforms("TA", "E42A", "*", "BH?", t+300, t+400,
UNEXPECTED EXCEPTION: UserWarning('The current client does not have a station service.')
Traceback (most recent call last):
File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/client.py", line 905, in _attach_responses
inventories.append(self.get_stations(
^^^^^^^^^^^^^^^^^^
File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/client.py", line 740, in get_stations
raise ValueError(msg)
ValueError: The current client does not have a station service.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/share/miniconda3/envs/test/lib/python3.11/doctest.py", line 1350, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.clients.fdsn.client.Client.get_waveforms[8]>", line 1, in <module>
File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/client.py", line 881, in get_waveforms
self._attach_responses(st)
File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/client.py", line 909, in _attach_responses
warnings.warn(str(e))
UserWarning: The current client does not have a station service.
/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/client.py:793: UnexpectedException
972 GR.GRA1..BHZ | 2010-02-27T00:00:00... | 20.0 Hz, 40 samples
973 IU.ANMO.00.BHZ | 2010-02-27T00:00:00... | 20.0 Hz, 40 samples
974 IU.ANMO.10.BHZ | 2010-02-27T00:00:00... | 40.0 Hz, 80 samples
975 >>> t = UTCDateTime("2012-12-14T10:36:01.6Z")
976 >>> t1 = t + 300
977 >>> t2 = t + 400
978 >>> bulk = [("TA", "S42A", "*", "BHZ", t1, t2),
979 ... ("TA", "W42A", "*", "BHZ", t1, t2),
980 ... ("TA", "Z42A", "*", "BHZ", t1, t2)]
981 >>> st = client.get_waveforms_bulk(bulk, attach_response=True)
UNEXPECTED EXCEPTION: UserWarning('The current client does not have a station service.')
Traceback (most recent call last):
File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/client.py", line 905, in _attach_responses
inventories.append(self.get_stations(
^^^^^^^^^^^^^^^^^^
File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/client.py", line 740, in get_stations
raise ValueError(msg)
ValueError: The current client does not have a station service.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/share/miniconda3/envs/test/lib/python3.11/doctest.py", line 1350, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.clients.fdsn.client.Client.get_waveforms_bulk[16]>", line 1, in <module>
File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/client.py", line 1061, in get_waveforms_bulk
self._attach_responses(st)
File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/client.py", line 909, in _attach_responses
warnings.warn(str(e))
UserWarning: The current client does not have a station service.
/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/client.py:981: UnexpectedException
Traceback (most recent call last):
File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/tests/test_client.py", line 1517, in test_authentication_exceptions
self.assertRaises(FDSNUnauthorizedException,
File "/usr/share/miniconda3/envs/test/lib/python3.11/unittest/case.py", line 766, in assertRaises
return context.handle('assertRaises', args, kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/share/miniconda3/envs/test/lib/python3.11/unittest/case.py", line 237, in handle
callable_obj(*args, **kwargs)
File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/client.py", line 740, in get_stations
raise ValueError(msg)
ValueError: The current client does not have a station service.
Traceback (most recent call last):
File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/tests/test_client.py", line 1557, in test_bad_gateway_exception
self.assertRaises(FDSNBadGatewayException,
File "/usr/share/miniconda3/envs/test/lib/python3.11/unittest/case.py", line 766, in assertRaises
return context.handle('assertRaises', args, kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/share/miniconda3/envs/test/lib/python3.11/unittest/case.py", line 237, in handle
callable_obj(*args, **kwargs)
File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/client.py", line 740, in get_stations
raise ValueError(msg)
ValueError: The current client does not have a station service.
Traceback (most recent call last):
File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/tests/test_client.py", line 1576, in test_bad_request_exception
self.assertRaises(FDSNBadRequestException, self.client.get_stations)
File "/usr/share/miniconda3/envs/test/lib/python3.11/unittest/case.py", line 766, in assertRaises
return context.handle('assertRaises', args, kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/share/miniconda3/envs/test/lib/python3.11/unittest/case.py", line 237, in handle
callable_obj(*args, **kwargs)
File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/client.py", line 740, in get_stations
raise ValueError(msg)
ValueError: The current client does not have a station service.
Traceback (most recent call last):
File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/tests/test_client.py", line 833, in test_conflicting_params
self.assertRaises(FDSNInvalidRequestException,
File "/usr/share/miniconda3/envs/test/lib/python3.11/unittest/case.py", line 766, in assertRaises
return context.handle('assertRaises', args, kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/share/miniconda3/envs/test/lib/python3.11/unittest/case.py", line 237, in handle
callable_obj(*args, **kwargs)
File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/client.py", line 740, in get_stations
raise ValueError(msg)
ValueError: The current client does not have a station service.
Traceback (most recent call last):
File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/client.py", line 905, in _attach_responses
inventories.append(self.get_stations(
^^^^^^^^^^^^^^^^^^
File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/client.py", line 740, in get_stations
raise ValueError(msg)
ValueError: The current client does not have a station service.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/tests/test_client.py", line 1070, in test_get_waveform_attach_response
st = client.get_waveforms_bulk(bulk, attach_response=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/client.py", line 1061, in get_waveforms_bulk
self._attach_responses(st)
File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/client.py", line 909, in _attach_responses
warnings.warn(str(e))
UserWarning: The current client does not have a station service.
Traceback (most recent call last):
File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/tests/test_client.py", line 862, in test_help_function_with_iris
self.assertTrue(got[-2].startswith('Available catalogs:'))
File "/usr/share/miniconda3/envs/test/lib/python3.11/unittest/case.py", line 715, in assertTrue
raise self.failureException(msg)
AssertionError: False is not true
Traceback (most recent call last):
File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/tests/test_client.py", line 412, in test_iris_event_catalog_availability
self.assertEqual(set(self.client.services["available_event_catalogs"]),
File "/usr/share/miniconda3/envs/test/lib/python3.11/unittest/case.py", line 873, in assertEqual
assertion_func(first, second, msg=msg)
File "/usr/share/miniconda3/envs/test/lib/python3.11/unittest/case.py", line 1133, in assertSetEqual
self.fail(self._formatMessage(msg, standardMsg))
File "/usr/share/miniconda3/envs/test/lib/python3.11/unittest/case.py", line 703, in fail
raise self.failureException(msg)
AssertionError: Items in the first set but not the second:
'ISC\n '
'GCMT\n '
'NEIC PDE\n '
Items in the second set but not the first:
'ISC'
'GCMT'
'NEIC PDE'
Traceback (most recent call last):
File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/tests/test_client.py", line 532, in test_iris_example_queries_station
inv = client.get_stations(latitude=-56.1, longitude=-26.7,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/client.py", line 740, in get_stations
raise ValueError(msg)
ValueError: The current client does not have a station service.
Traceback (most recent call last):
File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/tests/test_client.py", line 286, in test_location_parameters
self.client._create_url_from_parameters(
File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/client.py", line 1277, in _create_url_from_parameters
service_params = self.services[service]
~~~~~~~~~~~~~^^^^^^^^^
KeyError: 'station'
Traceback (most recent call last):
File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/tests/test_client.py", line 1489, in test_no_data_exception
self.assertRaises(FDSNNoDataException, self.client.get_stations)
File "/usr/share/miniconda3/envs/test/lib/python3.11/unittest/case.py", line 766, in assertRaises
return context.handle('assertRaises', args, kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/share/miniconda3/envs/test/lib/python3.11/unittest/case.py", line 237, in handle
callable_obj(*args, **kwargs)
File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/client.py", line 740, in get_stations
raise ValueError(msg)
ValueError: The current client does not have a station service.
Traceback (most recent call last):
File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/tests/test_client.py", line 1547, in test_not_implemented_exception
self.assertRaises(FDSNNotImplementedException,
File "/usr/share/miniconda3/envs/test/lib/python3.11/unittest/case.py", line 766, in assertRaises
return context.handle('assertRaises', args, kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/share/miniconda3/envs/test/lib/python3.11/unittest/case.py", line 237, in handle
callable_obj(*args, **kwargs)
File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/client.py", line 740, in get_stations
raise ValueError(msg)
ValueError: The current client does not have a station service.
Traceback (most recent call last):
File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/tests/test_client.py", line 1498, in test_request_too_large_exception
self.assertRaises(FDSNRequestTooLargeException,
File "/usr/share/miniconda3/envs/test/lib/python3.11/unittest/case.py", line 766, in assertRaises
return context.handle('assertRaises', args, kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/share/miniconda3/envs/test/lib/python3.11/unittest/case.py", line 237, in handle
callable_obj(*args, **kwargs)
File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/client.py", line 740, in get_stations
raise ValueError(msg)
ValueError: The current client does not have a station service.
Traceback (most recent call last):
File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/tests/test_client.py", line 1584, in test_server_exception
self.assertRaises(FDSNInternalServerException,
File "/usr/share/miniconda3/envs/test/lib/python3.11/unittest/case.py", line 766, in assertRaises
return context.handle('assertRaises', args, kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/share/miniconda3/envs/test/lib/python3.11/unittest/case.py", line 237, in handle
callable_obj(*args, **kwargs)
File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/client.py", line 740, in get_stations
raise ValueError(msg)
ValueError: The current client does not have a station service.
Traceback (most recent call last):
File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/tests/test_client.py", line 365, in test_service_discovery_iris
self.assertEqual(set(client.services.keys()),
File "/usr/share/miniconda3/envs/test/lib/python3.11/unittest/case.py", line 873, in assertEqual
assertion_func(first, second, msg=msg)
File "/usr/share/miniconda3/envs/test/lib/python3.11/unittest/case.py", line 1133, in assertSetEqual
self.fail(self._formatMessage(msg, standardMsg))
File "/usr/share/miniconda3/envs/test/lib/python3.11/unittest/case.py", line 703, in fail
raise self.failureException(msg)
AssertionError: Items in the second set but not the first:
'station'
Traceback (most recent call last):
File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/tests/test_client.py", line 1567, in test_service_unavailable_exception
self.assertRaises(FDSNServiceUnavailableException,
File "/usr/share/miniconda3/envs/test/lib/python3.11/unittest/case.py", line 766, in assertRaises
return context.handle('assertRaises', args, kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/share/miniconda3/envs/test/lib/python3.11/unittest/case.py", line 237, in handle
callable_obj(*args, **kwargs)
File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/client.py", line 740, in get_stations
raise ValueError(msg)
ValueError: The current client does not have a station service.
Traceback (most recent call last):
File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/tests/test_client.py", line 1021, in test_station_bulk
inv = client.get_stations_bulk(bulk, level="station")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/client.py", line 1227, in get_stations_bulk
raise ValueError(msg)
ValueError: The current client does not have a station service.
Traceback (most recent call last):
File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/tests/test_client.py", line 917, in test_str_method
self.assertEqual(got, expected, failmsg(got, expected))
File "/usr/share/miniconda3/envs/test/lib/python3.11/unittest/case.py", line 873, in assertEqual
assertion_func(first, second, msg=msg)
File "/usr/share/miniconda3/envs/test/lib/python3.11/unittest/case.py", line 1079, in assertListEqual
self.assertSequenceEqual(list1, list2, msg, seq_type=list)
File "/usr/share/miniconda3/envs/test/lib/python3.11/unittest/case.py", line 1061, in assertSequenceEqual
self.fail(msg)
File "/usr/share/miniconda3/envs/test/lib/python3.11/unittest/case.py", line 703, in fail
raise self.failureException(msg)
AssertionError: Lists differ: ['FDS[114 chars].X) 'available_event_catalogs' 'available_even[183 chars]es.'] != ['FDS[114 chars].X) 'station' (vX.X.X) 'available_event_catalo[202 chars]es.']
First differing element 1:
"Avai[51 chars].X) 'available_event_catalogs' 'available_event_contributors'"
"Avai[51 chars].X) 'station' (vX.X.X) 'available_event_catalo[30 chars]ors'"
['FDSN Webservice Client (base url: http://service.iris.edu)',
- "Available Services: 'dataselect' (vX.X.X) 'event' (vX.X.X) "
+ "Available Services: 'dataselect' (vX.X.X) 'event' (vX.X.X) 'station' "
? ++++++++++
- "'available_event_catalogs' 'available_event_contributors'",
+ "(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.'] :
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.']
Traceback (most recent call last):
File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/tests/test_client.py", line 1530, in test_timeout_exception
self.assertRaises(FDSNTimeoutException, self.client.get_stations)
File "/usr/share/miniconda3/envs/test/lib/python3.11/unittest/case.py", line 766, in assertRaises
return context.handle('assertRaises', args, kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/share/miniconda3/envs/test/lib/python3.11/unittest/case.py", line 237, in handle
callable_obj(*args, **kwargs)
File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/client.py", line 740, in get_stations
raise ValueError(msg)
ValueError: The current client does not have a station service.
Traceback (most recent call last):
File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/tests/test_client.py", line 1593, in test_too_many_requests_exception
self.assertRaises(FDSNTooManyRequestsException,
File "/usr/share/miniconda3/envs/test/lib/python3.11/unittest/case.py", line 766, in assertRaises
return context.handle('assertRaises', args, kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/share/miniconda3/envs/test/lib/python3.11/unittest/case.py", line 237, in handle
callable_obj(*args, **kwargs)
File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/client.py", line 740, in get_stations
raise ValueError(msg)
ValueError: The current client does not have a station service.

Skipped tests (5)

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

Slowest tests (20)

Runtime Test
81.589s clients/earthworm/__init__.py::obspy.clients.earthworm
10.430s clients/fdsn/tests/test_client.py::ClientTestCase::test_dataselect_bulk
8.757s clients/syngine/tests/test_client.py::ClientTestCase::test_get_available_models
7.657s clients/fdsn/tests/test_client.py::ClientTestCase::test_irisph5_event
7.191s clients/fdsn/tests/test_eidaws_routing_client.py::EIDAWSRoutingClientTestCase::test_get_waveforms_integration_test
6.150s clients/fdsn/tests/test_client.py::ClientTestCase::test_iris_example_queries_dataselect_discover_services_false
5.197s clients/syngine/tests/test_client.py::ClientTestCase::test_get_waveforms
4.566s clients/fdsn/tests/test_client.py::ClientTestCase::test_iris_example_queries_dataselect
4.360s clients/fdsn/tests/test_client.py::ClientTestCase::test_no_service_exception
3.992s clients/fdsn/tests/test_client.py::ClientTestCase::test_redirection
3.863s clients/fdsn/tests/test_eidaws_routing_client.py::EIDAWSRoutingClientTestCase::test_get_stations_integration_test
3.822s clients/syngine/__init__.py::obspy.clients.syngine
3.766s clients/fdsn/tests/test_client.py::ClientTestCase::test_redirection_auth
3.406s clients/nrl/client.py::obspy.clients.nrl.client.NRL.get_response
3.255s clients/seedlink/basic_client.py::obspy.clients.seedlink.basic_client.Client.get_waveforms
3.125s clients/iris/tests/test_client.py::ClientTestCase::test_resp
3.113s clients/iris/tests/test_client.py::ClientTestCase::test_evalresp
2.613s clients/seedlink/tests/test_basic_client.py::ClientTestCase::test_multiple_waveform_requests_with_multiple_info_requests
2.546s clients/syngine/client.py::obspy.clients.syngine.client.Client.get_waveforms_bulk
2.481s clients/iris/tests/test_client.py::ClientTestCase::test_flinnengdahl