Closed izadorozhna closed 1 month ago
Quick update after a discussion with @dmitrii-beliakov :
Closing this issue since in this particular described case, the Couldn’t find non overlapping protected path
is expected. However, there is some other issue found during the debugging: #5655.
The given test is fixed in the PR #5656: the expected message is changed to Couldn’t find non overlapping protected path
.
Steps to reproduce:
"Flow swaps to protected path when main path gets broken, becomes DEGRADED if protected path is unable to reroute(no bw)"
Expected result Initially, the test expects that the flow becomes degraded since it is not enough BW to find a new protected path (since the original main path ISL is red and other ISLs have not enough BW). However, we are not sure that this result is expected in this corner case. Need to discuss this.
Actual result So, in case switches 2 and 3 are selected, the main path has only 1 ISL (2<-->3), and the original protected path has also only 1 ISL (2<-->3). Then the test selects the other (not involved ISLs) and decreases BW there. Then the test selects the ISL of the original main path and breaks it. Thus, as you see in the picture, the original main path is broken, and all other ISLs (not involved in main or protected path) have not enough BW.
The test expects the flow in degraded status since the new protected path cannot be found: not enough BW for all other ISLs and original main path ISL is red. However, the test is getting
"Couldn't find non overlapping protected path"
error:Also, l am attaching the flow history JSON file after the main ISL is broken and "Couldn't find non overlapping protected path" error is received. 06May180347_583_flatmushrooms2003.json
Questions to discuss: