#98872 Report by node travis-ci covering 2071 tests from 55 modules resulted into 14 errors

Report

ObsPy version
1.1.1rc1.post0+392.g4f66b3994…
GitHub Pull Request
-
Report file
XML document
Total runtime
957.8 sec
Report date/time
Oct. 15, 2018, 3:23 p.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
3.6.6
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.16.0
geographiclib
1.49
lxml.etree
4.1.1
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.19.1
scipy
1.1.0
setuptools
40.4.3
shapefile
1.2.12
sqlalchemy
1.2.12

Modules (55)

Module Errors / Failures Tracebacks
obspy.clients.arclink - -
obspy.clients.earthworm 2 1 2
obspy.clients.fdsn 1 3
obspy.clients.filesystem - -
obspy.clients.iris - -
obspy.clients.neic 4 4 5 6 7
obspy.clients.nrl - -
obspy.clients.seedlink 2 8 9
obspy.clients.seishub - -
obspy.clients.syngine - -
obspy.core 5 10 11 12 13 14
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 - -
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 14 14

Tracebacks (14)

Traceback (most recent call last):
File "<decorator-gen-56>", line 2, in test_save_waveform
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/core/util/decorator.py", line 126, in skip_on_network_error
return func(*args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/earthworm/tests/test_client.py", line 97, in test_save_waveform
format="SLIST")
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/earthworm/client.py", line 167, in save_waveforms
st.write(filename, format=format)
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/core/stream.py", line 1423, in write
raise ObsPyException(msg)
obspy.core.util.obspy_types.ObsPyException: Can not write empty stream to file.
Traceback (most recent call last):
File "<decorator-gen-55>", line 2, in test_get_waveform
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/core/util/decorator.py", line 126, in skip_on_network_error
return func(*args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/earthworm/tests/test_client.py", line 41, in test_get_waveform
self.assertEqual(len(stream), 1)
AssertionError: 0 != 1
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/fdsn/tests/test_client.py", line 696, in test_dataselect_bulk
self.assertEqual(got, expected, failmsg(got, expected))
AssertionError: <obspy.core.stream.Stream object at 0x7fb0dd928320> != <obspy.core.stream.Stream object at 0x7fb0dd928eb8> :
Got:
2 Trace(s) in Stream:
TA.A25A..BHE | 2010-03-25T00:00:00.000001Z - 2010-03-25T00:00:05.975001Z | 40.0 Hz, 240 samples
TA.A25A..BHZ | 2010-03-25T00:00:00.000000Z - 2010-03-25T00:00:04.000000Z | 40.0 Hz, 161 samples
Expected:
1 Trace(s) in Stream:
TA.A25A..BHE | 2010-03-25T00:00:00.000001Z - 2010-03-25T00:00:05.975001Z | 40.0 Hz, 240 samples
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/doctest.py", line 2199, 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/python3.6/site-packages/obspy/clients/neic/client.py", line 25, in Client
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/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.BH1 | 2018-10-15T15:12:53.619538Z - 2018-10-15T15:13:03.619538Z | 40.0 Hz, 401 samples
IU.ANMO.00.BH2 | 2018-10-15T15:12:53.619538Z - 2018-10-15T15:13:03.619538Z | 40.0 Hz, 401 samples
IU.ANMO.00.BHZ | 2018-10-15T15:12:53.619538Z - 2018-10-15T15:13:03.619538Z | 40.0 Hz, 401 samples
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/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.BH1 | 2018-10-15T15:12:53.619538Z - 2018-10-15T15:13:03.619538Z | 40.0 Hz, 401 samples
IU.ANMO.00.BH2 | 2018-10-15T15:12:53.619538Z - 2018-10-15T15:13:03.619538Z | 40.0 Hz, 401 samples
IU.ANMO.00.BHZ | 2018-10-15T15:12:53.619538Z - 2018-10-15T15:13:03.619538Z | 40.0 Hz, 401 samples
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/doctest.py", line 2199, 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/python3.6/site-packages/obspy/clients/neic/client.py", line 73, in get_waveforms
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/neic/client.py", line 113, 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.BH1 | 2018-10-15T15:12:54.319538Z - 2018-10-15T15:13:04.319538Z | 40.0 Hz, 401 samples
IU.ANMO.00.BH2 | 2018-10-15T15:12:54.319538Z - 2018-10-15T15:13:04.319538Z | 40.0 Hz, 401 samples
IU.ANMO.00.BHZ | 2018-10-15T15:12:54.319538Z - 2018-10-15T15:13:04.319538Z | 40.0 Hz, 401 samples
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/doctest.py", line 2199, 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/python3.6/site-packages/obspy/clients/neic/client.py", line 130, in get_waveforms_nscl
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/neic/client.py", line 164, 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.BH1 | 2018-10-15T15:12:54.744538Z - 2018-10-15T15:13:04.744538Z | 40.0 Hz, 401 samples
IU.ANMO.00.BH2 | 2018-10-15T15:12:54.744538Z - 2018-10-15T15:13:04.744538Z | 40.0 Hz, 401 samples
IU.ANMO.00.BHZ | 2018-10-15T15:12:54.744538Z - 2018-10-15T15:13:04.744538Z | 40.0 Hz, 401 samples
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/neic/tests/test_client.py", line 71, 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/python3.6/doctest.py", line 2199, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.clients.seedlink.basic_client.Client.get_waveforms
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/seedlink/basic_client.py", line 62, in get_waveforms
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/seedlink/basic_client.py", line 70, in obspy.clients.seedlink.basic_client.Client.get_waveforms
Failed example:
print(st) # doctest: +ELLIPSIS
Expected:
1 Trace(s) in Stream:
G.FDF.00.BHZ | 20... | 20.0 Hz, ... samples
Got:
0 Trace(s) in Stream:
<BLANKLINE>
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/seedlink/basic_client.py", line 79, in obspy.clients.seedlink.basic_client.Client.get_waveforms
Failed example:
print(st) # doctest: +ELLIPSIS
Expected:
3 Trace(s) in Stream:
G.FDF.00.BHZ | 20... | 20.0 Hz, ... samples
G.FDF.00.BHN | 20... | 20.0 Hz, ... samples
G.FDF.00.BHE | 20... | 20.0 Hz, ... samples
Got:
0 Trace(s) in Stream:
<BLANKLINE>
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/seedlink/tests/test_basic_client.py", line 42, in test_get_waveform
_test_offset_from_realtime(offset)
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/clients/seedlink/tests/test_basic_client.py", line 25, in _test_offset_from_realtime
self.assertGreater(len(st), 0)
AssertionError: 0 not greater than 0
Traceback (most recent call last):
File "/home/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 "/home/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/Wcd0Zbz.png
	Actual: https://i.imgur.com/cPTWFlL.png
	Diff: https://i.imgur.com/otu5MFb.png
Traceback (most recent call last):
File "/home/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 "/home/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/oE2zoxl.png
	Actual: https://i.imgur.com/EQNSpCx.png
	Diff: https://i.imgur.com/3ChkvXn.png
Traceback (most recent call last):
File "/home/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 "/home/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/dXIsD54.png
	Actual: https://i.imgur.com/9fXEOdm.png
	Diff: https://i.imgur.com/mqqs8FW.png
Traceback (most recent call last):
File "/home/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 "/home/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/CAIGnfM.png
	Actual: https://i.imgur.com/Dpt02jl.png
	Diff: https://i.imgur.com/tq2FsYx.png
Traceback (most recent call last):
File "/home/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 "/home/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/sICW2EO.png
	Actual: https://i.imgur.com/8BTmoxn.png
	Diff: https://i.imgur.com/dBilyqR.png

Skipped tests (31)

Submodule Test Skip message
clients.arclink test_m2crypto (obspy.clients.arclink.tests.test_decrypt.ClientTestCase) M2Crypto is not installed
clients.arclink test_pycrypto (obspy.clients.arclink.tests.test_decrypt.ClientTestCase) PyCrypto is not installed
clients.seedlink test_info (obspy.clients.seedlink.tests.test_slclient.SLClientTestCase) test must be started manually
clients.seedlink test_issue708 (obspy.clients.seedlink.tests.test_slclient.SLClientTestCase) test must be started manually
clients.seedlink test_time_window (obspy.clients.seedlink.tests.test_slclient.SLClientTestCase) test must be started manually
clients.seishub test_get_channel_ids (obspy.clients.seishub.tests.test_client.ClientTestCase) Seishub test server not reachable.
clients.seishub test_get_coordinates (obspy.clients.seishub.tests.test_client.ClientTestCase) Seishub test server not reachable.
clients.seishub test_get_event_list (obspy.clients.seishub.tests.test_client.ClientTestCase) Seishub test server not reachable.
clients.seishub test_get_location_ids (obspy.clients.seishub.tests.test_client.ClientTestCase) Seishub test server not reachable.
clients.seishub test_get_network_ids (obspy.clients.seishub.tests.test_client.ClientTestCase) Seishub test server not reachable.
clients.seishub test_get_paz (obspy.clients.seishub.tests.test_client.ClientTestCase) Seishub test server not reachable.
clients.seishub test_get_preview (obspy.clients.seishub.tests.test_client.ClientTestCase) Seishub test server not reachable.
clients.seishub test_get_preview_by_ids (obspy.clients.seishub.tests.test_client.ClientTestCase) Seishub test server not reachable.
clients.seishub test_get_station_ids (obspy.clients.seishub.tests.test_client.ClientTestCase) Seishub test server not reachable.
clients.seishub test_get_waveform_with_metadata (obspy.clients.seishub.tests.test_client.ClientTestCase) Seishub test server not reachable.
clients.seishub test_get_waveforms (obspy.clients.seishub.tests.test_client.ClientTestCase) Seishub test server not reachable.
clients.seishub test_localcache (obspy.clients.seishub.tests.test_client.ClientTestCase) Seishub test server not reachable.
clients.seishub test_ping (obspy.clients.seishub.tests.test_client.ClientTestCase) Seishub test server not reachable.
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
42.657s get_waveforms (obspy.clients.seedlink.basic_client.Client)
33.503s test_trim_floating_point_with_padding_2 (obspy.core.tests.test_trace.TraceTestCase)
31.430s test_scan_save_load_npz (obspy.imaging.tests.test_scan.ScanTestCase)
25.840s test_plot_farfield_without_quiver_with_maps (obspy.core.tests.test_event.EventTestCase)
22.893s test_get_waveform_instrument_change (obspy.clients.arclink.tests.test_client.ClientTestCase)
21.124s test_get_networks (obspy.clients.arclink.tests.test_client.ClientTestCase)
20.951s test_get_waveform (obspy.clients.seedlink.tests.test_basic_client.ClientTestCase)
19.342s test_response_calculation_from_seed_and_xseed (obspy.io.xseed.tests.test_core.CoreTestCase)
18.755s test_get_routing (obspy.clients.arclink.tests.test_client.ClientTestCase)
17.174s test_eida_token_resolution (obspy.clients.fdsn.tests.test_client.ClientTestCase)
15.400s test_get_waveform_with_metadata (obspy.clients.arclink.tests.test_client.ClientTestCase)
15.272s test_get_inventory (obspy.clients.arclink.tests.test_client.ClientTestCase)
14.647s test_ppsd_restricted_stacks (obspy.signal.tests.test_spectral_estimation.PsdTestCase)
14.517s __init__ (obspy.taup)
13.256s test_get_waveform_with_dcid_key_file (obspy.clients.arclink.tests.test_decrypt.ClientTestCase)
12.926s test_get_stations (obspy.clients.arclink.tests.test_client.ClientTestCase)
11.731s test_issue_311 (obspy.clients.arclink.tests.test_client.ClientTestCase)
11.713s test_save_waveform_no_compression (obspy.clients.arclink.tests.test_client.ClientTestCase)
11.241s test_issue_372 (obspy.clients.arclink.tests.test_client.ClientTestCase)
9.528s test_get_waveform (obspy.clients.arclink.tests.test_client.ClientTestCase)