#101713 Report by node kiste covering 1994 tests from 54 modules resulted into 35 errors
Report
- ObsPy version
- 1.1.1rc1.post0+643.gb327d18af…
- GitHub Pull Request
- -
- Report file
- XML document
- Total runtime
- 487.3 sec
- Report date/time
- Feb. 15, 2019, 7:56 a.m.
System / Python
- Architecture
- 64bit
- Machine
- x86_64
- Node
- kiste
- Processor
- x86_64
- Python Compiler
- GCC 7.3.0
- Python Implementation
- CPython
- Python Version
- 3.6.8
- Release
- 4.15.0-45-generic
- System
- Linux
- Version
- #48-Ubuntu SMP Tue Jan 29 16:28:13 UTC 2019
Dependencies
- cartopy
- 0.16.0
- decorator
- 4.3.0
- flake8
- ---
- future
- 0.16.0
- geographiclib
- 1.49
- lxml.etree
- 4.2.4
- m2crypto
- ---
- matplotlib
- 3.0.1
- mock
- ---
- mpl_toolkits.basemap
- ---
- numpy
- 1.16.1
- pep8-naming
- ---
- pyflakes
- 2.0.0
- pyimgur
- ---
- pyproj
- 1.9.5.1
- requests
- 2.19.1
- scipy
- 1.2.0
- setuptools
- 40.0.0
- shapefile
- 1.2.12
- sqlalchemy
- 1.2.10
Modules (54)
Module | Errors / Failures | Tracebacks | ||||
---|---|---|---|---|---|---|
obspy.clients.arclink | - | 41 | 39 | 2 | 132.99s | - |
obspy.clients.earthworm | 1 | 7 | 7 | - | 10.20s | 1 |
obspy.clients.fdsn | - | 131 | 131 | - | 87.41s | - |
obspy.clients.filesystem | - | 6 | 6 | - | 1.22s | - |
obspy.clients.iris | - | 15 | 15 | - | 25.96s | - |
obspy.clients.neic | - | 5 | 5 | - | 9.47s | - |
obspy.clients.nrl | - | 7 | 7 | - | 4.26s | - |
obspy.clients.seedlink | - | 10 | 7 | 3 | 2.67s | - |
obspy.clients.seishub | - | 17 | 4 | 13 | 0.02s | - |
obspy.clients.syngine | - | 18 | 18 | - | 18.77s | - |
obspy.core | 1 | 594 | 580 | 14 | 55.48s | 2 |
obspy.db | - | 9 | 9 | - | 0.06s | - |
obspy.geodetics | - | 18 | 17 | 1 | 0.09s | - |
obspy.imaging | - | 76 | 75 | 1 | 40.12s | - |
obspy.io.ah | - | 5 | 5 | - | 0.07s | - |
obspy.io.arclink | - | 4 | 4 | - | 1.59s | - |
obspy.io.ascii | - | 28 | 28 | - | 0.16s | - |
obspy.io.cmtsolution | - | 10 | 10 | - | 0.04s | - |
obspy.io.cnv | - | 1 | 1 | - | 0.02s | - |
obspy.io.css | - | 7 | 7 | - | 0.61s | - |
obspy.io.gcf | - | 9 | 9 | - | 0.02s | - |
obspy.io.gse2 | - | 55 | 55 | - | 0.51s | - |
obspy.io.iaspei | - | 7 | 7 | - | 0.72s | - |
obspy.io.json | - | 4 | 4 | - | 0.03s | - |
obspy.io.kinemetrics | - | 7 | 7 | - | 0.38s | - |
obspy.io.kml | - | 3 | 3 | - | 0.21s | - |
obspy.io.mseed | - | 121 | 121 | - | 1.95s | - |
obspy.io.ndk | - | 20 | 20 | - | 0.29s | - |
obspy.io.nied | - | 11 | 11 | - | 0.04s | - |
obspy.io.nlloc | - | 11 | 11 | - | 0.19s | - |
obspy.io.nordic | - | 32 | 32 | - | 0.59s | - |
obspy.io.pdas | - | 3 | 3 | - | 0.00s | - |
obspy.io.pde | - | 13 | 13 | - | 0.36s | - |
obspy.io.quakeml | - | 34 | 34 | - | 0.49s | - |
obspy.io.reftek | - | 19 | 19 | - | 0.14s | - |
obspy.io.sac | - | 94 | 94 | - | 0.32s | - |
obspy.io.scardec | - | 5 | 5 | - | 0.06s | - |
obspy.io.seg2 | - | 1 | 1 | - | 0.02s | - |
obspy.io.segy | - | 54 | 54 | - | 0.49s | - |
obspy.io.seisan | - | 8 | 8 | - | 0.08s | - |
obspy.io.seiscomp | 32 | 43 | 43 | - | 0.48s | 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 |
obspy.io.sh | - | 19 | 19 | - | 0.12s | - |
obspy.io.shapefile | - | 5 | 5 | - | 0.24s | - |
obspy.io.stationtxt | - | 11 | 11 | - | 0.12s | - |
obspy.io.stationxml | - | 21 | 21 | - | 0.37s | - |
obspy.io.wav | - | 8 | 8 | - | 0.02s | - |
obspy.io.win | - | 2 | 2 | - | 0.07s | - |
obspy.io.xseed | - | 81 | 81 | - | 6.79s | - |
obspy.io.y | - | 5 | 5 | - | 0.01s | - |
obspy.io.zmap | - | 14 | 14 | - | 0.25s | - |
obspy.realtime | - | 22 | 22 | - | 0.39s | - |
obspy.scripts | - | 2 | 2 | - | 0.01s | - |
obspy.signal | - | 177 | 176 | 1 | 30.30s | - |
obspy.taup | 1 | 64 | 64 | - | 50.06s | 35 |
Summary | 35 | 1994 | 1959 | 35 | 487.33s | 35 |
Tracebacks (35)
Traceback (most recent call last): File "<decorator-gen-55>", line 2, in test_save_waveform File "/home/eule/dev/obspy/obspy/core/util/decorator.py", line 127, in skip_on_network_error return func(*args, **kwargs) File "/home/eule/dev/obspy/obspy/clients/earthworm/tests/test_client.py", line 102, in test_save_waveform self.assertEqual(len(trace), 51) AssertionError: 50 != 51
Traceback (most recent call last): File "/home/eule/anaconda/envs/workhorse/lib/python3.6/doctest.py", line 2199, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for obspy.core.util.testing.add_unittests File "/home/eule/dev/obspy/obspy/core/util/testing.py", line 46, in add_unittests ---------------------------------------------------------------------- File "/home/eule/dev/obspy/obspy/core/util/testing.py", line 62, in obspy.core.util.testing.add_unittests Failed example: add_unittests(suite, "obspy.core") Exception raised: Traceback (most recent call last): File "/home/eule/anaconda/envs/workhorse/lib/python3.6/doctest.py", line 1330, in __run compileflags, 1), test.globs) File "<doctest obspy.core.util.testing.add_unittests[2]>", line 1, in <module> add_unittests(suite, "obspy.core") File "/home/eule/dev/obspy/obspy/core/util/testing.py", line 72, in add_unittests testsuite.addTest(_module.suite()) File "/home/eule/dev/obspy/obspy/core/tests/test_resource_identifier.py", line 27, in <module> from obspy.core.util.misc import _yield_obj_parent_attr ImportError: cannot import name '_yield_obj_parent_attr'
Traceback (most recent call last): File "/home/eule/dev/obspy/obspy/io/seiscomp/tests/test_event.py", line 311, in test_read_and_write catalog.write(tmpfile, format='SC3ML', validate=True, File "<decorator-gen-42>", line 2, in read_events File "/home/eule/dev/obspy/obspy/core/util/decorator.py", line 334, in _locked_f File "<decorator-gen-41>", line 2, in read_events File "/home/eule/dev/obspy/obspy/core/util/decorator.py", line 301, in _map_example_filename return _map_example_filename File "/home/eule/dev/obspy/obspy/core/event/catalog.py", line 844, in read_events # File name(s) File "<decorator-gen-43>", line 2, in _read File "/home/eule/dev/obspy/obspy/core/util/decorator.py", line 211, in uncompress_file return result File "/home/eule/dev/obspy/obspy/core/event/catalog.py", line 858, in _read File "/home/eule/dev/obspy/obspy/core/util/base.py", line 455, in _read_from_plugin list_obj = read_format(filename, **kwargs) File "/home/eule/dev/obspy/obspy/io/seiscomp/event.py", line 78, in _read_sc3ml raise ValueError(message) ValueError: Can't read SC3ML version 0.10, ObsPy can deal with versions [0.5, 0.6, 0.7, 0.8, 0.9].
Traceback (most recent call last): File "/home/eule/dev/obspy/obspy/io/seiscomp/tests/test_event.py", line 155, in test_read_example self.cmp_read_xslt_file('quakeml_1.2_stationmagnitude.sc3ml', File "/home/eule/dev/obspy/obspy/io/seiscomp/event.py", line 78, in _read_sc3ml raise ValueError(message) ValueError: Can't read SC3ML version 0.10, ObsPy can deal with versions [0.5, 0.6, 0.7, 0.8, 0.9].
Traceback (most recent call last): File "/home/eule/dev/obspy/obspy/io/seiscomp/tests/test_event.py", line 163, in test_read_id_prefix self.cmp_read_xslt_file('quakeml_1.2_arrival.sc3ml', File "/home/eule/dev/obspy/obspy/io/seiscomp/event.py", line 78, in _read_sc3ml raise ValueError(message) ValueError: Can't read SC3ML version 0.10, ObsPy can deal with versions [0.5, 0.6, 0.7, 0.8, 0.9].
Traceback (most recent call last): File "/home/eule/dev/obspy/obspy/io/seiscomp/tests/test_event.py", line 200, in test_read_string event = catalog.events[0] File "<decorator-gen-42>", line 2, in read_events File "/home/eule/dev/obspy/obspy/core/util/decorator.py", line 334, in _locked_f File "<decorator-gen-41>", line 2, in read_events File "/home/eule/dev/obspy/obspy/core/util/decorator.py", line 301, in _map_example_filename return _map_example_filename File "/home/eule/dev/obspy/obspy/core/event/catalog.py", line 812, in read_events the file system. File "<decorator-gen-43>", line 2, in _read File "/home/eule/dev/obspy/obspy/core/util/decorator.py", line 151, in uncompress_file elif not os.path.exists(filename): File "/home/eule/dev/obspy/obspy/core/event/catalog.py", line 858, in _read File "/home/eule/dev/obspy/obspy/core/util/base.py", line 455, in _read_from_plugin list_obj = read_format(filename, **kwargs) File "/home/eule/dev/obspy/obspy/io/seiscomp/event.py", line 78, in _read_sc3ml raise ValueError(message) ValueError: Can't read SC3ML version 0.10, ObsPy can deal with versions [0.5, 0.6, 0.7, 0.8, 0.9].
Traceback (most recent call last): File "/home/eule/dev/obspy/obspy/io/seiscomp/tests/test_event.py", line 135, in test_read_xslt_arrival self.assertEqual(e.exception.args[0], expected_message) File "/home/eule/dev/obspy/obspy/io/seiscomp/tests/test_event.py", line 62, in cmp_read_xslt_file File "/home/eule/anaconda/envs/workhorse/lib/python3.6/filecmp.py", line 51, in cmp s1 = _sig(os.stat(f1)) FileNotFoundError: [Errno 2] No such file or directory: '/home/eule/dev/obspy/obspy/io/seiscomp/tests/data/quakeml_1.2_arrival_res.xml'
Traceback (most recent call last): File "/home/eule/dev/obspy/obspy/io/seiscomp/tests/test_event.py", line 293, in test_write_example def test_write_xslt_focalmechanism(self): File "/home/eule/dev/obspy/obspy/core/event/catalog.py", line 505, in write # get format specific entry point File "/home/eule/dev/obspy/obspy/io/seiscomp/event.py", line 120, in _write_sc3ml transform = etree.XSLT(etree.parse(xslt_filename)) File "src/lxml/etree.pyx", line 3426, in lxml.etree.parse File "src/lxml/parser.pxi", line 1840, in lxml.etree._parseDocument File "src/lxml/parser.pxi", line 1866, in lxml.etree._parseDocumentFromURL File "src/lxml/parser.pxi", line 1770, in lxml.etree._parseDocFromFile File "src/lxml/parser.pxi", line 1163, in lxml.etree._BaseParser._parseDocFromFile File "src/lxml/parser.pxi", line 601, in lxml.etree._ParserContext._handleParseResultDoc File "src/lxml/parser.pxi", line 711, in lxml.etree._handleParseResult File "src/lxml/parser.pxi", line 638, in lxml.etree._raiseParseError OSError: Error reading file '/home/eule/dev/obspy/obspy/io/seiscomp/data/quakeml_1.2__sc3ml_0.9.xsl': failed to load external entity "/home/eule/dev/obspy/obspy/io/seiscomp/data/quakeml_1.2__sc3ml_0.9.xsl"
Traceback (most recent call last): File "/home/eule/dev/obspy/obspy/io/seiscomp/tests/test_event.py", line 304, in test_write_remove_events # Some ID are generated automatically. File comparison can't be done. File "/home/eule/dev/obspy/obspy/core/event/catalog.py", line 505, in write # get format specific entry point File "/home/eule/dev/obspy/obspy/io/seiscomp/event.py", line 120, in _write_sc3ml transform = etree.XSLT(etree.parse(xslt_filename)) File "src/lxml/etree.pyx", line 3426, in lxml.etree.parse File "src/lxml/parser.pxi", line 1840, in lxml.etree._parseDocument File "src/lxml/parser.pxi", line 1866, in lxml.etree._parseDocumentFromURL File "src/lxml/parser.pxi", line 1770, in lxml.etree._parseDocFromFile File "src/lxml/parser.pxi", line 1163, in lxml.etree._BaseParser._parseDocFromFile File "src/lxml/parser.pxi", line 601, in lxml.etree._ParserContext._handleParseResultDoc File "src/lxml/parser.pxi", line 711, in lxml.etree._handleParseResult File "src/lxml/parser.pxi", line 638, in lxml.etree._raiseParseError OSError: Error reading file '/home/eule/dev/obspy/obspy/io/seiscomp/data/quakeml_1.2__sc3ml_0.9.xsl': failed to load external entity "/home/eule/dev/obspy/obspy/io/seiscomp/data/quakeml_1.2__sc3ml_0.9.xsl"
Traceback (most recent call last): File "/home/eule/dev/obspy/obspy/io/seiscomp/tests/test_event.py", line 247, in test_write_xslt_arrival File "/home/eule/dev/obspy/obspy/io/seiscomp/tests/test_event.py", line 73, in cmp_write_xslt_file 'sc3ml_%s__quakeml_1.2.xsl' % version, File "src/lxml/etree.pyx", line 3426, in lxml.etree.parse File "src/lxml/parser.pxi", line 1840, in lxml.etree._parseDocument File "src/lxml/parser.pxi", line 1866, in lxml.etree._parseDocumentFromURL File "src/lxml/parser.pxi", line 1770, in lxml.etree._parseDocFromFile File "src/lxml/parser.pxi", line 1163, in lxml.etree._BaseParser._parseDocFromFile File "src/lxml/parser.pxi", line 601, in lxml.etree._ParserContext._handleParseResultDoc File "src/lxml/parser.pxi", line 711, in lxml.etree._handleParseResult File "src/lxml/parser.pxi", line 638, in lxml.etree._raiseParseError OSError: Error reading file '/home/eule/dev/obspy/obspy/io/seiscomp/data/quakeml_1.2__sc3ml_0.9.xsl': failed to load external entity "/home/eule/dev/obspy/obspy/io/seiscomp/data/quakeml_1.2__sc3ml_0.9.xsl"
Traceback (most recent call last): File "/home/eule/dev/obspy/obspy/io/seiscomp/tests/test_event.py", line 242, in test_write_xslt_data_used_in_moment_tensor with self.assertRaises(ValueError) as e: File "/home/eule/dev/obspy/obspy/io/seiscomp/tests/test_event.py", line 73, in cmp_write_xslt_file 'sc3ml_%s__quakeml_1.2.xsl' % version, File "src/lxml/etree.pyx", line 3426, in lxml.etree.parse File "src/lxml/parser.pxi", line 1840, in lxml.etree._parseDocument File "src/lxml/parser.pxi", line 1866, in lxml.etree._parseDocumentFromURL File "src/lxml/parser.pxi", line 1770, in lxml.etree._parseDocFromFile File "src/lxml/parser.pxi", line 1163, in lxml.etree._BaseParser._parseDocFromFile File "src/lxml/parser.pxi", line 601, in lxml.etree._ParserContext._handleParseResultDoc File "src/lxml/parser.pxi", line 711, in lxml.etree._handleParseResult File "src/lxml/parser.pxi", line 638, in lxml.etree._raiseParseError OSError: Error reading file '/home/eule/dev/obspy/obspy/io/seiscomp/data/quakeml_1.2__sc3ml_0.9.xsl': failed to load external entity "/home/eule/dev/obspy/obspy/io/seiscomp/data/quakeml_1.2__sc3ml_0.9.xsl"
Traceback (most recent call last): File "/home/eule/dev/obspy/obspy/io/seiscomp/tests/test_event.py", line 217, in test_write_xslt_event self.assertEqual(magnitude.resource_id, File "/home/eule/dev/obspy/obspy/io/seiscomp/tests/test_event.py", line 73, in cmp_write_xslt_file 'sc3ml_%s__quakeml_1.2.xsl' % version, File "src/lxml/etree.pyx", line 3426, in lxml.etree.parse File "src/lxml/parser.pxi", line 1840, in lxml.etree._parseDocument File "src/lxml/parser.pxi", line 1866, in lxml.etree._parseDocumentFromURL File "src/lxml/parser.pxi", line 1770, in lxml.etree._parseDocFromFile File "src/lxml/parser.pxi", line 1163, in lxml.etree._BaseParser._parseDocFromFile File "src/lxml/parser.pxi", line 601, in lxml.etree._ParserContext._handleParseResultDoc File "src/lxml/parser.pxi", line 711, in lxml.etree._handleParseResult File "src/lxml/parser.pxi", line 638, in lxml.etree._raiseParseError OSError: Error reading file '/home/eule/dev/obspy/obspy/io/seiscomp/data/quakeml_1.2__sc3ml_0.9.xsl': failed to load external entity "/home/eule/dev/obspy/obspy/io/seiscomp/data/quakeml_1.2__sc3ml_0.9.xsl"
Traceback (most recent call last): File "/home/eule/dev/obspy/obspy/io/seiscomp/tests/test_event.py", line 286, in test_write_xslt_example self.cmp_write_xslt_file('quakeml_1.2_arrival.xml', File "/home/eule/dev/obspy/obspy/io/seiscomp/tests/test_event.py", line 73, in cmp_write_xslt_file 'sc3ml_%s__quakeml_1.2.xsl' % version, File "src/lxml/etree.pyx", line 3426, in lxml.etree.parse File "src/lxml/parser.pxi", line 1840, in lxml.etree._parseDocument File "src/lxml/parser.pxi", line 1866, in lxml.etree._parseDocumentFromURL File "src/lxml/parser.pxi", line 1770, in lxml.etree._parseDocFromFile File "src/lxml/parser.pxi", line 1163, in lxml.etree._BaseParser._parseDocFromFile File "src/lxml/parser.pxi", line 601, in lxml.etree._ParserContext._handleParseResultDoc File "src/lxml/parser.pxi", line 711, in lxml.etree._handleParseResult File "src/lxml/parser.pxi", line 638, in lxml.etree._raiseParseError OSError: Error reading file '/home/eule/dev/obspy/obspy/io/seiscomp/data/quakeml_1.2__sc3ml_0.9.xsl': failed to load external entity "/home/eule/dev/obspy/obspy/io/seiscomp/data/quakeml_1.2__sc3ml_0.9.xsl"
Traceback (most recent call last): File "/home/eule/dev/obspy/obspy/io/seiscomp/tests/test_event.py", line 256, in test_write_xslt_focalmechanism self.cmp_write_xslt_file('quakeml_1.2_event.xml', File "/home/eule/dev/obspy/obspy/io/seiscomp/tests/test_event.py", line 73, in cmp_write_xslt_file 'sc3ml_%s__quakeml_1.2.xsl' % version, File "src/lxml/etree.pyx", line 3426, in lxml.etree.parse File "src/lxml/parser.pxi", line 1840, in lxml.etree._parseDocument File "src/lxml/parser.pxi", line 1866, in lxml.etree._parseDocumentFromURL File "src/lxml/parser.pxi", line 1770, in lxml.etree._parseDocFromFile File "src/lxml/parser.pxi", line 1163, in lxml.etree._BaseParser._parseDocFromFile File "src/lxml/parser.pxi", line 601, in lxml.etree._ParserContext._handleParseResultDoc File "src/lxml/parser.pxi", line 711, in lxml.etree._handleParseResult File "src/lxml/parser.pxi", line 638, in lxml.etree._raiseParseError OSError: Error reading file '/home/eule/dev/obspy/obspy/io/seiscomp/data/quakeml_1.2__sc3ml_0.9.xsl': failed to load external entity "/home/eule/dev/obspy/obspy/io/seiscomp/data/quakeml_1.2__sc3ml_0.9.xsl"
Traceback (most recent call last): File "/home/eule/dev/obspy/obspy/io/seiscomp/tests/test_event.py", line 261, in test_write_xslt_iris_events self.cmp_write_xslt_file('quakeml_1.2_origin.xml', File "/home/eule/dev/obspy/obspy/io/seiscomp/tests/test_event.py", line 73, in cmp_write_xslt_file 'sc3ml_%s__quakeml_1.2.xsl' % version, File "src/lxml/etree.pyx", line 3426, in lxml.etree.parse File "src/lxml/parser.pxi", line 1840, in lxml.etree._parseDocument File "src/lxml/parser.pxi", line 1866, in lxml.etree._parseDocumentFromURL File "src/lxml/parser.pxi", line 1770, in lxml.etree._parseDocFromFile File "src/lxml/parser.pxi", line 1163, in lxml.etree._BaseParser._parseDocFromFile File "src/lxml/parser.pxi", line 601, in lxml.etree._ParserContext._handleParseResultDoc File "src/lxml/parser.pxi", line 711, in lxml.etree._handleParseResult File "src/lxml/parser.pxi", line 638, in lxml.etree._raiseParseError OSError: Error reading file '/home/eule/dev/obspy/obspy/io/seiscomp/data/quakeml_1.2__sc3ml_0.9.xsl': failed to load external entity "/home/eule/dev/obspy/obspy/io/seiscomp/data/quakeml_1.2__sc3ml_0.9.xsl"
Traceback (most recent call last): File "/home/eule/dev/obspy/obspy/io/seiscomp/tests/test_event.py", line 227, in test_write_xslt_magnitude Test reading a SC3ML string/unicode object via read_events. File "/home/eule/dev/obspy/obspy/io/seiscomp/tests/test_event.py", line 73, in cmp_write_xslt_file 'sc3ml_%s__quakeml_1.2.xsl' % version, File "src/lxml/etree.pyx", line 3426, in lxml.etree.parse File "src/lxml/parser.pxi", line 1840, in lxml.etree._parseDocument File "src/lxml/parser.pxi", line 1866, in lxml.etree._parseDocumentFromURL File "src/lxml/parser.pxi", line 1770, in lxml.etree._parseDocFromFile File "src/lxml/parser.pxi", line 1163, in lxml.etree._BaseParser._parseDocFromFile File "src/lxml/parser.pxi", line 601, in lxml.etree._ParserContext._handleParseResultDoc File "src/lxml/parser.pxi", line 711, in lxml.etree._handleParseResult File "src/lxml/parser.pxi", line 638, in lxml.etree._raiseParseError OSError: Error reading file '/home/eule/dev/obspy/obspy/io/seiscomp/data/quakeml_1.2__sc3ml_0.9.xsl': failed to load external entity "/home/eule/dev/obspy/obspy/io/seiscomp/data/quakeml_1.2__sc3ml_0.9.xsl"
Traceback (most recent call last): File "/home/eule/dev/obspy/obspy/io/seiscomp/tests/test_event.py", line 272, in test_write_xslt_neries_events self.cmp_write_xslt_file( File "/home/eule/dev/obspy/obspy/core/event/catalog.py", line 505, in write # get format specific entry point File "/home/eule/dev/obspy/obspy/io/seiscomp/event.py", line 120, in _write_sc3ml transform = etree.XSLT(etree.parse(xslt_filename)) File "src/lxml/etree.pyx", line 3426, in lxml.etree.parse File "src/lxml/parser.pxi", line 1840, in lxml.etree._parseDocument File "src/lxml/parser.pxi", line 1866, in lxml.etree._parseDocumentFromURL File "src/lxml/parser.pxi", line 1770, in lxml.etree._parseDocFromFile File "src/lxml/parser.pxi", line 1163, in lxml.etree._BaseParser._parseDocFromFile File "src/lxml/parser.pxi", line 601, in lxml.etree._ParserContext._handleParseResultDoc File "src/lxml/parser.pxi", line 711, in lxml.etree._handleParseResult File "src/lxml/parser.pxi", line 638, in lxml.etree._raiseParseError OSError: Error reading file '/home/eule/dev/obspy/obspy/io/seiscomp/data/quakeml_1.2__sc3ml_0.9.xsl': failed to load external entity "/home/eule/dev/obspy/obspy/io/seiscomp/data/quakeml_1.2__sc3ml_0.9.xsl"
Traceback (most recent call last): File "/home/eule/dev/obspy/obspy/io/seiscomp/tests/test_event.py", line 222, in test_write_xslt_origin self.assertEqual(station_magnitude.resource_id, File "/home/eule/dev/obspy/obspy/io/seiscomp/tests/test_event.py", line 73, in cmp_write_xslt_file 'sc3ml_%s__quakeml_1.2.xsl' % version, File "src/lxml/etree.pyx", line 3426, in lxml.etree.parse File "src/lxml/parser.pxi", line 1840, in lxml.etree._parseDocument File "src/lxml/parser.pxi", line 1866, in lxml.etree._parseDocumentFromURL File "src/lxml/parser.pxi", line 1770, in lxml.etree._parseDocFromFile File "src/lxml/parser.pxi", line 1163, in lxml.etree._BaseParser._parseDocFromFile File "src/lxml/parser.pxi", line 601, in lxml.etree._ParserContext._handleParseResultDoc File "src/lxml/parser.pxi", line 711, in lxml.etree._handleParseResult File "src/lxml/parser.pxi", line 638, in lxml.etree._raiseParseError OSError: Error reading file '/home/eule/dev/obspy/obspy/io/seiscomp/data/quakeml_1.2__sc3ml_0.9.xsl': failed to load external entity "/home/eule/dev/obspy/obspy/io/seiscomp/data/quakeml_1.2__sc3ml_0.9.xsl"
Traceback (most recent call last): File "/home/eule/dev/obspy/obspy/io/seiscomp/tests/test_event.py", line 251, in test_write_xslt_pick """ File "/home/eule/dev/obspy/obspy/io/seiscomp/tests/test_event.py", line 73, in cmp_write_xslt_file 'sc3ml_%s__quakeml_1.2.xsl' % version, File "src/lxml/etree.pyx", line 3426, in lxml.etree.parse File "src/lxml/parser.pxi", line 1840, in lxml.etree._parseDocument File "src/lxml/parser.pxi", line 1866, in lxml.etree._parseDocumentFromURL File "src/lxml/parser.pxi", line 1770, in lxml.etree._parseDocFromFile File "src/lxml/parser.pxi", line 1163, in lxml.etree._BaseParser._parseDocFromFile File "src/lxml/parser.pxi", line 601, in lxml.etree._ParserContext._handleParseResultDoc File "src/lxml/parser.pxi", line 711, in lxml.etree._handleParseResult File "src/lxml/parser.pxi", line 638, in lxml.etree._raiseParseError OSError: Error reading file '/home/eule/dev/obspy/obspy/io/seiscomp/data/quakeml_1.2__sc3ml_0.9.xsl': failed to load external entity "/home/eule/dev/obspy/obspy/io/seiscomp/data/quakeml_1.2__sc3ml_0.9.xsl"
Traceback (most recent call last): File "/home/eule/dev/obspy/obspy/io/seiscomp/tests/test_event.py", line 238, in test_write_xslt_station_magnitude """ File "/home/eule/dev/obspy/obspy/io/seiscomp/tests/test_event.py", line 73, in cmp_write_xslt_file 'sc3ml_%s__quakeml_1.2.xsl' % version, File "src/lxml/etree.pyx", line 3426, in lxml.etree.parse File "src/lxml/parser.pxi", line 1840, in lxml.etree._parseDocument File "src/lxml/parser.pxi", line 1866, in lxml.etree._parseDocumentFromURL File "src/lxml/parser.pxi", line 1770, in lxml.etree._parseDocFromFile File "src/lxml/parser.pxi", line 1163, in lxml.etree._BaseParser._parseDocFromFile File "src/lxml/parser.pxi", line 601, in lxml.etree._ParserContext._handleParseResultDoc File "src/lxml/parser.pxi", line 711, in lxml.etree._handleParseResult File "src/lxml/parser.pxi", line 638, in lxml.etree._raiseParseError OSError: Error reading file '/home/eule/dev/obspy/obspy/io/seiscomp/data/quakeml_1.2__sc3ml_0.9.xsl': failed to load external entity "/home/eule/dev/obspy/obspy/io/seiscomp/data/quakeml_1.2__sc3ml_0.9.xsl"
Traceback (most recent call last): File "/home/eule/dev/obspy/obspy/io/seiscomp/tests/test_event.py", line 233, in test_write_xslt_station_magnitude_contribution File "/home/eule/dev/obspy/obspy/io/seiscomp/tests/test_event.py", line 73, in cmp_write_xslt_file 'sc3ml_%s__quakeml_1.2.xsl' % version, File "src/lxml/etree.pyx", line 3426, in lxml.etree.parse File "src/lxml/parser.pxi", line 1840, in lxml.etree._parseDocument File "src/lxml/parser.pxi", line 1866, in lxml.etree._parseDocumentFromURL File "src/lxml/parser.pxi", line 1770, in lxml.etree._parseDocFromFile File "src/lxml/parser.pxi", line 1163, in lxml.etree._BaseParser._parseDocFromFile File "src/lxml/parser.pxi", line 601, in lxml.etree._ParserContext._handleParseResultDoc File "src/lxml/parser.pxi", line 711, in lxml.etree._handleParseResult File "src/lxml/parser.pxi", line 638, in lxml.etree._raiseParseError OSError: Error reading file '/home/eule/dev/obspy/obspy/io/seiscomp/data/quakeml_1.2__sc3ml_0.9.xsl': failed to load external entity "/home/eule/dev/obspy/obspy/io/seiscomp/data/quakeml_1.2__sc3ml_0.9.xsl"
Traceback (most recent call last): File "/home/eule/dev/obspy/obspy/io/seiscomp/tests/test_event.py", line 282, in test_write_xslt_usgs_events self.cmp_write_xslt_file('quakeml_1.2_data_used.xml', File "/home/eule/dev/obspy/obspy/io/seiscomp/tests/test_event.py", line 73, in cmp_write_xslt_file 'sc3ml_%s__quakeml_1.2.xsl' % version, File "src/lxml/etree.pyx", line 3426, in lxml.etree.parse File "src/lxml/parser.pxi", line 1840, in lxml.etree._parseDocument File "src/lxml/parser.pxi", line 1866, in lxml.etree._parseDocumentFromURL File "src/lxml/parser.pxi", line 1770, in lxml.etree._parseDocFromFile File "src/lxml/parser.pxi", line 1163, in lxml.etree._BaseParser._parseDocFromFile File "src/lxml/parser.pxi", line 601, in lxml.etree._ParserContext._handleParseResultDoc File "src/lxml/parser.pxi", line 711, in lxml.etree._handleParseResult File "src/lxml/parser.pxi", line 638, in lxml.etree._raiseParseError OSError: Error reading file '/home/eule/dev/obspy/obspy/io/seiscomp/data/quakeml_1.2__sc3ml_0.9.xsl': failed to load external entity "/home/eule/dev/obspy/obspy/io/seiscomp/data/quakeml_1.2__sc3ml_0.9.xsl"
Traceback (most recent call last): File "/home/eule/anaconda/envs/workhorse/lib/python3.6/doctest.py", line 2199, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for obspy.io.seiscomp.event._read_sc3ml File "/home/eule/dev/obspy/obspy/io/seiscomp/event.py", line 31, in _read_sc3ml ---------------------------------------------------------------------- File "/home/eule/dev/obspy/obspy/io/seiscomp/event.py", line 57, in obspy.io.seiscomp.event._read_sc3ml Failed example: cat = read_events('/path/to/iris_events.sc3ml') Exception raised: Traceback (most recent call last): File "/home/eule/anaconda/envs/workhorse/lib/python3.6/doctest.py", line 1330, in __run compileflags, 1), test.globs) File "<doctest obspy.io.seiscomp.event._read_sc3ml[1]>", line 1, in <module> cat = read_events('/path/to/iris_events.sc3ml') File "<decorator-gen-42>", line 2, in read_events File "/home/eule/dev/obspy/obspy/core/util/decorator.py", line 334, in _locked_f File "<decorator-gen-41>", line 2, in read_events File "/home/eule/dev/obspy/obspy/core/util/decorator.py", line 301, in _map_example_filename return _map_example_filename File "/home/eule/dev/obspy/obspy/core/event/catalog.py", line 844, in read_events # File name(s) File "<decorator-gen-43>", line 2, in _read File "/home/eule/dev/obspy/obspy/core/util/decorator.py", line 211, in uncompress_file return result File "/home/eule/dev/obspy/obspy/core/event/catalog.py", line 858, in _read File "/home/eule/dev/obspy/obspy/core/util/base.py", line 455, in _read_from_plugin list_obj = read_format(filename, **kwargs) File "/home/eule/dev/obspy/obspy/io/seiscomp/event.py", line 78, in _read_sc3ml raise ValueError(message) ValueError: Can't read SC3ML version 0.10, ObsPy can deal with versions [0.5, 0.6, 0.7, 0.8, 0.9]. ---------------------------------------------------------------------- File "/home/eule/dev/obspy/obspy/io/seiscomp/event.py", line 58, in obspy.io.seiscomp.event._read_sc3ml Failed example: print(cat) Exception raised: Traceback (most recent call last): File "/home/eule/anaconda/envs/workhorse/lib/python3.6/doctest.py", line 1330, in __run compileflags, 1), test.globs) File "<doctest obspy.io.seiscomp.event._read_sc3ml[2]>", line 1, in <module> print(cat) NameError: name 'cat' is not defined
Traceback (most recent call last): File "/home/eule/dev/obspy/obspy/io/seiscomp/tests/test_core.py", line 45, in test_validate self.assertTrue(validate(filename)) AssertionError: False is not true
Traceback (most recent call last): File "/home/eule/dev/obspy/obspy/io/seiscomp/tests/test_event.py", line 131, in test_read_xslt_data_used_in_moment_tensor read_events(filename) File "/home/eule/dev/obspy/obspy/io/seiscomp/tests/test_event.py", line 62, in cmp_read_xslt_file AssertionError: False is not true
Traceback (most recent call last): File "/home/eule/dev/obspy/obspy/io/seiscomp/tests/test_event.py", line 110, in test_read_xslt_event filepath_cmp = os.path.join(self.path, sc3ml_file) File "/home/eule/dev/obspy/obspy/io/seiscomp/tests/test_event.py", line 62, in cmp_read_xslt_file AssertionError: False is not true
Traceback (most recent call last): File "/home/eule/dev/obspy/obspy/io/seiscomp/tests/test_event.py", line 151, in test_read_xslt_example 'quakeml_1.2_stationmagnitudecontributions.sc3ml', File "/home/eule/dev/obspy/obspy/io/seiscomp/tests/test_event.py", line 62, in cmp_read_xslt_file AssertionError: False is not true
Traceback (most recent call last): File "/home/eule/dev/obspy/obspy/io/seiscomp/tests/test_event.py", line 143, in test_read_xslt_focalmechanism 'quakeml_1.2_origin_res.xml') File "/home/eule/dev/obspy/obspy/io/seiscomp/tests/test_event.py", line 62, in cmp_read_xslt_file AssertionError: False is not true
Traceback (most recent call last): File "/home/eule/dev/obspy/obspy/io/seiscomp/tests/test_event.py", line 147, in test_read_xslt_iris_events 'quakeml_1.2_magnitude.xml') File "/home/eule/dev/obspy/obspy/io/seiscomp/tests/test_event.py", line 62, in cmp_read_xslt_file AssertionError: False is not true
Traceback (most recent call last): File "/home/eule/dev/obspy/obspy/io/seiscomp/tests/test_event.py", line 118, in test_read_xslt_magnitude filename = os.path.join(self.path, 'version%s' % version) File "/home/eule/dev/obspy/obspy/io/seiscomp/tests/test_event.py", line 62, in cmp_read_xslt_file AssertionError: False is not true
Traceback (most recent call last): File "/home/eule/dev/obspy/obspy/io/seiscomp/tests/test_event.py", line 114, in test_read_xslt_origin """ File "/home/eule/dev/obspy/obspy/io/seiscomp/tests/test_event.py", line 62, in cmp_read_xslt_file AssertionError: False is not true
Traceback (most recent call last): File "/home/eule/dev/obspy/obspy/io/seiscomp/tests/test_event.py", line 139, in test_read_xslt_pick 'quakeml_1.2_event_res.xml') File "/home/eule/dev/obspy/obspy/io/seiscomp/tests/test_event.py", line 62, in cmp_read_xslt_file AssertionError: False is not true
Traceback (most recent call last): File "/home/eule/dev/obspy/obspy/io/seiscomp/tests/test_event.py", line 127, in test_read_xslt_station_magnitude self.assertEqual(e.exception.args[0], expected_message) File "/home/eule/dev/obspy/obspy/io/seiscomp/tests/test_event.py", line 62, in cmp_read_xslt_file AssertionError: False is not true
Traceback (most recent call last): File "/home/eule/dev/obspy/obspy/io/seiscomp/tests/test_event.py", line 123, in test_read_xslt_station_magnitude_contribution read_events(filename) File "/home/eule/dev/obspy/obspy/io/seiscomp/tests/test_event.py", line 62, in cmp_read_xslt_file AssertionError: False is not true
Traceback (most recent call last): File "/home/eule/dev/obspy/obspy/taup/tests/test_tau.py", line 1031, in test_regional_models if __name__ == '__main__': File "/home/eule/dev/obspy/obspy/taup/taup_create.py", line 180, in build_taup_model mod_create.load_velocity_model() File "/home/eule/dev/obspy/obspy/taup/taup_create.py", line 54, in load_velocity_model self.v_mod = VelocityModel.read_velocity_file(filename) File "/home/eule/dev/obspy/obspy/taup/velocity_model.py", line 380, in read_velocity_file v_mod = cls.read_tvel_file(filename) File "/home/eule/dev/obspy/obspy/taup/velocity_model.py", line 419, in read_tvel_file data = np.genfromtxt(filename, skip_header=2, comments='#') File "/home/eule/anaconda/envs/workhorse/lib/python3.6/site-packages/numpy/lib/npyio.py", line 1737, in genfromtxt fhd = iter(np.lib._datasource.open(fname, 'rt', encoding=encoding)) File "/home/eule/anaconda/envs/workhorse/lib/python3.6/site-packages/numpy/lib/_datasource.py", line 266, in open return ds.open(path, mode, encoding=encoding, newline=newline) File "/home/eule/anaconda/envs/workhorse/lib/python3.6/site-packages/numpy/lib/_datasource.py", line 624, in open raise IOError("%s not found." % path) OSError: /home/eule/dev/obspy/obspy/taup/tests/data/TauP_test_data/../2_layer_model.tvel not found.
Skipped tests (35)
Submodule | Test | Skip message |
---|---|---|
clients.arclink | test_m2crypto (obspy.clients.arclink.tests.test_decrypt.ClientTestCase) | M2Crypto is not installed |
clients.arclink | test_pycrypto (obspy.clients.arclink.tests.test_decrypt.ClientTestCase) | PyCrypto is not installed |
clients.seedlink | test_info (obspy.clients.seedlink.tests.test_slclient.SLClientTestCase) | test must be started manually |
clients.seedlink | test_issue708 (obspy.clients.seedlink.tests.test_slclient.SLClientTestCase) | test must be started manually |
clients.seedlink | test_time_window (obspy.clients.seedlink.tests.test_slclient.SLClientTestCase) | test must be started manually |
clients.seishub | test_get_channel_ids (obspy.clients.seishub.tests.test_client.ClientTestCase) | Seishub test server not reachable. |
clients.seishub | test_get_coordinates (obspy.clients.seishub.tests.test_client.ClientTestCase) | Seishub test server not reachable. |
clients.seishub | test_get_event_list (obspy.clients.seishub.tests.test_client.ClientTestCase) | Seishub test server not reachable. |
clients.seishub | test_get_location_ids (obspy.clients.seishub.tests.test_client.ClientTestCase) | Seishub test server not reachable. |
clients.seishub | test_get_network_ids (obspy.clients.seishub.tests.test_client.ClientTestCase) | Seishub test server not reachable. |
clients.seishub | test_get_paz (obspy.clients.seishub.tests.test_client.ClientTestCase) | Seishub test server not reachable. |
clients.seishub | test_get_preview (obspy.clients.seishub.tests.test_client.ClientTestCase) | Seishub test server not reachable. |
clients.seishub | test_get_preview_by_ids (obspy.clients.seishub.tests.test_client.ClientTestCase) | Seishub test server not reachable. |
clients.seishub | test_get_station_ids (obspy.clients.seishub.tests.test_client.ClientTestCase) | Seishub test server not reachable. |
clients.seishub | test_get_waveform_with_metadata (obspy.clients.seishub.tests.test_client.ClientTestCase) | Seishub test server not reachable. |
clients.seishub | test_get_waveforms (obspy.clients.seishub.tests.test_client.ClientTestCase) | Seishub test server not reachable. |
clients.seishub | test_localcache (obspy.clients.seishub.tests.test_client.ClientTestCase) | Seishub test server not reachable. |
clients.seishub | test_ping (obspy.clients.seishub.tests.test_client.ClientTestCase) | Seishub test server not reachable. |
core | test_location_plot_global (obspy.core.tests.test_network.NetworkBasemapTestCase) | basemap not installed |
core | test_location_plot_local (obspy.core.tests.test_network.NetworkBasemapTestCase) | basemap not installed |
core | test_location_plot_ortho (obspy.core.tests.test_network.NetworkBasemapTestCase) | basemap not installed |
core | test_catalog_plot_global (obspy.core.tests.test_event.CatalogBasemapTestCase) | basemap not installed |
core | test_catalog_plot_local (obspy.core.tests.test_event.CatalogBasemapTestCase) | basemap not installed |
core | test_catalog_plot_ortho (obspy.core.tests.test_event.CatalogBasemapTestCase) | basemap not installed |
core | test_catalog_plot_ortho_longitude_wrap (obspy.core.tests.test_event.CatalogBasemapTestCase) | basemap not installed |
core | test_plot_catalog_before_1900 (obspy.core.tests.test_event.CatalogBasemapTestCase) | basemap not installed |
core | test_plot_farfield_without_quiver_with_maps (obspy.core.tests.test_event.EventTestCase) | basemap not installed |
core | test_combined_station_event_plot (obspy.core.tests.test_inventory.InventoryBasemapTestCase) | basemap not installed |
core | test_location_plot_global (obspy.core.tests.test_inventory.InventoryBasemapTestCase) | basemap not installed |
core | test_location_plot_local (obspy.core.tests.test_inventory.InventoryBasemapTestCase) | basemap not installed |
core | test_location_plot_ortho (obspy.core.tests.test_inventory.InventoryBasemapTestCase) | basemap not installed |
core | test_flake8 (obspy.core.tests.test_code_formatting.CodeFormattingTestCase) | Formatting tests require at least flake8 3.0. |
geodetics | test_gps_2_dist_azimuth_bug150 (obspy.geodetics.tests.test_util_geodetics.UtilGeodeticsTestCase) | Module geographiclib is installed, not using calc_vincenty_inverse |
imaging | test_script_plot (obspy.imaging.tests.test_mopad_script.MopadTestCase) | Currently broken until further review. |
signal | test_ppsd_spectrogram_plot (obspy.signal.tests.test_spectral_estimation.PsdTestCase) | matplotlib >= 3 shifts labels |
Slowest tests (20)
Runtime | Test |
---|---|
19.145s | test_location_plot_local (obspy.core.tests.test_network.NetworkCartopyTestCase) |
18.376s | test_get_networks (obspy.clients.arclink.tests.test_client.ClientTestCase) |
11.153s | test_get_waveform_instrument_change (obspy.clients.arclink.tests.test_client.ClientTestCase) |
10.338s | test_get_stations_integration_test (obspy.clients.fdsn.tests.test_eidaws_routing_client.EIDAWSRoutingClientTestCase) |
10.090s | test_dataselect_bulk (obspy.clients.fdsn.tests.test_client.ClientTestCase) |
8.280s | test_evalresp (obspy.clients.iris.tests.test_client.ClientTestCase) |
7.648s | test_get_inventory (obspy.clients.arclink.tests.test_client.ClientTestCase) |
7.246s | __init__ (obspy.taup) |
7.124s | test_get_waveform_with_metadata (obspy.clients.arclink.tests.test_client.ClientTestCase) |
6.942s | test_shoot_existing_ray_param (obspy.taup.tests.test_seismic_phase.TauPySeismicPhaseTestCase) |
6.776s | test_iris_example_queries_dataselect (obspy.clients.fdsn.tests.test_client.ClientTestCase) |
6.408s | test_get_routing (obspy.clients.arclink.tests.test_client.ClientTestCase) |
6.241s | test_redirection_auth (obspy.clients.fdsn.tests.test_client.ClientTestCase) |
5.962s | test_get_waveform_nscl (obspy.clients.neic.tests.test_client.ClientTestCase) |
5.807s | __init__ (obspy.clients.fdsn) |
5.570s | test_redirection (obspy.clients.fdsn.tests.test_client.ClientTestCase) |
5.518s | test_delayed_request (obspy.clients.arclink.tests.test_client.ClientTestCase) |
5.504s | test_get_stations (obspy.clients.arclink.tests.test_client.ClientTestCase) |
5.287s | __init__ (obspy.clients.syngine) |
5.225s | test_catalog_plot_local (obspy.core.tests.test_event.CatalogCartopyTestCase) |