#132206 Report by node gh-actions covering 46 tests from 60 modules resulted into 2 errors

Report

ObsPy version
1.4.0.post0+53.gd0482f529d
GitHub Pull Request
https://github.com/obspy/obspy/pull/3245
Report file
JSON document
Total runtime
105.9 sec
Report date/time
Dec. 21, 2022, 6:35 a.m.

System / Python

Architecture
64bit
Machine
x86_64
Node
gh-actions
Processor
i386
Python Compiler
Clang 14.0.4
Python Implementation
CPython
Python Version
3.11.0
Release
21.6.0
System
Darwin
Version
Darwin Kernel Version 21.6.0: Sun Nov 6 23:31:16 PST 2022; root:xnu-8020.240.14~1/RELEASE_X86_64

Dependencies

cartopy
0.21.1
decorator
5.1.1
flake8
---
geographiclib
2.0
lxml
4.9.2
matplotlib
3.6.2
numpy
1.24.0
obspy
1.4.0.post0+53.gd0482f529d
pyproj
3.4.1
pytest
7.2.0
pytest-json-report
1.5.0
requests
2.28.1
scipy
1.9.3
setuptools
65.6.3
shapefile
---
sqlalchemy
1.4.45

Modules (60)

Module Errors / Failures Tracebacks
obspy.clients Not tested -
obspy.clients.earthworm - -
obspy.clients.fdsn 2 1 2
obspy.clients.filesystem Not tested -
obspy.clients.iris - -
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 2 2

Tracebacks (2)

606 The result is an :class:`~obspy.core.inventory.inventory.Inventory`
607 object which models a StationXML file.
608
609 The ``level`` argument determines the amount of returned information.
610 ``level="station"`` is useful for availability queries whereas
611 ``level="response"`` returns the full response information for the
612 requested channels. ``level`` can furthermore be set to ``"network"``
613 and ``"channel"``.
614
615 >>> inventory = client.get_stations(
UNEXPECTED EXCEPTION: XMLSyntaxError("Start tag expected, '<' not found, line 1, column 1")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1350, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.clients.fdsn.client.Client.get_stations[6]>", line 1, in <module>
File "/Users/runner/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 "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 297, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/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 "/Users/runner/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 "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 142, in uncompress_file
return func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/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 "/Users/runner/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 "/Users/runner/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
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/client.py:615: UnexpectedException
1093 - an open file handle (or file-like object) with the request
1094
1095 >>> client = Client("IRIS")
1096 >>> t1 = UTCDateTime("2010-02-27T06:30:00.000")
1097 >>> t2 = t1 + 1
1098 >>> t3 = t1 + 3
1099 >>> bulk = [("IU", "ANMO", "*", "BHZ", t1, t2),
1100 ... ("IU", "AFI", "1?", "BHE", t1, t3),
1101 ... ("GR", "GRA1", "*", "BH*", t2, t3)]
1102 >>> inv = client.get_stations_bulk(bulk)
UNEXPECTED EXCEPTION: XMLSyntaxError("Start tag expected, '<' not found, line 1, column 1")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1350, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.clients.fdsn.client.Client.get_stations_bulk[5]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/client.py", line 1259, in get_stations_bulk
inv = read_inventory(data_stream, format='STATIONXML')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 297, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/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 "/Users/runner/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 "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 142, in uncompress_file
return func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/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 "/Users/runner/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 "/Users/runner/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
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/client.py:1102: UnexpectedException

Slowest tests (20)

Runtime Test
3.956s clients/fdsn/client.py::obspy.clients.fdsn.client.Client.get_waveforms
3.852s core/tests/test_stream.py::TestStream::test_read_url_via_network
3.834s clients/syngine/__init__.py::obspy.clients.syngine
3.254s clients/seedlink/basic_client.py::obspy.clients.seedlink.basic_client.Client.get_waveforms
2.926s clients/nrl/client.py::obspy.clients.nrl.client.NRL.get_response
2.834s clients/fdsn/client.py::obspy.clients.fdsn.client.Client.get_waveforms_bulk
2.228s clients/fdsn/__init__.py::obspy.clients.fdsn
2.207s clients/syngine/client.py::obspy.clients.syngine.client.Client.get_waveforms_bulk
2.153s clients/earthworm/__init__.py::obspy.clients.earthworm
1.773s clients/syngine/client.py::obspy.clients.syngine.client.Client.get_waveforms
1.376s clients/seedlink/basic_client.py::obspy.clients.seedlink.basic_client.Client.get_info
1.231s clients/fdsn/mass_downloader/__init__.py::obspy.clients.fdsn.mass_downloader
1.160s clients/earthworm/client.py::obspy.clients.earthworm.client.Client.get_waveforms
1.069s clients/fdsn/client.py::obspy.clients.fdsn.client.Client.get_events
0.940s clients/earthworm/tests/test_client.py::TestEWClient::test_get_waveform_widlcard
0.923s clients/earthworm/tests/test_client.py::TestEWClient::test_save_waveform
0.907s clients/nrl/__init__.py::obspy.clients.nrl
0.829s clients/earthworm/tests/test_client.py::TestEWClient::test_availability
0.821s clients/earthworm/client.py::obspy.clients.earthworm.client.Client.get_availability
0.615s clients/iris/client.py::obspy.clients.iris.client.Client.flinnengdahl