#86863 Report by node travis-ci covering 1612 tests from 44 modules resulted into 3 errors

Report

ObsPy version
1.0.3.post0+1521.g1be8e88603
GitHub Pull Request
https://github.com/obspy/obspy/pull/1877
Report file
XML document
Total runtime
307.4 sec
Report date/time
Sept. 8, 2017, 5:10 a.m.

System / Python

Architecture
64bit
Machine
x86_64
Node
travis-ci
Processor
x86_64
Python Compiler
GCC 4.4.7 20120313 (Red Hat 4.4.7-1)
Python Implementation
CPython
Python Version
3.6.2
Release
4.11.6-041106-generic
System
Linux
Version
#201706170517 SMP Sat Jun 17 09:18:46 UTC 2017

Dependencies

cartopy
---
decorator
4.1.2
flake8
---
future
0.16.0
geographiclib
1.48
lxml.etree
3.8.0
m2crypto
---
matplotlib
2.0.2
mock
2.0.0
mpl_toolkits.basemap
1.0.7
numpy
1.13.1
osgeo.gdal
---
pep8-naming
---
pyflakes
---
pyimgur
0.5.2
pyproj
1.9.5.1
requests
2.14.2
scipy
0.19.1
setuptools
36.4.0
sqlalchemy
1.1.13

Modules (44)

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 2 1 2
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.gcf - -
obspy.io.gse2 - -
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.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 1 3
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_stream.py", line 1802, in test_read
self.assertRaises(OSError, read, '/path/to/UNKNOWN')
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/unittest/case.py", line 733, in assertRaises
return context.handle('assertRaises', args, kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/unittest/case.py", line 178, in handle
callable_obj(*args, **kwargs)
File "<decorator-gen-31>", line 2, in read
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/core/util/decorator.py", line 296, in _map_example_filename
args[ind] = get_example_file(args[ind][9:])
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/core/util/base.py", line 202, in get_example_file
fromlist=[native_str("obspy")])
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/taup/__init__.py", line 415, in <module>
from .tau import TauPyModel # NOQA
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/taup/tau.py", line 718
def traveltime_plot(min_degree=0, max_degree=360, npoints=1000,
^
SyntaxError: non-default argument follows default argument
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/doctest.py", line 2199, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.core.util.base.get_example_file
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/core/util/base.py", line 177, in get_example_file
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/core/util/base.py", line 194, in obspy.core.util.base.get_example_file
Failed example:
get_example_file('does.not.exists') # doctest: +ELLIPSIS
Expected:
Traceback (most recent call last):
...
OSError: Could not find file does.not.exists ...
Got:
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/doctest.py", line 1330, in __run
compileflags, 1), test.globs)
File "<doctest obspy.core.util.base.get_example_file[1]>", line 1, in <module>
get_example_file('does.not.exists') # doctest: +ELLIPSIS
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/core/util/base.py", line 202, in get_example_file
fromlist=[native_str("obspy")])
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/taup/__init__.py", line 415, in <module>
from .tau import TauPyModel # NOQA
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/taup/tau.py", line 718
def traveltime_plot(min_degree=0, max_degree=360, npoints=1000,
^
SyntaxError: non-default argument follows default argument
>>> Cannot import test suite for module obspy.taup due to:
----------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/bin/coverage", line 6, in <module>
sys.exit(coverage.cmdline.main())
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/coverage/cmdline.py", line 750, in main
status = CoverageScript().command_line(argv)
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/coverage/cmdline.py", line 486, in command_line
return self.do_run(options, args)
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/coverage/cmdline.py", line 621, in do_run
self.run_python_module(args[0], args)
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/coverage/execfile.py", line 113, in run_python_module
run_python_file(pathname, args, package=packagename, modulename=modulename, path0="")
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/coverage/execfile.py", line 183, in run_python_file
exec(code, main_mod.__dict__)
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/scripts/runtests.py", line 790, in <module>
errors = run(interactive=False)
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/scripts/runtests.py", line 748, in run
pr_url=args.pr_url)
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/scripts/runtests.py", line 576, in run_tests
suites, status, import_failures = _get_suites(verbosity, tests)
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/scripts/runtests.py", line 178, in _get_suites
suite.append(ut.loadTestsFromName(test, None))
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/unittest/loader.py", line 153, in loadTestsFromName
module = __import__(module_name)
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/taup/__init__.py", line 415, in <module>
from .tau import TauPyModel # NOQA
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/taup/tau.py", line 718
def traveltime_plot(min_degree=0, max_degree=360, npoints=1000,
^
SyntaxError: non-default argument follows default argument

Skipped tests (17)

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.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_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.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
imaging test_script_plot (obspy.imaging.tests.test_mopad_script.MopadTestCase) Currently broken until further review.
io.shapefile test_write_catalog_shapefile (obspy.io.shapefile.tests.test_core.ShapefileTestCase) gdal not installed or version is too old
io.shapefile test_write_catalog_shapefile_via_plugin (obspy.io.shapefile.tests.test_core.ShapefileTestCase) gdal not installed or version is too old
io.shapefile test_write_inventory_shapefile (obspy.io.shapefile.tests.test_core.ShapefileTestCase) gdal not installed or version is too old
io.shapefile test_write_inventory_shapefile_via_plugin (obspy.io.shapefile.tests.test_core.ShapefileTestCase) gdal not installed or version is too old

Slowest tests (20)

Runtime Test
19.668s test_plot_farfield_without_quiver_with_maps (obspy.core.tests.test_event.EventTestCase)
17.190s test_response_calculation_from_seed_and_xseed (obspy.io.xseed.tests.test_core.CoreTestCase)
12.310s test_ppsd_restricted_stacks (obspy.signal.tests.test_spectral_estimation.PsdTestCase)
10.464s test_plot_multiple_traces (obspy.imaging.tests.test_waveform.WaveformTestCase)
7.216s test_relcal_different_overlaps (obspy.signal.tests.test_calibration.CalibrationTestCase)
5.843s test_data_remains_unchanged (obspy.imaging.tests.test_waveform.WaveformTestCase)
5.781s test_remove_response_plot (obspy.core.tests.test_trace.TraceTestCase)
5.017s test_polarization_vidale (obspy.signal.tests.test_polarization.PolarizationTestCase)
4.781s test_auto_read_arclink_xml (obspy.io.arclink.tests.test_inventory_xml.ArclinkInventoryTestCase)
4.763s test_combined_station_event_plot (obspy.core.tests.test_inventory.InventoryBasemapTestCase)
4.492s test_catalog_plot_global (obspy.core.tests.test_event.CatalogBasemapTestCase)
4.456s test_location_plot_global (obspy.core.tests.test_inventory.InventoryBasemapTestCase)
4.341s test_location_plot_global (obspy.core.tests.test_network.NetworkBasemapTestCase)
3.620s test_plot_wiggles_horizontal_section (obspy.imaging.tests.test_waveform.WaveformTestCase)
3.565s test_plot_horizontal_section (obspy.imaging.tests.test_waveform.WaveformTestCase)
3.536s test_plot_wiggles_vertical_section (obspy.imaging.tests.test_waveform.WaveformTestCase)
3.483s test_plot_wiggles_positive_section (obspy.imaging.tests.test_waveform.WaveformTestCase)
3.476s test_plot_wiggles_negative_section (obspy.imaging.tests.test_waveform.WaveformTestCase)
3.443s test_plot_default_section (obspy.imaging.tests.test_waveform.WaveformTestCase)
3.415s test_plot_azim_section (obspy.imaging.tests.test_waveform.WaveformTestCase)