#135247 Report by node gh-actions covering 2072 tests from 60 modules resulted into 3 errors

Report

ObsPy version
1.4.0.post0+178.g99ac33cf94
GitHub Pull Request
https://github.com/obspy/obspy/pull/3344
Report file
JSON document
Total runtime
816.5 sec
Report date/time
Aug. 29, 2023, 4:46 a.m.

System / Python

Architecture
64bit
Machine
x86_64
Node
gh-actions
Processor
i386
Python Compiler
Clang 14.0.6
Python Implementation
CPython
Python Version
3.8.17
Release
21.6.0
System
Darwin
Version
Darwin Kernel Version 21.6.0: Thu Jun 8 23:57:12 PDT 2023; root:xnu-8020.240.18.701.6~1/RELEASE_X86_64

Dependencies

cartopy
0.21.1
decorator
5.1.1
flake8
---
geographiclib
2.0
lxml
4.9.3
matplotlib
3.7.2
numpy
1.24.4
obspy
1.4.0.post0+178.g99ac33cf94
pyproj
3.5.0
pytest
7.4.0
pytest-json-report
1.5.0
requests
2.31.0
scipy
1.10.1
setuptools
68.1.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 - -
obspy.clients.syngine Not tested -
obspy.core - -
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 3 1 2 3
obspy.io.wav - -
obspy.io.win - -
obspy.io.xseed - -
obspy.io.y - -
obspy.io.zmap - -
obspy.realtime - -
obspy.scripts - -
obspy.signal - -
obspy.taup - -
Summary 3 3

