#154439 Report by node localhost covering 553 tests from 1 modules resulted into 15 errors

Report

ObsPy version
1.0.3.post0+1179.g85167d07ad.…
GitHub Pull Request
-
Report file
XML document
Total runtime
30.1 sec
Report date/time
March 8, 2026, 9:28 p.m.

System / Python

Architecture
64bit
Machine
x86_64
Node
localhost
Processor
x86_64
Python Compiler
GCC 9.3.0
Python Implementation
CPython
Python Version
3.6.15
Release
4.18.0-147.mt20221104.486.el8_1.x86_64
System
Linux
Version
#1 SMP Wed Nov 2 11:07:41 CST 2022

Dependencies

cartopy
---
decorator
5.1.1
flake8
---
future
1.0.0
geographiclib
---
lxml.etree
5.4.0
m2crypto
---
matplotlib
2.2.5
mock
---
mpl_toolkits.basemap
---
numpy
1.16.6
osgeo.gdal
---
pep8-naming
---
pyflakes
---
pyimgur
---
pyproj
---
requests
2.27.1
scipy
1.2.3
setuptools
40.6.2
sqlalchemy
1.4.54

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.seedlink Not tested -
obspy.clients.seishub Not tested -
obspy.clients.syngine Not tested -
obspy.core 15 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
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.gcf Not tested -
obspy.io.gse2 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.sac 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 15 15

Tracebacks (15)

