01Jan17r22403 - detailed test results for TOOLS

To reconnect the TextTest GUI to these results, run:

texttest -a tools -d /home/delphi/sumo/tests -reconnect /home/delphi/texttesttmp/gcc4_64.31Jan020113.32325 -g

To start TextTest for these tests, run:

texttest -a tools -d /home/delphi/sumo/tests


default: 281 tests: 276 succeeded 3 FAILED 2 known bugs

Detailed information for the tests that FAILED:

TEST FAILED on sim-build : sumolib sumolib3d lane_shape ( Last six runs Jan2017 )

---------- Differences in errors ----------
1c1,125
< ..
---
> FFFFFF
> ======================================================================
> FAIL: test_edge_001 (__main__.Test_Shapes)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/home/delphi/sumo/tests/../tests/tools/sumolib/sumolib3d/lane_shape/unittest_sumolib_3d_all_red.py", line 283, in test_edge_001
>     expected_edge_shape_result)
> AssertionError: Lists differ: [(100.0, 0.0), (100.0, -1.05),... != [(100, 0, 10), (200, 0, 10)]
> 
> First differing element 0:
> (100.0, 0.0)
> (100, 0, 10)
> 
> First list contains 2 additional elements.
> First extra element 2:
> (200.0, -1.05)
> 
> - [(100.0, 0.0), (100.0, -1.05), (200.0, -1.05), (200.0, 0.0)]
> + [(100, 0, 10), (200, 0, 10)]
> 
> ======================================================================
> FAIL: test_h001 (__main__.Test_Shapes)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/home/delphi/sumo/tests/../tests/tools/sumolib/sumolib3d/lane_shape/unittest_sumolib_3d_all_red.py", line 113, in test_h001
>     expected_result_edge_shape)
> AssertionError: Lists differ: [(1000.0, 100.0), (1003.6, 98.... != [(1000, 100, 10), (1200, 100, ...
<truncated after showing first 30 lines>

TEST FAILED on sim-build : sumolib sumolib3d node_coord ( Last six runs Jan2017 )

---------- Differences in errors ----------
1c1,19
< ..
---
> .F
> ======================================================================
> FAIL: test_check_node_x_y_z (__main__.Test_3D_Coords)
> test to retrive the coords from a node with z!=0
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/home/delphi/sumo/tests/../tests/tools/sumolib/sumolib3d/node_coord/unittest_sumolib_3d.py", line 89, in test_check_node_x_y_z
>     (200.0, 0.0, 10.0))
> AssertionError: Tuples differ: (200.0, 0.0) != (200.0, 0.0, 10.0)
> 
> Second tuple contains 1 additional elements.
> First extra element 2:
> 10.0
> 
> - (200.0, 0.0)
> + (200.0, 0.0, 10.0)
> ?         ++++++
> 
> 
5c23
< OK
---
> FAILED (failures=1)

TEST FAILED on sim-build : xml schemaCheck tests sim_outputs ( Last six runs Jan2017 )

---------- Differences in errors ----------
0a1,324
> Error on parsing 'sumo/basic/tls/actuated/parameters/detector.sumo.meso'!
> Traceback (most recent call last):
>   File "/home/delphi/sumo/tests/../tools/xml/schemaCheck.py", line 56, in validate
>     schemes[schemaLoc] = etree.XMLSchema(etree.parse(schemaLoc))
>   File "xmlschema.pxi", line 102, in lxml.etree.XMLSchema.__init__ (src/lxml/lxml.etree.c:154475)
> XMLSchemaParseError: attribute decl. 'sampledSeconds', attribute 'type': The QName value 'nonNegativeFloatType' does not resolve to a(n) simple type definition., line 15
> Error on parsing 'sumo/basic/dynamics/high_flow1_extreme/detector.sumo.meso'!
> Traceback (most recent call last):
>   File "/home/delphi/sumo/tests/../tools/xml/schemaCheck.py", line 56, in validate
>     schemes[schemaLoc] = etree.XMLSchema(etree.parse(schemaLoc))
>   File "xmlschema.pxi", line 102, in lxml.etree.XMLSchema.__init__ (src/lxml/lxml.etree.c:154475)
> XMLSchemaParseError: attribute decl. 'sampledSeconds', attribute 'type': The QName value 'nonNegativeFloatType' does not resolve to a(n) simple type definition., line 15
> Error on parsing 'sumo/basic/dynamics/high_flow1/detector.sumo.meso'!
> Traceback (most recent call last):
>   File "/home/delphi/sumo/tests/../tools/xml/schemaCheck.py", line 56, in validate
>     schemes[schemaLoc] = etree.XMLSchema(etree.parse(schemaLoc))
>   File "xmlschema.pxi", line 102, in lxml.etree.XMLSchema.__init__ (src/lxml/lxml.etree.c:154475)
> XMLSchemaParseError: attribute decl. 'sampledSeconds', attribute 'type': The QName value 'nonNegativeFloatType' does not resolve to a(n) simple type definition., line 15
> Error on parsing 'sumo/basic/dynamics/high_flow2/detector.sumo.meso'!
> Traceback (most recent call last):
>   File "/home/delphi/sumo/tests/../tools/xml/schemaCheck.py", line 56, in validate
>     schemes[schemaLoc] = etree.XMLSchema(etree.parse(schemaLoc))
>   File "xmlschema.pxi", line 102, in lxml.etree.XMLSchema.__init__ (src/lxml/lxml.etree.c:154475)
> XMLSchemaParseError: attribute decl. 'sampledSeconds', attribute 'type': The QName value 'nonNegativeFloatType' does not resolve to a(n) simple type definition., line 15
> Error on parsing 'sumo/output/e1/two_vehicles_diff_speed/two100s_1vehicle_10m_s/detector.sumo.meso'!
> Traceback (most recent call last):
>   File "/home/delphi/sumo/tests/../tools/xml/schemaCheck.py", line 56, in validate
>     schemes[schemaLoc] = etree.XMLSchema(etree.parse(schemaLoc))
>   File "xmlschema.pxi", line 102, in lxml.etree.XMLSchema.__init__ (src/lxml/lxml.etree.c:154475)
<truncated after showing first 30 lines>

Detailed information for the tests that had known bugs:

TEST had known bugs (see #2620) on sim-build : projects evacuation plain ( Last six runs Jan2017 )

unstable inputs
(This bug was triggered by text found in the full difference report matching 'Warning')
---------- Differences in errors ----------
0a1,2
> Warning: Value of key 'layer' is not numeric ('-2;-1') in edge '83604028'.
> Warning: Value of key 'layer' is not numeric ('yes') in edge '376520557'.
5d6
< Warning: Discarding unknown compound 'cycleway.track' in type 'cycleway.track|highway.secondary' (first occurence for edge '4068192').
9c10,12
< Warning: Discarding unknown compound 'cycleway.lane' in type 'cycleway.lane|highway.secondary' (first occurence for edge '4383334').
---
> Warning: Discarding unknown compound 'cycleway.track' in type 'cycleway.track|highway.secondary' (first occurence for edge '4380644#0').
> Warning: Discarding unknown compound 'cycleway.lane' in type 'cycleway.lane|highway.secondary' (first occurence for edge '4383235#0').
> Warning: Discarding unknown compound 'cycleway.opposite' in type 'cycleway.opposite|highway.residential' (first occurence for edge '4383744').
10a14,15
> Warning: Discarding unknown compound 'cycleway.lane' in type 'cycleway.lane|cycleway.lane|highway.secondary' (first occurence for edge '4395577#0').
> Warning: Discarding unknown compound 'cycleway.lane' in type 'cycleway.lane|cycleway.lane|highway.secondary' (first occurence for edge '4395577#0').
13d17
< Warning: Discarding unknown compound 'cycleway.opposite' in type 'cycleway.opposite|highway.residential' (first occurence for edge '4396234').
20,21c24,27
< Warning: Discarding unknown compound 'cycleway.track' in type 'cycleway.track|cycleway.track|highway.primary' (first occurence for edge '4615457#0').
< Warning: Discarding unknown compound 'cycleway.track' in type 'cycleway.track|cycleway.track|highway.primary' (first occurence for edge '4615457#0').
---
> Warning: Discarding unknown compound 'cycleway.right' in type 'cycleway.right|cycleway.track|highway.primary' (first occurence for edge '4615457#0').
> Warning: Discarding unknown compound 'cycleway.track' in type 'cycleway.right|cycleway.track|highway.primary' (first occurence for edge '4615457#0').
> Warning: Discarding unknown compound 'cycleway.lane' in type 'cycleway.lane|cycleway.right|highway.primary' (first occurence for edge '4615465#0').
> Warning: Discarding unknown compound 'cycleway.right' in type 'cycleway.lane|cycleway.right|highway.primary' (first occurence for edge '4615465#0').
22a29
> Warning: Discarding unknown compound 'cycleway.share_busway' in type 'cycleway.share_busway|highway.tertiary' (first occurence for edge '4631873').
27a35,37
> Warning: Discarding unknown compound 'cycleway.lane' in type 'cycleway.lane|cycleway.track|highway.residential' (first occurence for edge '4687155#0').
> Warning: Discarding unknown compound 'cycleway.track' in type 'cycleway.lane|cycleway.track|highway.residential' (first occurence for edge '4687155#0').
> Warning: Discarding unusable type 'railway.abandoned' (first occurence for edge '4741156').
<truncated after showing first 30 lines>
---------- Differences in output ----------
3,7c3,5
< Found duplicate nodes. Substituting 3215103784 with 288002013
< Found duplicate nodes. Substituting 3987794203 with 3987794202
< Found duplicate nodes. Substituting 3997661445 with 3517810193
< Found duplicate nodes. Substituting 4016273048 with 26992494
< Found duplicate nodes. Substituting 4016273049 with 2306772973
---
> Found duplicate nodes. Substituting 4581845371 with 1480406866
> done.
> Parsing edges from osm-file 'osm_bbox.osm.xml'... 
9d6
< Parsing edges from osm-file 'osm_bbox.osm.xml'... done.
14,15d10
< Found duplicate edges. Removing 335703516
< Found duplicate edges. Removing 335703519
17d11
< Found duplicate edges. Removing 377118659
18a13,15
> Found duplicate edges. Removing 385250934
> Found duplicate edges. Removing 387118485
> Found duplicate edges. Removing 388432544
21c18
< Adding new type 'highway.service|railway.tram' (first occurence for edge '167272531#0').
---
> Adding new type 'highway.service|railway.tram' (first occurence for edge '388702047#0').
24c21
<  Removed 1494 traffic lights before loading plain-XML
---
>  Removed 2021 traffic lights before loading plain-XML
26c23
<truncated after showing first 30 lines>

TEST had known bugs (bug 1190 (new)) on sim-build : xml csv2xml cross3ltl_full_schema ( Last six runs Jan2017 )

******************************************************
Ticket #1190 (new defect: )
csv2xml cannot handle elements without attributes
http://sumo.dlr.de/trac.wsgi/ticket/1190
Reported By: behrisch Owned by: 
Priority: major Milestone: 1.0.0
Component: tools (python) Version: 
Description:
they are simply ignored. We could fix this by simply disallowing them in the input (they only occur in the full output and are quite useless there) or by looking at the schema in more detail when transforming
******************************************************
(This bug was triggered by FAILING to find text in file 'xml' matching 'vehicles')
---------- Differences in xml ----------
1,29d0
< <?xml version="1.0" encoding="UTF-8"?>
< 
< <!-- generated on Tue Dec  3 16:33:35 2013 by SUMO sumo Version dev-SVN-r15233
< <?xml version="1.0" encoding="UTF-8"?>
< 
< <configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/sumoConfiguration.xsd">
< 
<     <input>
<         <net-file value="net.net.xml"/>
<         <route-files value="input_routes.rou.xml"/>
<     </input>
< 
<     <output>
<         <full-output value="full.xml"/>
<     </output>
< 
<     <time>
<         <begin value="0"/>
<         <end value="120"/>
<     </time>
< 
<     <report>
<         <no-duration-log value="true"/>
<         <no-step-log value="true"/>
<     </report>
< 
< </configuration>
< -->
< 
<truncated after showing first 30 lines>