#98701 Report by node travis-ci covering 1982 tests from 54 modules resulted into 7 errors

Report

ObsPy Version
1.1.1rc1.post0+54.gf92e837e...
Continuous Integration
https://travis-ci.org/obspy/obspy/jobs/440175160
GitHub Pull Request
-
Report File
XML Document
Total Runtime
809.0 sec
Report Date/Time
2018-10-11 10:09:33

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
3.4.5
Release
4.4.0-112-generic
System
Linux
Version
#135-Ubuntu SMP Fri Jan 19 11:48:36 UTC 2018

Dependencies

cartopy
---
decorator
4.0.11
flake8
---
future
0.16.0
geographiclib
1.49
lxml.etree
3.7.2
m2crypto
---
matplotlib
2.0.0
mock
2.0.0
mpl_toolkits.basemap
1.0.7
numpy
1.11.3
pep8-naming
---
pyflakes
---
pyimgur
0.5.2
pyproj
1.9.5.1
requests
2.19.1
scipy
0.18.1
setuptools
27.2.0
shapefile
1.2.12
sqlalchemy
1.1.5

Modules (54)

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 - -
obspy.clients.seishub - -
obspy.clients.syngine - -
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.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 7 7

Tracebacks (7)

Traceback (most recent call last):
File "<decorator-gen-55>", line 2, in test_save_waveform
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/decorator.py", line 127, in skip_on_network_error
return func(*args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/clients/earthworm/tests/test_client.py", line 98, in test_save_waveform
stream = read(testfile)
File "<decorator-gen-31>", line 2, in read
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/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/python3.4/site-packages/obspy/core/stream.py", line 235, 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/python3.4/site-packages/obspy/core/util/decorator.py", line 211, in uncompress_file
result = func(filename, *args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/stream.py", line 277, in _read
headonly=headonly, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/base.py", line 403, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file /tmp/obspy-7ysxr93h.tmp
Traceback (most recent call last):
File "<decorator-gen-54>", line 2, in test_get_waveform
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/decorator.py", line 127, in skip_on_network_error
return func(*args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/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.4/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 0x7f64630c1208> != <obspy.core.stream.Stream object at 0x7f64630c1c50> :
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.4/doctest.py", line 2187, 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.4/site-packages/obspy/clients/neic/client.py", line 25, in Client
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/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.BHZ | 2018-10-11T10:02:04.444538Z - 2018-10-11T10:02:14.444538Z | 40.0 Hz, 401 samples
IU.ANMO.00.BH2 | 2018-10-11T10:02:04.444536Z - 2018-10-11T10:02:14.444536Z | 40.0 Hz, 401 samples
IU.ANMO.00.BH1 | 2018-10-11T10:02:04.444536Z - 2018-10-11T10:02:14.444536Z | 40.0 Hz, 401 samples
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/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.BHZ | 2018-10-11T10:02:04.444538Z - 2018-10-11T10:02:14.444538Z | 40.0 Hz, 401 samples
IU.ANMO.00.BH2 | 2018-10-11T10:02:04.444536Z - 2018-10-11T10:02:14.444536Z | 40.0 Hz, 401 samples
IU.ANMO.00.BH1 | 2018-10-11T10:02:04.444536Z - 2018-10-11T10:02:14.444536Z | 40.0 Hz, 401 samples
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/doctest.py", line 2187, 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.4/site-packages/obspy/clients/neic/client.py", line 73, in get_waveforms
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/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.BHZ | 2018-10-11T10:02:05.069538Z - 2018-10-11T10:02:15.069538Z | 40.0 Hz, 401 samples
IU.ANMO.00.BH2 | 2018-10-11T10:02:05.069536Z - 2018-10-11T10:02:15.069536Z | 40.0 Hz, 401 samples
IU.ANMO.00.BH1 | 2018-10-11T10:02:05.069536Z - 2018-10-11T10:02:15.069536Z | 40.0 Hz, 401 samples
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/doctest.py", line 2187, 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.4/site-packages/obspy/clients/neic/client.py", line 130, in get_waveforms_nscl
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/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.BHZ | 2018-10-11T10:02:05.369538Z - 2018-10-11T10:02:15.369538Z | 40.0 Hz, 401 samples
IU.ANMO.00.BH2 | 2018-10-11T10:02:05.369536Z - 2018-10-11T10:02:15.369536Z | 40.0 Hz, 401 samples
IU.ANMO.00.BH1 | 2018-10-11T10:02:05.369536Z - 2018-10-11T10:02:15.369536Z | 40.0 Hz, 401 samples
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/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

Skipped Tests (31)

Submodule Test Skip Message
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.
geodetics test_gps_2_dist_azimuth_bug150 (obspy.geodetics.tests.test_util_geodetics.UtilGeodeticsTestCase) Module geographiclib is installed, not using calc_vincenty_inverse
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
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
imaging test_script_plot (obspy.imaging.tests.test_mopad_script.MopadTestCase) Currently broken until further review.
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

Slowest Tests (20)

Runtime Test
22.994s test_response_calculation_from_seed_and_xseed (obspy.io.xseed.tests.test_core.CoreTestCase)
21.133s test_get_waveform_instrument_change (obspy.clients.arclink.tests.test_client.ClientTestCase)
19.575s test_get_networks (obspy.clients.arclink.tests.test_client.ClientTestCase)
18.060s test_plot_farfield_without_quiver_with_maps (obspy.core.tests.test_event.EventTestCase)
17.457s test_get_routing (obspy.clients.arclink.tests.test_client.ClientTestCase)
15.420s test_get_inventory (obspy.clients.arclink.tests.test_client.ClientTestCase)
14.770s test_get_waveform_with_metadata (obspy.clients.arclink.tests.test_client.ClientTestCase)
14.118s test_get_waveform_with_default_dcid_key_file (obspy.clients.arclink.tests.test_decrypt.ClientTestCase)
13.994s test_get_stations (obspy.clients.arclink.tests.test_client.ClientTestCase)
13.441s test_get_waveform_with_dcid_key_file (obspy.clients.arclink.tests.test_decrypt.ClientTestCase)
11.756s test_ppsd_restricted_stacks (obspy.signal.tests.test_spectral_estimation.PsdTestCase)
11.136s test_issue_372 (obspy.clients.arclink.tests.test_client.ClientTestCase)
10.951s test_save_waveform_no_compression (obspy.clients.arclink.tests.test_client.ClientTestCase)
10.745s test_issue_311 (obspy.clients.arclink.tests.test_client.ClientTestCase)
10.132s __init__ (obspy.taup)
9.868s test_eida_token_resolution (obspy.clients.fdsn.tests.test_client.ClientTestCase)
9.752s test_plot_multiple_traces (obspy.imaging.tests.test_waveform.WaveformTestCase)
8.338s test_get_inventory_stationgroup (obspy.clients.arclink.tests.test_client.ClientTestCase)
8.189s test_redirection_auth (obspy.clients.fdsn.tests.test_client.ClientTestCase)
7.924s test_relcal_different_overlaps (obspy.signal.tests.test_calibration.CalibrationTestCase)

Chuck Norris Fact

"It works on my machine" always holds true for Chuck Norris.