#100219 Report by node travis-ci covering 1809 tests from 46 modules resulted into 2 errors

Report

ObsPy version
1.1.1rc1.post0+530.gb6214dbd64
GitHub Pull Request
https://github.com/obspy/obspy/pull/2265
Report file
XML document
Total runtime
359.8 sec
Report date/time
Dec. 20, 2018, 5:15 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.4.0-101-generic
System
Linux
Version
#124~14.04.1-Ubuntu SMP Fri Nov 10 19:05:36 UTC 2017

Dependencies

cartopy
---
decorator
4.3.0
flake8
---
future
0.17.1
geographiclib
1.49
lxml.etree
4.2.5
m2crypto
---
matplotlib
1.1.1
mock
2.0.0
mpl_toolkits.basemap
---
numpy
1.6.2
pep8-naming
---
pyflakes
---
pyimgur
0.5.2
pyproj
1.9.5.1
requests
2.21.0
scipy
0.11.0
setuptools
40.6.3
shapefile
2.0.0
sqlalchemy
1.2.15

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 - -
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 2 1 2
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 2 2

Tracebacks (2)

Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/rg16/tests/test_util.py", line 46, in test_read_binary
out = _read_binary(BytesIO(byte), length, left_part)
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/rg16/util.py", line 105, in _read_binary
if np.isclose(length, 0.5):
AttributeError: 'module' object has no attribute 'isclose'
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.io.rg16.__init__
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/rg16/__init__.py", line 0, in __init__
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/rg16/__init__.py", line 53, in obspy.io.rg16.__init__
Failed example:
st = obspy.read(filename)
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.io.rg16.__init__[3]>", line 1, in <module>
st = obspy.read(filename)
File "<decorator-gen-31>", line 2, in read
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/core/stream.py", line 236, in read
st.extend(_read(file, format, headonly, **kwargs).traces)
File "<decorator-gen-32>", line 2, in _read
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/core/util/decorator.py", line 210, in uncompress_file
result = func(filename, *args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/core/stream.py", line 278, in _read
headonly=headonly, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/core/util/base.py", line 455, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "<decorator-gen-45>", line 2, in _read_rg16
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/rg16/util.py", line 28, in _open_file
return func(*args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/rg16/core.py", line 58, in _read_rg16
record_count = _cmp_nbr_records(filename)
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/rg16/core.py", line 98, in _cmp_nbr_records
initial_header = _read_initial_headers(fi)
File "<decorator-gen-47>", line 2, in _read_initial_headers
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/rg16/util.py", line 32, in _open_file
out = func(*args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/rg16/core.py", line 535, in _read_initial_headers
general_header_1=_read_general_header_1(filename),
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/rg16/core.py", line 558, in _read_general_header_1
polarity_code=_read(fi, 23, 0.5, 'binary'),
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/rg16/util.py", line 57, in _read
return _read_binary(fi, length, left_part)
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/rg16/util.py", line 105, in _read_binary
if np.isclose(length, 0.5):
AttributeError: 'module' object has no attribute 'isclose'
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/rg16/__init__.py", line 54, in obspy.io.rg16.__init__
Failed example:
st = obspy.read(filename, format='rg16')
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.io.rg16.__init__[4]>", line 1, in <module>
st = obspy.read(filename, format='rg16')
File "<decorator-gen-31>", line 2, in read
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/core/stream.py", line 236, in read
st.extend(_read(file, format, headonly, **kwargs).traces)
File "<decorator-gen-32>", line 2, in _read
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/core/util/decorator.py", line 210, in uncompress_file
result = func(filename, *args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/core/stream.py", line 278, in _read
headonly=headonly, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/core/util/base.py", line 455, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "<decorator-gen-45>", line 2, in _read_rg16
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/rg16/util.py", line 28, in _open_file
return func(*args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/rg16/core.py", line 58, in _read_rg16
record_count = _cmp_nbr_records(filename)
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/rg16/core.py", line 98, in _cmp_nbr_records
initial_header = _read_initial_headers(fi)
File "<decorator-gen-47>", line 2, in _read_initial_headers
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/rg16/util.py", line 32, in _open_file
out = func(*args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/rg16/core.py", line 535, in _read_initial_headers
general_header_1=_read_general_header_1(filename),
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/rg16/core.py", line 558, in _read_general_header_1
polarity_code=_read(fi, 23, 0.5, 'binary'),
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/rg16/util.py", line 57, in _read
return _read_binary(fi, length, left_part)
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/rg16/util.py", line 105, in _read_binary
if np.isclose(length, 0.5):
AttributeError: 'module' object has no attribute 'isclose'
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/rg16/__init__.py", line 59, in obspy.io.rg16.__init__
Failed example:
st = obspy.read(filename, merge=True)
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.io.rg16.__init__[5]>", line 1, in <module>
st = obspy.read(filename, merge=True)
File "<decorator-gen-31>", line 2, in read
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/core/stream.py", line 236, in read
st.extend(_read(file, format, headonly, **kwargs).traces)
File "<decorator-gen-32>", line 2, in _read
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/core/util/decorator.py", line 210, in uncompress_file
result = func(filename, *args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/core/stream.py", line 278, in _read
headonly=headonly, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/core/util/base.py", line 455, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "<decorator-gen-45>", line 2, in _read_rg16
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/rg16/util.py", line 28, in _open_file
return func(*args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/rg16/core.py", line 58, in _read_rg16
record_count = _cmp_nbr_records(filename)
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/rg16/core.py", line 98, in _cmp_nbr_records
initial_header = _read_initial_headers(fi)
File "<decorator-gen-47>", line 2, in _read_initial_headers
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/rg16/util.py", line 32, in _open_file
out = func(*args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/rg16/core.py", line 535, in _read_initial_headers
general_header_1=_read_general_header_1(filename),
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/rg16/core.py", line 558, in _read_general_header_1
polarity_code=_read(fi, 23, 0.5, 'binary'),
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/rg16/util.py", line 57, in _read
return _read_binary(fi, length, left_part)
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/rg16/util.py", line 105, in _read_binary
if np.isclose(length, 0.5):
AttributeError: 'module' object has no attribute 'isclose'
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/rg16/__init__.py", line 65, in obspy.io.rg16.__init__
Failed example:
st = obspy.read(filename, contacts_north=True)
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.io.rg16.__init__[6]>", line 1, in <module>
st = obspy.read(filename, contacts_north=True)
File "<decorator-gen-31>", line 2, in read
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/core/stream.py", line 236, in read
st.extend(_read(file, format, headonly, **kwargs).traces)
File "<decorator-gen-32>", line 2, in _read
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/core/util/decorator.py", line 210, in uncompress_file
result = func(filename, *args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/core/stream.py", line 278, in _read
headonly=headonly, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/core/util/base.py", line 455, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "<decorator-gen-45>", line 2, in _read_rg16
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/rg16/util.py", line 28, in _open_file
return func(*args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/rg16/core.py", line 58, in _read_rg16
record_count = _cmp_nbr_records(filename)
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/rg16/core.py", line 98, in _cmp_nbr_records
initial_header = _read_initial_headers(fi)
File "<decorator-gen-47>", line 2, in _read_initial_headers
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/rg16/util.py", line 32, in _open_file
out = func(*args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/rg16/core.py", line 535, in _read_initial_headers
general_header_1=_read_general_header_1(filename),
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/rg16/core.py", line 558, in _read_general_header_1
polarity_code=_read(fi, 23, 0.5, 'binary'),
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/rg16/util.py", line 57, in _read
return _read_binary(fi, length, left_part)
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/rg16/util.py", line 105, in _read_binary
if np.isclose(length, 0.5):
AttributeError: 'module' object has no attribute 'isclose'

Skipped tests (26)

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_catalog_plot_global (obspy.core.tests.test_event.CatalogBasemapTestCase) basemap not installed
core test_catalog_plot_local (obspy.core.tests.test_event.CatalogBasemapTestCase) basemap not installed
core test_catalog_plot_ortho (obspy.core.tests.test_event.CatalogBasemapTestCase) basemap not installed
core test_catalog_plot_ortho_longitude_wrap (obspy.core.tests.test_event.CatalogBasemapTestCase) basemap not installed
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) basemap not installed
core test_location_plot_global (obspy.core.tests.test_network.NetworkBasemapTestCase) basemap not installed
core test_location_plot_local (obspy.core.tests.test_network.NetworkBasemapTestCase) basemap not installed
core test_location_plot_ortho (obspy.core.tests.test_network.NetworkBasemapTestCase) basemap 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
core test_combined_station_event_plot (obspy.core.tests.test_inventory.InventoryBasemapTestCase) basemap not installed
core test_location_plot_global (obspy.core.tests.test_inventory.InventoryBasemapTestCase) basemap not installed
core test_location_plot_local (obspy.core.tests.test_inventory.InventoryBasemapTestCase) basemap not installed
core test_location_plot_ortho (obspy.core.tests.test_inventory.InventoryBasemapTestCase) basemap not installed
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
imaging test_script_plot (obspy.imaging.tests.test_mopad_script.MopadTestCase) Currently broken until further review.
imaging test_farfield_with_quiver (obspy.imaging.tests.test_source.RadPatternTestCase) matplotlib >= 1.4 needed for 3D quiver plot.

Slowest tests (20)

Runtime Test
18.159s test_response_calculation_from_seed_and_xseed (obspy.io.xseed.tests.test_core.CoreTestCase)
12.188s test_ppsd_restricted_stacks (obspy.signal.tests.test_spectral_estimation.PsdTestCase)
10.104s test_event_scoped_resource_id_many_threads (obspy.core.tests.test_resource_identifier.ResourceIdentifierTestCase)
9.422s test_plot_multiple_traces (obspy.imaging.tests.test_waveform.WaveformTestCase)
8.685s __init__ (obspy.taup)
6.923s test_shoot_existing_ray_param (obspy.taup.tests.test_seismic_phase.TauPySeismicPhaseTestCase)
6.568s test_relcal_different_overlaps (obspy.signal.tests.test_calibration.CalibrationTestCase)
6.394s test_beachball (obspy.imaging.tests.test_beachball.BeachballTestCase)
5.173s test_auto_read_arclink_xml (obspy.io.arclink.tests.test_inventory_xml.ArclinkInventoryTestCase)
4.873s test_many_identically_named_phases (obspy.taup.tests.test_seismic_phase.TauPySeismicPhaseTestCase)
4.516s test_plot_wiggles_vertical_section (obspy.imaging.tests.test_waveform.WaveformTestCase)
4.457s test_plot_wiggles_positive_section (obspy.imaging.tests.test_waveform.WaveformTestCase)
4.420s test_plot_default_section (obspy.imaging.tests.test_waveform.WaveformTestCase)
4.394s test_plot_horizontal_section (obspy.imaging.tests.test_waveform.WaveformTestCase)
4.343s test_plot_wiggles_horizontal_section (obspy.imaging.tests.test_waveform.WaveformTestCase)
4.321s test_plot_colored_section (obspy.imaging.tests.test_waveform.WaveformTestCase)
4.251s test_plot_azim_section (obspy.imaging.tests.test_waveform.WaveformTestCase)
4.234s test_plot_ref_time_section (obspy.imaging.tests.test_waveform.WaveformTestCase)
4.213s test_plot_wiggles_negative_section (obspy.imaging.tests.test_waveform.WaveformTestCase)
3.889s plot_travel_times (obspy.taup.tau)