#113498 Report by node Anahi-Garcia covering 666 tests from 1 modules resulted into 11 errors

Report

ObsPy version
1.2.2
GitHub Pull Request
-
Report file
XML document
Total runtime
112.3 sec
Report date/time
March 2, 2021, 3:23 p.m.

System / Python

Architecture
64bit
Machine
AMD64
Node
Anahi-Garcia
Processor
AMD64 Family 23 Model 24 Stepping 1, AuthenticAMD
Python Compiler
MSC v.1916 64 bit (AMD64)
Python Implementation
CPython
Python Version
3.8.8
Release
10
System
Windows
Version
10.0.18362

Dependencies

cartopy
---
decorator
4.4.2
flake8
---
future
0.18.2
geographiclib
---
lxml.etree
4.6.2
m2crypto
---
matplotlib
3.3.4
mock
---
mpl_toolkits.basemap
---
numpy
1.20.1
pep8-naming
---
pyflakes
---
pyimgur
---
pyproj
---
requests
2.25.1
scipy
1.6.1
setuptools
49.6.0.post20210108
shapefile
---
sqlalchemy
1.3.23

Modules (1)

Module Errors / Failures Tracebacks
obspy.clients.arclink Not tested -
obspy.clients.earthworm Not tested -
obspy.clients.fdsn Not tested -
obspy.clients.filesystem Not tested -
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 11 1 2 3 4 5 6 7 8 9 10 11
obspy.db Not tested -
obspy.geodetics Not tested -
obspy.imaging Not tested -
obspy.io.ah Not tested -
obspy.io.arclink Not tested -
obspy.io.ascii Not tested -
obspy.io.cmtsolution Not tested -
obspy.io.cnv Not tested -
obspy.io.css Not tested -
obspy.io.dmx Not tested -
obspy.io.focmec Not tested -
obspy.io.gcf Not tested -
obspy.io.gse2 Not tested -
obspy.io.hypodd Not tested -
obspy.io.iaspei Not tested -
obspy.io.json Not tested -
obspy.io.kinemetrics Not tested -
obspy.io.kml Not tested -
obspy.io.mseed Not tested -
obspy.io.ndk Not tested -
obspy.io.nied Not tested -
obspy.io.nlloc Not tested -
obspy.io.nordic Not tested -
obspy.io.pdas Not tested -
obspy.io.pde Not tested -
obspy.io.quakeml Not tested -
obspy.io.reftek Not tested -
obspy.io.rg16 Not tested -
obspy.io.sac Not tested -
obspy.io.scardec Not tested -
obspy.io.seg2 Not tested -
obspy.io.segy Not tested -
obspy.io.seisan Not tested -
obspy.io.seiscomp Not tested -
obspy.io.sh Not tested -
obspy.io.shapefile Not tested -
obspy.io.stationtxt Not tested -
obspy.io.stationxml Not tested -
obspy.io.wav Not tested -
obspy.io.win Not tested -
obspy.io.xseed Not tested -
obspy.io.y Not tested -
obspy.io.zmap Not tested -
obspy.realtime Not tested -
obspy.scripts Not tested -
obspy.signal Not tested -
obspy.taup Not tested -
Summary 11 11

Tracebacks (11)

Traceback (most recent call last):
File "c:\users\dalia\anaconda3\envs\sismov\lib\doctest.py", line 2204, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.core.trace.Trace.times
File "c:\users\dalia\anaconda3\envs\sismov\lib\site-packages\obspy\core\trace.py", line 2487, in times
----------------------------------------------------------------------
File "c:\users\dalia\anaconda3\envs\sismov\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 "c:\users\dalia\anaconda3\envs\sismov\lib\doctest.py", line 2204, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.core.utcdatetime.UTCDateTime.matplotlib_date
File "c:\users\dalia\anaconda3\envs\sismov\lib\site-packages\obspy\core\utcdatetime.py", line unknown line number, in matplotlib_date
----------------------------------------------------------------------
File "c:\users\dalia\anaconda3\envs\sismov\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 "c:\users\dalia\anaconda3\envs\sismov\lib\site-packages\obspy\core\tests\test_channel.py", line 61, in test_response_plot
cha.plot(0.005, outfile=ic.name)
File "c:\users\dalia\anaconda3\envs\sismov\lib\site-packages\obspy\core\util\testing.py", line 513, in __exit__
raise ImageComparisonException(msg)
obspy.core.util.testing.ImageComparisonException: Image comparison failed.
	File: channel_response.png
	RMS: 5.1236100992815485
	Tolerance: 3.0
