#143305 Report by node gh-actions covering 1983 tests from 49 modules resulted into 4 errors
Report
- ObsPy version
- 1.2.2.post0+252.g24895afeb8.d…
- GitHub Pull Request
- -
- Report file
- XML document
- Total runtime
- 242.6 sec
- Report date/time
- April 16, 2025, 11:47 p.m.
System / Python
- Architecture
- 64bit
- Machine
- x86_64
- Node
- gh-actions
- Processor
- x86_64
- Python Compiler
- GCC 9.4.0
- Python Implementation
- CPython
- Python Version
- 3.7.12
- Release
- 6.8.0-55-generic
- System
- Linux
- Version
- #57-Ubuntu SMP PREEMPT_DYNAMIC Wed Feb 12 23:42:21 UTC 2025
Dependencies
- cartopy
- ---
- decorator
- 5.1.1
- flake8
- ---
- geographiclib
- ---
- lxml.etree
- 4.9.1
- m2crypto
- ---
- matplotlib
- 3.5.3
- mock
- 5.1.0
- mpl_toolkits.basemap
- 1.3.6
- numpy
- 1.21.6
- pep8-naming
- ---
- pyflakes
- ---
- pyimgur
- 0.6.0
- pyproj
- 2.3.1
- requests
- 2.32.2
- scipy
- 1.7.3
- setuptools
- 69.0.3
- shapefile
- 2.3.1
- sqlalchemy
- 1.4.42
Modules (49)
Module | Errors / Failures | Tracebacks | ||||
---|---|---|---|---|---|---|
obspy.clients.arclink | Not tested | - | - | - | - | - |
obspy.clients.earthworm | Not tested | - | - | - | - | - |
obspy.clients.fdsn | Not tested | - | - | - | - | - |
obspy.clients.filesystem | - | 29 | 29 | - | 3.76s | - |
obspy.clients.iris | Not tested | - | - | - | - | - |
obspy.clients.neic | Not tested | - | - | - | - | - |
obspy.clients.nrl | Not tested | - | - | - | - | - |
obspy.clients.seedlink | Not tested | - | - | - | - | - |
obspy.clients.seishub | Not tested | - | - | - | - | - |
obspy.clients.syngine | Not tested | - | - | - | - | - |
obspy.core | - | 673 | 652 | 21 | 41.92s | - |
obspy.db | 1 | 9 | 9 | - | 0.24s | 1 |
obspy.geodetics | - | 20 | 18 | 2 | 0.22s | - |
obspy.imaging | - | 77 | 76 | 1 | 37.06s | - |
obspy.io.ah | - | 5 | 5 | - | 0.12s | - |
obspy.io.arclink | - | 5 | 5 | - | 2.98s | - |
obspy.io.ascii | - | 28 | 28 | - | 0.26s | - |
obspy.io.cmtsolution | - | 10 | 10 | - | 0.12s | - |
obspy.io.cnv | - | 1 | 1 | - | 0.03s | - |
obspy.io.css | - | 10 | 10 | - | 0.85s | - |
obspy.io.dmx | - | 5 | 5 | - | 0.05s | - |
obspy.io.focmec | - | 8 | 8 | - | 0.29s | - |
obspy.io.gcf | - | 9 | 9 | - | 0.05s | - |
obspy.io.gse2 | - | 55 | 55 | - | 0.89s | - |
obspy.io.hypodd | - | 9 | 9 | - | 0.39s | - |
obspy.io.iaspei | - | 7 | 7 | - | 2.06s | - |
obspy.io.json | - | 4 | 4 | - | 0.08s | - |
obspy.io.kinemetrics | - | 7 | 7 | - | 1.09s | - |
obspy.io.kml | - | 3 | 3 | - | 0.23s | - |
obspy.io.mseed | - | 127 | 127 | - | 3.16s | - |
obspy.io.ndk | - | 20 | 20 | - | 0.71s | - |
obspy.io.nied | - | 11 | 11 | - | 0.11s | - |
obspy.io.nlloc | 1 | 12 | 12 | - | 0.43s | 2 |
obspy.io.nordic | - | 52 | 52 | - | 2.75s | - |
obspy.io.pdas | - | 3 | 3 | - | 0.02s | - |
obspy.io.pde | - | 13 | 13 | - | 0.58s | - |
obspy.io.quakeml | - | 38 | 38 | - | 1.07s | - |
obspy.io.reftek | - | 21 | 21 | - | 0.31s | - |
obspy.io.rg16 | - | 36 | 36 | - | 0.24s | - |
obspy.io.sac | - | 96 | 96 | - | 0.71s | - |
obspy.io.scardec | - | 5 | 5 | - | 0.12s | - |
obspy.io.seg2 | - | 2 | 2 | - | 0.06s | - |
obspy.io.segy | - | 56 | 56 | - | 0.70s | - |
obspy.io.seisan | - | 8 | 8 | - | 0.13s | - |
obspy.io.seiscomp | - | 47 | 47 | - | 2.45s | - |
obspy.io.sh | - | 25 | 25 | - | 0.80s | - |
obspy.io.shapefile | - | 7 | 7 | - | 0.91s | - |
obspy.io.stationtxt | - | 11 | 11 | - | 0.12s | - |
obspy.io.stationxml | - | 22 | 22 | - | 0.64s | - |
obspy.io.wav | - | 8 | 8 | - | 0.05s | - |
obspy.io.win | - | 2 | 2 | - | 0.13s | - |
obspy.io.xseed | - | 82 | 82 | - | 14.80s | - |
obspy.io.y | - | 5 | 5 | - | 0.02s | - |
obspy.io.zmap | - | 14 | 14 | - | 0.36s | - |
obspy.realtime | - | 22 | 22 | - | 0.54s | - |
obspy.scripts | - | 2 | 2 | - | 0.02s | - |
obspy.signal | 2 | 198 | 197 | 1 | 49.37s | 3 4 |
obspy.taup | - | 64 | 58 | 6 | 68.61s | - |
Summary | 4 | 1983 | 1952 | 31 | 242.61s | 4 |
Tracebacks (4)
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.7/site-packages/sqlalchemy/sql/elements.py", line 854, in __getattr__ return getattr(self.comparator, key) AttributeError: 'Comparator' object has no attribute '_text_converter_role' The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/home/ubuntu/.cache/act/7a459e71855b7feb/hostexecutor/obspy/db/tests/test_client.py", line 244, in test_get_preview starttime=dt, endtime=dt2) File "/home/ubuntu/.cache/act/7a459e71855b7feb/hostexecutor/obspy/db/client.py", line 252, in get_preview WaveformChannel.channel == temp[3])) File "/usr/share/miniconda3/envs/test/lib/python3.7/site-packages/sqlalchemy/sql/elements.py", line 2432, in append coercions.expect(self._text_converter_role, clause).self_group( File "/usr/share/miniconda3/envs/test/lib/python3.7/site-packages/sqlalchemy/sql/elements.py", line 865, in __getattr__ replace_context=err, File "/usr/share/miniconda3/envs/test/lib/python3.7/site-packages/sqlalchemy/util/compat.py", line 208, in raise_ raise exception AttributeError: Neither 'BooleanClauseList' object nor 'Comparator' object has an attribute '_text_converter_role'
Traceback (most recent call last): File "/home/ubuntu/.cache/act/7a459e71855b7feb/hostexecutor/obspy/io/nlloc/tests/test_util.py", line 59, in test_read_nlloc_scatter_coordinate_conversion filename, coordinate_converter=_coordinate_conversion) File "/home/ubuntu/.cache/act/7a459e71855b7feb/hostexecutor/obspy/io/nlloc/util.py", line 48, in read_nlloc_scatter data["x"], data["y"], data["z"]) File "/home/ubuntu/.cache/act/7a459e71855b7feb/hostexecutor/obspy/io/nlloc/tests/test_util.py", line 27, in _coordinate_conversion x, y = transformer.transform(x * 1e3, y * 1e3) File "/usr/share/miniconda3/envs/test/lib/python3.7/site-packages/pyproj/transformer.py", line 398, in transform errcheck=errcheck, File "pyproj/_transformer.pyx", line 317, in pyproj._transformer._Transformer._transform File "/usr/share/miniconda3/envs/test/lib/python3.7/site-packages/pyproj/enums.py", line 22, in create item, tuple(version.value for version in cls) ValueError: Invalid value supplied 'TransformDirection.FORWARD'. Only ('FORWARD', 'INVERSE', 'IDENT') are supported.
Traceback (most recent call last): File "/home/ubuntu/.cache/act/7a459e71855b7feb/hostexecutor/obspy/signal/tests/test_spectral_estimation.py", line 578, in test_ppsd_infrasound st = read(wf) File "/usr/share/miniconda3/envs/test/lib/python3.7/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/home/ubuntu/.cache/act/7a459e71855b7feb/hostexecutor/obspy/core/util/decorator.py", line 291, in _map_example_filename return func(*args, **kwargs) File "/home/ubuntu/.cache/act/7a459e71855b7feb/hostexecutor/obspy/core/stream.py", line 207, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "/home/ubuntu/.cache/act/7a459e71855b7feb/hostexecutor/obspy/core/util/base.py", line 689, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.7/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/home/ubuntu/.cache/act/7a459e71855b7feb/hostexecutor/obspy/core/util/decorator.py", line 202, in uncompress_file result = func(filename, *args, **kwargs) File "/home/ubuntu/.cache/act/7a459e71855b7feb/hostexecutor/obspy/core/stream.py", line 249, in _read headonly=headonly, **kwargs) File "/home/ubuntu/.cache/act/7a459e71855b7feb/hostexecutor/obspy/core/util/base.py", line 437, in _read_from_plugin raise TypeError('Unknown format for file %s' % filename) TypeError: Unknown format for file /home/ubuntu/.cache/act/7a459e71855b7feb/hostexecutor/obspy/signal/tests/data/IM.I59H1..BDF_2020_10_31.mseed
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.7/doctest.py", line 2204, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for obspy.signal._sosfilt._zpk2sos File "/home/ubuntu/.cache/act/7a459e71855b7feb/hostexecutor/obspy/signal/_sosfilt.py", line 137, in _zpk2sos ---------------------------------------------------------------------- File "/home/ubuntu/.cache/act/7a459e71855b7feb/hostexecutor/obspy/signal/_sosfilt.py", line 252, in obspy.signal._sosfilt._zpk2sos Failed example: sos[:, :3] Expected: array([[ 0.0014154 , 0.00248707, 0.0014154 ], [ 1. , 0.72965193, 1. ], [ 1. , 0.17594966, 1. ]]) Got: array([[ 0.0014152 , 0.00248677, 0.0014152 ], [ 1. , 0.72976874, 1. ], [ 1. , 0.17607852, 1. ]]) ---------------------------------------------------------------------- File "/home/ubuntu/.cache/act/7a459e71855b7feb/hostexecutor/obspy/signal/_sosfilt.py", line 262, in obspy.signal._sosfilt._zpk2sos Failed example: sos[:, 3:] Expected: array([[ 1. , -1.32543251, 0.46989499], [ 1. , -1.26117915, 0.6262586 ], [ 1. , -1.25707217, 0.86199667]]) Got: array([[ 1. , -1.32544025, 0.46989976], [ 1. , -1.26118294, 0.62625924], [ 1. , -1.2570723 , 0.8619958 ]])
Skipped tests (31)
Submodule | Test | Skip message |
---|---|---|
core | test_flake8 (obspy.core.tests.test_code_formatting.CodeFormattingTestCase) | Formatting tests require at least flake8 3.0. |
core | test_catalog_plot_global (obspy.core.tests.test_event.CatalogBasemapTestCase) | matplotlib 3.0.1 is not compatible with basemap |
core | test_catalog_plot_local (obspy.core.tests.test_event.CatalogBasemapTestCase) | matplotlib 3.0.1 is not compatible with basemap |
core | test_catalog_plot_ortho (obspy.core.tests.test_event.CatalogBasemapTestCase) | matplotlib 3.0.1 is not compatible with basemap |
core | test_catalog_plot_ortho_longitude_wrap (obspy.core.tests.test_event.CatalogBasemapTestCase) | matplotlib 3.0.1 is not compatible with basemap |
core | test_plot_catalog_before_1900 (obspy.core.tests.test_event.CatalogBasemapTestCase) | matplotlib 3.0.1 is not compatible with basemap |
core | test_catalog_plot_global (obspy.core.tests.test_event.CatalogCartopyTestCase) | Cartopy not installed or too old |
core | test_catalog_plot_local (obspy.core.tests.test_event.CatalogCartopyTestCase) | Cartopy not installed or too old |
core | test_catalog_plot_ortho (obspy.core.tests.test_event.CatalogCartopyTestCase) | Cartopy not installed or too old |
core | test_catalog_plot_ortho_longitude_wrap (obspy.core.tests.test_event.CatalogCartopyTestCase) | Cartopy not installed or too old |
core | test_plot_farfield_without_quiver_with_maps (obspy.core.tests.test_event.EventTestCase) | matplotlib 3.0.1 is not compatible with basemap |
core | test_combined_station_event_plot (obspy.core.tests.test_inventory.InventoryBasemapTestCase) | matplotlib 3.0.1 is not compatible with basemap |
core | test_location_plot_global (obspy.core.tests.test_inventory.InventoryBasemapTestCase) | matplotlib 3.0.1 is not compatible with basemap |
core | test_location_plot_local (obspy.core.tests.test_inventory.InventoryBasemapTestCase) | matplotlib 3.0.1 is not compatible with basemap |
core | test_location_plot_ortho (obspy.core.tests.test_inventory.InventoryBasemapTestCase) | matplotlib 3.0.1 is not compatible with basemap |
core | test_location_plot_global (obspy.core.tests.test_inventory.InventoryCartopyTestCase) | cartopy not installed |
core | test_location_plot_local (obspy.core.tests.test_inventory.InventoryCartopyTestCase) | cartopy not installed |
core | test_location_plot_ortho (obspy.core.tests.test_inventory.InventoryCartopyTestCase) | cartopy not installed |
core | test_location_plot_global (obspy.core.tests.test_network.NetworkCartopyTestCase) | cartopy not installed |
core | test_location_plot_local (obspy.core.tests.test_network.NetworkCartopyTestCase) | cartopy not installed |
core | test_location_plot_ortho (obspy.core.tests.test_network.NetworkCartopyTestCase) | cartopy not installed |
geodetics | test_gps_2_dist_azimuth_with_geographiclib (obspy.geodetics.tests.test_util_geodetics.UtilGeodeticsTestCase) | Module geographiclib is not installed |
geodetics | test_issue_375 (obspy.geodetics.tests.test_util_geodetics.UtilGeodeticsTestCase) | Module geographiclib is not installed |
imaging | test_script_plot (obspy.imaging.tests.test_mopad_script.MopadTestCase) | Currently broken until further review. |
signal | test_ppsd_spectrogram_plot (obspy.signal.tests.test_spectral_estimation.PsdTestCase) | matplotlib >= 3 shifts labels |
taup | test_compute_ray_paths (obspy.taup.tests.test_ray_paths.RayPathCalculationsTestCase) | test needs geographiclib >= 1.34 |
taup | test_p_iasp91_geo_manual (obspy.taup.tests.test_tau.TauPyModelTestCase) | Module geographiclib is not installed |
taup | test_pierce_p_iasp91_geo (obspy.taup.tests.test_tau.TauPyModelTestCase) | test needs geographiclib >= 1.34 |
taup | test_single_path_geo_iasp91 (obspy.taup.tests.test_tau.TauPyModelTestCase) | test needs geographiclib >= 1.34 |
taup | test_path_geo (obspy.taup.tests.test_taup_geo.TaupGeoTestCase) | Module geographiclib is not installed or too old. |
taup | test_path_resampling (obspy.taup.tests.test_taup_geo.TaupGeoTestCase) | Module geographiclib is not installed or too old. |
Slowest tests (20)
Runtime | Test |
---|---|
10.981s | test_response_calculation_from_seed_and_xseed (obspy.io.xseed.tests.test_core.CoreTestCase) |
10.386s | __init__ (obspy.taup) |
8.477s | test_ppsd_restricted_stacks (obspy.signal.tests.test_spectral_estimation.PsdTestCase) |
6.967s | test_shoot_existing_ray_param (obspy.taup.tests.test_seismic_phase.TauPySeismicPhaseTestCase) |
6.338s | test_plot_multiple_traces (obspy.imaging.tests.test_waveform.WaveformTestCase) |
4.756s | plot_travel_times (obspy.taup.tau) |
4.548s | test_relcal_different_overlaps (obspy.signal.tests.test_calibration.CalibrationTestCase) |
3.965s | test_regional_models (obspy.taup.tests.test_tau.TauPyModelTestCase) |
3.743s | test_vs_java_iasp91 (obspy.taup.tests.test_tau.TauPyModelTestCase) |
3.472s | test_remove_response_plot (obspy.core.tests.test_trace.TraceTestCase) |
3.111s | test_many_identically_named_phases (obspy.taup.tests.test_seismic_phase.TauPySeismicPhaseTestCase) |
3.064s | test_location_plot_global (obspy.core.tests.test_network.NetworkBasemapTestCase) |
3.027s | test_polarization_vidale (obspy.signal.tests.test_polarization.PolarizationTestCase) |
2.964s | test_correlate_stream_template_and_correlation_detector (obspy.signal.tests.test_cross_correlation.CrossCorrelationTestCase) |
2.910s | test_auto_read_arclink_xml (obspy.io.arclink.tests.test_inventory_xml.ArclinkInventoryTestCase) |
2.440s | test_spherical_many_phases_one_way (obspy.taup.tests.test_plotting.TauPyPlottingTestCase) |
2.386s | test_spherical_many_phases (obspy.taup.tests.test_plotting.TauPyPlottingTestCase) |
2.217s | test_rotate2zne_against_lqt_different_combinations (obspy.signal.tests.test_rotate.RotateTestCase) |
2.129s | test_spherical_many_phases_buried_station (obspy.taup.tests.test_plotting.TauPyPlottingTestCase) |
2.115s | test_plot_tf_misfits (obspy.signal.tests.test_tf_misfit.TfPlotTestCase) |