#135673 Report by node DESKTOP-TBH03R2 covering 2060 tests from 60 modules resulted into 2 errors

Report

ObsPy version
1.4.0
GitHub Pull Request
-
Report file
JSON document
Total runtime
286.5 sec
Report date/time
Sept. 18, 2023, 3:42 a.m.

System / Python

Architecture
64bit
Machine
AMD64
Node
DESKTOP-TBH03R2
Processor
Intel64 Family 6 Model 158 Stepping 9, GenuineIntel
Python Compiler
MSC v.1934 64 bit (AMD64)
Python Implementation
CPython
Python Version
3.11.3
Release
10
System
Windows
Version
10.0.19044

Dependencies

cartopy
0.22.0
decorator
5.1.1
flake8
---
geographiclib
---
lxml
4.9.3
matplotlib
3.7.1
numpy
1.24.3
obspy
1.4.0
pyproj
3.6.0
pytest
7.4.2
pytest-json-report
1.5.0
requests
2.31.0
scipy
1.11.2
setuptools
67.7.2
shapefile
---
sqlalchemy
1.4.49

Modules (60)

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

Tracebacks (2)

Traceback (most recent call last):
File "C:\Users\junca\.conda\envs\SeisWork\Lib\site-packages\_pytest\runner.py", line 341, in from_call
result: Optional[TResult] = func()
^^^^^^
File "C:\Users\junca\.conda\envs\SeisWork\Lib\site-packages\_pytest\runner.py", line 262, in <lambda>
lambda: ihook(item=item, **kwds), when=when, reraise=reraise
^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\junca\.conda\envs\SeisWork\Lib\site-packages\pluggy\_hooks.py", line 493, in __call__
return self._hookexec(self.name, self._hookimpls, kwargs, firstresult)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\junca\.conda\envs\SeisWork\Lib\site-packages\pluggy\_manager.py", line 115, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\junca\.conda\envs\SeisWork\Lib\site-packages\pluggy\_callers.py", line 152, in _multicall
return outcome.get_result()
^^^^^^^^^^^^^^^^^^^^
File "C:\Users\junca\.conda\envs\SeisWork\Lib\site-packages\pluggy\_result.py", line 114, in get_result
raise exc.with_traceback(exc.__traceback__)
File "C:\Users\junca\.conda\envs\SeisWork\Lib\site-packages\pluggy\_callers.py", line 77, in _multicall
res = hook_impl.function(*args)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\junca\.conda\envs\SeisWork\Lib\site-packages\_pytest\runner.py", line 177, in pytest_runtest_call
raise e
File "C:\Users\junca\.conda\envs\SeisWork\Lib\site-packages\_pytest\runner.py", line 169, in pytest_runtest_call
item.runtest()
File "C:\Users\junca\.conda\envs\SeisWork\Lib\site-packages\_pytest\python.py", line 1792, in runtest
self.ihook.pytest_pyfunc_call(pyfuncitem=self)
File "C:\Users\junca\.conda\envs\SeisWork\Lib\site-packages\pluggy\_hooks.py", line 493, in __call__
return self._hookexec(self.name, self._hookimpls, kwargs, firstresult)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\junca\.conda\envs\SeisWork\Lib\site-packages\pluggy\_manager.py", line 115, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\junca\.conda\envs\SeisWork\Lib\site-packages\pluggy\_callers.py", line 113, in _multicall
raise exception.with_traceback(exception.__traceback__)
File "C:\Users\junca\.conda\envs\SeisWork\Lib\site-packages\pluggy\_callers.py", line 77, in _multicall
res = hook_impl.function(*args)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\junca\.conda\envs\SeisWork\Lib\site-packages\_pytest\python.py", line 194, in pytest_pyfunc_call
result = testfunction(**testargs)
^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\junca\.conda\envs\SeisWork\Lib\site-packages\obspy\core\tests\test_trace.py", line 1360, in test_taper_onesided
assert len(w) == 1
AssertionError: assert 2 == 1
+ where 2 = len([<warnings.WarningMessage object at 0x0000029E01D5AE50>, <warnings.WarningMessage object at 0x0000029E01B31410>])
Traceback (most recent call last):
File "C:\Users\junca\.conda\envs\SeisWork\Lib\site-packages\_pytest\runner.py", line 341, in from_call
result: Optional[TResult] = func()
^^^^^^
File "C:\Users\junca\.conda\envs\SeisWork\Lib\site-packages\_pytest\runner.py", line 262, in <lambda>
lambda: ihook(item=item, **kwds), when=when, reraise=reraise
^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\junca\.conda\envs\SeisWork\Lib\site-packages\pluggy\_hooks.py", line 493, in __call__
return self._hookexec(self.name, self._hookimpls, kwargs, firstresult)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\junca\.conda\envs\SeisWork\Lib\site-packages\pluggy\_manager.py", line 115, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\junca\.conda\envs\SeisWork\Lib\site-packages\pluggy\_callers.py", line 152, in _multicall
return outcome.get_result()
^^^^^^^^^^^^^^^^^^^^
File "C:\Users\junca\.conda\envs\SeisWork\Lib\site-packages\pluggy\_result.py", line 114, in get_result
raise exc.with_traceback(exc.__traceback__)
File "C:\Users\junca\.conda\envs\SeisWork\Lib\site-packages\pluggy\_callers.py", line 77, in _multicall
res = hook_impl.function(*args)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\junca\.conda\envs\SeisWork\Lib\site-packages\_pytest\runner.py", line 177, in pytest_runtest_call
raise e
File "C:\Users\junca\.conda\envs\SeisWork\Lib\site-packages\_pytest\runner.py", line 169, in pytest_runtest_call
item.runtest()
File "C:\Users\junca\.conda\envs\SeisWork\Lib\site-packages\_pytest\python.py", line 1792, in runtest
self.ihook.pytest_pyfunc_call(pyfuncitem=self)
File "C:\Users\junca\.conda\envs\SeisWork\Lib\site-packages\pluggy\_hooks.py", line 493, in __call__
return self._hookexec(self.name, self._hookimpls, kwargs, firstresult)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\junca\.conda\envs\SeisWork\Lib\site-packages\pluggy\_manager.py", line 115, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\junca\.conda\envs\SeisWork\Lib\site-packages\pluggy\_callers.py", line 113, in _multicall
raise exception.with_traceback(exception.__traceback__)
File "C:\Users\junca\.conda\envs\SeisWork\Lib\site-packages\pluggy\_callers.py", line 77, in _multicall
res = hook_impl.function(*args)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\junca\.conda\envs\SeisWork\Lib\site-packages\_pytest\python.py", line 194, in pytest_pyfunc_call
result = testfunction(**testargs)
^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\junca\.conda\envs\SeisWork\Lib\site-packages\obspy\core\tests\test_trace.py", line 1390, in test_taper_length
assert len(w) == 1
AssertionError: assert 2 == 1
+ where 2 = len([<warnings.WarningMessage object at 0x0000029E01AD0090>, <warnings.WarningMessage object at 0x0000029E01AD3ED0>])

