telstra/open-kilda

Test: StormLmcSpec: Need to update ISL-related test due to the incorrect logic.

Opened this issue · 0 comments

TC: "System's able to fail an ISL if switches on both ends go offline during restart of network topology"
Currently, this test has been ignored in the scope of #5503.
After rebuilding Kilda with up-test-mode (network topology), this test was rerun and failed.
Further investigation is required:

✘ System's able to fail an ISL if switches on both ends go offline during restart of network topology (5m)

    Condition failed with Exception:
    
    Wrappers.wait(discoveryTimeout + WAIT_OFFSET) { def allIsls = northbound.getAllLinks() assert islUtils.getIslInfo(allIsls, islUnderTest).get().state == IslChangeType.FAILED assert islUtils.getIslInfo(allIsls, islUnderTest.reversed).get().state == IslChangeType.FAILED }
        at org.openkilda.functionaltests.spec.xresilience.StormLcmSpec.System's able to fail an ISL if switches on both ends go offline during restart of network topology(StormLcmSpec.groovy:136)
    Caused by: org.openkilda.functionaltests.helpers.Wrappers$WaitTimeoutException: Condition was not satisfied within 30.0 seconds
        at org.openkilda.functionaltests.helpers.Wrappers.wait(Wrappers.groovy:109)
        ... 1 more
    Caused by: Condition not satisfied:
    
    islUtils.getIslInfo(allIsls, islUnderTest).get().state == IslChangeType.FAILED
 at org.openkilda.functionaltests.spec.xresilience.StormLcmSpec.System's able to fail an ISL if switches on both ends go offline during restart of network topology_closure9(StormLcmSpec.groovy:138)