#104228 Report by node eps-d44722 covering 1030 tests from 45 modules resulted into 10 errors

Report

ObsPy version
1.1.1
GitHub Pull Request
-
Report file
XML document
Total runtime
230.2 sec
Report date/time
June 15, 2019, 8:45 p.m.

System / Python

Architecture
64bit
Machine
x86_64
Node
eps-d44722
Processor
i386
Python Compiler
GCC 4.2.1 Compatible Apple LLVM 10.0.1 (clang-1001.0.46.4)
Python Implementation
CPython
Python Version
2.7.16
Release
18.6.0
System
Darwin
Version
Darwin Kernel Version 18.6.0: Thu Apr 25 23:16:27 PDT 2019; root:xnu-4903.261.4~2/RELEASE_X86_64

Dependencies

cartopy
---
decorator
4.4.0
flake8
---
future
0.17.1
geographiclib
---
lxml.etree
4.3.4
m2crypto
---
matplotlib
2.2.4
mock
---
mpl_toolkits.basemap
---
numpy
1.16.4
pep8-naming
---
pyflakes
---
pyimgur
---
pyproj
---
requests
2.22.0
scipy
1.2.2
setuptools
40.8.0
shapefile
---
sqlalchemy
1.3.4

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 - -
obspy.io.scardec - -
obspy.io.seg2 - -
obspy.io.segy - -
obspy.io.seisan - -
obspy.io.seiscomp 1 3
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 7 4 5 6 7 8 9 10
obspy.taup - -
Summary 10 10

Tracebacks (10)