Tracebacks (3)

Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.8/site-packages/_pytest/runner.py", line 341, in from_call
result: Optional[TResult] = func()
File "/Users/runner/miniconda3/envs/test/lib/python3.8/site-packages/_pytest/runner.py", line 262, in <lambda>
lambda: ihook(item=item, **kwds), when=when, reraise=reraise
File "/Users/runner/miniconda3/envs/test/lib/python3.8/site-packages/pluggy/_hooks.py", line 493, in __call__
return self._hookexec(self.name, self._hookimpls, kwargs, firstresult)
File "/Users/runner/miniconda3/envs/test/lib/python3.8/site-packages/pluggy/_manager.py", line 115, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/Users/runner/miniconda3/envs/test/lib/python3.8/site-packages/pluggy/_callers.py", line 152, in _multicall
return outcome.get_result()
File "/Users/runner/miniconda3/envs/test/lib/python3.8/site-packages/pluggy/_result.py", line 114, in get_result
raise exc.with_traceback(exc.__traceback__)
File "/Users/runner/miniconda3/envs/test/lib/python3.8/site-packages/pluggy/_callers.py", line 77, in _multicall
res = hook_impl.function(*args)
File "/Users/runner/miniconda3/envs/test/lib/python3.8/site-packages/_pytest/runner.py", line 177, in pytest_runtest_call
raise e
File "/Users/runner/miniconda3/envs/test/lib/python3.8/site-packages/_pytest/runner.py", line 169, in pytest_runtest_call
item.runtest()
File "/Users/runner/miniconda3/envs/test/lib/python3.8/site-packages/_pytest/python.py", line 1788, in runtest
self.ihook.pytest_pyfunc_call(pyfuncitem=self)
File "/Users/runner/miniconda3/envs/test/lib/python3.8/site-packages/pluggy/_hooks.py", line 493, in __call__
return self._hookexec(self.name, self._hookimpls, kwargs, firstresult)
File "/Users/runner/miniconda3/envs/test/lib/python3.8/site-packages/pluggy/_manager.py", line 115, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/Users/runner/miniconda3/envs/test/lib/python3.8/site-packages/pluggy/_callers.py", line 113, in _multicall
raise exception.with_traceback(exception.__traceback__)
File "/Users/runner/miniconda3/envs/test/lib/python3.8/site-packages/pluggy/_callers.py", line 77, in _multicall
res = hook_impl.function(*args)
File "/Users/runner/miniconda3/envs/test/lib/python3.8/site-packages/_pytest/python.py", line 194, in pytest_pyfunc_call
result = testfunction(**testargs)
File "/Users/runner/miniconda3/envs/test/lib/python3.8/site-packages/obspy/io/stationxml/tests/test_stationxml.py", line 196, in test_read_and_write_full_file
inv.write(file_buffer, format="StationXML", validate=True,
File "/Users/runner/miniconda3/envs/test/lib/python3.8/site-packages/obspy/core/inventory/inventory.py", line 372, in write
return write_format(self, path_or_file_object, **kwargs)
File "/Users/runner/miniconda3/envs/test/lib/python3.8/site-packages/obspy/io/stationxml/core.py", line 948, in _write_stationxml
raise Exception(msg)
Exception: The created file fails to validate.
	<string>:1:0:ERROR:SCHEMASV:SCHEMAV_ELEMENT_CONTENT: Element '{http://www.fdsn.org/xml/station/1}Stage': Missing child element(s). Expected is one of ( {http://www.fdsn.org/xml/station/1}PolesZeros, {http://www.fdsn.org/xml/station/1}Coefficients, {http://www.fdsn.org/xml/station/1}ResponseList, {http://www.fdsn.org/xml/station/1}FIR, {http://www.fdsn.org/xml/station/1}Polynomial, {http://www.fdsn.org/xml/station/1}Decimation, {http://www.fdsn.org/xml/station/1}StageGain ).
	<string>:1:0:ERROR:SCHEMASV:SCHEMAV_ELEMENT_CONTENT: Element '{http://www.fdsn.org/xml/station/1}Stage': Missing child element(s). Expected is one of ( {http://www.fdsn.org/xml/station/1}PolesZeros, {http://www.fdsn.org/xml/station/1}Coefficients, {http://www.fdsn.org/xml/station/1}ResponseList, {http://www.fdsn.org/xml/station/1}FIR, {http://www.fdsn.org/xml/station/1}Polynomial, {http://www.fdsn.org/xml/station/1}Decimation, {http://www.fdsn.org/xml/station/1}StageGain ).
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.8/site-packages/_pytest/runner.py", line 341, in from_call
result: Optional[TResult] = func()
File "/Users/runner/miniconda3/envs/test/lib/python3.8/site-packages/_pytest/runner.py", line 262, in <lambda>
lambda: ihook(item=item, **kwds), when=when, reraise=reraise
File "/Users/runner/miniconda3/envs/test/lib/python3.8/site-packages/pluggy/_hooks.py", line 493, in __call__
return self._hookexec(self.name, self._hookimpls, kwargs, firstresult)
File "/Users/runner/miniconda3/envs/test/lib/python3.8/site-packages/pluggy/_manager.py", line 115, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/Users/runner/miniconda3/envs/test/lib/python3.8/site-packages/pluggy/_callers.py", line 152, in _multicall
return outcome.get_result()
File "/Users/runner/miniconda3/envs/test/lib/python3.8/site-packages/pluggy/_result.py", line 114, in get_result
raise exc.with_traceback(exc.__traceback__)
File "/Users/runner/miniconda3/envs/test/lib/python3.8/site-packages/pluggy/_callers.py", line 77, in _multicall
res = hook_impl.function(*args)
File "/Users/runner/miniconda3/envs/test/lib/python3.8/site-packages/_pytest/runner.py", line 177, in pytest_runtest_call
raise e
File "/Users/runner/miniconda3/envs/test/lib/python3.8/site-packages/_pytest/runner.py", line 169, in pytest_runtest_call
item.runtest()
File "/Users/runner/miniconda3/envs/test/lib/python3.8/site-packages/_pytest/python.py", line 1788, in runtest
self.ihook.pytest_pyfunc_call(pyfuncitem=self)
File "/Users/runner/miniconda3/envs/test/lib/python3.8/site-packages/pluggy/_hooks.py", line 493, in __call__
return self._hookexec(self.name, self._hookimpls, kwargs, firstresult)
File "/Users/runner/miniconda3/envs/test/lib/python3.8/site-packages/pluggy/_manager.py", line 115, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/Users/runner/miniconda3/envs/test/lib/python3.8/site-packages/pluggy/_callers.py", line 113, in _multicall
raise exception.with_traceback(exception.__traceback__)
File "/Users/runner/miniconda3/envs/test/lib/python3.8/site-packages/pluggy/_callers.py", line 77, in _multicall
res = hook_impl.function(*args)
File "/Users/runner/miniconda3/envs/test/lib/python3.8/site-packages/_pytest/python.py", line 194, in pytest_pyfunc_call
result = testfunction(**testargs)
File "/Users/runner/miniconda3/envs/test/lib/python3.8/site-packages/obspy/io/stationxml/tests/test_stationxml.py", line 780, in test_numbers_are_written_to_poles_and_zeros
assert '<Zero number="0"> <Real>0.0</Real> ' \
AssertionError: assert '<Zero number="0"> <Real>0.0</Real> <Imaginary>1.0</Imaginary> </Zero>' in '<?xml version=\'1.0\' encoding=\'UTF-8\'?> <FDSNStationXML xmlns="http://www.fdsn.org/xml/station/1" schemaVersion="1...alue> <Frequency>0.0</Frequency> </StageGain> </Stage> </Response> </Channel> </Station> </Network> </FDSNStationXML> '
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.8/site-packages/_pytest/runner.py", line 341, in from_call
result: Optional[TResult] = func()
File "/Users/runner/miniconda3/envs/test/lib/python3.8/site-packages/_pytest/runner.py", line 262, in <lambda>
lambda: ihook(item=item, **kwds), when=when, reraise=reraise
File "/Users/runner/miniconda3/envs/test/lib/python3.8/site-packages/pluggy/_hooks.py", line 493, in __call__
return self._hookexec(self.name, self._hookimpls, kwargs, firstresult)
File "/Users/runner/miniconda3/envs/test/lib/python3.8/site-packages/pluggy/_manager.py", line 115, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/Users/runner/miniconda3/envs/test/lib/python3.8/site-packages/pluggy/_callers.py", line 152, in _multicall
return outcome.get_result()
File "/Users/runner/miniconda3/envs/test/lib/python3.8/site-packages/pluggy/_result.py", line 114, in get_result
raise exc.with_traceback(exc.__traceback__)
File "/Users/runner/miniconda3/envs/test/lib/python3.8/site-packages/pluggy/_callers.py", line 77, in _multicall
res = hook_impl.function(*args)
File "/Users/runner/miniconda3/envs/test/lib/python3.8/site-packages/_pytest/runner.py", line 177, in pytest_runtest_call
raise e
File "/Users/runner/miniconda3/envs/test/lib/python3.8/site-packages/_pytest/runner.py", line 169, in pytest_runtest_call
item.runtest()
File "/Users/runner/miniconda3/envs/test/lib/python3.8/site-packages/_pytest/python.py", line 1788, in runtest
self.ihook.pytest_pyfunc_call(pyfuncitem=self)
File "/Users/runner/miniconda3/envs/test/lib/python3.8/site-packages/pluggy/_hooks.py", line 493, in __call__
return self._hookexec(self.name, self._hookimpls, kwargs, firstresult)
File "/Users/runner/miniconda3/envs/test/lib/python3.8/site-packages/pluggy/_manager.py", line 115, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/Users/runner/miniconda3/envs/test/lib/python3.8/site-packages/pluggy/_callers.py", line 113, in _multicall
raise exception.with_traceback(exception.__traceback__)
File "/Users/runner/miniconda3/envs/test/lib/python3.8/site-packages/pluggy/_callers.py", line 77, in _multicall
res = hook_impl.function(*args)
File "/Users/runner/miniconda3/envs/test/lib/python3.8/site-packages/_pytest/python.py", line 194, in pytest_pyfunc_call
result = testfunction(**testargs)
File "/Users/runner/miniconda3/envs/test/lib/python3.8/site-packages/obspy/io/stationxml/tests/test_stationxml.py", line 1145, in test_units_during_identity_stage
assert response == response_2
AssertionError: assert <obspy.core.inventory.response.Response object at 0x7fafa688d280> == <obspy.core.inventory.response.Response object at 0x7fafa4d424c0>

Skipped tests (20)

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_bug150 Skipped: Geographiclib installed, not using calc_vincenty_inverse
imaging imaging/tests/test_mopad_script.py::TestMopad::test_script_plot Skipped: Currently broken until further review.
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_quality_control.py::TestQualityControl::test_schema_validation Skipped: Test requires the jsonschema module

Slowest tests (20)

Runtime Test
204.638s geodetics/tests/test_util_flinnengdahl.py::TestUtilFlinnEngdahl::test_coordinates
28.876s io/mseed/tests/test_mseed_special_issues.py::TestMSEEDSpecialIssue::test_infinite_loop
19.998s io/xseed/tests/test_core.py::TestCore::test_response_calculation_from_seed_and_xseed
18.958s core/tests/test_event.py::TestEvent::test_plot_farfield_without_quiver_with_maps
16.972s signal/tests/test_rotate.py::TestRotate::test_rotate2zne_against_lqt_different_combinations
16.946s io/mseed/tests/test_mseed_reading_and_writing.py::TestMSEEDReadingAndWriting::test_read_and_write_traces
13.891s taup/tests/test_seismic_phase.py::TestTauPySeismicPhase::test_shoot_existing_ray_param
13.702s taup/tests/test_tau.py::TestTauPyModel::test_regional_models
13.508s taup/__init__.py::obspy.taup
7.137s io/mseed/tests/test_mseed_reading_and_writing.py::TestMSEEDReadingAndWriting::test_reading_and_writing_via_the_stats_attribute
6.685s signal/tests/test_calibration.py::TestCalibration::test_relcal_different_overlaps
6.646s io/mseed/tests/test_mseed_special_issues.py::TestMSEEDSpecialIssue::test_long_year_range
5.323s core/tests/test_inventory.py::TestInventoryCartopy::test_location_plot_local
5.276s taup/tests/test_tau.py::TestTauPyModel::test_vs_java_iasp91
5.140s io/nordic/tests/test_nordic.py::TestNordicMethods::test_multi_writing
5.126s signal/tests/test_spectral_estimation.py::TestPsd::test_ppsd_restricted_stacks
4.927s core/tests/test_trace.py::TestTrace::test_remove_response_plot
4.537s signal/tests/test_cross_correlation.py::TestCrossCorrelation::test_correlate_stream_template_and_correlation_detector
4.464s core/tests/test_inventory.py::TestInventoryCartopy::test_location_plot_global
4.438s taup/tests/test_seismic_phase.py::TestTauPySeismicPhase::test_many_identically_named_phases