#118615 Report by node gh-actions covering 2007 tests from 62 modules resulted into 21 errors
Report
- ObsPy version
- 1.2.2.post0+605.g0691dafd82
- GitHub Pull Request
- https://github.com/obspy/obspy/pull/2962
- Report file
- JSON document
- Total runtime
- 185.4 sec
- Report date/time
- Feb. 2, 2022, 11:02 p.m.
System / Python
- Architecture
- 64bit
- Machine
- x86_64
- Node
- gh-actions
- Processor
- x86_64
- Python Compiler
- GCC 9.4.0
- Python Implementation
- CPython
- Python Version
- 3.8.12
- Release
- 5.11.0-1027-azure
- System
- Linux
- Version
- #30~20.04.1-Ubuntu SMP Wed Jan 12 20:56:50 UTC 2022
Dependencies
- cartopy
- ---
- decorator
- 5.1.1
- flake8
- ---
- geographiclib
- ---
- lxml
- 4.7.1
- matplotlib
- 3.5.1
- numpy
- 1.22.1
- obspy
- 1.2.2.post0+605.g0691dafd82
- pyproj
- 3.3.0
- pytest
- 6.2.5
- pytest-json-report
- 1.4.1
- requests
- 2.27.1
- scipy
- 1.7.3
- setuptools
- 60.7.0
- shapefile
- ---
- sqlalchemy
- 1.4.31
Modules (62)
Module | Errors / Failures | Tracebacks | ||||
---|---|---|---|---|---|---|
obspy.clients | Not tested | - | - | - | - | - |
obspy.clients.arclink | Not tested | - | - | - | - | - |
obspy.clients.earthworm | Not tested | - | - | - | - | - |
obspy.clients.fdsn | - | 13 | 13 | - | 0.04s | - |
obspy.clients.filesystem | - | 29 | 29 | - | 2.81s | - |
obspy.clients.iris | Not tested | - | - | - | - | - |
obspy.clients.neic | Not tested | - | - | - | - | - |
obspy.clients.nrl | Not tested | - | - | - | - | - |
obspy.clients.seedlink | Not tested | - | - | - | - | - |
obspy.clients.seishub | Not tested | - | - | - | - | - |
obspy.clients.syngine | Not tested | - | - | - | - | - |
obspy.core | - | 596 | 587 | 9 | 28.58s | - |
obspy.core.event | - | 18 | 18 | - | 0.24s | - |
obspy.core.inventory | - | 23 | 23 | - | 1.60s | - |
obspy.core.util | - | 23 | 20 | 3 | 0.17s | - |
obspy.db | Not tested | - | - | - | - | - |
obspy.geodetics | - | 21 | 19 | 2 | 0.16s | - |
obspy.imaging | - | 88 | 87 | 1 | 23.13s | - |
obspy.io.ah | - | 5 | 5 | - | 0.11s | - |
obspy.io.arclink | - | 5 | 5 | - | 2.16s | - |
obspy.io.ascii | - | 28 | 26 | 2 | 0.18s | - |
obspy.io.cmtsolution | - | 10 | 10 | - | 0.09s | - |
obspy.io.cnv | - | 1 | 1 | - | 0.02s | - |
obspy.io.css | - | 10 | 10 | - | 0.61s | - |
obspy.io.dmx | - | 5 | 5 | - | 0.04s | - |
obspy.io.focmec | - | 8 | 8 | - | 0.12s | - |
obspy.io.gcf | - | 9 | 9 | - | 0.04s | - |
obspy.io.gse2 | - | 55 | 55 | - | 0.61s | - |
obspy.io.hypodd | - | 9 | 9 | - | 0.41s | - |
obspy.io.iaspei | - | 7 | 7 | - | 0.98s | - |
obspy.io.json | - | 4 | 4 | - | 0.04s | - |
obspy.io.kinemetrics | - | 8 | 8 | - | 0.75s | - |
obspy.io.kml | - | 3 | 3 | - | 0.16s | - |
obspy.io.mseed | - | 127 | 127 | - | 2.10s | - |
obspy.io.ndk | - | 20 | 20 | - | 0.45s | - |
obspy.io.nied | - | 11 | 11 | - | 0.09s | - |
obspy.io.nlloc | - | 13 | 13 | - | 0.67s | - |
obspy.io.nordic | - | 60 | 58 | 2 | 2.04s | - |
obspy.io.pdas | - | 3 | 3 | - | 0.02s | - |
obspy.io.pde | - | 13 | 12 | 1 | 0.37s | - |
obspy.io.quakeml | - | 38 | 37 | 1 | 0.62s | - |
obspy.io.reftek | - | 21 | 21 | - | 0.24s | - |
obspy.io.rg16 | - | 38 | 38 | - | 0.21s | - |
obspy.io.sac | - | 96 | 96 | - | 0.59s | - |
obspy.io.scardec | - | 5 | 5 | - | 0.09s | - |
obspy.io.seg2 | - | 2 | 2 | - | 0.03s | - |
obspy.io.segy | - | 56 | 56 | - | 0.52s | - |
obspy.io.seisan | - | 8 | 7 | 1 | 0.10s | - |
obspy.io.seiscomp | 21 | 48 | 48 | - | 1.32s | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
obspy.io.sh | - | 26 | 24 | 2 | 0.77s | - |
obspy.io.shapefile | - | 7 | 1 | 6 | 0.09s | - |
obspy.io.stationtxt | - | 11 | 11 | - | 0.11s | - |
obspy.io.stationxml | - | 23 | 23 | - | 0.52s | - |
obspy.io.wav | - | 8 | 7 | 1 | 0.04s | - |
obspy.io.win | - | 2 | 2 | - | 0.13s | - |
obspy.io.xseed | - | 82 | 82 | - | 11.44s | - |
obspy.io.y | - | 5 | 4 | 1 | 0.02s | - |
obspy.io.zmap | - | 14 | 14 | - | 0.26s | - |
obspy.realtime | - | 22 | 22 | - | 0.51s | - |
obspy.scripts | - | 2 | 2 | - | 0.02s | - |
obspy.signal | - | 198 | 195 | 3 | 29.90s | - |
obspy.taup | - | 70 | 64 | 6 | 48.56s | - |
Summary | 21 | 2007 | 1966 | 41 | 185.36s | 21 |
Tracebacks (21)
044 restriction, this ID prefix allows to convert the IDs to a well 045 formatted QuakeML ID. You can modify the default ID prefix with the 046 reverse DNS name of your institute. 047 :rtype: :class:`~obspy.core.event.Catalog` 048 :return: An ObsPy Catalog object. 049 050 .. rubric:: Example 051 052 >>> from obspy import read_events 053 >>> cat = read_events('/path/to/iris_events.scxml') UNEXPECTED EXCEPTION: FileNotFoundError(2, 'No such file or directory') Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.8/doctest.py", line 1336, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.io.seiscomp.event._read_sc3ml[1]>", line 1, in <module> File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/home/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename return func(*args, **kwargs) File "/home/runner/work/obspy/obspy/obspy/core/event/catalog.py", line 809, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) File "/home/runner/work/obspy/obspy/obspy/core/util/base.py", line 656, in _generic_reader raise IOError(2, "No such file or directory", pathname) FileNotFoundError: [Errno 2] No such file or directory: '/path/to/iris_events.scxml' /home/runner/work/obspy/obspy/obspy/io/seiscomp/event.py:53: UnexpectedException
Traceback (most recent call last): File "/home/runner/work/obspy/obspy/obspy/io/seiscomp/tests/test_event.py", line 425, in test_read_and_write self.assertTrue(filecmp.cmp(filename, tf.name)) File "/usr/share/miniconda3/envs/test/lib/python3.8/unittest/case.py", line 765, in assertTrue raise self.failureException(msg) AssertionError: False is not true
Traceback (most recent call last): File "/home/runner/work/obspy/obspy/obspy/io/seiscomp/tests/test_event.py", line 436, in test_read_and_write_sc3ml_fields self.assertTrue(filecmp.cmp(filename, tf.name)) File "/usr/share/miniconda3/envs/test/lib/python3.8/unittest/case.py", line 765, in assertTrue raise self.failureException(msg) AssertionError: False is not true
Traceback (most recent call last): File "/home/runner/work/obspy/obspy/obspy/io/seiscomp/tests/test_event.py", line 159, in test_sc3ml_versions read_events(filename) File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/home/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename return func(*args, **kwargs) File "/home/runner/work/obspy/obspy/obspy/core/event/catalog.py", line 809, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) File "/home/runner/work/obspy/obspy/obspy/core/util/base.py", line 656, in _generic_reader raise IOError(2, "No such file or directory", pathname) FileNotFoundError: [Errno 2] No such file or directory: '/home/runner/work/obspy/obspy/obspy/io/seiscomp/tests/data/version0.5'
Traceback (most recent call last): File "/home/runner/work/obspy/obspy/obspy/io/seiscomp/tests/test_event.py", line 406, in test_write_example self.assertTrue(filecmp.cmp(filepath_cmp, tf.name)) File "/usr/share/miniconda3/envs/test/lib/python3.8/unittest/case.py", line 765, in assertTrue raise self.failureException(msg) AssertionError: False is not true
Traceback (most recent call last): File "/home/runner/work/obspy/obspy/obspy/io/seiscomp/tests/test_event.py", line 417, in test_write_remove_events self.assertTrue(filecmp.cmp(filepath_cmp, tf.name)) File "/usr/share/miniconda3/envs/test/lib/python3.8/unittest/case.py", line 765, in assertTrue raise self.failureException(msg) AssertionError: False is not true
Traceback (most recent call last): File "/home/runner/work/obspy/obspy/obspy/io/seiscomp/tests/test_event.py", line 350, in test_write_xslt_arrival self.cmp_write_xslt_file('quakeml_1.2_arrival.xml', File "/home/runner/work/obspy/obspy/obspy/io/seiscomp/tests/test_event.py", line 127, in cmp_write_xslt_file transform = etree.XSLT(etree.parse(self.write_xslt_filename)) File "src/lxml/etree.pyx", line 3536, in lxml.etree.parse File "src/lxml/parser.pxi", line 1875, in lxml.etree._parseDocument File "src/lxml/parser.pxi", line 1901, in lxml.etree._parseDocumentFromURL File "src/lxml/parser.pxi", line 1805, in lxml.etree._parseDocFromFile File "src/lxml/parser.pxi", line 1177, in lxml.etree._BaseParser._parseDocFromFile File "src/lxml/parser.pxi", line 615, in lxml.etree._ParserContext._handleParseResultDoc File "src/lxml/parser.pxi", line 725, in lxml.etree._handleParseResult File "src/lxml/parser.pxi", line 652, in lxml.etree._raiseParseError OSError: Error reading file '/home/runner/work/obspy/obspy/obspy/io/seiscomp/data/quakeml_1.2__sc3ml_0.11.xsl': failed to load external entity "/home/runner/work/obspy/obspy/obspy/io/seiscomp/data/quakeml_1.2__sc3ml_0.11.xsl"
Traceback (most recent call last): File "/home/runner/work/obspy/obspy/obspy/io/seiscomp/tests/test_event.py", line 345, in test_write_xslt_data_used_in_moment_tensor self.cmp_write_xslt_file('quakeml_1.2_data_used.xml', File "/home/runner/work/obspy/obspy/obspy/io/seiscomp/tests/test_event.py", line 127, in cmp_write_xslt_file transform = etree.XSLT(etree.parse(self.write_xslt_filename)) File "src/lxml/etree.pyx", line 3536, in lxml.etree.parse File "src/lxml/parser.pxi", line 1875, in lxml.etree._parseDocument File "src/lxml/parser.pxi", line 1901, in lxml.etree._parseDocumentFromURL File "src/lxml/parser.pxi", line 1805, in lxml.etree._parseDocFromFile File "src/lxml/parser.pxi", line 1177, in lxml.etree._BaseParser._parseDocFromFile File "src/lxml/parser.pxi", line 615, in lxml.etree._ParserContext._handleParseResultDoc File "src/lxml/parser.pxi", line 725, in lxml.etree._handleParseResult File "src/lxml/parser.pxi", line 652, in lxml.etree._raiseParseError OSError: Error reading file '/home/runner/work/obspy/obspy/obspy/io/seiscomp/data/quakeml_1.2__sc3ml_0.11.xsl': failed to load external entity "/home/runner/work/obspy/obspy/obspy/io/seiscomp/data/quakeml_1.2__sc3ml_0.11.xsl"
Traceback (most recent call last): File "/home/runner/work/obspy/obspy/obspy/io/seiscomp/tests/test_event.py", line 313, in test_write_xslt_event self.cmp_write_xslt_file('quakeml_1.2_event.xml', File "/home/runner/work/obspy/obspy/obspy/io/seiscomp/tests/test_event.py", line 127, in cmp_write_xslt_file transform = etree.XSLT(etree.parse(self.write_xslt_filename)) File "src/lxml/etree.pyx", line 3536, in lxml.etree.parse File "src/lxml/parser.pxi", line 1875, in lxml.etree._parseDocument File "src/lxml/parser.pxi", line 1901, in lxml.etree._parseDocumentFromURL File "src/lxml/parser.pxi", line 1805, in lxml.etree._parseDocFromFile File "src/lxml/parser.pxi", line 1177, in lxml.etree._BaseParser._parseDocFromFile File "src/lxml/parser.pxi", line 615, in lxml.etree._ParserContext._handleParseResultDoc File "src/lxml/parser.pxi", line 725, in lxml.etree._handleParseResult File "src/lxml/parser.pxi", line 652, in lxml.etree._raiseParseError OSError: Error reading file '/home/runner/work/obspy/obspy/obspy/io/seiscomp/data/quakeml_1.2__sc3ml_0.11.xsl': failed to load external entity "/home/runner/work/obspy/obspy/obspy/io/seiscomp/data/quakeml_1.2__sc3ml_0.11.xsl"
Traceback (most recent call last): File "/home/runner/work/obspy/obspy/obspy/io/seiscomp/tests/test_event.py", line 394, in test_write_xslt_example self.cmp_write_xslt_file('qml-example-1.2-RC3.xml', File "/home/runner/work/obspy/obspy/obspy/io/seiscomp/tests/test_event.py", line 127, in cmp_write_xslt_file transform = etree.XSLT(etree.parse(self.write_xslt_filename)) File "src/lxml/etree.pyx", line 3536, in lxml.etree.parse File "src/lxml/parser.pxi", line 1875, in lxml.etree._parseDocument File "src/lxml/parser.pxi", line 1901, in lxml.etree._parseDocumentFromURL File "src/lxml/parser.pxi", line 1805, in lxml.etree._parseDocFromFile File "src/lxml/parser.pxi", line 1177, in lxml.etree._BaseParser._parseDocFromFile File "src/lxml/parser.pxi", line 615, in lxml.etree._ParserContext._handleParseResultDoc File "src/lxml/parser.pxi", line 725, in lxml.etree._handleParseResult File "src/lxml/parser.pxi", line 652, in lxml.etree._raiseParseError OSError: Error reading file '/home/runner/work/obspy/obspy/obspy/io/seiscomp/data/quakeml_1.2__sc3ml_0.11.xsl': failed to load external entity "/home/runner/work/obspy/obspy/obspy/io/seiscomp/data/quakeml_1.2__sc3ml_0.11.xsl"
Traceback (most recent call last): File "/home/runner/work/obspy/obspy/obspy/io/seiscomp/tests/test_event.py", line 360, in test_write_xslt_focalmechanism self.cmp_write_xslt_file('quakeml_1.2_focalmechanism.xml', File "/home/runner/work/obspy/obspy/obspy/io/seiscomp/tests/test_event.py", line 127, in cmp_write_xslt_file transform = etree.XSLT(etree.parse(self.write_xslt_filename)) File "src/lxml/etree.pyx", line 3536, in lxml.etree.parse File "src/lxml/parser.pxi", line 1875, in lxml.etree._parseDocument File "src/lxml/parser.pxi", line 1901, in lxml.etree._parseDocumentFromURL File "src/lxml/parser.pxi", line 1805, in lxml.etree._parseDocFromFile File "src/lxml/parser.pxi", line 1177, in lxml.etree._BaseParser._parseDocFromFile File "src/lxml/parser.pxi", line 615, in lxml.etree._ParserContext._handleParseResultDoc File "src/lxml/parser.pxi", line 725, in lxml.etree._handleParseResult File "src/lxml/parser.pxi", line 652, in lxml.etree._raiseParseError OSError: Error reading file '/home/runner/work/obspy/obspy/obspy/io/seiscomp/data/quakeml_1.2__sc3ml_0.11.xsl': failed to load external entity "/home/runner/work/obspy/obspy/obspy/io/seiscomp/data/quakeml_1.2__sc3ml_0.11.xsl"
Traceback (most recent call last): File "/home/runner/work/obspy/obspy/obspy/io/seiscomp/tests/test_event.py", line 366, in test_write_xslt_iris_events self.cmp_write_xslt_file('iris_events.xml', File "/home/runner/work/obspy/obspy/obspy/io/seiscomp/tests/test_event.py", line 127, in cmp_write_xslt_file transform = etree.XSLT(etree.parse(self.write_xslt_filename)) File "src/lxml/etree.pyx", line 3536, in lxml.etree.parse File "src/lxml/parser.pxi", line 1875, in lxml.etree._parseDocument File "src/lxml/parser.pxi", line 1901, in lxml.etree._parseDocumentFromURL File "src/lxml/parser.pxi", line 1805, in lxml.etree._parseDocFromFile File "src/lxml/parser.pxi", line 1177, in lxml.etree._BaseParser._parseDocFromFile File "src/lxml/parser.pxi", line 615, in lxml.etree._ParserContext._handleParseResultDoc File "src/lxml/parser.pxi", line 725, in lxml.etree._handleParseResult File "src/lxml/parser.pxi", line 652, in lxml.etree._raiseParseError OSError: Error reading file '/home/runner/work/obspy/obspy/obspy/io/seiscomp/data/quakeml_1.2__sc3ml_0.11.xsl': failed to load external entity "/home/runner/work/obspy/obspy/obspy/io/seiscomp/data/quakeml_1.2__sc3ml_0.11.xsl"
Traceback (most recent call last): File "/home/runner/work/obspy/obspy/obspy/io/seiscomp/tests/test_event.py", line 326, in test_write_xslt_magnitude self.cmp_write_xslt_file('quakeml_1.2_magnitude.xml', File "/home/runner/work/obspy/obspy/obspy/io/seiscomp/tests/test_event.py", line 127, in cmp_write_xslt_file transform = etree.XSLT(etree.parse(self.write_xslt_filename)) File "src/lxml/etree.pyx", line 3536, in lxml.etree.parse File "src/lxml/parser.pxi", line 1875, in lxml.etree._parseDocument File "src/lxml/parser.pxi", line 1901, in lxml.etree._parseDocumentFromURL File "src/lxml/parser.pxi", line 1805, in lxml.etree._parseDocFromFile File "src/lxml/parser.pxi", line 1177, in lxml.etree._BaseParser._parseDocFromFile File "src/lxml/parser.pxi", line 615, in lxml.etree._ParserContext._handleParseResultDoc File "src/lxml/parser.pxi", line 725, in lxml.etree._handleParseResult File "src/lxml/parser.pxi", line 652, in lxml.etree._raiseParseError OSError: Error reading file '/home/runner/work/obspy/obspy/obspy/io/seiscomp/data/quakeml_1.2__sc3ml_0.11.xsl': failed to load external entity "/home/runner/work/obspy/obspy/obspy/io/seiscomp/data/quakeml_1.2__sc3ml_0.11.xsl"
Traceback (most recent call last): File "/home/runner/work/obspy/obspy/obspy/io/seiscomp/tests/test_event.py", line 319, in test_write_xslt_origin self.cmp_write_xslt_file('quakeml_1.2_origin.xml', File "/home/runner/work/obspy/obspy/obspy/io/seiscomp/tests/test_event.py", line 127, in cmp_write_xslt_file transform = etree.XSLT(etree.parse(self.write_xslt_filename)) File "src/lxml/etree.pyx", line 3536, in lxml.etree.parse File "src/lxml/parser.pxi", line 1875, in lxml.etree._parseDocument File "src/lxml/parser.pxi", line 1901, in lxml.etree._parseDocumentFromURL File "src/lxml/parser.pxi", line 1805, in lxml.etree._parseDocFromFile File "src/lxml/parser.pxi", line 1177, in lxml.etree._BaseParser._parseDocFromFile File "src/lxml/parser.pxi", line 615, in lxml.etree._ParserContext._handleParseResultDoc File "src/lxml/parser.pxi", line 725, in lxml.etree._handleParseResult File "src/lxml/parser.pxi", line 652, in lxml.etree._raiseParseError OSError: Error reading file '/home/runner/work/obspy/obspy/obspy/io/seiscomp/data/quakeml_1.2__sc3ml_0.11.xsl': failed to load external entity "/home/runner/work/obspy/obspy/obspy/io/seiscomp/data/quakeml_1.2__sc3ml_0.11.xsl"
Traceback (most recent call last): File "/home/runner/work/obspy/obspy/obspy/io/seiscomp/tests/test_event.py", line 355, in test_write_xslt_pick self.cmp_write_xslt_file('quakeml_1.2_pick.xml', File "/home/runner/work/obspy/obspy/obspy/io/seiscomp/tests/test_event.py", line 127, in cmp_write_xslt_file transform = etree.XSLT(etree.parse(self.write_xslt_filename)) File "src/lxml/etree.pyx", line 3536, in lxml.etree.parse File "src/lxml/parser.pxi", line 1875, in lxml.etree._parseDocument File "src/lxml/parser.pxi", line 1901, in lxml.etree._parseDocumentFromURL File "src/lxml/parser.pxi", line 1805, in lxml.etree._parseDocFromFile File "src/lxml/parser.pxi", line 1177, in lxml.etree._BaseParser._parseDocFromFile File "src/lxml/parser.pxi", line 615, in lxml.etree._ParserContext._handleParseResultDoc File "src/lxml/parser.pxi", line 725, in lxml.etree._handleParseResult File "src/lxml/parser.pxi", line 652, in lxml.etree._raiseParseError OSError: Error reading file '/home/runner/work/obspy/obspy/obspy/io/seiscomp/data/quakeml_1.2__sc3ml_0.11.xsl': failed to load external entity "/home/runner/work/obspy/obspy/obspy/io/seiscomp/data/quakeml_1.2__sc3ml_0.11.xsl"
Traceback (most recent call last): File "/home/runner/work/obspy/obspy/obspy/io/seiscomp/tests/test_event.py", line 340, in test_write_xslt_station_magnitude self.cmp_write_xslt_file('quakeml_1.2_stationmagnitude.xml', File "/home/runner/work/obspy/obspy/obspy/io/seiscomp/tests/test_event.py", line 127, in cmp_write_xslt_file transform = etree.XSLT(etree.parse(self.write_xslt_filename)) File "src/lxml/etree.pyx", line 3536, in lxml.etree.parse File "src/lxml/parser.pxi", line 1875, in lxml.etree._parseDocument File "src/lxml/parser.pxi", line 1901, in lxml.etree._parseDocumentFromURL File "src/lxml/parser.pxi", line 1805, in lxml.etree._parseDocFromFile File "src/lxml/parser.pxi", line 1177, in lxml.etree._BaseParser._parseDocFromFile File "src/lxml/parser.pxi", line 615, in lxml.etree._ParserContext._handleParseResultDoc File "src/lxml/parser.pxi", line 725, in lxml.etree._handleParseResult File "src/lxml/parser.pxi", line 652, in lxml.etree._raiseParseError OSError: Error reading file '/home/runner/work/obspy/obspy/obspy/io/seiscomp/data/quakeml_1.2__sc3ml_0.11.xsl': failed to load external entity "/home/runner/work/obspy/obspy/obspy/io/seiscomp/data/quakeml_1.2__sc3ml_0.11.xsl"
Traceback (most recent call last): File "/home/runner/work/obspy/obspy/obspy/io/seiscomp/tests/test_event.py", line 332, in test_write_xslt_station_magnitude_contribution self.cmp_write_xslt_file( File "/home/runner/work/obspy/obspy/obspy/io/seiscomp/tests/test_event.py", line 127, in cmp_write_xslt_file transform = etree.XSLT(etree.parse(self.write_xslt_filename)) File "src/lxml/etree.pyx", line 3536, in lxml.etree.parse File "src/lxml/parser.pxi", line 1875, in lxml.etree._parseDocument File "src/lxml/parser.pxi", line 1901, in lxml.etree._parseDocumentFromURL File "src/lxml/parser.pxi", line 1805, in lxml.etree._parseDocFromFile File "src/lxml/parser.pxi", line 1177, in lxml.etree._BaseParser._parseDocFromFile File "src/lxml/parser.pxi", line 615, in lxml.etree._ParserContext._handleParseResultDoc File "src/lxml/parser.pxi", line 725, in lxml.etree._handleParseResult File "src/lxml/parser.pxi", line 652, in lxml.etree._raiseParseError OSError: Error reading file '/home/runner/work/obspy/obspy/obspy/io/seiscomp/data/quakeml_1.2__sc3ml_0.11.xsl': failed to load external entity "/home/runner/work/obspy/obspy/obspy/io/seiscomp/data/quakeml_1.2__sc3ml_0.11.xsl"
Traceback (most recent call last): File "/home/runner/work/obspy/obspy/obspy/io/seiscomp/tests/test_event.py", line 387, in test_write_xslt_usgs_events self.cmp_write_xslt_file('usgs_event.xml', File "/home/runner/work/obspy/obspy/obspy/io/seiscomp/tests/test_event.py", line 127, in cmp_write_xslt_file transform = etree.XSLT(etree.parse(self.write_xslt_filename)) File "src/lxml/etree.pyx", line 3536, in lxml.etree.parse File "src/lxml/parser.pxi", line 1875, in lxml.etree._parseDocument File "src/lxml/parser.pxi", line 1901, in lxml.etree._parseDocumentFromURL File "src/lxml/parser.pxi", line 1805, in lxml.etree._parseDocFromFile File "src/lxml/parser.pxi", line 1177, in lxml.etree._BaseParser._parseDocFromFile File "src/lxml/parser.pxi", line 615, in lxml.etree._ParserContext._handleParseResultDoc File "src/lxml/parser.pxi", line 725, in lxml.etree._handleParseResult File "src/lxml/parser.pxi", line 652, in lxml.etree._raiseParseError OSError: Error reading file '/home/runner/work/obspy/obspy/obspy/io/seiscomp/data/quakeml_1.2__sc3ml_0.11.xsl': failed to load external entity "/home/runner/work/obspy/obspy/obspy/io/seiscomp/data/quakeml_1.2__sc3ml_0.11.xsl"
Traceback (most recent call last): File "/home/runner/work/obspy/obspy/obspy/io/seiscomp/tests/test_inventory.py", line 118, in test_compare_xml assert(tag in excluded_tags) AssertionError: assert 'Name' in ['Source', 'Sender', 'Created', 'Coefficients']
Traceback (most recent call last): File "/home/runner/work/obspy/obspy/obspy/io/seiscomp/tests/test_inventory.py", line 58, in test_sc3ml_versions read_inventory(filename) File "/usr/share/miniconda3/envs/test/lib/python3.8/unittest/case.py", line 227, in __exit__ self._raiseFailure("{} not raised".format(exc_name)) File "/usr/share/miniconda3/envs/test/lib/python3.8/unittest/case.py", line 164, in _raiseFailure raise self.test_case.failureException(msg) AssertionError: ValueError not raised
Traceback (most recent call last): File "/home/runner/work/obspy/obspy/obspy/io/seiscomp/tests/test_inventory.py", line 303, in test_stage_empty_poles_and_zeros sc3ml_inv = read_inventory(sc3ml_mbar_path) File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/home/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename return func(*args, **kwargs) File "/home/runner/work/obspy/obspy/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, File "/home/runner/work/obspy/obspy/obspy/core/util/base.py", line 658, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/home/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file result = func(filename, *args, **kwargs) File "/home/runner/work/obspy/obspy/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, File "/home/runner/work/obspy/obspy/obspy/core/util/base.py", line 424, in _read_from_plugin list_obj = read_format(filename, **kwargs) File "/home/runner/work/obspy/obspy/obspy/io/seiscomp/inventory.py", line 176, in _read_sc3ml networks.append(_read_network(instrumentation_register, File "/home/runner/work/obspy/obspy/obspy/io/seiscomp/inventory.py", line 231, in _read_network stations.append(_read_station(instrumentation_register, File "/home/runner/work/obspy/obspy/obspy/io/seiscomp/inventory.py", line 295, in _read_station channels.append(_read_channel(instrumentation_register, File "/home/runner/work/obspy/obspy/obspy/io/seiscomp/inventory.py", line 551, in _read_channel channel.response = _read_response(instrumentation_register, File "/home/runner/work/obspy/obspy/obspy/io/seiscomp/inventory.py", line 675, in _read_response analogue_response = _read_response_stage(analogue_element, _ns, File "/home/runner/work/obspy/obspy/obspy/io/seiscomp/inventory.py", line 830, in _read_response_stage if zeros_array.text is not None: AttributeError: 'NoneType' object has no attribute 'text'
Skipped tests (41)
Slowest tests (20)
Warnings (24)
Stage | Filename | Category | Message |
---|---|---|---|
runtest | /home/runner/work/obspy/obspy/obspy/imaging/beachball.py:246 | RuntimeWarning | More than 20 figures have been opened. Figures created through the pyplot interface (`matplotlib.pyplot.figure`) are retained until explicitly closed and may consume too much memory. (To control this warning, see the rcParam `figure.max_open_warning`). |
runtest | /home/runner/work/obspy/obspy/obspy/core/event/resourceid.py:348 | UserWarning | The object with identity of: 140013041380704 and id of smi:local/f3bcd49a-2136-48e6-9e27-24fa1a7e4d4d no longer exists, trying to find an object with the same id |
collect | /home/runner/work/obspy/obspy/obspy/io/quakeml/core.py:29 | DeprecationWarning | Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.10 it will stop working |
runtest | /home/runner/work/obspy/obspy/obspy/signal/spectral_estimation.py:1544 | UserWarning | 4/4 segments omitted in file '/tmp/obspy-fmzjo_qn.npz' (time ranges already covered). |
runtest | <doctest obspy.core.event.resourceid.ResourceIdentifier[37]>:1 | ObsPyDeprecationWarning | Converts the current ID to a valid QuakeML URI. This method is deprecated, use :meth:`get_quakeml_id` instead. Only an invalid QuakeML ResourceIdentifier string it will be converted to a valid one. Otherwise nothing will happen but after calling this method the user can be sure that the ID is a valid QuakeML URI. The resulting ID will be of the form smi:authority_id/prefix/resource_id :type authority_id: str, optional :param authority_id: The base url of the resulting string. Defaults to ``"local"``. |
runtest | /home/runner/work/obspy/obspy/obspy/signal/spectral_estimation.py:2108 | MatplotlibDeprecationWarning | Auto-removal of grids by pcolor() and pcolormesh() is deprecated since 3.5 and will be removed two minor releases later; please call grid(False) first. |
runtest | /home/runner/work/obspy/obspy/obspy/signal/spectral_estimation.py:2045 | UserWarning | Attempted to set non-positive right xlim on a log-scaled axis. Invalid limit will be ignored. |
runtest | /home/runner/work/obspy/obspy/obspy/taup/tau.py:340 | RuntimeWarning | More than 20 figures have been opened. Figures created through the pyplot interface (`matplotlib.pyplot.figure`) are retained until explicitly closed and may consume too much memory. (To control this warning, see the rcParam `figure.max_open_warning`). |
runtest | /home/runner/work/obspy/obspy/obspy/signal/spectral_estimation.py:2045 | UserWarning | Attempting to set identical left == right == 52.49999950000001 results in singular transformations; automatically expanding. |
runtest | /home/runner/work/obspy/obspy/obspy/imaging/source.py:197 | UserWarning | Tight layout not applied. The left and right margins cannot be made large enough to accommodate all axes decorations. |
runtest | /home/runner/work/obspy/obspy/obspy/io/nordic/utils.py:184 | UserWarning | Lines of type I have not been implemented yet, please submit a development request |
runtest | /home/runner/work/obspy/obspy/obspy/signal/spectral_estimation.py:2045 | UserWarning | Attempting to set identical left == right == 10.4999995 results in singular transformations; automatically expanding. |
runtest | /home/runner/work/obspy/obspy/obspy/io/seiscomp/inventory.py:530 | UserWarning | Something went hopelessly wrong, found sampling-rate of 0! |
runtest | /home/runner/work/obspy/obspy/obspy/core/utcdatetime.py:1084 | ObsPyDeprecationWarning | Comparing UTCDateTime objects of different precision is not defined will raise an Exception in a future version of obspy |
runtest | /home/runner/work/obspy/obspy/obspy/core/event/resourceid.py:622 | UserWarning | overwritting the id attribute of a ResourceIdentifierobject is very dangerous and will raise an exception in a future version of obspy |
runtest | /home/runner/work/obspy/obspy/obspy/io/seiscomp/inventory.py:512 | UserWarning | Clock drift division by sample rate of 0: using sec/sample |
runtest | /home/runner/work/obspy/obspy/obspy/taup/tau_branch.py:489 | UserWarning | Resizing a TauP array inplace failed due to the existence of other references to the array, creating a new array. See Obspy #2280. |
collect | /home/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 | /home/runner/work/obspy/obspy/obspy/core/event/resourceid.py:348 | UserWarning | The object with identity of: 140013040922000 and id of obspy.org/tests/test_resource_doc_example no longer exists, trying to find an object with the same id |
runtest | /home/runner/work/obspy/obspy/obspy/io/quakeml/core.py:1910 | UserWarning | Could not validate QuakeML - try using a newer lxml version |
collect | /home/runner/work/obspy/obspy/obspy/imaging/maps.py:34 | UserWarning | Cartopy not installed, map plots will not work. |
runtest | /home/runner/work/obspy/obspy/obspy/signal/spectral_estimation.py:2045 | UserWarning | Attempting to set identical left == right == 9.223855751103727 results in singular transformations; automatically expanding. |
runtest | /usr/share/miniconda3/envs/test/lib/python3.8/site-packages/numpy/matrixlib/defmatrix.py:69 | PendingDeprecationWarning | the matrix subclass is not the recommended way to represent matrices or deal with linear algebra (see https://docs.scipy.org/doc/numpy/user/numpy-for-matlab-users.html). Please adjust your code to use regular ndarray. |
runtest | /home/runner/work/obspy/obspy/obspy/core/event/resourceid.py:348 | UserWarning | The object with identity of: 140013040919840 and id of obspy.org/tests/test_resource_doc_example no longer exists, trying to find an object with the same id |