#85460 Report by node yang covering 612 tests from 44 modules resulted into 8 errors

Report

ObsPy Version
1.0.3.post0+1265.g9f951c11b...
Continuous Integration
-
GitHub Pull Request
-
Report File
XML Document
Total Runtime
38.5 sec
Report Date/Time
2017-06-30 21:40:25

System / Python

Architecture
64bit
Machine
x86_64
Node
yang
Processor
x86_64
Python Compiler
GCC 5.4.0 20160609
Python Implementation
CPython
Python Version
2.7.12
Release
4.8.0-58-generic
System
Linux
Version
#63~16.04.1-Ubuntu SMP Mon Jun 26 18:08:51 UTC 2017

Dependencies

cartopy
---
decorator
4.0.11
flake8
---
future
0.16.0
geographiclib
---
lxml.etree
3.8.0
m2crypto
---
matplotlib
2.0.2
mock
---
mpl_toolkits.basemap
---
numpy
1.11.0
osgeo.gdal
---
pep8-naming
---
pyflakes
---
pyimgur
---
pyproj
---
requests
2.18.1
scipy
0.19.1
setuptools
20.7.0
sqlalchemy
1.1.11

Modules (44)

Module Errors /
Failures
Tracebacks
obspy.clients.arclink Not tested -
obspy.clients.earthworm Not tested -
obspy.clients.fdsn Not tested -
obspy.clients.filesystem - -
obspy.clients.iris Not tested -
obspy.clients.neic Not tested -
obspy.clients.seedlink Not tested -
obspy.clients.seishub Not tested -
obspy.clients.syngine Not tested -
obspy.core 1 1
obspy.db - -
obspy.geodetics - -
obspy.imaging 1 2
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.json - -
obspy.io.kinemetrics - -
obspy.io.kml - -
obspy.io.mseed 1 3
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 1 4
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 1 5
obspy.io.y - -
obspy.io.zmap - -
obspy.realtime 1 6
obspy.scripts - -
obspy.signal 1 7
obspy.taup 1 8
Summary 8 8

Tracebacks (8)

