#99644 Report by node appveyor-ci covering 1803 tests from 46 modules resulted into 11 errors

Report

ObsPy version
1.1.1rc1.post0+291.g9b0931952a
GitHub Pull Request
https://github.com/obspy/obspy/pull/2265
Report file
XML document
Total runtime
335.8 sec
Report date/time
Nov. 20, 2018, 9:09 a.m.

System / Python

Architecture
64bit
Machine
AMD64
Node
appveyor-ci
Processor
Intel64 Family 6 Model 63 Stepping 2, GenuineIntel
Python Compiler
MSC v.1500 64 bit (AMD64)
Python Implementation
CPython
Python Version
2.7.15
Release
2012ServerR2
System
Windows
Version
6.3.9600

Dependencies

cartopy
---
decorator
4.3.0
flake8
---
future
0.17.1
geographiclib
1.49
lxml.etree
4.2.5
m2crypto
---
matplotlib
2.2.3
mock
2.0.0
mpl_toolkits.basemap
1.1.0
numpy
1.15.4
pep8-naming
---
pyflakes
---
pyimgur
0.6.0
pyproj
1.9.5.1
requests
2.20.1
scipy
1.1.0
setuptools
40.6.2
shapefile
2.0.0
sqlalchemy
1.2.14

Modules (46)

Module Errors / Failures Tracebacks
obspy.clients.arclink Not tested -
obspy.clients.earthworm Not tested -
obspy.clients.fdsn Not tested -
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 2 1 2
obspy.db - -
obspy.geodetics - -
obspy.imaging - -
obspy.io.ah - -
obspy.io.arclink - -
obspy.io.ascii - -
obspy.io.cmtsolution - -
obspy.io.cnv - -
obspy.io.css - -
obspy.io.gcf - -
obspy.io.gse2 - -
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 3 3 4 5
obspy.io.rg16 1 6
obspy.io.sac - -
obspy.io.scardec - -
obspy.io.seg2 - -
obspy.io.segy - -
obspy.io.seisan - -
obspy.io.seiscomp - -
obspy.io.sh - -
obspy.io.shapefile 5 7 8 9 10 11
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 11 11

Tracebacks (11)

