You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
What I did
Change orch list to make sure mux_orch and mux_cb_orch are placed after tunnel_decap_orch
Why I did it
handlePeerSwitch returns false because mux tunnel not yet created, and that results in create_nh_tunnel failure.
This moves ports into error state.
How I verified it
Verified that after changing the order ports don't move to error state.
@devpatha , it seems the test is consistently failing.. can you check if the failure is due to the code change by any chance?
Looked at the failure. It is in TestCopp.test_disabled_feature_always_enabled_trap.
It is not able to find LLDP trap. I don't see any intersection with changes in this PR.
trap_found = False
trap_type = traps_to_trap_type["lldp"]
for key in trap_keys:
(status, fvs) = self.trap_atbl.get(key)
assert status == True
for fv in fvs:
if fv[0] == "SAI_HOSTIF_TRAP_ATTR_TRAP_TYPE":
if fv[1] == trap_type:
trap_found = True
if trap_found:
self.validate_trap_group(key,trap_group)
break
assert trap_found == True
2022-01-27T04:49:08.7992702Z > assert trap_found == True
2022-01-27T04:49:08.7992947Z E assert False == True
2022-01-27T04:49:08.7994098Z E -False
2022-01-27T04:49:08.7994317Z E +True
2022-01-27T04:49:08.7994434Z
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What I did
Change orch list to make sure mux_orch and mux_cb_orch are placed after tunnel_decap_orch
Why I did it
handlePeerSwitch returns false because mux tunnel not yet created, and that results in create_nh_tunnel failure.
This moves ports into error state.
How I verified it
Verified that after changing the order ports don't move to error state.
Details if related