#116928 Report by node gh-actions covering 202 tests from 62 modules resulted into 10 errors

Report

ObsPy version
0.0.0.dev+0.g6d0c765bc3
GitHub Pull Request
https://github.com/obspy/obspy/pull/2946
Report file
JSON document
Total runtime
321.9 sec
Report date/time
Jan. 14, 2022, 3:01 a.m.

System / Python

Architecture
64bit
Machine
x86_64
Node
gh-actions
Processor
x86_64
Python Compiler
GCC 9.4.0
Python Implementation
CPython
Python Version
3.7.12
Release
5.11.0-1025-azure
System
Linux
Version
#27~20.04.1-Ubuntu SMP Fri Jan 7 15:02:06 UTC 2022

Dependencies

cartopy
---
decorator
5.1.1
flake8
---
geographiclib
---
lxml
4.7.1
matplotlib
3.5.1
numpy
1.21.5
obspy
0.0.0.dev+0.g6d0c765bc3
pyproj
1.9.6
requests
2.27.1
scipy
1.7.3
setuptools
60.5.0
shapefile
---
sqlalchemy
1.4.29

Modules (62)

Module Errors / Failures Tracebacks
obspy.clients Not tested -
obspy.clients.arclink Not tested -
obspy.clients.earthworm 4 1 2 3 4
obspy.clients.fdsn 1 5
obspy.clients.filesystem Not tested -
obspy.clients.iris 4 6 7 8 9
obspy.clients.neic - -
obspy.clients.nrl - -
obspy.clients.seedlink 1 10
obspy.clients.seishub Not tested -
obspy.clients.syngine - -
obspy.core Not tested -
obspy.core.event Not tested -
obspy.core.inventory Not tested -
obspy.core.util Not tested -
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 10 10

Tracebacks (10)