Skipped tests (29)

Submodule Test Skip message
core core/stream.py::obspy.core.stream._is_pickle Skipped: all tests skipped by +SKIP option
core.util core/util/misc.py::obspy.core.util.misc.CatchOutput Skipped: all tests skipped by +SKIP option
core.util core/util/misc.py::obspy.core.util.misc.SuppressOutput Skipped: all tests skipped by +SKIP option
core.util core/util/misc.py::obspy.core.util.misc.TemporaryWorkingDirectory Skipped: all tests skipped by +SKIP option
geodetics geodetics/tests/test_util_geodetics.py::TestUtilGeodetics::test_gps_2_dist_azimuth_with_geographiclib Skipped: Module geographiclib is not installed
geodetics geodetics/tests/test_util_geodetics.py::TestUtilGeodetics::test_issue_375 Skipped: Module geographiclib is not installed
imaging imaging/tests/test_mopad_script.py::TestMopad::test_script_plot Skipped: Currently broken until further review.
imaging imaging/tests/test_scan.py::TestScan::test_scan_dir_no_permission Skipped: unable to remove read permission from a test file for testing purposes
io.ascii io/ascii/core.py::obspy.io.ascii.core._is_slist Skipped: all tests skipped by +SKIP option
io.ascii io/ascii/core.py::obspy.io.ascii.core._is_tspair Skipped: all tests skipped by +SKIP option
io.gcf io/gcf/core.py::obspy.io.gcf.core._write_gcf Skipped: all tests skipped by +SKIP option
io.nordic io/nordic/utils.py::obspy.io.nordic.utils._evmagtonor Skipped: all tests skipped by +SKIP option
io.nordic io/nordic/utils.py::obspy.io.nordic.utils._nortoevmag Skipped: all tests skipped by +SKIP option
io.pde io/pde/mchedr.py::obspy.io.pde.mchedr._is_mchedr Skipped: all tests skipped by +SKIP option
io.quakeml io/quakeml/core.py::obspy.io.quakeml.core._is_quakeml Skipped: all tests skipped by +SKIP option
io.seisan io/seisan/core.py::obspy.io.seisan.core._is_seisan Skipped: all tests skipped by +SKIP option
io.sh io/sh/core.py::obspy.io.sh.core._is_asc Skipped: all tests skipped by +SKIP option
io.sh io/sh/core.py::obspy.io.sh.core._is_q Skipped: all tests skipped by +SKIP option
io.wav io/wav/core.py::obspy.io.wav.core._is_wav Skipped: all tests skipped by +SKIP option
io.y io/y/core.py::obspy.io.y.core._is_y Skipped: all tests skipped by +SKIP option
signal signal/quality_control.py::obspy.signal.quality_control.MSEEDMetadata Skipped: all tests skipped by +SKIP option
signal signal/tests/test_invsim.py::InvSimTestCase::test_evalresp_file_like_object Skipped: unreproducible test fail encountered on Appveyor sometimes.
signal signal/tests/test_quality_control.py::QualityControlTestCase::test_schema_validation Skipped: Test requires the jsonschema module
taup taup/tests/test_ray_paths.py::TestRayPathCalculations::test_compute_ray_paths Skipped: test needs geographiclib >= 1.34
taup taup/tests/test_tau.py::TestTauPyModel::test_p_iasp91_geo_manual Skipped: Module geographiclib is not installed
taup taup/tests/test_tau.py::TestTauPyModel::test_pierce_p_iasp91_geo Skipped: test needs geographiclib >= 1.34
taup taup/tests/test_tau.py::TestTauPyModel::test_single_path_geo_iasp91 Skipped: test needs geographiclib >= 1.34
taup taup/tests/test_taup_geo.py::TestTaupGeo::test_path_geo Skipped: Module geographiclib is not installed or too old.
taup taup/tests/test_taup_geo.py::TestTaupGeo::test_path_resampling Skipped: Module geographiclib is not installed or too old.

