#86353 Report by node travis-ci covering 1638 tests from 44 modules resulted into 15 errors

Report

ObsPy Version
1.0.3.post0+1481.g33d2444df6
Continuous Integration
https://travis-ci.org/obspy/obspy/jobs/263862874
GitHub Pull Request
https://github.com/obspy/obspy/pull/1854
Report File
XML Document
Total Runtime
392.9 sec
Report Date/Time
2017-08-12 11:49:49

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
2.7.13
Release
4.8.12-040812-generic
System
Linux
Version
#201612020431 SMP Fri Dec 2 09:33:31 UTC 2016

Dependencies

cartopy
---
decorator
4.1.2
flake8
---
future
0.16.0
geographiclib
1.48
lxml.etree
3.8.0
m2crypto
---
matplotlib
1.1.1
mock
2.0.0
mpl_toolkits.basemap
---
numpy
1.6.2
osgeo.gdal
---
pep8-naming
---
pyflakes
---
pyimgur
0.5.2
pyproj
1.9.5.1
requests
2.14.2
scipy
0.11.0
setuptools
27.2.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 - -
obspy.db - -
obspy.geodetics - -
obspy.imaging 6 1 2 3 4 5 6
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 4 7 8 9 10
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 1 11
obspy.io.scardec 2 12 13
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 1 14
obspy.io.y - -
obspy.io.zmap - -
obspy.realtime - -
obspy.scripts - -
obspy.signal 1 15
obspy.taup - -
Summary 15 15

