#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 - -
obspy.clients.filesystem - -
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 - -
obspy.core.event - -
obspy.core.inventory - -
obspy.core.util - -
obspy.db Not tested -
obspy.geodetics - -
obspy.imaging - -
obspy.io.ah - -
obspy.io.arclink - -
obspy.io.ascii - -
obspy.io.cmtsolution - -
obspy.io.cnv - -
obspy.io.css - -
obspy.io.dmx - -
obspy.io.focmec - -
obspy.io.gcf - -
obspy.io.gse2 - -
obspy.io.hypodd - -
obspy.io.iaspei - -
obspy.io.json - -
obspy.io.kinemetrics - -
obspy.io.kml - -
obspy.io.mseed - -
obspy.io.ndk - -
obspy.io.nied - -
obspy.io.nlloc - -
obspy.io.nordic - -
obspy.io.pdas - -
obspy.io.pde - -
obspy.io.quakeml - -
obspy.io.reftek - -
obspy.io.rg16 - -
obspy.io.sac - -
obspy.io.scardec - -
obspy.io.seg2 - -
obspy.io.segy - -
obspy.io.seisan - -
obspy.io.seiscomp 21 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
obspy.io.sh - -
obspy.io.shapefile - -
obspy.io.stationtxt - -
obspy.io.stationxml - -
obspy.io.wav - -
obspy.io.win - -
obspy.io.xseed - -
obspy.io.y - -
obspy.io.zmap - -
obspy.realtime - -
obspy.scripts - -
obspy.signal - -
obspy.taup - -
Summary 21 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)

Submodule Test Skip message
core obspy/core/stream.py::obspy.core.stream._is_pickle Skipped: all tests skipped by +SKIP option
core obspy/core/tests/test_event.py::TestEvent::test_plot_farfield_without_quiver_with_maps Skipped: cartopy not installed
core obspy/core/tests/test_inventory.py::TestInventoryCartopy::test_location_plot_global Skipped: cartopy not installed
core obspy/core/tests/test_inventory.py::TestInventoryCartopy::test_location_plot_ortho Skipped: cartopy not installed
core obspy/core/tests/test_inventory.py::TestInventoryCartopy::test_location_plot_local Skipped: cartopy not installed
core obspy/core/tests/test_inventory.py::TestInventoryCartopy::test_combined_station_event_plot Skipped: cartopy not installed
core obspy/core/tests/test_network.py::TestNetworkCartopy::test_location_plot_global Skipped: cartopy not installed
core obspy/core/tests/test_network.py::TestNetworkCartopy::test_location_plot_ortho Skipped: cartopy not installed
core obspy/core/tests/test_network.py::TestNetworkCartopy::test_location_plot_local Skipped: cartopy not installed
core.util obspy/core/util/misc.py::obspy.core.util.misc.CatchOutput Skipped: all tests skipped by +SKIP option
core.util obspy/core/util/misc.py::obspy.core.util.misc.SuppressOutput Skipped: all tests skipped by +SKIP option
core.util obspy/core/util/misc.py::obspy.core.util.misc.TemporaryWorkingDirectory Skipped: all tests skipped by +SKIP option
geodetics obspy/geodetics/tests/test_util_geodetics.py::TestUtilGeodetics::test_gps_2_dist_azimuth_with_geographiclib Skipped: Module geographiclib is not installed
geodetics obspy/geodetics/tests/test_util_geodetics.py::TestUtilGeodetics::test_issue_375 Skipped: Module geographiclib is not installed
imaging obspy/imaging/tests/test_mopad_script.py::TestMopad::test_script_plot Skipped: Currently broken until further review.
io.ascii obspy/io/ascii/core.py::obspy.io.ascii.core._is_slist Skipped: all tests skipped by +SKIP option
io.ascii obspy/io/ascii/core.py::obspy.io.ascii.core._is_tspair Skipped: all tests skipped by +SKIP option
io.nordic obspy/io/nordic/utils.py::obspy.io.nordic.utils._evmagtonor Skipped: all tests skipped by +SKIP option
io.nordic obspy/io/nordic/utils.py::obspy.io.nordic.utils._nortoevmag Skipped: all tests skipped by +SKIP option
io.pde obspy/io/pde/mchedr.py::obspy.io.pde.mchedr._is_mchedr Skipped: all tests skipped by +SKIP option
io.quakeml obspy/io/quakeml/core.py::obspy.io.quakeml.core._is_quakeml Skipped: all tests skipped by +SKIP option
io.seisan obspy/io/seisan/core.py::obspy.io.seisan.core._is_seisan Skipped: all tests skipped by +SKIP option
io.sh obspy/io/sh/core.py::obspy.io.sh.core._is_asc Skipped: all tests skipped by +SKIP option
io.sh obspy/io/sh/core.py::obspy.io.sh.core._is_q Skipped: all tests skipped by +SKIP option
io.shapefile obspy/io/shapefile/tests/test_core.py::ShapefileTestCase::test_write_catalog_shapefile Skipped: pyshp not installed
io.shapefile obspy/io/shapefile/tests/test_core.py::ShapefileTestCase::test_write_catalog_shapefile_via_plugin Skipped: pyshp not installed
io.shapefile obspy/io/shapefile/tests/test_core.py::ShapefileTestCase::test_write_catalog_shapefile_with_extra_field Skipped: pyshp not installed
io.shapefile obspy/io/shapefile/tests/test_core.py::ShapefileTestCase::test_write_inventory_shapefile Skipped: pyshp not installed
io.shapefile obspy/io/shapefile/tests/test_core.py::ShapefileTestCase::test_write_inventory_shapefile_via_plugin Skipped: pyshp not installed
io.shapefile obspy/io/shapefile/tests/test_core.py::ShapefileTestCase::test_write_inventory_shapefile_with_extra_field Skipped: pyshp not installed
io.wav obspy/io/wav/core.py::obspy.io.wav.core._is_wav Skipped: all tests skipped by +SKIP option
io.y obspy/io/y/core.py::obspy.io.y.core._is_y Skipped: all tests skipped by +SKIP option
signal obspy/signal/quality_control.py::obspy.signal.quality_control.MSEEDMetadata Skipped: all tests skipped by +SKIP option
signal obspy/signal/tests/test_quality_control.py::QualityControlTestCase::test_schema_validation Skipped: Test requires the jsonschema module
signal obspy/signal/tests/test_spectral_estimation.py::TestPsd::test_ppsd_spectrogram_plot Skipped: matplotlib >= 3 shifts labels
taup obspy/taup/tests/test_ray_paths.py::TestRayPathCalculations::test_compute_ray_paths Skipped: test needs geographiclib >= 1.34
taup obspy/taup/tests/test_tau.py::TestTauPyModel::test_p_iasp91_geo_manual Skipped: Module geographiclib is not installed
taup obspy/taup/tests/test_tau.py::TestTauPyModel::test_pierce_p_iasp91_geo Skipped: test needs geographiclib >= 1.34
taup obspy/taup/tests/test_tau.py::TestTauPyModel::test_single_path_geo_iasp91 Skipped: test needs geographiclib >= 1.34
taup obspy/taup/tests/test_taup_geo.py::TestTaupGeo::test_path_geo Skipped: Module geographiclib is not installed or too old.
taup obspy/taup/tests/test_taup_geo.py::TestTaupGeo::test_path_resampling Skipped: Module geographiclib is not installed or too old.