>>> Cannot import test suite for module obspy.core due to:
----------------------------------------------------------
File "/usr/local/bin/obspy-runtests", line 10, in <module>
sys.exit(main())
File "/usr/local/lib/python2.7/site-packages/obspy/scripts/runtests.py", line 747, in main
errors = run(argv, interactive)
File "/usr/local/lib/python2.7/site-packages/obspy/scripts/runtests.py", line 715, in run
pr_url=args.pr_url)
File "/usr/local/lib/python2.7/site-packages/obspy/scripts/runtests.py", line 542, in run_tests
suites, status, import_failures = _get_suites(verbosity, tests)
File "/usr/local/lib/python2.7/site-packages/obspy/scripts/runtests.py", line 164, in _get_suites
suite.append(ut.loadTestsFromName(test, None))
File "/usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/unittest/loader.py", line 115, in loadTestsFromName
test = obj()
File "/usr/local/lib/python2.7/site-packages/obspy/core/tests/__init__.py", line 17, in suite
add_unittests(suite, MODULE_NAME)
File "/usr/local/lib/python2.7/site-packages/obspy/core/util/testing.py", line 72, in add_unittests
fromlist=[native_str("obspy")])
File "/usr/local/lib/python2.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 10, in <module>
sys.exit(main())
File "/usr/local/lib/python2.7/site-packages/obspy/scripts/runtests.py", line 747, in main
errors = run(argv, interactive)
File "/usr/local/lib/python2.7/site-packages/obspy/scripts/runtests.py", line 715, in run
pr_url=args.pr_url)
File "/usr/local/lib/python2.7/site-packages/obspy/scripts/runtests.py", line 542, in run_tests
suites, status, import_failures = _get_suites(verbosity, tests)
File "/usr/local/lib/python2.7/site-packages/obspy/scripts/runtests.py", line 164, in _get_suites
suite.append(ut.loadTestsFromName(test, None))
File "/usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/unittest/loader.py", line 115, in loadTestsFromName
test = obj()
File "/usr/local/lib/python2.7/site-packages/obspy/io/mseed/tests/__init__.py", line 17, in suite
add_unittests(suite, MODULE_NAME)
File "/usr/local/lib/python2.7/site-packages/obspy/core/util/testing.py", line 72, in add_unittests
fromlist=[native_str("obspy")])
File "/usr/local/lib/python2.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 "/usr/local/lib/python2.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
Traceback (most recent call last):
File "/usr/local/lib/python2.7/site-packages/obspy/signal/tests/test_spectral_estimation.py", line 723, in test_exception_reading_newer_npz
items = {key: data[key] for key in data.files}
File "/usr/local/lib/python2.7/site-packages/obspy/signal/tests/test_spectral_estimation.py", line 723, in <dictcomp>
items = {key: data[key] for key in data.files}
File "/usr/local/lib/python2.7/site-packages/numpy/lib/npyio.py", line 262, in __getitem__
pickle_kwargs=self.pickle_kwargs)
File "/usr/local/lib/python2.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 "/usr/local/lib/python2.7/site-packages/obspy/signal/tests/test_spectral_estimation.py", line 223, in test_ppsd
ppsd_loaded = PPSD.load_npz(filename)
File "/usr/local/lib/python2.7/site-packages/obspy/signal/spectral_estimation.py", line 1257, in load_npz
return _load(data)
File "/usr/local/lib/python2.7/site-packages/obspy/signal/spectral_estimation.py", line 1242, in _load
data_ = data[key]
File "/usr/local/lib/python2.7/site-packages/numpy/lib/npyio.py", line 262, in __getitem__
pickle_kwargs=self.pickle_kwargs)
File "/usr/local/lib/python2.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 "/usr/local/lib/python2.7/site-packages/obspy/signal/tests/test_spectral_estimation.py", line 564, in test_ppsd_add_npz
ppsd = PPSD.load_npz(tf1.name, metadata=None)
File "/usr/local/lib/python2.7/site-packages/obspy/signal/spectral_estimation.py", line 1257, in load_npz
return _load(data)
File "/usr/local/lib/python2.7/site-packages/obspy/signal/spectral_estimation.py", line 1242, in _load
data_ = data[key]
File "/usr/local/lib/python2.7/site-packages/numpy/lib/npyio.py", line 262, in __getitem__
pickle_kwargs=self.pickle_kwargs)
File "/usr/local/lib/python2.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 "/usr/local/lib/python2.7/site-packages/obspy/signal/tests/test_spectral_estimation.py", line 410, in test_ppsd_save_and_load_npz
ppsd_loaded = PPSD.load_npz(filename, metadata=paz)
File "/usr/local/lib/python2.7/site-packages/obspy/signal/spectral_estimation.py", line 1257, in load_npz
return _load(data)
File "/usr/local/lib/python2.7/site-packages/obspy/signal/spectral_estimation.py", line 1242, in _load
data_ = data[key]
File "/usr/local/lib/python2.7/site-packages/numpy/lib/npyio.py", line 262, in __getitem__
pickle_kwargs=self.pickle_kwargs)
File "/usr/local/lib/python2.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 "/usr/local/lib/python2.7/site-packages/obspy/signal/tests/test_spectral_estimation.py", line 690, in test_ppsd_spectrogram_plot
ppsd = PPSD.load_npz(self.example_ppsd_npz)
File "/usr/local/lib/python2.7/site-packages/obspy/signal/spectral_estimation.py", line 1257, in load_npz
return _load(data)
File "/usr/local/lib/python2.7/site-packages/obspy/signal/spectral_estimation.py", line 1242, in _load
data_ = data[key]
File "/usr/local/lib/python2.7/site-packages/numpy/lib/npyio.py", line 262, in __getitem__
pickle_kwargs=self.pickle_kwargs)
File "/usr/local/lib/python2.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 "/usr/local/lib/python2.7/site-packages/obspy/signal/tests/test_spectral_estimation.py", line 659, in test_ppsd_temporal_plot
ppsd = PPSD.load_npz(self.example_ppsd_npz)
File "/usr/local/lib/python2.7/site-packages/obspy/signal/spectral_estimation.py", line 1257, in load_npz
return _load(data)
File "/usr/local/lib/python2.7/site-packages/obspy/signal/spectral_estimation.py", line 1242, in _load
data_ = data[key]
File "/usr/local/lib/python2.7/site-packages/numpy/lib/npyio.py", line 262, in __getitem__
pickle_kwargs=self.pickle_kwargs)
File "/usr/local/lib/python2.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 "/usr/local/lib/python2.7/site-packages/obspy/signal/tests/test_spectral_estimation.py", line 352, in test_ppsd_w_iris_against_obspy_results
results_paz = PPSD.load_npz(filename_paz, metadata=None)
File "/usr/local/lib/python2.7/site-packages/obspy/signal/spectral_estimation.py", line 1257, in load_npz
return _load(data)
File "/usr/local/lib/python2.7/site-packages/obspy/signal/spectral_estimation.py", line 1242, in _load
data_ = data[key]
File "/usr/local/lib/python2.7/site-packages/numpy/lib/npyio.py", line 262, in __getitem__
pickle_kwargs=self.pickle_kwargs)
File "/usr/local/lib/python2.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 (15)

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_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
12.283s test_response_calculation_from_seed_and_xseed (obspy.io.xseed.tests.test_core.CoreTestCase)
8.576s __init__ (obspy.taup)
8.070s test_ppsd_w_iris (obspy.signal.tests.test_spectral_estimation.PsdTestCase)
6.345s test_ppsd_restricted_stacks (obspy.signal.tests.test_spectral_estimation.PsdTestCase)
6.281s test_shoot_existing_ray_param (obspy.taup.tests.test_seismic_phase.TauPySeismicPhaseTestCase)
5.722s test_relcal_different_overlaps (obspy.signal.tests.test_calibration.CalibrationTestCase)
5.533s test_plot_multiple_traces (obspy.imaging.tests.test_waveform.WaveformTestCase)
5.208s test_plot_tf_gofs (obspy.signal.tests.test_tf_misfit.TfPlotTestCase)
5.103s test_sac_instrument_correction (obspy.signal.tests.test_invsim.InvSimTestCase)
3.379s plot_travel_times (obspy.taup.tau)
3.321s test_vs_java_iasp91 (obspy.taup.tests.test_tau.TauPyModelTestCase)
3.208s test_auto_read_arclink_xml (obspy.io.arclink.tests.test_inventory_xml.ArclinkInventoryTestCase)
3.089s test_regional_models (obspy.taup.tests.test_tau.TauPyModelTestCase)
2.955s test_different_models (obspy.taup.tests.test_tau.TauPyModelTestCase)
2.883s test_ppsd (obspy.signal.tests.test_spectral_estimation.PsdTestCase)
2.696s test_data_remains_unchanged (obspy.imaging.tests.test_waveform.WaveformTestCase)
2.681s test_ar_pick (obspy.signal.tests.test_trigger.TriggerTestCase)
2.675s test_plot_wiggles_horizontal_section (obspy.imaging.tests.test_waveform.WaveformTestCase)
2.671s test_polarization_vidale (obspy.signal.tests.test_polarization.PolarizationTestCase)
2.562s test_plot_ref_time_section (obspy.imaging.tests.test_waveform.WaveformTestCase)