#107405 Report by node travis-ci covering 1930 tests from 48 modules resulted into 20 errors
Report
- ObsPy version
- 1.1.1.post0+1072.ga7fe43d165.…
- GitHub Pull Request
- https://github.com/obspy/obspy/pull/2510
- Report file
- XML document
- Total runtime
- 308.4 sec
- Report date/time
- Dec. 12, 2019, 4:44 p.m.
System / Python
- Architecture
- 64bit
- Machine
- x86_64
- Node
- travis-ci
- Processor
- x86_64
- Python Compiler
- GCC 7.3.0
- Python Implementation
- CPython
- Python Version
- 2.7.15
- Release
- 4.15.0-1028-gcp
- System
- Linux
- Version
- #29~16.04.1-Ubuntu SMP Tue Feb 12 16:31:10 UTC 2019
Dependencies
- cartopy
- ---
- decorator
- 4.4.1
- flake8
- ---
- future
- 0.18.2
- geographiclib
- 1.50
- lxml.etree
- 4.4.2
- m2crypto
- ---
- matplotlib
- 1.3.1
- mock
- 3.0.5
- mpl_toolkits.basemap
- 1.0.7
- numpy
- 1.8.2
- pep8-naming
- ---
- pyflakes
- ---
- pyimgur
- 0.5.2
- pyproj
- 1.9.5.1
- requests
- 2.22.0
- scipy
- 0.12.0
- setuptools
- 42.0.2.post20191201
- shapefile
- 2.1.0
- sqlalchemy
- 1.3.11
Modules (48)
Module | Errors / Failures | Tracebacks | ||||
---|---|---|---|---|---|---|
obspy.clients.arclink | Not tested | - | - | - | - | - |
obspy.clients.earthworm | Not tested | - | - | - | - | - |
obspy.clients.fdsn | Not tested | - | - | - | - | - |
obspy.clients.filesystem | - | 6 | 6 | - | 3.32s | - |
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 | 2 | 665 | 643 | 22 | 52.70s | 1 2 |
obspy.db | - | 9 | 9 | - | 0.11s | - |
obspy.geodetics | - | 18 | 17 | 1 | 0.52s | - |
obspy.imaging | - | 77 | 75 | 2 | 73.89s | - |
obspy.io.ah | - | 5 | 5 | - | 0.13s | - |
obspy.io.arclink | 3 | 4 | 4 | - | 0.07s | 3 4 5 |
obspy.io.ascii | - | 28 | 28 | - | 0.53s | - |
obspy.io.cmtsolution | - | 10 | 10 | - | 0.17s | - |
obspy.io.cnv | - | 1 | 1 | - | 0.04s | - |
obspy.io.css | - | 7 | 7 | - | 0.59s | - |
obspy.io.dmx | - | 5 | 5 | - | 0.04s | - |
obspy.io.focmec | - | 8 | 8 | - | 0.29s | - |
obspy.io.gcf | - | 9 | 9 | - | 0.05s | - |
obspy.io.gse2 | - | 55 | 55 | - | 1.22s | - |
obspy.io.iaspei | - | 7 | 7 | - | 8.66s | - |
obspy.io.json | - | 4 | 4 | - | 0.06s | - |
obspy.io.kinemetrics | - | 7 | 7 | - | 1.49s | - |
obspy.io.kml | - | 3 | 3 | - | 0.21s | - |
obspy.io.mseed | - | 126 | 126 | - | 2.70s | - |
obspy.io.ndk | - | 20 | 20 | - | 1.60s | - |
obspy.io.nied | - | 11 | 11 | - | 0.10s | - |
obspy.io.nlloc | - | 12 | 12 | - | 0.27s | - |
obspy.io.nordic | - | 50 | 50 | - | 6.00s | - |
obspy.io.pdas | - | 3 | 3 | - | 0.01s | - |
obspy.io.pde | - | 13 | 13 | - | 0.96s | - |
obspy.io.quakeml | - | 38 | 38 | - | 1.03s | - |
obspy.io.reftek | - | 20 | 20 | - | 0.65s | - |
obspy.io.rg16 | - | 36 | 36 | - | 0.65s | - |
obspy.io.sac | - | 95 | 95 | - | 0.91s | - |
obspy.io.scardec | - | 5 | 5 | - | 0.10s | - |
obspy.io.seg2 | - | 2 | 2 | - | 0.04s | - |
obspy.io.segy | - | 56 | 56 | - | 0.94s | - |
obspy.io.seisan | - | 8 | 8 | - | 0.21s | - |
obspy.io.seiscomp | 7 | 45 | 45 | - | 1.47s | 6 7 8 9 10 11 12 |
obspy.io.sh | - | 25 | 25 | - | 1.23s | - |
obspy.io.shapefile | - | 7 | 7 | - | 1.24s | - |
obspy.io.stationtxt | - | 11 | 11 | - | 0.16s | - |
obspy.io.stationxml | 8 | 21 | 21 | - | 0.61s | 13 14 15 16 17 18 19 20 |
obspy.io.wav | - | 8 | 8 | - | 0.03s | - |
obspy.io.win | - | 2 | 2 | - | 0.19s | - |
obspy.io.xseed | - | 82 | 82 | - | 21.70s | - |
obspy.io.y | - | 5 | 5 | - | 0.02s | - |
obspy.io.zmap | - | 14 | 14 | - | 0.44s | - |
obspy.realtime | - | 22 | 22 | - | 1.04s | - |
obspy.scripts | - | 2 | 2 | - | 0.03s | - |
obspy.signal | - | 199 | 199 | - | 61.20s | - |
obspy.taup | - | 64 | 64 | - | 58.82s | - |
Summary | 20 | 1930 | 1905 | 25 | 308.44s | 20 |
Tracebacks (20)
Traceback (most recent call last): File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/core/tests/test_network.py", line 299, in test_empty_network_code inv.write(buf, format="stationxml", validate=True) File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/core/inventory/inventory.py", line 365, in write return write_format(self, path_or_file_object, **kwargs) File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/stationxml/core.py", line 896, in _write_stationxml _write_network(root, network, level) File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/stationxml/core.py", line 963, in _write_network _write_base_node(network_elem, network) File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/stationxml/core.py", line 946, in _write_base_node if object_to_read_from.identifier: AttributeError: 'Network' object has no attribute 'identifier'
Traceback (most recent call last): File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/core/tests/test_network.py", line 247, in test_writing_network_before_1990 inv.write(buf, format="stationxml") File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/core/inventory/inventory.py", line 365, in write return write_format(self, path_or_file_object, **kwargs) File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/stationxml/core.py", line 896, in _write_stationxml _write_network(root, network, level) File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/stationxml/core.py", line 963, in _write_network _write_base_node(network_elem, network) File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/stationxml/core.py", line 946, in _write_base_node if object_to_read_from.identifier: AttributeError: 'Network' object has no attribute 'identifier'
Traceback (most recent call last): File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/arclink/tests/test_inventory_xml.py", line 49, in test_analogue_filter_chain arclink_inv = read_inventory(self.arclink_afc_path) File "</home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/decorator.pyc:decorator-gen-49>", line 2, in read_inventory File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename return func(*args, **kwargs) File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/core/inventory/inventory.py", line 89, in read_inventory **kwargs) File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/core/util/base.py", line 699, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "</home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/decorator.pyc:decorator-gen-50>", line 2, in _read File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/core/util/decorator.py", line 210, in uncompress_file result = func(filename, *args, **kwargs) File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/core/inventory/inventory.py", line 98, in _read **kwargs) File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/core/util/base.py", line 467, in _read_from_plugin list_obj = read_format(filename, **kwargs) File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/arclink/inventory.py", line 151, in _read_inventory_xml networks.append(_read_network(root, net_element)) File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/arclink/inventory.py", line 217, in _read_network stations.append(_read_station(inventory_root, sta_element)) File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/arclink/inventory.py", line 272, in _read_station channels.append(_read_channel(inventory_root, channel)) File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/arclink/inventory.py", line 434, in _read_channel channel.storage_format = _attr2obj(cha_element, "format", str) AttributeError: can't set attribute
Traceback (most recent call last): File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/arclink/tests/test_inventory_xml.py", line 82, in test_auto_read_arclink_xml arclink_inv = read_inventory(self.arclink_xml_path) File "</home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/decorator.pyc:decorator-gen-49>", line 2, in read_inventory File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename return func(*args, **kwargs) File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/core/inventory/inventory.py", line 89, in read_inventory **kwargs) File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/core/util/base.py", line 699, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "</home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/decorator.pyc:decorator-gen-50>", line 2, in _read File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/core/util/decorator.py", line 210, in uncompress_file result = func(filename, *args, **kwargs) File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/core/inventory/inventory.py", line 98, in _read **kwargs) File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/core/util/base.py", line 467, in _read_from_plugin list_obj = read_format(filename, **kwargs) File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/arclink/inventory.py", line 151, in _read_inventory_xml networks.append(_read_network(root, net_element)) File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/arclink/inventory.py", line 217, in _read_network stations.append(_read_station(inventory_root, sta_element)) File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/arclink/inventory.py", line 272, in _read_station channels.append(_read_channel(inventory_root, channel)) File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/arclink/inventory.py", line 434, in _read_channel channel.storage_format = _attr2obj(cha_element, "format", str) AttributeError: can't set attribute
Traceback (most recent call last): File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/arclink/tests/test_inventory_xml.py", line 76, in test_raise_polynomial read_inventory(self.arclink_xml_poly) File "</home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/decorator.pyc:decorator-gen-49>", line 2, in read_inventory File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename return func(*args, **kwargs) File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/core/inventory/inventory.py", line 89, in read_inventory **kwargs) File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/core/util/base.py", line 699, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "</home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/decorator.pyc:decorator-gen-50>", line 2, in _read File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/core/util/decorator.py", line 210, in uncompress_file result = func(filename, *args, **kwargs) File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/core/inventory/inventory.py", line 98, in _read **kwargs) File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/core/util/base.py", line 467, in _read_from_plugin list_obj = read_format(filename, **kwargs) File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/arclink/inventory.py", line 151, in _read_inventory_xml networks.append(_read_network(root, net_element)) File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/arclink/inventory.py", line 217, in _read_network stations.append(_read_station(inventory_root, sta_element)) File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/arclink/inventory.py", line 272, in _read_station channels.append(_read_channel(inventory_root, channel)) File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/arclink/inventory.py", line 434, in _read_channel channel.storage_format = _attr2obj(cha_element, "format", str) AttributeError: can't set attribute
Traceback (most recent call last): File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/seiscomp/tests/test_inventory.py", line 44, in setUp self.sc3ml_inventory = read_inventory(sc3ml_path, format="SC3ML") File "</home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/decorator.pyc:decorator-gen-49>", line 2, in read_inventory File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename return func(*args, **kwargs) File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/core/inventory/inventory.py", line 89, in read_inventory **kwargs) File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/core/util/base.py", line 699, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "</home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/decorator.pyc:decorator-gen-50>", line 2, in _read File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/core/util/decorator.py", line 210, in uncompress_file result = func(filename, *args, **kwargs) File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/core/inventory/inventory.py", line 98, in _read **kwargs) File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/core/util/base.py", line 467, in _read_from_plugin list_obj = read_format(filename, **kwargs) File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/seiscomp/inventory.py", line 118, in _read_sc3ml networks.append(_read_network(inv_element, net_element, _ns)) File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/seiscomp/inventory.py", line 171, in _read_network stations.append(_read_station(inventory_root, sta_element, _ns)) File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/seiscomp/inventory.py", line 234, in _read_station channels.append(_read_channel(inventory_root, channel, _ns)) File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/seiscomp/inventory.py", line 437, in _read_channel channel.storage_format = _tag2obj(cha_element, _ns("format"), str) AttributeError: can't set attribute
Traceback (most recent call last): File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/seiscomp/tests/test_inventory.py", line 44, in setUp self.sc3ml_inventory = read_inventory(sc3ml_path, format="SC3ML") File "</home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/decorator.pyc:decorator-gen-49>", line 2, in read_inventory File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename return func(*args, **kwargs) File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/core/inventory/inventory.py", line 89, in read_inventory **kwargs) File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/core/util/base.py", line 699, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "</home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/decorator.pyc:decorator-gen-50>", line 2, in _read File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/core/util/decorator.py", line 210, in uncompress_file result = func(filename, *args, **kwargs) File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/core/inventory/inventory.py", line 98, in _read **kwargs) File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/core/util/base.py", line 467, in _read_from_plugin list_obj = read_format(filename, **kwargs) File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/seiscomp/inventory.py", line 118, in _read_sc3ml networks.append(_read_network(inv_element, net_element, _ns)) File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/seiscomp/inventory.py", line 171, in _read_network stations.append(_read_station(inventory_root, sta_element, _ns)) File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/seiscomp/inventory.py", line 234, in _read_station channels.append(_read_channel(inventory_root, channel, _ns)) File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/seiscomp/inventory.py", line 437, in _read_channel channel.storage_format = _tag2obj(cha_element, _ns("format"), str) AttributeError: can't set attribute
Traceback (most recent call last): File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/seiscomp/tests/test_inventory.py", line 44, in setUp self.sc3ml_inventory = read_inventory(sc3ml_path, format="SC3ML") File "</home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/decorator.pyc:decorator-gen-49>", line 2, in read_inventory File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename return func(*args, **kwargs) File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/core/inventory/inventory.py", line 89, in read_inventory **kwargs) File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/core/util/base.py", line 699, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "</home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/decorator.pyc:decorator-gen-50>", line 2, in _read File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/core/util/decorator.py", line 210, in uncompress_file result = func(filename, *args, **kwargs) File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/core/inventory/inventory.py", line 98, in _read **kwargs) File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/core/util/base.py", line 467, in _read_from_plugin list_obj = read_format(filename, **kwargs) File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/seiscomp/inventory.py", line 118, in _read_sc3ml networks.append(_read_network(inv_element, net_element, _ns)) File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/seiscomp/inventory.py", line 171, in _read_network stations.append(_read_station(inventory_root, sta_element, _ns)) File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/seiscomp/inventory.py", line 234, in _read_station channels.append(_read_channel(inventory_root, channel, _ns)) File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/seiscomp/inventory.py", line 437, in _read_channel channel.storage_format = _tag2obj(cha_element, _ns("format"), str) AttributeError: can't set attribute
Traceback (most recent call last): File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/seiscomp/tests/test_inventory.py", line 44, in setUp self.sc3ml_inventory = read_inventory(sc3ml_path, format="SC3ML") File "</home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/decorator.pyc:decorator-gen-49>", line 2, in read_inventory File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename return func(*args, **kwargs) File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/core/inventory/inventory.py", line 89, in read_inventory **kwargs) File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/core/util/base.py", line 699, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "</home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/decorator.pyc:decorator-gen-50>", line 2, in _read File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/core/util/decorator.py", line 210, in uncompress_file result = func(filename, *args, **kwargs) File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/core/inventory/inventory.py", line 98, in _read **kwargs) File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/core/util/base.py", line 467, in _read_from_plugin list_obj = read_format(filename, **kwargs) File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/seiscomp/inventory.py", line 118, in _read_sc3ml networks.append(_read_network(inv_element, net_element, _ns)) File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/seiscomp/inventory.py", line 171, in _read_network stations.append(_read_station(inventory_root, sta_element, _ns)) File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/seiscomp/inventory.py", line 234, in _read_station channels.append(_read_channel(inventory_root, channel, _ns)) File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/seiscomp/inventory.py", line 437, in _read_channel channel.storage_format = _tag2obj(cha_element, _ns("format"), str) AttributeError: can't set attribute
Traceback (most recent call last): File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/seiscomp/tests/test_inventory.py", line 44, in setUp self.sc3ml_inventory = read_inventory(sc3ml_path, format="SC3ML") File "</home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/decorator.pyc:decorator-gen-49>", line 2, in read_inventory File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename return func(*args, **kwargs) File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/core/inventory/inventory.py", line 89, in read_inventory **kwargs) File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/core/util/base.py", line 699, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "</home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/decorator.pyc:decorator-gen-50>", line 2, in _read File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/core/util/decorator.py", line 210, in uncompress_file result = func(filename, *args, **kwargs) File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/core/inventory/inventory.py", line 98, in _read **kwargs) File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/core/util/base.py", line 467, in _read_from_plugin list_obj = read_format(filename, **kwargs) File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/seiscomp/inventory.py", line 118, in _read_sc3ml networks.append(_read_network(inv_element, net_element, _ns)) File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/seiscomp/inventory.py", line 171, in _read_network stations.append(_read_station(inventory_root, sta_element, _ns)) File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/seiscomp/inventory.py", line 234, in _read_station channels.append(_read_channel(inventory_root, channel, _ns)) File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/seiscomp/inventory.py", line 437, in _read_channel channel.storage_format = _tag2obj(cha_element, _ns("format"), str) AttributeError: can't set attribute
Traceback (most recent call last): File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/seiscomp/tests/test_inventory.py", line 44, in setUp self.sc3ml_inventory = read_inventory(sc3ml_path, format="SC3ML") File "</home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/decorator.pyc:decorator-gen-49>", line 2, in read_inventory File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename return func(*args, **kwargs) File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/core/inventory/inventory.py", line 89, in read_inventory **kwargs) File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/core/util/base.py", line 699, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "</home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/decorator.pyc:decorator-gen-50>", line 2, in _read File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/core/util/decorator.py", line 210, in uncompress_file result = func(filename, *args, **kwargs) File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/core/inventory/inventory.py", line 98, in _read **kwargs) File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/core/util/base.py", line 467, in _read_from_plugin list_obj = read_format(filename, **kwargs) File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/seiscomp/inventory.py", line 118, in _read_sc3ml networks.append(_read_network(inv_element, net_element, _ns)) File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/seiscomp/inventory.py", line 171, in _read_network stations.append(_read_station(inventory_root, sta_element, _ns)) File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/seiscomp/inventory.py", line 234, in _read_station channels.append(_read_channel(inventory_root, channel, _ns)) File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/seiscomp/inventory.py", line 437, in _read_channel channel.storage_format = _tag2obj(cha_element, _ns("format"), str) AttributeError: can't set attribute
Traceback (most recent call last): File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/seiscomp/tests/test_inventory.py", line 44, in setUp self.sc3ml_inventory = read_inventory(sc3ml_path, format="SC3ML") File "</home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/decorator.pyc:decorator-gen-49>", line 2, in read_inventory File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename return func(*args, **kwargs) File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/core/inventory/inventory.py", line 89, in read_inventory **kwargs) File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/core/util/base.py", line 699, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "</home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/decorator.pyc:decorator-gen-50>", line 2, in _read File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/core/util/decorator.py", line 210, in uncompress_file result = func(filename, *args, **kwargs) File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/core/inventory/inventory.py", line 98, in _read **kwargs) File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/core/util/base.py", line 467, in _read_from_plugin list_obj = read_format(filename, **kwargs) File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/seiscomp/inventory.py", line 118, in _read_sc3ml networks.append(_read_network(inv_element, net_element, _ns)) File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/seiscomp/inventory.py", line 171, in _read_network stations.append(_read_station(inventory_root, sta_element, _ns)) File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/seiscomp/inventory.py", line 234, in _read_station channels.append(_read_channel(inventory_root, channel, _ns)) File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/seiscomp/inventory.py", line 437, in _read_channel channel.storage_format = _tag2obj(cha_element, _ns("format"), str) AttributeError: can't set attribute
Traceback (most recent call last): File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/stationxml/tests/test_stationxml.py", line 689, in test_stationxml_with_availability expected_xml_file_buffer) File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/stationxml/tests/test_stationxml.py", line 69, in _assert_station_xml_equality self.assertEqual(org_line, new_line) AssertionError: u'<FDSNStationXML http://www.fdsn.org/xml/station/fdsn-station+availability-1.0. [truncated]... != u'<FDSNStationXML http://www.fdsn.org/xml/station/fdsn-station+availability-1.0. [truncated]... - <FDSNStationXML http://www.fdsn.org/xml/station/fdsn-station+availability-1.0.xsd" schemaVersion="1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.fdsn.org/xml/station/1" xsi:schemaLocation="http://www.fdsn.org/xml/station/1> ? ^^ + <FDSNStationXML http://www.fdsn.org/xml/station/fdsn-station+availability-1.0.xsd" schemaVersion="1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.fdsn.org/xml/station/1" xsi:schemaLocation="http://www.fdsn.org/xml/station/1> ? ^^
Traceback (most recent call last): File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/stationxml/tests/test_stationxml.py", line 191, in test_subsecond_read_and_write_minimal_file expected_xml_file_buffer) File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/stationxml/tests/test_stationxml.py", line 69, in _assert_station_xml_equality self.assertEqual(org_line, new_line) AssertionError: u'<FDSNStationXML schemaVersion="1.0" xmlns="http://www.fdsn.org/xml/station/1"> [truncated]... != u'<FDSNStationXML schemaVersion="1.1" xmlns="http://www.fdsn.org/xml/station/1"> [truncated]... - <FDSNStationXML schemaVersion="1.0" xmlns="http://www.fdsn.org/xml/station/1"> ? ^ + <FDSNStationXML schemaVersion="1.1" xmlns="http://www.fdsn.org/xml/station/1"> ? ^
Traceback (most recent call last): File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/stationxml/tests/test_stationxml.py", line 206, in test_read_and_write_full_file _suppress_module_tags=True) File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/core/inventory/inventory.py", line 365, in write return write_format(self, path_or_file_object, **kwargs) File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/stationxml/core.py", line 915, in _write_stationxml raise Exception(msg) Exception: The created file fails to validate. <string>:1:0:ERROR:SCHEMASV:SCHEMAV_CVC_COMPLEX_TYPE_3_2_1: Element '{http://www.fdsn.org/xml/station/1}Numerator', attribute 'unit': The attribute 'unit' is not allowed. <string>:1:0:ERROR:SCHEMASV:SCHEMAV_CVC_COMPLEX_TYPE_3_2_1: Element '{http://www.fdsn.org/xml/station/1}Numerator', attribute 'unit': The attribute 'unit' is not allowed. <string>:1:0:ERROR:SCHEMASV:SCHEMAV_CVC_COMPLEX_TYPE_3_2_1: Element '{http://www.fdsn.org/xml/station/1}Denominator', attribute 'unit': The attribute 'unit' is not allowed. <string>:1:0:ERROR:SCHEMASV:SCHEMAV_CVC_COMPLEX_TYPE_3_2_1: Element '{http://www.fdsn.org/xml/station/1}Denominator', attribute 'unit': The attribute 'unit' is not allowed. <string>:1:0:ERROR:SCHEMASV:SCHEMAV_ELEMENT_CONTENT: Element '{http://www.fdsn.org/xml/station/1}Decimation': This element is not expected. Expected is ( ##other{http://www.fdsn.org/xml/station/1}* ). <string>:1:0:ERROR:SCHEMASV:SCHEMAV_CVC_COMPLEX_TYPE_3_2_1: Element '{http://www.fdsn.org/xml/station/1}Numerator', attribute 'unit': The attribute 'unit' is not allowed. <string>:1:0:ERROR:SCHEMASV:SCHEMAV_CVC_COMPLEX_TYPE_3_2_1: Element '{http://www.fdsn.org/xml/station/1}Numerator', attribute 'unit': The attribute 'unit' is not allowed. <string>:1:0:ERROR:SCHEMASV:SCHEMAV_CVC_COMPLEX_TYPE_3_2_1: Element '{http://www.fdsn.org/xml/station/1}Denominator', attribute 'unit': The attribute 'unit' is not allowed. <string>:1:0:ERROR:SCHEMASV:SCHEMAV_CVC_COMPLEX_TYPE_3_2_1: Element '{http://www.fdsn.org/xml/station/1}Denominator', attribute 'unit': The attribute 'unit' is not allowed. <string>:1:0:ERROR:SCHEMASV:SCHEMAV_ELEMENT_CONTENT: Element '{http://www.fdsn.org/xml/station/1}Decimation': This element is not expected. Expected is ( ##other{http://www.fdsn.org/xml/station/1}* ). <string>:1:0:ERROR:SCHEMASV:SCHEMAV_CVC_COMPLEX_TYPE_3_2_1: Element '{http://www.fdsn.org/xml/station/1}Numerator', attribute 'unit': The attribute 'unit' is not allowed. <string>:1:0:ERROR:SCHEMASV:SCHEMAV_CVC_COMPLEX_TYPE_3_2_1: Element '{http://www.fdsn.org/xml/station/1}Numerator', attribute 'unit': The attribute 'unit' is not allowed. <string>:1:0:ERROR:SCHEMASV:SCHEMAV_CVC_COMPLEX_TYPE_3_2_1: Element '{http://www.fdsn.org/xml/station/1}Denominator', attribute 'unit': The attribute 'unit' is not allowed. <string>:1:0:ERROR:SCHEMASV:SCHEMAV_CVC_COMPLEX_TYPE_3_2_1: Element '{http://www.fdsn.org/xml/station/1}Denominator', attribute 'unit': The attribute 'unit' is not allowed.
Traceback (most recent call last): File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/stationxml/tests/test_stationxml.py", line 224, in test_writing_module_tags inv.write(file_buffer, format="StationXML", validate=True) File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/core/inventory/inventory.py", line 365, in write return write_format(self, path_or_file_object, **kwargs) File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/stationxml/core.py", line 896, in _write_stationxml _write_network(root, network, level) File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/stationxml/core.py", line 963, in _write_network _write_base_node(network_elem, network) File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/stationxml/core.py", line 946, in _write_base_node if object_to_read_from.identifier: AttributeError: 'Network' object has no attribute 'identifier'
Traceback (most recent call last): File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/stationxml/tests/test_stationxml.py", line 275, in test_reading_and_writing_full_root_tag file_buffer, expected_xml_file_buffer) File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/stationxml/tests/test_stationxml.py", line 69, in _assert_station_xml_equality self.assertEqual(org_line, new_line) AssertionError: u'<FDSNStationXML schemaVersion="1.0" xmlns="http://www.fdsn.org/xml/station/1"> [truncated]... != u'<FDSNStationXML schemaVersion="1.1" xmlns="http://www.fdsn.org/xml/station/1"> [truncated]... - <FDSNStationXML schemaVersion="1.0" xmlns="http://www.fdsn.org/xml/station/1"> ? ^ + <FDSNStationXML schemaVersion="1.1" xmlns="http://www.fdsn.org/xml/station/1"> ? ^
Traceback (most recent call last): File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/stationxml/tests/test_stationxml.py", line 491, in test_reading_and_writing_full_station_tag self.assertEqual(station.operators[0].agencies[0], "Agency 1") AssertionError: ['Agency 1', 'Agency 2'] != u'Agency 1'
Traceback (most recent call last): File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/stationxml/tests/test_stationxml.py", line 166, in test_read_and_write_minimal_file expected_xml_file_buffer) File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/stationxml/tests/test_stationxml.py", line 69, in _assert_station_xml_equality self.assertEqual(org_line, new_line) AssertionError: u'<FDSNStationXML schemaVersion="1.0" xmlns="http://www.fdsn.org/xml/station/1"> [truncated]... != u'<FDSNStationXML schemaVersion="1.1" xmlns="http://www.fdsn.org/xml/station/1"> [truncated]... - <FDSNStationXML schemaVersion="1.0" xmlns="http://www.fdsn.org/xml/station/1"> ? ^ + <FDSNStationXML schemaVersion="1.1" xmlns="http://www.fdsn.org/xml/station/1"> ? ^
Traceback (most recent call last): File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/stationxml/tests/test_stationxml.py", line 360, in test_reading_and_writing_full_network_tag expected_xml_file_buffer) File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/obspy/io/stationxml/tests/test_stationxml.py", line 69, in _assert_station_xml_equality self.assertEqual(org_line, new_line) AssertionError: u'<FDSNStationXML schemaVersion="1.0" xmlns="http://www.fdsn.org/xml/station/1"> [truncated]... != u'<FDSNStationXML schemaVersion="1.1" xmlns="http://www.fdsn.org/xml/station/1"> [truncated]... - <FDSNStationXML schemaVersion="1.0" xmlns="http://www.fdsn.org/xml/station/1"> ? ^ + <FDSNStationXML schemaVersion="1.1" xmlns="http://www.fdsn.org/xml/station/1"> ? ^
Skipped tests (25)
Submodule | Test | Skip message |
---|---|---|
geodetics | test_gps_2_dist_azimuth_bug150 (obspy.geodetics.tests.test_util_geodetics.UtilGeodeticsTestCase) | Module geographiclib is installed, not using calc_vincenty_inverse |
core | test_flake8 (obspy.core.tests.test_code_formatting.CodeFormattingTestCase) | Formatting tests require at least flake8 3.0. |
core | test_location_plot_global (obspy.core.tests.test_network.NetworkCartopyTestCase) | cartopy not installed |
core | test_location_plot_local (obspy.core.tests.test_network.NetworkCartopyTestCase) | cartopy not installed |
core | test_location_plot_ortho (obspy.core.tests.test_network.NetworkCartopyTestCase) | cartopy not installed |
core | test_issue_317 (obspy.core.tests.test_trace.TraceTestCase) | Skipping this test for the minimum dependency Travis build, see #2507 and https://travis-ci.org/obspy/obspy/jobs/618280587#L2105 |
core | test_combined_station_event_plot (obspy.core.tests.test_inventory.InventoryBasemapTestCase) | matplotlib 3.0.1 is not compatible with basemap |
core | test_location_plot_global (obspy.core.tests.test_inventory.InventoryBasemapTestCase) | matplotlib 3.0.1 is not compatible with basemap |
core | test_location_plot_local (obspy.core.tests.test_inventory.InventoryBasemapTestCase) | matplotlib 3.0.1 is not compatible with basemap |
core | test_location_plot_ortho (obspy.core.tests.test_inventory.InventoryBasemapTestCase) | matplotlib 3.0.1 is not compatible with basemap |
core | test_location_plot_global (obspy.core.tests.test_inventory.InventoryCartopyTestCase) | cartopy not installed |
core | test_location_plot_local (obspy.core.tests.test_inventory.InventoryCartopyTestCase) | cartopy not installed |
core | test_location_plot_ortho (obspy.core.tests.test_inventory.InventoryCartopyTestCase) | cartopy not installed |
core | test_catalog_plot_global (obspy.core.tests.test_event.CatalogBasemapTestCase) | matplotlib 3.0.1 is not campatible with basemap |
core | test_catalog_plot_local (obspy.core.tests.test_event.CatalogBasemapTestCase) | matplotlib 3.0.1 is not campatible with basemap |
core | test_catalog_plot_ortho (obspy.core.tests.test_event.CatalogBasemapTestCase) | matplotlib 3.0.1 is not campatible with basemap |
core | test_catalog_plot_ortho_longitude_wrap (obspy.core.tests.test_event.CatalogBasemapTestCase) | matplotlib 3.0.1 is not campatible with basemap |
core | test_plot_catalog_before_1900 (obspy.core.tests.test_event.CatalogBasemapTestCase) | matplotlib 3.0.1 is not campatible with basemap |
core | test_catalog_plot_global (obspy.core.tests.test_event.CatalogCartopyTestCase) | Cartopy not installed or too old |
core | test_catalog_plot_local (obspy.core.tests.test_event.CatalogCartopyTestCase) | Cartopy not installed or too old |
core | test_catalog_plot_ortho (obspy.core.tests.test_event.CatalogCartopyTestCase) | Cartopy not installed or too old |
core | test_catalog_plot_ortho_longitude_wrap (obspy.core.tests.test_event.CatalogCartopyTestCase) | Cartopy not installed or too old |
core | test_plot_farfield_without_quiver_with_maps (obspy.core.tests.test_event.EventTestCase) | matplotlib 3.0.1 is not campatible with basemap |
imaging | test_farfield_with_quiver (obspy.imaging.tests.test_source.RadPatternTestCase) | matplotlib >= 1.4 needed for 3D quiver plot. |
imaging | test_script_plot (obspy.imaging.tests.test_mopad_script.MopadTestCase) | Currently broken until further review. |
Slowest tests (20)
Runtime | Test |
---|---|
16.311s | test_response_calculation_from_seed_and_xseed (obspy.io.xseed.tests.test_core.CoreTestCase) |
10.073s | test_ppsd_restricted_stacks (obspy.signal.tests.test_spectral_estimation.PsdTestCase) |
7.851s | test_plot_multiple_traces (obspy.imaging.tests.test_waveform.WaveformTestCase) |
7.076s | __init__ (obspy.taup) |
5.861s | test_beachball (obspy.imaging.tests.test_beachball.BeachballTestCase) |
5.138s | test_shoot_existing_ray_param (obspy.taup.tests.test_seismic_phase.TauPySeismicPhaseTestCase) |
4.837s | test_relcal_different_overlaps (obspy.signal.tests.test_calibration.CalibrationTestCase) |
4.767s | test_correlate_stream_template_and_correlation_detector (obspy.signal.tests.test_cross_correlation.CrossCorrelationTestCase) |
3.829s | test_plot_wiggles_vertical_section (obspy.imaging.tests.test_waveform.WaveformTestCase) |
3.737s | test_regional_models (obspy.taup.tests.test_tau.TauPyModelTestCase) |
3.669s | test_plot_wiggles_horizontal_section (obspy.imaging.tests.test_waveform.WaveformTestCase) |
3.618s | test_plot_wiggles_negative_section (obspy.imaging.tests.test_waveform.WaveformTestCase) |
3.607s | test_plot_wiggles_positive_section (obspy.imaging.tests.test_waveform.WaveformTestCase) |
3.575s | test_plot_azim_section (obspy.imaging.tests.test_waveform.WaveformTestCase) |
3.559s | test_plot_colored_section (obspy.imaging.tests.test_waveform.WaveformTestCase) |
3.541s | test_plot_default_section (obspy.imaging.tests.test_waveform.WaveformTestCase) |
3.522s | test_plot_ref_time_section (obspy.imaging.tests.test_waveform.WaveformTestCase) |
3.512s | test_plot_horizontal_section (obspy.imaging.tests.test_waveform.WaveformTestCase) |
3.461s | test_reading_via_file (obspy.io.iaspei.tests.test_core.IASPEITestCase) |
3.250s | test_many_identically_named_phases (obspy.taup.tests.test_seismic_phase.TauPySeismicPhaseTestCase) |