Skip to content

[test_fgnhg] Test enhancement for link operational change and matchmode changes to fine grained ECMP#2670

Merged
abdosi merged 8 commits intosonic-net:masterfrom
anish-n:fgnhg_link_oper
Apr 6, 2021
Merged

[test_fgnhg] Test enhancement for link operational change and matchmode changes to fine grained ECMP#2670
abdosi merged 8 commits intosonic-net:masterfrom
anish-n:fgnhg_link_oper

Conversation

@anish-n
Copy link
Contributor

@anish-n anish-n commented Dec 15, 2020

Description of PR

Summary:
Enhance test_fgnhg with link operational change testing.

Type of change

  • Bug fix
  • Testbed and Framework(new/improvement)
  • Test case(new/improvement)

Approach

What is the motivation for this PR?

HLD update: sonic-net/SONiC#693

How did you do it?

Change link operational state in the test and validate that ECMP adjusts to account for it

How did you verify/test it?

By running the test via pytest/ptf

Any platform specific information?

Applicable to all platforms which support fine grained ecmp

Supported testbed topology if it's a new test case?

Documentation

sonic-net/SONiC#693

@lgtm-com
Copy link

lgtm-com bot commented Dec 15, 2020

This pull request introduces 2 alerts when merging 63034b2 into c86b445 - view on LGTM.com

new alerts:

  • 2 for Result of integer division may be truncated

@lgtm-com
Copy link

lgtm-com bot commented Feb 1, 2021

This pull request introduces 2 alerts when merging 6594039 into b901773 - view on LGTM.com

new alerts:

  • 2 for Result of integer division may be truncated

@anish-n anish-n requested a review from a team as a code owner February 18, 2021 04:54
@lgtm-com
Copy link

lgtm-com bot commented Feb 18, 2021

This pull request introduces 6 alerts when merging 298a5bf into a0836c8 - view on LGTM.com

new alerts:

  • 5 for Result of integer division may be truncated
  • 1 for Wrong number of arguments in a call

@anish-n anish-n changed the title [test_fgnhg] Link operational change testing [test_fgnhg] Test enhancement for link operational change and matchmode changes to fine grained ECMP Feb 22, 2021
@anish-n
Copy link
Contributor Author

anish-n commented Mar 3, 2021

@nazariig please can you help review?

… in the pytest currently, it is planned to be added to pytest in a future PR
@lgtm-com
Copy link

lgtm-com bot commented Mar 31, 2021

This pull request introduces 12 alerts when merging 013ce50 into 1141ee7 - view on LGTM.com

new alerts:

  • 5 for Result of integer division may be truncated
  • 4 for Testing equality to None
  • 2 for Unused local variable
  • 1 for Wrong number of arguments in a call

Copy link
Collaborator

@wangxin wangxin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you also fix the LGTM alerts?

@lgtm-com
Copy link

lgtm-com bot commented Apr 1, 2021

This pull request introduces 6 alerts when merging 5097deb into a2a435c - view on LGTM.com

new alerts:

  • 5 for Result of integer division may be truncated
  • 1 for Unused import

@anish-n
Copy link
Contributor Author

anish-n commented Apr 1, 2021

Can you also fix the LGTM alerts?

Fixed LGTM errors, the remaining one on result of integer division may be truncated is fine from the test logic perspective and may be ignored.

@anish-n anish-n requested a review from abdosi April 1, 2021 00:15
@lgtm-com
Copy link

lgtm-com bot commented Apr 1, 2021

This pull request introduces 5 alerts when merging e2c17ba into a2a435c - view on LGTM.com

new alerts:

  • 5 for Result of integer division may be truncated

@abdosi
Copy link
Contributor

abdosi commented Apr 1, 2021

can you fix LGTM ?

@anish-n
Copy link
Contributor Author

anish-n commented Apr 1, 2021

can you fix LGTM ?

Have fixed most LGTM errors, the remaining one on result of integer division may be truncated is fine from the test logic perspective and can be ignored?

it can't be fix ?

@anish-n
Copy link
Contributor Author

anish-n commented Apr 6, 2021

@abdosi , @wangxin can you please help merge the PR if it is good to go?

