#112657 Report by node wangyichaodeMacBook-Pro covering 1095 tests from 49 modules resulted into 15 errors
Report
- ObsPy version
- 1.2.2
- GitHub Pull Request
- -
- Report file
- XML document
- Total runtime
- 161.7 sec
- Report date/time
- Jan. 6, 2021, 6:16 p.m.
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 | 1 | - | 0.00s | 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 | 1 | 1 | - | 0.00s | 2 |
obspy.db | - | 9 | 9 | - | 0.10s | - |
obspy.geodetics | - | 20 | 18 | 2 | 0.52s | - |
obspy.imaging | 8 | 77 | 76 | 1 | 44.42s | 3 4 5 6 7 8 9 10 |
obspy.io.ah | - | 5 | 5 | - | 0.10s | - |
obspy.io.arclink | - | 5 | 5 | - | 3.34s | - |
obspy.io.ascii | - | 28 | 28 | - | 0.42s | - |
obspy.io.cmtsolution | - | 10 | 10 | - | 0.12s | - |
obspy.io.cnv | - | 1 | 1 | - | 0.03s | - |
obspy.io.css | - | 7 | 7 | - | 0.62s | - |
obspy.io.dmx | - | 5 | 5 | - | 0.04s | - |
obspy.io.focmec | - | 8 | 8 | - | 0.20s | - |
obspy.io.gcf | - | 9 | 9 | - | 0.04s | - |
obspy.io.gse2 | - | 55 | 55 | - | 0.80s | - |
obspy.io.hypodd | 1 | 6 | 6 | - | 0.09s | 11 |
obspy.io.iaspei | - | 7 | 7 | - | 5.77s | - |
obspy.io.json | - | 4 | 4 | - | 0.05s | - |
obspy.io.kinemetrics | - | 7 | 7 | - | 1.16s | - |
obspy.io.kml | - | 3 | 3 | - | 0.16s | - |
obspy.io.mseed | 1 | 1 | 1 | - | 0.00s | 12 |
obspy.io.ndk | - | 20 | 20 | - | 1.16s | - |
obspy.io.nied | - | 11 | 11 | - | 0.09s | - |
obspy.io.nlloc | - | 12 | 11 | 1 | 0.21s | - |
obspy.io.nordic | - | 51 | 51 | - | 3.83s | - |
obspy.io.pdas | - | 3 | 3 | - | 0.01s | - |
obspy.io.pde | - | 13 | 13 | - | 0.80s | - |
obspy.io.quakeml | - | 38 | 38 | - | 0.95s | - |
obspy.io.reftek | - | 20 | 20 | - | 0.39s | - |
obspy.io.rg16 | - | 36 | 36 | - | 0.49s | - |
obspy.io.sac | - | 96 | 96 | - | 0.58s | - |
obspy.io.scardec | - | 5 | 5 | - | 0.09s | - |
obspy.io.seg2 | - | 2 | 2 | - | 0.05s | - |
obspy.io.segy | 1 | 1 | 1 | - | 0.00s | 13 |
obspy.io.seisan | - | 8 | 8 | - | 0.17s | - |
obspy.io.seiscomp | - | 47 | 47 | - | 2.70s | - |
obspy.io.sh | - | 25 | 25 | - | 0.84s | - |
obspy.io.shapefile | - | 7 | 1 | 6 | 0.12s | - |
obspy.io.stationtxt | - | 11 | 11 | - | 0.15s | - |
obspy.io.stationxml | - | 22 | 22 | - | 0.65s | - |
obspy.io.wav | - | 8 | 8 | - | 0.04s | - |
obspy.io.win | - | 2 | 2 | - | 0.13s | - |
obspy.io.xseed | - | 82 | 82 | - | 14.22s | - |
obspy.io.y | - | 5 | 5 | - | 0.02s | - |
obspy.io.zmap | - | 14 | 14 | - | 0.34s | - |
obspy.realtime | - | 22 | 22 | - | 0.55s | - |
obspy.scripts | - | 2 | 2 | - | 0.02s | - |
obspy.signal | 1 | 199 | 198 | 1 | 36.66s | 14 |
obspy.taup | 1 | 64 | 58 | 6 | 38.45s | 15 |
Summary | 15 | 1095 | 1078 | 17 | 161.66s | 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) |