31May2024 - 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.05Jun092514.2667447 -g

To start TextTest for these tests, run:

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


libtraci: 540 tests: 530 succeeded 9 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 Jun2024 May2024 )

---------- 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 3570825 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 Jun2024 May2024 )

---------- 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 Jun2024 May2024 )

---------- 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 Jun2024 May2024 )
traci connection parallelConnection sumo-gui ( Last six runs Jun2024 May2024 )

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

---------- 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 Jun2024 May2024 )

---------- 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,5d0
< 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 trafficlight setProgramLogic_types ( Last six runs Jun2024 May2024 )

---------- 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 openGap braking_leader ( Last six runs Jun2024 May2024 )

---------- Differences in errors ----------
0a1,2
> Traceback (most recent call last):
> libtraci.libtraci.FatalTraCIError: Could not connect in 61 tries
---------- Differences in output ----------
1,382d0
< Fix follower's lane.
< Subscribe to leader.
< Time 2.0: Gap 'follower'->'leader' = 5.938 (headway=0.367)
< 'follower' speed = 16.161582708011505
< Time 3.0: Gap 'follower'->'leader' = 8.966 (headway=0.528)
< 'follower' speed = 16.9836198735923
< Time 4.0: Gap 'follower'->'leader' = 11.281 (headway=0.641)
< 'follower' speed = 17.586319078385337
< Time 5.0: Gap 'follower'->'leader' = 13.069 (headway=0.725)
< 'follower' speed = 18.037993564521017
< Time 6.0: Gap 'follower'->'leader' = 14.459 (headway=0.787)
< 'follower' speed = 18.38154722247842
< Time 7.0: Gap 'follower'->'leader' = 15.545 (headway=0.834)
< 'follower' speed = 18.645617143100875
< Time 8.0: Gap 'follower'->'leader' = 16.397 (headway=0.870)
< 'follower' speed = 18.85014837633004
< Time 9.0: Gap 'follower'->'leader' = 17.068 (headway=0.898)
< 'follower' speed = 19.00946674110554
< Time 10.0: Gap 'follower'->'leader' = 17.596 (headway=0.920)
< 'follower' speed = 19.134099827821203
< Time 11.0: Gap 'follower'->'leader' = 18.013 (headway=0.937)
< 'follower' speed = 19.231918606023807
< Time 12.0: Gap 'follower'->'leader' = 18.342 (headway=0.950)
< 'follower' speed = 19.308885860396813
< Time 13.0: Gap 'follower'->'leader' = 18.603 (headway=0.960)
< 'follower' speed = 19.36956490769521
< Time 14.0: Gap 'follower'->'leader' = 18.810 (headway=0.969)
< 'follower' speed = 19.417475686585863
< Time 15.0: Gap 'follower'->'leader' = 18.973 (headway=0.975)
<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 Jun2024 May2024 )

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