#110755 Report by node travis-ci covering 1390 tests from 40 modules resulted into 5 errors

Report

ObsPy version
1.0.3.post0+2.g0b11876f77.jmf…
GitHub Pull Request
https://github.com/obspy/obspy/pull/2617
Report file
XML document
Total runtime
337.9 sec
Report date/time
May 20, 2020, 11:31 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.18
Release
4.15.0-1028-gcp
System
Linux
Version
#29~16.04.1-Ubuntu SMP Tue Feb 12 16:31:10 UTC 2019

Dependencies

cartopy
---
decorator
4.4.2
flake8
3.8.1
future
0.18.2
geographiclib
1.50
lxml.etree
4.4.2
m2crypto
---
matplotlib
1.5.1
mock
3.0.5
mpl_toolkits.basemap
1.0.7
numpy
1.10.4
osgeo.gdal
---
pep8-naming
0.10.0
pyflakes
2.2.0
pyimgur
0.5.2
pyproj
1.9.6
requests
2.23.0
scipy
0.17.0
setuptools
44.0.0.post20200102
sqlalchemy
1.3.12

Modules (40)

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 4 1 2 3 4
obspy.clients.seedlink Not tested -
obspy.clients.seishub Not tested -
obspy.clients.syngine Not tested -
obspy.core 1 5
obspy.db - -
obspy.geodetics - -
obspy.imaging - -
obspy.io.ah - -
obspy.io.ascii - -
obspy.io.cmtsolution - -
obspy.io.cnv - -
obspy.io.css - -
obspy.io.datamark - -
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.pdas - -
obspy.io.pde - -
obspy.io.quakeml - -
obspy.io.sac - -
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.xseed - -
obspy.io.y - -
obspy.io.zmap - -
obspy.realtime - -
obspy.scripts - -
obspy.signal - -
obspy.taup - -
Summary 5 5

Tracebacks (5)

Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/doctest.py", line 2224, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.clients.neic.client.Client
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/clients/neic/client.py", line 25, in Client
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/clients/neic/client.py", line 46, in obspy.clients.neic.client.Client
Failed example:
print(st) # doctest: +ELLIPSIS
Expected:
3 Trace(s) in Stream:
IU.ANMO.00.BH... | 20.0 Hz, 201 samples
IU.ANMO.00.BH... | 20.0 Hz, 201 samples
IU.ANMO.00.BH... | 20.0 Hz, 201 samples
Got:
3 Trace(s) in Stream:
IU.ANMO.00.BH2 | 2020-05-20T11:25:54.694538Z - 2020-05-20T11:26:04.694538Z | 40.0 Hz, 401 samples
IU.ANMO.00.BH1 | 2020-05-20T11:25:54.694538Z - 2020-05-20T11:26:04.694538Z | 40.0 Hz, 401 samples
IU.ANMO.00.BHZ | 2020-05-20T11:25:54.694538Z - 2020-05-20T11:26:04.694538Z | 40.0 Hz, 401 samples
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/clients/neic/client.py", line 52, in obspy.clients.neic.client.Client
Failed example:
print(st) # doctest: +ELLIPSIS
Expected:
3 Trace(s) in Stream:
IU.ANMO.00.BH... | 20.0 Hz, 201 samples
IU.ANMO.00.BH... | 20.0 Hz, 201 samples
IU.ANMO.00.BH... | 20.0 Hz, 201 samples
Got:
3 Trace(s) in Stream:
IU.ANMO.00.BH2 | 2020-05-20T11:25:54.694538Z - 2020-05-20T11:26:04.694538Z | 40.0 Hz, 401 samples
IU.ANMO.00.BH1 | 2020-05-20T11:25:54.694538Z - 2020-05-20T11:26:04.694538Z | 40.0 Hz, 401 samples
IU.ANMO.00.BHZ | 2020-05-20T11:25:54.694538Z - 2020-05-20T11:26:04.694538Z | 40.0 Hz, 401 samples
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/doctest.py", line 2224, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.clients.neic.client.Client.get_waveforms
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/clients/neic/client.py", line 77, in get_waveforms
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/clients/neic/client.py", line 117, in obspy.clients.neic.client.Client.get_waveforms
Failed example:
print(st) # doctest: +ELLIPSIS
Expected:
3 Trace(s) in Stream:
IU.ANMO.00.BH... | 20.0 Hz, 201 samples
IU.ANMO.00.BH... | 20.0 Hz, 201 samples
IU.ANMO.00.BH... | 20.0 Hz, 201 samples
Got:
3 Trace(s) in Stream:
IU.ANMO.00.BH2 | 2020-05-20T11:25:55.044538Z - 2020-05-20T11:26:05.044538Z | 40.0 Hz, 401 samples
IU.ANMO.00.BH1 | 2020-05-20T11:25:55.044538Z - 2020-05-20T11:26:05.044538Z | 40.0 Hz, 401 samples
IU.ANMO.00.BHZ | 2020-05-20T11:25:55.044538Z - 2020-05-20T11:26:05.044538Z | 40.0 Hz, 401 samples
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/doctest.py", line 2224, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.clients.neic.client.Client.get_waveforms_nscl
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/clients/neic/client.py", line 139, in get_waveforms_nscl
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/clients/neic/client.py", line 173, in obspy.clients.neic.client.Client.get_waveforms_nscl
Failed example:
print(st) # doctest: +ELLIPSIS
Expected:
3 Trace(s) in Stream:
IU.ANMO.00.BH... | 20.0 Hz, 201 samples
IU.ANMO.00.BH... | 20.0 Hz, 201 samples
IU.ANMO.00.BH... | 20.0 Hz, 201 samples
Got:
3 Trace(s) in Stream:
IU.ANMO.00.BH2 | 2020-05-20T11:25:55.269538Z - 2020-05-20T11:26:05.269538Z | 40.0 Hz, 401 samples
IU.ANMO.00.BH1 | 2020-05-20T11:25:55.269538Z - 2020-05-20T11:26:05.269538Z | 40.0 Hz, 401 samples
IU.ANMO.00.BHZ | 2020-05-20T11:25:55.269538Z - 2020-05-20T11:26:05.269538Z | 40.0 Hz, 401 samples
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/clients/neic/tests/test_client.py", line 64, in test_get_waveform_nscl
self.assertEqual(stats.sampling_rate, 20.0)
AssertionError: 40.0 != 20.0
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/core/tests/test_code_formatting.py", line 75, in test_flake8
assert report.total_errors == 0
AssertionError