Slowest tests (20)

Runtime Test
17.354s io/mseed/tests/test_mseed_special_issues.py::MSEEDSpecialIssueTestCase::test_infinite_loop
12.015s clients/fdsn/tests/test_wadl_parser.py::WADLParserTestCase::test_dataselect_wadl_parsing
11.291s core/tests/test_inventory.py::TestInventoryCartopy::test_location_plot_local
10.183s core/tests/test_event.py::TestEvent::test_plot_farfield_without_quiver_with_maps
6.977s core/stream.py::obspy.core.stream.read
6.157s core/tests/test_inventory.py::TestInventoryCartopy::test_location_plot_global
5.884s io/xseed/tests/test_core.py::CoreTestCase::test_response_calculation_from_seed_and_xseed
5.122s taup/tests/test_seismic_phase.py::TestTauPySeismicPhase::test_shoot_existing_ray_param
4.076s taup/__init__.py::obspy.taup
3.811s taup/tests/test_tau.py::TestTauPyModel::test_regional_models
3.760s core/tests/test_waveform_plugins.py::TestWaveformPlugins::test_is_format
3.404s signal/tests/test_cross_correlation.py::TestCrossCorrelation::test_correlate_stream_template_and_correlation_detector
2.856s io/nlloc/tests/test_util.py::NLLOCTestCase::test_read_nlloc_scatter_coordinate_conversion
2.839s signal/tests/test_calibration.py::CalibrationTestCase::test_relcal_different_overlaps
2.506s imaging/tests/test_beachball.py::TestBeachballPlot::test_beachball_output_format
2.278s taup/tests/test_seismic_phase.py::TestTauPySeismicPhase::test_many_identically_named_phases
1.919s signal/tests/test_spectral_estimation.py::TestPsd::test_ppsd_restricted_stacks
1.784s signal/tests/test_polarization.py::PolarizationTestCase::test_polarization_vidale
1.777s taup/tests/test_tau.py::TestTauPyModel::test_vs_java_iasp91
1.673s io/arclink/tests/test_inventory_xml.py::ArclinkInventoryTestCase::test_auto_read_arclink_xml

