#105525 Report by node travis-ci covering 1885 tests from 47 modules resulted into 3 errors

Report

ObsPy version
1.1.1.post0+836.g088088c441
GitHub Pull Request
https://github.com/obspy/obspy/pull/2451
Report file
XML document
Total runtime
262.5 sec
Report date/time
Sept. 26, 2019, 10:27 a.m.

System / Python

Architecture
64bit
Machine
x86_64
Node
travis-ci
Processor
x86_64
Python Compiler
GCC 7.3.0
Python Implementation
CPython
Python Version
3.6.7
Release
4.15.0-1028-gcp
System
Linux
Version
#29~16.04.1-Ubuntu SMP Tue Feb 12 16:31:10 UTC 2019

Dependencies

cartopy
---
decorator
4.4.0
flake8
---
future
0.17.1
geographiclib
1.50
lxml.etree
4.4.1
m2crypto
---
matplotlib
3.1.1
mock
3.0.5
mpl_toolkits.basemap
1.1.0
numpy
1.17.2
pep8-naming
---
pyflakes
---
pyimgur
0.5.2
pyproj
1.9.5.1
requests
2.22.0
scipy
1.3.1
setuptools
41.2.0
shapefile
2.1.0
sqlalchemy
1.3.8

Modules (47)

Module Errors / Failures Tracebacks
obspy.clients.arclink Not tested -
obspy.clients.earthworm Not tested -
obspy.clients.fdsn Not tested -
obspy.clients.filesystem - -
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 1 1
obspy.db - -
obspy.geodetics - -
obspy.imaging - -
obspy.io.ah - -
obspy.io.arclink - -
obspy.io.ascii - -
obspy.io.cmtsolution - -
obspy.io.cnv - -
obspy.io.css - -
obspy.io.focmec - -
obspy.io.gcf - -
obspy.io.gse2 - -
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 2 2 3
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 "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/core/tests/test_code_formatting.py", line 289, in test_no_pyplot_import_in_any_file
self.assertEqual(len(failures), 0, "\n" + "\n\n".join(failures))
AssertionError: 1 != 0 :
File '/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/io/nordic/ellipse.py' (line 18)
matches a forbidden matplotlib import statement outside of class/def statements
(breaking matplotlib backend switching on some systems):
'import matplotlib.pyplot as plt'
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/io/nordic/tests/test_nordic.py", line 956, in test_ellipse_plot
Ellipse(20, 10, 90).plot(outfile=ic.name)
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/core/util/testing.py", line 442, in __exit__
msg = self.compare()
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/core/util/testing.py", line 542, in compare
return compare_images(self.baseline_image, self.name, tol=self.tol)
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/core/util/testing.py", line 198, in compare_images
expected_image = matplotlib.image.imread(native_str(expected))
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/matplotlib/image.py", line 1434, in imread
return handler(fd)
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/matplotlib/image.py", line 1390, in read_png
return _png.read_png(*args, **kwargs)
ValueError: invalid PNG header
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/io/nordic/tests/test_nordic.py", line 976, in test_ellipse_plot_tangents
outfile=ic.name)
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/core/util/testing.py", line 442, in __exit__
msg = self.compare()
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/core/util/testing.py", line 542, in compare
return compare_images(self.baseline_image, self.name, tol=self.tol)
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/core/util/testing.py", line 198, in compare_images
expected_image = matplotlib.image.imread(native_str(expected))
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/matplotlib/image.py", line 1434, in imread
return handler(fd)
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/matplotlib/image.py", line 1390, in read_png
return _png.read_png(*args, **kwargs)
ValueError: invalid PNG header

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_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_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 campatible with basemap
core test_catalog_plot_local (obspy.core.tests.test_event.CatalogBasemapTestCase) matplotlib 3.0.1 is not campatible with basemap
core test_catalog_plot_ortho (obspy.core.tests.test_event.CatalogBasemapTestCase) matplotlib 3.0.1 is not campatible with basemap
core test_catalog_plot_ortho_longitude_wrap (obspy.core.tests.test_event.CatalogBasemapTestCase) matplotlib 3.0.1 is not campatible with basemap
core test_plot_catalog_before_1900 (obspy.core.tests.test_event.CatalogBasemapTestCase) matplotlib 3.0.1 is not campatible 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 campatible with basemap
geodetics test_gps_2_dist_azimuth_bug150 (obspy.geodetics.tests.test_util_geodetics.UtilGeodeticsTestCase) Module geographiclib is installed, not using calc_vincenty_inverse
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

Slowest tests (20)

Runtime Test
11.486s test_response_calculation_from_seed_and_xseed (obspy.io.xseed.tests.test_core.CoreTestCase)
11.201s __init__ (obspy.taup)
9.304s test_shoot_existing_ray_param (obspy.taup.tests.test_seismic_phase.TauPySeismicPhaseTestCase)
8.299s test_ppsd_restricted_stacks (obspy.signal.tests.test_spectral_estimation.PsdTestCase)
5.671s test_relcal_different_overlaps (obspy.signal.tests.test_calibration.CalibrationTestCase)
5.508s test_plot_multiple_traces (obspy.imaging.tests.test_waveform.WaveformTestCase)
5.198s plot_travel_times (obspy.taup.tau)
4.749s test_vs_java_iasp91 (obspy.taup.tests.test_tau.TauPyModelTestCase)
4.326s test_regional_models (obspy.taup.tests.test_tau.TauPyModelTestCase)
3.395s test_location_plot_global (obspy.core.tests.test_network.NetworkBasemapTestCase)
3.376s test_many_identically_named_phases (obspy.taup.tests.test_seismic_phase.TauPySeismicPhaseTestCase)
3.034s test_polarization_vidale (obspy.signal.tests.test_polarization.PolarizationTestCase)
3.011s test_remove_response_plot (obspy.core.tests.test_trace.TraceTestCase)
2.849s test_correlate_stream_template_and_correlation_detector (obspy.signal.tests.test_cross_correlation.CrossCorrelationTestCase)
2.823s test_auto_read_arclink_xml (obspy.io.arclink.tests.test_inventory_xml.ArclinkInventoryTestCase)
2.748s test_rotate2zne_against_lqt_different_combinations (obspy.signal.tests.test_rotate.RotateTestCase)
2.709s test_plot_wiggles_vertical_section (obspy.imaging.tests.test_waveform.WaveformTestCase)
2.708s test_plot_wiggles_horizontal_section (obspy.imaging.tests.test_waveform.WaveformTestCase)
2.655s test_plot_wiggles_negative_section (obspy.imaging.tests.test_waveform.WaveformTestCase)
2.645s test_plot_azim_section (obspy.imaging.tests.test_waveform.WaveformTestCase)