#110725 Report by node SanjayNCS covering 1960 tests from 48 modules resulted into 2 errors

Report

ObsPy Version
1.2.1
Continuous Integration
-
GitHub Pull Request
-
Report File
XML Document
Total Runtime
259.1 sec
Report Date/Time
2020-05-11 02:31:59

System / Python

Architecture
64bit
Machine
x86_64
Node
SanjayNCS
Processor
x86_64
Python Compiler
GCC 4.8.4
Python Implementation
CPython
Python Version
2.7.6
Release
4.4.0-141-generic
System
Linux
Version
#167~14.04.1-Ubuntu SMP Mon Dec 10 13:20:24 UTC 2018

Dependencies

cartopy
---
decorator
3.4.0
flake8
2.1.0
future
0.16.0
geographiclib
---
lxml.etree
3.3.3
m2crypto
---
matplotlib
1.5.1
mock
1.0.1
mpl_toolkits.basemap
---
numpy
1.8.2
pep8-naming
---
pyflakes
0.8.1
pyimgur
---
pyproj
---
requests
2.2.1
scipy
0.13.3
setuptools
3.3
shapefile
---
sqlalchemy
0.8.4

Modules (48)

Module Errors /
Failures
Tracebacks
obspy.clients.arclink Not tested -
obspy.clients.earthworm Not tested -
obspy.clients.fdsn Not tested -
obspy.clients.filesystem 1 1
obspy.clients.iris Not tested -
obspy.clients.neic Not tested -
obspy.clients.nrl Not tested -
obspy.clients.seedlink Not tested -
obspy.clients.seishub Not tested -
obspy.clients.syngine Not tested -
obspy.core - -
obspy.db - -
obspy.geodetics - -
obspy.imaging 1 2
obspy.io.ah - -
obspy.io.arclink - -
obspy.io.ascii - -
obspy.io.cmtsolution - -
obspy.io.cnv - -
obspy.io.css - -
obspy.io.dmx - -
obspy.io.focmec - -
obspy.io.gcf - -
obspy.io.gse2 - -
obspy.io.iaspei - -
obspy.io.json - -
obspy.io.kinemetrics - -
obspy.io.kml - -
obspy.io.mseed - -
obspy.io.ndk - -
obspy.io.nied - -
obspy.io.nlloc - -
obspy.io.nordic - -
obspy.io.pdas - -
obspy.io.pde - -
obspy.io.quakeml - -
obspy.io.reftek - -
obspy.io.rg16 - -
obspy.io.sac - -
obspy.io.scardec - -
obspy.io.seg2 - -
obspy.io.segy - -
obspy.io.seisan - -
obspy.io.seiscomp - -
obspy.io.sh - -
obspy.io.shapefile - -
obspy.io.stationtxt - -
obspy.io.stationxml - -
obspy.io.wav - -
obspy.io.win - -
obspy.io.xseed - -
obspy.io.y - -
obspy.io.zmap - -
obspy.realtime - -
obspy.scripts - -
obspy.signal - -
obspy.taup - -
Summary 2 2

