#132405 Report by node gh-actions covering 201 tests from 60 modules resulted into 5 errors

Report

ObsPy version
1.2.0rc3.post0+1473.g49b8b411…
GitHub Pull Request
-
Report file
JSON document
Total runtime
151.5 sec
Report date/time
Jan. 9, 2023, 9:50 a.m.

System / Python

Architecture
64bit
Machine
x86_64
Node
gh-actions
Processor
x86_64
Python Compiler
GCC 10.4.0
Python Implementation
CPython
Python Version
3.11.0
Release
5.15.0-1024-azure
System
Linux
Version
#30-Ubuntu SMP Wed Nov 16 23:37:59 UTC 2022

Dependencies

cartopy
0.21.1
decorator
5.1.1
flake8
---
geographiclib
2.0
lxml
4.9.2
matplotlib
3.6.2
numpy
1.24.1
obspy
1.2.0rc3.post0+1473.g49b8b411ff.flixha.master
pyproj
3.4.1
pytest
7.2.0
pytest-json-report
1.5.0
requests
2.28.1
scipy
1.10.0
setuptools
65.6.3
shapefile
---
sqlalchemy
1.4.46

Modules (60)

Module Errors / Failures Tracebacks
obspy.clients Not tested -
obspy.clients.earthworm - -
obspy.clients.fdsn 4 1 2 3 4
obspy.clients.filesystem Not tested -
obspy.clients.iris 1 5
obspy.clients.neic - -
obspy.clients.nrl - -
obspy.clients.seedlink - -
obspy.clients.syngine - -
obspy.core - -
obspy.core.event Not tested -
obspy.core.inventory Not tested -
obspy.core.util Not tested -
obspy.geodetics Not tested -
obspy.imaging Not tested -
obspy.io.ah Not tested -
obspy.io.alsep 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 5 5

Tracebacks (5)

