#145667 Report by node iv-ydxonjvp4wxjd covering 201 tests from 1 modules resulted into 26 errors
Report
- ObsPy version
- 1.3.0.post0+72.g356ed4e0a6.di…
- GitHub Pull Request
- -
- Report file
- JSON document
- Total runtime
- 16.7 sec
- Report date/time
- Aug. 24, 2025, 6:08 a.m.
System / Python
- Architecture
- 64bit
- Machine
- x86_64
- Node
- iv-ydxonjvp4wxjd1tvsqbs
- Processor
- x86_64
- Python Compiler
- GCC 11.2.0
- Python Implementation
- CPython
- Python Version
- 3.9.21
- Release
- 5.15.0-91-generic
- System
- Linux
- Version
- #101-Ubuntu SMP Tue Nov 14 13:30:08 UTC 2023
Dependencies
- cartopy
- ---
- decorator
- 5.2.1
- flake8
- ---
- geographiclib
- ---
- lxml
- 5.4.0
- matplotlib
- 3.9.4
- numpy
- 2.0.2
- obspy
- 1.3.0.post0+72.g356ed4e0a6.dirty
- pyproj
- 3.6.1
- pytest
- 8.3.5
- pytest-json-report
- 1.5.0
- requests
- 2.32.3
- scipy
- 1.13.1
- setuptools
- 80.9.0
- shapefile
- ---
- sqlalchemy
- 2.0.41
Modules (1)
| Module | Errors / Failures | Tracebacks | ||||
|---|---|---|---|---|---|---|
| obspy.signal | 26 | 201 | 199 | 2 | 15.13s | 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 26 |
| Summary | 26 | 201 | 199 | 2 | 16.67s | 26 |
Tracebacks (26)
Traceback (most recent call last): File "/opt/miniconda3/envs/testbed/lib/python3.9/unittest/case.py", line 59, in testPartExecutor yield File "/opt/miniconda3/envs/testbed/lib/python3.9/unittest/case.py", line 588, in run self._callSetUp() File "/opt/miniconda3/envs/testbed/lib/python3.9/unittest/case.py", line 547, in _callSetUp self.setUp() File "/workspace/obspy__obspy__0.0/obspy/signal/tests/test_array_analysis.py", line 29, in setUp self.ts1.fill(np.NaN) File "/opt/miniconda3/envs/testbed/lib/python3.9/site-packages/numpy/__init__.py", line 397, in __getattr__ raise AttributeError( AttributeError: `np.NaN` was removed in the NumPy 2.0 release. Use `np.nan` instead.
Traceback (most recent call last): File "/opt/miniconda3/envs/testbed/lib/python3.9/unittest/case.py", line 59, in testPartExecutor yield File "/opt/miniconda3/envs/testbed/lib/python3.9/unittest/case.py", line 588, in run self._callSetUp() File "/opt/miniconda3/envs/testbed/lib/python3.9/unittest/case.py", line 547, in _callSetUp self.setUp() File "/workspace/obspy__obspy__0.0/obspy/signal/tests/test_array_analysis.py", line 29, in setUp self.ts1.fill(np.NaN) File "/opt/miniconda3/envs/testbed/lib/python3.9/site-packages/numpy/__init__.py", line 397, in __getattr__ raise AttributeError( AttributeError: `np.NaN` was removed in the NumPy 2.0 release. Use `np.nan` instead.
Traceback (most recent call last): File "/opt/miniconda3/envs/testbed/lib/python3.9/unittest/case.py", line 59, in testPartExecutor yield File "/opt/miniconda3/envs/testbed/lib/python3.9/unittest/case.py", line 588, in run self._callSetUp() File "/opt/miniconda3/envs/testbed/lib/python3.9/unittest/case.py", line 547, in _callSetUp self.setUp() File "/workspace/obspy__obspy__0.0/obspy/signal/tests/test_array_analysis.py", line 29, in setUp self.ts1.fill(np.NaN) File "/opt/miniconda3/envs/testbed/lib/python3.9/site-packages/numpy/__init__.py", line 397, in __getattr__ raise AttributeError( AttributeError: `np.NaN` was removed in the NumPy 2.0 release. Use `np.nan` instead.
Traceback (most recent call last): File "/opt/miniconda3/envs/testbed/lib/python3.9/unittest/case.py", line 59, in testPartExecutor yield File "/opt/miniconda3/envs/testbed/lib/python3.9/unittest/case.py", line 588, in run self._callSetUp() File "/opt/miniconda3/envs/testbed/lib/python3.9/unittest/case.py", line 547, in _callSetUp self.setUp() File "/workspace/obspy__obspy__0.0/obspy/signal/tests/test_array_analysis.py", line 29, in setUp self.ts1.fill(np.NaN) File "/opt/miniconda3/envs/testbed/lib/python3.9/site-packages/numpy/__init__.py", line 397, in __getattr__ raise AttributeError( AttributeError: `np.NaN` was removed in the NumPy 2.0 release. Use `np.nan` instead.
Traceback (most recent call last): File "/opt/miniconda3/envs/testbed/lib/python3.9/unittest/case.py", line 59, in testPartExecutor yield File "/opt/miniconda3/envs/testbed/lib/python3.9/unittest/case.py", line 588, in run self._callSetUp() File "/opt/miniconda3/envs/testbed/lib/python3.9/unittest/case.py", line 547, in _callSetUp self.setUp() File "/workspace/obspy__obspy__0.0/obspy/signal/tests/test_cpxtrace.py", line 85, in setUp util.enframe(self.data, signal.hamming(self.n), self.inc) AttributeError: module 'scipy.signal' has no attribute 'hamming'
Traceback (most recent call last): File "/opt/miniconda3/envs/testbed/lib/python3.9/unittest/case.py", line 59, in testPartExecutor yield File "/opt/miniconda3/envs/testbed/lib/python3.9/unittest/case.py", line 588, in run self._callSetUp() File "/opt/miniconda3/envs/testbed/lib/python3.9/unittest/case.py", line 547, in _callSetUp self.setUp() File "/workspace/obspy__obspy__0.0/obspy/signal/tests/test_cpxtrace.py", line 85, in setUp util.enframe(self.data, signal.hamming(self.n), self.inc) AttributeError: module 'scipy.signal' has no attribute 'hamming'
Traceback (most recent call last): File "/opt/miniconda3/envs/testbed/lib/python3.9/unittest/case.py", line 59, in testPartExecutor yield File "/opt/miniconda3/envs/testbed/lib/python3.9/unittest/case.py", line 588, in run self._callSetUp() File "/opt/miniconda3/envs/testbed/lib/python3.9/unittest/case.py", line 547, in _callSetUp self.setUp() File "/workspace/obspy__obspy__0.0/obspy/signal/tests/test_cpxtrace.py", line 85, in setUp util.enframe(self.data, signal.hamming(self.n), self.inc) AttributeError: module 'scipy.signal' has no attribute 'hamming'
Traceback (most recent call last): File "/opt/miniconda3/envs/testbed/lib/python3.9/unittest/case.py", line 59, in testPartExecutor yield File "/opt/miniconda3/envs/testbed/lib/python3.9/unittest/case.py", line 588, in run self._callSetUp() File "/opt/miniconda3/envs/testbed/lib/python3.9/unittest/case.py", line 547, in _callSetUp self.setUp() File "/workspace/obspy__obspy__0.0/obspy/signal/tests/test_cpxtrace.py", line 85, in setUp util.enframe(self.data, signal.hamming(self.n), self.inc) AttributeError: module 'scipy.signal' has no attribute 'hamming'
Traceback (most recent call last): File "/opt/miniconda3/envs/testbed/lib/python3.9/unittest/case.py", line 59, in testPartExecutor yield File "/opt/miniconda3/envs/testbed/lib/python3.9/unittest/case.py", line 592, in run self._callTestMethod(testMethod) File "/opt/miniconda3/envs/testbed/lib/python3.9/unittest/case.py", line 550, in _callTestMethod method() File "/workspace/obspy__obspy__0.0/obspy/signal/tests/test_invsim.py", line 466, in test_evalresp_seed_identifiers_work rel_diff = np.abs(response_2 - response_1).ptp() / \ AttributeError: `ptp` was removed from the ndarray class in NumPy 2.0. Use np.ptp(arr, ...) instead.
Traceback (most recent call last): File "/opt/miniconda3/envs/testbed/lib/python3.9/unittest/case.py", line 59, in testPartExecutor yield File "/opt/miniconda3/envs/testbed/lib/python3.9/unittest/case.py", line 592, in run self._callTestMethod(testMethod) File "/opt/miniconda3/envs/testbed/lib/python3.9/unittest/case.py", line 550, in _callTestMethod method() File "/workspace/obspy__obspy__0.0/obspy/signal/tests/test_calibration.py", line 79, in test_relcal_using_traces freq, amp, phase = rel_calib_stack(st1, st2, calfile, 20, smooth=10, File "/workspace/obspy__obspy__0.0/obspy/signal/calibration.py", line 88, in rel_calib_stack spectral_helper(tr1, tr1, NFFT=nfft, Fs=sampfreq, noverlap=noverlap) File "/workspace/obspy__obspy__0.0/obspy/signal/calibration.py", line 222, in spectral_helper p_xy = np.zeros((num_freqs, n), np.complex_) File "/opt/miniconda3/envs/testbed/lib/python3.9/site-packages/numpy/__init__.py", line 397, in __getattr__ raise AttributeError( AttributeError: `np.complex_` was removed in the NumPy 2.0 release. Use `np.complex128` instead.
Traceback (most recent call last): File "/opt/miniconda3/envs/testbed/lib/python3.9/unittest/case.py", line 59, in testPartExecutor yield File "/opt/miniconda3/envs/testbed/lib/python3.9/unittest/case.py", line 592, in run self._callTestMethod(testMethod) File "/opt/miniconda3/envs/testbed/lib/python3.9/unittest/case.py", line 550, in _callTestMethod method() File "/workspace/obspy__obspy__0.0/obspy/signal/tests/test_calibration.py", line 130, in test_relcal_using_dict freq, amp, phase = rel_calib_stack(st1, st2, calfile, 20, smooth=10, File "/workspace/obspy__obspy__0.0/obspy/signal/calibration.py", line 88, in rel_calib_stack spectral_helper(tr1, tr1, NFFT=nfft, Fs=sampfreq, noverlap=noverlap) File "/workspace/obspy__obspy__0.0/obspy/signal/calibration.py", line 222, in spectral_helper p_xy = np.zeros((num_freqs, n), np.complex_) File "/opt/miniconda3/envs/testbed/lib/python3.9/site-packages/numpy/__init__.py", line 397, in __getattr__ raise AttributeError( AttributeError: `np.complex_` was removed in the NumPy 2.0 release. Use `np.complex128` instead.
Traceback (most recent call last): File "/opt/miniconda3/envs/testbed/lib/python3.9/unittest/case.py", line 59, in testPartExecutor yield File "/opt/miniconda3/envs/testbed/lib/python3.9/unittest/case.py", line 592, in run self._callTestMethod(testMethod) File "/opt/miniconda3/envs/testbed/lib/python3.9/unittest/case.py", line 550, in _callTestMethod method() File "/workspace/obspy__obspy__0.0/obspy/signal/tests/test_calibration.py", line 103, in test_relcal_different_overlaps freq, amp, phase = rel_calib_stack( File "/workspace/obspy__obspy__0.0/obspy/signal/calibration.py", line 88, in rel_calib_stack spectral_helper(tr1, tr1, NFFT=nfft, Fs=sampfreq, noverlap=noverlap) File "/workspace/obspy__obspy__0.0/obspy/signal/calibration.py", line 222, in spectral_helper p_xy = np.zeros((num_freqs, n), np.complex_) File "/opt/miniconda3/envs/testbed/lib/python3.9/site-packages/numpy/__init__.py", line 397, in __getattr__ raise AttributeError( AttributeError: `np.complex_` was removed in the NumPy 2.0 release. Use `np.complex128` instead.
Traceback (most recent call last): File "/opt/miniconda3/envs/testbed/lib/python3.9/unittest/case.py", line 59, in testPartExecutor yield File "/opt/miniconda3/envs/testbed/lib/python3.9/unittest/case.py", line 592, in run self._callTestMethod(testMethod) File "/opt/miniconda3/envs/testbed/lib/python3.9/unittest/case.py", line 550, in _callTestMethod method() File "/workspace/obspy__obspy__0.0/obspy/signal/tests/test_calibration.py", line 35, in test_relcal_sts2_vs_unknown freq, amp, phase = rel_calib_stack(st1, st2, calfile, 20, File "/workspace/obspy__obspy__0.0/obspy/signal/calibration.py", line 88, in rel_calib_stack spectral_helper(tr1, tr1, NFFT=nfft, Fs=sampfreq, noverlap=noverlap) File "/workspace/obspy__obspy__0.0/obspy/signal/calibration.py", line 222, in spectral_helper p_xy = np.zeros((num_freqs, n), np.complex_) File "/opt/miniconda3/envs/testbed/lib/python3.9/site-packages/numpy/__init__.py", line 397, in __getattr__ raise AttributeError( AttributeError: `np.complex_` was removed in the NumPy 2.0 release. Use `np.complex128` instead.
Traceback (most recent call last): File "/opt/miniconda3/envs/testbed/lib/python3.9/unittest/case.py", line 59, in testPartExecutor yield File "/opt/miniconda3/envs/testbed/lib/python3.9/unittest/case.py", line 592, in run self._callTestMethod(testMethod) File "/opt/miniconda3/envs/testbed/lib/python3.9/unittest/case.py", line 550, in _callTestMethod method() File "/workspace/obspy__obspy__0.0/obspy/signal/tests/test_quality_control.py", line 272, in test_extraction_fixed_header_flags _create_mseed_file(tf1.name, record_count=35, File "/workspace/obspy__obspy__0.0/obspy/io/mseed/tests/test_mseed_util.py", line 75, in _create_mseed_file arr[:flags[key][name]] = 1 << _i OverflowError: Python integer 128 out of bounds for int8
Traceback (most recent call last): File "/opt/miniconda3/envs/testbed/lib/python3.9/unittest/case.py", line 59, in testPartExecutor yield File "/opt/miniconda3/envs/testbed/lib/python3.9/unittest/case.py", line 588, in run self._callSetUp() File "/opt/miniconda3/envs/testbed/lib/python3.9/unittest/case.py", line 547, in _callSetUp self.setUp() File "/workspace/obspy__obspy__0.0/obspy/signal/tests/test_freqattributes.py", line 88, in setUp util.enframe(self.data, signal.hamming(self.n), self.inc) AttributeError: module 'scipy.signal' has no attribute 'hamming'
Traceback (most recent call last): File "/opt/miniconda3/envs/testbed/lib/python3.9/unittest/case.py", line 59, in testPartExecutor yield File "/opt/miniconda3/envs/testbed/lib/python3.9/unittest/case.py", line 588, in run self._callSetUp() File "/opt/miniconda3/envs/testbed/lib/python3.9/unittest/case.py", line 547, in _callSetUp self.setUp() File "/workspace/obspy__obspy__0.0/obspy/signal/tests/test_freqattributes.py", line 88, in setUp util.enframe(self.data, signal.hamming(self.n), self.inc) AttributeError: module 'scipy.signal' has no attribute 'hamming'
Traceback (most recent call last): File "/opt/miniconda3/envs/testbed/lib/python3.9/unittest/case.py", line 59, in testPartExecutor yield File "/opt/miniconda3/envs/testbed/lib/python3.9/unittest/case.py", line 588, in run self._callSetUp() File "/opt/miniconda3/envs/testbed/lib/python3.9/unittest/case.py", line 547, in _callSetUp self.setUp() File "/workspace/obspy__obspy__0.0/obspy/signal/tests/test_freqattributes.py", line 88, in setUp util.enframe(self.data, signal.hamming(self.n), self.inc) AttributeError: module 'scipy.signal' has no attribute 'hamming'
Traceback (most recent call last): File "/opt/miniconda3/envs/testbed/lib/python3.9/unittest/case.py", line 59, in testPartExecutor yield File "/opt/miniconda3/envs/testbed/lib/python3.9/unittest/case.py", line 588, in run self._callSetUp() File "/opt/miniconda3/envs/testbed/lib/python3.9/unittest/case.py", line 547, in _callSetUp self.setUp() File "/workspace/obspy__obspy__0.0/obspy/signal/tests/test_freqattributes.py", line 88, in setUp util.enframe(self.data, signal.hamming(self.n), self.inc) AttributeError: module 'scipy.signal' has no attribute 'hamming'
Traceback (most recent call last): File "/opt/miniconda3/envs/testbed/lib/python3.9/unittest/case.py", line 59, in testPartExecutor yield File "/opt/miniconda3/envs/testbed/lib/python3.9/unittest/case.py", line 588, in run self._callSetUp() File "/opt/miniconda3/envs/testbed/lib/python3.9/unittest/case.py", line 547, in _callSetUp self.setUp() File "/workspace/obspy__obspy__0.0/obspy/signal/tests/test_freqattributes.py", line 88, in setUp util.enframe(self.data, signal.hamming(self.n), self.inc) AttributeError: module 'scipy.signal' has no attribute 'hamming'
Traceback (most recent call last): File "/opt/miniconda3/envs/testbed/lib/python3.9/unittest/case.py", line 59, in testPartExecutor yield File "/opt/miniconda3/envs/testbed/lib/python3.9/unittest/case.py", line 588, in run self._callSetUp() File "/opt/miniconda3/envs/testbed/lib/python3.9/unittest/case.py", line 547, in _callSetUp self.setUp() File "/workspace/obspy__obspy__0.0/obspy/signal/tests/test_freqattributes.py", line 88, in setUp util.enframe(self.data, signal.hamming(self.n), self.inc) AttributeError: module 'scipy.signal' has no attribute 'hamming'
Traceback (most recent call last): File "/opt/miniconda3/envs/testbed/lib/python3.9/unittest/case.py", line 59, in testPartExecutor yield File "/opt/miniconda3/envs/testbed/lib/python3.9/unittest/case.py", line 588, in run self._callSetUp() File "/opt/miniconda3/envs/testbed/lib/python3.9/unittest/case.py", line 547, in _callSetUp self.setUp() File "/workspace/obspy__obspy__0.0/obspy/signal/tests/test_polarization.py", line 60, in setUp util.enframe(data_z, signal.hamming(n), inc) AttributeError: module 'scipy.signal' has no attribute 'hamming'
Traceback (most recent call last): File "/opt/miniconda3/envs/testbed/lib/python3.9/unittest/case.py", line 59, in testPartExecutor yield File "/opt/miniconda3/envs/testbed/lib/python3.9/unittest/case.py", line 588, in run self._callSetUp() File "/opt/miniconda3/envs/testbed/lib/python3.9/unittest/case.py", line 547, in _callSetUp self.setUp() File "/workspace/obspy__obspy__0.0/obspy/signal/tests/test_polarization.py", line 60, in setUp util.enframe(data_z, signal.hamming(n), inc) AttributeError: module 'scipy.signal' has no attribute 'hamming'
Traceback (most recent call last): File "/opt/miniconda3/envs/testbed/lib/python3.9/unittest/case.py", line 59, in testPartExecutor yield File "/opt/miniconda3/envs/testbed/lib/python3.9/unittest/case.py", line 588, in run self._callSetUp() File "/opt/miniconda3/envs/testbed/lib/python3.9/unittest/case.py", line 547, in _callSetUp self.setUp() File "/workspace/obspy__obspy__0.0/obspy/signal/tests/test_polarization.py", line 60, in setUp util.enframe(data_z, signal.hamming(n), inc) AttributeError: module 'scipy.signal' has no attribute 'hamming'
Traceback (most recent call last): File "/opt/miniconda3/envs/testbed/lib/python3.9/unittest/case.py", line 59, in testPartExecutor yield File "/opt/miniconda3/envs/testbed/lib/python3.9/unittest/case.py", line 588, in run self._callSetUp() File "/opt/miniconda3/envs/testbed/lib/python3.9/unittest/case.py", line 547, in _callSetUp self.setUp() File "/workspace/obspy__obspy__0.0/obspy/signal/tests/test_polarization.py", line 60, in setUp util.enframe(data_z, signal.hamming(n), inc) AttributeError: module 'scipy.signal' has no attribute 'hamming'
Traceback (most recent call last): File "/opt/miniconda3/envs/testbed/lib/python3.9/unittest/case.py", line 59, in testPartExecutor yield File "/opt/miniconda3/envs/testbed/lib/python3.9/unittest/case.py", line 588, in run self._callSetUp() File "/opt/miniconda3/envs/testbed/lib/python3.9/unittest/case.py", line 547, in _callSetUp self.setUp() File "/workspace/obspy__obspy__0.0/obspy/signal/tests/test_polarization.py", line 60, in setUp util.enframe(data_z, signal.hamming(n), inc) AttributeError: module 'scipy.signal' has no attribute 'hamming'
Traceback (most recent call last): File "/opt/miniconda3/envs/testbed/lib/python3.9/unittest/case.py", line 59, in testPartExecutor yield File "/opt/miniconda3/envs/testbed/lib/python3.9/unittest/case.py", line 588, in run self._callSetUp() File "/opt/miniconda3/envs/testbed/lib/python3.9/unittest/case.py", line 547, in _callSetUp self.setUp() File "/workspace/obspy__obspy__0.0/obspy/signal/tests/test_hoctavbands.py", line 87, in setUp util.enframe(data, signal.hamming(self.n), self.inc) AttributeError: module 'scipy.signal' has no attribute 'hamming'
Skipped tests (2)
| Submodule | Test | Skip message |
|---|---|---|
| signal | signal/tests/test_quality_control.py::QualityControlTestCase::test_schema_validation | Skipped: Test requires the jsonschema module |
| signal | signal/quality_control.py::obspy.signal.quality_control.MSEEDMetadata | Skipped: all tests skipped by +SKIP option |
Slowest tests (20)
Warnings (7)
| Stage | Filename | Category | Message |
|---|---|---|---|
| collect | /workspace/obspy__obspy__0.0/obspy/imaging/cm.py:299 | MatplotlibDeprecationWarning | The get_cmap function was deprecated in Matplotlib 3.7 and will be removed in 3.11. Use ``matplotlib.colormaps[name]`` or ``matplotlib.colormaps.get_cmap()`` or ``pyplot.get_cmap()`` instead. |
| runtest | /workspace/obspy__obspy__0.0/obspy/signal/differentiate_and_integrate.py:27 | DeprecationWarning | 'scipy.integrate.cumtrapz' is deprecated in favour of 'scipy.integrate.cumulative_trapezoid' and will be removed in SciPy 1.14.0 |
| runtest | /workspace/obspy__obspy__0.0/obspy/core/util/misc.py:538 | MatplotlibDeprecationWarning | Auto-close()ing of figures upon backend switching is deprecated since 3.8 and will be removed in 3.10. To suppress this warning, explicitly call plt.close('all') first. |
| runtest | /workspace/obspy__obspy__0.0/obspy/signal/tf_misfit.py:1344 | DeprecationWarning | Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.) |
| collect | /workspace/obspy__obspy__0.0/obspy/imaging/cm.py:300 | MatplotlibDeprecationWarning | The get_cmap function was deprecated in Matplotlib 3.7 and will be removed in 3.11. Use ``matplotlib.colormaps[name]`` or ``matplotlib.colormaps.get_cmap()`` or ``pyplot.get_cmap()`` instead. |
| runtest | /workspace/obspy__obspy__0.0/obspy/signal/tf_misfit.py:1084 | DeprecationWarning | Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.) |
| runtest | /workspace/obspy__obspy__0.0/obspy/signal/array_analysis.py:833 | DeprecationWarning | 'scipy.integrate.cumtrapz' is deprecated in favour of 'scipy.integrate.cumulative_trapezoid' and will be removed in SciPy 1.14.0 |