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

Report

ObsPy version
0.0.0.dev+0.g2969efc1d5
GitHub Pull Request
-
Report file
JSON document
Total runtime
304.5 sec
Report date/time
Jan. 19, 2022, 12:46 p.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.10.2
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.22.0
obspy
0.0.0.dev+0.g2969efc1d5
pyproj
3.3.0
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 1 1
obspy.clients.fdsn 1 2
obspy.clients.filesystem Not tested -
obspy.clients.iris 4 3 4 5 6
obspy.clients.neic - -
obspy.clients.nrl - -
obspy.clients.seedlink 1 7
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 7 7

Tracebacks (7)

020 >>> client = Client("pubavo1.wr.usgs.gov", 16022)
021 >>> response = client.get_availability('AV', 'KCG', channel='EHE')
022 >>> print(response) # doctest: +SKIP
023 [('AV',
024 'ACH',
025 '--',
026 'BHE',
027 UTCDateTime(2020, 4, 30, 12, 2, 27, 473000),
028 UTCDateTime(2020, 6, 29, 12, 2, 16, 899000)]
029 >>> t = response[0][4]
UNEXPECTED EXCEPTION: IndexError('list index out of range')
Traceback (most recent call last):
File "/usr/share/miniconda3/envs/test3.10/lib/python3.10/doctest.py", line 1346, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.clients.earthworm[4]>", line 1, in <module>
IndexError: list index out of range
/home/runner/work/obspy/obspy/obspy/clients/earthworm/__init__.py:29: UnexpectedException
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 866, in download_mseed
pool.map(
File "/usr/share/miniconda3/envs/test3.10/lib/python3.10/multiprocessing/pool.py", line 364, in map
return self._map_async(func, iterable, mapstar, chunksize).get()
File "/usr/share/miniconda3/envs/test3.10/lib/python3.10/multiprocessing/pool.py", line 771, in get
raise self._value
File "/usr/share/miniconda3/envs/test3.10/lib/python3.10/multiprocessing/pool.py", line 125, in worker
result = (True, func(*args, **kwds))
File "/usr/share/miniconda3/envs/test3.10/lib/python3.10/multiprocessing/pool.py", line 48, in mapstar
return list(map(*args))
File "/home/runner/work/obspy/obspy/obspy/clients/fdsn/mass_downloader/download_helpers.py", line 852, in star_download_mseed
ret_val = utils.download_and_split_mseed_bulk(
File "/usr/share/miniconda3/envs/test3.10/lib/python3.10/unittest/mock.py", line 1104, in __call__
return self._mock_call(*args, **kwargs)
File "/usr/share/miniconda3/envs/test3.10/lib/python3.10/unittest/mock.py", line 1108, in _mock_call
return self._execute_mock_call(*args, **kwargs)
File "/usr/share/miniconda3/envs/test3.10/lib/python3.10/unittest/mock.py", line 1163, in _execute_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-19T18:42:39
* 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 185, in test_evalresp
self.assertEqual(fp.readline(),
File "/usr/share/miniconda3/envs/test3.10/lib/python3.10/unittest/case.py", line 845, in assertEqual
assertion_func(first, second, msg=msg)
File "/usr/share/miniconda3/envs/test3.10/lib/python3.10/unittest/case.py", line 1226, in assertMultiLineEqual
self.fail(self._formatMessage(msg, standardMsg))
File "/usr/share/miniconda3/envs/test3.10/lib/python3.10/unittest/case.py", line 675, 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.10/lib/python3.10/urllib/request.py", line 216, in urlopen
return opener.open(url, data, timeout)
File "/usr/share/miniconda3/envs/test3.10/lib/python3.10/urllib/request.py", line 525, in open
response = meth(req, response)
File "/usr/share/miniconda3/envs/test3.10/lib/python3.10/urllib/request.py", line 634, in http_response
response = self.parent.error(
File "/usr/share/miniconda3/envs/test3.10/lib/python3.10/urllib/request.py", line 563, in error
return self._call_chain(*args)
File "/usr/share/miniconda3/envs/test3.10/lib/python3.10/urllib/request.py", line 496, in _call_chain
result = func(*args)
File "/usr/share/miniconda3/envs/test3.10/lib/python3.10/urllib/request.py", line 643, 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.10/lib/python3.10/unittest/case.py", line 845, in assertEqual
assertion_func(first, second, msg=msg)
File "/usr/share/miniconda3/envs/test3.10/lib/python3.10/unittest/case.py", line 1051, in assertListEqual
self.assertSequenceEqual(list1, list2, msg, seq_type=list)
File "/usr/share/miniconda3/envs/test3.10/lib/python3.10/unittest/case.py", line 1033, in assertSequenceEqual
self.fail(msg)
File "/usr/share/miniconda3/envs/test3.10/lib/python3.10/unittest/case.py", line 675, 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
45.826s obspy/clients/seedlink/basic_client.py::obspy.clients.seedlink.basic_client.Client.get_waveforms
44.598s obspy/clients/seedlink/tests/test_basic_client.py::ClientTestCase::test_multiple_waveform_requests_with_multiple_info_requests
41.911s obspy/clients/seedlink/basic_client.py::obspy.clients.seedlink.basic_client.Client.get_info
23.385s obspy/clients/fdsn/tests/test_eidaws_routing_client.py::EIDAWSRoutingClientTestCase::test_get_waveforms_integration_test
20.638s obspy/clients/seedlink/tests/test_basic_client.py::ClientTestCase::test_get_info
8.228s obspy/clients/fdsn/tests/test_client.py::ClientTestCase::test_irisph5_event
8.124s obspy/clients/syngine/tests/test_client.py::ClientTestCase::test_get_available_models
8.108s obspy/clients/fdsn/tests/test_client.py::ClientTestCase::test_dataselect_bulk
5.125s obspy/clients/fdsn/tests/test_client.py::ClientTestCase::test_iris_example_queries_dataselect
4.879s obspy/clients/fdsn/tests/test_client.py::ClientTestCase::test_iris_example_queries_dataselect_discover_services_false
4.255s obspy/clients/fdsn/tests/test_eidaws_routing_client.py::EIDAWSRoutingClientTestCase::test_get_stations_integration_test
3.022s obspy/clients/fdsn/client.py::obspy.clients.fdsn.client.Client.get_waveforms_bulk
2.800s obspy/clients/syngine/tests/test_client.py::ClientTestCase::test_get_waveforms
2.799s obspy/clients/fdsn/client.py::obspy.clients.fdsn.client.Client.get_waveforms
2.345s obspy/clients/fdsn/__init__.py::obspy.clients.fdsn
2.027s obspy/clients/fdsn/tests/test_federator_routing_client.py::FederatorRoutingClientTestCase::test_get_waveforms_integration_test
1.893s obspy/clients/syngine/__init__.py::obspy.clients.syngine
1.805s obspy/clients/fdsn/mass_downloader/__init__.py::obspy.clients.fdsn.mass_downloader
1.627s obspy/clients/fdsn/tests/test_client.py::ClientTestCase::test_redirection_auth
1.625s obspy/clients/fdsn/tests/test_client.py::ClientTestCase::test_redirection

Warnings (4)

Stage Filename Category Message
runtest /home/runner/work/obspy/obspy/obspy/io/mseed/util.py:837 DeprecationWarning "get_data" is deprecated. Use "data" instead
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/imaging/maps.py:35 UserWarning Cartopy not installed, map plots will not work.
collect /home/runner/work/obspy/obspy/obspy/clients/arclink/__init__.py:34 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.