>>> Cannot import test suite for module obspy.core due to:
----------------------------------------------------------
File "runtests.py", line 22, in <module>
main(argv=sys.argv[1:])
File "/home/yang/obspy/obspy/scripts/runtests.py", line 780, in main
errors = run(argv, interactive)
File "/home/yang/obspy/obspy/scripts/runtests.py", line 748, in run
pr_url=args.pr_url)
File "/home/yang/obspy/obspy/scripts/runtests.py", line 576, in run_tests
suites, status, import_failures = _get_suites(verbosity, tests)
File "/home/yang/obspy/obspy/scripts/runtests.py", line 178, in _get_suites
suite.append(ut.loadTestsFromName(test, None))
File "/usr/lib/python2.7/unittest/loader.py", line 115, in loadTestsFromName
test = obj()
File "/home/yang/obspy/obspy/core/tests/__init__.py", line 17, in suite
add_unittests(suite, MODULE_NAME)
File "/home/yang/obspy/obspy/core/util/testing.py", line 71, in add_unittests
fromlist=[native_str("obspy")])
File "/home/yang/obspy/obspy/core/tests/test_waveform_plugins.py", line 18, in <module>
from obspy.core.compatibility import mock
ImportError: cannot import name mock
>>> Cannot import test suite for module obspy.imaging due to:
-------------------------------------------------------------
File "runtests.py", line 22, in <module>
main(argv=sys.argv[1:])
File "/home/yang/obspy/obspy/scripts/runtests.py", line 780, in main
errors = run(argv, interactive)
File "/home/yang/obspy/obspy/scripts/runtests.py", line 748, in run
pr_url=args.pr_url)
File "/home/yang/obspy/obspy/scripts/runtests.py", line 576, in run_tests
suites, status, import_failures = _get_suites(verbosity, tests)
File "/home/yang/obspy/obspy/scripts/runtests.py", line 178, in _get_suites
suite.append(ut.loadTestsFromName(test, None))
File "/usr/lib/python2.7/unittest/loader.py", line 115, in loadTestsFromName
test = obj()
File "/home/yang/obspy/obspy/imaging/tests/__init__.py", line 24, in suite
add_unittests(suite, MODULE_NAME)
File "/home/yang/obspy/obspy/core/util/testing.py", line 71, in add_unittests
fromlist=[native_str("obspy")])
File "/home/yang/obspy/obspy/imaging/tests/test_ppsd.py", line 16, in <module>
from obspy.signal.tests.test_spectral_estimation import _get_ppsd
File "/home/yang/obspy/obspy/signal/__init__.py", line 201, in <module>
from .spectral_estimation import PPSD
File "/home/yang/obspy/obspy/signal/spectral_estimation.py", line 47, in <module>
from obspy.signal.invsim import cosine_taper
File "/home/yang/obspy/obspy/signal/invsim.py", line 38, in <module>
from obspy.signal import util
File "/home/yang/obspy/obspy/signal/util.py", line 24, in <module>
from obspy.signal.headers import clibsignal
File "/home/yang/obspy/obspy/signal/headers.py", line 18, in <module>
clibsignal = _load_cdll("signal")
File "/home/yang/obspy/obspy/core/util/libnames.py", line 97, in _load_cdll
raise ImportError(msg)
ImportError: Could not load shared library "libsignal_Linux_64bit_py27.so".
/home/yang/obspy/obspy/core/util/../../lib/libsignal_Linux_64bit_py27.so: cannot open shared object file: No such file or directory
>>> Cannot import test suite for module obspy.io.mseed due to:
--------------------------------------------------------------
File "runtests.py", line 22, in <module>
main(argv=sys.argv[1:])
File "/home/yang/obspy/obspy/scripts/runtests.py", line 780, in main
errors = run(argv, interactive)
File "/home/yang/obspy/obspy/scripts/runtests.py", line 748, in run
pr_url=args.pr_url)
File "/home/yang/obspy/obspy/scripts/runtests.py", line 576, in run_tests
suites, status, import_failures = _get_suites(verbosity, tests)
File "/home/yang/obspy/obspy/scripts/runtests.py", line 178, in _get_suites
suite.append(ut.loadTestsFromName(test, None))
File "/usr/lib/python2.7/unittest/loader.py", line 115, in loadTestsFromName
test = obj()
File "/home/yang/obspy/obspy/io/mseed/tests/__init__.py", line 17, in suite
add_unittests(suite, MODULE_NAME)
File "/home/yang/obspy/obspy/core/util/testing.py", line 71, in add_unittests
fromlist=[native_str("obspy")])
File "/home/yang/obspy/obspy/io/mseed/tests/test_mseed_special_issues.py", line 21, in <module>
from obspy.core.compatibility import from_buffer, mock
ImportError: cannot import name mock
Traceback (most recent call last):
File "/home/yang/obspy/obspy/io/sac/tests/test_core.py", line 828, in test_decimate_resample
tr.decimate(2)
File "<decorator-gen-13>", line 2, in decimate
File "/home/yang/obspy/obspy/core/trace.py", line 231, in _add_processing_info
result = func(*args, **kwargs)
File "/home/yang/obspy/obspy/core/trace.py", line 1790, in decimate
self.filter('lowpass_cheby_2', freq=freq, maxorder=12)
File "<decorator-gen-9>", line 2, in filter
File "/home/yang/obspy/obspy/core/trace.py", line 231, in _add_processing_info
result = func(*args, **kwargs)
File "<decorator-gen-8>", line 2, in filter
File "/home/yang/obspy/obspy/core/util/decorator.py", line 233, in raise_if_masked
return func(*args, **kwargs)
File "/home/yang/obspy/obspy/core/trace.py", line 1499, in filter
func = _get_function_from_entry_point('filter', type)
File "/home/yang/obspy/obspy/core/util/base.py", line 324, in _get_function_from_entry_point
entry_point.name)
File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 542, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2569, in load_entry_point
return ep.load()
File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2229, in load
return self.resolve()
File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2235, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/home/yang/obspy/obspy/signal/__init__.py", line 201, in <module>
from .spectral_estimation import PPSD
File "/home/yang/obspy/obspy/signal/spectral_estimation.py", line 47, in <module>
from obspy.signal.invsim import cosine_taper
File "/home/yang/obspy/obspy/signal/invsim.py", line 38, in <module>
from obspy.signal import util
File "/home/yang/obspy/obspy/signal/util.py", line 24, in <module>
from obspy.signal.headers import clibsignal
File "/home/yang/obspy/obspy/signal/headers.py", line 18, in <module>
clibsignal = _load_cdll("signal")
File "/home/yang/obspy/obspy/core/util/libnames.py", line 97, in _load_cdll
raise ImportError(msg)
ImportError: Could not load shared library "libsignal_Linux_64bit_py27.so".
/home/yang/obspy/obspy/core/util/../../lib/libsignal_Linux_64bit_py27.so: cannot open shared object file: No such file or directory
Traceback (most recent call last):
File "/home/yang/obspy/obspy/io/xseed/tests/test_parser.py", line 691, in test_rotation_to_zne
st_r = p.rotate_to_zne(st)
File "/home/yang/obspy/obspy/io/xseed/parser.py", line 1198, in rotate_to_zne
from obspy.signal.rotate import rotate2zne
File "/home/yang/obspy/obspy/signal/__init__.py", line 201, in <module>
from .spectral_estimation import PPSD
File "/home/yang/obspy/obspy/signal/spectral_estimation.py", line 47, in <module>
from obspy.signal.invsim import cosine_taper
File "/home/yang/obspy/obspy/signal/invsim.py", line 38, in <module>
from obspy.signal import util
File "/home/yang/obspy/obspy/signal/util.py", line 24, in <module>
from obspy.signal.headers import clibsignal
File "/home/yang/obspy/obspy/signal/headers.py", line 18, in <module>
clibsignal = _load_cdll("signal")
File "/home/yang/obspy/obspy/core/util/libnames.py", line 97, in _load_cdll
raise ImportError(msg)
ImportError: Could not load shared library "libsignal_Linux_64bit_py27.so".
/home/yang/obspy/obspy/core/util/../../lib/libsignal_Linux_64bit_py27.so: cannot open shared object file: No such file or directory
>>> Cannot import test suite for module obspy.realtime due to:
--------------------------------------------------------------
File "runtests.py", line 22, in <module>
main(argv=sys.argv[1:])
File "/home/yang/obspy/obspy/scripts/runtests.py", line 780, in main
errors = run(argv, interactive)
File "/home/yang/obspy/obspy/scripts/runtests.py", line 748, in run
pr_url=args.pr_url)
File "/home/yang/obspy/obspy/scripts/runtests.py", line 576, in run_tests
suites, status, import_failures = _get_suites(verbosity, tests)
File "/home/yang/obspy/obspy/scripts/runtests.py", line 178, in _get_suites
suite.append(ut.loadTestsFromName(test, None))
File "/usr/lib/python2.7/unittest/loader.py", line 115, in loadTestsFromName
test = obj()
File "/home/yang/obspy/obspy/realtime/tests/__init__.py", line 17, in suite
add_unittests(suite, MODULE_NAME)
File "/home/yang/obspy/obspy/core/util/testing.py", line 71, in add_unittests
fromlist=[native_str("obspy")])
File "/home/yang/obspy/obspy/realtime/tests/test_rttrace.py", line 19, in <module>
import obspy.signal.filter
File "/home/yang/obspy/obspy/signal/__init__.py", line 201, in <module>
from .spectral_estimation import PPSD
File "/home/yang/obspy/obspy/signal/spectral_estimation.py", line 47, in <module>
from obspy.signal.invsim import cosine_taper
File "/home/yang/obspy/obspy/signal/invsim.py", line 38, in <module>
from obspy.signal import util
File "/home/yang/obspy/obspy/signal/util.py", line 24, in <module>
from obspy.signal.headers import clibsignal
File "/home/yang/obspy/obspy/signal/headers.py", line 18, in <module>
clibsignal = _load_cdll("signal")
File "/home/yang/obspy/obspy/core/util/libnames.py", line 97, in _load_cdll
raise ImportError(msg)
ImportError: Could not load shared library "libsignal_Linux_64bit_py27.so".
/home/yang/obspy/obspy/core/util/../../lib/libsignal_Linux_64bit_py27.so: cannot open shared object file: No such file or directory
>>> Cannot import test suite for module obspy.signal due to:
------------------------------------------------------------
File "runtests.py", line 22, in <module>
main(argv=sys.argv[1:])
File "/home/yang/obspy/obspy/scripts/runtests.py", line 780, in main
errors = run(argv, interactive)
File "/home/yang/obspy/obspy/scripts/runtests.py", line 748, in run
pr_url=args.pr_url)
File "/home/yang/obspy/obspy/scripts/runtests.py", line 576, in run_tests
suites, status, import_failures = _get_suites(verbosity, tests)
File "/home/yang/obspy/obspy/scripts/runtests.py", line 178, in _get_suites
suite.append(ut.loadTestsFromName(test, None))
File "/usr/lib/python2.7/unittest/loader.py", line 100, in loadTestsFromName
parent, obj = obj, getattr(obj, part)
AttributeError: 'module' object has no attribute 'signal'
>>> Cannot import test suite for module obspy.taup due to:
----------------------------------------------------------
File "runtests.py", line 22, in <module>
main(argv=sys.argv[1:])
File "/home/yang/obspy/obspy/scripts/runtests.py", line 780, in main
errors = run(argv, interactive)
File "/home/yang/obspy/obspy/scripts/runtests.py", line 748, in run
pr_url=args.pr_url)
File "/home/yang/obspy/obspy/scripts/runtests.py", line 576, in run_tests
suites, status, import_failures = _get_suites(verbosity, tests)
File "/home/yang/obspy/obspy/scripts/runtests.py", line 178, in _get_suites
suite.append(ut.loadTestsFromName(test, None))
File "/usr/lib/python2.7/unittest/loader.py", line 100, in loadTestsFromName
parent, obj = obj, getattr(obj, part)
AttributeError: 'module' object has no attribute 'taup'

