#111725 Report by node travis-ci covering 1894 tests from 49 modules resulted into 7 errors
Report
- ObsPy version
- 1.2.2.post0+7.gf01c3e3f47
- GitHub Pull Request
- https://github.com/obspy/obspy/pull/2694
- Report file
- XML document
- Total runtime
- 288.7 sec
- Report date/time
- Aug. 3, 2020, 6:12 a.m.
System / Python
- Architecture
- 64bit
- Machine
- x86_64
- Node
- travis-ci
- Processor
- i386
- Python Compiler
- Clang 10.0.1
- Python Implementation
- CPython
- Python Version
- 3.7.8
- Release
- 17.7.0
- System
- Darwin
- Version
- Darwin Kernel Version 17.7.0: Thu Jun 21 22:53:14 PDT 2018; root:xnu-4570.71.2~1/RELEASE_X86_64
Dependencies
- cartopy
- ---
- decorator
- 4.4.2
- flake8
- ---
- future
- 0.18.2
- geographiclib
- 1.50
- lxml.etree
- 4.5.2
- m2crypto
- ---
- matplotlib
- 3.3.0
- mock
- 4.0.2
- mpl_toolkits.basemap
- ---
- numpy
- 1.19.1
- pep8-naming
- ---
- pyflakes
- ---
- pyimgur
- 0.5.2
- pyproj
- 1.9.6
- requests
- 2.24.0
- scipy
- 1.5.2
- setuptools
- 49.2.1.post20200802
- shapefile
- 2.1.0
- sqlalchemy
- 1.3.18
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 | - | 5.45s | - |
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 | 668 | 646 | 22 | 56.15s | 1 2 3 4 5 6 |
obspy.db | - | 9 | 9 | - | 0.12s | - |
obspy.geodetics | - | 20 | 19 | 1 | 0.29s | - |
obspy.imaging | 1 | 1 | 1 | - | 0.00s | 7 |
obspy.io.ah | - | 5 | 5 | - | 0.20s | - |
obspy.io.arclink | - | 5 | 5 | - | 3.62s | - |
obspy.io.ascii | - | 28 | 28 | - | 0.38s | - |
obspy.io.cmtsolution | - | 10 | 10 | - | 0.15s | - |
obspy.io.cnv | - | 1 | 1 | - | 0.05s | - |
obspy.io.css | - | 7 | 7 | - | 1.32s | - |
obspy.io.dmx | - | 5 | 5 | - | 0.06s | - |
obspy.io.focmec | - | 8 | 8 | - | 0.24s | - |
obspy.io.gcf | - | 9 | 9 | - | 0.06s | - |
obspy.io.gse2 | - | 55 | 55 | - | 1.01s | - |
obspy.io.hypodd | - | 6 | 6 | - | 0.27s | - |
obspy.io.iaspei | - | 7 | 7 | - | 1.77s | - |
obspy.io.json | - | 4 | 4 | - | 0.07s | - |
obspy.io.kinemetrics | - | 7 | 7 | - | 1.43s | - |
obspy.io.kml | - | 3 | 3 | - | 0.30s | - |
obspy.io.mseed | - | 127 | 127 | - | 4.23s | - |
obspy.io.ndk | - | 20 | 20 | - | 0.81s | - |
obspy.io.nied | - | 11 | 11 | - | 0.15s | - |
obspy.io.nlloc | - | 12 | 12 | - | 0.35s | - |
obspy.io.nordic | - | 51 | 51 | - | 3.98s | - |
obspy.io.pdas | - | 3 | 3 | - | 0.02s | - |
obspy.io.pde | - | 13 | 13 | - | 0.76s | - |
obspy.io.quakeml | - | 38 | 38 | - | 1.31s | - |
obspy.io.reftek | - | 20 | 20 | - | 0.43s | - |
obspy.io.rg16 | - | 36 | 36 | - | 0.44s | - |
obspy.io.sac | - | 96 | 96 | - | 1.12s | - |
obspy.io.scardec | - | 5 | 5 | - | 0.21s | - |
obspy.io.seg2 | - | 2 | 2 | - | 0.09s | - |
obspy.io.segy | - | 56 | 56 | - | 0.88s | - |
obspy.io.seisan | - | 8 | 8 | - | 0.21s | - |
obspy.io.seiscomp | - | 47 | 47 | - | 3.20s | - |
obspy.io.sh | - | 25 | 25 | - | 0.97s | - |
obspy.io.shapefile | - | 7 | 7 | - | 1.05s | - |
obspy.io.stationtxt | - | 11 | 11 | - | 0.17s | - |
obspy.io.stationxml | - | 22 | 22 | - | 1.03s | - |
obspy.io.wav | - | 8 | 8 | - | 0.08s | - |
obspy.io.win | - | 2 | 2 | - | 0.27s | - |
obspy.io.xseed | - | 82 | 82 | - | 20.61s | - |
obspy.io.y | - | 5 | 5 | - | 0.03s | - |
obspy.io.zmap | - | 14 | 14 | - | 0.53s | - |
obspy.realtime | - | 22 | 22 | - | 0.92s | - |
obspy.scripts | - | 2 | 2 | - | 0.03s | - |
obspy.signal | - | 199 | 198 | 1 | 71.04s | - |
obspy.taup | - | 64 | 64 | - | 100.86s | - |
Summary | 7 | 1894 | 1870 | 24 | 288.68s | 7 |
Tracebacks (7)
Traceback (most recent call last): File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/tests/test_network.py", line 386, in test_location_plot_local size=13**2, outfile=ic.name) File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/inventory/network.py", line 609, in plot from obspy.imaging.maps import plot_map File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/imaging/maps.py", line 33, in <module> from mpl_toolkits.basemap import Basemap File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/mpl_toolkits/basemap/__init__.py", line 50, in <module> from .proj import Proj File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/mpl_toolkits/basemap/proj.py", line 6, in <module> from matplotlib.cbook import dedent ImportError: cannot import name 'dedent' from 'matplotlib.cbook' (/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/matplotlib/cbook/__init__.py)
Traceback (most recent call last): File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/tests/test_network.py", line 367, in test_location_plot_ortho color='yellow', label=False, outfile=ic.name) File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/inventory/network.py", line 609, in plot from obspy.imaging.maps import plot_map File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/imaging/maps.py", line 33, in <module> from mpl_toolkits.basemap import Basemap File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/mpl_toolkits/basemap/__init__.py", line 50, in <module> from .proj import Proj File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/mpl_toolkits/basemap/proj.py", line 6, in <module> from matplotlib.cbook import dedent ImportError: cannot import name 'dedent' from 'matplotlib.cbook' (/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/matplotlib/cbook/__init__.py)
Traceback (most recent call last): File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/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 "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/trace.py", line 2487, in times ---------------------------------------------------------------------- File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/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 "/Users/travis/miniconda/envs/test-environment/lib/python3.7/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 "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/utcdatetime.py", line unknown line number, in matplotlib_date ---------------------------------------------------------------------- File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/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 "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/tests/test_trace.py", line 1448, in test_times np.testing.assert_allclose(got[:5], expected, rtol=1e-17) File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/numpy/testing/_private/utils.py", line 1528, in assert_allclose verbose=verbose, header=header, equal_nan=equal_nan) File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/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 "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/tests/test_utcdatetime.py", line 1093, in test_matplotlib_date t.matplotlib_date, expected, decimal=8) File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/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 "/Users/travis/miniconda/envs/test-environment/bin/coverage", line 11, in <module> sys.exit(main()) File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/coverage/cmdline.py", line 865, in main status = CoverageScript().command_line(argv) File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/coverage/cmdline.py", line 582, in command_line return self.do_run(options, args) File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/coverage/cmdline.py", line 740, in do_run runner.run() File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/coverage/execfile.py", line 247, in run exec(code, main_mod.__dict__) File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/scripts/runtests.py", line 757, in <module> errors = run(interactive=False) File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/scripts/runtests.py", line 715, in run pr_url=args.pr_url) File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/scripts/runtests.py", line 542, in run_tests suites, status, import_failures = _get_suites(verbosity, tests) File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/scripts/runtests.py", line 164, in _get_suites suite.append(ut.loadTestsFromName(test, None)) File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/unittest/loader.py", line 205, in loadTestsFromName test = obj() File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/imaging/tests/__init__.py", line 23, in suite add_doctests(suite, MODULE_NAME) File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/testing.py", line 120, in add_doctests fromlist=[native_str("obspy")]) File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/imaging/maps.py", line 33, in <module> from mpl_toolkits.basemap import Basemap File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/mpl_toolkits/basemap/__init__.py", line 50, in <module> from .proj import Proj File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/mpl_toolkits/basemap/proj.py", line 6, in <module> from matplotlib.cbook import dedent ImportError: cannot import name 'dedent' from 'matplotlib.cbook' (/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/matplotlib/cbook/__init__.py)
Skipped tests (24)
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.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 |
geodetics | test_gps_2_dist_azimuth_bug150 (obspy.geodetics.tests.test_util_geodetics.UtilGeodeticsTestCase) | Module geographiclib is installed, not using calc_vincenty_inverse |
signal | test_ppsd_spectrogram_plot (obspy.signal.tests.test_spectral_estimation.PsdTestCase) | matplotlib >= 3 shifts labels |
Slowest tests (20)
Runtime | Test |
---|---|
15.522s | test_response_calculation_from_seed_and_xseed (obspy.io.xseed.tests.test_core.CoreTestCase) |
13.520s | __init__ (obspy.taup) |
10.948s | test_shoot_existing_ray_param (obspy.taup.tests.test_seismic_phase.TauPySeismicPhaseTestCase) |
9.412s | test_ppsd_restricted_stacks (obspy.signal.tests.test_spectral_estimation.PsdTestCase) |
6.401s | plot_travel_times (obspy.taup.tau) |
5.948s | test_remove_response_plot (obspy.core.tests.test_trace.TraceTestCase) |
5.758s | test_regional_models (obspy.taup.tests.test_tau.TauPyModelTestCase) |
5.572s | test_polarization_vidale (obspy.signal.tests.test_polarization.PolarizationTestCase) |
5.406s | test_vs_java_iasp91 (obspy.taup.tests.test_tau.TauPyModelTestCase) |
5.319s | test_relcal_different_overlaps (obspy.signal.tests.test_calibration.CalibrationTestCase) |
5.133s | test_many_identically_named_phases (obspy.taup.tests.test_seismic_phase.TauPySeismicPhaseTestCase) |
4.423s | test_correlate_stream_template_and_correlation_detector (obspy.signal.tests.test_cross_correlation.CrossCorrelationTestCase) |
3.527s | test_auto_read_arclink_xml (obspy.io.arclink.tests.test_inventory_xml.ArclinkInventoryTestCase) |
3.245s | test_compute_ray_paths (obspy.taup.tests.test_ray_paths.RayPathCalculationsTestCase) |
3.228s | test_rotate2zne_against_lqt_different_combinations (obspy.signal.tests.test_rotate.RotateTestCase) |
3.011s | test_plot_tf_misfits (obspy.signal.tests.test_tf_misfit.TfPlotTestCase) |
2.816s | test_plot_travel_times_convenience (obspy.taup.tests.test_plotting.TauPyPlottingTestCase) |
2.791s | test_ppsd_w_iris_against_obspy_results (obspy.signal.tests.test_spectral_estimation.PsdTestCase) |
2.732s | test_plot_tf_gofs (obspy.signal.tests.test_tf_misfit.TfPlotTestCase) |
2.576s | test_spherical_many_phases (obspy.taup.tests.test_plotting.TauPyPlottingTestCase) |