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

Report

ObsPy version
0.0.0.dev+0.g0ee5a0d2db
GitHub Pull Request
-
Report file
JSON document
Total runtime
313.5 sec
Report date/time
2022-01-14 07:47:20

System / Python

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

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.g0ee5a0d2db
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 "d:\a\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 0x0000025280FC72C8>)
Traceback (most recent call last):
File "d:\a\obspy\obspy\obspy\clients\earthworm\tests\test_client.py", line 110, in test_get_waveform_no_cleanup
delta = ew_stream[0].stats.delta
File "d:\a\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 "d:\a\obspy\obspy\obspy\clients\earthworm\tests\test_client.py", line 131, in test_get_waveform_widlcard
delta = stream[0].stats.delta
File "d:\a\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 "d:\a\obspy\obspy\obspy\clients\earthworm\tests\test_client.py", line 163, in test_save_waveform
format="SLIST",
File "d:\a\obspy\obspy\obspy\clients\earthworm\client.py", line 163, in save_waveforms
st.write(filename, format=format)
File "d:\a\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 "d:\a\obspy\obspy\obspy\clients\fdsn\tests\test_mass_downloader.py", line 2181, in test_download_mseed
c.download_mseed()
File "d:\a\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 "C:\Miniconda3\envs\test3.7\lib\multiprocessing\pool.py", line 268, in map
return self._map_async(func, iterable, mapstar, chunksize).get()
File "C:\Miniconda3\envs\test3.7\lib\multiprocessing\pool.py", line 657, in get
raise self._value
File "C:\Miniconda3\envs\test3.7\lib\multiprocessing\pool.py", line 121, in worker
result = (True, func(*args, **kwds))
File "C:\Miniconda3\envs\test3.7\lib\multiprocessing\pool.py", line 44, in mapstar
return list(map(*args))
File "d:\a\obspy\obspy\obspy\clients\fdsn\mass_downloader\download_helpers.py", line 854, in star_download_mseed
*args, logger=self.logger)
File "C:\Miniconda3\envs\test3.7\lib\unittest\mock.py", line 1016, in __call__
return _mock_self._mock_call(*args, **kwargs)
File "C:\Miniconda3\envs\test3.7\lib\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-14T13:43:52
* 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>
d:\a\obspy\obspy\obspy\clients\iris\client.py:483: DocTestFailure
Traceback (most recent call last):
File "d:\a\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 "C:\Miniconda3\envs\test3.7\lib\unittest\case.py", line 852, in assertEqual
assertion_func(first, second, msg=msg)
File "C:\Miniconda3\envs\test3.7\lib\unittest\case.py", line 1233, in assertMultiLineEqual
self.fail(self._formatMessage(msg, standardMsg))
File "C:\Miniconda3\envs\test3.7\lib\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 "d:\a\obspy\obspy\obspy\clients\iris\client.py", line 437, in resp
data = self._fetch("resp", **kwargs)
File "d:\a\obspy\obspy\obspy\clients\iris\client.py", line 124, in _fetch
response = urllib_request.urlopen(req, timeout=self.timeout)
File "C:\Miniconda3\envs\test3.7\lib\urllib\request.py", line 222, in urlopen
return opener.open(url, data, timeout)
File "C:\Miniconda3\envs\test3.7\lib\urllib\request.py", line 531, in open
response = meth(req, response)
File "C:\Miniconda3\envs\test3.7\lib\urllib\request.py", line 641, in http_response
'http', request, response, code, msg, hdrs)
File "C:\Miniconda3\envs\test3.7\lib\urllib\request.py", line 569, in error
return self._call_chain(*args)
File "C:\Miniconda3\envs\test3.7\lib\urllib\request.py", line 503, in _call_chain
result = func(*args)
File "C:\Miniconda3\envs\test3.7\lib\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 "d:\a\obspy\obspy\obspy\clients\iris\tests\test_client.py", line 238, in test_resp
result = client.resp("UW", "LON", "", "EHZ")
File "d:\a\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 "d:\a\obspy\obspy\obspy\clients\iris\tests\test_client.py", line 42, in test_sacpz
self.assertEqual(result, expected)
File "C:\Miniconda3\envs\test3.7\lib\unittest\case.py", line 852, in assertEqual
assertion_func(first, second, msg=msg)
File "C:\Miniconda3\envs\test3.7\lib\unittest\case.py", line 1058, in assertListEqual
self.assertSequenceEqual(list1, list2, msg, seq_type=list)
File "C:\Miniconda3\envs\test3.7\lib\unittest\case.py", line 1040, in assertSequenceEqual
self.fail(msg)
File "C:\Miniconda3\envs\test3.7\lib\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 "d:\a\obspy\obspy\obspy\clients\seedlink\tests\test_basic_client.py", line 44, in test_get_waveform
_test_offset_from_realtime(offset)
File "d:\a\obspy\obspy\obspy\clients\seedlink\tests\test_basic_client.py", line 25, in _test_offset_from_realtime
st = self.client.get_waveforms(*request)
File "d:\a\obspy\obspy\obspy\clients\seedlink\basic_client.py", line 149, in get_waveforms
return self._multiselect_request(multiselect, starttime, endtime)
File "d:\a\obspy\obspy\obspy\clients\seedlink\basic_client.py", line 188, in _multiselect_request
self._slclient.run(packet_handler=self._packet_handler)
File "d:\a\obspy\obspy\obspy\clients\seedlink\slclient.py", line 229, in run
slpack = self.slconn.collect()
File "d:\a\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
45.650s obspy/clients/seedlink/basic_client.py::obspy.clients.seedlink.basic_client.Client.get_waveforms
44.549s obspy/clients/seedlink/tests/test_basic_client.py::ClientTestCase::test_multiple_waveform_requests_with_multiple_info_requests
42.019s obspy/clients/seedlink/basic_client.py::obspy.clients.seedlink.basic_client.Client.get_info
20.626s obspy/clients/seedlink/tests/test_basic_client.py::ClientTestCase::test_get_info
9.086s obspy/clients/fdsn/tests/test_client.py::ClientTestCase::test_irisph5_event
8.026s obspy/clients/syngine/tests/test_client.py::ClientTestCase::test_get_available_models
7.886s obspy/clients/fdsn/tests/test_client.py::ClientTestCase::test_dataselect_bulk
5.026s obspy/clients/fdsn/tests/test_client.py::ClientTestCase::test_iris_example_queries_dataselect_discover_services_false
4.956s obspy/clients/fdsn/tests/test_client.py::ClientTestCase::test_iris_example_queries_dataselect
3.928s obspy/clients/fdsn/tests/test_eidaws_routing_client.py::EIDAWSRoutingClientTestCase::test_get_waveforms_integration_test
2.919s obspy/clients/fdsn/tests/test_eidaws_routing_client.py::EIDAWSRoutingClientTestCase::test_get_stations_integration_test
2.850s obspy/clients/syngine/tests/test_client.py::ClientTestCase::test_get_waveforms
2.480s obspy/clients/fdsn/client.py::obspy.clients.fdsn.client.Client.get_waveforms_bulk
2.351s obspy/clients/fdsn/tests/test_client.py::ClientTestCase::test_redirection
2.175s obspy/clients/fdsn/client.py::obspy.clients.fdsn.client.Client.get_waveforms
1.969s obspy/clients/fdsn/tests/test_mass_downloader.py::DownloadHelperTestCase::test_download_method
1.929s obspy/clients/syngine/__init__.py::obspy.clients.syngine
1.870s obspy/clients/fdsn/tests/test_federator_routing_client.py::FederatorRoutingClientTestCase::test_get_waveforms_integration_test
1.857s obspy/clients/fdsn/__init__.py::obspy.clients.fdsn
1.765s obspy/clients/fdsn/mass_downloader/__init__.py::obspy.clients.fdsn.mass_downloader

