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

Report

ObsPy version
0.0.0.dev+0.g8c838cc6a5
GitHub Pull Request
-
Report file
JSON document
Total runtime
605.4 sec
Report date/time
Jan. 18, 2022, 2:31 p.m.

System / Python

Architecture
64bit
Machine
x86_64
Node
gh-actions
Processor
i386
Python Compiler
Clang 11.1.0
Python Implementation
CPython
Python Version
3.7.12
Release
20.6.0
System
Darwin
Version
Darwin Kernel Version 20.6.0: Wed Nov 10 22:23:07 PST 2021; root:xnu-7195.141.14~1/RELEASE_X86_64

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.g8c838cc6a5
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 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 "/Users/runner/miniconda3/envs/test3.7/lib/python3.7/doctest.py", line 1337, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.earthworm[4]>", line 1, in <module>
IndexError: list index out of range
/Users/runner/work/obspy/obspy/obspy/clients/earthworm/__init__.py:29: UnexpectedException
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/clients/fdsn/tests/test_mass_downloader.py", line 2181, in test_download_mseed
c.download_mseed()
File "/Users/runner/work/obspy/obspy/obspy/clients/fdsn/mass_downloader/download_helpers.py", line 868, in download_mseed
[(self.client, self.client_name, chunk) for chunk in chunks])
File "/Users/runner/miniconda3/envs/test3.7/lib/python3.7/multiprocessing/pool.py", line 268, in map
return self._map_async(func, iterable, mapstar, chunksize).get()
File "/Users/runner/miniconda3/envs/test3.7/lib/python3.7/multiprocessing/pool.py", line 657, in get
raise self._value
File "/Users/runner/miniconda3/envs/test3.7/lib/python3.7/multiprocessing/pool.py", line 121, in worker
result = (True, func(*args, **kwds))
File "/Users/runner/miniconda3/envs/test3.7/lib/python3.7/multiprocessing/pool.py", line 44, in mapstar
return list(map(*args))
File "/Users/runner/work/obspy/obspy/obspy/clients/fdsn/mass_downloader/download_helpers.py", line 853, in star_download_mseed
*args, logger=self.logger)
File "/Users/runner/miniconda3/envs/test3.7/lib/python3.7/unittest/mock.py", line 1016, in __call__
return _mock_self._mock_call(*args, **kwargs)
File "/Users/runner/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-18T20:28:02
* 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>
/Users/runner/work/obspy/obspy/obspy/clients/iris/client.py:483: DocTestFailure
Traceback (most recent call last):
File "/Users/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 "/Users/runner/miniconda3/envs/test3.7/lib/python3.7/unittest/case.py", line 852, in assertEqual
assertion_func(first, second, msg=msg)
File "/Users/runner/miniconda3/envs/test3.7/lib/python3.7/unittest/case.py", line 1233, in assertMultiLineEqual
self.fail(self._formatMessage(msg, standardMsg))
File "/Users/runner/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 "/Users/runner/work/obspy/obspy/obspy/clients/iris/client.py", line 437, in resp
data = self._fetch("resp", **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/clients/iris/client.py", line 124, in _fetch
response = urllib_request.urlopen(req, timeout=self.timeout)
File "/Users/runner/miniconda3/envs/test3.7/lib/python3.7/urllib/request.py", line 222, in urlopen
return opener.open(url, data, timeout)
File "/Users/runner/miniconda3/envs/test3.7/lib/python3.7/urllib/request.py", line 531, in open
response = meth(req, response)
File "/Users/runner/miniconda3/envs/test3.7/lib/python3.7/urllib/request.py", line 641, in http_response
'http', request, response, code, msg, hdrs)
File "/Users/runner/miniconda3/envs/test3.7/lib/python3.7/urllib/request.py", line 569, in error
return self._call_chain(*args)
File "/Users/runner/miniconda3/envs/test3.7/lib/python3.7/urllib/request.py", line 503, in _call_chain
result = func(*args)
File "/Users/runner/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 "/Users/runner/work/obspy/obspy/obspy/clients/iris/tests/test_client.py", line 238, in test_resp
result = client.resp("UW", "LON", "", "EHZ")
File "/Users/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 "/Users/runner/work/obspy/obspy/obspy/clients/iris/tests/test_client.py", line 42, in test_sacpz
self.assertEqual(result, expected)
File "/Users/runner/miniconda3/envs/test3.7/lib/python3.7/unittest/case.py", line 852, in assertEqual
assertion_func(first, second, msg=msg)
File "/Users/runner/miniconda3/envs/test3.7/lib/python3.7/unittest/case.py", line 1058, in assertListEqual
self.assertSequenceEqual(list1, list2, msg, seq_type=list)
File "/Users/runner/miniconda3/envs/test3.7/lib/python3.7/unittest/case.py", line 1040, in assertSequenceEqual
self.fail(msg)
File "/Users/runner/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 "/Users/runner/work/obspy/obspy/obspy/clients/seedlink/tests/test_basic_client.py", line 44, in test_get_waveform
_test_offset_from_realtime(offset)
File "/Users/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 "/Users/runner/work/obspy/obspy/obspy/clients/seedlink/basic_client.py", line 149, in get_waveforms
return self._multiselect_request(multiselect, starttime, endtime)
File "/Users/runner/work/obspy/obspy/obspy/clients/seedlink/basic_client.py", line 188, in _multiselect_request
self._slclient.run(packet_handler=self._packet_handler)
File "/Users/runner/work/obspy/obspy/obspy/clients/seedlink/slclient.py", line 229, in run
slpack = self.slconn.collect()
File "/Users/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
225.125s obspy/clients/fdsn/tests/test_eidaws_routing_client.py::EIDAWSRoutingClientTestCase::test_get_waveforms_integration_test
43.676s obspy/clients/seedlink/basic_client.py::obspy.clients.seedlink.basic_client.Client.get_waveforms
43.506s obspy/clients/seedlink/tests/test_basic_client.py::ClientTestCase::test_multiple_waveform_requests_with_multiple_info_requests
41.979s obspy/clients/seedlink/basic_client.py::obspy.clients.seedlink.basic_client.Client.get_info
37.977s obspy/clients/fdsn/tests/test_eidaws_routing_client.py::EIDAWSRoutingClientTestCase::test_get_stations_integration_test
20.898s obspy/clients/seedlink/tests/test_basic_client.py::ClientTestCase::test_get_info
20.339s obspy/clients/fdsn/tests/test_eidaws_routing_client.py::EIDAWSRoutingClientTestCase::test_proper_no_data_exception_on_out_of_epoch_dates
10.744s obspy/clients/fdsn/tests/test_client.py::ClientTestCase::test_dataselect_bulk
9.427s obspy/clients/fdsn/tests/test_client.py::ClientTestCase::test_irisph5_event
7.999s obspy/clients/syngine/tests/test_client.py::ClientTestCase::test_get_available_models
6.314s obspy/clients/fdsn/tests/test_client.py::ClientTestCase::test_iris_example_queries_dataselect
6.249s obspy/clients/fdsn/tests/test_client.py::ClientTestCase::test_iris_example_queries_dataselect_discover_services_false
4.220s obspy/clients/fdsn/tests/test_client.py::ClientTestCase::test_redirection_auth
3.902s obspy/clients/syngine/tests/test_client.py::ClientTestCase::test_get_waveforms
3.493s obspy/clients/syngine/__init__.py::obspy.clients.syngine
3.454s obspy/clients/fdsn/client.py::obspy.clients.fdsn.client.Client.get_waveforms_bulk
3.206s obspy/clients/fdsn/tests/test_client.py::ClientTestCase::test_redirection
3.196s obspy/clients/fdsn/client.py::obspy.clients.fdsn.client.Client.get_waveforms
2.557s obspy/clients/fdsn/tests/test_federator_routing_client.py::FederatorRoutingClientTestCase::test_get_waveforms_integration_test
2.294s obspy/clients/fdsn/__init__.py::obspy.clients.fdsn

Warnings (4)

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