#107948 Report by node zhis-MacBook-Pro covering 1742 tests from 45 modules resulted into 13 errors

Report

ObsPy version
1.1.1
GitHub Pull Request
-
Report file
XML document
Total runtime
218.0 sec
Report date/time
Jan. 10, 2020, 3:05 a.m.

System / Python

Architecture
64bit
Machine
x86_64
Node
zhis-MacBook-Pro
Processor
i386
Python Compiler
GCC 4.2.1 Compatible Apple LLVM 11.0.0 (clang-1100.0.33.16)
Python Implementation
CPython
Python Version
2.7.17
Release
19.2.0
System
Darwin
Version
Darwin Kernel Version 19.2.0: Sat Nov 9 03:47:04 PST 2019; root:xnu-6153.61.1~20/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
2.2.4
mock
3.0.5
mpl_toolkits.basemap
1.1.0
numpy
1.16.6
pep8-naming
---
pyflakes
2.1.1
pyimgur
---
pyproj
1.9.6
requests
2.22.0
scipy
1.2.2
setuptools
41.4.0
shapefile
2.1.0
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 6 1 2 3 4 5 6
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 - -
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 - -
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 7 8 9 10 11 12 13
obspy.taup - -
Summary 13 13

Tracebacks (13)

Traceback (most recent call last):
File "/usr/local/lib/python2.7/site-packages/obspy/core/tests/test_inventory.py", line 554, in test_location_plot_local
outfile=ic.name)
File "/usr/local/lib/python2.7/site-packages/obspy/core/inventory/inventory.py", line 750, in plot
title=None, show=False, fig=fig, **kwargs)
File "/usr/local/lib/python2.7/site-packages/obspy/imaging/maps.py", line 798, in plot_map
return plot_basemap(*args, **kwargs)
File "/usr/local/lib/python2.7/site-packages/obspy/imaging/maps.py", line 261, in plot_basemap
**kwargs)
File "/usr/local/lib/python2.7/site-packages/obspy/imaging/maps.py", line 434, in _plot_basemap_into_axes
bmap.drawcoastlines(color="0.4")
File "/usr/local/Cellar/python@2/2.7.17_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/mpl_toolkits/basemap/__init__.py", line 1840, in drawcoastlines
coastlines = LineCollection(self.coastsegs,antialiaseds=(antialiased,))
File "/usr/local/lib/python2.7/site-packages/matplotlib/collections.py", line 1254, in __init__
self.set_segments(segments)
File "/usr/local/lib/python2.7/site-packages/matplotlib/collections.py", line 1269, in set_segments
self._paths = [mpath.Path(_seg) for _seg in _segments]
File "/usr/local/lib/python2.7/site-packages/matplotlib/path.py", line 135, in __init__
"'vertices' must be a 2D list or array with shape Nx2")
ValueError: 'vertices' must be a 2D list or array with shape Nx2
Traceback (most recent call last):
File "/usr/local/lib/python2.7/site-packages/obspy/core/tests/test_network.py", line 349, in test_location_plot_local
size=13**2, outfile=ic.name)
File "/usr/local/lib/python2.7/site-packages/obspy/core/inventory/network.py", line 557, in plot
show=False, **kwargs)
File "/usr/local/lib/python2.7/site-packages/obspy/imaging/maps.py", line 798, in plot_map
return plot_basemap(*args, **kwargs)
File "/usr/local/lib/python2.7/site-packages/obspy/imaging/maps.py", line 261, in plot_basemap
**kwargs)
File "/usr/local/lib/python2.7/site-packages/obspy/imaging/maps.py", line 434, in _plot_basemap_into_axes
bmap.drawcoastlines(color="0.4")
File "/usr/local/Cellar/python@2/2.7.17_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/mpl_toolkits/basemap/__init__.py", line 1840, in drawcoastlines
coastlines = LineCollection(self.coastsegs,antialiaseds=(antialiased,))
File "/usr/local/lib/python2.7/site-packages/matplotlib/collections.py", line 1254, in __init__
self.set_segments(segments)
File "/usr/local/lib/python2.7/site-packages/matplotlib/collections.py", line 1269, in set_segments
self._paths = [mpath.Path(_seg) for _seg in _segments]
File "/usr/local/lib/python2.7/site-packages/matplotlib/path.py", line 135, in __init__
"'vertices' must be a 2D list or array with shape Nx2")
ValueError: 'vertices' must be a 2D list or array with shape Nx2
Traceback (most recent call last):
File "/usr/local/lib/python2.7/site-packages/obspy/core/tests/test_channel.py", line 61, in test_response_plot
cha.plot(0.005, outfile=ic.name)
File "/usr/local/lib/python2.7/site-packages/obspy/core/util/testing.py", line 510, in __exit__
raise ImageComparisonException(msg)
ImageComparisonException: Image comparison failed.
	File: channel_response.png
	RMS: 4.88283464501
	Tolerance: 3.0