Traceback (most recent call last):
File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/tests/test_client.py", line 862, in test_help_function_with_iris
self.assertTrue(got[-2].startswith('Available catalogs:'))
File "/usr/share/miniconda3/envs/test/lib/python3.11/unittest/case.py", line 715, in assertTrue
raise self.failureException(msg)
AssertionError: False is not true
Traceback (most recent call last):
File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/tests/test_client.py", line 412, in test_iris_event_catalog_availability
self.assertEqual(set(self.client.services["available_event_catalogs"]),
File "/usr/share/miniconda3/envs/test/lib/python3.11/unittest/case.py", line 873, in assertEqual
assertion_func(first, second, msg=msg)
File "/usr/share/miniconda3/envs/test/lib/python3.11/unittest/case.py", line 1133, in assertSetEqual
self.fail(self._formatMessage(msg, standardMsg))
File "/usr/share/miniconda3/envs/test/lib/python3.11/unittest/case.py", line 703, in fail
raise self.failureException(msg)
AssertionError: Items in the first set but not the second:
'ISC\n '
'NEIC PDE\n '
'GCMT\n '
Items in the second set but not the first:
'GCMT'
'ISC'
'NEIC PDE'
Traceback (most recent call last):
File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/tests/test_client.py", line 532, in test_iris_example_queries_station
inv = client.get_stations(latitude=-56.1, longitude=-26.7,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/client.py", line 756, in get_stations
inventory = read_inventory(data_stream, format='STATIONXML')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 297, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 624, in _generic_reader
generic = callback_func(pathname_or_url, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 142, in uncompress_file
return func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 423, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/stationxml/core.py", line 152, in _read_stationxml
root = etree.parse(path_or_file_object).getroot()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "src/lxml/etree.pyx", line 3541, in lxml.etree.parse
File "src/lxml/parser.pxi", line 1896, in lxml.etree._parseDocument
File "src/lxml/parser.pxi", line 1916, in lxml.etree._parseMemoryDocument
File "src/lxml/parser.pxi", line 1803, in lxml.etree._parseDoc
File "src/lxml/parser.pxi", line 1144, in lxml.etree._BaseParser._parseDoc
File "src/lxml/parser.pxi", line 618, in lxml.etree._ParserContext._handleParseResultDoc
File "src/lxml/parser.pxi", line 728, in lxml.etree._handleParseResult
File "src/lxml/parser.pxi", line 657, in lxml.etree._raiseParseError
File "<string>", line 1
lxml.etree.XMLSyntaxError: Start tag expected, '<' not found, line 1, column 1
Traceback (most recent call last):
File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/tests/test_client.py", line 767, in test_iris_example_queries_station_discover_services_false
inv = client.get_stations(
^^^^^^^^^^^^^^^^^^^^
File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/client.py", line 756, in get_stations
inventory = read_inventory(data_stream, format='STATIONXML')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 297, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 624, in _generic_reader
generic = callback_func(pathname_or_url, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 142, in uncompress_file
return func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 423, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/stationxml/core.py", line 152, in _read_stationxml
root = etree.parse(path_or_file_object).getroot()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "src/lxml/etree.pyx", line 3541, in lxml.etree.parse
File "src/lxml/parser.pxi", line 1896, in lxml.etree._parseDocument
File "src/lxml/parser.pxi", line 1916, in lxml.etree._parseMemoryDocument
File "src/lxml/parser.pxi", line 1803, in lxml.etree._parseDoc
File "src/lxml/parser.pxi", line 1144, in lxml.etree._BaseParser._parseDoc
File "src/lxml/parser.pxi", line 618, in lxml.etree._ParserContext._handleParseResultDoc
File "src/lxml/parser.pxi", line 728, in lxml.etree._handleParseResult
File "src/lxml/parser.pxi", line 657, in lxml.etree._raiseParseError
File "<string>", line 1
lxml.etree.XMLSyntaxError: Start tag expected, '<' not found, line 1, column 1
300 .. rubric:: Example
301
302 >>> from obspy.clients.iris import Client
303 >>> from obspy import UTCDateTime
304 >>> dt = UTCDateTime("2005-01-01T00:00:00")
305 >>> client = Client()
306 >>> st = client.timeseries("IU", "ANMO", "00", "BHZ", dt, dt+10)
307 >>> print(st[0].data) # doctest: +ELLIPSIS
308 [ 24 20 19 19 19 15 10 4 -4 -11 ...
309 >>> st = client.timeseries("IU", "ANMO", "00", "BHZ", dt, dt+10,
UNEXPECTED EXCEPTION: Exception('No waveform data available (HTTPError: HTTP Error 500: )')
Traceback (most recent call last):
File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/iris/client.py", line 331, in timeseries
data = self._fetch("timeseries", param_list=filter, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/iris/client.py", line 124, in _fetch
response = urllib_request.urlopen(req, timeout=self.timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/share/miniconda3/envs/test/lib/python3.11/urllib/request.py", line 216, in urlopen
return opener.open(url, data, timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/share/miniconda3/envs/test/lib/python3.11/urllib/request.py", line 525, in open
response = meth(req, response)
^^^^^^^^^^^^^^^^^^^
File "/usr/share/miniconda3/envs/test/lib/python3.11/urllib/request.py", line 634, in http_response
response = self.parent.error(
^^^^^^^^^^^^^^^^^^
File "/usr/share/miniconda3/envs/test/lib/python3.11/urllib/request.py", line 563, in error
return self._call_chain(*args)
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/share/miniconda3/envs/test/lib/python3.11/urllib/request.py", line 496, in _call_chain
result = func(*args)
^^^^^^^^^^^
File "/usr/share/miniconda3/envs/test/lib/python3.11/urllib/request.py", line 643, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 500:
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/share/miniconda3/envs/test/lib/python3.11/doctest.py", line 1350, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.clients.iris.client.Client.timeseries[6]>", line 1, in <module>
File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/iris/client.py", line 335, in timeseries
raise Exception(msg)
Exception: No waveform data available (HTTPError: HTTP Error 500: )
/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/iris/client.py:309: UnexpectedException

Skipped tests (5)

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

Slowest tests (20)

Runtime Test
14.522s clients/fdsn/tests/test_eidaws_routing_client.py::EIDAWSRoutingClientTestCase::test_get_waveforms_integration_test
8.539s clients/syngine/tests/test_client.py::ClientTestCase::test_get_available_models
8.476s clients/fdsn/tests/test_client.py::ClientTestCase::test_irisph5_event
7.332s clients/fdsn/tests/test_client.py::ClientTestCase::test_dataselect_bulk
6.240s clients/fdsn/tests/test_client.py::ClientTestCase::test_iris_example_queries_dataselect_discover_services_false
5.592s clients/fdsn/tests/test_client.py::ClientTestCase::test_iris_example_queries_dataselect
5.430s clients/fdsn/tests/test_eidaws_routing_client.py::EIDAWSRoutingClientTestCase::test_get_stations_integration_test
4.365s clients/syngine/tests/test_client.py::ClientTestCase::test_get_waveforms
3.793s clients/seedlink/basic_client.py::obspy.clients.seedlink.basic_client.Client.get_waveforms
3.610s clients/fdsn/client.py::obspy.clients.fdsn.client.Client.get_waveforms
3.558s clients/seedlink/tests/test_basic_client.py::ClientTestCase::test_multiple_waveform_requests_with_multiple_info_requests
3.458s clients/syngine/__init__.py::obspy.clients.syngine
3.025s clients/fdsn/tests/test_client.py::ClientTestCase::test_redirection
2.968s clients/fdsn/client.py::obspy.clients.fdsn.client.Client.get_waveforms_bulk
2.854s clients/fdsn/__init__.py::obspy.clients.fdsn
2.701s clients/fdsn/tests/test_client.py::ClientTestCase::test_redirection_auth
2.202s clients/iris/tests/test_client.py::ClientTestCase::test_evalresp
1.973s core/tests/test_stream.py::TestStream::test_read_url_via_network
1.929s clients/earthworm/tests/test_client.py::TestEWClient::test_get_waveform_widlcard
1.874s clients/fdsn/tests/test_client.py::ClientTestCase::test_get_waveform_attach_response

Warnings (1)

Stage Filename Category Message
collect /usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/filesystem/db.py:18 MovedIn20Warning Deprecated API features detected! These feature(s) are not compatible with SQLAlchemy 2.0. To prevent incompatible upgrades prior to updating applications, ensure requirements files are pinned to "sqlalchemy<2.0". Set environment variable SQLALCHEMY_WARN_20=1 to show all deprecation warnings. Set environment variable SQLALCHEMY_SILENCE_UBER_WARNING=1 to silence this message. (Background on SQLAlchemy 2.0 at: https://sqlalche.me/e/b8d9)