Closed BobBooth closed 6 years ago
RESULTS ================================================= Number of tests run: 71 Number succeeded: 38 Number of errors: 4 Number of failures: 29 Number of tests skipped: 0
These errors/failures also occur on versions prior to 10.6
Test success: False
RESULTS =================================================
Number of tests run: 71
Number of errors: 0
Number of failures: 29
FAILURES ===============================================
@BobBooth - should be ready to verify
DEBUG: 2017-11-07 14:03:00,841 .....AddRLOSObserverFieldsTestCase.tearDown
INFO: 2017-11-07 14:03:00,845 Test success: False
INFO: 2017-11-07 14:03:00,845
RESULTS =================================================
Number of tests run: 72
Number succeeded: 68
Number of errors: 1
Number of failures: 3
Number of tests skipped: 0
Percent passing: 0.0
=========================================================
ERROR: 2017-11-07 14:03:00,855 ERRORS ==========================================
========
ERROR: 2017-11-07 14:03:00,858 test_toolboxMain (visibility_tests.RadialLineOfSi
ghtAndRangeTestCase.RadialLineOfSightAndRangeTestCase)
ERROR: 2017-11-07 14:03:00,861 Traceback (most recent call last):
ERROR: 2017-11-07 14:03:00,864 File "C:\Users\[user]\Documents\GitHub\mili
tary-tools-geoprocessing-toolbox\utils\test\visibility_tests\RadialLineOfSightAn
dRangeTestCase.py", line 78, in test_toolboxMain
ERROR: 2017-11-07 14:03:00,871 viewshedFC, donutWedgeFC, pieWedgeFC)
ERROR: 2017-11-07 14:03:00,874 File "C:\Users\[user]\Documents\GitHub\mili
tary-tools-geoprocessing-toolbox\toolboxes\scripts\RadialLineOfSightAndRange.py"
, line 272, in createViewshed
ERROR: 2017-11-07 14:03:00,882 arcpy.Viewshed_3d("in_memory\clip", tempObser
verPoints, r"in_memory\intervis", "1", "FLAT_EARTH", "0.13")
ERROR: 2017-11-07 14:03:00,890 File "C:\Program Files (x86)\ArcGIS\Desktop10.6
\ArcPy\arcpy\ddd.py", line 6428, in Viewshed
ERROR: 2017-11-07 14:03:00,894 raise e
ERROR: 2017-11-07 14:03:00,895 ExecuteError: ERROR 010161: Unable to open the ma
sk raster in_memory\OutBuffer.
ERROR: 2017-11-07 14:03:00,898 Failed to execute (Viewshed).
ERROR: 2017-11-07 14:03:00,901 FAILURES ========================================
========
ERROR: 2017-11-07 14:03:00,904 test_table_to_lineofbearing (conversion_tests.Tab
leToLineOfBearingTestCase.TableToLineOfBearingTestCase)
ERROR: 2017-11-07 14:03:00,911 Traceback (most recent call last):
ERROR: 2017-11-07 14:03:00,913 File "C:\Users\[user]\Documents\GitHub\mili
tary-tools-geoprocessing-toolbox\utils\test\conversion_tests\TableToLineOfBearin
gTestCase.py", line 105, in test_table_to_lineofbearing
ERROR: 2017-11-07 14:03:00,921 "OID", 0.0001, ['Shape_Length'])
ERROR: 2017-11-07 14:03:00,924 File "C:\Users\[user]\Documents\GitHub\mili
tary-tools-geoprocessing-toolbox\utils\test\arcpyAssert.py", line 123, in assert
FeatureClassEqualSimple
ERROR: 2017-11-07 14:03:00,928 None, None, None, omit_field)
ERROR: 2017-11-07 14:03:00,930 File "C:\Users\[user]\Documents\GitHub\mili
tary-tools-geoprocessing-toolbox\utils\test\arcpyAssert.py", line 111, in assert
FeatureClassEqual
ERROR: 2017-11-07 14:03:00,936 raise AssertionError(msg)
ERROR: 2017-11-07 14:03:00,937 AssertionError: Feature class C:\Users\[user]
\Documents\GitHub\military-tools-geoprocessing-toolbox\utils\test\scratch.gdb\ou
tputLines is not equal to C:\Users\[user]\Documents\GitHub\military-tools-ge
oprocessing-toolbox\testdata\Results.gdb\ExpectedOutputTableToLOB
ERROR: 2017-11-07 14:03:00,950 test_table_to_point (conversion_tests.TableToPoin
tTestCase.TableToPointTestCase)
ERROR: 2017-11-07 14:03:00,953 Traceback (most recent call last):
ERROR: 2017-11-07 14:03:00,954 File "C:\Users\[user]\Documents\GitHub\mili
tary-tools-geoprocessing-toolbox\utils\test\conversion_tests\TableToPointTestCas
e.py", line 104, in test_table_to_point
ERROR: 2017-11-07 14:03:00,960 "OID", 0.0001)
ERROR: 2017-11-07 14:03:00,961 File "C:\Users\[user]\Documents\GitHub\mili
tary-tools-geoprocessing-toolbox\utils\test\arcpyAssert.py", line 123, in assert
FeatureClassEqualSimple
ERROR: 2017-11-07 14:03:00,967 None, None, None, omit_field)
ERROR: 2017-11-07 14:03:00,970 File "C:\Users\[user]\Documents\GitHub\mili
tary-tools-geoprocessing-toolbox\utils\test\arcpyAssert.py", line 111, in assert
FeatureClassEqual
ERROR: 2017-11-07 14:03:00,980 raise AssertionError(msg)
ERROR: 2017-11-07 14:03:00,982 AssertionError: Feature class C:\Users\[user]
\Documents\GitHub\military-tools-geoprocessing-toolbox\utils\test\scratch.gdb\ou
tputTableToPoint is not equal to C:\Users\[user]\Documents\GitHub\military-t
ools-geoprocessing-toolbox\testdata\Results.gdb\ExpectedOutputTableToPoint
ERROR: 2017-11-07 14:03:00,993 test_hi_lowPointByArea_lowest (visibility_tests.V
isibilityUtilitiesTestCase.VisibilityUtilitiesTestCase)
ERROR: 2017-11-07 14:03:00,997 Traceback (most recent call last):
ERROR: 2017-11-07 14:03:01,000 File "C:\Users\[user]\Documents\GitHub\mili
tary-tools-geoprocessing-toolbox\utils\test\visibility_tests\VisibilityUtilities
TestCase.py", line 316, in test_hi_lowPointByArea_lowest
ERROR: 2017-11-07 14:03:01,006 "OBJECTID", 0.0001)
ERROR: 2017-11-07 14:03:01,007 File "C:\Users\[user]\Documents\GitHub\mili
tary-tools-geoprocessing-toolbox\utils\test\arcpyAssert.py", line 123, in assert
FeatureClassEqualSimple
ERROR: 2017-11-07 14:03:01,013 None, None, None, omit_field)
ERROR: 2017-11-07 14:03:01,016 File "C:\Users\[user]\Documents\GitHub\mili
tary-tools-geoprocessing-toolbox\utils\test\arcpyAssert.py", line 111, in assert
FeatureClassEqual
ERROR: 2017-11-07 14:03:01,023 raise AssertionError(msg)
ERROR: 2017-11-07 14:03:01,026 AssertionError: Feature class C:\Users\[user]
\Documents\GitHub\military-tools-geoprocessing-toolbox\testdata\Results.gdb\Expe
ctedOutputLowestPt is not equal to C:\Users\[user]\Documents\GitHub\military
-tools-geoprocessing-toolbox\utils\test\scratch.gdb\lowestPoints
INFO: 2017-11-07 14:03:01,035 END OF TEST ======================================
===
'One or more tests failed'
C:\Users\[user]\Documents\GitHub\military-tools-geoprocessing-toolbox\utils\
@csmoore
@BobBooth - can you retry this after changes in #259 ? - thanks
A large fraction of the unit tests seem to be failing when run for ArcMap 10.6 The error summary/reporting code seems less robust than that in Solutions Geoprocessing Toolbox repo.
Testing clone of Dev branch pulled today on ArcMap 10.6 on Win 10.
To repro: 1) Clone repo 2) Install ArcMap 10.6 (8184) 3) Run ArcMapTestKickStart.bat
Expected Behavior
Would expect summary of count of failed tests. Get large dump of results with no summary besides 'one or more tests failed'.
Current Behavior