Upload to imgur failed (caught ImportError: No module named pyimgur).
Traceback (most recent call last):
File "/usr/local/lib/python2.7/site-packages/obspy/core/tests/test_network.py", line 147, in test_response_plot
time=t, outfile=ic.name)
File "/usr/local/lib/python2.7/site-packages/obspy/core/util/testing.py", line 510, in __exit__
raise ImageComparisonException(msg)
ImageComparisonException: Image comparison failed.
	File: network_response.png
	RMS: 3.49410925864
	Tolerance: 3.0
Upload to imgur failed (caught ImportError: No module named pyimgur).
Traceback (most recent call last):
File "/usr/local/lib/python2.7/site-packages/obspy/core/tests/test_station.py", line 56, in test_response_plot
sta.plot(0.05, channel="*[NE]", outfile=ic.name)
File "/usr/local/lib/python2.7/site-packages/obspy/core/util/testing.py", line 510, in __exit__
raise ImageComparisonException(msg)
ImageComparisonException: Image comparison failed.
	File: station_response.png
	RMS: 6.44815880147
	Tolerance: 3.0
Upload to imgur failed (caught ImportError: No module named pyimgur).
Traceback (most recent call last):
File "/usr/local/lib/python2.7/site-packages/obspy/core/tests/test_station.py", line 76, in test_response_plot_degrees
outfile=ic.name)
File "/usr/local/lib/python2.7/site-packages/obspy/core/util/testing.py", line 510, in __exit__
raise ImageComparisonException(msg)
ImageComparisonException: Image comparison failed.
	File: station_response_degrees.png
	RMS: 6.39474746483
	Tolerance: 3.0
Upload to imgur failed (caught ImportError: No module named pyimgur).
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 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
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

Skipped tests (23)

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
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.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_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_flake8 (obspy.core.tests.test_code_formatting.CodeFormattingTestCase) No code formatting tests for release builds
core test_use_obspy_deprecation_warning (obspy.core.tests.test_code_formatting.CodeFormattingTestCase) No code formatting tests for release builds
core test_future_imports_in_every_file (obspy.core.tests.test_code_formatting.FutureUsageTestCase) No code formatting tests for release builds
core test_no_pyplot_import_in_any_file (obspy.core.tests.test_code_formatting.MatplotlibBackendUsageTestCase) No code formatting tests for release builds
imaging test_script_plot (obspy.imaging.tests.test_mopad_script.MopadTestCase) Currently broken until further review.
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
13.287s read (obspy.core.stream)
9.579s test_read_url_via_network (obspy.core.tests.test_stream.StreamTestCase)
9.537s test_response_calculation_from_seed_and_xseed (obspy.io.xseed.tests.test_core.CoreTestCase)
7.711s test_plot_farfield_without_quiver_with_maps (obspy.core.tests.test_event.EventTestCase)
5.019s __init__ (obspy.taup)
4.547s test_plot_multiple_traces (obspy.imaging.tests.test_waveform.WaveformTestCase)
3.912s test_ppsd_restricted_stacks (obspy.signal.tests.test_spectral_estimation.PsdTestCase)
3.877s test_shoot_existing_ray_param (obspy.taup.tests.test_seismic_phase.TauPySeismicPhaseTestCase)
3.765s test_plot_catalog_before_1900 (obspy.core.tests.test_event.CatalogBasemapTestCase)
3.729s test_read_thread_safe (obspy.core.tests.test_waveform_plugins.WaveformPluginsTestCase)
3.480s plot_tfr (obspy.signal.tf_misfit)
3.074s test_auto_read_arclink_xml (obspy.io.arclink.tests.test_inventory_xml.ArclinkInventoryTestCase)
2.538s test_relcal_different_overlaps (obspy.signal.tests.test_calibration.CalibrationTestCase)
2.309s test_data_remains_unchanged (obspy.imaging.tests.test_waveform.WaveformTestCase)
2.297s plot_travel_times (obspy.taup.tau)
2.283s test_plot_wiggles_vertical_section (obspy.imaging.tests.test_waveform.WaveformTestCase)
2.255s test_polarization_vidale (obspy.signal.tests.test_polarization.PolarizationTestCase)
2.222s test_plot_ref_time_section (obspy.imaging.tests.test_waveform.WaveformTestCase)
2.166s test_regional_models (obspy.taup.tests.test_tau.TauPyModelTestCase)
2.162s test_plot_wiggles_horizontal_section (obspy.imaging.tests.test_waveform.WaveformTestCase)