#112657 Report by node wangyichaodeMacBook-Pro covering 1095 tests from 49 modules resulted into 15 errors

Report

ObsPy version
1.2.2
Continuous Integration
-
GitHub Pull Request
-
Report file
XML document
Total runtime
161.7 sec
Report date/time
2021-01-06 18:16:53

System / Python

Architecture
64bit
Machine
x86_64
Node
wangyichaodeMacBook-Pro
Processor
i386
Python Compiler
GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.57)
Python Implementation
CPython
Python Version
2.7.18
Release
18.7.0
System
Darwin
Version
Darwin Kernel Version 18.7.0: Sun Dec 1 18:59:03 PST 2019; root:xnu-4903.278.19~1/RELEASE_X86_64

Dependencies

cartopy
---
decorator
4.4.2
flake8
---
future
0.18.2
geographiclib
---
lxml.etree
4.6.2
m2crypto
---
matplotlib
2.2.5
mock
---
mpl_toolkits.basemap
---
numpy
1.16.6
pep8-naming
---
pyflakes
---
pyimgur
---
pyproj
---
requests
2.25.1
scipy
1.2.3
setuptools
41.2.0
shapefile
---
sqlalchemy
1.3.22

Modules (49)

Module Errors / Failures Tracebacks
obspy.clients.arclink Not tested -
obspy.clients.earthworm Not tested -
obspy.clients.fdsn Not tested -
obspy.clients.filesystem 1 1
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 2
obspy.db - -
obspy.geodetics - -
obspy.imaging 8 3 4 5 6 7 8 9 10
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 1 11
obspy.io.iaspei - -
obspy.io.json - -
obspy.io.kinemetrics - -
obspy.io.kml - -
obspy.io.mseed 1 12
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 - -
obspy.io.scardec - -
obspy.io.seg2 - -
obspy.io.segy 1 13
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 1 14
obspy.taup 1 15
Summary 15 15

Tracebacks (15)

>>> Cannot import test suite for module obspy.clients.filesystem due to:
------------------------------------------------------------------------
File "/Library/Frameworks/Python.framework/Versions/2.7/bin/obspy-runtests", line 8, in <module>
sys.exit(main())
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/obspy/scripts/runtests.py", line 747, in main
errors = run(argv, interactive)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/obspy/scripts/runtests.py", line 715, in run
pr_url=args.pr_url)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/obspy/scripts/runtests.py", line 542, in run_tests
suites, status, import_failures = _get_suites(verbosity, tests)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/obspy/scripts/runtests.py", line 164, in _get_suites
suite.append(ut.loadTestsFromName(test, None))
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/unittest/loader.py", line 115, in loadTestsFromName
test = obj()
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/obspy/clients/filesystem/tests/__init__.py", line 17, in suite
add_unittests(suite, MODULE_NAME)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/obspy/core/util/testing.py", line 71, in add_unittests
fromlist=[native_str("obspy")])
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/obspy/clients/filesystem/tests/test_tsindex.py", line 18, in <module>
from obspy.core.compatibility import mock, RegExTestCase
ImportError: cannot import name mock
>>> Cannot import test suite for module obspy.core due to:
----------------------------------------------------------
File "/Library/Frameworks/Python.framework/Versions/2.7/bin/obspy-runtests", line 8, in <module>
sys.exit(main())
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/obspy/scripts/runtests.py", line 747, in main
errors = run(argv, interactive)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/obspy/scripts/runtests.py", line 715, in run
pr_url=args.pr_url)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/obspy/scripts/runtests.py", line 542, in run_tests
suites, status, import_failures = _get_suites(verbosity, tests)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/obspy/scripts/runtests.py", line 164, in _get_suites
suite.append(ut.loadTestsFromName(test, None))
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/unittest/loader.py", line 115, in loadTestsFromName
test = obj()
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/obspy/core/tests/__init__.py", line 17, in suite
add_unittests(suite, MODULE_NAME)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/obspy/core/util/testing.py", line 71, in add_unittests
fromlist=[native_str("obspy")])
File "/Library/Frameworks/Python.framework/Versions/2.7/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
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/obspy/imaging/tests/test_waveform.py", line 343, in test_plot_colored_section
st.plot(outfile=ic.name, type='section', color='channel')
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/obspy/core/util/testing.py", line 513, in __exit__
raise ImageComparisonException(msg)
ImageComparisonException: Image comparison failed.
	File: waveform_color_section.png
	RMS: 6.6467169841
	Tolerance: 3.0
