#107795 Report by node HyeJeongnoMacBook-Air covering 1030 tests from 45 modules resulted into 6 errors

Report

ObsPy Version
1.1.1
Continuous Integration
-
GitHub Pull Request
-
Report File
XML Document
Total Runtime
238.7 sec
Report Date/Time
2019-12-23 22:07:40

System / Python

Architecture
64bit
Machine
x86_64
Node
HyeJeongnoMacBook-Air
Processor
i386
Python Compiler
GCC 4.2.1 Compatible Apple LLVM 10.0.1 (clang-1001.0.37.14)
Python Implementation
CPython
Python Version
2.7.10
Release
18.7.0
System
Darwin
Version
Darwin Kernel Version 18.7.0: Tue Aug 20 16:57:14 PDT 2019; root:xnu-4903.271.2~2/RELEASE_X86_64

Dependencies

cartopy
---
decorator
4.4.1
flake8
3.7.9
future
0.18.2
geographiclib
---
lxml.etree
4.4.2
m2crypto
---
matplotlib
1.3.1
mock
---
mpl_toolkits.basemap
---
numpy
1.8.0rc1
pep8-naming
---
pyflakes
2.1.1
pyimgur
---
pyproj
---
requests
2.22.0
scipy
0.13.0b1
setuptools
18.5
shapefile
---
sqlalchemy
1.3.12

Modules (45)

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.nrl 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.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 1 2
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 3 3 4 5
obspy.io.scardec - -
obspy.io.seg2 - -
obspy.io.segy - -
obspy.io.seisan - -
obspy.io.seiscomp 1 6
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 6 6

Tracebacks (6)

