#99658 Report by node travis-ci covering 1804 tests from 46 modules resulted into 12 errors

Report

ObsPy version
1.1.1rc1.post0+444.gdcbe63c443
GitHub Pull Request
https://github.com/obspy/obspy/pull/2265
Report file
XML document
Total runtime
455.4 sec
Report date/time
Nov. 20, 2018, 11:07 a.m.

System / Python

Architecture
64bit
Machine
x86_64
Node
travis-ci
Processor
i386
Python Compiler
GCC 4.2.1 Compatible Clang 4.0.1 (tags/RELEASE_401/final)
Python Implementation
CPython
Python Version
3.6.7
Release
17.4.0
System
Darwin
Version
Darwin Kernel Version 17.4.0: Sun Dec 17 09:19:54 PST 2017; root:xnu-4570.41.2~1/RELEASE_X86_64

Dependencies

cartopy
---
decorator
4.3.0
flake8
---
future
0.17.1
geographiclib
1.49
lxml.etree
4.2.5
m2crypto
---
matplotlib
2.0.2
mock
2.0.0
mpl_toolkits.basemap
1.1.0
numpy
1.13.3
pep8-naming
---
pyflakes
---
pyimgur
0.5.2
pyproj
1.9.5.1
requests
2.20.1
scipy
1.1.0
setuptools
40.6.2
shapefile
2.0.0
sqlalchemy
1.2.14

Modules (46)

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 6 1 2 3 4 5 6
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.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 1 7
obspy.io.sac - -
obspy.io.scardec - -
obspy.io.seg2 - -
obspy.io.segy - -
obspy.io.seisan - -
obspy.io.seiscomp - -
obspy.io.sh - -
obspy.io.shapefile 5 8 9 10 11 12
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 12 12

Tracebacks (12)

Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/core/tests/test_code_formatting.py", line 162, in test_future_imports_in_every_file
self.assertEqual(len(failures), 0, "\n" + "\n".join(failures))
AssertionError: 10 != 0 :
File '/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/io/rg16/__init__.py' misses imports: from __future__ import (absolute_import, division, print_function, unicode_literals)
File '/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/io/rg16/__init__.py' misses imports: from future.builtins import * # NOQA
File '/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/io/rg16/core.py' misses imports: from __future__ import (absolute_import, division, print_function, unicode_literals)
File '/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/io/rg16/core.py' misses imports: from future.builtins import * # NOQA
File '/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/io/rg16/tests/test_read_fcnt.py' misses imports: from __future__ import (absolute_import, division, print_function, unicode_literals)
File '/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/io/rg16/tests/test_read_fcnt.py' misses imports: from future.builtins import * # NOQA
File '/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/io/rg16/tests/test_util.py' misses imports: from __future__ import (absolute_import, division, print_function, unicode_literals)
File '/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/io/rg16/tests/test_util.py' misses imports: from future.builtins import * # NOQA
File '/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/io/rg16/util.py' misses imports: from __future__ import (absolute_import, division, print_function, unicode_literals)
File '/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/io/rg16/util.py' misses imports: from future.builtins import * # NOQA
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/core/tests/test_event.py", line 532, in test_catalog_plot_global
cat.plot(method='basemap', outfile=ic.name)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/core/util/testing.py", line 509, in __exit__
raise ImageComparisonException(msg)
obspy.core.util.testing.ImageComparisonException: Image comparison failed.
	File: catalog-basemap1.png
	RMS: 38.17037793967481
	Tolerance: 3.0
	Expected: https://i.imgur.com/Qv6Qlzl.png
	Actual: https://i.imgur.com/wppbVds.png
	Diff: https://i.imgur.com/ICfzmwu.png
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/core/tests/test_event.py", line 135, in test_plot_farfield_without_quiver_with_maps
['p_sphere', 's_sphere']], outfile=ic.name)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/core/util/testing.py", line 509, in __exit__
raise ImageComparisonException(msg)
obspy.core.util.testing.ImageComparisonException: Image comparison failed.
	File: event.png
	RMS: 23.576216122751052
	Tolerance: 3.0
	Expected: https://i.imgur.com/n6A0mb8.png
	Actual: https://i.imgur.com/ds2iOS7.png
	Diff: https://i.imgur.com/bmmvaBI.png
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/core/tests/test_inventory.py", line 638, in test_combined_station_event_plot
cat.plot(outfile=ic.name, fig=fig)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/core/util/testing.py", line 509, in __exit__
raise ImageComparisonException(msg)
obspy.core.util.testing.ImageComparisonException: Image comparison failed.
	File: basemap_combined_stations-events.png
	RMS: 36.208518908729005
	Tolerance: 3.3000000000000003
	Expected: https://i.imgur.com/6eHs0i5.png
	Actual: https://i.imgur.com/dX75cyH.png
	Diff: https://i.imgur.com/GOHeltn.png
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/core/tests/test_inventory.py", line 586, in test_location_plot_global
inv.plot(outfile=ic.name)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/core/util/testing.py", line 509, in __exit__
raise ImageComparisonException(msg)
obspy.core.util.testing.ImageComparisonException: Image comparison failed.
	File: inventory_location-basemap1.png
	RMS: 35.59305747952458
	Tolerance: 3.9000000000000004
	Expected: https://i.imgur.com/e4kiPAA.png
	Actual: https://i.imgur.com/7NP7r0Q.png
	Diff: https://i.imgur.com/gVvXfy1.png
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/core/tests/test_network.py", line 289, in test_location_plot_global
net.plot(method='basemap', outfile=ic.name)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/core/util/testing.py", line 509, in __exit__
raise ImageComparisonException(msg)
obspy.core.util.testing.ImageComparisonException: Image comparison failed.
	File: network_location-basemap1.png
	RMS: 35.83169857023225
	Tolerance: 3.9000000000000004
	Expected: https://i.imgur.com/83iVmFH.png
	Actual: https://i.imgur.com/WKs9WPd.png
	Diff: https://i.imgur.com/kbvfGUG.png