Upload to imgur failed (caught ModuleNotFoundError: No module named 'pyimgur').
Traceback (most recent call last):
File "c:\users\dalia\anaconda3\envs\sismov\lib\site-packages\obspy\core\tests\test_inventory.py", line 201, in test_response_plot
inv.plot_response(0.01, output="ACC", channel="*N",
File "c:\users\dalia\anaconda3\envs\sismov\lib\site-packages\obspy\core\util\testing.py", line 513, in __exit__
raise ImageComparisonException(msg)
obspy.core.util.testing.ImageComparisonException: Image comparison failed.
	File: inventory_response.png
	RMS: 9.886507545281157
	Tolerance: 3.0
Upload to imgur failed (caught ModuleNotFoundError: No module named 'pyimgur').
Traceback (most recent call last):
File "c:\users\dalia\anaconda3\envs\sismov\lib\site-packages\obspy\core\tests\test_network.py", line 146, in test_response_plot
net.plot_response(0.002, output="DISP", channel="B*E",
File "c:\users\dalia\anaconda3\envs\sismov\lib\site-packages\obspy\core\util\testing.py", line 513, in __exit__
raise ImageComparisonException(msg)
obspy.core.util.testing.ImageComparisonException: Image comparison failed.
	File: network_response.png
	RMS: 6.860723345242748
	Tolerance: 3.0
Upload to imgur failed (caught ModuleNotFoundError: No module named 'pyimgur').
Traceback (most recent call last):
File "c:\users\dalia\anaconda3\envs\sismov\lib\site-packages\obspy\core\tests\test_response.py", line 165, in test_response_plot_degrees
resp.plot(0.001, output="VEL", start_stage=1, end_stage=3,
File "c:\users\dalia\anaconda3\envs\sismov\lib\site-packages\obspy\core\util\testing.py", line 513, in __exit__
raise ImageComparisonException(msg)
obspy.core.util.testing.ImageComparisonException: Image comparison failed.
	File: response_response_degrees.png
	RMS: 3.027560756111171
	Tolerance: 3.0
Upload to imgur failed (caught ModuleNotFoundError: No module named 'pyimgur').
Traceback (most recent call last):
File "c:\users\dalia\anaconda3\envs\sismov\lib\site-packages\obspy\core\tests\test_station.py", line 56, in test_response_plot
sta.plot(0.05, channel="*[NE]", outfile=ic.name)
File "c:\users\dalia\anaconda3\envs\sismov\lib\site-packages\obspy\core\util\testing.py", line 513, in __exit__
raise ImageComparisonException(msg)
obspy.core.util.testing.ImageComparisonException: Image comparison failed.
	File: station_response.png
	RMS: 10.352036383185995
	Tolerance: 3.0
Upload to imgur failed (caught ModuleNotFoundError: No module named 'pyimgur').
Traceback (most recent call last):
File "c:\users\dalia\anaconda3\envs\sismov\lib\site-packages\obspy\core\tests\test_station.py", line 75, in test_response_plot_degrees
sta.plot(0.05, channel="*[NE]", plot_degrees=True,
File "c:\users\dalia\anaconda3\envs\sismov\lib\site-packages\obspy\core\util\testing.py", line 513, in __exit__
raise ImageComparisonException(msg)
obspy.core.util.testing.ImageComparisonException: Image comparison failed.
	File: station_response_degrees.png
	RMS: 10.350095533817859
	Tolerance: 3.0
Upload to imgur failed (caught ModuleNotFoundError: No module named 'pyimgur').
Traceback (most recent call last):
File "c:\users\dalia\anaconda3\envs\sismov\lib\site-packages\obspy\core\tests\test_trace.py", line 2303, in test_remove_response_plot
tr.remove_response(pre_filt=pre_filt, output="DISP",
File "c:\users\dalia\anaconda3\envs\sismov\lib\site-packages\obspy\core\util\testing.py", line 513, in __exit__
raise ImageComparisonException(msg)
obspy.core.util.testing.ImageComparisonException: Image comparison failed.
	File: trace_remove_response.png
	RMS: 8.335286780566443
	Tolerance: 4.5
Upload to imgur failed (caught ModuleNotFoundError: No module named 'pyimgur').
Traceback (most recent call last):
File "c:\users\dalia\anaconda3\envs\sismov\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 "c:\users\dalia\anaconda3\envs\sismov\lib\site-packages\numpy\testing\_private\utils.py", line 1528, in assert_allclose
assert_array_compare(compare, actual, desired, err_msg=str(err_msg),
File "c:\users\dalia\anaconda3\envs\sismov\lib\site-packages\numpy\testing\_private\utils.py", line 842, 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 "c:\users\dalia\anaconda3\envs\sismov\lib\site-packages\obspy\core\tests\test_utcdatetime.py", line 1092, in test_matplotlib_date
np.testing.assert_almost_equal(
File "c:\users\dalia\anaconda3\envs\sismov\lib\site-packages\numpy\testing\_private\utils.py", line 597, in assert_almost_equal
raise AssertionError(_build_err_msg())
AssertionError:
Arrays are not almost equal to 8 decimals
ACTUAL: 5965.5723676839116
DESIRED: 725128.5723676839

Skipped tests (27)

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_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) 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_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_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
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

Slowest tests (20)

Runtime Test
34.265s test_is_format (obspy.core.tests.test_waveform_plugins.WaveformPluginsTestCase)
14.331s read (obspy.core.stream)
5.688s test_remove_response_plot (obspy.core.tests.test_trace.TraceTestCase)
3.082s test_read_and_write (obspy.core.tests.test_waveform_plugins.WaveformPluginsTestCase)
2.397s test_response_plot (obspy.core.tests.test_channel.ChannelTestCase)
2.221s test_read_thread_safe (obspy.core.tests.test_waveform_plugins.WaveformPluginsTestCase)
1.974s test_read_url_via_network (obspy.core.tests.test_stream.StreamTestCase)
1.811s test_response_plot (obspy.core.tests.test_inventory.InventoryTestCase)
1.629s test_response_plot_degrees (obspy.core.tests.test_response.ResponseTestCase)
1.562s test_response_plot (obspy.core.tests.test_network.NetworkTestCase)
1.542s test_response_plot (obspy.core.tests.test_station.StationTestCase)
1.501s test_response_plot_degrees (obspy.core.tests.test_station.StationTestCase)
1.417s test_dtype_is_not_unnecessarily_changed (obspy.core.tests.test_trace.TraceTestCase)
1.279s test_spectrogram (obspy.core.tests.test_stream.StreamTestCase)
1.248s test_deepcopy (obspy.core.tests.test_waveform_plugins.WaveformPluginsTestCase)
1.244s test_response_plot (obspy.core.tests.test_response.ResponseTestCase)
1.212s test_inventory_merging_metadata_update (obspy.core.tests.test_inventory.InventoryTestCase)
1.140s test_stack (obspy.core.tests.test_stream.StreamTestCase)
1.065s test_event_scoped_resource_id_many_threads (obspy.core.tests.test_resource_identifier.ResourceIdentifierTestCase)
0.980s test_cutout (obspy.core.tests.test_stream.StreamTestCase)