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

Report

ObsPy version
1.3.0.post0+83.g476a34aa24.ob…
GitHub Pull Request
-
Report file
JSON document
Total runtime
303.4 sec
Report date/time
April 26, 2022, 5:04 a.m.

System / Python

Architecture
64bit
Machine
x86_64
Node
gh-actions
Processor
x86_64
Python Compiler
GCC 10.3.0
Python Implementation
CPython
Python Version
3.10.4
Release
5.13.0-1021-azure
System
Linux
Version
#24~20.04.1-Ubuntu SMP Tue Mar 29 15:34:22 UTC 2022

Dependencies

cartopy
0.20.2
decorator
5.1.1
flake8
---
geographiclib
2.0
lxml
4.8.0
matplotlib
3.5.1
numpy
1.22.3
obspy
1.3.0.post0+83.g476a34aa24.obspy.master
pyproj
3.3.1
pytest
7.1.2
pytest-json-report
1.5.0
requests
2.27.1
scipy
1.8.0
setuptools
62.1.0
shapefile
---
sqlalchemy
1.4.35

Modules (58)

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

Tracebacks (8)

cls = <class '_pytest.runner.CallInfo'>
func = <function call_runtest_hook.<locals>.<lambda> at 0x7f74ba8c9bd0>
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()
/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/_pytest/runner.py:338:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> lambda: ihook(item=item, **kwds), when=when, reraise=reraise
)
/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/_pytest/runner.py:259:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <_HookCaller 'pytest_runtest_call'>, args = ()
kwargs = {'item': <DoctestItem obspy.clients.earthworm>}, 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)
/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/pluggy/_hooks.py:265:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <_pytest.config.PytestPluginManager object at 0x7f74bc1391b0>
hook_name = 'pytest_runtest_call'
methods = [<HookImpl plugin_name='runner', plugin=<module '_pytest.runner' from '/usr/share/miniconda3/envs/test/lib/python3.10/...c6a40>>, <HookImpl plugin_name='logging-plugin', plugin=<_pytest.logging.LoggingPlugin object at 0x7f74ba993250>>, ...]
kwargs = {'item': <DoctestItem obspy.clients.earthworm>}, 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)
/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/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.10/...c6a40>>, <HookImpl plugin_name='logging-plugin', plugin=<_pytest.logging.LoggingPlugin object at 0x7f74ba993250>>, ...]
caller_kwargs = {'item': <DoctestItem obspy.clients.earthworm>}
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)
/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/pluggy/_callers.py:55:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
@pytest.hookimpl(hookwrapper=True, tryfirst=True)
def pytest_runtest_call() -> Generator[None, None, None]:
> yield from unraisable_exception_runtest_hook()
/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/_pytest/unraisableexception.py:88:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
def unraisable_exception_runtest_hook() -> Generator[None, None, None]:
with catch_unraisable_exception() as cm:
yield
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 fd=-1, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0>
E
E Traceback (most recent call last):
E File "/home/runner/work/obspy/obspy/obspy/clients/earthworm/client.py", line 107, in get_waveforms
E tbl = read_wave_server_v(self.host, self.port, scnl, starttime,
E ResourceWarning: unclosed <socket.socket fd=14, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('10.1.0.188', 42102), raddr=('130.118.181.39', 16022)>
/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/_pytest/unraisableexception.py:78: PytestUnraisableExceptionWarning
cls = <class '_pytest.runner.CallInfo'>
func = <function call_runtest_hook.<locals>.<lambda> at 0x7f74a2c932e0>
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()
/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/_pytest/runner.py:338:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> lambda: ihook(item=item, **kwds), when=when, reraise=reraise
)
/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/_pytest/runner.py:259:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <_HookCaller 'pytest_runtest_call'>, args = ()
kwargs = {'item': <DoctestItem obspy.clients.earthworm.client.Client.get_waveforms>}
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)
/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/pluggy/_hooks.py:265:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <_pytest.config.PytestPluginManager object at 0x7f74bc1391b0>
hook_name = 'pytest_runtest_call'
methods = [<HookImpl plugin_name='runner', plugin=<module '_pytest.runner' from '/usr/share/miniconda3/envs/test/lib/python3.10/...c6a40>>, <HookImpl plugin_name='logging-plugin', plugin=<_pytest.logging.LoggingPlugin object at 0x7f74ba993250>>, ...]
kwargs = {'item': <DoctestItem obspy.clients.earthworm.client.Client.get_waveforms>}
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)
/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/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.10/...c6a40>>, <HookImpl plugin_name='logging-plugin', plugin=<_pytest.logging.LoggingPlugin object at 0x7f74ba993250>>, ...]
caller_kwargs = {'item': <DoctestItem obspy.clients.earthworm.client.Client.get_waveforms>}
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)
/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/pluggy/_callers.py:55:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
@pytest.hookimpl(hookwrapper=True, tryfirst=True)
def pytest_runtest_call() -> Generator[None, None, None]:
> yield from unraisable_exception_runtest_hook()
/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/_pytest/unraisableexception.py:88:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
def unraisable_exception_runtest_hook() -> Generator[None, None, None]:
with catch_unraisable_exception() as cm:
yield
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 fd=-1, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0>
E
E Traceback (most recent call last):
E File "/home/runner/work/obspy/obspy/obspy/clients/earthworm/client.py", line 107, in get_waveforms
E tbl = read_wave_server_v(self.host, self.port, scnl, starttime,
E ResourceWarning: unclosed <socket.socket fd=14, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('10.1.0.188', 42112), raddr=('130.118.181.39', 16022)>
/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/_pytest/unraisableexception.py:78: PytestUnraisableExceptionWarning
Traceback (most recent call last):
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/_pytest/runner.py", line 338, in from_call
result: Optional[TResult] = func()
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/_pytest/runner.py", line 259, in <lambda>
lambda: ihook(item=item, **kwds), when=when, reraise=reraise
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/pluggy/_hooks.py", line 265, in __call__
return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/pluggy/_manager.py", line 80, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/pluggy/_callers.py", line 55, in _multicall
gen.send(outcome)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 83, in pytest_runtest_setup
yield from unraisable_exception_runtest_hook()
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 78, in unraisable_exception_runtest_hook
warnings.warn(pytest.PytestUnraisableExceptionWarning(msg))
pytest.PytestUnraisableExceptionWarning: Exception ignored in: <socket.socket fd=-1, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0>
Traceback (most recent call last):
File "/home/runner/work/obspy/obspy/obspy/clients/earthworm/client.py", line 107, in get_waveforms
tbl = read_wave_server_v(self.host, self.port, scnl, starttime,
ResourceWarning: unclosed <socket.socket fd=14, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('10.1.0.188', 42116), raddr=('130.118.181.39', 16022)>
Traceback (most recent call last):
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/_pytest/runner.py", line 338, in from_call
result: Optional[TResult] = func()
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/_pytest/runner.py", line 259, in <lambda>
lambda: ihook(item=item, **kwds), when=when, reraise=reraise
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/pluggy/_hooks.py", line 265, in __call__
return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/pluggy/_manager.py", line 80, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/pluggy/_callers.py", line 55, in _multicall
gen.send(outcome)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 83, in pytest_runtest_setup
yield from unraisable_exception_runtest_hook()
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 78, in unraisable_exception_runtest_hook
warnings.warn(pytest.PytestUnraisableExceptionWarning(msg))
pytest.PytestUnraisableExceptionWarning: Exception ignored in: <socket.socket fd=-1, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0>
Traceback (most recent call last):
File "/home/runner/work/obspy/obspy/obspy/clients/earthworm/client.py", line 107, in get_waveforms
tbl = read_wave_server_v(self.host, self.port, scnl, starttime,
ResourceWarning: unclosed <socket.socket fd=14, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('10.1.0.188', 42120), raddr=('130.118.181.39', 16022)>
Traceback (most recent call last):
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/_pytest/runner.py", line 338, in from_call
result: Optional[TResult] = func()
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/_pytest/runner.py", line 259, in <lambda>
lambda: ihook(item=item, **kwds), when=when, reraise=reraise
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/pluggy/_hooks.py", line 265, in __call__
return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/pluggy/_manager.py", line 80, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/pluggy/_callers.py", line 55, in _multicall
gen.send(outcome)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 83, in pytest_runtest_setup
yield from unraisable_exception_runtest_hook()
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 78, in unraisable_exception_runtest_hook
warnings.warn(pytest.PytestUnraisableExceptionWarning(msg))
pytest.PytestUnraisableExceptionWarning: Exception ignored in: <socket.socket fd=-1, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0>
Traceback (most recent call last):
File "/home/runner/work/obspy/obspy/obspy/clients/earthworm/client.py", line 107, in get_waveforms
tbl = read_wave_server_v(self.host, self.port, scnl, starttime,
ResourceWarning: unclosed <socket.socket fd=14, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('10.1.0.188', 42134), raddr=('130.118.181.39', 16022)>
Traceback (most recent call last):
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/_pytest/runner.py", line 338, in from_call
result: Optional[TResult] = func()
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/_pytest/runner.py", line 259, in <lambda>
lambda: ihook(item=item, **kwds), when=when, reraise=reraise
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/pluggy/_hooks.py", line 265, in __call__
return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/pluggy/_manager.py", line 80, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/pluggy/_callers.py", line 55, in _multicall
gen.send(outcome)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 88, in pytest_runtest_call
yield from unraisable_exception_runtest_hook()
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 78, in unraisable_exception_runtest_hook
warnings.warn(pytest.PytestUnraisableExceptionWarning(msg))
pytest.PytestUnraisableExceptionWarning: Exception ignored in: <socket.socket fd=-1, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0>
Traceback (most recent call last):
File "/home/runner/work/obspy/obspy/obspy/clients/earthworm/client.py", line 107, in get_waveforms
tbl = read_wave_server_v(self.host, self.port, scnl, starttime,
ResourceWarning: unclosed <socket.socket fd=15, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('10.1.0.188', 42136), raddr=('130.118.181.39', 16022)>
200 Supports ``fnmatch`` wildcards, e.g. ``*`` and ``?``, in ``network``,
201 ``station``, ``location`` and ``channel``.
202
203 >>> client = Client('rtserver.ipgp.fr')
204 >>> info = client.get_info(station="FDFM")
205 >>> print(info)
206 [('G', 'FDFM')]
207 >>> info = client.get_info(station="FD?M", channel='*Z',
208 ... level='channel')
209 >>> print(info) # doctest: +NORMALIZE_WHITESPACE
Expected:
[('G', 'FDFM', '00', 'BHZ'), ('G', 'FDFM', '00', 'HHZ'),
('G', 'FDFM', '00', 'HNZ'), ('G', 'FDFM', '00', 'LHZ'),
('G', 'FDFM', '10', 'BHZ'), ('G', 'FDFM', '10', 'HHZ'),
('G', 'FDFM', '10', 'LHZ')]
Got:
[('G', 'FDFM', '00', 'BHZ'), ('G', 'FDFM', '00', 'HHZ'), ('G', 'FDFM', '00', 'HNZ'), ('G', 'FDFM', '00', 'LHZ')]
/home/runner/work/obspy/obspy/obspy/clients/seedlink/basic_client.py:209: DocTestFailure
078 >>> print(st) # doctest: +ELLIPSIS
079 1 Trace(s) in Stream:
080 G.FDFM.00.BHZ | 20... | 20.0 Hz, ... samples
081
082 Most servers support '?' single-character wildcard in location and
083 channel code fields:
084
085 >>> st = client.get_waveforms("G", "FDFM", "??", "B??", t, t + 5)
086 >>> st = st.sort(reverse=True)
087 >>> print(st) # doctest: +ELLIPSIS
Differences (unified diff with -expected +actual):
@@ -1,7 +1,4 @@
-6 Trace(s) in Stream:
-G.FDFM.10.BHZ | 20... | 20.0 Hz, ... samples
-G.FDFM.10.BHN | 20... | 20.0 Hz, ... samples
-G.FDFM.10.BHE | 20... | 20.0 Hz, ... samples
-G.FDFM.00.BHZ | 20... | 20.0 Hz, ... samples
-G.FDFM.00.BHN | 20... | 20.0 Hz, ... samples
-G.FDFM.00.BHE | 20... | 20.0 Hz, ... samples
+3 Trace(s) in Stream:
+G.FDFM.00.BHZ | 2022-04-26T09:39:11.150000Z - 2022-04-26T09:39:16.150000Z | 20.0 Hz, 101 samples
+G.FDFM.00.BHN | 2022-04-26T09:39:11.150000Z - 2022-04-26T09:39:16.150000Z | 20.0 Hz, 101 samples
+G.FDFM.00.BHE | 2022-04-26T09:39:11.150000Z - 2022-04-26T09:39:16.150000Z | 20.0 Hz, 101 samples
/home/runner/work/obspy/obspy/obspy/clients/seedlink/basic_client.py:87: DocTestFailure

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
9.521s clients/fdsn/tests/test_client.py::ClientTestCase::test_irisph5_event
8.475s clients/fdsn/tests/test_eidaws_routing_client.py::EIDAWSRoutingClientTestCase::test_get_waveforms_integration_test
8.255s clients/syngine/tests/test_client.py::ClientTestCase::test_get_available_models
7.436s clients/fdsn/tests/test_client.py::ClientTestCase::test_dataselect_bulk
5.884s clients/fdsn/tests/test_eidaws_routing_client.py::EIDAWSRoutingClientTestCase::test_get_stations_integration_test
4.227s clients/fdsn/tests/test_client.py::ClientTestCase::test_iris_example_queries_dataselect
4.130s clients/fdsn/tests/test_client.py::ClientTestCase::test_iris_example_queries_dataselect_discover_services_false
3.383s clients/syngine/tests/test_client.py::ClientTestCase::test_get_waveforms
3.279s clients/fdsn/mass_downloader/__init__.py::obspy.clients.fdsn.mass_downloader
3.132s clients/fdsn/tests/test_client.py::ClientTestCase::test_redirection_auth
3.115s clients/seedlink/tests/test_basic_client.py::ClientTestCase::test_multiple_waveform_requests_with_multiple_info_requests
2.922s clients/fdsn/client.py::obspy.clients.fdsn.client.Client.get_waveforms_bulk
2.815s clients/syngine/__init__.py::obspy.clients.syngine
2.443s clients/fdsn/client.py::obspy.clients.fdsn.client.Client.get_waveforms
2.371s clients/fdsn/tests/test_client.py::ClientTestCase::test_redirection
2.110s clients/fdsn/__init__.py::obspy.clients.fdsn
1.935s clients/iris/tests/test_client.py::ClientTestCase::test_resp
1.862s clients/fdsn/tests/test_federator_routing_client.py::FederatorRoutingClientTestCase::test_get_waveforms_integration_test
1.484s clients/iris/tests/test_client.py::ClientTestCase::test_evalresp
1.415s clients/fdsn/tests/test_eidaws_routing_client.py::EIDAWSRoutingClientTestCase::test_proper_no_data_exception_on_out_of_epoch_dates