Skip to content

BGP convergence tests assert early due to no traffic being received on T2 uplinks. #357

@vivekverma-arista

Description

@vivekverma-arista

https://github.com/vivekverma-arista/sonic-mgmt.msft/blob/202405/tests/snappi_tests/multidut/bgp/files/bgp_outbound_helper.py#L2025

Point of failure: https://github.com/Azure/sonic-mgmt.msft/blob/202405/tests/snappi_tests/multidut/bgp/files/bgp_outbound_helper.py#L2022-L2025 (similar code in every test)

Issue#1: The config reload after editing config_db.json puts the chassis in maintenance mode, so when the test runs, no traffic is received on T2 uplink ports and tests assert early. The reason it happens after config reload is that every swss restart does TSA and starts the timer for TSB for which the pointer to the code is as follows

https://github.com/Azure/sonic-buildimage-msft/blob/202405/files/scripts/swss.sh#L260-L265

Issue#2: After addressing Issue#1 we still see sometimes 100% traffic going through only one path (sometimes T2 and other times simulated T2). It would make sense to introduce some entropy by making the flows map to a range of UDP ports.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions