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

Report

ObsPy Version
1.1.1.post0+834.gce1de112f7
Continuous Integration
https://travis-ci.org/obspy/obspy/jobs/587503171
GitHub Pull Request
https://github.com/obspy/obspy/pull/2451
Report File
XML Document
Total Runtime
242.6 sec
Report Date/Time
2019-09-20 09:20:06

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.7.3
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.49
lxml.etree
4.4.1
m2crypto
---
matplotlib
3.1.1
mock
3.0.5
mpl_toolkits.basemap
1.2.1
numpy
1.17.2
pep8-naming
---
pyflakes
---
pyimgur
0.5.2
pyproj
1.9.6
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.7/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.7/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.7/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.7/site-packages/obspy/core/util/testing.py", line 442, in __exit__
msg = self.compare()
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/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.7/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.7/site-packages/matplotlib/image.py", line 1434, in imread
return handler(fd)
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/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.7/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.7/site-packages/obspy/core/util/testing.py", line 442, in __exit__
msg = self.compare()
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/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.7/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.7/site-packages/matplotlib/image.py", line 1434, in imread
return handler(fd)
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/matplotlib/image.py", line 1390, in read_png
return _png.read_png(*args, **kwargs)
ValueError: invalid PNG header

Skipped Tests (25)

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.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_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
10.552s __init__ (obspy.taup)
9.804s test_response_calculation_from_seed_and_xseed (obspy.io.xseed.tests.test_core.CoreTestCase)
8.842s test_shoot_existing_ray_param (obspy.taup.tests.test_seismic_phase.TauPySeismicPhaseTestCase)
8.639s test_ppsd_restricted_stacks (obspy.signal.tests.test_spectral_estimation.PsdTestCase)
5.621s test_relcal_different_overlaps (obspy.signal.tests.test_calibration.CalibrationTestCase)
5.407s test_plot_multiple_traces (obspy.imaging.tests.test_waveform.WaveformTestCase)
4.852s plot_travel_times (obspy.taup.tau)
4.461s test_vs_java_iasp91 (obspy.taup.tests.test_tau.TauPyModelTestCase)
4.035s test_regional_models (obspy.taup.tests.test_tau.TauPyModelTestCase)
3.237s test_many_identically_named_phases (obspy.taup.tests.test_seismic_phase.TauPySeismicPhaseTestCase)
2.880s test_polarization_vidale (obspy.signal.tests.test_polarization.PolarizationTestCase)
2.814s test_remove_response_plot (obspy.core.tests.test_trace.TraceTestCase)
2.740s test_plot_wiggles_vertical_section (obspy.imaging.tests.test_waveform.WaveformTestCase)
2.723s test_correlate_stream_template_and_correlation_detector (obspy.signal.tests.test_cross_correlation.CrossCorrelationTestCase)
2.701s test_plot_wiggles_horizontal_section (obspy.imaging.tests.test_waveform.WaveformTestCase)
2.658s test_plot_wiggles_negative_section (obspy.imaging.tests.test_waveform.WaveformTestCase)
2.647s test_plot_azim_section (obspy.imaging.tests.test_waveform.WaveformTestCase)
2.629s test_plot_wiggles_positive_section (obspy.imaging.tests.test_waveform.WaveformTestCase)
2.617s test_plot_horizontal_section (obspy.imaging.tests.test_waveform.WaveformTestCase)
2.614s read (obspy.core.stream)

Chuck Norris Fact

There is no Esc key on Chuck Norris' keyboard, because no one escapes Chuck Norris.