Warnings (10)

Stage Filename Category Message
runtest C:\Users\junca\.conda\envs\SeisWork\Lib\site-packages\obspy\signal\tests\test_hoctavbands.py:87 DeprecationWarning Importing hamming from 'scipy.signal' is deprecated and will raise an error in SciPy 1.13.0. Please use 'scipy.signal.windows.hamming' or the convenience function 'scipy.signal.get_window' instead.
runtest C:\Users\junca\.conda\envs\SeisWork\Lib\site-packages\obspy\io\mseed\tests\test_mseed_util.py:75 DeprecationWarning NumPy will stop allowing conversion of out-of-bound Python integers to integer arrays. The conversion of 128 to int8 will fail in the future. For the old behavior, usually: np.array(value).astype(dtype)` will give the desired result (the cast overflows).
runtest C:\Users\junca\.conda\envs\SeisWork\Lib\site-packages\obspy\core\trace.py:2174 DeprecationWarning Importing hann from 'scipy.signal' is deprecated and will raise an error in SciPy 1.13.0. Please use 'scipy.signal.windows.hann' or the convenience function 'scipy.signal.get_window' instead.
runtest C:\Users\junca\.conda\envs\SeisWork\Lib\site-packages\obspy\signal\tests\test_cpxtrace.py:85 DeprecationWarning Importing hamming from 'scipy.signal' is deprecated and will raise an error in SciPy 1.13.0. Please use 'scipy.signal.windows.hamming' or the convenience function 'scipy.signal.get_window' instead.
runtest C:\Users\junca\.conda\envs\SeisWork\Lib\site-packages\obspy\core\util\misc.py:398 UserWarning PermissionError(13, '拒绝访问。')
runtest C:\Users\junca\.conda\envs\SeisWork\Lib\site-packages\obspy\signal\tests\test_polarization.py:62 DeprecationWarning Importing hamming from 'scipy.signal' is deprecated and will raise an error in SciPy 1.13.0. Please use 'scipy.signal.windows.hamming' or the convenience function 'scipy.signal.get_window' instead.
runtest C:\Users\junca\.conda\envs\SeisWork\Lib\site-packages\obspy\signal\tests\test_polarization.py:60 DeprecationWarning Importing hamming from 'scipy.signal' is deprecated and will raise an error in SciPy 1.13.0. Please use 'scipy.signal.windows.hamming' or the convenience function 'scipy.signal.get_window' instead.
runtest C:\Users\junca\.conda\envs\SeisWork\Lib\site-packages\obspy\signal\tests\test_polarization.py:64 DeprecationWarning Importing hamming from 'scipy.signal' is deprecated and will raise an error in SciPy 1.13.0. Please use 'scipy.signal.windows.hamming' or the convenience function 'scipy.signal.get_window' instead.
runtest C:\Users\junca\.conda\envs\SeisWork\Lib\site-packages\obspy\signal\tests\test_freqattributes.py:88 DeprecationWarning Importing hamming from 'scipy.signal' is deprecated and will raise an error in SciPy 1.13.0. Please use 'scipy.signal.windows.hamming' or the convenience function 'scipy.signal.get_window' instead.
collect C:\Users\junca\.conda\envs\SeisWork\Lib\site-packages\obspy\clients\filesystem\db.py:18 MovedIn20Warning Deprecated API features detected! These feature(s) are not compatible with SQLAlchemy 2.0. To prevent incompatible upgrades prior to updating applications, ensure requirements files are pinned to "sqlalchemy<2.0". Set environment variable SQLALCHEMY_WARN_20=1 to show all deprecation warnings. Set environment variable SQLALCHEMY_SILENCE_UBER_WARNING=1 to silence this message. (Background on SQLAlchemy 2.0 at: https://sqlalche.me/e/b8d9)