Traceback (most recent call last):
File "obspy\core\tests\test_waveform_plugins.py", line 234, in test_is_format
if is_format(file) is True: # pragma: no cover
File "obspy\io\rg16\core.py", line 617, in _is_rg16
return _internal_is_rg16(fi)
File "obspy\io\rg16\core.py", line 629, in _internal_is_rg16
sample_format = _read(fi, 2, 2, 'bcd')
File "obspy\io\rg16\util.py", line 27, in _read
return _read_bcd(fi, length, left_part)
File "obspy\io\rg16\util.py", line 54, in _read_bcd
unpack_bits = np.unpackbits(ints).reshape(-1, 4)[0:nbr_half_bytes]
TypeError: slice indices must be integers or None or have an __index__ method
Traceback (most recent call last):
File "obspy\core\tests\test_code_formatting.py", line 162, in test_future_imports_in_every_file
self.assertEqual(len(failures), 0, "\n" + "\n".join(failures))
AssertionError:
File 'C:\projects\obspy\obspy\io\rg16\__init__.py' misses imports: from __future__ import (absolute_import, division, print_function, unicode_literals)
File 'C:\projects\obspy\obspy\io\rg16\__init__.py' misses imports: from future.builtins import * # NOQA
File 'C:\projects\obspy\obspy\io\rg16\core.py' misses imports: from __future__ import (absolute_import, division, print_function, unicode_literals)
File 'C:\projects\obspy\obspy\io\rg16\core.py' misses imports: from future.builtins import * # NOQA
File 'C:\projects\obspy\obspy\io\rg16\tests\test_read_fcnt.py' misses imports: from __future__ import (absolute_import, division, print_function, unicode_literals)
File 'C:\projects\obspy\obspy\io\rg16\tests\test_read_fcnt.py' misses imports: from future.builtins import * # NOQA
File 'C:\projects\obspy\obspy\io\rg16\tests\test_util.py' misses imports: from __future__ import (absolute_import, division, print_function, unicode_literals)
File 'C:\projects\obspy\obspy\io\rg16\tests\test_util.py' misses imports: from future.builtins import * # NOQA
File 'C:\projects\obspy\obspy\io\rg16\util.py' misses imports: from __future__ import (absolute_import, division, print_function, unicode_literals)
File 'C:\projects\obspy\obspy\io\rg16\util.py' misses imports: from future.builtins import * # NOQA
Traceback (most recent call last):
File "obspy\io\reftek\tests\test_core.py", line 218, in test_integration_with_obspy_core
component_codes=["1", "2", "3"])
File "<decorator-gen-31>", line 2, in read
File "obspy\core\util\decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "obspy\core\stream.py", line 236, in read
st.extend(_read(file, format, headonly, **kwargs).traces)
File "<decorator-gen-32>", line 2, in _read
File "obspy\core\util\decorator.py", line 210, in uncompress_file
result = func(filename, *args, **kwargs)
File "obspy\core\stream.py", line 278, in _read
headonly=headonly, **kwargs)
File "obspy\core\util\base.py", line 397, in _read_from_plugin
is_format = is_format(filename)
File "obspy\io\rg16\core.py", line 617, in _is_rg16
return _internal_is_rg16(fi)
File "obspy\io\rg16\core.py", line 629, in _internal_is_rg16
sample_format = _read(fi, 2, 2, 'bcd')
File "obspy\io\rg16\util.py", line 27, in _read
return _read_bcd(fi, length, left_part)
File "obspy\io\rg16\util.py", line 54, in _read_bcd
unpack_bits = np.unpackbits(ints).reshape(-1, 4)[0:nbr_half_bytes]
TypeError: slice indices must be integers or None or have an __index__ method
Traceback (most recent call last):
File "obspy\io\reftek\tests\test_core.py", line 532, in test_reading_packet_with_vpu_float_string
sort_permuted_package_sequence=True)
File "<decorator-gen-31>", line 2, in read
File "obspy\core\util\decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "obspy\core\stream.py", line 236, in read
st.extend(_read(file, format, headonly, **kwargs).traces)
File "<decorator-gen-32>", line 2, in _read
File "obspy\core\util\decorator.py", line 210, in uncompress_file
result = func(filename, *args, **kwargs)
File "obspy\core\stream.py", line 278, in _read
headonly=headonly, **kwargs)
File "obspy\core\util\base.py", line 397, in _read_from_plugin
is_format = is_format(filename)
File "obspy\io\rg16\core.py", line 617, in _is_rg16
return _internal_is_rg16(fi)
File "obspy\io\rg16\core.py", line 629, in _internal_is_rg16
sample_format = _read(fi, 2, 2, 'bcd')
File "obspy\io\rg16\util.py", line 27, in _read
return _read_bcd(fi, length, left_part)
File "obspy\io\rg16\util.py", line 54, in _read_bcd
unpack_bits = np.unpackbits(ints).reshape(-1, 4)[0:nbr_half_bytes]
TypeError: slice indices must be integers or None or have an __index__ method
Traceback (most recent call last):
File "C:\Miniconda-x64\envs\test\lib\doctest.py", line 2226, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.io.reftek.__init__
File "obspy\io\reftek\__init__.py", line 1, in __init__
----------------------------------------------------------------------
File "obspy\io\reftek\__init__.py", line 53, in obspy.io.reftek.__init__
Failed example:
st = read("/path/to/225051000_00008656", network="BW", location="",
component_codes="ZNE")
Exception raised:
Traceback (most recent call last):
File "C:\Miniconda-x64\envs\test\lib\doctest.py", line 1315, in __run
compileflags, 1) in test.globs
File "<doctest obspy.io.reftek.__init__[4]>", line 2, in <module>
component_codes="ZNE")
File "<decorator-gen-31>", line 2, in read
File "obspy\core\util\decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "obspy\core\stream.py", line 236, in read
st.extend(_read(file, format, headonly, **kwargs).traces)
File "<decorator-gen-32>", line 2, in _read
File "obspy\core\util\decorator.py", line 210, in uncompress_file
result = func(filename, *args, **kwargs)
File "obspy\core\stream.py", line 278, in _read
headonly=headonly, **kwargs)
File "obspy\core\util\base.py", line 397, in _read_from_plugin
is_format = is_format(filename)
File "obspy\io\rg16\core.py", line 617, in _is_rg16
return _internal_is_rg16(fi)
File "obspy\io\rg16\core.py", line 629, in _internal_is_rg16
sample_format = _read(fi, 2, 2, 'bcd')
File "obspy\io\rg16\util.py", line 27, in _read
return _read_bcd(fi, length, left_part)
File "obspy\io\rg16\util.py", line 54, in _read_bcd
unpack_bits = np.unpackbits(ints).reshape(-1, 4)[0:nbr_half_bytes]
TypeError: slice indices must be integers or None or have an __index__ method
----------------------------------------------------------------------
File "obspy\io\reftek\__init__.py", line 55, in obspy.io.reftek.__init__
Failed example:
st # doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "C:\Miniconda-x64\envs\test\lib\doctest.py", line 1315, in __run
compileflags, 1) in test.globs
File "<doctest obspy.io.reftek.__init__[5]>", line 1, in <module>
st # doctest: +ELLIPSIS
NameError: name 'st' is not defined
----------------------------------------------------------------------
File "obspy\io\reftek\__init__.py", line 57, in obspy.io.reftek.__init__
Failed example:
print(st) # doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "C:\Miniconda-x64\envs\test\lib\doctest.py", line 1315, in __run
compileflags, 1) in test.globs
File "<doctest obspy.io.reftek.__init__[6]>", line 1, in <module>
print(st) # doctest: +ELLIPSIS
NameError: name 'st' is not defined
----------------------------------------------------------------------
File "obspy\io\reftek\__init__.py", line 71, in obspy.io.reftek.__init__
Failed example:
print(st[0].stats) # doctest: +ELLIPSIS +NORMALIZE_WHITESPACE
Exception raised:
Traceback (most recent call last):
File "C:\Miniconda-x64\envs\test\lib\doctest.py", line 1315, in __run
compileflags, 1) in test.globs
File "<doctest obspy.io.reftek.__init__[7]>", line 1, in <module>
print(st[0].stats) # doctest: +ELLIPSIS +NORMALIZE_WHITESPACE
NameError: name 'st' is not defined
>>> Cannot import test suite for module obspy.io.rg16 due to:
-------------------------------------------------------------
File "C:\Miniconda-x64\envs\test\lib\runpy.py", line 174, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "C:\Miniconda-x64\envs\test\lib\runpy.py", line 72, in _run_code
exec code in run_globals
File "C:\projects\obspy\obspy\scripts\runtests.py", line 757, in <module>
errors = run(interactive=False)
File "C:\projects\obspy\obspy\scripts\runtests.py", line 715, in run
pr_url=args.pr_url)
File "C:\projects\obspy\obspy\scripts\runtests.py", line 542, in run_tests
suites, status, import_failures = _get_suites(verbosity, tests)
File "C:\projects\obspy\obspy\scripts\runtests.py", line 164, in _get_suites
suite.append(ut.loadTestsFromName(test, None))
File "C:\Miniconda-x64\envs\test\lib\unittest\loader.py", line 115, in loadTestsFromName
test = obj()
File "obspy\io\rg16\tests\__init__.py", line 17, in suite
add_unittests(suite, MODULE_NAME)
File "obspy\core\util\testing.py", line 72, in add_unittests
testsuite.addTest(_module.suite())
AttributeError: 'module' object has no attribute 'suite'
Traceback (most recent call last):
File "obspy\io\shapefile\tests\test_core.py", line 225, in test_write_catalog_shapefile_with_extra_field
extra_fields=bad_extra_fields_wrong_length)
File "obspy\io\shapefile\core.py", line 73, in _write_shapefile
writer = shapefile.Writer(shapefile.POINT)
File "C:\Miniconda-x64\envs\test\lib\site-packages\shapefile.py", line 1018, in __init__
self.shp = self.__getFileObj(os.path.splitext(target)[0] + '.shp')
File "C:\Miniconda-x64\envs\test\lib\ntpath.py", line 200, in splitext
return genericpath._splitext(p, sep, altsep, extsep)
File "C:\Miniconda-x64\envs\test\lib\genericpath.py", line 99, in _splitext
sepIndex = p.rfind(sep)
AttributeError: 'int' object has no attribute 'rfind'
Traceback (most recent call last):
File "obspy\io\shapefile\tests\test_core.py", line 309, in test_write_inventory_shapefile
_write_shapefile(inv, "inventory.shp")
File "obspy\io\shapefile\core.py", line 73, in _write_shapefile
writer = shapefile.Writer(shapefile.POINT)
File "C:\Miniconda-x64\envs\test\lib\site-packages\shapefile.py", line 1018, in __init__
self.shp = self.__getFileObj(os.path.splitext(target)[0] + '.shp')
File "C:\Miniconda-x64\envs\test\lib\ntpath.py", line 200, in splitext
return genericpath._splitext(p, sep, altsep, extsep)
File "C:\Miniconda-x64\envs\test\lib\genericpath.py", line 99, in _splitext
sepIndex = p.rfind(sep)
AttributeError: 'int' object has no attribute 'rfind'
Traceback (most recent call last):
File "obspy\io\shapefile\tests\test_core.py", line 339, in test_write_inventory_shapefile_via_plugin
inv.write("inventory.shp", "SHAPEFILE")
File "obspy\core\inventory\inventory.py", line 320, in write
return write_format(self, path_or_file_object, **kwargs)
File "obspy\io\shapefile\core.py", line 73, in _write_shapefile
writer = shapefile.Writer(shapefile.POINT)
File "C:\Miniconda-x64\envs\test\lib\site-packages\shapefile.py", line 1018, in __init__
self.shp = self.__getFileObj(os.path.splitext(target)[0] + '.shp')
File "C:\Miniconda-x64\envs\test\lib\ntpath.py", line 200, in splitext
return genericpath._splitext(p, sep, altsep, extsep)
File "C:\Miniconda-x64\envs\test\lib\genericpath.py", line 99, in _splitext
sepIndex = p.rfind(sep)
AttributeError: 'int' object has no attribute 'rfind'
Traceback (most recent call last):
File "obspy\io\shapefile\tests\test_core.py", line 178, in test_write_catalog_shapefile
_write_shapefile(cat, "catalog.shp")
File "obspy\io\shapefile\core.py", line 73, in _write_shapefile
writer = shapefile.Writer(shapefile.POINT)
File "C:\Miniconda-x64\envs\test\lib\site-packages\shapefile.py", line 1018, in __init__
self.shp = self.__getFileObj(os.path.splitext(target)[0] + '.shp')
File "C:\Miniconda-x64\envs\test\lib\ntpath.py", line 200, in splitext
return genericpath._splitext(p, sep, altsep, extsep)
File "C:\Miniconda-x64\envs\test\lib\genericpath.py", line 99, in _splitext
sepIndex = p.rfind(sep)
AttributeError: 'int' object has no attribute 'rfind'
Traceback (most recent call last):
File "obspy\io\shapefile\tests\test_core.py", line 275, in test_write_catalog_shapefile_via_plugin
cat.write("catalog.shp", "SHAPEFILE")
File "obspy\core\event\catalog.py", line 515, in write
return write_format(self, filename, **kwargs)
File "obspy\io\shapefile\core.py", line 73, in _write_shapefile
writer = shapefile.Writer(shapefile.POINT)
File "C:\Miniconda-x64\envs\test\lib\site-packages\shapefile.py", line 1018, in __init__
self.shp = self.__getFileObj(os.path.splitext(target)[0] + '.shp')
File "C:\Miniconda-x64\envs\test\lib\ntpath.py", line 200, in splitext
return genericpath._splitext(p, sep, altsep, extsep)
File "C:\Miniconda-x64\envs\test\lib\genericpath.py", line 99, in _splitext
sepIndex = p.rfind(sep)
AttributeError: 'int' object has no attribute 'rfind'

