#99586 Report by node travis-ci covering 1823 tests from 46 modules resulted into 6 errors

Report

ObsPy Version
1.1.1rc1.post0+439.g071c80878f
Continuous Integration
https://travis-ci.org/obspy/obspy/jobs/456024333
GitHub Pull Request
https://github.com/obspy/obspy/pull/2264
Report File
XML Document
Total Runtime
510.3 sec
Report Date/Time
2018-11-16 09:38:57

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.14.12-041412-generic
System
Linux
Version
#201801051649 SMP Fri Jan 5 16:50:54 UTC 2018

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.20.1
scipy
0.11.0
setuptools
40.5.0
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 1 1
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 - -
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 2 3 4 5 6
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 6 6

Tracebacks (6)

Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/core/tests/test_trace.py", line 1296, in test_issue_317
self.assertEqual(traces[i].stats.endtime, sum_trace.stats.endtime)
AssertionError: UTCDateTime(2018, 11, 16, 21, 8, 45, 841715) != UTCDateTime(2018, 11, 16, 21, 8, 45, 841714)
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/shapefile/tests/test_core.py", line 178, in test_write_catalog_shapefile
_write_shapefile(cat, "catalog.shp")
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/shapefile/core.py", line 73, in _write_shapefile
writer = shapefile.Writer(shapefile.POINT)
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/shapefile.py", line 1018, in __init__
self.shp = self.__getFileObj(os.path.splitext(target)[0] + '.shp')
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/posixpath.py", line 98, in splitext
return genericpath._splitext(p, sep, altsep, extsep)
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/genericpath.py", line 99, in _splitext
sepIndex = p.rfind(sep)
AttributeError: 'int' object has no attribute 'rfind'
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/shapefile/tests/test_core.py", line 275, in test_write_catalog_shapefile_via_plugin
cat.write("catalog.shp", "SHAPEFILE")
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/core/event/catalog.py", line 515, in write
return write_format(self, filename, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/shapefile/core.py", line 73, in _write_shapefile
writer = shapefile.Writer(shapefile.POINT)
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/shapefile.py", line 1018, in __init__
self.shp = self.__getFileObj(os.path.splitext(target)[0] + '.shp')
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/posixpath.py", line 98, in splitext
return genericpath._splitext(p, sep, altsep, extsep)
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/genericpath.py", line 99, in _splitext
sepIndex = p.rfind(sep)
AttributeError: 'int' object has no attribute 'rfind'
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/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 "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/shapefile/core.py", line 73, in _write_shapefile
writer = shapefile.Writer(shapefile.POINT)
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/shapefile.py", line 1018, in __init__
self.shp = self.__getFileObj(os.path.splitext(target)[0] + '.shp')
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/posixpath.py", line 98, in splitext
return genericpath._splitext(p, sep, altsep, extsep)
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/genericpath.py", line 99, in _splitext
sepIndex = p.rfind(sep)
AttributeError: 'int' object has no attribute 'rfind'
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/shapefile/tests/test_core.py", line 309, in test_write_inventory_shapefile
_write_shapefile(inv, "inventory.shp")
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/shapefile/core.py", line 73, in _write_shapefile
writer = shapefile.Writer(shapefile.POINT)
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/shapefile.py", line 1018, in __init__
self.shp = self.__getFileObj(os.path.splitext(target)[0] + '.shp')
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/posixpath.py", line 98, in splitext
return genericpath._splitext(p, sep, altsep, extsep)
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/genericpath.py", line 99, in _splitext
sepIndex = p.rfind(sep)
AttributeError: 'int' object has no attribute 'rfind'
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/shapefile/tests/test_core.py", line 339, in test_write_inventory_shapefile_via_plugin
inv.write("inventory.shp", "SHAPEFILE")
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/core/inventory/inventory.py", line 320, in write
return write_format(self, path_or_file_object, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/shapefile/core.py", line 73, in _write_shapefile
writer = shapefile.Writer(shapefile.POINT)
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/shapefile.py", line 1018, in __init__
self.shp = self.__getFileObj(os.path.splitext(target)[0] + '.shp')
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/posixpath.py", line 98, in splitext
return genericpath._splitext(p, sep, altsep, extsep)
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/genericpath.py", line 99, in _splitext
sepIndex = p.rfind(sep)
AttributeError: 'int' object has no attribute 'rfind'

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_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
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
34.080s test_response_calculation_from_seed_and_xseed (obspy.io.xseed.tests.test_core.CoreTestCase)
20.688s test_event_scoped_resource_id_many_threads (obspy.core.tests.test_resource_identifier.ResourceIdentifierTestCase)
14.202s __init__ (obspy.taup)
12.339s test_plot_multiple_traces (obspy.imaging.tests.test_waveform.WaveformTestCase)
11.882s test_ppsd_restricted_stacks (obspy.signal.tests.test_spectral_estimation.PsdTestCase)
9.465s test_shoot_existing_ray_param (obspy.taup.tests.test_seismic_phase.TauPySeismicPhaseTestCase)
8.765s test_auto_read_arclink_xml (obspy.io.arclink.tests.test_inventory_xml.ArclinkInventoryTestCase)
8.448s test_relcal_different_overlaps (obspy.signal.tests.test_calibration.CalibrationTestCase)
7.763s test_data_remains_unchanged (obspy.imaging.tests.test_waveform.WaveformTestCase)
6.897s test_regional_models (obspy.taup.tests.test_tau.TauPyModelTestCase)
6.823s test_reading_via_file (obspy.io.iaspei.tests.test_core.IASPEITestCase)
6.171s test_beachball (obspy.imaging.tests.test_beachball.BeachballTestCase)
5.964s test_many_identically_named_phases (obspy.taup.tests.test_seismic_phase.TauPySeismicPhaseTestCase)
5.879s test_plot_default_section (obspy.imaging.tests.test_waveform.WaveformTestCase)
5.777s test_plot_wiggles_positive_section (obspy.imaging.tests.test_waveform.WaveformTestCase)
5.674s test_plot_wiggles_vertical_section (obspy.imaging.tests.test_waveform.WaveformTestCase)
5.641s plot_travel_times (obspy.taup.tau)
5.594s test_plot_azim_section (obspy.imaging.tests.test_waveform.WaveformTestCase)
5.467s test_plot_ref_time_section (obspy.imaging.tests.test_waveform.WaveformTestCase)
5.461s test_plot_wiggles_horizontal_section (obspy.imaging.tests.test_waveform.WaveformTestCase)

Chuck Norris Fact

Don't worry about tests, Chuck Norris's test cases cover your code too.