Slowest tests (20)

Runtime Test
8.642s obspy/io/xseed/tests/test_core.py::CoreTestCase::test_response_calculation_from_seed_and_xseed
6.760s obspy/taup/__init__.py::obspy.taup
5.350s obspy/taup/tests/test_seismic_phase.py::TestTauPySeismicPhase::test_shoot_existing_ray_param
4.054s obspy/core/stream.py::obspy.core.stream.read
3.142s obspy/taup/tau.py::obspy.taup.tau.plot_travel_times
2.922s obspy/taup/tests/test_tau.py::TestTauPyModel::test_vs_java_iasp91
2.827s obspy/taup/tests/test_tau.py::TestTauPyModel::test_regional_models
2.777s obspy/taup/tests/test_velocity_model.py::TestTauPyVelocityModel::test_read_velocity_model
2.186s obspy/signal/tests/test_cross_correlation.py::TestCrossCorrelation::test_correlate_stream_template_and_correlation_detector
2.151s obspy/taup/tests/test_seismic_phase.py::TestTauPySeismicPhase::test_many_identically_named_phases
2.110s obspy/core/tests/test_stream.py::TestStream::test_read_url_via_network
2.108s obspy/io/arclink/tests/test_inventory_xml.py::ArclinkInventoryTestCase::test_auto_read_arclink_xml
2.041s obspy/signal/tests/test_calibration.py::CalibrationTestCase::test_relcal_different_overlaps
2.040s obspy/signal/tests/test_polarization.py::PolarizationTestCase::test_polarization_vidale
1.926s obspy/signal/tests/test_spectral_estimation.py::TestPsd::test_ppsd_restricted_stacks
1.799s obspy/core/tests/test_trace.py::TestTrace::test_remove_response_plot
1.401s obspy/signal/tests/test_rotate.py::RotateTestCase::test_rotate2zne_against_lqt_different_combinations
1.337s obspy/signal/tests/test_tf_misfit.py::TestTfPlot::test_plot_tf_misfits
1.236s obspy/taup/tests/test_tau.py::TestTauPyModel::test_surface_wave_ttimes
1.220s obspy/taup/tests/test_taup_plotting.py::TestTauPyPlotting::test_spherical_many_phases

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