Tracebacks (15)

Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/imaging/tests/test_mopad_script.py", line 206, in test_script_gmt_event
'-r', '3')
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/imaging/tests/test_mopad_script.py", line 168, in compare_gmt
with io.BytesIO(out.stdout.encode(sys.stdout.encoding)) as bio:
TypeError: encode() argument 1 must be string, not None
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/imaging/tests/test_mopad_script.py", line 178, in test_script_gmt_fill
'--scaling', '2', '--color1', '3', '--color2', '5')
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/imaging/tests/test_mopad_script.py", line 168, in compare_gmt
with io.BytesIO(out.stdout.encode(sys.stdout.encoding)) as bio:
TypeError: encode() argument 1 must be string, not None
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/imaging/tests/test_mopad_script.py", line 183, in test_script_gmt_lines
'--scaling', '2', '--color1', '3', '--color2', '5')
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/imaging/tests/test_mopad_script.py", line 168, in compare_gmt
with io.BytesIO(out.stdout.encode(sys.stdout.encoding)) as bio:
TypeError: encode() argument 1 must be string, not None
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/imaging/tests/test_mopad_script.py", line 201, in test_script_gmt_lines_lambo
'--projection', 'stereo')
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/imaging/tests/test_mopad_script.py", line 168, in compare_gmt
with io.BytesIO(out.stdout.encode(sys.stdout.encoding)) as bio:
TypeError: encode() argument 1 must be string, not None
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/imaging/tests/test_mopad_script.py", line 195, in test_script_gmt_lines_ortho
'--projection', 'ortho')
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/imaging/tests/test_mopad_script.py", line 168, in compare_gmt
with io.BytesIO(out.stdout.encode(sys.stdout.encoding)) as bio:
TypeError: encode() argument 1 must be string, not None
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/imaging/tests/test_mopad_script.py", line 189, in test_script_gmt_lines_stereo
'--projection', 'stereo')
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/imaging/tests/test_mopad_script.py", line 168, in compare_gmt
with io.BytesIO(out.stdout.encode(sys.stdout.encoding)) as bio:
TypeError: encode() argument 1 must be string, not None
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/mseed/tests/test_recordanalyzer.py", line 65, in test_second_record
obspy_recordanalyzer(['-n', '1', self.test_file])
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/mseed/scripts/recordanalyzer.py", line 409, in main
print(rec)
TypeError: unicode argument expected, got 'str'
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/mseed/tests/test_mseed_reading_and_writing.py", line 1151, in test_verbosity
self.assertIn(b"calling msr_parse with", out.stdout)
AssertionError: 'calling msr_parse with' not found in u''
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/mseed/tests/test_recordanalyzer.py", line 22, in test_default_record
obspy_recordanalyzer([self.test_file])
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/mseed/scripts/recordanalyzer.py", line 409, in main
print(rec)
TypeError: unicode argument expected, got 'str'
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/mseed/tests/test_recordanalyzer.py", line 115, in test_record_with_data_offset_zero
obspy_recordanalyzer(['-n', '1', filename])
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/mseed/scripts/recordanalyzer.py", line 409, in main
print(rec)
TypeError: unicode argument expected, got 'str'
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/sac/tests/test_sactrace.py", line 376, in test_string_headers
setattr(sac, hdr, too_long)
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/sac/sactrace.py", line 525, in __set__
warnings.warn(msg)
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/warnings.py", line 33, in _show_warning
file.write(formatwarning(message, category, filename, lineno, line))
TypeError: unicode argument expected, got 'str'
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/scardec/tests/test_core.py", line 49, in test_read_and_write_scardec_from_files
cat.write(temp_filename, format="SCARDEC")
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/core/event/catalog.py", line 502, in write
write_format(self, filename, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/scardec/core.py", line 331, in _write_scardec
file_mode="wb", catalog=catalog, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/scardec/core.py", line 75, in _buffer_proxy
return function(fh, *args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/scardec/core.py", line 347, in _internal_write_scardec
_internal_write_single_scardec(buf, event)
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/scardec/core.py", line 385, in _internal_write_single_scardec
warnings.warn("No derived origin attached to the moment tensor. "
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/warnings.py", line 33, in _show_warning
file.write(formatwarning(message, category, filename, lineno, line))
TypeError: unicode argument expected, got 'str'
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/scardec/tests/test_core.py", line 120, in test_read_and_write_scardec_from_bytes_io
cat.write(buf2, format="SCARDEC")
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/core/event/catalog.py", line 502, in write
write_format(self, filename, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/scardec/core.py", line 331, in _write_scardec
file_mode="wb", catalog=catalog, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/scardec/core.py", line 69, in _buffer_proxy
ret_val = function(filename_or_buf, *args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/scardec/core.py", line 347, in _internal_write_scardec
_internal_write_single_scardec(buf, event)
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/scardec/core.py", line 375, in _internal_write_single_scardec
warnings.warn("No moment wave magnitude found. Will be replaced by the"
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/warnings.py", line 33, in _show_warning
file.write(formatwarning(message, category, filename, lineno, line))
TypeError: unicode argument expected, got 'str'
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/xseed/tests/test_core.py", line 871, in test_response_54_without_58
r = obspy.read_inventory(filename)[0][0][0].response
File "<decorator-gen-45>", line 2, in read_inventory
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/core/util/decorator.py", line 301, in _map_example_filename
return func(*args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/core/inventory/inventory.py", line 82, in read_inventory
format=format, *args, **kwargs)[0]
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/core/util/base.py", line 433, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/xseed/core.py", line 182, in _read_resp
p, skip_invalid_responses=skip_invalid_responses)
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/xseed/core.py", line 404, in _parse_to_inventory_object
blockettes_for_channel=channel, epoch_str=epoch_str)
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/xseed/parser.py", line 1374, in get_response_for_channel
warnings.warn(_epoch_warn_msg(msg))
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/warnings.py", line 33, in _show_warning
file.write(formatwarning(message, category, filename, lineno, line))
TypeError: unicode argument expected, got 'str'
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/signal/tests/test_invsim.py", line 470, in test_evalresp_seed_identifiers_work
self.assertIn(b"no response found for", out.stderr.lower())
AssertionError: 'no response found for' not found in u''

Skipped Tests (30)

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_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
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
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
imaging test_farfield_with_quiver (obspy.imaging.tests.test_source.RadPatternTestCase) matplotlib >= 1.4 needed for 3D quiver plot.
imaging test_script_plot (obspy.imaging.tests.test_mopad_script.MopadTestCase) Currently broken until further review.

Slowest Tests (20)

Runtime Test
26.387s test_response_calculation_from_seed_and_xseed (obspy.io.xseed.tests.test_core.CoreTestCase)
12.150s test_ppsd_restricted_stacks (obspy.signal.tests.test_spectral_estimation.PsdTestCase)
9.931s test_shoot_existing_ray_param (obspy.taup.tests.test_seismic_phase.TauPySeismicPhaseTestCase)
9.852s test_plot_multiple_traces (obspy.imaging.tests.test_waveform.WaveformTestCase)
7.702s test_auto_read_arclink_xml (obspy.io.arclink.tests.test_inventory_xml.ArclinkInventoryTestCase)
7.187s test_relcal_different_overlaps (obspy.signal.tests.test_calibration.CalibrationTestCase)
6.614s test_beachball (obspy.imaging.tests.test_beachball.BeachballTestCase)
6.314s test_data_remains_unchanged (obspy.imaging.tests.test_waveform.WaveformTestCase)
6.024s test_many_identically_named_phases (obspy.taup.tests.test_seismic_phase.TauPySeismicPhaseTestCase)
5.890s test_read_thread_safe (obspy.core.tests.test_waveform_plugins.WaveformPluginsTestCase)
5.534s test_vs_java_iasp91 (obspy.taup.tests.test_tau.TauPyModelTestCase)
5.482s test_polarization_vidale (obspy.signal.tests.test_polarization.PolarizationTestCase)
4.597s test_plot_wiggles_horizontal_section (obspy.imaging.tests.test_waveform.WaveformTestCase)
4.555s test_plot_wiggles_vertical_section (obspy.imaging.tests.test_waveform.WaveformTestCase)
4.511s test_plot_azim_section (obspy.imaging.tests.test_waveform.WaveformTestCase)
4.467s __init__ (obspy.taup)
4.466s test_plot_wiggles_positive_section (obspy.imaging.tests.test_waveform.WaveformTestCase)
4.456s test_plot_colored_section (obspy.imaging.tests.test_waveform.WaveformTestCase)
4.455s test_plot_wiggles_negative_section (obspy.imaging.tests.test_waveform.WaveformTestCase)
4.376s test_plot_default_section (obspy.imaging.tests.test_waveform.WaveformTestCase)

Chuck Norris Fact

Chuck Norris doesn't needs try-catch, exceptions are too afraid to raise.