#104346 Report by node travis-ci covering 2126 tests from 56 modules resulted into 19 errors

Report

ObsPy version
1.1.1.post0+737.g587d081e69.o…
GitHub Pull Request
-
Report file
XML document
Total runtime
1009.6 sec
Report date/time
July 8, 2019, 2:27 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.7.3
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.0
flake8
---
future
0.17.1
geographiclib
1.49
lxml.etree
4.3.4
m2crypto
---
matplotlib
3.1.0
mock
3.0.5
mpl_toolkits.basemap
1.1.0
numpy
1.16.4
pep8-naming
---
pyflakes
---
pyimgur
0.5.2
pyproj
1.9.6
requests
2.22.0
scipy
1.2.1
setuptools
41.0.1
shapefile
2.1.0
sqlalchemy
1.3.5

Modules (56)

Module Errors / Failures Tracebacks
obspy.clients.arclink 2 1 2
obspy.clients.earthworm - -
obspy.clients.fdsn 5 3 4 5 6 7
obspy.clients.filesystem - -
obspy.clients.iris - -
obspy.clients.neic 4 8 9 10 11
obspy.clients.nrl - -
obspy.clients.seedlink - -
obspy.clients.seishub - -
obspy.clients.syngine 1 12
obspy.core - -
obspy.db - -
obspy.geodetics - -
obspy.imaging 1 13
obspy.io.ah - -
obspy.io.arclink - -
obspy.io.ascii - -
obspy.io.cmtsolution - -
obspy.io.cnv - -
obspy.io.css - -
obspy.io.focmec - -
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 6 14 15 16 17 18 19
obspy.taup - -
Summary 19 19

