#112706 Report by node elquatro covering 1892 tests from 49 modules resulted into 7 errors
Report
- ObsPy version
- 1.2.2
- GitHub Pull Request
- -
- Report file
- XML document
- Total runtime
- 180.7 sec
- Report date/time
- Feb. 5, 2021, 7:31 p.m.
System / Python
- Architecture
- 64bit
- Machine
- x86_64
- Node
- elquatro
- Processor
- x86_64
- Python Compiler
- GCC 7.3.0
- Python Implementation
- CPython
- Python Version
- 3.8.5
- Release
- 5.8.0-41-generic
- System
- Linux
- Version
- #46-Ubuntu SMP Mon Jan 18 16:48:44 UTC 2021
Dependencies
- cartopy
- ---
- decorator
- 4.4.2
- flake8
- ---
- future
- 0.18.2
- geographiclib
- ---
- lxml.etree
- 4.6.2
- m2crypto
- ---
- matplotlib
- 3.3.2
- mock
- ---
- mpl_toolkits.basemap
- ---
- numpy
- 1.19.2
- pep8-naming
- ---
- pyflakes
- ---
- pyimgur
- ---
- pyproj
- 1.9.6
- requests
- 2.25.1
- scipy
- 1.6.0
- setuptools
- 52.0.0.post20210125
- shapefile
- 2.1.3
- 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 | - | 2.59s | - |
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 | 6 | 666 | 641 | 25 | 37.90s | 1 2 3 4 5 6 |
obspy.db | - | 9 | 9 | - | 0.08s | - |
obspy.geodetics | - | 20 | 18 | 2 | 0.14s | - |
obspy.imaging | 1 | 1 | 1 | - | 0.00s | 7 |
obspy.io.ah | - | 5 | 5 | - | 0.10s | - |
obspy.io.arclink | - | 5 | 5 | - | 2.00s | - |
obspy.io.ascii | - | 28 | 28 | - | 0.20s | - |
obspy.io.cmtsolution | - | 10 | 10 | - | 0.07s | - |
obspy.io.cnv | - | 1 | 1 | - | 0.03s | - |
obspy.io.css | - | 7 | 7 | - | 0.56s | - |
obspy.io.dmx | - | 5 | 5 | - | 0.03s | - |
obspy.io.focmec | - | 8 | 8 | - | 0.11s | - |
obspy.io.gcf | - | 9 | 9 | - | 0.03s | - |
obspy.io.gse2 | - | 55 | 55 | - | 0.55s | - |
obspy.io.hypodd | - | 6 | 6 | - | 0.16s | - |
obspy.io.iaspei | - | 7 | 7 | - | 0.93s | - |
obspy.io.json | - | 4 | 4 | - | 0.04s | - |
obspy.io.kinemetrics | - | 7 | 7 | - | 0.63s | - |
obspy.io.kml | - | 3 | 3 | - | 0.17s | - |
obspy.io.mseed | - | 127 | 127 | - | 2.16s | - |
obspy.io.ndk | - | 20 | 20 | - | 0.42s | - |
obspy.io.nied | - | 11 | 11 | - | 0.07s | - |
obspy.io.nlloc | - | 12 | 12 | - | 0.19s | - |
obspy.io.nordic | - | 51 | 51 | - | 1.99s | - |
obspy.io.pdas | - | 3 | 3 | - | 0.01s | - |
obspy.io.pde | - | 13 | 13 | - | 0.39s | - |
obspy.io.quakeml | - | 38 | 38 | - | 0.76s | - |
obspy.io.reftek | - | 20 | 20 | - | 0.23s | - |
obspy.io.rg16 | - | 36 | 36 | - | 0.24s | - |
obspy.io.sac | - | 96 | 96 | - | 0.61s | - |
obspy.io.scardec | - | 5 | 5 | - | 0.10s | - |
obspy.io.seg2 | - | 2 | 2 | - | 0.05s | - |
obspy.io.segy | - | 56 | 56 | - | 0.58s | - |
obspy.io.seisan | - | 8 | 8 | - | 0.11s | - |
obspy.io.seiscomp | - | 47 | 47 | - | 2.02s | - |
obspy.io.sh | - | 25 | 25 | - | 0.51s | - |
obspy.io.shapefile | - | 7 | 7 | - | 0.58s | - |
obspy.io.stationtxt | - | 11 | 11 | - | 0.10s | - |
obspy.io.stationxml | - | 22 | 22 | - | 0.60s | - |
obspy.io.wav | - | 8 | 8 | - | 0.04s | - |
obspy.io.win | - | 2 | 2 | - | 0.12s | - |
obspy.io.xseed | - | 82 | 82 | - | 9.30s | - |
obspy.io.y | - | 5 | 5 | - | 0.02s | - |
obspy.io.zmap | - | 14 | 14 | - | 0.26s | - |
obspy.realtime | - | 22 | 22 | - | 0.57s | - |
obspy.scripts | - | 2 | 2 | - | 0.02s | - |
obspy.signal | - | 199 | 198 | 1 | 49.88s | - |
obspy.taup | - | 64 | 58 | 6 | 62.43s | - |
Summary | 7 | 1892 | 1858 | 34 | 180.68s | 7 |
Tracebacks (7)
Traceback (most recent call last): File "/home/john/miniconda3/envs/seismo/lib/python3.8/site-packages/obspy/core/tests/test_network.py", line 385, in test_location_plot_local net.plot(method='basemap', projection='local', resolution='l', File "/home/john/miniconda3/envs/seismo/lib/python3.8/site-packages/obspy/core/inventory/network.py", line 609, in plot from obspy.imaging.maps import plot_map File "/home/john/miniconda3/envs/seismo/lib/python3.8/site-packages/obspy/imaging/maps.py", line 33, in <module> from mpl_toolkits.basemap import Basemap File "/home/john/miniconda3/envs/seismo/lib/python3.8/site-packages/mpl_toolkits/basemap/__init__.py", line 26, in <module> from matplotlib.cbook import dedent ImportError: cannot import name 'dedent' from 'matplotlib.cbook' (/home/john/miniconda3/envs/seismo/lib/python3.8/site-packages/matplotlib/cbook/__init__.py)
Traceback (most recent call last): File "/home/john/miniconda3/envs/seismo/lib/python3.8/site-packages/obspy/core/tests/test_network.py", line 365, in test_location_plot_ortho net.plot(method='basemap', projection='ortho', resolution='c', File "/home/john/miniconda3/envs/seismo/lib/python3.8/site-packages/obspy/core/inventory/network.py", line 609, in plot from obspy.imaging.maps import plot_map File "/home/john/miniconda3/envs/seismo/lib/python3.8/site-packages/obspy/imaging/maps.py", line 33, in <module> from mpl_toolkits.basemap import Basemap File "/home/john/miniconda3/envs/seismo/lib/python3.8/site-packages/mpl_toolkits/basemap/__init__.py", line 26, in <module> from matplotlib.cbook import dedent ImportError: cannot import name 'dedent' from 'matplotlib.cbook' (/home/john/miniconda3/envs/seismo/lib/python3.8/site-packages/matplotlib/cbook/__init__.py)
Traceback (most recent call last): File "/home/john/miniconda3/envs/seismo/lib/python3.8/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/john/miniconda3/envs/seismo/lib/python3.8/site-packages/obspy/core/trace.py", line 2487, in times ---------------------------------------------------------------------- File "/home/john/miniconda3/envs/seismo/lib/python3.8/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/john/miniconda3/envs/seismo/lib/python3.8/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/john/miniconda3/envs/seismo/lib/python3.8/site-packages/obspy/core/utcdatetime.py", line unknown line number, in matplotlib_date ---------------------------------------------------------------------- File "/home/john/miniconda3/envs/seismo/lib/python3.8/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/john/miniconda3/envs/seismo/lib/python3.8/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/john/miniconda3/envs/seismo/lib/python3.8/site-packages/numpy/testing/_private/utils.py", line 1527, in assert_allclose assert_array_compare(compare, actual, desired, err_msg=str(err_msg), File "/home/john/miniconda3/envs/seismo/lib/python3.8/site-packages/numpy/testing/_private/utils.py", line 840, 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])
Traceback (most recent call last): File "/home/john/miniconda3/envs/seismo/lib/python3.8/site-packages/obspy/core/tests/test_utcdatetime.py", line 1092, in test_matplotlib_date np.testing.assert_almost_equal( File "/home/john/miniconda3/envs/seismo/lib/python3.8/site-packages/numpy/testing/_private/utils.py", line 595, in assert_almost_equal raise AssertionError(_build_err_msg()) AssertionError: Arrays are not almost equal to 8 decimals ACTUAL: 5965.5723676839116 DESIRED: 725128.5723676839
>>> Cannot import test suite for module obspy.imaging due to: ------------------------------------------------------------- File "/home/john/miniconda3/envs/seismo/bin/obspy-runtests", line 10, in <module> sys.exit(main()) File "/home/john/miniconda3/envs/seismo/lib/python3.8/site-packages/obspy/scripts/runtests.py", line 747, in main errors = run(argv, interactive) File "/home/john/miniconda3/envs/seismo/lib/python3.8/site-packages/obspy/scripts/runtests.py", line 711, in run return run_tests(verbosity, args.tests, report, args.log, args.server, File "/home/john/miniconda3/envs/seismo/lib/python3.8/site-packages/obspy/scripts/runtests.py", line 542, in run_tests suites, status, import_failures = _get_suites(verbosity, tests) File "/home/john/miniconda3/envs/seismo/lib/python3.8/site-packages/obspy/scripts/runtests.py", line 164, in _get_suites suite.append(ut.loadTestsFromName(test, None)) File "/home/john/miniconda3/envs/seismo/lib/python3.8/unittest/loader.py", line 205, in loadTestsFromName test = obj() File "/home/john/miniconda3/envs/seismo/lib/python3.8/site-packages/obspy/imaging/tests/__init__.py", line 23, in suite add_doctests(suite, MODULE_NAME) File "/home/john/miniconda3/envs/seismo/lib/python3.8/site-packages/obspy/core/util/testing.py", line 119, in add_doctests _module = __import__(_module_name, File "/home/john/miniconda3/envs/seismo/lib/python3.8/site-packages/obspy/imaging/maps.py", line 33, in <module> from mpl_toolkits.basemap import Basemap File "/home/john/miniconda3/envs/seismo/lib/python3.8/site-packages/mpl_toolkits/basemap/__init__.py", line 26, in <module> from matplotlib.cbook import dedent ImportError: cannot import name 'dedent' from 'matplotlib.cbook' (/home/john/miniconda3/envs/seismo/lib/python3.8/site-packages/matplotlib/cbook/__init__.py)
Skipped tests (34)
Submodule | Test | Skip message |
---|---|---|
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_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_location_plot_global (obspy.core.tests.test_network.NetworkBasemapTestCase) | unsupported proj4 library |
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 |
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 |
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 |
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_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 |
Slowest tests (20)
Runtime | Test |
---|---|
9.196s | __init__ (obspy.taup) |
6.881s | test_shoot_existing_ray_param (obspy.taup.tests.test_seismic_phase.TauPySeismicPhaseTestCase) |
6.835s | test_response_calculation_from_seed_and_xseed (obspy.io.xseed.tests.test_core.CoreTestCase) |
4.981s | test_ppsd_restricted_stacks (obspy.signal.tests.test_spectral_estimation.PsdTestCase) |
4.429s | test_polarization_vidale (obspy.signal.tests.test_polarization.PolarizationTestCase) |
4.381s | test_relcal_different_overlaps (obspy.signal.tests.test_calibration.CalibrationTestCase) |
4.353s | plot_travel_times (obspy.taup.tau) |
4.294s | test_regional_models (obspy.taup.tests.test_tau.TauPyModelTestCase) |
4.057s | read (obspy.core.stream) |
3.726s | test_vs_java_iasp91 (obspy.taup.tests.test_tau.TauPyModelTestCase) |
3.619s | test_remove_response_plot (obspy.core.tests.test_trace.TraceTestCase) |
3.080s | test_correlate_stream_template_and_correlation_detector (obspy.signal.tests.test_cross_correlation.CrossCorrelationTestCase) |
3.070s | test_many_identically_named_phases (obspy.taup.tests.test_seismic_phase.TauPySeismicPhaseTestCase) |
2.409s | test_read_url_via_network (obspy.core.tests.test_stream.StreamTestCase) |
2.184s | test_rotate2zne_against_lqt_different_combinations (obspy.signal.tests.test_rotate.RotateTestCase) |
2.166s | test_plot_tf_misfits (obspy.signal.tests.test_tf_misfit.TfPlotTestCase) |
2.050s | test_plot_tf_gofs (obspy.signal.tests.test_tf_misfit.TfPlotTestCase) |
1.958s | test_plot_travel_times_convenience (obspy.taup.tests.test_plotting.TauPyPlottingTestCase) |
1.946s | test_auto_read_arclink_xml (obspy.io.arclink.tests.test_inventory_xml.ArclinkInventoryTestCase) |
1.839s | test_spherical_many_phases (obspy.taup.tests.test_plotting.TauPyPlottingTestCase) |