@abdosi abdosi merged commit f8a5a6b into sonic-net:master Apr 6, 2021
saravanansv pushed a commit to saravanansv/sonic-mgmt that referenced this pull request May 6, 2021
…de changes to fine grained ECMP (sonic-net#2670)

Enhance test_fgnhg with link operational change testing.
vmittal-msft pushed a commit to vmittal-msft/sonic-mgmt that referenced this pull request Sep 28, 2021
…de changes to fine grained ECMP (sonic-net#2670)

Enhance test_fgnhg with link operational change testing.
kazinator-arista pushed a commit to kazinator-arista/sonic-mgmt that referenced this pull request Mar 4, 2026
…nux-kernel] advance submodule head (sonic-net#13906)

linkmgrd:
* 3e7a9df 2023-02-19 | [active-active] Toggle to standby if default route is missing (sonic-net#171) (HEAD -> 202205) [Longxiang Lyu]
* 8ab1b2b 2023-02-15 | [active-active] fix issue that interfaces get stuck in `active` if service starts up with link state down (sonic-net#169) [Jing Zhang]
* df862ad 2023-02-11 | Fix mux config when gRPC connection is lost (sonic-net#166) [Longxiang Lyu]

utilities:
* 8aa7930c 2023-02-13 | [portstat CLI] don't print reminder if use json format (sonic-net#2670) (HEAD -> 202205, github/202205) [wenyiz2021]
* 4e3bb6fa 2023-02-21 | Add "show fabric reachability" command. (sonic-net#2672) [jfeng-arista]
* 3587a94b 2023-02-18 | [202205][dhcp_relay] Remove add field of vlanid to DHCP_RELAY table while adding vlan (sonic-net#2680) [Yaqiang Zhu]
* 4f07f7f0 2023-02-10 | Skip saidump for Spine Router as this can take more than 5 sec (sonic-net#2637) (sonic-net#2671) [kenneth-arista]
* e61c5ec4 2023-02-10 | [vlan] Refresh dhcpv6_relay config while adding/deleting a vlan (sonic-net#2660) (sonic-net#2669) [Yaqiang Zhu]

swss:
* 1bbf725 2023-02-14 | [Workaround] EvpnRemoteVnip2pOrch warmboot check failure (sonic-net#2626) (HEAD -> 202205) [jcaiMR]
* 380f72b 2023-02-20 | Support for tc-dot1p and tc-dscp qosmap (sonic-net#2559) [Divya Mukundan]
* dbf6fcc 2022-11-01 | Added LAG member check on addLagMember() (sonic-net#2464) [Andriy Kokhan]

swss-common:
* b31391b 2023-02-21 | Prevent sonic-db-cli generate core dump (sonic-net#749) (HEAD -> 202205) [Hua Liu]
* 16ff689 2022-12-13 | Support for TC-DOT1p qos map (sonic-net#721) [Divya Mukundan]

platform-daemons:
* fb92af4 2023-02-09 | [ycabled] add more coverage to ycabled; add minor name change for vendor API CLI return key-values pairs (sonic-net#338) (HEAD -> 202205) [vdahiya12]

linux-kernel:
* 4e62401 2023-02-09 | Update linux kernel for hw-mgmt V.7.0020.4104 (sonic-net#305) (HEAD -> 202205) [Stephen Sun]

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
kazinator-arista pushed a commit to kazinator-arista/sonic-mgmt that referenced this pull request Mar 4, 2026
Why I did it
8c7ddf56 - [warm/fast-reboot] Backup logs from tmpfs to disk during fast/warm shutdown ([swss]: update swss docker to stretch sonic-net#2714) (3 hours ago) [Vaibhav Hemant Dixit]
f2a31b30 - [ci] Fix pipeline issue caused by sonic-slave-* change. ([201803] Modify Debian apt repos to reflect changes made by maintainers sonic-net#2709) (3 hours ago) [Liu Shilong]
586ecf0e - [dhcp_relay] Fix dhcp_relay restart error while add/del vlan ([thrift] add a patch to revert THRIFT-3650 sonic-net#2688) (3 hours ago) [Yaqiang Zhu]
07b0ef4c - [portstat CLI] don't print reminder if use json format ([devices] add new accton platform minipack. sonic-net#2670) (3 hours ago) [wenyiz2021]
48d3d3ef - [show][muxcable] add some new commands health, reset-cause, queue_info support for muxcable (DUT takes more than 7 seconds to finish update ip v6 neighbor sonic-net#2414) (3 hours ago) [vdahiya12]
How I did it
How to verify it
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants