[TRNSPRTPCE-553] TAPI get-topology-details fails to get all the nodes or the links for a given topology Created: 19/Oct/21  Updated: 20/Sep/23

Status: In Progress
Project: transportpce
Component/s: None
Affects Version/s: Phosphorus
Fix Version/s: None

Type: Bug Priority: Medium
Reporter: Christophe BETOULE Assignee: Javier Errea
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: 0 minutes
Time Spent: 1 day
Original Estimate: Not Specified

Epic Link: T-API extended support

 Description   

Sometimes, get-topology-details rpc does not recover all the nodes and/or links of the Full Multi-layer topology as tested by the functional tests.

 

............F.................
======================================================================
FAIL: test_13_get_tapi_topology_details (test12_tapi_full_multi_layer.TransportPCEtesting)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/christophe/git_ws/02/transportpce/tests/transportpce_tests/2.2.1/test12_tapi_full_multi_layer.py", line 238, in test_13_get_tapi_topology_details
self.assertEqual(nbLink, 13, 'There should be 13 TAPI links')
AssertionError: 12 != 13 : There should be 13 TAPI links
-------------------- >> begin captured stdout << ---------------------
{"input": {"topology-id-or-name": "T0 - Full Multi-layer topology"}}

--------------------- >> end captured stdout << ----------------------
-------------------- >> begin captured logging << --------------------
urllib3.connectionpool: DEBUG: Starting new HTTP connection (1): localhost:8183
urllib3.connectionpool: DEBUG: http://localhost:8183 "POST /restconf/operations/tapi-topology:get-topology-details HTTP/1.1" 200 None
--------------------- >> end captured logging << ---------------------

----------------------------------------------------------------------
Ran 30 tests in 624.275s


Generated at Wed Feb 07 20:43:23 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.