#64154 Report by node chiaraciviero-2 covering 837 tests from 38 modules resulted into 3 errors

Report

ObsPy Version
1.0.2
Continuous Integration
-
GitHub Pull Request
-
Report File
XML Document
Total Runtime
344.0 sec
Report Date/Time
2016-12-14 16:36:16

System / Python

Architecture
64bit
Machine
x86_64
Node
chiaraciviero-2
Processor
i386
Python Compiler
GCC 4.2.1 Compatible Apple LLVM 7.0.0 (clang-700.0.59.5)
Python Implementation
CPython
Python Version
2.7.10
Release
15.6.0
System
Darwin
Version
Darwin Kernel Version 15.6.0: Mon Aug 29 20:21:34 PDT 2016; root:xnu-3248.60.11~1/RELEASE_X86_64

Dependencies

cartopy
---
decorator
4.0.10
flake8
---
future
0.16.0
geographiclib
---
lxml.etree
3.7.0
m2crypto
---
matplotlib
1.3.1
mock
---
mpl_toolkits.basemap
---
numpy
1.8.0rc1
osgeo.gdal
---
pep8-naming
---
pyflakes
---
pyimgur
---
pyproj
---
requests
2.12.4
scipy
0.13.0b1
setuptools
1.1.6
sqlalchemy
1.1.4

Modules (38)

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 - -
obspy.io.ah - -
obspy.io.ascii - -
obspy.io.cmtsolution - -
obspy.io.cnv - -
obspy.io.css - -
obspy.io.datamark - -
obspy.io.gse2 - -
obspy.io.json - -
obspy.io.kinemetrics - -
obspy.io.kml - -
obspy.io.mseed - -
obspy.io.ndk - -
obspy.io.nied - -
obspy.io.nlloc - -
obspy.io.pdas - -
obspy.io.pde - -
obspy.io.quakeml - -
obspy.io.sac 2 2 3
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.xseed - -
obspy.io.y - -
obspy.io.zmap - -
obspy.realtime - -
obspy.signal - -
obspy.taup - -
Summary 3 3

Tracebacks (3)

>>> Cannot import test suite for module obspy.core due to:
----------------------------------------------------------
File "/usr/local/bin/obspy-runtests", line 9, in <module>
load_entry_point('obspy==1.0.2', 'console_scripts', 'obspy-runtests')()
File "/Library/Python/2.7/site-packages/obspy/scripts/runtests.py", line 749, in main
errors = run(argv, interactive)
File "/Library/Python/2.7/site-packages/obspy/scripts/runtests.py", line 717, in run
pr_url=args.pr_url)
File "/Library/Python/2.7/site-packages/obspy/scripts/runtests.py", line 557, in run_tests
suites, status, import_failures = _get_suites(verbosity, tests)
File "/Library/Python/2.7/site-packages/obspy/scripts/runtests.py", line 177, in _get_suites
suite.append(ut.loadTestsFromName(test, None))
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/unittest/loader.py", line 115, in loadTestsFromName
test = obj()
File "/Library/Python/2.7/site-packages/obspy/core/tests/__init__.py", line 17, in suite
add_unittests(suite, MODULE_NAME)
File "/Library/Python/2.7/site-packages/obspy/core/util/testing.py", line 86, in add_unittests
fromlist=[native_str("obspy")])
File "/Library/Python/2.7/site-packages/obspy/core/tests/test_inventory.py", line 25, in <module>
from obspy.core.compatibility import mock
ImportError: cannot import name mock
Traceback (most recent call last):
File "/Library/Python/2.7/site-packages/obspy/io/sac/tests/test_core.py", line 426, in test_write_small_trace
tr.write(tempfile, format=format)
File "/Library/Python/2.7/site-packages/obspy/core/trace.py", line 898, in write
Stream([self]).write(filename, format, **kwargs)
File "/Library/Python/2.7/site-packages/obspy/core/stream.py", line 1444, in write
write_format(self, filename, **kwargs)
File "/Library/Python/2.7/site-packages/obspy/io/sac/core.py", line 439, in _write_sac
_internal_write_sac(trace, fh, byteorder=byteorder, **kwargs)
File "/Library/Python/2.7/site-packages/obspy/io/sac/core.py", line 470, in _internal_write_sac
sac.write(buf, ascii=False, byteorder=byteorder)
File "/Library/Python/2.7/site-packages/obspy/io/sac/sactrace.py", line 1198, in write
self._flush_headers()
File "/Library/Python/2.7/site-packages/obspy/io/sac/sactrace.py", line 1561, in _flush_headers
self._hf[HD.FLOATHDRS.index('depmen')] = self.depmen
File "/Library/Python/2.7/site-packages/obspy/io/sac/sactrace.py", line 505, in do_data_func
value = func(self.data)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/numpy/core/fromnumeric.py", line 2716, in mean
out=out, keepdims=keepdims)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/numpy/core/_methods.py", line 67, in _mean
ret = ret.dtype.type(ret / rcount)
AttributeError: 'NoneType' object has no attribute 'dtype'
Traceback (most recent call last):
File "/Library/Python/2.7/site-packages/obspy/io/sac/tests/test_sactrace.py", line 61, in test_read_binary_headonly
self.assertAlmostEqual(sac.depmen, 8.344650e-8)
File "/Library/Python/2.7/site-packages/obspy/io/sac/sactrace.py", line 505, in do_data_func
value = func(self.data)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/numpy/core/fromnumeric.py", line 2716, in mean
out=out, keepdims=keepdims)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/numpy/core/_methods.py", line 67, in _mean
ret = ret.dtype.type(ret / rcount)
AttributeError: 'NoneType' object has no attribute 'dtype'

