Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add warmboot infra for testing with a sonic neighbor #7961

Merged
merged 20 commits into from
Jun 12, 2023

Commits on Apr 12, 2023

  1. Add initial framework for testing warm reboot with SONiC neighbors

    Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com>
    saiarcot895 committed Apr 12, 2023
    Configuration menu
    Copy the full SHA
    fa88a5a View commit details
    Browse the repository at this point in the history
  2. Add support for choosing between Arista and Sonic implementation base…

    …d on neighbor type
    
    Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com>
    saiarcot895 committed Apr 12, 2023
    Configuration menu
    Copy the full SHA
    747353d View commit details
    Browse the repository at this point in the history

Commits on Apr 19, 2023

  1. Include timestamps in log output for easier time comparisons from log

    Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com>
    saiarcot895 committed Apr 19, 2023
    Configuration menu
    Copy the full SHA
    e06ef34 View commit details
    Browse the repository at this point in the history
  2. Bug fixes for when there's no port channel flaps

    Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com>
    saiarcot895 committed Apr 19, 2023
    Configuration menu
    Copy the full SHA
    f65a3ca View commit details
    Browse the repository at this point in the history

Commits on Apr 26, 2023

  1. Update SONiC warm reboot test case

    Handle multiple port channel interfaces, update LACP PDU timing
    collection code to current version, clean up imports a bit.
    
    Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com>
    saiarcot895 committed Apr 26, 2023
    Configuration menu
    Copy the full SHA
    17564cd View commit details
    Browse the repository at this point in the history
  2. fixup! Update SONiC warm reboot test case

    Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com>
    saiarcot895 committed Apr 26, 2023
    Configuration menu
    Copy the full SHA
    44ad59f View commit details
    Browse the repository at this point in the history
  3. Fix some precommit errors

    Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com>
    saiarcot895 committed Apr 26, 2023
    Configuration menu
    Copy the full SHA
    dd429f3 View commit details
    Browse the repository at this point in the history
  4. Add return in case of attempts exceeded

    Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com>
    saiarcot895 committed Apr 26, 2023
    Configuration menu
    Copy the full SHA
    3eccb6c View commit details
    Browse the repository at this point in the history
  5. Reduce to 5 attempts.

    Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com>
    saiarcot895 committed Apr 26, 2023
    Configuration menu
    Copy the full SHA
    9e2be21 View commit details
    Browse the repository at this point in the history

Commits on Apr 27, 2023

  1. Fix pre-commit checks

    Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com>
    saiarcot895 committed Apr 27, 2023
    Configuration menu
    Copy the full SHA
    fdd3938 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    253e76d View commit details
    Browse the repository at this point in the history
  3. Fix more precommit issues

    Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com>
    saiarcot895 committed Apr 27, 2023
    Configuration menu
    Copy the full SHA
    63ea113 View commit details
    Browse the repository at this point in the history

Commits on May 4, 2023

  1. Fail the warmboot test if there's a port channel flap for SONiC neighbor

    If testing with a SONiC neighbor, fail the warmboot test if there is a
    port channel flap. This is in preparation for the teamd retry count
    feature.
    
    Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com>
    saiarcot895 committed May 4, 2023
    Configuration menu
    Copy the full SHA
    d893a88 View commit details
    Browse the repository at this point in the history

Commits on May 12, 2023

  1. Implement verify_neigh_lag_no_flap

    This is used on actual hardware warm-reboot tests.
    
    Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com>
    saiarcot895 committed May 12, 2023
    Configuration menu
    Copy the full SHA
    eeea2c7 View commit details
    Browse the repository at this point in the history
  2. Remove unused import

    Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com>
    saiarcot895 committed May 12, 2023
    Configuration menu
    Copy the full SHA
    5aabb74 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ef38dd0 View commit details
    Browse the repository at this point in the history

Commits on May 18, 2023

  1. Configuration menu
    Copy the full SHA
    36440cd View commit details
    Browse the repository at this point in the history

Commits on May 22, 2023

  1. Remove unused log message, and add log when failing to get the output…

    … for a command
    
    Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com>
    saiarcot895 committed May 22, 2023
    Configuration menu
    Copy the full SHA
    ed90f02 View commit details
    Browse the repository at this point in the history
  2. Remove unused variable

    Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com>
    saiarcot895 committed May 22, 2023
    Configuration menu
    Copy the full SHA
    dbf1751 View commit details
    Browse the repository at this point in the history

Commits on May 24, 2023

  1. Add retry count flag for the warm-reboot command on supported images.

    Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com>
    saiarcot895 committed May 24, 2023
    Configuration menu
    Copy the full SHA
    526d608 View commit details
    Browse the repository at this point in the history