#119392 Report by node sec21c7 covering 1968 tests from 49 modules resulted into 5 errors
Report
- ObsPy version
- 1.2.2
- GitHub Pull Request
- -
- Report file
- XML document
- Total runtime
- 270.8 sec
- Report date/time
- Feb. 14, 2022, 2:40 a.m.
System / Python
- Architecture
- 64bit
- Machine
- x86_64
- Node
- sec21c7
- Processor
- x86_64
- Python Compiler
- GCC 7.5.0
- Python Implementation
- CPython
- Python Version
- 3.9.7
- Release
- 4.15.0-167-generic
- System
- Linux
- Version
- #175-Ubuntu SMP Wed Jan 5 01:56:07 UTC 2022
Dependencies
- cartopy
- 0.18.0
- decorator
- 5.1.1
- flake8
- ---
- future
- 0.18.2
- geographiclib
- ---
- lxml.etree
- 4.7.1
- m2crypto
- ---
- matplotlib
- 3.3.4
- mock
- ---
- mpl_toolkits.basemap
- ---
- numpy
- 1.20.3
- pep8-naming
- ---
- pyflakes
- ---
- pyimgur
- ---
- pyproj
- ---
- requests
- 2.27.1
- scipy
- 1.5.3
- setuptools
- 58.0.4
- shapefile
- 2.2.0
- sqlalchemy
- 1.3.23
Modules (49)
Module | Errors / Failures | Tracebacks | ||||
---|---|---|---|---|---|---|
obspy.clients.arclink | Not tested | - | - | - | - | - |
obspy.clients.earthworm | Not tested | - | - | - | - | - |
obspy.clients.fdsn | Not tested | - | - | - | - | - |
obspy.clients.filesystem | - | 28 | 28 | - | 3.24s | - |
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 | 5 | 666 | 649 | 17 | 49.80s | 1 2 3 4 5 |
obspy.db | - | 9 | 9 | - | 0.08s | - |
obspy.geodetics | - | 20 | 18 | 2 | 0.15s | - |
obspy.imaging | - | 77 | 76 | 1 | 40.68s | - |
obspy.io.ah | - | 5 | 5 | - | 0.11s | - |
obspy.io.arclink | - | 5 | 5 | - | 2.47s | - |
obspy.io.ascii | - | 28 | 28 | - | 0.21s | - |
obspy.io.cmtsolution | - | 10 | 10 | - | 0.07s | - |
obspy.io.cnv | - | 1 | 1 | - | 0.03s | - |
obspy.io.css | - | 7 | 7 | - | 0.77s | - |
obspy.io.dmx | - | 5 | 5 | - | 0.04s | - |
obspy.io.focmec | - | 8 | 8 | - | 0.13s | - |
obspy.io.gcf | - | 9 | 9 | - | 0.04s | - |
obspy.io.gse2 | - | 55 | 55 | - | 0.58s | - |
obspy.io.hypodd | - | 6 | 6 | - | 0.20s | - |
obspy.io.iaspei | - | 7 | 7 | - | 1.16s | - |
obspy.io.json | - | 4 | 4 | - | 0.05s | - |
obspy.io.kinemetrics | - | 7 | 7 | - | 0.75s | - |
obspy.io.kml | - | 3 | 3 | - | 0.23s | - |
obspy.io.mseed | - | 127 | 127 | - | 2.39s | - |
obspy.io.ndk | - | 20 | 20 | - | 0.49s | - |
obspy.io.nied | - | 11 | 11 | - | 0.08s | - |
obspy.io.nlloc | - | 12 | 11 | 1 | 0.22s | - |
obspy.io.nordic | - | 51 | 51 | - | 2.30s | - |
obspy.io.pdas | - | 3 | 3 | - | 0.01s | - |
obspy.io.pde | - | 13 | 13 | - | 0.52s | - |
obspy.io.quakeml | - | 38 | 38 | - | 0.99s | - |
obspy.io.reftek | - | 20 | 20 | - | 0.25s | - |
obspy.io.rg16 | - | 36 | 36 | - | 0.33s | - |
obspy.io.sac | - | 96 | 96 | - | 0.67s | - |
obspy.io.scardec | - | 5 | 5 | - | 0.15s | - |
obspy.io.seg2 | - | 2 | 2 | - | 0.06s | - |
obspy.io.segy | - | 56 | 56 | - | 0.90s | - |
obspy.io.seisan | - | 8 | 8 | - | 0.17s | - |
obspy.io.seiscomp | - | 47 | 47 | - | 2.21s | - |
obspy.io.sh | - | 25 | 25 | - | 0.70s | - |
obspy.io.shapefile | - | 7 | 7 | - | 0.75s | - |
obspy.io.stationtxt | - | 11 | 11 | - | 0.12s | - |
obspy.io.stationxml | - | 22 | 22 | - | 0.75s | - |
obspy.io.wav | - | 8 | 8 | - | 0.04s | - |
obspy.io.win | - | 2 | 2 | - | 0.22s | - |
obspy.io.xseed | - | 82 | 82 | - | 10.61s | - |
obspy.io.y | - | 5 | 5 | - | 0.02s | - |
obspy.io.zmap | - | 14 | 14 | - | 0.32s | - |
obspy.realtime | - | 22 | 22 | - | 0.54s | - |
obspy.scripts | - | 2 | 2 | - | 0.02s | - |
obspy.signal | - | 199 | 197 | 2 | 65.68s | - |
obspy.taup | - | 64 | 58 | 6 | 78.55s | - |
Summary | 5 | 1968 | 1939 | 29 | 270.84s | 5 |
Tracebacks (5)
Traceback (most recent call last): File "/home/asoares/anaconda3/envs/obspy/lib/python3.9/doctest.py", line 2204, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for obspy.core.trace.Trace.times File "/home/asoares/anaconda3/envs/obspy/lib/python3.9/site-packages/obspy/core/trace.py", line 2487, in times ---------------------------------------------------------------------- File "/home/asoares/anaconda3/envs/obspy/lib/python3.9/site-packages/obspy/core/trace.py", line 2529, in obspy.core.trace.Trace.times Failed example: tr.times("matplotlib") Expected: array([ 733643.01392361, 733643.01392373, 733643.01392384, ..., 733643.01427049, 733643.0142706 , 733643.01427072]) Got: array([ 14480.01392361, 14480.01392373, 14480.01392384, ..., 14480.01427049, 14480.0142706 , 14480.01427072])
Traceback (most recent call last): File "/home/asoares/anaconda3/envs/obspy/lib/python3.9/doctest.py", line 2204, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for obspy.core.utcdatetime.UTCDateTime.isocalendar File "/home/asoares/anaconda3/envs/obspy/lib/python3.9/site-packages/obspy/core/utcdatetime.py", line 1424, in isocalendar ---------------------------------------------------------------------- File "/home/asoares/anaconda3/envs/obspy/lib/python3.9/site-packages/obspy/core/utcdatetime.py", line 1435, in obspy.core.utcdatetime.UTCDateTime.isocalendar Failed example: dt.isocalendar() Expected: (2008, 40, 3) Got: datetime.IsoCalendarDate(year=2008, week=40, weekday=3)
Traceback (most recent call last): File "/home/asoares/anaconda3/envs/obspy/lib/python3.9/doctest.py", line 2204, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for obspy.core.utcdatetime.UTCDateTime.matplotlib_date File "/home/asoares/anaconda3/envs/obspy/lib/python3.9/site-packages/obspy/core/utcdatetime.py", line unknown line number, in matplotlib_date ---------------------------------------------------------------------- File "/home/asoares/anaconda3/envs/obspy/lib/python3.9/site-packages/obspy/core/utcdatetime.py", line ?, in obspy.core.utcdatetime.UTCDateTime.matplotlib_date Failed example: t.matplotlib_date Expected: 733643.0139780092 Got: 14480.01397800926
Traceback (most recent call last): File "/home/asoares/anaconda3/envs/obspy/lib/python3.9/site-packages/obspy/core/tests/test_utcdatetime.py", line 1092, in test_matplotlib_date np.testing.assert_almost_equal( File "/home/asoares/anaconda3/envs/obspy/lib/python3.9/site-packages/numpy/testing/_private/utils.py", line 597, in assert_almost_equal raise AssertionError(_build_err_msg()) AssertionError: Arrays are not almost equal to 8 decimals ACTUAL: 5965.5723676839116 DESIRED: 725128.5723676839
Traceback (most recent call last): File "/home/asoares/anaconda3/envs/obspy/lib/python3.9/site-packages/obspy/core/tests/test_trace.py", line 1448, in test_times np.testing.assert_allclose(got[:5], expected, rtol=1e-17) File "/home/asoares/anaconda3/envs/obspy/lib/python3.9/site-packages/numpy/testing/_private/utils.py", line 1528, in assert_allclose assert_array_compare(compare, actual, desired, err_msg=str(err_msg), File "/home/asoares/anaconda3/envs/obspy/lib/python3.9/site-packages/numpy/testing/_private/utils.py", line 842, in assert_array_compare raise AssertionError(msg) AssertionError: Not equal to tolerance rtol=1e-17, atol=0 Mismatched elements: 5 / 5 (100%) Max absolute difference: 719163.0 Max relative difference: 0.9849928778830878 x: array([ 10957. , 10957.000001, 10957.000001, 10957.000002, 10957.000002]) y: array([ 730120. , 730120.000001, 730120.000001, 730120.000002, 730120.000002])
Skipped tests (29)
Submodule | Test | Skip message |
---|---|---|
core | test_flake8 (obspy.core.tests.test_code_formatting.CodeFormattingTestCase) | No code formatting tests for release builds |
core | test_use_obspy_deprecation_warning (obspy.core.tests.test_code_formatting.CodeFormattingTestCase) | No code formatting tests for release builds |
core | test_future_imports_in_every_file (obspy.core.tests.test_code_formatting.FutureUsageTestCase) | No code formatting tests for release builds |
core | test_no_pyplot_import_in_any_file (obspy.core.tests.test_code_formatting.MatplotlibBackendUsageTestCase) | No code formatting tests for release builds |
core | test_location_plot_global (obspy.core.tests.test_network.NetworkBasemapTestCase) | basemap not installed |
core | test_location_plot_local (obspy.core.tests.test_network.NetworkBasemapTestCase) | basemap not installed |
core | test_location_plot_ortho (obspy.core.tests.test_network.NetworkBasemapTestCase) | basemap not installed |
core | test_combined_station_event_plot (obspy.core.tests.test_inventory.InventoryBasemapTestCase) | basemap not installed |
core | test_location_plot_global (obspy.core.tests.test_inventory.InventoryBasemapTestCase) | basemap not installed |
core | test_location_plot_local (obspy.core.tests.test_inventory.InventoryBasemapTestCase) | basemap not installed |
core | test_location_plot_ortho (obspy.core.tests.test_inventory.InventoryBasemapTestCase) | basemap not installed |
core | test_catalog_plot_global (obspy.core.tests.test_event.CatalogBasemapTestCase) | basemap not installed |
core | test_catalog_plot_local (obspy.core.tests.test_event.CatalogBasemapTestCase) | basemap not installed |
core | test_catalog_plot_ortho (obspy.core.tests.test_event.CatalogBasemapTestCase) | basemap not installed |
core | test_catalog_plot_ortho_longitude_wrap (obspy.core.tests.test_event.CatalogBasemapTestCase) | basemap not installed |
core | test_plot_catalog_before_1900 (obspy.core.tests.test_event.CatalogBasemapTestCase) | basemap not installed |
core | test_plot_farfield_without_quiver_with_maps (obspy.core.tests.test_event.EventTestCase) | basemap 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. |
io.nlloc | test_read_nlloc_scatter_coordinate_conversion (obspy.io.nlloc.tests.test_util.NLLOCTestCase) | pyproj not installed |
signal | test_schema_validation (obspy.signal.tests.test_quality_control.QualityControlTestCase) | Test requires the jsonschema module |
signal | test_ppsd_spectrogram_plot (obspy.signal.tests.test_spectral_estimation.PsdTestCase) | matplotlib >= 3 shifts labels |
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. |
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_compute_ray_paths (obspy.taup.tests.test_ray_paths.RayPathCalculationsTestCase) | test needs geographiclib >= 1.34 |
Slowest tests (20)
Runtime | Test |
---|---|
12.013s | __init__ (obspy.taup) |
9.017s | test_shoot_existing_ray_param (obspy.taup.tests.test_seismic_phase.TauPySeismicPhaseTestCase) |
8.783s | test_relcal_different_overlaps (obspy.signal.tests.test_calibration.CalibrationTestCase) |
7.772s | test_response_calculation_from_seed_and_xseed (obspy.io.xseed.tests.test_core.CoreTestCase) |
6.410s | test_plot_multiple_traces (obspy.imaging.tests.test_waveform.WaveformTestCase) |
5.928s | test_ppsd_restricted_stacks (obspy.signal.tests.test_spectral_estimation.PsdTestCase) |
5.558s | plot_travel_times (obspy.taup.tau) |
5.321s | test_regional_models (obspy.taup.tests.test_tau.TauPyModelTestCase) |
4.721s | test_vs_java_iasp91 (obspy.taup.tests.test_tau.TauPyModelTestCase) |
4.694s | test_polarization_vidale (obspy.signal.tests.test_polarization.PolarizationTestCase) |
4.440s | test_remove_response_plot (obspy.core.tests.test_trace.TraceTestCase) |
4.160s | test_many_identically_named_phases (obspy.taup.tests.test_seismic_phase.TauPySeismicPhaseTestCase) |
3.253s | test_correlate_stream_template_and_correlation_detector (obspy.signal.tests.test_cross_correlation.CrossCorrelationTestCase) |
3.121s | test_rotate2zne_against_lqt_different_combinations (obspy.signal.tests.test_rotate.RotateTestCase) |
2.905s | test_catalog_plot_local (obspy.core.tests.test_event.CatalogCartopyTestCase) |
2.784s | test_plot_tf_gofs (obspy.signal.tests.test_tf_misfit.TfPlotTestCase) |
2.767s | test_plot_tf_misfits (obspy.signal.tests.test_tf_misfit.TfPlotTestCase) |
2.758s | test_evalresp_file_like_object (obspy.signal.tests.test_invsim.InvSimTestCase) |
2.565s | test_relcal_using_dict (obspy.signal.tests.test_calibration.CalibrationTestCase) |
2.550s | test_relcal_using_traces (obspy.signal.tests.test_calibration.CalibrationTestCase) |