Slowest Tests (20)

Runtime Test
27.845s test_kennet_ak135_ttime_tables_p_shallow (obspy.taup.tests.test_tau.TauPyModelTestCase)
27.074s test_kennet_ak135_ttime_tables_s_shallow (obspy.taup.tests.test_tau.TauPyModelTestCase)
22.331s test_kennet_ak135_ttime_tables_p_deep (obspy.taup.tests.test_tau.TauPyModelTestCase)
20.250s test_kennet_ak135_ttime_tables_s_deep (obspy.taup.tests.test_tau.TauPyModelTestCase)
14.500s test_kennet_ak135_ttime_tables_scs (obspy.taup.tests.test_tau.TauPyModelTestCase)
14.072s test_kennet_ak135_ttime_tables_pkikp (obspy.taup.tests.test_tau.TauPyModelTestCase)
12.768s test_kennet_ak135_ttime_tables_pcp (obspy.taup.tests.test_tau.TauPyModelTestCase)
9.816s test_kennet_ak135_ttime_tables_scp (obspy.taup.tests.test_tau.TauPyModelTestCase)
9.398s test_plot_multiple_traces (obspy.imaging.tests.test_waveform.WaveformTestCase)
8.547s test_ppsd_restricted_stacks (obspy.signal.tests.test_spectral_estimation.PsdTestCase)
8.347s test_shoot_existing_ray_param (obspy.taup.tests.test_seismic_phase.TauPySeismicPhaseTestCase)
7.028s test_plot_default_section (obspy.imaging.tests.test_waveform.WaveformTestCase)
6.737s test_plot_horizontal_section (obspy.imaging.tests.test_waveform.WaveformTestCase)
6.497s test_plot_colored_section (obspy.imaging.tests.test_waveform.WaveformTestCase)
6.371s test_plot_azim_section (obspy.imaging.tests.test_waveform.WaveformTestCase)
5.906s test_plot_ref_time_section (obspy.imaging.tests.test_waveform.WaveformTestCase)
5.355s test_data_remains_unchanged (obspy.imaging.tests.test_waveform.WaveformTestCase)
5.007s test_beachball (obspy.imaging.tests.test_beachball.BeachballTestCase)
4.718s test_vs_java_iasp91 (obspy.taup.tests.test_tau.TauPyModelTestCase)
4.551s test_polarization_vidale (obspy.signal.tests.test_polarization.PolarizationTestCase)

Chuck Norris Fact

Chuck Norris doesn't need garbage collection because he doesn't call .Dispose(), he calls .DropKick().