Warnings (12)

Stage Filename Category Message
collect d:\a\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
runtest d:\a\obspy\obspy\obspy\clients\fdsn\tests\test_federator_routing_client.py:36 DeprecationWarning distutils Version classes are deprecated. Use packaging.version instead.
collect d:\a\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 d:\a\obspy\obspy\obspy\io\mseed\util.py:837 DeprecationWarning "get_data" is deprecated. Use "data" instead
runtest d:\a\obspy\obspy\obspy\clients\fdsn\tests\test_eidaws_routing_client.py:37 DeprecationWarning distutils Version classes are deprecated. Use packaging.version instead.
runtest d:\a\obspy\obspy\obspy\clients\fdsn\tests\test_federator_routing_client.py:37 DeprecationWarning distutils Version classes are deprecated. Use packaging.version instead.
collect d:\a\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
collect d:\a\obspy\obspy\obspy\imaging\maps.py:66 UserWarning Neither basemap nor cartopy installed, map plots will not work.
runtest d:\a\obspy\obspy\obspy\io\mseed\core.py:1009 DeprecationWarning "get_data" is deprecated. Use "data" instead
collect d:\a\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 d:\a\obspy\obspy\obspy\clients\fdsn\tests\test_eidaws_routing_client.py:38 DeprecationWarning distutils Version classes are deprecated. Use packaging.version instead.
runtest d:\a\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.

Chuck Norris fact

When Chuck Norris break the build, you can't fix it, because there is not a single line of code left.