#126288 Report by node serveisismica covering 2010 tests from 60 modules resulted into 3 errors

Report

ObsPy version
1.3.0
GitHub Pull Request
-
Report file
JSON document
Total runtime
123.9 sec
Report date/time
Aug. 1, 2022, 6:38 a.m.

System / Python

Architecture
64bit
Machine
x86_64
Node
serveisismica
Processor
x86_64
Python Compiler
GCC 9.4.0
Python Implementation
CPython
Python Version
3.8.10
Release
5.15.0-41-generic
System
Linux
Version
#44~20.04.1-Ubuntu SMP Fri Jun 24 13:27:29 UTC 2022

Dependencies

cartopy
---
decorator
4.4.2
flake8
---
geographiclib
---
lxml
4.5.0
matplotlib
3.5.2
numpy
1.17.4
obspy
1.3.0
pyproj
2.5.0
pytest
4.6.9
pytest-json-report
1.5.0
requests
2.22.0
scipy
1.3.3
setuptools
45.2.0
shapefile
---
sqlalchemy
1.3.12

Modules (60)

Module Errors / Failures Tracebacks
obspy.clients.earthworm Not tested -
obspy.clients.fdsn - -
obspy.clients.filesystem 3 1 2 3
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 - -
obspy.core.event - -
obspy.core.inventory - -
obspy.core.util - -
obspy.db Not tested -
obspy.geodetics - -
obspy.imaging - -
obspy.io.ah - -
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 3 3

Tracebacks (3)