Skipped tests (13)

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_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_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_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
imaging test_script_plot (obspy.imaging.tests.test_mopad_script.MopadTestCase) Currently broken until further review.

Slowest tests (20)

Runtime Test
16.328s test_response_calculation_from_seed_and_xseed (obspy.io.xseed.tests.test_core.CoreTestCase)
13.395s test_plot_farfield_without_quiver_with_maps (obspy.core.tests.test_event.EventTestCase)
10.325s test_ppsd_restricted_stacks (obspy.signal.tests.test_spectral_estimation.PsdTestCase)
8.900s test_event_scoped_resource_id_many_threads (obspy.core.tests.test_resource_identifier.ResourceIdentifierTestCase)
7.610s __init__ (obspy.taup)
5.672s test_relcal_different_overlaps (obspy.signal.tests.test_calibration.CalibrationTestCase)
5.516s test_shoot_existing_ray_param (obspy.taup.tests.test_seismic_phase.TauPySeismicPhaseTestCase)
5.203s test_plot_multiple_traces (obspy.imaging.tests.test_waveform.WaveformTestCase)
4.436s test_auto_read_arclink_xml (obspy.io.arclink.tests.test_inventory_xml.ArclinkInventoryTestCase)
4.151s test_infinite_loop (obspy.io.mseed.tests.test_mseed_special_issues.MSEEDSpecialIssueTestCase)
4.031s test_polarization_vidale (obspy.signal.tests.test_polarization.PolarizationTestCase)
4.000s test_plot_wiggles_horizontal_section (obspy.imaging.tests.test_waveform.WaveformTestCase)
3.968s test_combined_station_event_plot (obspy.core.tests.test_inventory.InventoryBasemapTestCase)
3.766s test_location_plot_global (obspy.core.tests.test_network.NetworkBasemapTestCase)
3.735s test_location_plot_global (obspy.core.tests.test_inventory.InventoryBasemapTestCase)
3.719s test_plot_wiggles_vertical_section (obspy.imaging.tests.test_waveform.WaveformTestCase)
3.718s test_catalog_plot_global (obspy.core.tests.test_event.CatalogBasemapTestCase)
3.609s test_plot_azim_section (obspy.imaging.tests.test_waveform.WaveformTestCase)
3.578s test_plot_wiggles_negative_section (obspy.imaging.tests.test_waveform.WaveformTestCase)
3.578s test_plot_ref_time_section (obspy.imaging.tests.test_waveform.WaveformTestCase)