#97570 Report by node travis-ci covering 2064 tests from 55 modules resulted into 8 errors

Report

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

System / Python

Architecture
64bit
Machine
x86_64
Node
travis-ci
Processor
x86_64
Python Compiler
GCC 7.2.0
Python Implementation
CPython
Python Version
3.5.5
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.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 1 1
obspy.clients.earthworm 2 2 3
obspy.clients.fdsn 1 4
obspy.clients.filesystem - -
obspy.clients.iris - -
obspy.clients.neic 4 5 6 7 8
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 8 8

Tracebacks (8)

Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.5/site-packages/obspy/clients/arclink/tests/test_client.py", line 259, in test_get_inventory_twice
client.get_inventory('BW', starttime=dt, endtime=dt + 1)
File "/home/travis/miniconda/envs/test-environment/lib/python3.5/site-packages/obspy/clients/arclink/client.py", line 1123, in get_inventory
result = self._fetch(rtype, rdata, route=route)
File "/home/travis/miniconda/envs/test-environment/lib/python3.5/site-packages/obspy/clients/arclink/client.py", line 219, in _fetch
return self._request(request_type, request_data)
File "/home/travis/miniconda/envs/test-environment/lib/python3.5/site-packages/obspy/clients/arclink/client.py", line 324, in _request
raise ArcLinkException("%s %s" % (err_code, msg))
obspy.clients.arclink.client.ArcLinkException: b'UNSET'
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.5/doctest.py", line 2190, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.clients.earthworm.__init__
File "/home/travis/miniconda/envs/test-environment/lib/python3.5/site-packages/obspy/clients/earthworm/__init__.py", line 1, in __init__
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python3.5/site-packages/obspy/clients/earthworm/__init__.py", line 21, in obspy.clients.earthworm.__init__
Failed example:
response = client.get_availability('AV', 'ACH', channel='EHE')
Exception raised:
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.5/doctest.py", line 1321, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.earthworm.__init__[2]>", line 1, in <module>
response = client.get_availability('AV', 'ACH', channel='EHE')
File "/home/travis/miniconda/envs/test-environment/lib/python3.5/site-packages/obspy/clients/earthworm/client.py", line 224, in get_availability
response = get_menu(self.host, self.port, timeout=self.timeout)
File "/home/travis/miniconda/envs/test-environment/lib/python3.5/site-packages/obspy/clients/earthworm/waveserver.py", line 221, in get_menu
r = get_sock_char_line(sock, timeout=timeout)
File "/home/travis/miniconda/envs/test-environment/lib/python3.5/site-packages/obspy/clients/earthworm/waveserver.py", line 168, in get_sock_char_line
indat = sock.recv(1)
ConnectionResetError: [Errno 104] Connection reset by peer
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python3.5/site-packages/obspy/clients/earthworm/__init__.py", line 29, in obspy.clients.earthworm.__init__
Failed example:
t = response[0][4]
Exception raised:
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.5/doctest.py", line 1321, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.earthworm.__init__[4]>", line 1, in <module>
t = response[0][4]
NameError: name 'response' is not defined
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python3.5/site-packages/obspy/clients/earthworm/__init__.py", line 30, in obspy.clients.earthworm.__init__
Failed example:
st = client.get_waveforms('AV', 'ACH', '', 'EH*', t + 100, t + 130)
Exception raised:
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.5/doctest.py", line 1321, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.earthworm.__init__[5]>", line 1, in <module>
st = client.get_waveforms('AV', 'ACH', '', 'EH*', t + 100, t + 130)
NameError: name 't' is not defined
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.5/doctest.py", line 2190, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.clients.earthworm.client.Client.get_waveforms
File "/home/travis/miniconda/envs/test-environment/lib/python3.5/site-packages/obspy/clients/earthworm/client.py", line 50, in get_waveforms
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python3.5/site-packages/obspy/clients/earthworm/client.py", line 84, in obspy.clients.earthworm.client.Client.get_waveforms
Failed example:
st = client.get_waveforms('AV', 'ACH', '', 'EH*', dt, dt + 10)
Exception raised:
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.5/doctest.py", line 1321, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.earthworm.client.Client.get_waveforms[5]>", line 1, in <module>
st = client.get_waveforms('AV', 'ACH', '', 'EH*', dt, dt + 10)
File "/home/travis/miniconda/envs/test-environment/lib/python3.5/site-packages/obspy/clients/earthworm/client.py", line 105, in get_waveforms
cleanup=cleanup)
File "/home/travis/miniconda/envs/test-environment/lib/python3.5/site-packages/obspy/clients/earthworm/client.py", line 113, in get_waveforms
cleanup=cleanup)
File "/home/travis/miniconda/envs/test-environment/lib/python3.5/site-packages/obspy/clients/earthworm/waveserver.py", line 266, in read_wave_server_v
r = get_sock_char_line(sock, timeout=timeout)
File "/home/travis/miniconda/envs/test-environment/lib/python3.5/site-packages/obspy/clients/earthworm/waveserver.py", line 168, in get_sock_char_line
indat = sock.recv(1)
ConnectionResetError: [Errno 104] Connection reset by peer
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.5/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 0x7f88fd292898> != <obspy.core.stream.Stream object at 0x7f88fd292cc0> :
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.5/doctest.py", line 2190, 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.5/site-packages/obspy/clients/neic/client.py", line 73, in get_waveforms
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python3.5/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:32:54.269538Z - 2018-07-10T05:33:04.269538Z | 40.0 Hz, 401 samples
IU.ANMO.00.BH1 | 2018-07-10T05:32:54.269538Z - 2018-07-10T05:33:04.269538Z | 40.0 Hz, 401 samples
IU.ANMO.00.BHZ | 2018-07-10T05:32:54.269538Z - 2018-07-10T05:33:04.269538Z | 40.0 Hz, 401 samples
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.5/doctest.py", line 2190, 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.5/site-packages/obspy/clients/neic/client.py", line 25, in Client
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python3.5/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:32:53.619538Z - 2018-07-10T05:33:03.619538Z | 40.0 Hz, 401 samples
IU.ANMO.00.BH1 | 2018-07-10T05:32:53.619538Z - 2018-07-10T05:33:03.619538Z | 40.0 Hz, 401 samples
IU.ANMO.00.BHZ | 2018-07-10T05:32:53.619538Z - 2018-07-10T05:33:03.619538Z | 40.0 Hz, 401 samples
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python3.5/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:32:53.619538Z - 2018-07-10T05:33:03.619538Z | 40.0 Hz, 401 samples
IU.ANMO.00.BH1 | 2018-07-10T05:32:53.619538Z - 2018-07-10T05:33:03.619538Z | 40.0 Hz, 401 samples
IU.ANMO.00.BHZ | 2018-07-10T05:32:53.619538Z - 2018-07-10T05:33:03.619538Z | 40.0 Hz, 401 samples
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.5/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.5/doctest.py", line 2190, 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.5/site-packages/obspy/clients/neic/client.py", line 130, in get_waveforms_nscl
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python3.5/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:32:54.619538Z - 2018-07-10T05:33:04.619538Z | 40.0 Hz, 401 samples
IU.ANMO.00.BH1 | 2018-07-10T05:32:54.619538Z - 2018-07-10T05:33:04.619538Z | 40.0 Hz, 401 samples
IU.ANMO.00.BHZ | 2018-07-10T05:32:54.619538Z - 2018-07-10T05:33:04.619538Z | 40.0 Hz, 401 samples