Tracebacks (19)

Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 2196, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.clients.arclink.__init__
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/arclink/__init__.py", line 1, in __init__
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/arclink/__init__.py", line 53, in obspy.clients.arclink.__init__
Failed example:
st = client.get_waveforms("BW", "RJOB", "", "EH*", t - 3, t + 15)
Exception raised:
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.arclink.__init__[4]>", line 1, in <module>
st = client.get_waveforms("BW", "RJOB", "", "EH*", t - 3, t + 15)
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/arclink/client.py", line 444, in get_waveforms
compressed=compressed, route=route)
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/arclink/client.py", line 565, in save_waveforms
data = self._fetch(rtype, rdata, route=route)
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/arclink/client.py", line 260, in _fetch
return self._request(request_type, request_data)
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/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.7/site-packages/obspy/clients/arclink/tests/test_client.py", line 428, in test_get_stations
self.assertTrue(expected in result)
AssertionError: False is not true
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/fdsn/tests/test_federator_routing_client.py", line 342, in test_get_stations_integration_test
channel="LHZ", level="station")
File "</home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/decorator.py:decorator-gen-73>", line 2, in get_stations
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/fdsn/routing/routing_client.py", line 82, in _assert_filename_not_in_kwargs
return f(*args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/fdsn/routing/federator_routing_client.py", line 110, in get_stations
return super(FederatorRoutingClient, self).get_stations(**kwargs)
File "</home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/decorator.py:decorator-gen-70>", line 2, in get_stations
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/fdsn/routing/routing_client.py", line 82, in _assert_filename_not_in_kwargs
return f(*args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/fdsn/routing/routing_client.py", line 371, in get_stations
return self.get_stations_bulk([bulk], **kwargs)
File "</home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/decorator.py:decorator-gen-74>", line 2, in get_stations_bulk
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/fdsn/routing/routing_client.py", line 82, in _assert_filename_not_in_kwargs
return f(*args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/fdsn/routing/federator_routing_client.py", line 143, in get_stations_bulk
r = self._download(self._url + "/query", data=bulk_str)
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/base.py", line 245, in _download
self._handle_requests_http_error(r)
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/fdsn/routing/routing_client.py", line 307, in _handle_requests_http_error
raise_on_error(r.status_code, buf)
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/fdsn/client.py", line 1753, in raise_on_error
raise FDSNException("Unknown HTTP code: %i" % code, server_info)
obspy.clients.fdsn.header.FDSNException: Unknown HTTP code: 404
Detailed response of server:
NOT FOUND -- <!doctype html>
<html lang="en">
<head>
<title>
IRIS:
404 Page Not Found Error
</title>
<meta name="keywords" content="seismology, seismological data,
earthquakes, iris dmc" />
<meta name="description" content="IRIS is a consortium of
universities dedicated to the operation of science facilities
for the acquisition, management, and distribution of seismological
data." />
<!-- Forces IE to render in 'latest' compatible mode -->
<meta http-equiv="X-UA-Compatible" content="IE=Edge"/>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" media="all" type="text/css" href="/static/css/iris.css" />
<link rel="stylesheet" media="print" type="text/css" href="/static/css/print.css" />
<link rel="shortcut icon" href="/static/img/favicon.ico" />
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.js"></script>
<script type="text/javascript" src="//netdna.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"></script>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-1860730-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-1860730-1');
</script>
</head>
<body>
<div class="container">
<div class="container-inner">
<header>
<div id="header">
<div id="header-left">
<div id="logo">
<a href="http://ds.iris.edu/hq/" title="IRIS">
<img alt="IRIS" src="/static/img/layout/logos/iris_logo_shadow.png"/>
</a>
</div>
<div id="logo-name">
Incorporated Research Institutions for Seismology
</div>
</div>
<!-- #header-right -->
<div id="header-right">
<ul id="top-menu">
<li>
<a href="http://ds.iris.edu/ds/nodes/dmc/" title="IRIS DMC">DMC</a>
</li>
<li>
<a href="http://www.iris.edu/hq" title="IRIS HQ">Home</a>
</li>
</ul>
<div id="nsf-logo">
<a href="http://www.nsf.gov/" target="_blank" title="The National Science Foundation">
<img alt="The National Science Foundation" src="/static/img/layout/logos/nsf.png"/>
</a>
</div>
<!-- #nsf -->
</div>
<div class="shadow-down"></div>
</div>
<!-- #header -->
<!--Iris only meny -->
</header>
<div class="wrapper">
<div>
<ul class="breadcrumb">
<li>
<a href="/">Web Services</a>
</li>
</ul>
</div>
<div id="page">
<div id="page-content">
<h1>
404 Page Not Found Error
</h1>
<div id="content">
<p>We are sorry, but the page you are requesting does not exist.</p>
<p>Please check the URL path you are requested and try again.</p>
<p>If you believe the error to be ours, please
<a href="http://www.iris.edu/hq/contact">contact</a>
us.</p>
</div>
</div>
</div>
</div>
<div id="footer">
<div class="shadow-up"></div>
<div id="footer-bottom">
<ul>
<li><span><a href="http://www.iris.edu/hq" title="IRIS"><img src="/static/img/layout/logos/URL_TXT.png" /></a></span></li>
<li><em><a href="http://www.nsf.gov/" title="The National Science Foundation" target="_blank">Sponsored by the National Science Foundation</a></em></li>
<li><a href="http://www.iris.edu/hq" title="IRIS">&copy; Copyright 2019 IRIS</a></li>
<li>1200 New York Avenue NW, Suite 400, Washington, DC 20005, 202-682-2220</li>
<li><a href="mailto:info@iris.edu">info@iris.edu</a></li>
</ul>
</div><!-- #footer-bottom -->
</div><!-- #footer -->
<div class="cachebuster" title="Click to force a refresh.">
Page built 12:17:23 | v.ba65b5ce
</div>
<script>
/* Cachebuster -- this is a link to the current page with a trailing query parameter, which will cause the cache to be bypassed */
$(function() {
// Cachebuster goes in the search attribute (eg. the query string)
var search = window.location.search;
// Only operate if there's no search or it's an existing cachebuster parameter
if (!search || search.match(/^\?\d+$/)) {
$('.cachebuster').click(function() {
window.location.search = '?' + (new Date()).getTime();
});
} else {
$('.cachebuster').empty();
}
});
</script>
</div>
</div><!-- #site-container -->
</body>
</html>
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/fdsn/tests/test_federator_routing_client.py", line 318, in test_get_waveforms_integration_test
channel="LHZ")
File "</home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/decorator.py:decorator-gen-69>", line 2, in get_waveforms
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/fdsn/routing/routing_client.py", line 82, in _assert_filename_not_in_kwargs
return f(*args, **kwargs)
File "</home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/decorator.py:decorator-gen-68>", line 2, in get_waveforms
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/fdsn/routing/routing_client.py", line 89, in _assert_attach_response_not_in_kwargs
return f(*args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/fdsn/routing/routing_client.py", line 338, in get_waveforms
return self.get_waveforms_bulk([bulk], **kwargs)
File "</home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/decorator.py:decorator-gen-72>", line 2, in get_waveforms_bulk
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/fdsn/routing/routing_client.py", line 89, in _assert_attach_response_not_in_kwargs
return f(*args, **kwargs)
File "</home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/decorator.py:decorator-gen-71>", line 2, in get_waveforms_bulk
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/fdsn/routing/routing_client.py", line 82, in _assert_filename_not_in_kwargs
return f(*args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/fdsn/routing/federator_routing_client.py", line 87, in get_waveforms_bulk
r = self._download(self._url + "/query", data=bulk_str)
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/base.py", line 245, in _download
self._handle_requests_http_error(r)
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/fdsn/routing/routing_client.py", line 307, in _handle_requests_http_error
raise_on_error(r.status_code, buf)
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/fdsn/client.py", line 1753, in raise_on_error
raise FDSNException("Unknown HTTP code: %i" % code, server_info)
obspy.clients.fdsn.header.FDSNException: Unknown HTTP code: 404
Detailed response of server:
NOT FOUND -- <!doctype html>
<html lang="en">
<head>
<title>
IRIS:
404 Page Not Found Error
</title>
<meta name="keywords" content="seismology, seismological data,
earthquakes, iris dmc" />
<meta name="description" content="IRIS is a consortium of
universities dedicated to the operation of science facilities
for the acquisition, management, and distribution of seismological
data." />
<!-- Forces IE to render in 'latest' compatible mode -->
<meta http-equiv="X-UA-Compatible" content="IE=Edge"/>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" media="all" type="text/css" href="/static/css/iris.css" />
<link rel="stylesheet" media="print" type="text/css" href="/static/css/print.css" />
<link rel="shortcut icon" href="/static/img/favicon.ico" />
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.js"></script>
<script type="text/javascript" src="//netdna.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"></script>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-1860730-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-1860730-1');
</script>
</head>
<body>
<div class="container">
<div class="container-inner">
<header>
<div id="header">
<div id="header-left">
<div id="logo">
<a href="http://ds.iris.edu/hq/" title="IRIS">
<img alt="IRIS" src="/static/img/layout/logos/iris_logo_shadow.png"/>
</a>
</div>
<div id="logo-name">
Incorporated Research Institutions for Seismology
</div>
</div>
<!-- #header-right -->
<div id="header-right">
<ul id="top-menu">
<li>
<a href="http://ds.iris.edu/ds/nodes/dmc/" title="IRIS DMC">DMC</a>
</li>
<li>
<a href="http://www.iris.edu/hq" title="IRIS HQ">Home</a>
</li>
</ul>
<div id="nsf-logo">
<a href="http://www.nsf.gov/" target="_blank" title="The National Science Foundation">
<img alt="The National Science Foundation" src="/static/img/layout/logos/nsf.png"/>
</a>
</div>
<!-- #nsf -->
</div>
<div class="shadow-down"></div>
</div>
<!-- #header -->
<!--Iris only meny -->
</header>
<div class="wrapper">
<div>
<ul class="breadcrumb">
<li>
<a href="/">Web Services</a>
</li>
</ul>
</div>
<div id="page">
<div id="page-content">
<h1>
404 Page Not Found Error
</h1>
<div id="content">
<p>We are sorry, but the page you are requesting does not exist.</p>
<p>Please check the URL path you are requested and try again.</p>
<p>If you believe the error to be ours, please
<a href="http://www.iris.edu/hq/contact">contact</a>
us.</p>
</div>
</div>
</div>
</div>
<div id="footer">
<div class="shadow-up"></div>
<div id="footer-bottom">
<ul>
<li><span><a href="http://www.iris.edu/hq" title="IRIS"><img src="/static/img/layout/logos/URL_TXT.png" /></a></span></li>
<li><em><a href="http://www.nsf.gov/" title="The National Science Foundation" target="_blank">Sponsored by the National Science Foundation</a></em></li>
<li><a href="http://www.iris.edu/hq" title="IRIS">&copy; Copyright 2019 IRIS</a></li>
<li>1200 New York Avenue NW, Suite 400, Washington, DC 20005, 202-682-2220</li>
<li><a href="mailto:info@iris.edu">info@iris.edu</a></li>
</ul>
</div><!-- #footer-bottom -->
</div><!-- #footer -->
<div class="cachebuster" title="Click to force a refresh.">
Page built 12:17:23 | v.ba65b5ce
</div>
<script>
/* Cachebuster -- this is a link to the current page with a trailing query parameter, which will cause the cache to be bypassed */
$(function() {
// Cachebuster goes in the search attribute (eg. the query string)
var search = window.location.search;
// Only operate if there's no search or it's an existing cachebuster parameter
if (!search || search.match(/^\?\d+$/)) {
$('.cachebuster').click(function() {
window.location.search = '?' + (new Date()).getTime();
});
} else {
$('.cachebuster').empty();
}
});
</script>
</div>
</div><!-- #site-container -->
</body>
</html>
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/fdsn/tests/test_client.py", line 613, in test_authentication
got = client.get_waveforms(*query)
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/fdsn/client.py", line 844, in get_waveforms
data_stream = self._download(url, use_gzip=False)
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/fdsn/client.py", line 1397, in _download
raise_on_error(code, data)
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/fdsn/client.py", line 1728, in raise_on_error
server_info)
obspy.clients.fdsn.header.FDSNException: Unauthorized, authentication required.
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/fdsn/tests/test_client.py", line 904, in test_dataselect_bulk
got = client.get_waveforms_bulk(bulk, **params)
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/fdsn/client.py", line 1024, in get_waveforms_bulk
data=bulk)
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/fdsn/client.py", line 1397, in _download
raise_on_error(code, data)
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/fdsn/client.py", line 1728, in raise_on_error
server_info)
obspy.clients.fdsn.header.FDSNException: Unauthorized, authentication required.
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/fdsn/tests/test_client.py", line 1378, in test_redirection_auth
endtime=UTCDateTime("2010-02-27T06:30:01.000"))
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/fdsn/client.py", line 844, in get_waveforms
data_stream = self._download(url, use_gzip=False)
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/fdsn/client.py", line 1397, in _download
raise_on_error(code, data)
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/fdsn/client.py", line 1728, in raise_on_error
server_info)
obspy.clients.fdsn.header.FDSNException: Unauthorized, authentication required.
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 2196, 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.7/site-packages/obspy/clients/neic/client.py", line 25, in Client
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python3.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... | 40.0 Hz, 401 samples
IU.ANMO.00.BH... | 40.0 Hz, 401 samples
IU.ANMO.00.BH... | 40.0 Hz, 401 samples
Got:
0 Trace(s) in Stream:
<BLANKLINE>
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python3.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... | 40.0 Hz, 401 samples
IU.ANMO.00.BH... | 40.0 Hz, 401 samples
IU.ANMO.00.BH... | 40.0 Hz, 401 samples
Got:
0 Trace(s) in Stream:
<BLANKLINE>
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 2196, 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.7/site-packages/obspy/clients/neic/client.py", line 73, in get_waveforms
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python3.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... | 40.0 Hz, 401 samples
IU.ANMO.00.BH... | 40.0 Hz, 401 samples
IU.ANMO.00.BH... | 40.0 Hz, 401 samples
Got:
0 Trace(s) in Stream:
<BLANKLINE>
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 2196, 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.7/site-packages/obspy/clients/neic/client.py", line 130, in get_waveforms_nscl
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python3.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... | 40.0 Hz, 401 samples
IU.ANMO.00.BH... | 40.0 Hz, 401 samples
IU.ANMO.00.BH... | 40.0 Hz, 401 samples
Got:
0 Trace(s) in Stream:
<BLANKLINE>
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/neic/tests/test_client.py", line 57, in test_get_waveform_nscl
self.assertEqual(len(st), 3)
AssertionError: 0 != 3
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 2196, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.clients.syngine.__init__
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/syngine/__init__.py", line 1, in __init__
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/syngine/__init__.py", line 28, in obspy.clients.syngine.__init__
Failed example:
st = client.get_waveforms(model="ak135f_5s", network="IU", station="ANMO",
eventid="GCMT:C201002270634A")
Exception raised:
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.syngine.__init__[2]>", line 2, in <module>
eventid="GCMT:C201002270634A")
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/syngine/client.py", line 370, in get_waveforms
filename=filename)
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/base.py", line 245, in _download
self._handle_requests_http_error(r)
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/syngine/client.py", line 61, in _handle_requests_http_error
raise ClientHTTPException(msg.strip())
obspy.clients.base.ClientHTTPException: HTTP code 500 when downloading 'http://service.iris.edu/irisws/syngine/1/query?model=ak135f_5s&network=IU&station=ANMO&eventid=GCMT%3AC201002270634A&format=miniseed':
Error 500: Error calling metadata service, code 500 [read timeout at /usr/share/perl5/vendor_perl/Net/HTTP/Methods.pm line 257.
]
More Details:
handler exited, code: 1 reason: Internal Server Error
Request:
http://service.iris.edu/irisws/syngine/1/query?model=ak135f_5s&network=IU&station=ANMO&eventid=GCMT%3AC201002270634A&format=miniseed
Request Submitted:
2019/07/08 19:21:23 UTC
Service version:
Service: irisws-syngine version: 1.0.4
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/syngine/__init__.py", line 30, in obspy.clients.syngine.__init__
Failed example:
print(st) # doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.syngine.__init__[3]>", line 1, in <module>
print(st) # doctest: +ELLIPSIS
NameError: name 'st' is not defined
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/syngine/__init__.py", line 54, in obspy.clients.syngine.__init__
Failed example:
st = client.get_waveforms(model="ak135f_5s", network="IU", station="AN*",
eventid="GCMT:C201002270634A",
starttime="P-10", endtime="P+20")
Exception raised:
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.syngine.__init__[5]>", line 3, in <module>
starttime="P-10", endtime="P+20")
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/syngine/client.py", line 370, in get_waveforms
filename=filename)
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/base.py", line 245, in _download
self._handle_requests_http_error(r)
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/syngine/client.py", line 61, in _handle_requests_http_error
raise ClientHTTPException(msg.strip())
obspy.clients.base.ClientHTTPException: HTTP code 500 when downloading 'http://service.iris.edu/irisws/syngine/1/query?model=ak135f_5s&network=IU&station=AN%2A&eventid=GCMT%3AC201002270634A&format=miniseed&starttime=P-10&endtime=P%2B20':
Error 500: Error calling metadata service, code 500 [Server closed connection without sending any data back at /usr/share/perl5/vendor_perl/Net/HTTP/Methods.pm line 373.
]
More Details:
handler exited, code: 1 reason: Internal Server Error
Request:
http://service.iris.edu/irisws/syngine/1/query?model=ak135f_5s&network=IU&station=AN%2A&eventid=GCMT%3AC201002270634A&format=miniseed&starttime=P-10&endtime=P%2B20
Request Submitted:
2019/07/08 19:23:04 UTC
Service version:
Service: irisws-syngine version: 1.0.4
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/imaging/tests/test_source.py", line 35, in test_farfield_with_quiver
mt, kind=['beachball', 's_quiver', 'p_quiver'], show=False)
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/imaging/source.py", line 134, in plot_radiation_pattern
fig, axes, kind = _setup_figure_and_axes(kind, fig=fig)
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/imaging/source.py", line 69, in _setup_figure_and_axes
nrows, ncols_, i * ncols_ + j + 1, **kwargs))
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/matplotlib/figure.py", line 1414, in add_subplot
a = subplot_class_factory(projection_class)(self, *args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/matplotlib/axes/_subplots.py", line 69, in __init__
self._axes_class.__init__(self, fig, self.figbox, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/mpl_toolkits/mplot3d/axes3d.py", line 101, in __init__
super().__init__(fig, rect, frameon=True, *args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/matplotlib/axes/_base.py", line 509, in __init__
self.update(kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/matplotlib/artist.py", line 957, in update
ret = [_update_property(self, k, v) for k, v in props.items()]
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/matplotlib/artist.py", line 957, in <listcomp>
ret = [_update_property(self, k, v) for k, v in props.items()]
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/matplotlib/artist.py", line 954, in _update_property
return func(v)
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/matplotlib/axes/_base.py", line 1281, in set_aspect
'It is not currently possible to manually set the aspect '
NotImplementedError: It is not currently possible to manually set the aspect on 3D axes
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/signal/tests/test_spectral_estimation.py", line 808, in test_exception_reading_newer_npz
items = {key: data[key] for key in data.files}
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/signal/tests/test_spectral_estimation.py", line 808, in <dictcomp>
items = {key: data[key] for key in data.files}
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/numpy/lib/npyio.py", line 262, in __getitem__
pickle_kwargs=self.pickle_kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/numpy/lib/format.py", line 696, in read_array
raise ValueError("Object arrays cannot be loaded when "
ValueError: Object arrays cannot be loaded when allow_pickle=False
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/signal/tests/test_spectral_estimation.py", line 224, in test_ppsd
ppsd_loaded = PPSD.load_npz(filename)
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/signal/spectral_estimation.py", line 1335, in load_npz
return _load(data)
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/signal/spectral_estimation.py", line 1309, in _load
data_ = data[key]
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/numpy/lib/npyio.py", line 262, in __getitem__
pickle_kwargs=self.pickle_kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/numpy/lib/format.py", line 696, in read_array
raise ValueError("Object arrays cannot be loaded when "
ValueError: Object arrays cannot be loaded when allow_pickle=False
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/signal/tests/test_spectral_estimation.py", line 574, in test_ppsd_add_npz
ppsd = PPSD.load_npz(tf1.name, metadata=None)
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/signal/spectral_estimation.py", line 1335, in load_npz
return _load(data)
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/signal/spectral_estimation.py", line 1309, in _load
data_ = data[key]
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/numpy/lib/npyio.py", line 262, in __getitem__
pickle_kwargs=self.pickle_kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/numpy/lib/format.py", line 696, in read_array
raise ValueError("Object arrays cannot be loaded when "
ValueError: Object arrays cannot be loaded when allow_pickle=False
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/signal/tests/test_spectral_estimation.py", line 411, in test_ppsd_save_and_load_npz
ppsd_loaded = PPSD.load_npz(filename, metadata=paz)
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/signal/spectral_estimation.py", line 1335, in load_npz
return _load(data)
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/signal/spectral_estimation.py", line 1309, in _load
data_ = data[key]
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/numpy/lib/npyio.py", line 262, in __getitem__
pickle_kwargs=self.pickle_kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/numpy/lib/format.py", line 696, in read_array
raise ValueError("Object arrays cannot be loaded when "
ValueError: Object arrays cannot be loaded when allow_pickle=False
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/signal/tests/test_spectral_estimation.py", line 724, in test_ppsd_temporal_plot
ppsd = PPSD.load_npz(self.example_ppsd_npz)
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/signal/spectral_estimation.py", line 1335, in load_npz
return _load(data)
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/signal/spectral_estimation.py", line 1309, in _load
data_ = data[key]
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/numpy/lib/npyio.py", line 262, in __getitem__
pickle_kwargs=self.pickle_kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/numpy/lib/format.py", line 696, in read_array
raise ValueError("Object arrays cannot be loaded when "
ValueError: Object arrays cannot be loaded when allow_pickle=False
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/signal/tests/test_spectral_estimation.py", line 353, in test_ppsd_w_iris_against_obspy_results
results_paz = PPSD.load_npz(filename_paz, metadata=None)
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/signal/spectral_estimation.py", line 1335, in load_npz
return _load(data)
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/signal/spectral_estimation.py", line 1309, in _load
data_ = data[key]
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/numpy/lib/npyio.py", line 262, in __getitem__
pickle_kwargs=self.pickle_kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/numpy/lib/format.py", line 696, in read_array
raise ValueError("Object arrays cannot be loaded when "
ValueError: Object arrays cannot be loaded when allow_pickle=False

Skipped tests (43)

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_location_plot_global (obspy.core.tests.test_network.NetworkBasemapTestCase) unsupported proj4 library
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_combined_station_event_plot (obspy.core.tests.test_inventory.InventoryBasemapTestCase) matplotlib 3.0.1 is not compatible with basemap
core test_location_plot_global (obspy.core.tests.test_inventory.InventoryBasemapTestCase) matplotlib 3.0.1 is not compatible with basemap
core test_location_plot_local (obspy.core.tests.test_inventory.InventoryBasemapTestCase) matplotlib 3.0.1 is not compatible with basemap
core test_location_plot_ortho (obspy.core.tests.test_inventory.InventoryBasemapTestCase) matplotlib 3.0.1 is not compatible with basemap
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.CatalogBasemapTestCase) matplotlib 3.0.1 is not campatible with basemap
core test_catalog_plot_local (obspy.core.tests.test_event.CatalogBasemapTestCase) matplotlib 3.0.1 is not campatible with basemap
core test_catalog_plot_ortho (obspy.core.tests.test_event.CatalogBasemapTestCase) matplotlib 3.0.1 is not campatible with basemap
core test_catalog_plot_ortho_longitude_wrap (obspy.core.tests.test_event.CatalogBasemapTestCase) matplotlib 3.0.1 is not campatible with basemap
core test_plot_catalog_before_1900 (obspy.core.tests.test_event.CatalogBasemapTestCase) matplotlib 3.0.1 is not campatible with basemap
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_plot_farfield_without_quiver_with_maps (obspy.core.tests.test_event.EventTestCase) matplotlib 3.0.1 is not campatible with basemap
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.
signal test_ppsd_spectrogram_plot (obspy.signal.tests.test_spectral_estimation.PsdTestCase) matplotlib >= 3 shifts labels

Slowest tests (20)

Runtime Test
282.560s __init__ (obspy.clients.syngine)
74.881s test_get_service_version (obspy.clients.fdsn.tests.test_federator_routing_client.FederatorRoutingClientTestCase)
45.143s __init__ (obspy.clients.arclink)
20.745s test_get_waveform_instrument_change (obspy.clients.arclink.tests.test_client.ClientTestCase)
16.305s test_get_networks (obspy.clients.arclink.tests.test_client.ClientTestCase)
16.281s test_get_inventory (obspy.clients.arclink.tests.test_client.ClientTestCase)
15.588s test_get_routing (obspy.clients.arclink.tests.test_client.ClientTestCase)
15.395s test_get_waveform_with_metadata (obspy.clients.arclink.tests.test_client.ClientTestCase)
14.077s test_get_waveform_with_dcid_key_file (obspy.clients.arclink.tests.test_decrypt.ClientTestCase)
12.125s test_issue_311 (obspy.clients.arclink.tests.test_client.ClientTestCase)
11.553s test_response_calculation_from_seed_and_xseed (obspy.io.xseed.tests.test_core.CoreTestCase)
10.665s test_save_waveform_no_compression (obspy.clients.arclink.tests.test_client.ClientTestCase)
10.540s __init__ (obspy.taup)
10.284s test_get_waveform (obspy.clients.arclink.tests.test_client.ClientTestCase)
9.548s test_shoot_existing_ray_param (obspy.taup.tests.test_seismic_phase.TauPySeismicPhaseTestCase)
9.281s test_eida_token_resolution (obspy.clients.fdsn.tests.test_client.ClientTestCase)
9.219s test_get_inventory_twice (obspy.clients.arclink.tests.test_client.ClientTestCase)
8.549s test_delayed_request (obspy.clients.arclink.tests.test_client.ClientTestCase)
8.392s test_save_waveform (obspy.clients.arclink.tests.test_client.ClientTestCase)
8.092s test_save_waveform_compressed (obspy.clients.arclink.tests.test_client.ClientTestCase)