Traceback (most recent call last):
File "/home/runner/work/obspy/obspy/obspy/clients/earthworm/tests/test_client.py", line 90, in test_get_waveform
assert len(ew_stream) == 1
AssertionError: assert 0 == 1
+ where 0 = len(<obspy.core.stream.Stream object at 0x7f7b3f148110>)
Traceback (most recent call last):
File "/home/runner/work/obspy/obspy/obspy/clients/earthworm/tests/test_client.py", line 110, in test_get_waveform_no_cleanup
delta = ew_stream[0].stats.delta
File "/home/runner/work/obspy/obspy/obspy/core/stream.py", line 641, in __getitem__
return self.traces.__getitem__(index)
IndexError: list index out of range
Traceback (most recent call last):
File "/home/runner/work/obspy/obspy/obspy/clients/earthworm/tests/test_client.py", line 131, in test_get_waveform_widlcard
delta = stream[0].stats.delta
File "/home/runner/work/obspy/obspy/obspy/core/stream.py", line 641, in __getitem__
return self.traces.__getitem__(index)
IndexError: list index out of range
Traceback (most recent call last):
File "/home/runner/work/obspy/obspy/obspy/clients/earthworm/tests/test_client.py", line 163, in test_save_waveform
format="SLIST",
File "/home/runner/work/obspy/obspy/obspy/clients/earthworm/client.py", line 163, in save_waveforms
st.write(filename, format=format)
File "/home/runner/work/obspy/obspy/obspy/core/stream.py", line 1429, in write
raise ObsPyException(msg)
obspy.core.util.obspy_types.ObsPyException: Can not write empty stream to file.
Traceback (most recent call last):
File "/home/runner/work/obspy/obspy/obspy/clients/fdsn/tests/test_mass_downloader.py", line 2181, in test_download_mseed
c.download_mseed()
File "/home/runner/work/obspy/obspy/obspy/clients/fdsn/mass_downloader/download_helpers.py", line 869, in download_mseed
[(self.client, self.client_name, chunk) for chunk in chunks])
File "/usr/share/miniconda3/envs/test3.7/lib/python3.7/multiprocessing/pool.py", line 268, in map
return self._map_async(func, iterable, mapstar, chunksize).get()
File "/usr/share/miniconda3/envs/test3.7/lib/python3.7/multiprocessing/pool.py", line 657, in get
raise self._value
File "/usr/share/miniconda3/envs/test3.7/lib/python3.7/multiprocessing/pool.py", line 121, in worker
result = (True, func(*args, **kwds))
File "/usr/share/miniconda3/envs/test3.7/lib/python3.7/multiprocessing/pool.py", line 44, in mapstar
return list(map(*args))
File "/home/runner/work/obspy/obspy/obspy/clients/fdsn/mass_downloader/download_helpers.py", line 854, in star_download_mseed
*args, logger=self.logger)
File "/usr/share/miniconda3/envs/test3.7/lib/python3.7/unittest/mock.py", line 1016, in __call__
return _mock_self._mock_call(*args, **kwargs)
File "/usr/share/miniconda3/envs/test3.7/lib/python3.7/unittest/mock.py", line 1076, in _mock_call
raise effect
http.client.HTTPException: disconnected
474 is given.
475
476 .. rubric:: Example
477
478 >>> from obspy.clients.iris import Client
479 >>> from obspy import UTCDateTime
480 >>> client = Client()
481 >>> dt = UTCDateTime("2005-01-01")
482 >>> sacpz = client.sacpz("IU", "ANMO", "00", "BHZ", dt)
483 >>> print(sacpz.decode()) # doctest: +ELLIPSIS +NORMALIZE_WHITESPACE
Differences (unified diff with -expected +actual):
@@ -4,5 +4,5 @@
* LOCATION (KHOLE): 00
* CHANNEL (KCMPNM): BHZ
-* CREATED : ...
+* CREATED : 2022-01-14T08:57:55
* START : 2002-11-19T21:07:00
* END : 2008-06-30T00:00:00
@@ -19,11 +19,22 @@
* INSTTYPE : Geotech KS-54000 Borehole Seismometer
* INSTGAIN : 1.935000e+03 (M/S)
-* ...
+* COMMENT :
+* SENSITIVITY : 8.115480e+08 (M/S)
+* A0 : 8.607770e+04
* **********************************
-ZEROS 3
- +0.000000e+00 +0.000000e+00
- +0.000000e+00 +0.000000e+00
- +0.000000e+00 +0.000000e+00
-POLES 5 ...
-CONSTANT 6.985619e+13
-<BLANKLINE> ...
+ZEROS	3
+	+0.000000e+00	+0.000000e+00	
+	+0.000000e+00	+0.000000e+00	
+	+0.000000e+00	+0.000000e+00	
+POLES	5
+	-4.800400e-03	+0.000000e+00	
+	-7.319900e-02	+0.000000e+00	
+	-2.271210e+01	-2.710650e+01	
+	-2.271210e+01	+2.710650e+01	
+	-5.943130e+01	+0.000000e+00	
+CONSTANT	6.985619e+13
+<BLANKLINE>
+<BLANKLINE>
+<BLANKLINE>
+<BLANKLINE>
+<BLANKLINE>
/home/runner/work/obspy/obspy/obspy/clients/iris/client.py:483: DocTestFailure
Traceback (most recent call last):
File "/home/runner/work/obspy/obspy/obspy/clients/iris/tests/test_client.py", line 186, in test_evalresp
'1.000000E-05 1.055999E+04 1.792007E+02\n')
File "/usr/share/miniconda3/envs/test3.7/lib/python3.7/unittest/case.py", line 852, in assertEqual
assertion_func(first, second, msg=msg)
File "/usr/share/miniconda3/envs/test3.7/lib/python3.7/unittest/case.py", line 1233, in assertMultiLineEqual
self.fail(self._formatMessage(msg, standardMsg))
File "/usr/share/miniconda3/envs/test3.7/lib/python3.7/unittest/case.py", line 693, in fail
raise self.failureException(msg)
AssertionError: '1.000000E-05 1.055934E+04 1.792007E+02\n' != '1.000000E-05 1.055999E+04 1.792007E+02\n'
- 1.000000E-05 1.055934E+04 1.792007E+02
? ^^
+ 1.000000E-05 1.055999E+04 1.792007E+02
? ^^
Traceback (most recent call last):
File "/home/runner/work/obspy/obspy/obspy/clients/iris/client.py", line 437, in resp
data = self._fetch("resp", **kwargs)
File "/home/runner/work/obspy/obspy/obspy/clients/iris/client.py", line 124, in _fetch
response = urllib_request.urlopen(req, timeout=self.timeout)
File "/usr/share/miniconda3/envs/test3.7/lib/python3.7/urllib/request.py", line 222, in urlopen
return opener.open(url, data, timeout)
File "/usr/share/miniconda3/envs/test3.7/lib/python3.7/urllib/request.py", line 531, in open
response = meth(req, response)
File "/usr/share/miniconda3/envs/test3.7/lib/python3.7/urllib/request.py", line 641, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/share/miniconda3/envs/test3.7/lib/python3.7/urllib/request.py", line 569, in error
return self._call_chain(*args)
File "/usr/share/miniconda3/envs/test3.7/lib/python3.7/urllib/request.py", line 503, in _call_chain
result = func(*args)
File "/usr/share/miniconda3/envs/test3.7/lib/python3.7/urllib/request.py", line 649, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 404:
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/runner/work/obspy/obspy/obspy/clients/iris/tests/test_client.py", line 238, in test_resp
result = client.resp("UW", "LON", "", "EHZ")
File "/home/runner/work/obspy/obspy/obspy/clients/iris/client.py", line 441, in resp
raise Exception(msg)
Exception: No response data available (HTTPError: HTTP Error 404: )
Traceback (most recent call last):
File "/home/runner/work/obspy/obspy/obspy/clients/iris/tests/test_client.py", line 42, in test_sacpz
self.assertEqual(result, expected)
File "/usr/share/miniconda3/envs/test3.7/lib/python3.7/unittest/case.py", line 852, in assertEqual
assertion_func(first, second, msg=msg)
File "/usr/share/miniconda3/envs/test3.7/lib/python3.7/unittest/case.py", line 1058, in assertListEqual
self.assertSequenceEqual(list1, list2, msg, seq_type=list)
File "/usr/share/miniconda3/envs/test3.7/lib/python3.7/unittest/case.py", line 1040, in assertSequenceEqual
self.fail(msg)
File "/usr/share/miniconda3/envs/test3.7/lib/python3.7/unittest/case.py", line 693, in fail
raise self.failureException(msg)
AssertionError: Lists differ: [b'* [330 chars]945981', b'* LONGITUDE : -106.457133',[842 chars] b''] != [b'* [330 chars]945980', b'* LONGITUDE : -106.457130',[832 chars] b'']
First differing element 8:
b'* LATITUDE : 34.945981'
b'* LATITUDE : 34.945980'
First list contains 2 additional elements.
First extra element 36:
b''
Diff is 2012 characters long. Set self.maxDiff to None to see it.
Traceback (most recent call last):
File "/home/runner/work/obspy/obspy/obspy/clients/seedlink/tests/test_basic_client.py", line 44, in test_get_waveform
_test_offset_from_realtime(offset)
File "/home/runner/work/obspy/obspy/obspy/clients/seedlink/tests/test_basic_client.py", line 25, in _test_offset_from_realtime
st = self.client.get_waveforms(*request)
File "/home/runner/work/obspy/obspy/obspy/clients/seedlink/basic_client.py", line 149, in get_waveforms
return self._multiselect_request(multiselect, starttime, endtime)
File "/home/runner/work/obspy/obspy/obspy/clients/seedlink/basic_client.py", line 188, in _multiselect_request
self._slclient.run(packet_handler=self._packet_handler)
File "/home/runner/work/obspy/obspy/obspy/clients/seedlink/slclient.py", line 229, in run
slpack = self.slconn.collect()
File "/home/runner/work/obspy/obspy/obspy/clients/seedlink/client/seedlinkconnection.py", line 740, in collect
raise SeedLinkException(msg)
obspy.clients.seedlink.seedlinkexception.SeedLinkException: 'problems with the connection description'

