#113896 Report by node conda-forge covering 1968 tests from 49 modules resulted into 5 errors

Report

ObsPy version
1.2.2
GitHub Pull Request
-
Report file
XML document
Total runtime
308.5 sec
Report date/time
April 30, 2021, 12:31 p.m.

System / Python

Architecture
64bit
Machine
AMD64
Node
conda-forge
Processor
Intel64 Family 6 Model 63 Stepping 2, GenuineIntel
Python Compiler
MSC v.1916 64 bit (AMD64)
Python Implementation
CPython
Python Version
3.6.13
Release
10
System
Windows
Version
10.0.14393

Dependencies

cartopy
0.19.0
decorator
5.0.7
flake8
3.9.1
future
0.18.2
geographiclib
---
lxml.etree
4.6.3
m2crypto
---
matplotlib
3.3.4
mock
---
mpl_toolkits.basemap
---
numpy
1.19.5
pep8-naming
---
pyflakes
2.3.1
pyimgur
---
pyproj
---
requests
2.25.1
scipy
1.5.3
setuptools
49.6.0.post20210108
shapefile
2.1.3
sqlalchemy
1.4.12

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 4 1 2 3 4
obspy.db 1 5
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 - -
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 5 5

Tracebacks (5)

Traceback (most recent call last):
File "D:\bld\obspy_1619802625532\_test_env\lib\doctest.py", line 2199, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.core.trace.Trace.times
File "D:\bld\obspy_1619802625532\_test_env\lib\site-packages\obspy\core\trace.py", line 2487, in times
----------------------------------------------------------------------
File "D:\bld\obspy_1619802625532\_test_env\lib\site-packages\obspy\core\trace.py", line 2529, in obspy.core.trace.Trace.times
Failed example:
tr.times("matplotlib")
Expected:
array([ 733643.01392361, 733643.01392373, 733643.01392384, ...,
733643.01427049, 733643.0142706 , 733643.01427072])
Got:
array([ 14480.01392361, 14480.01392373, 14480.01392384, ...,
14480.01427049, 14480.0142706 , 14480.01427072])
Traceback (most recent call last):
File "D:\bld\obspy_1619802625532\_test_env\lib\doctest.py", line 2199, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.core.utcdatetime.UTCDateTime.matplotlib_date
File "D:\bld\obspy_1619802625532\_test_env\lib\site-packages\obspy\core\utcdatetime.py", line unknown line number, in matplotlib_date
----------------------------------------------------------------------
File "D:\bld\obspy_1619802625532\_test_env\lib\site-packages\obspy\core\utcdatetime.py", line ?, in obspy.core.utcdatetime.UTCDateTime.matplotlib_date
Failed example:
t.matplotlib_date
Expected:
733643.0139780092
Got:
14480.01397800926
Traceback (most recent call last):
File "D:\bld\obspy_1619802625532\_test_env\lib\site-packages\obspy\core\tests\test_trace.py", line 1448, in test_times
np.testing.assert_allclose(got[:5], expected, rtol=1e-17)
File "D:\bld\obspy_1619802625532\_test_env\lib\site-packages\numpy\testing\_private\utils.py", line 1528, in assert_allclose
verbose=verbose, header=header, equal_nan=equal_nan)
File "D:\bld\obspy_1619802625532\_test_env\lib\site-packages\numpy\testing\_private\utils.py", line 840, in assert_array_compare
raise AssertionError(msg)
AssertionError:
Not equal to tolerance rtol=1e-17, atol=0
Mismatched elements: 5 / 5 (100%)
Max absolute difference: 719163.0
Max relative difference: 0.9849928778830878
x: array([ 10957. , 10957.000001, 10957.000001, 10957.000002,
10957.000002])
y: array([ 730120. , 730120.000001, 730120.000001, 730120.000002,
730120.000002])
Traceback (most recent call last):
File "D:\bld\obspy_1619802625532\_test_env\lib\site-packages\obspy\core\tests\test_utcdatetime.py", line 1093, in test_matplotlib_date
t.matplotlib_date, expected, decimal=8)
File "D:\bld\obspy_1619802625532\_test_env\lib\site-packages\numpy\testing\_private\utils.py", line 595, in assert_almost_equal
raise AssertionError(_build_err_msg())
AssertionError:
Arrays are not almost equal to 8 decimals
ACTUAL: 5965.5723676839116
DESIRED: 725128.5723676839
Traceback (most recent call last):
File "D:\bld\obspy_1619802625532\_test_env\lib\site-packages\sqlalchemy\sql\elements.py", line 816, in __getattr__
return getattr(self.comparator, key)
AttributeError: 'Comparator' object has no attribute '_text_converter_role'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "D:\bld\obspy_1619802625532\_test_env\lib\site-packages\obspy\db\tests\test_client.py", line 248, in test_get_preview
starttime=dt, endtime=dt2)
File "D:\bld\obspy_1619802625532\_test_env\lib\site-packages\obspy\db\client.py", line 257, in get_preview
WaveformChannel.channel == temp[3]))
File "D:\bld\obspy_1619802625532\_test_env\lib\site-packages\sqlalchemy\sql\elements.py", line 2285, in append
coercions.expect(self._text_converter_role, clause).self_group(
File "D:\bld\obspy_1619802625532\_test_env\lib\site-packages\sqlalchemy\sql\elements.py", line 827, in __getattr__
replace_context=err,
File "D:\bld\obspy_1619802625532\_test_env\lib\site-packages\sqlalchemy\util\compat.py", line 211, in raise_
raise exception
AttributeError: Neither 'BooleanClauseList' object nor 'Comparator' object has an attribute '_text_converter_role'

Skipped tests (31)

Submodule Test Skip message
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
core test_catalog_plot_global (obspy.core.tests.test_event.CatalogBasemapTestCase) basemap not installed
core test_catalog_plot_local (obspy.core.tests.test_event.CatalogBasemapTestCase) basemap not installed
core test_catalog_plot_ortho (obspy.core.tests.test_event.CatalogBasemapTestCase) basemap not installed
core test_catalog_plot_ortho_longitude_wrap (obspy.core.tests.test_event.CatalogBasemapTestCase) basemap not installed
core test_plot_catalog_before_1900 (obspy.core.tests.test_event.CatalogBasemapTestCase) basemap not installed
core test_plot_farfield_without_quiver_with_maps (obspy.core.tests.test_event.EventTestCase) basemap not installed
core test_combined_station_event_plot (obspy.core.tests.test_inventory.InventoryBasemapTestCase) basemap not installed
core test_location_plot_global (obspy.core.tests.test_inventory.InventoryBasemapTestCase) basemap not installed
core test_location_plot_local (obspy.core.tests.test_inventory.InventoryBasemapTestCase) basemap not installed
core test_location_plot_ortho (obspy.core.tests.test_inventory.InventoryBasemapTestCase) basemap not installed
core test_location_plot_global (obspy.core.tests.test_network.NetworkBasemapTestCase) basemap not installed
core test_location_plot_local (obspy.core.tests.test_network.NetworkBasemapTestCase) basemap not installed
core test_location_plot_ortho (obspy.core.tests.test_network.NetworkBasemapTestCase) basemap not installed
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
imaging test_script_plot (obspy.imaging.tests.test_mopad_script.MopadTestCase) Currently broken until further review.
io.mseed test_infinite_loop (obspy.io.mseed.tests.test_mseed_special_issues.MSEEDSpecialIssueTestCase) Test is known to fail when building conda package in Appveyor.
io.nlloc test_read_nlloc_scatter_coordinate_conversion (obspy.io.nlloc.tests.test_util.NLLOCTestCase) pyproj not installed
signal test_evalresp_file_like_object (obspy.signal.tests.test_invsim.InvSimTestCase) unreproducible test fail encountered on Appveyor sometimes.
signal test_schema_validation (obspy.signal.tests.test_quality_control.QualityControlTestCase) Test requires the jsonschema module
signal test_ppsd_spectrogram_plot (obspy.signal.tests.test_spectral_estimation.PsdTestCase) matplotlib >= 3 shifts labels
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
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.

Slowest tests (20)

Runtime Test
27.526s test_is_format (obspy.core.tests.test_waveform_plugins.WaveformPluginsTestCase)
10.261s test_response_calculation_from_seed_and_xseed (obspy.io.xseed.tests.test_core.CoreTestCase)
10.186s __init__ (obspy.taup)
7.657s test_shoot_existing_ray_param (obspy.taup.tests.test_seismic_phase.TauPySeismicPhaseTestCase)
7.111s test_plot_multiple_traces (obspy.imaging.tests.test_waveform.WaveformTestCase)
6.168s test_ppsd_restricted_stacks (obspy.signal.tests.test_spectral_estimation.PsdTestCase)
6.137s test_catalog_plot_local (obspy.core.tests.test_event.CatalogCartopyTestCase)
5.584s test_relcal_different_overlaps (obspy.signal.tests.test_calibration.CalibrationTestCase)
4.833s test_correlate_stream_template_and_correlation_detector (obspy.signal.tests.test_cross_correlation.CrossCorrelationTestCase)
4.702s read (obspy.core.stream)
4.593s plot_travel_times (obspy.taup.tau)
4.407s test_regional_models (obspy.taup.tests.test_tau.TauPyModelTestCase)
4.225s test_polarization_vidale (obspy.signal.tests.test_polarization.PolarizationTestCase)
4.221s test_remove_response_plot (obspy.core.tests.test_trace.TraceTestCase)
4.053s test_vs_java_iasp91 (obspy.taup.tests.test_tau.TauPyModelTestCase)
3.697s test_many_identically_named_phases (obspy.taup.tests.test_seismic_phase.TauPySeismicPhaseTestCase)
2.723s test_catalog_plot_global (obspy.core.tests.test_event.CatalogCartopyTestCase)
2.538s test_auto_read_arclink_xml (obspy.io.arclink.tests.test_inventory_xml.ArclinkInventoryTestCase)
2.478s test_plot_tf_gofs (obspy.signal.tests.test_tf_misfit.TfPlotTestCase)
2.334s test_plot_tf_misfits (obspy.signal.tests.test_tf_misfit.TfPlotTestCase)