#132181 Report by node gh-actions covering 46 tests from 59 modules resulted into 3 errors

Report

ObsPy version
1.4.0.post0+52.gdf011cbc64
GitHub Pull Request
https://github.com/obspy/obspy/pull/3245
Report file
JSON document
Total runtime
88.8 sec
Report date/time
Dec. 20, 2022, 10:34 a.m.

System / Python

Architecture
64bit
Machine
AMD64
Node
gh-actions
Processor
Intel64 Family 6 Model 85 Stepping 7, GenuineIntel
Python Compiler
MSC v.1929 64 bit (AMD64)
Python Implementation
CPython
Python Version
3.11.0
Release
10
System
Windows
Version
10.0.20348

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+52.gdf011cbc64
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 (59)

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

Tracebacks (3)

1124 t1 = UTCDateTime("2010-02-27T06:30:00.000")
1125 t2 = t1 + 1
1126 t3 = t1 + 3
1127 bulk = [("IU", "ANMO", "*", "BHZ", t1, t2),
1128 ("IU", "AFI", "1?", "BHE", t1, t3),
1129 ("GR", "GRA1", "*", "BH*", t2, t3)]
1130 inv = client.get_stations_bulk(bulk)
1131 inv.plot()
1132
1133 >>> inv = client.get_stations_bulk(bulk, level="channel")
UNEXPECTED EXCEPTION: XMLSyntaxError("Start tag expected, '<' not found, line 1, column 1")
Traceback (most recent call last):
File "C:\Miniconda3\envs\test\Lib\doctest.py", line 1350, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.clients.fdsn.client.Client.get_stations_bulk[8]>", line 1, in <module>
File "C:\Miniconda3\envs\test\Lib\site-packages\obspy\clients\fdsn\client.py", line 1259, in get_stations_bulk
inv = read_inventory(data_stream, format='STATIONXML')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Miniconda3\envs\test\Lib\site-packages\decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Miniconda3\envs\test\Lib\site-packages\obspy\core\util\decorator.py", line 297, in _map_example_filename
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "C:\Miniconda3\envs\test\Lib\site-packages\obspy\core\inventory\inventory.py", line 91, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Miniconda3\envs\test\Lib\site-packages\obspy\core\util\base.py", line 624, in _generic_reader
generic = callback_func(pathname_or_url, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Miniconda3\envs\test\Lib\site-packages\decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Miniconda3\envs\test\Lib\site-packages\obspy\core\util\decorator.py", line 142, in uncompress_file
return func(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Miniconda3\envs\test\Lib\site-packages\obspy\core\inventory\inventory.py", line 100, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Miniconda3\envs\test\Lib\site-packages\obspy\core\util\base.py", line 423, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Miniconda3\envs\test\Lib\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
C:\Miniconda3\envs\test\Lib\site-packages\obspy\clients\fdsn\client.py:1133: UnexpectedException
786 IU.ANMO.10.LHZ | 2010-02-27T06:30:00.069538Z - ... | 1.0 Hz, 5 samples
787
788 Use ``attach_response=True`` to automatically add response information
789 to each trace. This can be used to remove response using
790 :meth:`~obspy.core.stream.Stream.remove_response`.
791
792 >>> t = UTCDateTime("2012-12-14T10:36:01.6Z")
793 >>> st = client.get_waveforms("TA", "E42A", "*", "BH?", t+300, t+400,
794 ... attach_response=True)
795 >>> st.remove_response(output="VEL") # doctest: +ELLIPSIS
UNEXPECTED EXCEPTION: ValueError('No response information found. Use `inventory` parameter to specify an inventory with response information.')
Traceback (most recent call last):
File "C:\Miniconda3\envs\test\Lib\doctest.py", line 1350, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.clients.fdsn.client.Client.get_waveforms[9]>", line 1, in <module>
File "C:\Miniconda3\envs\test\Lib\site-packages\obspy\core\stream.py", line 3234, in remove_response
tr.remove_response(*args, **kwargs)
File "C:\Miniconda3\envs\test\Lib\site-packages\decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Miniconda3\envs\test\Lib\site-packages\obspy\core\trace.py", line 282, in _add_processing_info
result = func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "C:\Miniconda3\envs\test\Lib\site-packages\obspy\core\trace.py", line 2829, in remove_response
response = self._get_response(inventory)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Miniconda3\envs\test\Lib\site-packages\obspy\core\trace.py", line 2621, in _get_response
raise ValueError(msg)
ValueError: No response information found. Use `inventory` parameter to specify an inventory with response information.
C:\Miniconda3\envs\test\Lib\site-packages\obspy\clients\fdsn\client.py:795: UnexpectedException
151 :returns: Stream object with requested data
152
153 .. rubric:: Example
154
155 >>> from obspy.clients.neic import Client
156 >>> from obspy import UTCDateTime
157 >>> client = Client()
158 >>> t = UTCDateTime() - 5 * 3600 # 5 hours before now
159 >>> st = client.get_waveforms_nscl("IUANMO BH.00", t, 10)
160 >>> print(st) # doctest: +ELLIPSIS
Differences (unified diff with -expected +actual):
@@ -1,4 +1,4 @@
3 Trace(s) in Stream:
-IU.ANMO.00.BH... | 40.0 Hz, 401 samples
-IU.ANMO.00.BH... | 40.0 Hz, 401 samples
-IU.ANMO.00.BH... | 40.0 Hz, 401 samples
+IU.ANMO.00.BH1 | 2022-12-20T11:34:27.694538Z - 2022-12-20T11:34:37.694538Z | 40.0 Hz, 401 samples
+IU.ANMO.00.BH2 | 2022-12-20T11:34:27.694538Z - 2022-12-20T11:34:37.694538Z | 40.0 Hz, 401 samples
+IU.ANMO.00.BHZ | 2022-12-20T11:34:27.694538Z - 2022-12-20T11:34:37.669538Z | 40.0 Hz, 400 samples
C:\Miniconda3\envs\test\Lib\site-packages\obspy\clients\neic\client.py:160: DocTestFailure

Slowest tests (20)

Runtime Test
5.321s core/tests/test_stream.py::TestStream::test_read_url_via_network
4.551s clients/fdsn/client.py::obspy.clients.fdsn.client.Client.get_waveforms_bulk
4.115s clients/syngine/__init__.py::obspy.clients.syngine
3.884s clients/seedlink/basic_client.py::obspy.clients.seedlink.basic_client.Client.get_waveforms
3.623s clients/nrl/client.py::obspy.clients.nrl.client.NRL.get_response
1.761s clients/earthworm/__init__.py::obspy.clients.earthworm
1.699s clients/syngine/client.py::obspy.clients.syngine.client.Client.get_waveforms_bulk
1.695s clients/fdsn/__init__.py::obspy.clients.fdsn
1.610s clients/syngine/client.py::obspy.clients.syngine.client.Client.get_waveforms
1.481s clients/seedlink/basic_client.py::obspy.clients.seedlink.basic_client.Client.get_info
1.256s clients/nrl/__init__.py::obspy.clients.nrl
1.146s clients/earthworm/client.py::obspy.clients.earthworm.client.Client.get_waveforms
1.104s clients/fdsn/mass_downloader/__init__.py::obspy.clients.fdsn.mass_downloader
0.838s clients/earthworm/tests/test_client.py::TestEWClient::test_get_waveform_widlcard
0.835s clients/earthworm/tests/test_client.py::TestEWClient::test_save_waveform
0.677s clients/earthworm/client.py::obspy.clients.earthworm.client.Client.get_availability
0.664s clients/earthworm/tests/test_client.py::TestEWClient::test_availability
0.453s clients/iris/client.py::obspy.clients.iris.client.Client.flinnengdahl
0.410s clients/syngine/client.py::obspy.clients.syngine.client.Client.get_model_info
0.387s clients/fdsn/client.py::obspy.clients.fdsn.client.Client.get_stations

Warnings (2)

Stage Filename Category Message
runtest C:\Miniconda3\envs\test\Lib\site-packages\obspy\core\stream.py:3197 UserWarning No matching response information found.
runtest C:\Miniconda3\envs\test\Lib\site-packages\obspy\clients\fdsn\client.py:909 UserWarning Start tag expected, '<' not found, line 1, column 1 (<string>, line 1)