27Jun2024 - detailed test results for COMPLEX.libtraci

To reconnect the TextTest GUI to these results, run:

texttest -a complex -d /home/delphi/extraGcc/sumo/tests -reconnect /home/delphi/extraGcc/texttesttmp/extra_gcc4_64.02Jul092932.2464504 -g

To start TextTest for these tests, run:

texttest -a complex -d /home/delphi/extraGcc/sumo/tests


libtraci: 543 tests: 532 succeeded 10 FAILED 1 known bugs

Detailed information for the tests that FAILED:

TEST FAILED on ts-sim-build-ba : traci connection close_instance ( Last six runs Jul2024 Jun2024 )

---------- Differences in errors ----------
0a1,6
> Traceback (most recent call last):
>   File "/home/delphi/extraGcc/sumo/tests/../tests/complex/traci/connection/close_instance/runner.py", line 34, in <module>
>     conn = traci.connect(sumoPort, proc=sumoProcess)
> AttributeError: module 'traci' has no attribute 'connect'
> /usr/lib/python3.10/subprocess.py:1072: ResourceWarning: subprocess 2972666 is still running
>   _warn("subprocess %s is still running" % self.pid,

TEST FAILED on ts-sim-build-ba : traci connection close_named ( Last six runs Jul2024 Jun2024 )

---------- Differences in errors ----------
0a1,4
> Traceback (most recent call last):
>   File "/home/delphi/extraGcc/sumo/tests/../tests/complex/traci/connection/close_named/runner.py", line 33, in <module>
>     conn = traci.getConnection('default')
> AttributeError: module 'traci' has no attribute 'getConnection'

TEST FAILED on ts-sim-build-ba : traci connection multiconnect ( Last six runs Jul2024 Jun2024 )

---------- Differences in errors ----------
0a1,4
> Traceback (most recent call last):
>   File "/home/delphi/extraGcc/sumo/tests/../tests/complex/traci/connection/multiconnect/runner.py", line 36, in <module>
>     conns.append(traci.getConnection(str(i)))
> AttributeError: module 'traci' has no attribute 'getConnection'
---------- Differences in output ----------
1,32d0
< step 0
< step 1
< step 2
< step 0
< step 1
< step 2
< routes ('horizontal', 'vertical', 'withTaz2')
< route count 3
< examining horizontal
< edges ('2fi', '2si', '1o', '1fi', '1si', '3o', '3fi', '3si', '4o', '4fi', '4si')
< routes ('horizontal', 'vertical', 'withTaz2')
< route count 3
< examining horizontal
< edges ('2fi', '2si', '1o', '1fi', '1si', '3o', '3fi', '3si', '4o', '4fi', '4si')
< {0: ('horizontal', 'vertical', 'withTaz2')}
< step 3
< {0: ('horizontal', 'vertical', 'withTaz2')}
< step 4
< {0: ('horizontal', 'vertical', 'withTaz2')}
< step 5
< {0: ('horizontal', 'vertical', 'withTaz2')}
< routes ('h2', 'horizontal', 'vertical', 'withTaz2')
< edges ('1o',)
< {0: ('horizontal', 'vertical', 'withTaz2')}
< step 3
< {0: ('horizontal', 'vertical', 'withTaz2')}
< step 4
< {0: ('horizontal', 'vertical', 'withTaz2')}
< step 5
<truncated after showing first 30 lines>

2 TESTS FAILED on ts-sim-build-ba :

---------- Differences in output ----------
8c8
< Connection already closed.
---
> Not connected.
16d15
< Connection '2' is not known.
traci connection parallelConnection sumo ( Last six runs Jul2024 Jun2024 )
traci connection parallelConnection sumo-gui ( Last six runs Jul2024 Jun2024 )

TEST FAILED on ts-sim-build-ba : traci connection tracing ( Last six runs Jul2024 Jun2024 )

---------- Differences in errors ----------
0a1,4
> Traceback (most recent call last):
>   File "/home/delphi/extraGcc/sumo/tests/../tests/complex/traci/connection/tracing/runner.py", line 32, in <module>
>     con = traci.getConnection()
> AttributeError: module 'traci' has no attribute 'getConnection'
---------- Differences in log ----------
1,27d0
< traci.start(ARGS)
< traci.simulation.getTime()
< traci.simulationStep()
< traci.vehicle.getParameter('veh0', 'foo')
< traci.vehicle.setParameter('veh0', 'foo', '42')
< traci.vehicle.getParameter('veh0', 'foo')
< traci.person.getParameter('ped0', 'foo')
< traci.person.setParameter('ped0', 'foo', '42')
< traci.person.getParameter('ped0', 'foo')
< traci.edge.getParameter('1o', 'foo')
< traci.edge.setParameter('1o', 'foo', '42')
< traci.edge.getParameter('1o', 'foo')
< traci.lane.getParameter('1o_0', 'foo')
< traci.lane.setParameter('1o_0', 'foo', '42')
< traci.lane.getParameter('1o_0', 'foo')
< traci.vehicletype.getParameter('pType', 'foo')
< traci.vehicletype.setParameter('pType', 'foo', '42')
< traci.vehicletype.getParameter('pType', 'foo')
< traci.route.getParameter('horizontal', 'foo')
< traci.route.setParameter('horizontal', 'foo', '42')
< traci.route.getParameter('horizontal', 'foo')
< traci.trafficlight.getParameter('0', 'foo')
< traci.trafficlight.setParameter('0', 'foo', '42')
< traci.trafficlight.getParameter('0', 'foo')
< traci.simulation.getTime()
< traci.simulationStep()
< traci.close()
---------- Differences in output ----------
1,16d0
< step 0.0
< vehicle foo=""
< vehicle foo="42"
< person foo=""
< person foo="42"
< edge foo=""
< edge foo="42"
< lane foo=""
< lane foo="42"
< vType foo=""
< vType foo="42"
< route foo=""
< route foo="42"
< trafficlight foo=""
< trafficlight foo="42"
< step 1.0

TEST FAILED on ts-sim-build-ba : traci misc signature ( Last six runs Jul2024 Jun2024 )

---------- Differences in errors ----------
0a1,4
> Traceback (most recent call last):
>   File "/home/delphi/extraGcc/sumo/tests/../tests/complex/traci/misc/signature/runner.py", line 48, in <module>
>     traci.vehicle.setLaneChangeMode("horiz", lcm=0)
> TypeError: vehicle.setLaneChangeMode() got an unexpected keyword argument 'lcm'
---------- Differences in output ----------
1,9d0
< chargingstation.setChargeDelay traci: (typeID, delay) libsumo: (stopID, delay)
< chargingstation.setChargeInTransit traci: (typeID, inTransit) libsumo: (stopID, value)
< chargingstation.setChargingPower traci: (typeID, power) libsumo: (stopID, chargingpower)
< chargingstation.setEfficiency traci: (typeID, efficiency) libsumo: (stopID, efficiency)
< lane.getLinks traci: (laneID, extended=True) libsumo: (laneID)
< person.getPosition traci: (personID) libsumo: (personID, includeZ=False)
< poi.getPosition traci: (poiID) libsumo: (poiID, includeZ=False)
< vehicle.getPosition traci: (vehID) libsumo: (vehID, includeZ=False)
< Domain.setParameter() got an unexpected keyword argument 'oID'

TEST FAILED on ts-sim-build-ba : traci person moveToXY within_route ( Last six runs Jul2024 Jun2024 )

---------- Differences in errors ----------
0a1,8
> Error: Answered with error to command 0xc4: Vehicle 'v' is not known
> Traceback (most recent call last):
>   File "/home/delphi/extraGcc/sumo/tests/../tests/complex/traci/person/moveToXY/within_route/runner.py", line 47, in <module>
>     x, y = traci.person.getPosition(p)
>   File "/home/delphi/extraGcc/sumo/tools/libtraci/libtraci.py", line 7345, in getPosition
>     return _libtraci.person_getPosition(personID, includeZ)
> libtraci.libtraci.TraCIException: Person 'p0' is not known
> Error: tcpip::Socket::recvAndCheck @ recv: peer shutdown
---------- Differences in fcd ----------
8,22d7
<     <timestep time="1.00">
<         <person id="p0" x="106.23" y="71.95" angle="180.00" speed="10.00" pos="71.95" edge="SC" slope="0.00"/>
<     </timestep>
<     <timestep time="2.00">
<         <person id="p0" x="106.23" y="131.95" angle="45.00" speed="60.00" pos="23.90" edge="CN" slope="0.00"/>
<     </timestep>
<     <timestep time="3.00">
<         <person id="p0" x="106.23" y="133.41" angle="0.00" speed="1.46" pos="25.36" edge="CN" slope="0.00"/>
<     </timestep>
<     <timestep time="4.00">
<         <person id="p0" x="106.23" y="51.95" angle="180.00" speed="81.46" pos="51.95" edge="SC" slope="0.00"/>
<     </timestep>
<     <timestep time="5.00">
<         <person id="p0" x="106.23" y="53.25" angle="0.00" speed="1.30" pos="53.25" edge="SC" slope="0.00"/>
<     </timestep>
---------- Differences in output ----------
1,7c1
< s=0 x=106.23 y=81.95
< jumping backwards on the same edge
< s=1 x=106.23 y=71.95
< jumping forward to route edge
< s=2 x=106.23 y=131.95
< jumping backward to previous route edge
< s=4 x=106.23 y=51.95
---
> Quitting (on error).

TEST FAILED on ts-sim-build-ba : traci trafficlight setProgramLogic_types ( Last six runs Jul2024 Jun2024 )

---------- Differences in errors ----------
0a1,10
> Traceback (most recent call last):
>   File "/home/delphi/extraGcc/sumo/tests/../tests/complex/traci/trafficlight/setProgramLogic_types/runner.py", line 42, in <module>
>     Logic("customActuated", tc.TRAFFICLIGHT_TYPE_ACTUATED, 0,
>   File "/home/delphi/extraGcc/sumo/tools/libtraci/libtraci.py", line 974, in __init__
>     _libtraci.TraCILogic_swiginit(self, _libtraci.new_TraCILogic(*args))
> TypeError: Wrong number or type of arguments for overloaded function 'new_TraCILogic'.
>   Possible C/C++ prototypes are:
>     libsumo::TraCILogic::TraCILogic()
>     libsumo::TraCILogic::TraCILogic(std::string const &,int const,int const,std::vector< std::shared_ptr< libsumo::TraCIPhase >,std::allocator< std::shared_ptr< libsumo::TraCIPhase > > > const &)
> 
---------- Differences in output ----------
1,26d0
< set logic type=actuated
< 34.0  phase=1 nextSwitch=36.0
< 37.0  phase=2 nextSwitch=41.0
< 42.0  phase=3 nextSwitch=44.0
< 45.0  phase=0 nextSwitch=49.0
< 50.0  phase=1 nextSwitch=52.0
< 53.0  phase=2 nextSwitch=57.0
< 58.0  phase=3 nextSwitch=60.0
< 61.0  phase=0 nextSwitch=65.0
< 66.0  phase=1 nextSwitch=68.0
< 69.0  phase=2 nextSwitch=73.0
< 74.0  phase=3 nextSwitch=76.0
< 77.0  phase=0 nextSwitch=81.0
< 82.0  phase=1 nextSwitch=84.0
< 85.0  phase=2 nextSwitch=89.0
< 90.0  phase=3 nextSwitch=92.0
< 93.0  phase=0 nextSwitch=97.0
< 98.0  phase=1 nextSwitch=100.0
< set logic type=static
< 134.0  phase=1 nextSwitch=136.0
< 137.0  phase=2 nextSwitch=169.0
< 170.0  phase=3 nextSwitch=172.0
< 173.0  phase=0 nextSwitch=205.0
< set logic type=delay_based
< 251.0  phase=1 nextSwitch=253.0
< 254.0  phase=2 nextSwitch=258.0

TEST FAILED on ts-sim-build-ba : traci vehicle changeTarget ( Last six runs Jul2024 Jun2024 )

---------- Differences in errors ----------
0a1,7
> Traceback (most recent call last):
>   File "/home/delphi/extraGcc/sumo/tests/../tests/complex/traci/vehicle/changeTarget/runner.py", line 42, in <module>
>     traci.vehicle.changeTarget(vehID, "D1D0")
>   File "/home/delphi/extraGcc/sumo/tools/libtraci/libtraci.py", line 6485, in changeTarget
>     return _libtraci.vehicle_changeTarget(vehID, edgeID)
> libtraci.libtraci.TraCIException: Vehicle 'v' is not known
> Error: Answered with error to command 0xae: Person 'p0' is not known
---------- Differences in stopinfos ----------
2a3,4
> <!-- generated on 2024-06-27 09:43:12 by Eclipse SUMO sumo Version v1_20_0+0870-55b9b8ddad5
> <sumoConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/sumoConfiguration.xsd">
4,6c6,24
< <stops xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/stopinfo_file.xsd">
<     <stopinfo id="v" type="car" lane="B2C2_0" pos="90.60" parking="0" started="23.00" ended="28.00" initialPersons="0" loadedPersons="0" unloadedPersons="0" initialContainers="0" loadedContainers="0" unloadedContainers="0"/>
< </stops>
---
>     <input>
>         <net-file value="input_net4.net.xml"/>
>         <route-files value="input_routes.rou.xml"/>
>     </input>
> 
>     <output>
>         <vehroute-output value="vehroutes.xml"/>
>         <stop-output value="stopinfos.xml"/>
>     </output>
> 
>     <report>
>         <no-step-log value="true"/>
>     </report>
> 
>     <traci_server>
>         <remote-port value="42565"/>
>     </traci_server>
> 
> </sumoConfiguration>
---------- Differences in vehroutes ----------
2a3,4
> <!-- generated on 2024-06-27 09:43:12 by Eclipse SUMO sumo Version v1_20_0+0870-55b9b8ddad5
> <sumoConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/sumoConfiguration.xsd">
4,11c6,9
< <routes xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/routes_file.xsd">
<     <vehicle id="v" type="car" depart="0.00" departSpeed="13.89" speedFactor="1.0600" arrival="53.00">
<         <routeDistribution>
<             <route replacedOnEdge="A1B1" reason="traci:changeTarget" replacedAtTime="1.00" probability="0" edges="A1B1 B1B2 B2C2 C2C1 C1D1"/>
<             <route edges="A1B1 B1B2 B2C2 C2D2 D2D1 D1D0"/>
<         </routeDistribution>
<         <stop edge="B2C2" duration="5.00"/>
<     </vehicle>
---
>     <input>
>         <net-file value="input_net4.net.xml"/>
>         <route-files value="input_routes.rou.xml"/>
>     </input>
13c11,24
< </routes>
---
>     <output>
>         <vehroute-output value="vehroutes.xml"/>
>         <stop-output value="stopinfos.xml"/>
>     </output>
> 
>     <report>
>         <no-step-log value="true"/>
>     </report>
> 
>     <traci_server>
<truncated after showing first 30 lines>

Detailed information for the tests that had known bugs:

TEST had known bugs (see #3263) on ts-sim-build-ba : traci vehicle moveToXY keepRoute2 ( Last six runs Jul2024 Jun2024 )

mapping failure
(This bug was triggered by text found in file 'output' matching 'failed')
---------- Differences in output ----------
0a1
> internal corner (inside, segment2) failed: x=198, x2=198.0,   y=1.9, y2=1.9,   lane=middle_0, lane2=middle_0, pos=102, pos2=98.0   posLat=2.0 posLat2=1.9