Traceback (most recent call last):
File "/testbed/obspy/core/tests/test_trace.py", line 1463, in test_plot
tr.plot(show=False)
File "/testbed/obspy/core/trace.py", line 889, in plot
return waveform.plot_waveform(**kwargs)
File "/testbed/obspy/imaging/waveform.py", line 279, in plot_waveform
self.plot(*args, **kwargs)
File "/testbed/obspy/imaging/waveform.py", line 382, in plot
sharex=sharex)
File "/home/circleci/.pyenv/versions/3.6.15/lib/python3.6/site-packages/matplotlib/figure.py", line 1257, in add_subplot
a = subplot_class_factory(projection_class)(self, *args, **kwargs)
File "/home/circleci/.pyenv/versions/3.6.15/lib/python3.6/site-packages/matplotlib/axes/_subplots.py", line 77, in __init__
self._axes_class.__init__(self, fig, self.figbox, **kwargs)
File "/home/circleci/.pyenv/versions/3.6.15/lib/python3.6/site-packages/matplotlib/axes/_base.py", line 541, in __init__
self.update(kwargs)
File "/home/circleci/.pyenv/versions/3.6.15/lib/python3.6/site-packages/matplotlib/artist.py", line 888, in update
for k, v in props.items()]
File "/home/circleci/.pyenv/versions/3.6.15/lib/python3.6/site-packages/matplotlib/artist.py", line 888, in <listcomp>
for k, v in props.items()]
File "/home/circleci/.pyenv/versions/3.6.15/lib/python3.6/site-packages/matplotlib/artist.py", line 881, in _update_property
raise AttributeError('Unknown property %s' % k)
AttributeError: Unknown property axisbg
Traceback (most recent call last):
File "/testbed/obspy/core/tests/test_stream.py", line 1927, in test_plot
self.mseed_stream.plot(show=False)
File "/testbed/obspy/core/stream.py", line 1142, in plot
return waveform.plot_waveform(*args, **kwargs)
File "/testbed/obspy/imaging/waveform.py", line 279, in plot_waveform
self.plot(*args, **kwargs)
File "/testbed/obspy/imaging/waveform.py", line 382, in plot
sharex=sharex)
File "/home/circleci/.pyenv/versions/3.6.15/lib/python3.6/site-packages/matplotlib/figure.py", line 1257, in add_subplot
a = subplot_class_factory(projection_class)(self, *args, **kwargs)
File "/home/circleci/.pyenv/versions/3.6.15/lib/python3.6/site-packages/matplotlib/axes/_subplots.py", line 77, in __init__
self._axes_class.__init__(self, fig, self.figbox, **kwargs)
File "/home/circleci/.pyenv/versions/3.6.15/lib/python3.6/site-packages/matplotlib/axes/_base.py", line 541, in __init__
self.update(kwargs)
File "/home/circleci/.pyenv/versions/3.6.15/lib/python3.6/site-packages/matplotlib/artist.py", line 888, in update
for k, v in props.items()]
File "/home/circleci/.pyenv/versions/3.6.15/lib/python3.6/site-packages/matplotlib/artist.py", line 888, in <listcomp>
for k, v in props.items()]
File "/home/circleci/.pyenv/versions/3.6.15/lib/python3.6/site-packages/matplotlib/artist.py", line 881, in _update_property
raise AttributeError('Unknown property %s' % k)
AttributeError: Unknown property axisbg
Traceback (most recent call last):
File "/home/circleci/.pyenv/versions/3.6.15/lib/python3.6/doctest.py", line 2199, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.core.stream.Stream.std
File "/testbed/obspy/core/stream.py", line 2471, in std
----------------------------------------------------------------------
File "/testbed/obspy/core/stream.py", line 2487, in obspy.core.stream.Stream.std
Failed example:
st.std()
Expected:
[4.2614551505325036, 4.4348618918744247]
Got:
[4.261455150532504, 4.434861891874425]
Traceback (most recent call last):
File "/home/circleci/.pyenv/versions/3.6.15/lib/python3.6/doctest.py", line 2199, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.core.trace.Trace.resample
File "/testbed/obspy/core/trace.py", line 228, in resample
----------------------------------------------------------------------
File "/testbed/obspy/core/trace.py", line 280, in obspy.core.trace.Trace.resample
Failed example:
tr.data # doctest: +NORMALIZE_WHITESPACE +ELLIPSIS
Expected:
array([ 0.5 , 0.40432914, 0.3232233 , 0.26903012, 0.25 ...
Got:
array([0.5 , 0.40432914, 0.3232233 , 0.26903012, 0.25 ,
0.26903012, 0.3232233 , 0.40432914, 0.5 , 0.59567086,
0.6767767 , 0.73096988, 0.75 , 0.73096988, 0.6767767 ,
0.59567086, 0.5 , 0.40432914, 0.3232233 , 0.26903012,
0.25 , 0.26903012, 0.3232233 , 0.40432914, 0.5 ,
0.59567086, 0.6767767 , 0.73096988, 0.75 , 0.73096988,
0.6767767 , 0.59567086])
Traceback (most recent call last):
File "/home/circleci/.pyenv/versions/3.6.15/lib/python3.6/doctest.py", line 2199, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.core.trace.Trace.std
File "/testbed/obspy/core/trace.py", line 1823, in std
----------------------------------------------------------------------
File "/testbed/obspy/core/trace.py", line 1835, in obspy.core.trace.Trace.std
Failed example:
tr.std()
Expected:
4.2614551505325036
Got:
4.261455150532504
----------------------------------------------------------------------
File "/testbed/obspy/core/trace.py", line 1838, in obspy.core.trace.Trace.std
Failed example:
tr.std()
Expected:
4.4348618918744247
Got:
4.434861891874425
Traceback (most recent call last):
File "/home/circleci/.pyenv/versions/3.6.15/lib/python3.6/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 "/testbed/obspy/core/trace.py", line 2424, in times
----------------------------------------------------------------------
File "/testbed/obspy/core/trace.py", line 2446, in obspy.core.trace.Trace.times
Failed example:
tr.times()
Expected:
array([ 0.00000000e+00, 1.00000000e-02, 2.00000000e-02, ...,
2.99700000e+01, 2.99800000e+01, 2.99900000e+01])
Got:
array([0.000e+00, 1.000e-02, 2.000e-02, ..., 2.997e+01, 2.998e+01,
2.999e+01])
----------------------------------------------------------------------
File "/testbed/obspy/core/trace.py", line 2450, in obspy.core.trace.Trace.times
Failed example:
tr.times(reftime=UTCDateTime("2009-01-01T00"))
Expected:
array([ 20305203. , 20305203.01, 20305203.02, ..., 20305232.97,
20305232.98, 20305232.99])
Got:
array([20305203. , 20305203.01, 20305203.02, ..., 20305232.97,
20305232.98, 20305232.99])
----------------------------------------------------------------------
File "/testbed/obspy/core/trace.py", line 2462, in obspy.core.trace.Trace.times
Failed example:
tr.times("timestamp")
Expected:
array([ 1.25107320e+09, 1.25107320e+09, 1.25107320e+09, ...,
1.25107323e+09, 1.25107323e+09, 1.25107323e+09])
Got:
array([1.25107320e+09, 1.25107320e+09, 1.25107320e+09, ...,
1.25107323e+09, 1.25107323e+09, 1.25107323e+09])
----------------------------------------------------------------------
File "/testbed/obspy/core/trace.py", line 2466, 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([733643.01392361, 733643.01392373, 733643.01392384, ...,
733643.01427049, 733643.0142706 , 733643.01427072])
Traceback (most recent call last):
File "/home/circleci/.pyenv/versions/3.6.15/lib/python3.6/doctest.py", line 2199, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.core.__init__
File "/testbed/obspy/core/__init__.py", line 11, in __init__
----------------------------------------------------------------------
File "/testbed/obspy/core/__init__.py", line 71, in obspy.core.__init__
Failed example:
tr.data
Expected:
array([ 0. , 0.00694644, 0.07597424, ..., 1.93449584,
0.98196204, 0.44196924])
Got:
array([0. , 0.00694644, 0.07597424, ..., 1.93449584, 0.98196204,
0.44196924])
Traceback (most recent call last):
File "/home/circleci/.pyenv/versions/3.6.15/lib/python3.6/doctest.py", line 2199, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.core.util.base.create_empty_data_chunk
File "/testbed/obspy/core/util/base.py", line 126, in create_empty_data_chunk
----------------------------------------------------------------------
File "/testbed/obspy/core/util/base.py", line 142, in obspy.core.util.base.create_empty_data_chunk
Failed example:
create_empty_data_chunk(6, np.complex128, 0)
Expected:
array([ 0.+0.j, 0.+0.j, 0.+0.j, 0.+0.j, 0.+0.j, 0.+0.j])
Got:
array([0.+0.j, 0.+0.j, 0.+0.j, 0.+0.j, 0.+0.j, 0.+0.j])
----------------------------------------------------------------------
File "/testbed/obspy/core/util/base.py", line 145, in obspy.core.util.base.create_empty_data_chunk
Failed example:
create_empty_data_chunk(
3, 'f') # doctest: +ELLIPSIS +NORMALIZE_WHITESPACE
Expected:
masked_array(data = [-- -- --],
mask = ...,
...)
Got:
masked_array(data=[--, --, --],
mask=[ True, True, True],
fill_value=1e+20,
dtype=float32)
Traceback (most recent call last):
File "/testbed/obspy/core/tests/test_station.py", line 56, in test_response_plot
sta.plot(0.05, channel="*[NE]", outfile=ic.name)
File "/testbed/obspy/core/util/testing.py", line 490, in __exit__
raise ImageComparisonException(msg)
obspy.core.util.testing.ImageComparisonException: Image comparison failed.
	File: station_response.png
	RMS: 6.448158801472894
	Tolerance: 3.0
Upload to imgur failed (caught ModuleNotFoundError: No module named 'pyimgur').
Traceback (most recent call last):
File "/testbed/obspy/core/tests/test_station.py", line 76, in test_response_plot_degrees
outfile=ic.name)
File "/testbed/obspy/core/util/testing.py", line 490, in __exit__
raise ImageComparisonException(msg)
obspy.core.util.testing.ImageComparisonException: Image comparison failed.
	File: station_response_degrees.png
	RMS: 6.394747464825244
	Tolerance: 3.0
Upload to imgur failed (caught ModuleNotFoundError: No module named 'pyimgur').
Traceback (most recent call last):
File "/testbed/obspy/core/tests/test_trace.py", line 1371, in test_taper_length
self.assertEqual(len(w), 1)
AssertionError: 2 != 1
Traceback (most recent call last):
File "/testbed/obspy/core/tests/test_trace.py", line 1341, in test_taper_onesided
self.assertEqual(len(w), 1)
AssertionError: 2 != 1
Traceback (most recent call last):
File "/testbed/obspy/core/tests/test_channel.py", line 61, in test_response_plot
cha.plot(0.005, outfile=ic.name)
File "/testbed/obspy/core/util/testing.py", line 490, in __exit__
raise ImageComparisonException(msg)
obspy.core.util.testing.ImageComparisonException: Image comparison failed.
	File: channel_response.png
	RMS: 4.882834645011511
	Tolerance: 3.0
Upload to imgur failed (caught ModuleNotFoundError: No module named 'pyimgur').
Traceback (most recent call last):
File "/testbed/obspy/core/tests/test_network.py", line 145, in test_response_plot
time=t, outfile=ic.name)
File "/testbed/obspy/core/util/testing.py", line 490, in __exit__
raise ImageComparisonException(msg)
obspy.core.util.testing.ImageComparisonException: Image comparison failed.
	File: network_response.png
	RMS: 3.494109258640444
	Tolerance: 3.0