Skipped Tests (7)

Submodule Test Skip Message
geodetics test_gps_2_dist_azimuth_with_geographiclib (obspy.geodetics.tests.test_util_geodetics.UtilGeodeticsTestCase) Module geographiclib is not installed
geodetics test_issue_375 (obspy.geodetics.tests.test_util_geodetics.UtilGeodeticsTestCase) Module geographiclib is not installed
io.nlloc test_read_nlloc_scatter_coordinate_conversion (obspy.io.nlloc.tests.test_util.NLLOCTestCase) pyproj not installed
io.shapefile test_write_catalog_shapefile (obspy.io.shapefile.tests.test_core.ShapefileTestCase) gdal not installed or version is too old
io.shapefile test_write_catalog_shapefile_via_plugin (obspy.io.shapefile.tests.test_core.ShapefileTestCase) gdal not installed or version is too old
io.shapefile test_write_inventory_shapefile (obspy.io.shapefile.tests.test_core.ShapefileTestCase) gdal not installed or version is too old
io.shapefile test_write_inventory_shapefile_via_plugin (obspy.io.shapefile.tests.test_core.ShapefileTestCase) gdal not installed or version is too old

Slowest Tests (20)

Runtime Test
4.139s test_auto_read_arclink_xml (obspy.io.arclink.tests.test_inventory_xml.ArclinkInventoryTestCase)
2.812s test_read_from_sds_with_wildcarded_seed_ids (obspy.clients.filesystem.tests.test_sds.SDSTestCase)
1.778s test_read_from_sds (obspy.clients.filesystem.tests.test_sds.SDSTestCase)
1.466s test_sds_report (obspy.clients.filesystem.tests.test_sds.SDSTestCase)
1.397s test_read_many_events (obspy.io.nordic.tests.test_nordic.TestNordicMethods)
0.876s test_create_read_assert_and_write_xseed (obspy.io.xseed.tests.test_parser.ParserTestCase)
0.736s test_multi_writing (obspy.io.nordic.tests.test_nordic.TestNordicMethods)
0.535s test_get_all_stations_and_nslc (obspy.clients.filesystem.tests.test_sds.SDSTestCase)
0.504s test_reading_via_obspy_and_bytesio (obspy.io.kinemetrics.tests.test_core.CoreTestCase)
0.465s test_read_via_obspy (obspy.io.kinemetrics.tests.test_core.CoreTestCase)
0.384s test_coordinates (obspy.geodetics.tests.test_util_flinnengdahl.UtilFlinnEngdahlTestCase)
0.343s test_reading_the_same_file_twice_does_not_raise_a_warnings (obspy.io.ndk.tests.test_ndk.NDKTestCase)
0.316s test_read_via_module_and_bytesio (obspy.io.kinemetrics.tests.test_core.CoreTestCase)
0.313s test_read_via_module (obspy.io.kinemetrics.tests.test_core.CoreTestCase)
0.304s test_read_events (obspy.io.pde.tests.test_mchedr.MchedrTestCase)
0.290s test_write_quakeml (obspy.io.pde.tests.test_mchedr.MchedrTestCase)
0.251s test_write_select (obspy.io.nordic.tests.test_nordic.TestNordicMethods)
0.248s test_read_empty_header (obspy.io.nordic.tests.test_nordic.TestNordicMethods)
0.245s _read_mchedr (obspy.io.pde.mchedr)
0.239s test_pack_and_unpack_ibm_float (obspy.io.segy.tests.test_segy.SEGYTestCase)

Chuck Norris Fact

Don't worry about tests, Chuck Norris's test cases cover your code too.