>>> Cannot import test suite for module obspy.core due to:
----------------------------------------------------------
File "/usr/local/bin/obspy-runtests", line 8, in <module>
sys.exit(main())
File "/Library/Python/2.7/site-packages/obspy/scripts/runtests.py", line 747, in main
errors = run(argv, interactive)
File "/Library/Python/2.7/site-packages/obspy/scripts/runtests.py", line 715, in run
pr_url=args.pr_url)
File "/Library/Python/2.7/site-packages/obspy/scripts/runtests.py", line 542, in run_tests
suites, status, import_failures = _get_suites(verbosity, tests)
File "/Library/Python/2.7/site-packages/obspy/scripts/runtests.py", line 164, 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 72, in add_unittests
fromlist=[native_str("obspy")])
File "/Library/Python/2.7/site-packages/obspy/core/tests/test_waveform_plugins.py", line 19, in <module>
from obspy.core.compatibility import mock
ImportError: cannot import name mock
>>> Cannot import test suite for module obspy.io.mseed due to:
--------------------------------------------------------------
File "/usr/local/bin/obspy-runtests", line 8, in <module>
sys.exit(main())
File "/Library/Python/2.7/site-packages/obspy/scripts/runtests.py", line 747, in main
errors = run(argv, interactive)
File "/Library/Python/2.7/site-packages/obspy/scripts/runtests.py", line 715, in run
pr_url=args.pr_url)
File "/Library/Python/2.7/site-packages/obspy/scripts/runtests.py", line 542, in run_tests
suites, status, import_failures = _get_suites(verbosity, tests)
File "/Library/Python/2.7/site-packages/obspy/scripts/runtests.py", line 164, 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/io/mseed/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 72, in add_unittests
fromlist=[native_str("obspy")])
File "/Library/Python/2.7/site-packages/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 "/Library/Python/2.7/site-packages/obspy/io/sac/tests/test_core.py", line 427, in test_write_small_trace
tr.write(tempfile, format=format)
File "/Library/Python/2.7/site-packages/obspy/core/trace.py", line 952, in write
Stream([self]).write(filename, format, **kwargs)
File "/Library/Python/2.7/site-packages/obspy/core/stream.py", line 1443, in write
write_format(self, filename, **kwargs)
File "/Library/Python/2.7/site-packages/obspy/io/sac/core.py", line 447, in _write_sac
_internal_write_sac(trace, fh, byteorder=byteorder, **kwargs)
File "/Library/Python/2.7/site-packages/obspy/io/sac/core.py", line 478, in _internal_write_sac
sac.write(buf, ascii=False, byteorder=byteorder)
File "/Library/Python/2.7/site-packages/obspy/io/sac/sactrace.py", line 1135, in write
self._flush_headers()
File "/Library/Python/2.7/site-packages/obspy/io/sac/sactrace.py", line 1496, in _flush_headers
self._hf[HD.FLOATHDRS.index('depmen')] = self.depmen
File "/Library/Python/2.7/site-packages/obspy/io/sac/sactrace.py", line 545, in __get__
value = self.func(instance.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 434, in test_data_headers
self.assertEqual(getattr(sac, hdr), value)
File "/Library/Python/2.7/site-packages/obspy/io/sac/sactrace.py", line 545, in __get__
value = self.func(instance.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 64, 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 545, in __get__
value = self.func(instance.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/seiscomp/tests/test_inventory.py", line 122, in test_empty_depth
self.assertEqual(str(w[0].message), "Sensor is missing "
IndexError: list index out of range

Skipped Tests (16)

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) pyshp not installed
io.shapefile test_write_catalog_shapefile_via_plugin (obspy.io.shapefile.tests.test_core.ShapefileTestCase) pyshp not installed
io.shapefile test_write_inventory_shapefile (obspy.io.shapefile.tests.test_core.ShapefileTestCase) pyshp not installed
io.shapefile test_write_inventory_shapefile_via_plugin (obspy.io.shapefile.tests.test_core.ShapefileTestCase) pyshp not installed
imaging test_farfield_with_quiver (obspy.imaging.tests.test_source.RadPatternTestCase) matplotlib >= 1.4 needed for 3D quiver plot.
imaging test_script_plot (obspy.imaging.tests.test_mopad_script.MopadTestCase) Currently broken until further review.
signal test_schema_validation (obspy.signal.tests.test_quality_control.QualityControlTestCase) Test requires the jsonschema module
taup test_path_geo (obspy.taup.tests.test_taup_geo.TaupGeoTestCase) Module geographiclib is not installed or too old.
taup test_path_resampling (obspy.taup.tests.test_taup_geo.TaupGeoTestCase) Module geographiclib is not installed or too old.
taup test_compute_ray_paths (obspy.taup.tests.test_ray_paths.RayPathCalculationsTestCase) test needs geographiclib >= 1.34
taup test_p_iasp91_geo_manual (obspy.taup.tests.test_tau.TauPyModelTestCase) Module geographiclib is not installed
taup test_pierce_p_iasp91_geo (obspy.taup.tests.test_tau.TauPyModelTestCase) test needs geographiclib >= 1.34
taup test_single_path_geo_iasp91 (obspy.taup.tests.test_tau.TauPyModelTestCase) test needs geographiclib >= 1.34

Slowest Tests (20)

Runtime Test
14.330s test_response_calculation_from_seed_and_xseed (obspy.io.xseed.tests.test_core.CoreTestCase)
8.923s __init__ (obspy.taup)
7.405s test_ppsd_restricted_stacks (obspy.signal.tests.test_spectral_estimation.PsdTestCase)
6.471s test_plot_multiple_traces (obspy.imaging.tests.test_waveform.WaveformTestCase)
6.088s test_shoot_existing_ray_param (obspy.taup.tests.test_seismic_phase.TauPySeismicPhaseTestCase)
5.292s test_regional_models (obspy.taup.tests.test_tau.TauPyModelTestCase)
4.259s test_many_identically_named_phases (obspy.taup.tests.test_seismic_phase.TauPySeismicPhaseTestCase)
4.226s test_auto_read_arclink_xml (obspy.io.arclink.tests.test_inventory_xml.ArclinkInventoryTestCase)
4.140s test_relcal_different_overlaps (obspy.signal.tests.test_calibration.CalibrationTestCase)
4.006s test_polarization_vidale (obspy.signal.tests.test_polarization.PolarizationTestCase)
3.853s plot_travel_times (obspy.taup.tau)
3.828s test_plot_ref_time_section (obspy.imaging.tests.test_waveform.WaveformTestCase)
3.767s test_plot_wiggles_positive_section (obspy.imaging.tests.test_waveform.WaveformTestCase)
3.725s test_beachball (obspy.imaging.tests.test_beachball.BeachballTestCase)
3.610s test_plot_wiggles_horizontal_section (obspy.imaging.tests.test_waveform.WaveformTestCase)
3.582s test_plot_horizontal_section (obspy.imaging.tests.test_waveform.WaveformTestCase)
3.525s test_vs_java_iasp91 (obspy.taup.tests.test_tau.TauPyModelTestCase)
3.288s test_plot_wiggles_vertical_section (obspy.imaging.tests.test_waveform.WaveformTestCase)
3.284s test_plot_azim_section (obspy.imaging.tests.test_waveform.WaveformTestCase)
3.276s test_data_remains_unchanged (obspy.imaging.tests.test_waveform.WaveformTestCase)

Chuck Norris Fact

Chuck Norris uses canvas in IE.