#132173 Report by node gh-actions covering 46 tests from 59 modules resulted into 6 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
- 61.0 sec
- Report date/time
- Dec. 20, 2022, 10:32 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.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 | - | 9 | 9 | - | 5.81s | - |
obspy.clients.fdsn | 6 | 16 | 16 | - | 9.76s | 1 2 3 4 5 6 |
obspy.clients.filesystem | Not tested | - | - | - | - | - |
obspy.clients.iris | - | 8 | 8 | - | 2.43s | - |
obspy.clients.neic | - | 3 | 3 | - | 0.60s | - |
obspy.clients.nrl | - | 2 | 2 | - | 3.07s | - |
obspy.clients.seedlink | - | 3 | 3 | - | 5.42s | - |
obspy.clients.syngine | - | 4 | 4 | - | 6.49s | - |
obspy.core | - | 1 | 1 | - | 3.74s | - |
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 | 6 | 46 | 46 | - | 60.96s | 6 |
Tracebacks (6)
112 endtime = UTCDateTime("2002-01-02") 113 cat = client.get_events(starttime=starttime, endtime=endtime, 114 minmagnitude=6, catalog="ISC") 115 cat.plot() 116 117 (3) :meth:`~obspy.clients.fdsn.client.Client.get_stations()`: Retrieves station 118 data from the server. Results are returned as an 119 :class:`~obspy.core.inventory.inventory.Inventory` object. 120 121 >>> inventory = client.get_stations(network="IU", station="A*", UNEXPECTED EXCEPTION: ValueError('The current client does not have a station service.') 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.fdsn[13]>", line 1, in <module> File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/client.py", line 740, in get_stations raise ValueError(msg) ValueError: The current client does not have a station service. /usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/__init__.py:121: UnexpectedException
153 154 Initializes an FDSN Web Service client. 155 156 >>> client = Client("IRIS") 157 >>> print(client) # doctest: +ELLIPSIS +NORMALIZE_WHITESPACE Differences (unified diff with -expected +actual): @@ -1,6 +1,5 @@ FDSN Webservice Client (base url: http://service.iris.edu) -Available Services: 'dataselect' (v...), 'event' (v...), -'station' (v...), 'available_event_catalogs', -'available_event_contributors' +Available Services: 'dataselect' (v1.1.9), 'event' (v1.1.13), 'available_event_catalogs', 'available_event_contributors' +<BLANKLINE> Use e.g. client.help('dataselect') for the parameter description of the individual services /usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/client.py:157: DocTestFailure
569 570 Query the station service of the FDSN client. 571 572 >>> client = Client("IRIS") 573 >>> starttime = UTCDateTime("2001-01-01") 574 >>> endtime = UTCDateTime("2001-01-02") 575 >>> inventory = client.get_stations(network="IU", station="A*", UNEXPECTED EXCEPTION: ValueError('The current client does not have a station service.') 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.fdsn.client.Client.get_stations[3]>", line 1, in <module> File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/client.py", line 740, in get_stations raise ValueError(msg) ValueError: The current client does not have a station service. /usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/client.py:575: 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: ValueError('The current client does not have a station service.') 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.fdsn.client.Client.get_stations_bulk[5]>", line 1, in <module> File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/client.py", line 1227, in get_stations_bulk raise ValueError(msg) ValueError: The current client does not have a station service. /usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/client.py:1102: 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 "/usr/share/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_waveforms[9]>", line 1, in <module> File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 3234, in remove_response tr.remove_response(*args, **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/trace.py", line 282, in _add_processing_info result = func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/trace.py", line 2829, in remove_response response = self._get_response(inventory) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/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. /usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/client.py:795: UnexpectedException
973 IU.ANMO.00.BHZ | 2010-02-27T00:00:00... | 20.0 Hz, 40 samples 974 IU.ANMO.10.BHZ | 2010-02-27T00:00:00... | 40.0 Hz, 80 samples 975 >>> t = UTCDateTime("2012-12-14T10:36:01.6Z") 976 >>> t1 = t + 300 977 >>> t2 = t + 400 978 >>> bulk = [("TA", "S42A", "*", "BHZ", t1, t2), 979 ... ("TA", "W42A", "*", "BHZ", t1, t2), 980 ... ("TA", "Z42A", "*", "BHZ", t1, t2)] 981 >>> st = client.get_waveforms_bulk(bulk, attach_response=True) 982 >>> 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 "/usr/share/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_waveforms_bulk[17]>", line 1, in <module> File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 3234, in remove_response tr.remove_response(*args, **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/trace.py", line 282, in _add_processing_info result = func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/trace.py", line 2829, in remove_response response = self._get_response(inventory) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/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. /usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/client.py:982: UnexpectedException
Slowest tests (20)
Warnings (3)
Stage | Filename | Category | Message |
---|---|---|---|
runtest | /usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/client.py:909 | UserWarning | The current client does not have a station service. |
runtest | /usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/threadexception.py:73 | PytestUnhandledThreadExceptionWarning | Exception in thread Thread-4 Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/threading.py", line 1038, in _bootstrap_inner self.run() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/client.py", line 1543, in run code, data = download_url( ^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/client.py", line 1929, in download_url data = f.read() ^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/gzip.py", line 301, in read return self._buffer.read(size) ^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/_compression.py", line 118, in readall while data := self.read(sys.maxsize): ^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/gzip.py", line 499, in read if not self._read_gzip_header(): ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/gzip.py", line 468, in _read_gzip_header last_mtime = _read_gzip_header(self._fp) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/gzip.py", line 428, in _read_gzip_header raise BadGzipFile('Not a gzipped file (%r)' % magic) gzip.BadGzipFile: Not a gzipped file (b'a\r') |
runtest | /usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py:3197 | UserWarning | No matching response information found. |