#112357 Report by node cgammansmbpro covering 1968 tests from 49 modules resulted into 3 errors

Report

ObsPy version
1.2.2
GitHub Pull Request
-
Report file
XML document
Total runtime
222.7 sec
Report date/time
Nov. 13, 2020, 12:54 p.m.

System / Python

Architecture
64bit
Machine
x86_64
Node
cgammansmbpro
Processor
i386
Python Compiler
GCC 4.2.1 Compatible Apple LLVM 11.0.3 (clang-1103.0.29.20) (-macos10.15-objc-
Python Implementation
CPython
Python Version
2.7.16
Release
19.6.0
System
Darwin
Version
Darwin Kernel Version 19.6.0: Mon Aug 31 22:12:52 PDT 2020; root:xnu-6153.141.2~1/RELEASE_X86_64

Dependencies

cartopy
---
decorator
4.4.2
flake8
3.8.4
future
0.17.1
geographiclib
---
lxml.etree
4.6.1
m2crypto
---
matplotlib
2.0.2
mock
3.0.5
mpl_toolkits.basemap
1.1.0
numpy
1.8.0rc1
pep8-naming
---
pyflakes
2.2.0
pyimgur
---
pyproj
1.9.6
requests
2.25.0
scipy
0.13.0b1
setuptools
41.0.1
shapefile
2.1.2
sqlalchemy
1.3.20

Modules (49)

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 - -
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.dmx - -
obspy.io.focmec - -
obspy.io.gcf - -
obspy.io.gse2 - -
obspy.io.hypodd - -
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.rg16 - -
obspy.io.sac 3 1 2 3
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 - -
obspy.taup - -
Summary 3 3

Tracebacks (3)

Traceback (most recent call last):
File "/Users/l354819/Library/Python/2.7/lib/python/site-packages/obspy/io/sac/tests/test_core.py", line 427, in test_write_small_trace
tr.write(tempfile, format=format)
File "/Users/l354819/Library/Python/2.7/lib/python/site-packages/obspy/core/trace.py", line 990, in write
Stream([self]).write(filename, format, **kwargs)
File "/Users/l354819/Library/Python/2.7/lib/python/site-packages/obspy/core/stream.py", line 1462, in write
write_format(self, filename, **kwargs)
File "/Users/l354819/Library/Python/2.7/lib/python/site-packages/obspy/io/sac/core.py", line 447, in _write_sac
_internal_write_sac(trace, fh, byteorder=byteorder, **kwargs)
File "/Users/l354819/Library/Python/2.7/lib/python/site-packages/obspy/io/sac/core.py", line 478, in _internal_write_sac
sac.write(buf, ascii=False, byteorder=byteorder)
File "/Users/l354819/Library/Python/2.7/lib/python/site-packages/obspy/io/sac/sactrace.py", line 1133, in write
self._flush_headers()
File "/Users/l354819/Library/Python/2.7/lib/python/site-packages/obspy/io/sac/sactrace.py", line 1494, in _flush_headers
self._hf[HD.FLOATHDRS.index('depmen')] = self.depmen
File "/Users/l354819/Library/Python/2.7/lib/python/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 "/Users/l354819/Library/Python/2.7/lib/python/site-packages/obspy/io/sac/tests/test_sactrace.py", line 435, in test_data_headers
self.assertEqual(getattr(sac, hdr), value)
File "/Users/l354819/Library/Python/2.7/lib/python/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 "/Users/l354819/Library/Python/2.7/lib/python/site-packages/obspy/io/sac/tests/test_sactrace.py", line 65, in test_read_binary_headonly
self.assertAlmostEqual(sac.depmen, 8.344650e-8)
File "/Users/l354819/Library/Python/2.7/lib/python/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'

Skipped tests (33)

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_combined_station_event_plot (obspy.core.tests.test_inventory.InventoryBasemapTestCase) matplotlib 3.0.1 is not compatible with basemap
core test_location_plot_global (obspy.core.tests.test_inventory.InventoryBasemapTestCase) matplotlib 3.0.1 is not compatible with basemap
core test_location_plot_local (obspy.core.tests.test_inventory.InventoryBasemapTestCase) matplotlib 3.0.1 is not compatible with basemap
core test_location_plot_ortho (obspy.core.tests.test_inventory.InventoryBasemapTestCase) matplotlib 3.0.1 is not compatible with basemap
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.CatalogBasemapTestCase) matplotlib 3.0.1 is not compatible with basemap
core test_catalog_plot_local (obspy.core.tests.test_event.CatalogBasemapTestCase) matplotlib 3.0.1 is not compatible with basemap
core test_catalog_plot_ortho (obspy.core.tests.test_event.CatalogBasemapTestCase) matplotlib 3.0.1 is not compatible with basemap
core test_catalog_plot_ortho_longitude_wrap (obspy.core.tests.test_event.CatalogBasemapTestCase) matplotlib 3.0.1 is not compatible with basemap
core test_plot_catalog_before_1900 (obspy.core.tests.test_event.CatalogBasemapTestCase) matplotlib 3.0.1 is not compatible with basemap
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_plot_farfield_without_quiver_with_maps (obspy.core.tests.test_event.EventTestCase) matplotlib 3.0.1 is not compatible with basemap
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
9.749s test_response_calculation_from_seed_and_xseed (obspy.io.xseed.tests.test_core.CoreTestCase)
6.064s __init__ (obspy.taup)
5.756s read (obspy.core.stream)
5.477s test_plot_multiple_traces (obspy.imaging.tests.test_waveform.WaveformTestCase)
4.862s test_event_scoped_resource_id_many_threads (obspy.core.tests.test_resource_identifier.ResourceIdentifierTestCase)
4.404s test_shoot_existing_ray_param (obspy.taup.tests.test_seismic_phase.TauPySeismicPhaseTestCase)
4.339s test_ppsd_restricted_stacks (obspy.signal.tests.test_spectral_estimation.PsdTestCase)
3.846s test_correlate_stream_template_and_correlation_detector (obspy.signal.tests.test_cross_correlation.CrossCorrelationTestCase)
3.578s test_regional_models (obspy.taup.tests.test_tau.TauPyModelTestCase)
3.366s test_polarization_vidale (obspy.signal.tests.test_polarization.PolarizationTestCase)
2.988s test_many_identically_named_phases (obspy.taup.tests.test_seismic_phase.TauPySeismicPhaseTestCase)
2.965s test_auto_read_arclink_xml (obspy.io.arclink.tests.test_inventory_xml.ArclinkInventoryTestCase)
2.917s test_read_url_via_network (obspy.core.tests.test_stream.StreamTestCase)
2.791s plot_travel_times (obspy.taup.tau)
2.735s test_remove_response_plot (obspy.core.tests.test_trace.TraceTestCase)
2.509s test_location_plot_global (obspy.core.tests.test_network.NetworkBasemapTestCase)
2.467s test_plot_wiggles_negative_section (obspy.imaging.tests.test_waveform.WaveformTestCase)
2.446s test_relcal_different_overlaps (obspy.signal.tests.test_calibration.CalibrationTestCase)
2.443s test_plot_wiggles_vertical_section (obspy.imaging.tests.test_waveform.WaveformTestCase)
2.416s test_plot_wiggles_horizontal_section (obspy.imaging.tests.test_waveform.WaveformTestCase)