Skipped tests (5)

Submodule Test Skip message
clients.fdsn obspy/clients/fdsn/tests/test_client.py::ClientTestCase::test_eida_token_resolution Skipped: Token is expired
clients.fdsn obspy/clients/fdsn/tests/test_client.py::ClientTestCase::test_trim_stream_after_get_waveform Skipped: data no longer available
clients.seedlink obspy/clients/seedlink/tests/test_slclient.py::SLClientTestCase::test_info Skipped: test must be started manually
clients.seedlink obspy/clients/seedlink/tests/test_slclient.py::SLClientTestCase::test_issue708 Skipped: test must be started manually
clients.seedlink obspy/clients/seedlink/tests/test_slclient.py::SLClientTestCase::test_time_window Skipped: test must be started manually

Slowest tests (20)

Runtime Test
43.215s obspy/clients/seedlink/basic_client.py::obspy.clients.seedlink.basic_client.Client.get_waveforms
42.579s obspy/clients/seedlink/tests/test_basic_client.py::ClientTestCase::test_multiple_waveform_requests_with_multiple_info_requests
41.120s obspy/clients/seedlink/basic_client.py::obspy.clients.seedlink.basic_client.Client.get_info
20.370s obspy/clients/seedlink/tests/test_basic_client.py::ClientTestCase::test_get_info
9.724s obspy/clients/fdsn/tests/test_client.py::ClientTestCase::test_dataselect_bulk
8.396s obspy/clients/fdsn/tests/test_client.py::ClientTestCase::test_irisph5_event
8.107s obspy/clients/syngine/tests/test_client.py::ClientTestCase::test_get_available_models
6.202s obspy/clients/fdsn/tests/test_client.py::ClientTestCase::test_iris_example_queries_dataselect
5.672s obspy/clients/fdsn/tests/test_client.py::ClientTestCase::test_iris_example_queries_dataselect_discover_services_false
4.344s obspy/clients/fdsn/tests/test_eidaws_routing_client.py::EIDAWSRoutingClientTestCase::test_get_waveforms_integration_test
4.220s obspy/clients/syngine/tests/test_client.py::ClientTestCase::test_get_waveforms
4.045s obspy/clients/fdsn/client.py::obspy.clients.fdsn.client.Client.get_waveforms_bulk
3.821s obspy/clients/syngine/__init__.py::obspy.clients.syngine
3.778s obspy/clients/fdsn/tests/test_client.py::ClientTestCase::test_redirection_auth
3.730s obspy/clients/fdsn/client.py::obspy.clients.fdsn.client.Client.get_waveforms
3.523s obspy/clients/fdsn/tests/test_client.py::ClientTestCase::test_redirection
3.115s obspy/clients/syngine/tests/test_client.py::ClientTestCase::test_source_mechanisms_mock
2.855s obspy/clients/fdsn/tests/test_federator_routing_client.py::FederatorRoutingClientTestCase::test_get_waveforms_integration_test
2.830s obspy/clients/fdsn/tests/test_eidaws_routing_client.py::EIDAWSRoutingClientTestCase::test_get_stations_integration_test
2.758s obspy/clients/fdsn/__init__.py::obspy.clients.fdsn