>>> Cannot import test suite for module obspy.io.rg16 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.6/site-packages/coverage/cmdline.py", line 756, in main
status = CoverageScript().command_line(argv)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/coverage/cmdline.py", line 491, in command_line
return self.do_run(options, args)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/coverage/cmdline.py", line 627, in do_run
self.run_python_module(args[0], args)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/coverage/execfile.py", line 122, in run_python_module
run_python_file(pathname, args, package=packagename, modulename=modulename, path0=path0)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/coverage/execfile.py", line 192, in run_python_file
exec(code, main_mod.__dict__)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/scripts/runtests.py", line 757, in <module>
errors = run(interactive=False)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/scripts/runtests.py", line 715, in run
pr_url=args.pr_url)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/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.6/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.6/unittest/loader.py", line 204, in loadTestsFromName
test = obj()
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/io/rg16/tests/__init__.py", line 17, in suite
add_unittests(suite, MODULE_NAME)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/core/util/testing.py", line 72, in add_unittests
testsuite.addTest(_module.suite())
AttributeError: module 'obspy.io.rg16.tests.test_read_fcnt' has no attribute 'suite'
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/io/shapefile/tests/test_core.py", line 178, in test_write_catalog_shapefile
_write_shapefile(cat, "catalog.shp")
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/io/shapefile/core.py", line 73, in _write_shapefile
writer = shapefile.Writer(shapefile.POINT)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/shapefile.py", line 1018, in __init__
self.shp = self.__getFileObj(os.path.splitext(target)[0] + '.shp')
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/posixpath.py", line 122, in splitext
p = os.fspath(p)
TypeError: expected str, bytes or os.PathLike object, not int
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/io/shapefile/tests/test_core.py", line 275, in test_write_catalog_shapefile_via_plugin
cat.write("catalog.shp", "SHAPEFILE")
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/core/event/catalog.py", line 515, in write
return write_format(self, filename, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/io/shapefile/core.py", line 73, in _write_shapefile
writer = shapefile.Writer(shapefile.POINT)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/shapefile.py", line 1018, in __init__
self.shp = self.__getFileObj(os.path.splitext(target)[0] + '.shp')
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/posixpath.py", line 122, in splitext
p = os.fspath(p)
TypeError: expected str, bytes or os.PathLike object, not int
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/io/shapefile/tests/test_core.py", line 225, in test_write_catalog_shapefile_with_extra_field
extra_fields=bad_extra_fields_wrong_length)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/io/shapefile/core.py", line 73, in _write_shapefile
writer = shapefile.Writer(shapefile.POINT)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/shapefile.py", line 1018, in __init__
self.shp = self.__getFileObj(os.path.splitext(target)[0] + '.shp')
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/posixpath.py", line 122, in splitext
p = os.fspath(p)
TypeError: expected str, bytes or os.PathLike object, not int
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/io/shapefile/tests/test_core.py", line 309, in test_write_inventory_shapefile
_write_shapefile(inv, "inventory.shp")
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/io/shapefile/core.py", line 73, in _write_shapefile
writer = shapefile.Writer(shapefile.POINT)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/shapefile.py", line 1018, in __init__
self.shp = self.__getFileObj(os.path.splitext(target)[0] + '.shp')
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/posixpath.py", line 122, in splitext
p = os.fspath(p)
TypeError: expected str, bytes or os.PathLike object, not int
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/io/shapefile/tests/test_core.py", line 339, in test_write_inventory_shapefile_via_plugin
inv.write("inventory.shp", "SHAPEFILE")
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/core/inventory/inventory.py", line 320, in write
return write_format(self, path_or_file_object, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/io/shapefile/core.py", line 73, in _write_shapefile
writer = shapefile.Writer(shapefile.POINT)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/shapefile.py", line 1018, in __init__
self.shp = self.__getFileObj(os.path.splitext(target)[0] + '.shp')
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/posixpath.py", line 122, in splitext
p = os.fspath(p)
TypeError: expected str, bytes or os.PathLike object, not int

Skipped tests (13)

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.

Slowest tests (20)

Runtime Test
23.769s test_plot_farfield_without_quiver_with_maps (obspy.core.tests.test_event.EventTestCase)
17.387s test_response_calculation_from_seed_and_xseed (obspy.io.xseed.tests.test_core.CoreTestCase)
14.251s __init__ (obspy.taup)
13.332s test_ppsd_restricted_stacks (obspy.signal.tests.test_spectral_estimation.PsdTestCase)
10.925s test_plot_multiple_traces (obspy.imaging.tests.test_waveform.WaveformTestCase)
9.569s test_shoot_existing_ray_param (obspy.taup.tests.test_seismic_phase.TauPySeismicPhaseTestCase)
9.434s test_location_plot_global (obspy.core.tests.test_inventory.InventoryBasemapTestCase)
8.808s test_combined_station_event_plot (obspy.core.tests.test_inventory.InventoryBasemapTestCase)
8.131s test_location_plot_global (obspy.core.tests.test_network.NetworkBasemapTestCase)
8.124s test_catalog_plot_global (obspy.core.tests.test_event.CatalogBasemapTestCase)
6.393s test_remove_response_plot (obspy.core.tests.test_trace.TraceTestCase)
6.137s plot_travel_times (obspy.taup.tau)
5.302s test_relcal_different_overlaps (obspy.signal.tests.test_calibration.CalibrationTestCase)
5.223s test_vs_java_iasp91 (obspy.taup.tests.test_tau.TauPyModelTestCase)
5.075s test_polarization_vidale (obspy.signal.tests.test_polarization.PolarizationTestCase)
4.714s test_data_remains_unchanged (obspy.imaging.tests.test_waveform.WaveformTestCase)
4.605s test_plot_wiggles_horizontal_section (obspy.imaging.tests.test_waveform.WaveformTestCase)
4.510s test_plot_wiggles_vertical_section (obspy.imaging.tests.test_waveform.WaveformTestCase)
4.394s test_many_identically_named_phases (obspy.taup.tests.test_seismic_phase.TauPySeismicPhaseTestCase)
4.360s test_plot_wiggles_positive_section (obspy.imaging.tests.test_waveform.WaveformTestCase)