#105811 Report by node travis-ci covering 1899 tests from 47 modules resulted into 1 error

Report

ObsPy version
1.1.1.post0+912.gc4f036fda7.n…
GitHub Pull Request
https://github.com/obspy/obspy/pull/2206
Report file
XML document
Total runtime
334.7 sec
Report date/time
Oct. 9, 2019, 6:38 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
2.7.15
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
2.2.4
mock
3.0.5
mpl_toolkits.basemap
1.2.1
numpy
1.16.4
pep8-naming
---
pyflakes
---
pyimgur
0.5.2
pyproj
1.9.6
requests
2.22.0
scipy
1.2.1
setuptools
41.4.0
shapefile
2.1.0
sqlalchemy
1.3.9

Modules (47)

Module Errors / Failures Tracebacks
obspy.clients.arclink Not tested -
obspy.clients.earthworm Not tested -
obspy.clients.fdsn Not tested -
obspy.clients.filesystem 1 1
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 - -
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 - -
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 1 1

Tracebacks (1)

Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/doctest.py", line 2226, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.clients.filesystem.tsindex
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/clients/filesystem/tsindex.py", line 1, in tsindex
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/clients/filesystem/tsindex.py", line 34, in obspy.clients.filesystem.tsindex
Failed example:
from obspy.clients.filesystem.tests.test_tsindex \
Exception raised:
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/doctest.py", line 1315, in __run
compileflags, 1) in test.globs
File "<doctest obspy.clients.filesystem.tsindex[1]>", line 1
from obspy.clients.filesystem.tests.test_tsindex \
^
SyntaxError: unexpected EOF while parsing
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/clients/filesystem/tsindex.py", line 38, in obspy.clients.filesystem.tsindex
Failed example:
filepath = get_test_data_filepath()
Exception raised:
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/doctest.py", line 1315, in __run
compileflags, 1) in test.globs
File "<doctest obspy.clients.filesystem.tsindex[3]>", line 1, in <module>
filepath = get_test_data_filepath()
NameError: name 'get_test_data_filepath' is not defined
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/clients/filesystem/tsindex.py", line 39, in obspy.clients.filesystem.tsindex
Failed example:
db_path = os.path.join(filepath, 'timeseries.sqlite')
Exception raised:
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/doctest.py", line 1315, in __run
compileflags, 1) in test.globs
File "<doctest obspy.clients.filesystem.tsindex[4]>", line 1, in <module>
db_path = os.path.join(filepath, 'timeseries.sqlite')
NameError: name 'filepath' is not defined
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/clients/filesystem/tsindex.py", line 41, in obspy.clients.filesystem.tsindex
Failed example:
client = Client(db_path, datapath_replace=("^", filepath))
Exception raised:
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/doctest.py", line 1315, in __run
compileflags, 1) in test.globs
File "<doctest obspy.clients.filesystem.tsindex[5]>", line 1, in <module>
client = Client(db_path, datapath_replace=("^", filepath))
NameError: name 'db_path' is not defined
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/clients/filesystem/tsindex.py", line 66, in obspy.clients.filesystem.tsindex
Failed example:
extents = client.get_availability_extent(network="IU", channel="BHZ")
Exception raised:
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/doctest.py", line 1315, in __run
compileflags, 1) in test.globs
File "<doctest obspy.clients.filesystem.tsindex[6]>", line 1, in <module>
extents = client.get_availability_extent(network="IU", channel="BHZ")
NameError: name 'client' is not defined
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/clients/filesystem/tsindex.py", line 67, in obspy.clients.filesystem.tsindex
Failed example:
for extent in extents:
print("{0:<3} {1:<6} {2:<3} {3:<4} {4} {5}".format(*extent))
Exception raised:
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/doctest.py", line 1315, in __run
compileflags, 1) in test.globs
File "<doctest obspy.clients.filesystem.tsindex[7]>", line 1, in <module>
for extent in extents:
NameError: name 'extents' is not defined
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/clients/filesystem/tsindex.py", line 86, in obspy.clients.filesystem.tsindex
Failed example:
avail_percentage = client.get_availability_percentage( \
Exception raised:
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/doctest.py", line 1315, in __run
compileflags, 1) in test.globs
File "<doctest obspy.clients.filesystem.tsindex[9]>", line 1
avail_percentage = client.get_availability_percentage( \
^
SyntaxError: unexpected EOF while parsing
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/clients/filesystem/tsindex.py", line 93, in obspy.clients.filesystem.tsindex
Failed example:
print(avail_percentage)
Exception raised:
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/doctest.py", line 1315, in __run
compileflags, 1) in test.globs
File "<doctest obspy.clients.filesystem.tsindex[10]>", line 1, in <module>
print(avail_percentage)
NameError: name 'avail_percentage' is not defined
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/clients/filesystem/tsindex.py", line 108, in obspy.clients.filesystem.tsindex
Failed example:
st = client.get_waveforms("IU", "*", "*", "BHZ", t, t + 1)
Exception raised:
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/doctest.py", line 1315, in __run
compileflags, 1) in test.globs
File "<doctest obspy.clients.filesystem.tsindex[12]>", line 1, in <module>
st = client.get_waveforms("IU", "*", "*", "BHZ", t, t + 1)
NameError: name 'client' is not defined
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/clients/filesystem/tsindex.py", line 137, in obspy.clients.filesystem.tsindex
Failed example:
from obspy.clients.filesystem.tests.test_tsindex \
Exception raised:
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/doctest.py", line 1315, in __run
compileflags, 1) in test.globs
File "<doctest obspy.clients.filesystem.tsindex[15]>", line 1
from obspy.clients.filesystem.tests.test_tsindex \
^
SyntaxError: unexpected EOF while parsing
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/clients/filesystem/tsindex.py", line 140, in obspy.clients.filesystem.tsindex
Failed example:
filepath = get_test_data_filepath()
Exception raised:
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/doctest.py", line 1315, in __run
compileflags, 1) in test.globs
File "<doctest obspy.clients.filesystem.tsindex[16]>", line 1, in <module>
filepath = get_test_data_filepath()
NameError: name 'get_test_data_filepath' is not defined
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/clients/filesystem/tsindex.py", line 142, in obspy.clients.filesystem.tsindex
Failed example:
indexer = Indexer(filepath, filename_pattern='*.mseed')
Exception raised:
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/doctest.py", line 1315, in __run
compileflags, 1) in test.globs
File "<doctest obspy.clients.filesystem.tsindex[17]>", line 1, in <module>
indexer = Indexer(filepath, filename_pattern='*.mseed')
NameError: name 'filepath' is not defined

