-
Type: Bug
-
Status: Resolved (View Workflow)
-
Priority: Medium
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: February
-
Component/s: Testing
-
Labels:None
-
Story Points:2
-
Epic Link:
At a number of points, the SiaB tests need to wait for the fabric crossconnect to be torn down before proceeding. Currently they do this by waiting for the Fabric Crossconnect ServiceInstance to be deleted. However, there is a delay between when this object is deleted and when the xconnect is removed in ONOS. This introduces a race condition that causes tests to occasionally fail (e.g., DHCP still works when it is expected not to).
A straightforward fix would be to wait until the xconnect is removed in ONOS. For instance something like this:
http -a karaf:karaf GET http://127.0.0.1:30120/onos/segmentrouting/xconnect|jq -r '.xconnects[].vlanId'|grep 222
# | Subject | Branch | Project | Status | CR | V |
---|---|---|---|---|---|---|
12720,1 | SEBA-458 waiting for xconnect in onos to be removed before proceeding with tests | master | ci-management | Status: ABANDONED | 0 | 0 |
12721,2 | SEBA-458 waiting for xconnect in onos to be removed in siab tests | master | cord-tester | Status: MERGED | +2 | +1 |