Traceback (most recent call last):
File "/usr/local/lib/python3.8/dist-packages/obspy/clients/filesystem/tests/test_tsindex.py", line 705, in test__get_leap_seconds_file
open(test_file, 'a').close()
PermissionError: [Errno 13] Permission denied: '/usr/local/lib/python3.8/dist-packages/obspy/clients/filesystem/tests/data/tsindex_data/leap-seconds.list'
Traceback (most recent call last):
File "/usr/local/lib/python3.8/dist-packages/obspy/clients/filesystem/tsindex.py", line 1131, in download_leap_seconds_file
with open(file_path, "w") as fh:
PermissionError: [Errno 13] Permission denied: '/usr/local/lib/python3.8/dist-packages/obspy/clients/filesystem/tests/data/tsindex_data/leap-seconds.list'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.8/dist-packages/obspy/clients/filesystem/tests/test_tsindex.py", line 656, in test_download_leap_seconds_file
file_path = indexer.download_leap_seconds_file(test_file)
File "/usr/local/lib/python3.8/dist-packages/obspy/clients/filesystem/tsindex.py", line 1134, in download_leap_seconds_file
raise OSError("Failed to create leap seconds file at {} due to {}."
OSError: Failed to create leap seconds file at /usr/local/lib/python3.8/dist-packages/obspy/clients/filesystem/tests/data/tsindex_data/leap-seconds.list due to [Errno 13] Permission denied: '/usr/local/lib/python3.8/dist-packages/obspy/clients/filesystem/tests/data/tsindex_data/leap-seconds.list'.
Traceback (most recent call last):
File "/usr/local/lib/python3.8/dist-packages/obspy/clients/filesystem/tsindex.py", line 1131, in download_leap_seconds_file
with open(file_path, "w") as fh:
PermissionError: [Errno 13] Permission denied: '/usr/local/lib/python3.8/dist-packages/obspy/clients/filesystem/tests/data/tsindex_data/leap-seconds.list'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.8/dist-packages/obspy/clients/filesystem/tests/test_tsindex.py", line 671, in test_download_leap_seconds_file_no_path_given
file_path = indexer.download_leap_seconds_file()
File "/usr/local/lib/python3.8/dist-packages/obspy/clients/filesystem/tsindex.py", line 1134, in download_leap_seconds_file
raise OSError("Failed to create leap seconds file at {} due to {}."
OSError: Failed to create leap seconds file at /usr/local/lib/python3.8/dist-packages/obspy/clients/filesystem/tests/data/tsindex_data/leap-seconds.list due to [Errno 13] Permission denied: '/usr/local/lib/python3.8/dist-packages/obspy/clients/filesystem/tests/data/tsindex_data/leap-seconds.list'.

Skipped tests (39)

Submodule Test Skip message
core core/stream.py::obspy.core.stream._is_pickle Skipped: all tests skipped by +SKIP option
core core/tests/test_event.py::TestEvent::test_plot_farfield_without_quiver_with_maps Skipped: cartopy not installed
core core/tests/test_inventory.py::TestInventoryCartopy::test_location_plot_global Skipped: cartopy not installed
core core/tests/test_inventory.py::TestInventoryCartopy::test_location_plot_ortho Skipped: cartopy not installed
core core/tests/test_inventory.py::TestInventoryCartopy::test_location_plot_local Skipped: cartopy not installed
core core/tests/test_inventory.py::TestInventoryCartopy::test_combined_station_event_plot Skipped: cartopy not installed
core core/tests/test_network.py::TestNetworkCartopy::test_location_plot_global Skipped: cartopy not installed
core core/tests/test_network.py::TestNetworkCartopy::test_location_plot_ortho Skipped: cartopy not installed
core core/tests/test_network.py::TestNetworkCartopy::test_location_plot_local Skipped: cartopy not installed
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.
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.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.shapefile io/shapefile/tests/test_core.py::ShapefileTestCase::test_write_catalog_shapefile Skipped: pyshp not installed
io.shapefile io/shapefile/tests/test_core.py::ShapefileTestCase::test_write_catalog_shapefile_via_plugin Skipped: pyshp not installed
io.shapefile io/shapefile/tests/test_core.py::ShapefileTestCase::test_write_catalog_shapefile_with_extra_field Skipped: pyshp not installed
io.shapefile io/shapefile/tests/test_core.py::ShapefileTestCase::test_write_inventory_shapefile Skipped: pyshp not installed
io.shapefile io/shapefile/tests/test_core.py::ShapefileTestCase::test_write_inventory_shapefile_via_plugin Skipped: pyshp not installed
io.shapefile io/shapefile/tests/test_core.py::ShapefileTestCase::test_write_inventory_shapefile_with_extra_field Skipped: pyshp not installed
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
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
4.204s taup/__init__.py::obspy.taup
3.736s io/xseed/tests/test_core.py::CoreTestCase::test_response_calculation_from_seed_and_xseed
3.568s taup/tests/test_seismic_phase.py::TestTauPySeismicPhase::test_shoot_existing_ray_param
2.429s signal/tests/test_cross_correlation.py::TestCrossCorrelation::test_correlate_stream_template_and_correlation_detector
2.057s signal/tests/test_calibration.py::CalibrationTestCase::test_relcal_different_overlaps
1.973s taup/tests/test_tau.py::TestTauPyModel::test_regional_models
1.956s taup/tau.py::obspy.taup.tau.plot_travel_times
1.821s signal/tests/test_polarization.py::PolarizationTestCase::test_polarization_vidale
1.725s taup/tests/test_tau.py::TestTauPyModel::test_vs_java_iasp91
1.558s taup/tests/test_seismic_phase.py::TestTauPySeismicPhase::test_many_identically_named_phases
1.464s imaging/tests/test_waveform.py::TestWaveformPlot::test_plot_wiggles_positive_section
1.381s imaging/tests/test_waveform.py::TestWaveformPlot::test_plot_wiggles_horizontal_section
1.348s imaging/tests/test_waveform.py::TestWaveformPlot::test_plot_wiggles_vertical_section
1.321s imaging/tests/test_waveform.py::TestWaveformPlot::test_plot_colored_section
1.308s imaging/tests/test_waveform.py::TestWaveformPlot::test_plot_wiggles_negative_section
1.299s imaging/tests/test_waveform.py::TestWaveformPlot::test_plot_ref_time_section
1.292s imaging/tests/test_waveform.py::TestWaveformPlot::test_plot_default_section
1.286s imaging/tests/test_waveform.py::TestWaveformPlot::test_plot_azim_section
1.279s imaging/tests/test_waveform.py::TestWaveformPlot::test_plot_horizontal_section
1.241s signal/tests/test_spectral_estimation.py::TestPsd::test_ppsd_restricted_stacks