Skip to content

Improve mac noptf#4291

Merged
wangxin merged 3 commits intosonic-net:masterfrom
JibinBao:improve_mac_noptf
Sep 18, 2021
Merged

Improve mac noptf#4291
wangxin merged 3 commits intosonic-net:masterfrom
JibinBao:improve_mac_noptf

Conversation

@JibinBao
Copy link
Copy Markdown
Contributor

Description of PR

Summary:
Fixes # (issue)
In setupDutConfig of this test, it will do config reload, and the wait time is 120s. Sometimes for some platforms such as sn3800, 120s is not enough for interface to be up. So use wait_until to check the interface is up or not, it will make the test more stable.

Type of change

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

Back port request

  • 201911

Approach

What is the motivation for this PR?

Use wait_until to check the interface is up or not, and make the test more stability.

How did you do it?

Use wait_until to check the interface is up or not.

How did you verify/test it?

run the test : test_neighbor_mac_noptf.py

Any platform specific information?

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

Documentation

@JibinBao JibinBao requested a review from a team as a code owner September 16, 2021 12:43
for intf, status in intfStatus.items():
if "routed" in status["vlan"] and "up" in status["oper_state"]:
testRoutedInterface[asichost.asic_index] = intf
return testRoutedInterface
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Only routed interfaces of the first ASIC would be returned. Is this expected? Need to reduce indention of return testRoutedInterface?

@JibinBao
Copy link
Copy Markdown
Contributor Author

Done

@wangxin wangxin merged commit 7c058f5 into sonic-net:master Sep 18, 2021
vmittal-msft pushed a commit to vmittal-msft/sonic-mgmt that referenced this pull request Sep 28, 2021
… improve stability (sonic-net#4291)

In setupDutConfig of this test, it will do config reload, and the wait time is 120s. Sometimes for some platforms such as sn3800, 120s is not enough for interface to be up. So use wait_until to check the interface is up or not, it will make the test more stable.

What is the motivation for this PR?
Use wait_until to check the interface is up or not, and make the test more stability.

How did you do it?
Use wait_until to check the interface is up or not.

How did you verify/test it?
run the test : test_neighbor_mac_noptf.py
kazinator-arista pushed a commit to kazinator-arista/sonic-mgmt that referenced this pull request Mar 4, 2026
…atically (#25595)

#### Why I did it
src/sonic-utilities
```
* ddc241ec - (HEAD -> 202511, origin/202511) [storm-control] Fixed show storm-control interface command display (sonic-net#4302) (32 hours ago) [mssonicbld]
* fbd3f90b - [fast-reboot][cosmetic] Fixed debug/error prints with the correct reboot type (sonic-net#4286) (5 days ago) [Yair Raviv]
* efdffa2a - Added counterpoll CLI support (sonic-net#4291) (6 days ago) [mssonicbld]
* 567ad5b3 - [Smartswitch] Prevent early exit of reboot status (sonic-net#4287) (6 days ago) [mssonicbld]
```
#### How I did it
#### How to verify it
#### Description for the changelog
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.

2 participants