Skipped Tests (31)

Submodule Test Skip Message
imaging test_script_plot (obspy.imaging.tests.test_mopad_script.MopadTestCase) Currently broken until further review.
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
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.
geodetics test_gps_2_dist_azimuth_bug150 (obspy.geodetics.tests.test_util_geodetics.UtilGeodeticsTestCase) Module geographiclib is installed, not using calc_vincenty_inverse
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.149s test_get_inventory_twice (obspy.clients.arclink.tests.test_client.ClientTestCase)
31.124s test_get_networks (obspy.clients.arclink.tests.test_client.ClientTestCase)
25.635s test_get_waveform_instrument_change (obspy.clients.arclink.tests.test_client.ClientTestCase)
21.513s test_plot_farfield_without_quiver_with_maps (obspy.core.tests.test_event.EventTestCase)
19.548s test_get_routing (obspy.clients.arclink.tests.test_client.ClientTestCase)
18.928s test_response_calculation_from_seed_and_xseed (obspy.io.xseed.tests.test_core.CoreTestCase)
17.734s test_get_waveform_with_metadata (obspy.clients.arclink.tests.test_client.ClientTestCase)
16.086s test_get_inventory (obspy.clients.arclink.tests.test_client.ClientTestCase)
14.778s __init__ (obspy.taup)
14.332s test_get_waveform_with_dcid_key_file (obspy.clients.arclink.tests.test_decrypt.ClientTestCase)
13.352s test_ppsd_restricted_stacks (obspy.signal.tests.test_spectral_estimation.PsdTestCase)
12.411s test_get_stations (obspy.clients.arclink.tests.test_client.ClientTestCase)
12.182s test_save_waveform_no_compression (obspy.clients.arclink.tests.test_client.ClientTestCase)
11.950s test_issue_372 (obspy.clients.arclink.tests.test_client.ClientTestCase)
11.913s test_issue_311 (obspy.clients.arclink.tests.test_client.ClientTestCase)
11.786s test_shoot_existing_ray_param (obspy.taup.tests.test_seismic_phase.TauPySeismicPhaseTestCase)
10.941s test_eida_token_resolution (obspy.clients.fdsn.tests.test_client.ClientTestCase)
10.438s test_plot_multiple_traces (obspy.imaging.tests.test_waveform.WaveformTestCase)
10.174s test_get_waveform (obspy.clients.arclink.tests.test_client.ClientTestCase)
9.345s __init__ (obspy.clients.arclink)

Chuck Norris Fact

Chuck Norris can unit test entire applications with a single assert.