#154440 Report by node testbed covering 561 tests from 1 modules resulted into 20 errors
Report
- ObsPy version
- 1.0.3.post0+1520.gf9a8a3fcda.…
- GitHub Pull Request
- -
- Report file
- XML document
- Total runtime
- 74.5 sec
- Report date/time
- March 8, 2026, 10:01 p.m.
System / Python
- Architecture
- 64bit
- Machine
- x86_64
- Node
- testbed
- 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
- 5.0.4
- future
- 1.0.0
- geographiclib
- 1.52
- lxml.etree
- 5.4.0
- m2crypto
- ---
- matplotlib
- 3.3.4
- mock
- 5.2.0
- mpl_toolkits.basemap
- ---
- numpy
- 1.16.6
- osgeo.gdal
- ---
- pep8-naming
- 0.13.1
- pyflakes
- 2.5.0
- pyimgur
- 0.6.0
- pyproj
- 3.0.1
- requests
- 2.27.1
- scipy
- 1.5.4
- 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.nrl | Not tested | - | - | - | - | - |
| obspy.clients.seedlink | Not tested | - | - | - | - | - |
| obspy.clients.seishub | Not tested | - | - | - | - | - |
| obspy.clients.syngine | Not tested | - | - | - | - | - |
| obspy.core | 20 | 561 | 539 | 22 | 74.49s | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
| 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.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 | 20 | 561 | 539 | 22 | 74.49s | 20 |
Tracebacks (20)
Traceback (most recent call last): File "/testbed/obspy/core/tests/test_code_formatting.py", line 71, in test_flake8 ignore_codes = list(set(default_ignore_codes + FLAKE8_IGNORE_CODES)) TypeError: unsupported operand type(s) for +: 'NoneType' and 'list'
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 2472, in std ---------------------------------------------------------------------- File "/testbed/obspy/core/stream.py", line 2488, 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([14480.01392361, 14480.01392373, 14480.01392384, ..., 14480.01427049, 14480.0142706 , 14480.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.utcdatetime.UTCDateTime.matplotlib_date File "/testbed/obspy/core/utcdatetime.py", line unknown line number, in matplotlib_date ---------------------------------------------------------------------- File "/testbed/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 "/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_inventory.py", line 161, in test_response_plot station="[WR]*", 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: inventory_response.png RMS: 9.886507545281157 Tolerance: 3.0 Expected: https://i.imgur.com/BnurGI0.png Actual: https://i.imgur.com/B3lU5GH.png Diff: https://i.imgur.com/zV5HxW6.png
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: 10.352036383185995 Tolerance: 3.0 Expected: https://i.imgur.com/60GuFYk.png Actual: https://i.imgur.com/iol6fS3.png Diff: https://i.imgur.com/k6A8zvN.png
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: 10.350095533817859 Tolerance: 3.0 Expected: https://i.imgur.com/luMhhII.png Actual: https://i.imgur.com/DtQUeVc.png Diff: https://i.imgur.com/bDYsYKz.png
Traceback (most recent call last): File "/testbed/obspy/core/tests/test_response.py", line 166, in test_response_plot_degrees plot_degrees=True, 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: response_response_degrees.png RMS: 3.027560756111171 Tolerance: 3.0 Expected: https://i.imgur.com/dK9uO5C.png Actual: https://i.imgur.com/AoDsvj4.png Diff: https://i.imgur.com/ilUwHMw.png
Traceback (most recent call last): File "/testbed/obspy/core/tests/test_trace.py", line 2294, in test_remove_response_plot water_level=60, end_stage=None, plot=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: trace_remove_response.png RMS: 8.335286780566443 Tolerance: 4.5 Expected: https://i.imgur.com/OuspGXd.png Actual: https://i.imgur.com/OaMASjI.png Diff: https://i.imgur.com/9IMh0t2.png
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_trace.py", line 1438, in test_times np.testing.assert_allclose(got[:5], expected, rtol=1e-17) File "/home/circleci/.pyenv/versions/3.6.15/lib/python3.6/site-packages/numpy/testing/_private/utils.py", line 1550, in assert_allclose verbose=verbose, header=header, equal_nan=equal_nan) File "/home/circleci/.pyenv/versions/3.6.15/lib/python3.6/site-packages/numpy/testing/_private/utils.py", line 863, 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. Max relative difference: 0.98499288 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 "/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: 5.1236100992815485 Tolerance: 3.0 Expected: https://i.imgur.com/Dgk6Xto.png Actual: https://i.imgur.com/Pi3H3D2.png Diff: https://i.imgur.com/R4vg3of.png
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: 6.860723345242748 Tolerance: 3.0 Expected: https://i.imgur.com/GWnZUVA.png Actual: https://i.imgur.com/u6hoxWy.png Diff: https://i.imgur.com/xyPJMTO.png
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 0x7fecee53ba20> != UTCDateTime(2009, 7, 1, 12, 12, 12)
Traceback (most recent call last): File "/testbed/obspy/core/tests/test_utcdatetime.py", line 1002, in test_matplotlib_date t.matplotlib_date, expected, decimal=8) File "/home/circleci/.pyenv/versions/3.6.15/lib/python3.6/site-packages/numpy/testing/_private/utils.py", line 616, in assert_almost_equal raise AssertionError(_build_err_msg()) AssertionError: Arrays are not almost equal to 8 decimals ACTUAL: 5965.572367683912 DESIRED: 725128.5723676839
Skipped tests (22)
| 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_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 |
|---|---|
| 11.267s | test_remove_response_plot (obspy.core.tests.test_trace.TraceTestCase) |
| 11.202s | test_response_plot (obspy.core.tests.test_network.NetworkTestCase) |
| 7.343s | test_response_plot (obspy.core.tests.test_inventory.InventoryTestCase) |
| 6.856s | test_response_plot_degrees (obspy.core.tests.test_response.ResponseTestCase) |
| 6.393s | test_response_plot_degrees (obspy.core.tests.test_station.StationTestCase) |
| 6.211s | test_response_plot (obspy.core.tests.test_station.StationTestCase) |
| 5.956s | test_response_plot (obspy.core.tests.test_channel.ChannelTestCase) |
| 4.178s | read (obspy.core.stream) |
| 2.663s | test_read_url_via_network (obspy.core.tests.test_stream.StreamTestCase) |
| 0.612s | test_response_plot (obspy.core.tests.test_response.ResponseTestCase) |
| 0.565s | test_read_thread_safe (obspy.core.tests.test_waveform_plugins.WaveformPluginsTestCase) |
| 0.539s | test_add (obspy.core.tests.test_stream.StreamTestCase) |
| 0.525s | test_dtype_is_not_unnecessarily_changed (obspy.core.tests.test_trace.TraceTestCase) |
| 0.504s | test_evalresp_with_output_from_seed (obspy.core.tests.test_response.ResponseTestCase) |
| 0.423s | test_interpolation_arguments (obspy.core.tests.test_trace.TraceTestCase) |
| 0.405s | test_spectrogram (obspy.core.tests.test_stream.StreamTestCase) |
| 0.401s | test_is_format (obspy.core.tests.test_waveform_plugins.WaveformPluginsTestCase) |
| 0.385s | test_insert (obspy.core.tests.test_stream.StreamTestCase) |
| 0.344s | test_deepcopy (obspy.core.tests.test_waveform_plugins.WaveformPluginsTestCase) |
| 0.342s | test_read_and_write (obspy.core.tests.test_waveform_plugins.WaveformPluginsTestCase) |