Warnings (12)

Stage Filename Category Message
runtest /home/runner/work/obspy/obspy/obspy/clients/fdsn/tests/test_federator_routing_client.py:37 DeprecationWarning distutils Version classes are deprecated. Use packaging.version instead.
runtest /home/runner/work/obspy/obspy/obspy/io/mseed/util.py:837 DeprecationWarning "get_data" is deprecated. Use "data" instead
collect /home/runner/work/obspy/obspy/obspy/io/css/core.py:21 DeprecationWarning `np.int` is a deprecated alias for the builtin `int`. To silence this warning, use `int` by itself. Doing this will not modify any behavior and is safe. When replacing `np.int`, you may wish to use e.g. `np.int64` or `np.int32` to specify the precision. If you wish to review your current use, check the release note link for additional information. Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
runtest /home/runner/work/obspy/obspy/obspy/clients/fdsn/tests/test_eidaws_routing_client.py:38 DeprecationWarning distutils Version classes are deprecated. Use packaging.version instead.
collect /home/runner/work/obspy/obspy/obspy/signal/spectral_estimation.py:1045 DeprecationWarning `np.bool` is a deprecated alias for the builtin `bool`. To silence this warning, use `bool` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.bool_` here. Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
runtest /home/runner/work/obspy/obspy/obspy/clients/fdsn/wadl_parser.py:107 UserWarning The 'event' service at 'http://service.iris.edu/ph5/event/1/' cannot deal with the following required parameters: mindepth, maxdepth, orderby They will not be available for any requests. Any attempt to use them will result in an error.
collect /home/runner/work/obspy/obspy/obspy/io/css/core.py:22 DeprecationWarning `np.int` is a deprecated alias for the builtin `int`. To silence this warning, use `int` by itself. Doing this will not modify any behavior and is safe. When replacing `np.int`, you may wish to use e.g. `np.int64` or `np.int32` to specify the precision. If you wish to review your current use, check the release note link for additional information. Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
collect /home/runner/work/obspy/obspy/obspy/imaging/maps.py:66 UserWarning Neither basemap nor cartopy installed, map plots will not work.
runtest /home/runner/work/obspy/obspy/obspy/clients/fdsn/tests/test_eidaws_routing_client.py:37 DeprecationWarning distutils Version classes are deprecated. Use packaging.version instead.
runtest /home/runner/work/obspy/obspy/obspy/io/mseed/core.py:1009 DeprecationWarning "get_data" is deprecated. Use "data" instead
collect /home/runner/work/obspy/obspy/obspy/clients/arclink/__init__.py:31 ObsPyDeprecationWarning ArcLink protocol has been officially deprecated and some main servers have been shut down already. Please consider using other methods like FDSN web services to fetch data. ArcLink functionality is now untested in ObsPy.
runtest /home/runner/work/obspy/obspy/obspy/clients/fdsn/tests/test_federator_routing_client.py:36 DeprecationWarning distutils Version classes are deprecated. Use packaging.version instead.