Upload to imgur failed (caught ImportError: No module named pyimgur).
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/obspy/imaging/tests/test_waveform.py", line 284, in test_plot_default_section
st.plot(outfile=ic.name, type='section')
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/obspy/core/util/testing.py", line 513, in __exit__
raise ImageComparisonException(msg)
ImageComparisonException: Image comparison failed.
	File: waveform_default_section.png
	RMS: 6.65644649945
	Tolerance: 3.0
Upload to imgur failed (caught ImportError: No module named pyimgur).
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/obspy/imaging/tests/test_waveform.py", line 328, in test_plot_ref_time_section
st.plot(outfile=ic.name, type='section', reftime=reftime)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/obspy/core/util/testing.py", line 513, in __exit__
raise ImageComparisonException(msg)
ImageComparisonException: Image comparison failed.
	File: waveform_reftime_section.png
	RMS: 6.98173426402
	Tolerance: 3.0
Upload to imgur failed (caught ImportError: No module named pyimgur).
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/obspy/imaging/tests/test_waveform.py", line 396, in test_plot_wiggles_horizontal_section
fillcolors=("blue", "red"))
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/obspy/core/util/testing.py", line 513, in __exit__
raise ImageComparisonException(msg)
ImageComparisonException: Image comparison failed.
	File: waveform_wiggles_horizontal_section.png
	RMS: 8.14780747604
	Tolerance: 3.0
Upload to imgur failed (caught ImportError: No module named pyimgur).
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/obspy/imaging/tests/test_waveform.py", line 361, in test_plot_wiggles_negative_section
fillcolors=(None, "black"))
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/obspy/core/util/testing.py", line 513, in __exit__
raise ImageComparisonException(msg)
ImageComparisonException: Image comparison failed.
	File: waveform_wiggles_negative_section.png
	RMS: 8.14780747604
	Tolerance: 3.0
Upload to imgur failed (caught ImportError: No module named pyimgur).
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/obspy/imaging/tests/test_waveform.py", line 379, in test_plot_wiggles_positive_section
fillcolors=("black", None))
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/obspy/core/util/testing.py", line 513, in __exit__
raise ImageComparisonException(msg)
ImageComparisonException: Image comparison failed.
	File: waveform_wiggles_positive_section.png
	RMS: 8.14780747604
	Tolerance: 3.0
Upload to imgur failed (caught ImportError: No module named pyimgur).
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/obspy/imaging/tests/test_waveform.py", line 413, in test_plot_wiggles_vertical_section
fillcolors=("blue", "red"))
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/obspy/core/util/testing.py", line 513, in __exit__
raise ImageComparisonException(msg)
ImageComparisonException: Image comparison failed.
	File: waveform_wiggles_vertical_section.png
	RMS: 6.64661367415
	Tolerance: 3.0
Upload to imgur failed (caught ImportError: No module named pyimgur).
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/obspy/imaging/tests/test_ppsd.py", line 69, in test_ppsd_plot_frequency
fig.savefig(ic.name, dpi=50)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/obspy/core/util/testing.py", line 513, in __exit__
raise ImageComparisonException(msg)
ImageComparisonException: Image comparison failed.
	File: ppsd_freq.png
	RMS: 10.1098895477
	Tolerance: 6.0