Tracebacks (2)

Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 2226, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.clients.filesystem.tsindex
File "/usr/local/lib/python2.7/dist-packages/obspy/clients/filesystem/tsindex.py", line 1, in tsindex
----------------------------------------------------------------------
File "/usr/local/lib/python2.7/dist-packages/obspy/clients/filesystem/tsindex.py", line 64, in obspy.clients.filesystem.tsindex
Failed example:
extents = client.get_availability_extent(network="IU", channel="BHZ")
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 1315, in __run
compileflags, 1) in test.globs
File "<doctest obspy.clients.filesystem.tsindex[6]>", line 1, in <module>
extents = client.get_availability_extent(network="IU", channel="BHZ")
File "/usr/local/lib/python2.7/dist-packages/obspy/clients/filesystem/tsindex.py", line 385, in get_availability_extent
starttime, endtime)
File "/usr/local/lib/python2.7/dist-packages/obspy/clients/filesystem/tsindex.py", line 622, in _get_summary_rows
return self.request_handler._fetch_summary_rows(query_rows)
File "/usr/local/lib/python2.7/dist-packages/obspy/clients/filesystem/tsindex.py", line 1654, in _fetch_summary_rows
tsindex_summary_cte = self.get_tsindex_summary_cte()
File "/usr/local/lib/python2.7/dist-packages/obspy/clients/filesystem/tsindex.py", line 1327, in get_tsindex_summary_cte
if self.has_tsindex_summary():
File "/usr/local/lib/python2.7/dist-packages/obspy/clients/filesystem/tsindex.py", line 1420, in has_tsindex_summary
temp_table_names = sa.inspect(self.engine).get_temp_table_names()
AttributeError: 'Inspector' object has no attribute 'get_temp_table_names'
----------------------------------------------------------------------
File "/usr/local/lib/python2.7/dist-packages/obspy/clients/filesystem/tsindex.py", line 65, in obspy.clients.filesystem.tsindex
Failed example:
for extent in extents:
print("{0:<3} {1:<6} {2:<3} {3:<4} {4} {5}".format(*extent))
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 1315, in __run
compileflags, 1) in test.globs
File "<doctest obspy.clients.filesystem.tsindex[7]>", line 1, in <module>
for extent in extents:
NameError: name 'extents' is not defined
----------------------------------------------------------------------
File "/usr/local/lib/python2.7/dist-packages/obspy/clients/filesystem/tsindex.py", line 81, in obspy.clients.filesystem.tsindex
Failed example:
avail_percentage = client.get_availability_percentage(
"IU", "ANMO", "10", "BHZ",
UTCDateTime(2018, 1, 1, 0, 0, 0, 19500),
UTCDateTime(2018, 1, 1, 0, 1, 57, 994536))
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 1315, in __run
compileflags, 1) in test.globs
File "<doctest obspy.clients.filesystem.tsindex[9]>", line 4, in <module>
UTCDateTime(2018, 1, 1, 0, 1, 57, 994536))
File "/usr/local/lib/python2.7/dist-packages/obspy/clients/filesystem/tsindex.py", line 522, in get_availability_percentage
merge_overlap=True)
File "/usr/local/lib/python2.7/dist-packages/obspy/clients/filesystem/tsindex.py", line 442, in get_availability
starttime, endtime)
File "/usr/local/lib/python2.7/dist-packages/obspy/clients/filesystem/tsindex.py", line 704, in _get_tsindex_rows
return self.request_handler._fetch_index_rows(query_rows)
File "/usr/local/lib/python2.7/dist-packages/obspy/clients/filesystem/tsindex.py", line 1600, in _fetch_index_rows
raise ValueError(str(err))
ValueError: 'Inspector' object has no attribute 'get_temp_table_names'
----------------------------------------------------------------------
File "/usr/local/lib/python2.7/dist-packages/obspy/clients/filesystem/tsindex.py", line 85, in obspy.clients.filesystem.tsindex
Failed example:
print(avail_percentage)
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 1315, in __run
compileflags, 1) in test.globs
File "<doctest obspy.clients.filesystem.tsindex[10]>", line 1, in <module>
print(avail_percentage)
NameError: name 'avail_percentage' is not defined
----------------------------------------------------------------------
File "/usr/local/lib/python2.7/dist-packages/obspy/clients/filesystem/tsindex.py", line 99, in obspy.clients.filesystem.tsindex
Failed example:
st = client.get_waveforms("IU", "*", "*", "BHZ", t, t + 1)
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 1315, in __run
compileflags, 1) in test.globs
File "<doctest obspy.clients.filesystem.tsindex[12]>", line 1, in <module>
st = client.get_waveforms("IU", "*", "*", "BHZ", t, t + 1)
File "/usr/local/lib/python2.7/dist-packages/obspy/clients/filesystem/tsindex.py", line 287, in get_waveforms
return self._get_waveforms(query_rows, merge)
File "/usr/local/lib/python2.7/dist-packages/obspy/clients/filesystem/tsindex.py", line 648, in _get_waveforms
index_rows = self.request_handler._fetch_index_rows(query_rows)
File "/usr/local/lib/python2.7/dist-packages/obspy/clients/filesystem/tsindex.py", line 1600, in _fetch_index_rows
raise ValueError(str(err))
ValueError: 'Inspector' object has no attribute 'get_temp_table_names'
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/obspy/imaging/tests/test_source.py", line 35, in test_farfield_with_quiver
mt, kind=['beachball', 's_quiver', 'p_quiver'], show=False)
File "/usr/local/lib/python2.7/dist-packages/obspy/imaging/source.py", line 136, in plot_radiation_pattern
fig, axes, kind = _setup_figure_and_axes(kind, fig=fig)
File "/usr/local/lib/python2.7/dist-packages/obspy/imaging/source.py", line 70, in _setup_figure_and_axes
ax = fig.add_subplot(nrows, ncols_, i * ncols_ + j + 1, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/matplotlib/figure.py", line 1005, in add_subplot
a = subplot_class_factory(projection_class)(self, *args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/matplotlib/axes/_subplots.py", line 73, in __init__
self._axes_class.__init__(self, fig, self.figbox, **kwargs)
File "/usr/lib/pymodules/python2.7/mpl_toolkits/mplot3d/axes3d.py", line 91, in __init__
*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/matplotlib/axes/_base.py", line 520, in __init__
self.cla()
File "/usr/lib/pymodules/python2.7/mpl_toolkits/mplot3d/axes3d.py", line 1045, in cla
Axes.cla(self)
File "/usr/local/lib/python2.7/dist-packages/matplotlib/axes/_base.py", line 1004, in cla
self.grid(False) # Disable grid on init to use rcParameter
File "/usr/lib/pymodules/python2.7/mpl_toolkits/mplot3d/axes3d.py", line 1256, in grid
self._draw_grid = maxes._string_to_bool(b)
AttributeError: 'module' object has no attribute '_string_to_bool'

Skipped Tests (64)

Submodule Test Skip Message
geodetics test_gps_2_dist_azimuth_with_geographiclib (obspy.geodetics.tests.test_util_geodetics.UtilGeodeticsTestCase) Module geographiclib is not installed
geodetics test_issue_375 (obspy.geodetics.tests.test_util_geodetics.UtilGeodeticsTestCase) Module geographiclib is not installed
io.nlloc test_read_nlloc_scatter_coordinate_conversion (obspy.io.nlloc.tests.test_util.NLLOCTestCase) pyproj not installed
core test_flake8 (obspy.core.tests.test_code_formatting.CodeFormattingTestCase) No code formatting tests for release builds
core test_use_obspy_deprecation_warning (obspy.core.tests.test_code_formatting.CodeFormattingTestCase) No code formatting tests for release builds
core test_future_imports_in_every_file (obspy.core.tests.test_code_formatting.FutureUsageTestCase) No code formatting tests for release builds
core test_no_pyplot_import_in_any_file (obspy.core.tests.test_code_formatting.MatplotlibBackendUsageTestCase) No code formatting tests for release builds
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_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_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_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) 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_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
io.shapefile test_write_catalog_shapefile (obspy.io.shapefile.tests.test_core.ShapefileTestCase) pyshp not installed
io.shapefile test_write_catalog_shapefile_via_plugin (obspy.io.shapefile.tests.test_core.ShapefileTestCase) pyshp not installed
io.shapefile test_write_catalog_shapefile_with_extra_field (obspy.io.shapefile.tests.test_core.ShapefileTestCase) pyshp not installed
io.shapefile test_write_inventory_shapefile (obspy.io.shapefile.tests.test_core.ShapefileTestCase) pyshp not installed
io.shapefile test_write_inventory_shapefile_via_plugin (obspy.io.shapefile.tests.test_core.ShapefileTestCase) pyshp not installed
io.shapefile test_write_inventory_shapefile_with_extra_field (obspy.io.shapefile.tests.test_core.ShapefileTestCase) pyshp not installed
imaging test_script_plot (obspy.imaging.tests.test_mopad_script.MopadTestCase) Currently broken until further review.
clients.filesystem test__are_timespans_adjacent (obspy.clients.filesystem.tests.test_tsindex.ClientTestCase) TSIndex needs sqlalchemy 1.0.0 or higher
clients.filesystem test_bad_sqlitdb_filepath (obspy.clients.filesystem.tests.test_tsindex.ClientTestCase) TSIndex needs sqlalchemy 1.0.0 or higher
clients.filesystem test_get_availability (obspy.clients.filesystem.tests.test_tsindex.ClientTestCase) TSIndex needs sqlalchemy 1.0.0 or higher
clients.filesystem test_get_availability_extent (obspy.clients.filesystem.tests.test_tsindex.ClientTestCase) TSIndex needs sqlalchemy 1.0.0 or higher
clients.filesystem test_get_availability_percentage (obspy.clients.filesystem.tests.test_tsindex.ClientTestCase) TSIndex needs sqlalchemy 1.0.0 or higher
clients.filesystem test_get_nslc (obspy.clients.filesystem.tests.test_tsindex.ClientTestCase) TSIndex needs sqlalchemy 1.0.0 or higher
clients.filesystem test_get_waveforms (obspy.clients.filesystem.tests.test_tsindex.ClientTestCase) TSIndex needs sqlalchemy 1.0.0 or higher
clients.filesystem test_get_waveforms_bulk (obspy.clients.filesystem.tests.test_tsindex.ClientTestCase) TSIndex needs sqlalchemy 1.0.0 or higher
clients.filesystem test_has_data (obspy.clients.filesystem.tests.test_tsindex.ClientTestCase) TSIndex needs sqlalchemy 1.0.0 or higher
clients.filesystem test__get_leap_seconds_file (obspy.clients.filesystem.tests.test_tsindex.IndexerTestCase) TSIndex needs sqlalchemy 1.0.0 or higher
clients.filesystem test_bad_database (obspy.clients.filesystem.tests.test_tsindex.IndexerTestCase) TSIndex needs sqlalchemy 1.0.0 or higher
clients.filesystem test_bad_rootpath (obspy.clients.filesystem.tests.test_tsindex.IndexerTestCase) TSIndex needs sqlalchemy 1.0.0 or higher
clients.filesystem test_bad_sqlitdb_filepath (obspy.clients.filesystem.tests.test_tsindex.IndexerTestCase) TSIndex needs sqlalchemy 1.0.0 or higher
clients.filesystem test_build_file_list (obspy.clients.filesystem.tests.test_tsindex.IndexerTestCase) TSIndex needs sqlalchemy 1.0.0 or higher
clients.filesystem test_download_leap_seconds_file (obspy.clients.filesystem.tests.test_tsindex.IndexerTestCase) TSIndex needs sqlalchemy 1.0.0 or higher
clients.filesystem test_download_leap_seconds_file_no_path_given (obspy.clients.filesystem.tests.test_tsindex.IndexerTestCase) TSIndex needs sqlalchemy 1.0.0 or higher
clients.filesystem test_run (obspy.clients.filesystem.tests.test_tsindex.IndexerTestCase) TSIndex needs sqlalchemy 1.0.0 or higher
clients.filesystem test_run_bad_index_cmd (obspy.clients.filesystem.tests.test_tsindex.IndexerTestCase) TSIndex needs sqlalchemy 1.0.0 or higher
clients.filesystem test__fetch_summary_rows (obspy.clients.filesystem.tests.test_tsindex.TSIndexDatabaseHandlerTestCase) TSIndex needs sqlalchemy 1.0.0 or higher
clients.filesystem test_bad_sqlitdb_filepath (obspy.clients.filesystem.tests.test_tsindex.TSIndexDatabaseHandlerTestCase) TSIndex needs sqlalchemy 1.0.0 or higher
clients.filesystem test_get_tsindex_summary_cte (obspy.clients.filesystem.tests.test_tsindex.TSIndexDatabaseHandlerTestCase) TSIndex needs sqlalchemy 1.0.0 or higher
taup test_compute_ray_paths (obspy.taup.tests.test_ray_paths.RayPathCalculationsTestCase) test needs geographiclib >= 1.34
taup test_path_geo (obspy.taup.tests.test_taup_geo.TaupGeoTestCase) Module geographiclib is not installed or too old.
taup test_path_resampling (obspy.taup.tests.test_taup_geo.TaupGeoTestCase) Module geographiclib is not installed or too old.
taup test_p_iasp91_geo_manual (obspy.taup.tests.test_tau.TauPyModelTestCase) Module geographiclib is not installed
taup test_pierce_p_iasp91_geo (obspy.taup.tests.test_tau.TauPyModelTestCase) test needs geographiclib >= 1.34
taup test_single_path_geo_iasp91 (obspy.taup.tests.test_tau.TauPyModelTestCase) test needs geographiclib >= 1.34

Slowest Tests (20)

Runtime Test
11.716s test_response_calculation_from_seed_and_xseed (obspy.io.xseed.tests.test_core.CoreTestCase)
6.840s read (obspy.core.stream)
6.789s __init__ (obspy.taup)
6.110s test_event_scoped_resource_id_many_threads (obspy.core.tests.test_resource_identifier.ResourceIdentifierTestCase)
5.884s test_relcal_different_overlaps (obspy.signal.tests.test_calibration.CalibrationTestCase)
5.444s test_plot_multiple_traces (obspy.imaging.tests.test_waveform.WaveformTestCase)
5.078s test_shoot_existing_ray_param (obspy.taup.tests.test_seismic_phase.TauPySeismicPhaseTestCase)
4.529s test_ppsd_restricted_stacks (obspy.signal.tests.test_spectral_estimation.PsdTestCase)
4.513s test_correlate_stream_template_and_correlation_detector (obspy.signal.tests.test_cross_correlation.CrossCorrelationTestCase)
3.528s test_regional_models (obspy.taup.tests.test_tau.TauPyModelTestCase)
3.487s test_auto_read_arclink_xml (obspy.io.arclink.tests.test_inventory_xml.ArclinkInventoryTestCase)
3.433s test_polarization_vidale (obspy.signal.tests.test_polarization.PolarizationTestCase)
3.308s test_plot_wiggles_horizontal_section (obspy.imaging.tests.test_waveform.WaveformTestCase)
3.298s test_plot_wiggles_negative_section (obspy.imaging.tests.test_waveform.WaveformTestCase)
3.282s test_plot_wiggles_vertical_section (obspy.imaging.tests.test_waveform.WaveformTestCase)
3.270s test_plot_wiggles_positive_section (obspy.imaging.tests.test_waveform.WaveformTestCase)
3.243s plot_travel_times (obspy.taup.tau)
3.183s test_plot_horizontal_section (obspy.imaging.tests.test_waveform.WaveformTestCase)
3.162s test_read_url_via_network (obspy.core.tests.test_stream.StreamTestCase)
3.161s test_plot_azim_section (obspy.imaging.tests.test_waveform.WaveformTestCase)

Chuck Norris Fact

Chuck Norris' programs never exit, they terminate.