#97574 Report by node travis-ci covering 2063 tests from 55 modules resulted into 7 errors

Report

ObsPy Version
1.1.1rc1.post0+350.ga77b384...
Continuous Integration
https://travis-ci.org/obspy/obspy/jobs/402129597
GitHub Pull Request
-
Report File
XML Document
Total Runtime
1174.4 sec
Report Date/Time
2018-07-10 05:51:14

System / Python

Architecture
64bit
Machine
x86_64
Node
travis-ci
Processor
i386
Python Compiler
GCC 4.2.1 Compatible Clang 4.0.1 (tags/RELEASE_401/final)
Python Implementation
CPython
Python Version
2.7.15
Release
16.7.0
System
Darwin
Version
Darwin Kernel Version 16.7.0: Thu Jun 15 17:36:27 PDT 2017; root:xnu-3789.70.16~2/RELEASE_X86_64

Dependencies

cartopy
---
decorator
4.3.0
flake8
---
future
0.16.0
geographiclib
1.49
lxml.etree
4.2.2
m2crypto
---
matplotlib
2.0.2
mock
2.0.0
mpl_toolkits.basemap
1.0.7
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
39.2.0
shapefile
1.2.12
sqlalchemy
1.2.8

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 - -
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.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 7 7

Tracebacks (7)

Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/doctest.py", line 2226, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.clients.earthworm.client.Client.get_availability
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/clients/earthworm/client.py", line 170, in get_availability
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/clients/earthworm/client.py", line 196, in obspy.clients.earthworm.client.Client.get_availability
Failed example:
response = client.get_availability(
network="AV", station="ACH", channel="EH*")
Exception raised:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/doctest.py", line 1315, in __run
compileflags, 1) in test.globs
File "<doctest obspy.clients.earthworm.client.Client.get_availability[2]>", line 2, in <module>
network="AV", station="ACH", channel="EH*")
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/clients/earthworm/client.py", line 224, in get_availability
response = get_menu(self.host, self.port, timeout=self.timeout)
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/clients/earthworm/waveserver.py", line 221, in get_menu
r = get_sock_char_line(sock, timeout=timeout)
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/clients/earthworm/waveserver.py", line 168, in get_sock_char_line
indat = sock.recv(1)
error: [Errno 54] Connection reset by peer
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/clients/earthworm/client.py", line 198, in obspy.clients.earthworm.client.Client.get_availability
Failed example:
print(response) # doctest: +ELLIPSIS +NORMALIZE_WHITESPACE
Exception raised:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/doctest.py", line 1315, in __run
compileflags, 1) in test.globs
File "<doctest obspy.clients.earthworm.client.Client.get_availability[3]>", line 1, in <module>
print(response) # doctest: +ELLIPSIS +NORMALIZE_WHITESPACE
NameError: name 'response' is not defined
Traceback (most recent call last):
File "<decorator-gen-55>", line 2, in test_get_waveform
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/core/util/decorator.py", line 126, in skip_on_network_error
return func(*args, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/clients/earthworm/tests/test_client.py", line 70, in test_get_waveform
self.assertEqual(len(stream), 3)
AssertionError: 2 != 3
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/clients/fdsn/tests/test_client.py", line 696, in test_dataselect_bulk
self.assertEqual(got, expected, failmsg(got, expected))
AssertionError:
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 "/Users/travis/miniconda/envs/test-environment/lib/python2.7/doctest.py", line 2226, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.clients.neic.client.Client
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/clients/neic/client.py", line 25, in Client
----------------------------------------------------------------------
File "/Users/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 | 2018-07-10T05:38:49.094538Z - 2018-07-10T05:38:59.094538Z | 40.0 Hz, 401 samples
IU.ANMO.00.BH1 | 2018-07-10T05:38:49.094538Z - 2018-07-10T05:38:59.094538Z | 40.0 Hz, 401 samples
IU.ANMO.00.BHZ | 2018-07-10T05:38:49.094536Z - 2018-07-10T05:38:59.094536Z | 40.0 Hz, 401 samples
----------------------------------------------------------------------
File "/Users/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 | 2018-07-10T05:38:49.094538Z - 2018-07-10T05:38:59.094538Z | 40.0 Hz, 401 samples
IU.ANMO.00.BH1 | 2018-07-10T05:38:49.094538Z - 2018-07-10T05:38:59.094538Z | 40.0 Hz, 401 samples
IU.ANMO.00.BHZ | 2018-07-10T05:38:49.094536Z - 2018-07-10T05:38:59.094536Z | 40.0 Hz, 401 samples
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/doctest.py", line 2226, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.clients.neic.client.Client.get_waveforms
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/clients/neic/client.py", line 73, in get_waveforms
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/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.BH2 | 2018-07-10T05:38:49.494538Z - 2018-07-10T05:38:59.494538Z | 40.0 Hz, 401 samples
IU.ANMO.00.BH1 | 2018-07-10T05:38:49.494538Z - 2018-07-10T05:38:59.494538Z | 40.0 Hz, 401 samples
IU.ANMO.00.BHZ | 2018-07-10T05:38:49.494536Z - 2018-07-10T05:38:59.494536Z | 40.0 Hz, 401 samples
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/doctest.py", line 2226, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.clients.neic.client.Client.get_waveforms_nscl
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/clients/neic/client.py", line 130, in get_waveforms_nscl
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/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.BH2 | 2018-07-10T05:38:49.744538Z - 2018-07-10T05:38:59.744538Z | 40.0 Hz, 401 samples
IU.ANMO.00.BH1 | 2018-07-10T05:38:49.744538Z - 2018-07-10T05:38:59.744538Z | 40.0 Hz, 401 samples
IU.ANMO.00.BHZ | 2018-07-10T05:38:49.744536Z - 2018-07-10T05:38:59.744536Z | 40.0 Hz, 401 samples
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python2.7/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
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
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
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
42.132s test_response_calculation_from_seed_and_xseed (obspy.io.xseed.tests.test_core.CoreTestCase)
36.000s test_get_networks (obspy.clients.arclink.tests.test_client.ClientTestCase)
35.797s test_plot_farfield_without_quiver_with_maps (obspy.core.tests.test_event.EventTestCase)
25.570s test_get_waveform_instrument_change (obspy.clients.arclink.tests.test_client.ClientTestCase)
24.152s test_event_scoped_resource_id_many_threads (obspy.core.tests.test_resource_identifier.ResourceIdentifierTestCase)
19.641s test_get_routing (obspy.clients.arclink.tests.test_client.ClientTestCase)
17.784s test_get_waveform_with_metadata (obspy.clients.arclink.tests.test_client.ClientTestCase)
17.781s test_get_inventory (obspy.clients.arclink.tests.test_client.ClientTestCase)
17.523s test_ppsd_restricted_stacks (obspy.signal.tests.test_spectral_estimation.PsdTestCase)
17.295s test_issue_372 (obspy.clients.arclink.tests.test_client.ClientTestCase)
16.262s __init__ (obspy.taup)
14.824s test_get_waveform_with_dcid_key_file (obspy.clients.arclink.tests.test_decrypt.ClientTestCase)
13.720s test_plot_multiple_traces (obspy.imaging.tests.test_waveform.WaveformTestCase)
13.553s test_issue_311 (obspy.clients.arclink.tests.test_client.ClientTestCase)
13.408s test_get_stations (obspy.clients.arclink.tests.test_client.ClientTestCase)
12.512s test_save_waveform_no_compression (obspy.clients.arclink.tests.test_client.ClientTestCase)
12.001s test_shoot_existing_ray_param (obspy.taup.tests.test_seismic_phase.TauPySeismicPhaseTestCase)
11.498s test_auto_read_arclink_xml (obspy.io.arclink.tests.test_inventory_xml.ArclinkInventoryTestCase)
11.165s test_combined_station_event_plot (obspy.core.tests.test_inventory.InventoryBasemapTestCase)
11.066s test_location_plot_global (obspy.core.tests.test_network.NetworkBasemapTestCase)

Chuck Norris Fact

Chuck Norris doesn't need sudo, he just types "Chuck Norris" before his commands.