Skipped tests (17)

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_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_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_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
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_script_plot (obspy.imaging.tests.test_mopad_script.MopadTestCase) Currently broken until further review.
io.wav test_rescale_on_write (obspy.io.wav.tests.test_core.CoreTestCase) needs a recent NumPy version

Slowest tests (20)

Runtime Test
59.083s test_flake8 (obspy.core.tests.test_code_formatting.CodeFormattingTestCase)
13.846s test_kennet_ak135_ttime_tables_s_shallow (obspy.taup.tests.test_tau.TauPyModelTestCase)
13.762s test_kennet_ak135_ttime_tables_p_shallow (obspy.taup.tests.test_tau.TauPyModelTestCase)
12.777s test_kennet_ak135_ttime_tables_p_deep (obspy.taup.tests.test_tau.TauPyModelTestCase)
10.295s test_kennet_ak135_ttime_tables_s_deep (obspy.taup.tests.test_tau.TauPyModelTestCase)
8.948s test_plot_farfield_without_quiver_with_maps (obspy.core.tests.test_event.EventTestCase)
7.955s test_ppsd_restricted_stacks (obspy.signal.tests.test_spectral_estimation.PsdTestCase)
7.756s test_kennet_ak135_ttime_tables_pkikp (obspy.taup.tests.test_tau.TauPyModelTestCase)
7.205s test_kennet_ak135_ttime_tables_pcp (obspy.taup.tests.test_tau.TauPyModelTestCase)
6.816s test_kennet_ak135_ttime_tables_scs (obspy.taup.tests.test_tau.TauPyModelTestCase)
6.063s test_plot_multiple_traces (obspy.imaging.tests.test_waveform.WaveformTestCase)
5.105s test_kennet_ak135_ttime_tables_scp (obspy.taup.tests.test_tau.TauPyModelTestCase)
4.512s test_catalog_plot_local (obspy.core.tests.test_event.CatalogBasemapTestCase)
4.148s test_shoot_existing_ray_param (obspy.taup.tests.test_seismic_phase.TauPySeismicPhaseTestCase)
4.000s read (obspy.core.stream)
3.583s test_data_remains_unchanged (obspy.imaging.tests.test_waveform.WaveformTestCase)
3.148s test_plot_colored_section (obspy.imaging.tests.test_waveform.WaveformTestCase)
3.096s test_plot_default_section (obspy.imaging.tests.test_waveform.WaveformTestCase)
3.050s test_location_plot_global (obspy.core.tests.test_inventory.InventoryBasemapTestCase)
3.050s test_plot_azim_section (obspy.imaging.tests.test_waveform.WaveformTestCase)