Skipped tests (24)

Submodule Test Skip message
geodetics test_gps_2_dist_azimuth_bug150 (obspy.geodetics.tests.test_util_geodetics.UtilGeodeticsTestCase) Module geographiclib is installed, not using calc_vincenty_inverse
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
imaging test_script_plot (obspy.imaging.tests.test_mopad_script.MopadTestCase) Currently broken until further review.

Slowest tests (20)

Runtime Test
19.569s test_response_calculation_from_seed_and_xseed (obspy.io.xseed.tests.test_core.CoreTestCase)
11.966s test_event_scoped_resource_id_many_threads (obspy.core.tests.test_resource_identifier.ResourceIdentifierTestCase)
10.815s test_ppsd_restricted_stacks (obspy.signal.tests.test_spectral_estimation.PsdTestCase)
9.605s __init__ (obspy.taup)
8.245s test_shoot_existing_ray_param (obspy.taup.tests.test_seismic_phase.TauPySeismicPhaseTestCase)
6.475s test_relcal_different_overlaps (obspy.signal.tests.test_calibration.CalibrationTestCase)
5.722s test_auto_read_arclink_xml (obspy.io.arclink.tests.test_inventory_xml.ArclinkInventoryTestCase)
5.708s test_plot_multiple_traces (obspy.imaging.tests.test_waveform.WaveformTestCase)
4.464s plot_travel_times (obspy.taup.tau)
4.263s test_vs_java_iasp91 (obspy.taup.tests.test_tau.TauPyModelTestCase)
4.080s test_correlate_stream_template_and_correlation_detector (obspy.signal.tests.test_cross_correlation.CrossCorrelationTestCase)
3.913s test_reading_via_file (obspy.io.iaspei.tests.test_core.IASPEITestCase)
3.701s test_regional_models (obspy.taup.tests.test_tau.TauPyModelTestCase)
3.700s test_remove_response_plot (obspy.core.tests.test_trace.TraceTestCase)
3.375s test_polarization_vidale (obspy.signal.tests.test_polarization.PolarizationTestCase)
2.998s test_many_identically_named_phases (obspy.taup.tests.test_seismic_phase.TauPySeismicPhaseTestCase)
2.910s test_read_thread_safe (obspy.core.tests.test_waveform_plugins.WaveformPluginsTestCase)
2.842s test_plot_wiggles_horizontal_section (obspy.imaging.tests.test_waveform.WaveformTestCase)
2.835s test_plot_ref_time_section (obspy.imaging.tests.test_waveform.WaveformTestCase)
2.834s test_plot_wiggles_vertical_section (obspy.imaging.tests.test_waveform.WaveformTestCase)