Upload to imgur failed (caught ModuleNotFoundError: No module named 'pyimgur').
Traceback (most recent call last):
File "/testbed/obspy/core/tests/test_utcdatetime.py", line 52, in test_from_numpy_string
self.assertEqual(dt, UTCDateTime(2009, 7, 1, 12, 12, 12))
AssertionError: <obspy.core.utcdatetime.UTCDateTime object at 0x7fe846cd1128> != UTCDateTime(2009, 7, 1, 12, 12, 12)

Skipped tests (23)

Submodule Test Skip message
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_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_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_flake8 (obspy.core.tests.test_code_formatting.CodeFormattingTestCase) Formatting tests require at least flake8 3.0.
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
4.307s read (obspy.core.stream)
2.695s test_read_url_via_network (obspy.core.tests.test_stream.StreamTestCase)
2.234s test_read_and_write (obspy.core.tests.test_waveform_plugins.WaveformPluginsTestCase)
2.135s test_remove_response_plot (obspy.core.tests.test_trace.TraceTestCase)
1.212s test_read_thread_safe (obspy.core.tests.test_waveform_plugins.WaveformPluginsTestCase)
0.827s test_response_plot (obspy.core.tests.test_inventory.InventoryTestCase)
0.651s test_dtype_is_not_unnecessarily_changed (obspy.core.tests.test_trace.TraceTestCase)
0.570s test_interpolation_arguments (obspy.core.tests.test_trace.TraceTestCase)
0.545s test_evalresp_with_output_from_seed (obspy.core.tests.test_response.ResponseTestCase)
0.529s test_response_plot (obspy.core.tests.test_station.StationTestCase)
0.517s test_add (obspy.core.tests.test_stream.StreamTestCase)
0.491s test_response_plot_degrees (obspy.core.tests.test_station.StationTestCase)
0.485s test_response_plot (obspy.core.tests.test_network.NetworkTestCase)
0.469s test_auto_file_format_during_writing (obspy.core.tests.test_waveform_plugins.WaveformPluginsTestCase)
0.465s test_response_plot (obspy.core.tests.test_channel.ChannelTestCase)
0.463s test_response_plot_degrees (obspy.core.tests.test_response.ResponseTestCase)
0.444s test_response_plot (obspy.core.tests.test_response.ResponseTestCase)
0.415s test_is_format (obspy.core.tests.test_waveform_plugins.WaveformPluginsTestCase)
0.381s test_cutout (obspy.core.tests.test_stream.StreamTestCase)
0.373s test_insert (obspy.core.tests.test_stream.StreamTestCase)