#150472 Report by node trial-320208577- covering 2 tests from 0 modules resulted into 1 error

Report

ObsPy version
1.3.0.post0+148.g166e92c489.d…
GitHub Pull Request
-
Report file
JSON document
Total runtime
0.1 sec
Report date/time
Jan. 10, 2026, 9:08 a.m.

System / Python

Architecture
64bit
Machine
x86_64
Node
trial-320208577-trialrun-320208577-agent-238
Processor
Python Compiler
GCC 12.2.0
Python Implementation
CPython
Python Version
3.9.18
Release
5.10.135+
System
Linux
Version
#1 SMP Fri Nov 21 17:15:41 CST 2025

Dependencies

cartopy
---
decorator
5.2.1
flake8
---
geographiclib
---
lxml
6.0.2
matplotlib
3.9.4
numpy
2.0.2
obspy
1.3.0.post0+148.g166e92c489.dirty.obspy.master
pyproj
3.6.1
pytest
8.4.2
pytest-json-report
1.5.0
requests
2.32.5
scipy
1.13.1
setuptools
58.1.0
shapefile
---
sqlalchemy
2.0.44

Modules (0)

Module Errors / Failures Tracebacks
other 1 1
Summary 1 1

Tracebacks (1)

Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/_pytest/runner.py", line 344, in from_call
result: TResult | None = func()
File "/usr/local/lib/python3.9/site-packages/_pytest/runner.py", line 246, in <lambda>
lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise
File "/usr/local/lib/python3.9/site-packages/pluggy/_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
File "/usr/local/lib/python3.9/site-packages/pluggy/_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/usr/local/lib/python3.9/site-packages/pluggy/_callers.py", line 167, in _multicall
raise exception
File "/usr/local/lib/python3.9/site-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.9/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call
yield
File "/usr/local/lib/python3.9/site-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.9/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call
return (yield)
File "/usr/local/lib/python3.9/site-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.9/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper
return result.get_result()
File "/usr/local/lib/python3.9/site-packages/pluggy/_result.py", line 103, in get_result
raise exc.with_traceback(tb)
File "/usr/local/lib/python3.9/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper
res = yield
File "/usr/local/lib/python3.9/site-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.9/site-packages/_pytest/skipping.py", line 263, in pytest_runtest_call
return (yield)
File "/usr/local/lib/python3.9/site-packages/pluggy/_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
File "/usr/local/lib/python3.9/site-packages/_pytest/runner.py", line 178, in pytest_runtest_call
item.runtest()
File "/usr/local/lib/python3.9/site-packages/_pytest/python.py", line 1671, in runtest
self.ihook.pytest_pyfunc_call(pyfuncitem=self)
File "/usr/local/lib/python3.9/site-packages/pluggy/_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
File "/usr/local/lib/python3.9/site-packages/pluggy/_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/usr/local/lib/python3.9/site-packages/pluggy/_callers.py", line 167, in _multicall
raise exception
File "/usr/local/lib/python3.9/site-packages/pluggy/_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
File "/usr/local/lib/python3.9/site-packages/_pytest/python.py", line 157, in pytest_pyfunc_call
result = testfunction(**testargs)
File "/workspace/testbed/obspy/core/tests/test_stream.py", line 1697, in test_trim_consistent_start_end_time_nearest_sample
assert 3 == st[i].stats.npts
AssertionError: assert 3 == 4
+ where 4 = Stats({'sampling_rate': 1.0, 'delta': 1.0, 'starttime': UTCDateTime(1970, 1, 1, 0, 0, 4), 'endtime': UTCDateTime(1970, 1, 1, 0, 0, 7), 'npts': 4, 'calib': 1.0, 'network': '', 'station': '', 'location': '', 'channel': '', 'processing': ['ObsPy 1.3.0.post0+148.g166e92c489.dirty.obspy.master: trim(endtime=UTCDateTime(1970, 1, 1, 0, 0, 7)::fill_value=None::nearest_sample=True::pad=False::starttime=UTCDateTime(1970, 1, 1, 0, 0, 4))']}).npts
+ where Stats({'sampling_rate': 1.0, 'delta': 1.0, 'starttime': UTCDateTime(1970, 1, 1, 0, 0, 4), 'endtime': UTCDateTime(1970, 1, 1, 0, 0, 7), 'npts': 4, 'calib': 1.0, 'network': '', 'station': '', 'location': '', 'channel': '', 'processing': ['ObsPy 1.3.0.post0+148.g166e92c489.dirty.obspy.master: trim(endtime=UTCDateTime(1970, 1, 1, 0, 0, 7)::fill_value=None::nearest_sample=True::pad=False::starttime=UTCDateTime(1970, 1, 1, 0, 0, 4))']}) = <obspy.core.trace.Trace object at 0x7f53e42570a0>.stats

Slowest tests (1)

Runtime Test
0.012s core/tests/test_stream.py::TestStream::test_trim_nearest_sample