Upload to imgur failed (caught ImportError: No module named pyimgur).
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/obspy/io/hypodd/tests/test_pha.py", line 75, in test_populate_waveform_id
self.assertEqual(len(ws), 2)
AssertionError: 0 != 2
>>> Cannot import test suite for module obspy.io.mseed due to:
--------------------------------------------------------------
File "/Library/Frameworks/Python.framework/Versions/2.7/bin/obspy-runtests", line 8, in <module>
sys.exit(main())
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/obspy/scripts/runtests.py", line 747, in main
errors = run(argv, interactive)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/obspy/scripts/runtests.py", line 715, in run
pr_url=args.pr_url)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/obspy/scripts/runtests.py", line 542, in run_tests
suites, status, import_failures = _get_suites(verbosity, tests)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/obspy/scripts/runtests.py", line 164, in _get_suites
suite.append(ut.loadTestsFromName(test, None))
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/unittest/loader.py", line 115, in loadTestsFromName
test = obj()
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/obspy/io/mseed/tests/__init__.py", line 17, in suite
add_unittests(suite, MODULE_NAME)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/obspy/core/util/testing.py", line 71, in add_unittests
fromlist=[native_str("obspy")])
File "/Library/Frameworks/Python.framework/Versions/2.7/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
>>> Cannot import test suite for module obspy.io.segy due to:
-------------------------------------------------------------
File "/Library/Frameworks/Python.framework/Versions/2.7/bin/obspy-runtests", line 8, in <module>
sys.exit(main())
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/obspy/scripts/runtests.py", line 747, in main
errors = run(argv, interactive)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/obspy/scripts/runtests.py", line 715, in run
pr_url=args.pr_url)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/obspy/scripts/runtests.py", line 542, in run_tests
suites, status, import_failures = _get_suites(verbosity, tests)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/obspy/scripts/runtests.py", line 164, in _get_suites
suite.append(ut.loadTestsFromName(test, None))
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/unittest/loader.py", line 115, in loadTestsFromName
test = obj()
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/obspy/io/segy/tests/__init__.py", line 37, in suite
add_unittests(suite, MODULE_NAME)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/obspy/core/util/testing.py", line 71, in add_unittests
fromlist=[native_str("obspy")])
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/obspy/io/segy/tests/test_segy.py", line 17, in <module>
from obspy.core.compatibility import from_buffer, mock
ImportError: cannot import name mock
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/obspy/signal/tests/test_spectral_estimation.py", line 504, in test_ppsd_restricted_stacks
fig.savefig(ic.name)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/obspy/core/util/testing.py", line 513, in __exit__
raise ImageComparisonException(msg)
ImageComparisonException: Image comparison failed.
	File: ppsd_restricted_stack.png
	RMS: 13.0262881641
	Tolerance: 4.5
Upload to imgur failed (caught ImportError: No module named pyimgur).
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/obspy/taup/tests/test_plotting.py", line 95, in test_spherical_diff_phases
plt.savefig(ic.name)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/obspy/core/util/testing.py", line 513, in __exit__
raise ImageComparisonException(msg)
ImageComparisonException: Image comparison failed.
	File: spherical_diff_phases.png
	RMS: 5.79452399541
	Tolerance: 3.0
Upload to imgur failed (caught ImportError: No module named pyimgur).

Skipped tests (17)

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_catalog_shapefile_with_extra_field (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
io.shapefile test_write_inventory_shapefile_with_extra_field (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
10.665s test_response_calculation_from_seed_and_xseed (obspy.io.xseed.tests.test_core.CoreTestCase)
5.478s __init__ (obspy.taup)
4.747s test_plot_multiple_traces (obspy.imaging.tests.test_waveform.WaveformTestCase)
4.003s test_shoot_existing_ray_param (obspy.taup.tests.test_seismic_phase.TauPySeismicPhaseTestCase)
3.254s test_auto_read_arclink_xml (obspy.io.arclink.tests.test_inventory_xml.ArclinkInventoryTestCase)
3.033s test_relcal_different_overlaps (obspy.signal.tests.test_calibration.CalibrationTestCase)
2.995s test_plot_wiggles_vertical_section (obspy.imaging.tests.test_waveform.WaveformTestCase)
2.942s test_plot_default_section (obspy.imaging.tests.test_waveform.WaveformTestCase)
2.868s test_correlate_stream_template_and_correlation_detector (obspy.signal.tests.test_cross_correlation.CrossCorrelationTestCase)
2.691s test_plot_wiggles_negative_section (obspy.imaging.tests.test_waveform.WaveformTestCase)
2.662s test_plot_wiggles_horizontal_section (obspy.imaging.tests.test_waveform.WaveformTestCase)
2.583s test_plot_ref_time_section (obspy.imaging.tests.test_waveform.WaveformTestCase)
2.527s test_plot_wiggles_positive_section (obspy.imaging.tests.test_waveform.WaveformTestCase)
2.506s test_polarization_vidale (obspy.signal.tests.test_polarization.PolarizationTestCase)
2.445s test_plot_horizontal_section (obspy.imaging.tests.test_waveform.WaveformTestCase)
2.414s test_regional_models (obspy.taup.tests.test_tau.TauPyModelTestCase)
2.386s test_plot_colored_section (obspy.imaging.tests.test_waveform.WaveformTestCase)
2.382s plot_travel_times (obspy.taup.tau)
2.377s test_plot_azim_section (obspy.imaging.tests.test_waveform.WaveformTestCase)
2.268s test_reading_via_file (obspy.io.iaspei.tests.test_core.IASPEITestCase)

Chuck Norris fact

Chuck Norris can write to an output stream.