Skip to content

[202503] Code sync Azure/sonic-mgmt.msft:202412 => 202503#291

Merged
Javier-Tan merged 10 commits intoAzure:202503from
Javier-Tan:sync/202503
May 16, 2025
Merged

[202503] Code sync Azure/sonic-mgmt.msft:202412 => 202503#291
Javier-Tan merged 10 commits intoAzure:202503from
Javier-Tan:sync/202503

Conversation

@Javier-Tan
Copy link

81505c88b (az_upstream/202412) Merge branch '202411' of https://github.com/sonic-net/sonic-mgmt into 202412
30b7d73b5 (pub_upstream/202411) [202411 ] Updating the BGP, Reboot and LACP  convergence cases to latest Snappi Api Model instead of Snappi_convergence module [ PR 18044 ] (#18391)
e146100de [action] [PR:18292] Fix Skip tests if no portchannels are found in prepare_test_port fixture (#280)
d8b9193aa [action] [PR:17985] [tests_mark_conditions.yaml]: Skip GNMI/ZMQ test for isolated topology (#281)
ef951e61f [action] [PR:17943] Add default routes to t1-isolated-d128 (#282)
2d3aec594 [action] [PR:18341] [route/test_route_perf] Support reading l3_alpm_template from config.bcm for TH5 platforms (#284)
6390c7dc9 [202412][PR: 18350] disable default pfcwd for all lossy DUT (#271)
b6216441b [Cherry-pick] modifying Ignore message for 'Failed to get port by bridge port ID' (#263)
bc9a2d26b modifying Ignore message for 'Failed to get port by bridge port ID'

CharudattaSChitale and others added 10 commits May 9, 2025 19:15
<!--
Please make sure you've read and understood our contributing guidelines;
https://github.com/sonic-net/SONiC/blob/gh-pages/CONTRIBUTING.md

Please provide following information to help code review process a bit
easier:
-->
### Description of PR
<!--
- Please include a summary of the change and which issue is fixed.
- Please also include relevant motivation and context. Where should
reviewer start? background context?
- List any dependencies that are required for this change.
-->

Summary:
Update default_pfcwd_status to disable for some platform which only have
lossy traffic.

Note: This PR needs the image fix
sonic-net/sonic-utilities#3880 for it to work.

### Type of change

<!--
- Fill x for your type of change.
- e.g.
- [x] Bug fix
-->

- [ ] Bug fix
- [ ] Testbed and Framework(new/improvement)
- [ ] New Test case
    - [ ] Skipped for non-supported platforms
- [ ] Test case improvement


### Back port request
- [ ] 202012
- [ ] 202205
- [ ] 202305
- [ ] 202311
- [ ] 202405
- [x] 202412

### Approach
#### What is the motivation for this PR?
Update the default pfcwd status in golden_config for lossy platform

#### How did you do it?
Update the default pfcwd status in golden_config for lossy platform

#### How did you verify/test it?
Verified on physical platform. 

#### Any platform specific information?

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

### Documentation
<!--
(If it's a new feature, new test case)
Did you update documentation/Wiki relevant to your implementation?
Link to the wiki page?
-->
…emplate from config.bcm for TH5 platforms (Azure#284)

<!--
Please make sure you've read and understood our contributing guidelines;
https://github.com/sonic-net/SONiC/blob/gh-pages/CONTRIBUTING.md

Please provide following information to help code review process a bit easier:
-->
### Description of PR
<!--
- Please include a summary of the change and which issue is fixed.
- Please also include relevant motivation and context. Where should reviewer start? background context?
- List any dependencies that are required for this change.
-->

Summary:
Fixes # (issue)
This change enhances the `check_config` fixture in test_route_perf.py to support TH5 platforms in Broadcom (e.g., x86_64-arista_7060x6_64pe and x86_64-arista_7060x6_64pe_b) where the `l3_alpm_template` value is configured in the config.bcm file instead of being queried via `bcmcmd`.

### Type of change

<!--
- Fill x for your type of change.
- e.g.
- [x] Bug fix
-->

- [ ] Bug fix
- [ ] Testbed and Framework(new/improvement)
- [ ] New Test case
 - [ ] Skipped for non-supported platforms
- [x] Test case improvement

### Back port request
- [x] 202412

### Approach
#### What is the motivation for this PR?
TH5 devices manage ALPM configuration through config.bcm, and bcmcmd does not reflect runtime ALPM mode (l3_alpm_template) for them. Test case route/test_route_perf.py::test_perf_add_remove_routes would failed on TH5 platforms because it didn't support get ALPM configuration from bcm shell.

#### How did you do it?
- Added `get_l3_alpm_template_from_config_bcm()` helper to locate and copy the config.bcm file to /tmp and parse and retrieve the value of `l3_alpm_template`.
- Update the `check_config` fixture to use the new method for TH5 platforms.

#### How did you verify/test it?
Verified on TH5 device (x86_64-arista_7060x6_64pe): confirms the correct ALPM template value is retrieved and case test_perf_add_remove_routes can pass now.
```
route/test_route_perf.py::test_perf_add_remove_routes[4-str4-7060x6-64pe-10-None] PASSED [50%]
route/test_route_perf.py::test_perf_add_remove_routes[6-str4-7060x6-64pe-10-None] PASSED [100%]
```

#### Any platform specific information?

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

### Documentation
<!--
(If it's a new feature, new test case)
Did you update documentation/Wiki relevant to your implementation?
Link to the wiki page?
-->

Signed-off-by: zitingguo-ms <[email protected]>
<!--
Please make sure you've read and understood our contributing guidelines;
https://github.com/sonic-net/SONiC/blob/gh-pages/CONTRIBUTING.md

Please provide following information to help code review process a bit easier:
-->
### Description of PR
<!--
- Please include a summary of the change and which issue is fixed.
- Please also include relevant motivation and context. Where should reviewer start? background context?
- List any dependencies that are required for this change.
-->

Summary:
Fixes # (issue)

### Type of change

<!--
- Fill x for your type of change.
- e.g.
- [x] Bug fix
-->

- [x] Bug fix
- [ ] Testbed and Framework(new/improvement)
- [ ] New Test case
 - [ ] Skipped for non-supported platforms
- [ ] Test case improvement

### Back port request
- [ ] 202012
- [ ] 202205
- [ ] 202305
- [ ] 202311
- [ ] 202405
- [ ] 202411

### Approach
#### What is the motivation for this PR?

Add default routes to t1-isolated-d128 through it's t0 peers via BGP as this topo does not have t2 peers.

#### How did you do it?

Update announce_routes.py

#### How did you verify/test it?

Checked that default routes were added on DUT

#### Any platform specific information?

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

### Documentation
<!--
(If it's a new feature, new test case)
Did you update documentation/Wiki relevant to your implementation?
Link to the wiki page?
-->
…for isolated topology (Azure#281)

<!--
Please make sure you've read and understood our contributing guidelines;
https://github.com/sonic-net/SONiC/blob/gh-pages/CONTRIBUTING.md

Please provide following information to help code review process a bit easier:
-->
### Description of PR
<!--
- Please include a summary of the change and which issue is fixed.
- Please also include relevant motivation and context. Where should reviewer start? background context?
- List any dependencies that are required for this change.
-->

Summary:
Fixes # (issue)

### Type of change

<!--
- Fill x for your type of change.
- e.g.
- [x] Bug fix
-->

- [ ] Bug fix
- [ ] Testbed and Framework(new/improvement)
- [ ] New Test case
 - [ ] Skipped for non-supported platforms
- [ ] Test case improvement

### Back port request
- [ ] 202012
- [ ] 202205
- [ ] 202305
- [ ] 202311
- [ ] 202405
- [ ] 202411

### Approach
#### What is the motivation for this PR?
GNMI ZMQ has an issue in isolated topology, but fixing it is not a priority because it isn't used in isolated topology. So, just skip this test.

#### How did you do it?
Add a condition in the skip file

#### How did you verify/test it?
Check locally

#### Any platform specific information?

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

### Documentation
<!--
(If it's a new feature, new test case)
Did you update documentation/Wiki relevant to your implementation?
Link to the wiki page?
-->
…epare_test_port fixture (Azure#280)

<!--
Please make sure you've read and understood our contributing guidelines;
https://github.com/sonic-net/SONiC/blob/gh-pages/CONTRIBUTING.md

Please provide following information to help code review process a bit easier:
-->
### Description of PR
<!--
- Please include a summary of the change and which issue is fixed.
- Please also include relevant motivation and context. Where should reviewer start? background context?
- List any dependencies that are required for this change.
-->

Summary:
Fixes #18291

### Type of change

<!--
- Fill x for your type of change.
- e.g.
- [x] Bug fix
-->

- [x] Bug fix
- [ ] Testbed and Framework(new/improvement)
- [ ] New Test case
 - [ ] Skipped for non-supported platforms
- [ ] Test case improvement

### Back port request
- [ ] 202012
- [ ] 202205
- [ ] 202305
- [ ] 202311
- [ ] 202405
- [ ] 202411

### Approach
#### What is the motivation for this PR?
Fix bug, and let code run by design.

#### How did you do it?
Adjust the check condition for if there is portchannel.

#### How did you verify/test it?
Verified by running local test on testbed with no portchannel, and was erroring out before the fix.
![image](https://github.com/user-attachments/assets/8a81f43a-8066-4768-852b-1cffa0ebf7f1)

#### Any platform specific information?

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

### Documentation
<!--
(If it's a new feature, new test case)
Did you update documentation/Wiki relevant to your implementation?
Link to the wiki page?
-->
…st Snappi Api Model instead of Snappi_convergence module [ PR 18044 ] (#18391)

* Updating the BGP convergence cases to latest Snappi Api Model instead of Snappi_convergence module (#18044)

Description of PR
Summary: Updating the BGP convergence cases to accomodate latest Snappi Api Model
Fixes # (issue)

Type of change
The snappi_convergence library has been replaced to snappi_api

Approach
What is the motivation for this PR?
To update the scripts for latest snappi models

How did you do it?
Removed snappi_convergence apis and replaced with snappi_api apis

How did you verify/test it?
Tested on Edgecore DUT

Any platform specific information?
Supported testbed topology if it's a new test case?
Documentation
Output
------------------------------------------------------------------------------------------------ live log call -------------------------------------------------------------------------------------------------
20:12:31 bgp_convergence_helper.duthost_bgp_confi L0222 INFO | Removing configured IP and IPv6 Address from Ethernet64
20:12:33 bgp_convergence_helper.duthost_bgp_confi L0222 INFO | Removing configured IP and IPv6 Address from Ethernet68
20:12:35 bgp_convergence_helper.duthost_bgp_confi L0222 INFO | Removing configured IP and IPv6 Address from Ethernet72
20:12:36 bgp_convergence_helper.duthost_bgp_confi L0235 INFO | Configuring Ethernet64 to PortChannel1 with IPs 20.1.1.0,2000:1::1
20:12:39 bgp_convergence_helper.duthost_bgp_confi L0235 INFO | Configuring Ethernet68 to PortChannel2 with IPs 20.1.1.2,2000:2::1
20:12:41 bgp_convergence_helper.duthost_bgp_confi L0235 INFO | Configuring Ethernet72 to PortChannel3 with IPs 20.1.1.4,2000:3::1
20:12:44 bgp_convergence_helper.duthost_bgp_confi L0262 INFO | Configuring BGP v4 Neighbor 20.1.1.3
20:12:44 bgp_convergence_helper.duthost_bgp_confi L0262 INFO | Configuring BGP v4 Neighbor 20.1.1.5
20:12:45 connection._warn L0246 WARNING| Verification of certificates is disabled
20:12:45 connection._info L0243 INFO | Determining the platform and rest_port using the 10.36.77.53 address...
20:12:45 connection._warn L0246 WARNING| Unable to connect to http://10.36.77.53:11009.
20:12:45 connection._info L0243 INFO | Connection established to https://10.36.77.53:11009 on windows
20:12:45 connection._info L0243 INFO | Using IxNetwork api server version 10.20.2402.29
20:12:45 connection._info L0243 INFO | User info IxNetwork/WIN-11RK5TNKNAN/8010
20:12:45 snappi_api.info L1419 INFO | snappi-1.27.1
20:12:45 snappi_api.info L1419 INFO | snappi_ixnetwork-1.27.1
20:12:45 snappi_api.info L1419 INFO | ixnetwork_restpy-1.0.64
20:12:45 snappi_api.info L1419 INFO | Config validation 0.011s
20:12:46 snappi_api.info L1419 INFO | Ports configuration 0.057s
20:12:46 snappi_api.info L1419 INFO | Captures configuration 0.032s
20:12:54 snappi_api.info L1419 INFO | Location hosts ready [10.36.78.53] 2.059s
20:12:54 snappi_api.info L1419 INFO | Speed conversion is not require for (port.name, speed) : [('Test_Port_1', 'novusHundredGigNonFanOut'), ('Test_Port_2', 'novusHundredGigNonFanOut'), ('Test_Port_3', 'novusHundredGigNonFanOut')]
20:12:54 snappi_api.info L1419 INFO | Aggregation mode speed change 0.345s
20:12:54 snappi_api.info L1419 INFO | Location configuration 8.625s
20:12:55 snappi_api.info L1419 INFO | Layer1 configuration 0.886s
20:12:56 snappi_api.info L1419 INFO | Lag Configuration 1.167s
20:12:57 snappi_api.info L1419 INFO | Lag Ethernet Configuration 0.216s
20:12:58 snappi_api.info L1419 INFO | Lag Protocol Configuration 0.998s
20:12:58 snappi_api.info L1419 INFO | Convert device config : 0.127s
20:12:58 snappi_api.info L1419 INFO | Create IxNetwork device config : 0.001s
20:12:59 snappi_api.info L1419 INFO | Push IxNetwork device config : 0.987s
20:12:59 snappi_api.info L1419 INFO | Devices configuration 1.125s
20:12:59 snappi_api.info L1419 INFO | Flows configuration 0.668s
20:13:00 snappi_api.info L1419 INFO | Start interfaces 0.508s
20:13:00 snappi_api.info L1419 INFO | IxNet - One or more destination MACs or VPNs are invalid or unreachable and the packets configured to be sent to them were not created
20:13:00 snappi_api.info L1419 INFO | IxNet - The Traffic Item was modified. Please perform a Traffic Generate to update the associated traffic Flow Groups
20:13:00 bgp_convergence_helper.get_convergence_f L0463 INFO | Starting all protocols ...
20:13:17 utilities.wait L0118 INFO | Pause 30 seconds, reason: For Protocols To start
20:13:47 bgp_convergence_helper.get_avg_dpdp_conv L0476 INFO | |---- Test_Port_2 Link Flap Iteration : 1 ----|
20:13:47 bgp_convergence_helper.get_avg_dpdp_conv L0480 INFO | Starting Traffic
20:13:50 snappi_api.info L1419 INFO | Flows generate/apply 2.614s
20:14:03 snappi_api.info L1419 INFO | Flows clear statistics 13.688s
20:14:03 snappi_api.info L1419 INFO | Captures start 0.000s
20:14:06 snappi_api.info L1419 INFO | Flows start 2.572s
20:14:06 snappi_api.info L1419 INFO | IxNet - If ports in a lag are down, please enable Transmit Ignore Link Status port property in order to successfully start traffic or clear statistics.
20:14:06 snappi_api.info L1419 INFO | IxNet - The Rate Monitoring Jitter Window Size was decreased to support the incoming frame rate
20:14:06 utilities.wait L0118 INFO | Pause 30 seconds, reason: For Traffic To start
20:14:36 bgp_convergence_helper.get_avg_dpdp_conv L0489 INFO | Simulating Link Failure on Test_Port_2 link
20:14:36 snappi_api.info L1419 INFO | Link State operation 0.009s
20:14:36 utilities.wait L0118 INFO | Pause 30 seconds, reason: For Link to go down
20:15:07 bgp_convergence_helper.get_avg_dpdp_conv L0503 INFO | Traffic has converged after link flap
20:15:29 bgp_convergence_helper.get_avg_dpdp_conv L0509 INFO | CP/DP Convergence Time (ms): 59.654
20:15:29 bgp_convergence_helper.get_avg_dpdp_conv L0515 INFO | Simulating Link Up on Test_Port_2 at the end of iteration 1
20:15:29 snappi_api.info L1419 INFO | Link State operation 0.009s
20:15:29 bgp_convergence_helper.get_avg_dpdp_conv L0522 INFO | Stopping Traffic
20:15:34 snappi_api.info L1419 INFO | Flows stop 5.351s
20:15:34 utilities.wait L0118 INFO | Pause 20 seconds, reason: For Traffic To Stop
20:15:54 bgp_convergence_helper.get_avg_dpdp_conv L0476 INFO | |---- Test_Port_3 Link Flap Iteration : 1 ----|
20:15:54 bgp_convergence_helper.get_avg_dpdp_conv L0480 INFO | Starting Traffic
20:16:04 snappi_api.info L1419 INFO | Flows clear statistics 9.147s
20:16:04 snappi_api.info L1419 INFO | Captures start 0.000s
20:16:06 snappi_api.info L1419 INFO | Flows start 2.666s
20:16:06 utilities.wait L0118 INFO | Pause 30 seconds, reason: For Traffic To start
20:16:37 bgp_convergence_helper.get_avg_dpdp_conv L0489 INFO | Simulating Link Failure on Test_Port_3 link
20:16:37 snappi_api.info L1419 INFO | Link State operation 0.009s
20:16:37 utilities.wait L0118 INFO | Pause 30 seconds, reason: For Link to go down
20:17:07 bgp_convergence_helper.get_avg_dpdp_conv L0503 INFO | Traffic has converged after link flap
20:17:15 bgp_convergence_helper.get_avg_dpdp_conv L0509 INFO | CP/DP Convergence Time (ms): 195.126
20:17:15 bgp_convergence_helper.get_avg_dpdp_conv L0515 INFO | Simulating Link Up on Test_Port_3 at the end of iteration 1
20:17:15 snappi_api.info L1419 INFO | Link State operation 0.010s
20:17:15 bgp_convergence_helper.get_avg_dpdp_conv L0522 INFO | Stopping Traffic
20:17:21 snappi_api.info L1419 INFO | Flows stop 5.809s
20:17:21 utilities.wait L0118 INFO | Pause 20 seconds, reason: For Traffic To Stop
20:17:41 bgp_convergence_helper.get_convergence_f L0540 INFO |
+--------------------------+--------------+-----------------+--------------+----------------+---------------------------------------------+
| Event Name | Route Type | No. of Routes | Iterations | Delta Frames | Avg Calculated Data Convergence Time (ms) |
|--------------------------+--------------+-----------------+--------------+----------------+---------------------------------------------|
| Test_Port_2 Link Failure | IPv4 | 1000 | 1 | 317218 | 59 |
| Test_Port_3 Link Failure | IPv4 | 1000 | 1 | 1131648 | 195 |
+--------------------------+--------------+-----------------+--------------+----------------+---------------------------------------------+
20:18:17 bgp_convergence_helper.cleanup_config L0984 INFO | Wait until all critical services are fully started
20:18:39 bgp_convergence_helper.cleanup_config L0987 INFO | Convergence Test Completed
PASSED

------------------------------------------------------------------------------------------------------------------------------------------------- live log call --------------------------------------------------------------------------------------------------------------------------------------------------
16:29:09 bgp_convergence_helper.duthost_bgp_confi L0222 INFO | Removing configured IP and IPv6 Address from Ethernet64
16:29:11 bgp_convergence_helper.duthost_bgp_confi L0222 INFO | Removing configured IP and IPv6 Address from Ethernet68
16:29:12 bgp_convergence_helper.duthost_bgp_confi L0222 INFO | Removing configured IP and IPv6 Address from Ethernet72
16:29:14 bgp_convergence_helper.duthost_bgp_confi L0235 INFO | Configuring Ethernet64 to PortChannel1 with IPs 20.1.1.0,2000:1::1
16:29:16 bgp_convergence_helper.duthost_bgp_confi L0235 INFO | Configuring Ethernet68 to PortChannel2 with IPs 20.1.1.2,2000:2::1
16:29:19 bgp_convergence_helper.duthost_bgp_confi L0235 INFO | Configuring Ethernet72 to PortChannel3 with IPs 20.1.1.4,2000:3::1
16:29:21 bgp_convergence_helper.duthost_bgp_confi L0262 INFO | Configuring BGP v4 Neighbor 20.1.1.3
16:29:22 bgp_convergence_helper.duthost_bgp_confi L0262 INFO | Configuring BGP v4 Neighbor 20.1.1.5
16:29:22 connection._warn L0246 WARNING| Verification of certificates is disabled
16:29:22 connection._info L0243 INFO | Determining the platform and rest_port using the 10.36.77.53 address...
16:29:22 connection._warn L0246 WARNING| Unable to connect to http://10.36.77.53:11009.
16:29:22 connection._info L0243 INFO | Connection established to https://10.36.77.53:11009 on windows
16:29:22 connection._info L0243 INFO | Using IxNetwork api server version 10.20.2402.29
16:29:22 connection._info L0243 INFO | User info IxNetwork/WIN-11RK5TNKNAN/8010
16:29:23 snappi_api.info L1419 INFO | snappi-1.27.1
16:29:23 snappi_api.info L1419 INFO | snappi_ixnetwork-1.27.1
16:29:23 snappi_api.info L1419 INFO | ixnetwork_restpy-1.0.64
16:29:23 snappi_api.info L1419 INFO | Config validation 0.005s
16:29:24 snappi_api.info L1419 INFO | Ports configuration 0.895s
16:29:24 snappi_api.info L1419 INFO | Captures configuration 0.033s
16:29:26 snappi_api.info L1419 INFO | Add location hosts [10.36.78.53] 2.127s
16:29:30 snappi_api.info L1419 INFO | Location hosts ready [10.36.78.53] 4.077s
16:29:30 snappi_api.info L1419 INFO | Speed conversion is not require for (port.name, speed) : [('Test_Port_1', 'novusHundredGigNonFanOut'), ('Test_Port_2', 'novusHundredGigNonFanOut'), ('Test_Port_3', 'novusHundredGigNonFanOut')]
16:29:30 snappi_api.info L1419 INFO | Aggregation mode speed change 0.283s
16:29:36 snappi_api.info L1419 INFO | Location preemption [10.36.78.53;4;5, 10.36.78.53;4;6, 10.36.78.53;4;7] 0.030s
16:29:59 snappi_api.info L1419 INFO | Location connect [Test_Port_1, Test_Port_2, Test_Port_3] 23.081s
16:29:59 snappi_api.warning L1425 WARNING| Test_Port_1 connectedLinkDown
16:29:59 snappi_api.warning L1425 WARNING| Test_Port_2 connectedLinkDown
16:29:59 snappi_api.warning L1425 WARNING| Test_Port_3 connectedLinkDown
16:29:59 snappi_api.info L1419 INFO | Location state check [Test_Port_1, Test_Port_2, Test_Port_3] 0.044s
16:29:59 snappi_api.info L1419 INFO | Location configuration 35.924s
16:30:01 snappi_api.info L1419 INFO | Layer1 configuration 1.439s
16:30:02 snappi_api.info L1419 INFO | Lag Configuration 1.168s
16:30:02 snappi_api.info L1419 INFO | Lag Ethernet Configuration 0.247s
16:30:03 snappi_api.info L1419 INFO | Lag Protocol Configuration 0.889s
16:30:03 snappi_api.info L1419 INFO | Convert device config : 0.125s
16:30:03 snappi_api.info L1419 INFO | Create IxNetwork device config : 0.000s
16:30:04 snappi_api.info L1419 INFO | Push IxNetwork device config : 0.981s
16:30:04 snappi_api.info L1419 INFO | Devices configuration 1.115s
16:30:06 snappi_api.info L1419 INFO | Flows configuration 1.193s
16:30:06 snappi_api.info L1419 INFO | Start interfaces 0.717s
16:30:07 snappi_api.info L1419 INFO | IxNet - One or more destination MACs or VPNs are invalid or unreachable and the packets configured to be sent to them were not created
16:30:07 snappi_api.info L1419 INFO | IxNet - The Traffic Item was modified. Please perform a Traffic Generate to update the associated traffic Flow Groups
16:30:07 bgp_convergence_helper.get_rib_in_conver L0667 INFO | |---- RIB-IN Convergence test, Iteration : 1 ----|
16:30:07 bgp_convergence_helper.get_rib_in_conver L0670 INFO | Withdraw All Routes before starting traffic
16:30:07 snappi_api.info L1419 INFO | Setting route state 0.088s
16:30:07 utilities.wait L0118 INFO | Pause 5 seconds, reason: For Routes to be withdrawn
16:30:12 bgp_convergence_helper.get_rib_in_conver L0677 INFO | Starting all protocols ...
16:30:43 utilities.wait L0118 INFO | Pause 30 seconds, reason: For Protocols To start
16:31:13 bgp_convergence_helper.get_rib_in_conver L0683 INFO | Starting Traffic
16:31:16 snappi_api.info L1419 INFO | Flows generate/apply 2.965s
16:31:31 snappi_api.info L1419 INFO | Flows clear statistics 15.604s
16:31:31 snappi_api.info L1419 INFO | Captures start 0.000s
16:31:34 snappi_api.info L1419 INFO | Flows start 2.951s
16:31:34 snappi_api.info L1419 INFO | IxNet - If ports in a lag are down, please enable Transmit Ignore Link Status port property in order to successfully start traffic or clear statistics.
16:31:34 snappi_api.info L1419 INFO | IxNet - The Rate Monitoring Jitter Window Size was decreased to support the incoming frame rate
16:31:34 utilities.wait L0118 INFO | Pause 30 seconds, reason: For Traffic To start
16:32:05 bgp_convergence_helper.get_rib_in_conver L0695 INFO | Advertising all Routes from ['Network_Group2', 'Network_Group3']
16:32:06 snappi_api.info L1419 INFO | Setting route state 0.754s
16:32:06 utilities.wait L0118 INFO | Pause 30 seconds, reason: For all routes to be ADVERTISED
16:34:16 bgp_convergence_helper.get_rib_in_conver L0706 INFO | Traffic has converged after route advertisement
16:34:22 bgp_convergence_helper.get_rib_in_conver L0706 INFO | RIB-IN Convergence time (ms): 33358.574
16:34:22 bgp_convergence_helper.get_rib_in_conver L0706 INFO | Stopping Traffic at the end of iteration1
16:34:28 snappi_api.info L1419 INFO | Flows stop 5.410s
16:34:28 utilities.wait L0118 INFO | Pause 10 seconds, reason: For Traffic To stop
16:34:38 bgp_convergence_helper.get_rib_in_conver L0706 INFO | Stopping all protocols ...
16:34:38 utilities.wait L0118 INFO | Pause 10 seconds, reason: For Protocols To STOP
16:34:48 bgp_convergence_helper.get_rib_in_conver L0706 INFO |
+--------------------------+--------------+-----------------+--------------+----------------+-----------------------------------+
| Event Name | Route Type | No. of Routes | Iterations | Frames Delta | Avg RIB-IN Convergence Time(ms) |
|--------------------------+--------------+-----------------+--------------+----------------+-----------------------------------|
| Advertise All BGP Routes | IPv4 | 1000 | 1 | 403386845 | 33358 |
+--------------------------+--------------+-----------------+--------------+----------------+-----------------------------------+
16:35:23 bgp_convergence_helper.cleanup_config L0988 INFO | Wait until all critical services are fully started
16:35:45 bgp_convergence_helper.cleanup_config L0991 INFO | Convergence Test Completed
PASSED

------------------------------------------------------------------------------------------------ live log call -------------------------------------------------------------------------------------------------
20:20:30 bgp_convergence_helper.duthost_bgp_confi L0222 INFO | Removing configured IP and IPv6 Address from Ethernet64
20:20:31 bgp_convergence_helper.duthost_bgp_confi L0222 INFO | Removing configured IP and IPv6 Address from Ethernet68
20:20:33 bgp_convergence_helper.duthost_bgp_confi L0222 INFO | Removing configured IP and IPv6 Address from Ethernet72
20:20:35 bgp_convergence_helper.duthost_bgp_confi L0235 INFO | Configuring Ethernet64 to PortChannel1 with IPs 20.1.1.0,2000:1::1
20:20:37 bgp_convergence_helper.duthost_bgp_confi L0235 INFO | Configuring Ethernet68 to PortChannel2 with IPs 20.1.1.2,2000:2::1
20:20:39 bgp_convergence_helper.duthost_bgp_confi L0235 INFO | Configuring Ethernet72 to PortChannel3 with IPs 20.1.1.4,2000:3::1
20:20:42 bgp_convergence_helper.duthost_bgp_confi L0262 INFO | Configuring BGP v4 Neighbor 20.1.1.3
20:20:43 bgp_convergence_helper.duthost_bgp_confi L0262 INFO | Configuring BGP v4 Neighbor 20.1.1.5
20:20:43 connection._warn L0246 WARNING| Verification of certificates is disabled
20:20:43 connection._info L0243 INFO | Determining the platform and rest_port using the 10.36.77.53 address...
20:20:43 connection._warn L0246 WARNING| Unable to connect to http://10.36.77.53:11009.
20:20:43 connection._info L0243 INFO | Connection established to https://10.36.77.53:11009 on windows
20:20:44 connection._info L0243 INFO | Using IxNetwork api server version 10.20.2402.29
20:20:44 connection._info L0243 INFO | User info IxNetwork/WIN-11RK5TNKNAN/8010
20:20:44 snappi_api.info L1419 INFO | snappi-1.27.1
20:20:44 snappi_api.info L1419 INFO | snappi_ixnetwork-1.27.1
20:20:44 snappi_api.info L1419 INFO | ixnetwork_restpy-1.0.64
20:20:44 snappi_api.info L1419 INFO | Config validation 0.005s
20:20:44 snappi_api.info L1419 INFO | Ports configuration 0.066s
20:20:44 snappi_api.info L1419 INFO | Captures configuration 0.031s
20:20:53 snappi_api.info L1419 INFO | Location hosts ready [10.36.78.53] 2.058s
20:20:53 snappi_api.info L1419 INFO | Speed conversion is not require for (port.name, speed) : [('Test_Port_1', 'novusHundredGigNonFanOut'), ('Test_Port_2', 'novusHundredGigNonFanOut'), ('Test_Port_3', 'novusHundredGigNonFanOut')]
20:20:53 snappi_api.info L1419 INFO | Aggregation mode speed change 0.349s
20:20:53 snappi_api.info L1419 INFO | Location configuration 8.623s
20:20:53 snappi_api.info L1419 INFO | Layer1 configuration 0.056s
20:20:55 snappi_api.info L1419 INFO | Lag Configuration 1.558s
20:20:55 snappi_api.info L1419 INFO | Lag Ethernet Configuration 0.220s
20:20:56 snappi_api.info L1419 INFO | Lag Protocol Configuration 0.924s
20:20:56 snappi_api.info L1419 INFO | Convert device config : 0.129s
20:20:56 snappi_api.info L1419 INFO | Create IxNetwork device config : 0.001s
20:20:57 snappi_api.info L1419 INFO | Push IxNetwork device config : 1.051s
20:20:57 snappi_api.info L1419 INFO | Devices configuration 1.191s
20:20:58 snappi_api.info L1419 INFO | Flows configuration 0.615s
20:20:58 snappi_api.info L1419 INFO | Start interfaces 0.515s
20:20:58 snappi_api.info L1419 INFO | IxNet - One or more destination MACs or VPNs are invalid or unreachable and the packets configured to be sent to them were not created
20:20:58 snappi_api.info L1419 INFO | IxNet - The Traffic Item was modified. Please perform a Traffic Generate to update the associated traffic Flow Groups
20:20:58 bgp_convergence_helper.get_avg_cpdp_conv L0572 INFO | Starting all protocols ...
20:21:15 utilities.wait L0118 INFO | Pause 30 seconds, reason: For Protocols To start
20:21:45 bgp_convergence_helper.get_avg_cpdp_conv L0578 INFO | |---- Network_Group2 Route Withdraw Iteration : 1 ----|
20:21:45 bgp_convergence_helper.get_avg_cpdp_conv L0581 INFO | Starting Traffic
20:21:51 snappi_api.info L1419 INFO | Flows generate/apply 6.339s
20:22:05 snappi_api.info L1419 INFO | Flows clear statistics 13.952s
20:22:05 snappi_api.info L1419 INFO | Captures start 0.000s
20:22:08 snappi_api.info L1419 INFO | Flows start 2.511s
20:22:08 snappi_api.info L1419 INFO | IxNet - If ports in a lag are down, please enable Transmit Ignore Link Status port property in order to successfully start traffic or clear statistics.
20:22:08 snappi_api.info L1419 INFO | IxNet - The Rate Monitoring Jitter Window Size was decreased to support the incoming frame rate
20:22:08 utilities.wait L0118 INFO | Pause 30 seconds, reason: For Traffic To start
20:22:38 bgp_convergence_helper.get_avg_cpdp_conv L0591 INFO | Withdrawing Routes from Network_Group2
20:22:39 snappi_api.info L1419 INFO | Setting route state 0.742s
20:22:39 utilities.wait L0118 INFO | Pause 30 seconds, reason: For routes to be withdrawn
20:23:09 bgp_convergence_helper.get_avg_cpdp_conv L0604 INFO | Traffic has converged after route withdraw
20:23:15 bgp_convergence_helper.get_avg_cpdp_conv L0611 INFO | CP/DP Convergence Time (ms): 533.218
20:23:16 snappi_api.info L1419 INFO | Setting route state 0.632s
20:23:16 bgp_convergence_helper.get_avg_cpdp_conv L0621 INFO | Readvertise Network_Group2 routes back at the end of iteration 1
20:23:16 bgp_convergence_helper.get_avg_cpdp_conv L0623 INFO | Stopping Traffic
20:23:21 snappi_api.info L1419 INFO | Flows stop 5.371s
20:23:21 utilities.wait L0118 INFO | Pause 30 seconds, reason: For Traffic To Stop
20:23:51 bgp_convergence_helper.get_avg_cpdp_conv L0572 INFO | Starting all protocols ...
20:23:51 utilities.wait L0118 INFO | Pause 30 seconds, reason: For Protocols To start
20:24:21 bgp_convergence_helper.get_avg_cpdp_conv L0578 INFO | |---- Network_Group3 Route Withdraw Iteration : 1 ----|
20:24:21 bgp_convergence_helper.get_avg_cpdp_conv L0581 INFO | Starting Traffic
20:24:33 snappi_api.info L1419 INFO | Flows clear statistics 11.493s
20:24:33 snappi_api.info L1419 INFO | Captures start 0.000s
20:24:36 snappi_api.info L1419 INFO | Flows start 2.552s
20:24:36 utilities.wait L0118 INFO | Pause 30 seconds, reason: For Traffic To start
20:25:06 bgp_convergence_helper.get_avg_cpdp_conv L0591 INFO | Withdrawing Routes from Network_Group3
20:25:06 snappi_api.info L1419 INFO | Setting route state 0.636s
20:25:07 utilities.wait L0118 INFO | Pause 30 seconds, reason: For routes to be withdrawn
20:25:37 bgp_convergence_helper.get_avg_cpdp_conv L0604 INFO | Traffic has converged after route withdraw
20:25:43 bgp_convergence_helper.get_avg_cpdp_conv L0611 INFO | CP/DP Convergence Time (ms): 547.448
20:25:44 snappi_api.info L1419 INFO | Setting route state 0.651s
20:25:44 bgp_convergence_helper.get_avg_cpdp_conv L0621 INFO | Readvertise Network_Group3 routes back at the end of iteration 1
20:25:44 bgp_convergence_helper.get_avg_cpdp_conv L0623 INFO | Stopping Traffic
20:25:49 snappi_api.info L1419 INFO | Flows stop 5.422s
20:25:49 utilities.wait L0118 INFO | Pause 30 seconds, reason: For Traffic To Stop
20:26:19 bgp_convergence_helper.get_convergence_f L0642 INFO |
+-------------------------------+--------------+-----------------+--------------+----------------+---------------------------------------------------+
| Event Name | Route Type | No. of Routes | Iterations | Frames Delta | Avg Control to Data Plane Convergence Time (ms) |
|-------------------------------+--------------+-----------------+--------------+----------------+---------------------------------------------------|
| Network_Group2 route withdraw | IPv4 | 1000 | 1 | 28 | 533 |
| Network_Group3 route withdraw | IPv4 | 1000 | 1 | 28 | 547 |
+-------------------------------+--------------+-----------------+--------------+----------------+---------------------------------------------------+
20:26:54 bgp_convergence_helper.cleanup_config L0984 INFO | Wait until all critical services are fully started
20:27:17 bgp_convergence_helper.cleanup_config L0987 INFO | Convergence Test Completed
PASSED
17:46:04 bgp_convergence_helper.get_RIB_IN_capaci L0974 INFO |
+----------------------+-------------------------+
| Test Name | Maximum no. of Routes |
|----------------------+-------------------------|
| RIB-IN Capacity Test | 125000 |
+----------------------+-------------------------+
17:46:39 bgp_convergence_helper.cleanup_config L0988 INFO | Wait until all critical services are fully started
17:47:01 bgp_convergence_helper.cleanup_config L0991 INFO | Convergence Test Completed
PASSED
+--------------+-----------------+-----------------------------------------------+
| Route Type | No. of Routes | Control to Data Plane Convergence Time (ms) |
|--------------+-----------------+-----------------------------------------------|
| IPv4 | 2000 | 1015 |
| IPv4 | 4000 | 1697 |
| IPv4 | 6000 | 2425 |
| IPv4 | 8000 | 3125 |
| IPv4 | 10000 | 3658 |
| IPv4 | 12000 | 4620 |
| IPv4 | 14000 | 5544 |
+--------------+-----------------+-----------------------------------------------+
18:32:43 bgp_test_gap_helper.cleanup_config L0715 INFO | Wait until all critical services are fully started
18:33:05 bgp_test_gap_helper.cleanup_config L0718 INFO | Convergence Test Completed
PASSED [100%]

co-authorized by: [email protected]

* [Snappi] Modifying Reboot cases to use snappi_api instead of cvg_api and modified BGP dut configuration (#14700)

Description of PR
Summary:Modifying Reboot cases to use snappi_api instead of cvg_api and modified BGP dut configuration
Fixes # (issue)

Approach
What is the motivation for this PR?
The BGP dut configuration was not wroking as expected , so the script has been updated with the fixes and
convergence api has been replaced with snappi_apis

How did you do it?
How did you verify/test it?
Any platform specific information?
Supported testbed topology if it's a new test case?
Documentation
Output
00:02:21 reboot_helper.get_convergence_for_reboot L0602 INFO | No Loss Observed in Traffic Item IPv4_1-IPv4_2
00:02:21 reboot_helper.get_convergence_for_reboot L0602 INFO | DP/DP Convergence Time (ms) of IPv4_1-IPv4_2 : 87935.713
00:02:23 reboot_helper.get_convergence_for_reboot L0602 INFO | No Loss Observed in Traffic Item IPv6_2-IPv6_1
00:02:23 reboot_helper.get_convergence_for_reboot L0602 INFO | DP/DP Convergence Time (ms) of IPv6_2-IPv6_1 : 0.0
00:02:24 reboot_helper.get_convergence_for_reboot L0602 INFO | No Loss Observed in Traffic Item IPv4_1-T1
00:02:24 reboot_helper.get_convergence_for_reboot L0602 INFO | DP/DP Convergence Time (ms) of IPv4_1-T1 : 373336.858
00:02:25 reboot_helper.get_convergence_for_reboot L0602 INFO | No Loss Observed in Traffic Item IPv6_2-T1
00:02:25 reboot_helper.get_convergence_for_reboot L0602 INFO | DP/DP Convergence Time (ms) of IPv6_2-T1 : 0.0
00:02:26 reboot_helper.get_convergence_for_reboot L0602 INFO | No Loss Observed in Traffic Item T1-IPv4_1
00:02:26 reboot_helper.get_convergence_for_reboot L0602 INFO | DP/DP Convergence Time (ms) of T1-IPv4_1 : 374742.255
00:02:28 reboot_helper.get_convergence_for_reboot L0602 INFO | No Loss Observed in Traffic Item T1-IPv6_2
00:02:28 reboot_helper.get_convergence_for_reboot L0602 INFO | DP/DP Convergence Time (ms) of T1-IPv6_2 : 0.0
00:02:28 reboot_helper.get_convergence_for_reboot L0602 INFO |
+---------------+-------------------------------+------------------------------------+-------------+
| Reboot Type | Traffic Item Name | Data Plane Convergence Time (ms) | Time (ms) |
|---------------+-------------------------------+------------------------------------+-------------|
| soft | Server IPv4_1 - Server IPv4_2 | 87935.7 | 0 |
| soft | Server IPv6_2 - Server IPv6_1 | 0 | 0 |
| soft | Server IPv4_1 - T1 | 373337 | 0 |
| soft | Server IPv6_2 - T1 | 0 | 0 |
| soft | T1 - Server IPv4_1 | 374742 | 0 |
| soft | T1 - Server IPv6_2 | 0 | 0 |
| soft | BGP Control Plane Up Time | 0 | 0 |
| soft | Loopback Up Time | 0 | 124931 |
+---------------+-------------------------------+------------------------------------+-------------+
PASSED [100%]
------------------------------------------------------------------------------------ live log teardown -------------------------------------------------------------------------------------
00:02:28 init.pytest_runtest_teardown L0049 INFO | collect memory after test test_reboot[soft]
00:02:30 init.pytest_runtest_teardown L0072 INFO | After test: collected memory_values {'before_test': {'sonic-s6100-dut1': {'monit': {'memory_usage': 27.4}}}, 'after_test': {'sonic-s6100-dut1': {'monit': {'memory_usage': 27.4}}}}
00:02:30 init._fixture_generator_decorator L0093 INFO | -------------------- fixture cvg_api teardown starts --------------------
00:02:30 init._fixture_generator_decorator L0102 INFO | -------------------- fixture cvg_api teardown ends --------------------
00:02:30 init._fixture_generator_decorator L0093 INFO | -------------------- fixture start_pfcwd_after_test teardown starts --------------------
00:02:31 init._fixture_generator_decorator L0102 INFO | -------------------- fixture start_pfcwd_after_test teardown ends --------------------
00:02:31 init._fixture_generator_decorator L0093 INFO | -------------------- fixture rand_lossy_prio teardown starts --------------------
00:02:31 init._fixture_generator_decorator L0102 INFO | -------------------- fixture rand_lossy_prio teardown ends --------------------
00:02:31 init._fixture_generator_decorator L0093 INFO | -------------------- fixture rand_lossless_prio teardown starts --------------------
00:02:31 init._fixture_generator_decorator L0102 INFO | -------------------- fixture rand_lossless_prio teardown ends --------------------
00:02:31 init._fixture_generator_decorator L0093 INFO | -------------------- fixture enable_packet_aging_after_test teardown starts --------------------
00:02:31 init._fixture_generator_decorator L0102 INFO | -------------------- fixture enable_packet_aging_after_test teardown ends --------------------
00:02:35 conftest.core_dump_and_config_check L2203 INFO | Dumping Disk and Memory Space informataion after test on sonic-s6100-dut1
00:02:39 conftest.core_dump_and_config_check L2207 INFO | Collecting core dumps after test on sonic-s6100-dut1
00:02:41 conftest.core_dump_and_config_check L2224 INFO | Collecting running config after test on sonic-s6100-dut1
00:02:43 conftest.core_dump_and_config_check L2352 WARNING| Core dump or config check failed for test_soft_reboot.py, results: {"core_dump_check": {"pass": true, "new_core_dumps": {"sonic-s6100-dut1": []}}, "config_db_check": {"pass": false, "pre_only_config": {"sonic-s6100-dut1": {"null": {}}}, "cur_only_config": {"sonic-s6100-dut1": {"null": {"PORTCHANNEL": {"PortChannel1": {"admin_status": "up", "lacp_key": "auto", "min_links": "1", "mtu": "9100"}}, "VLAN_MEMBER": {"Vlan1000|Ethernet12": {"tagging_mode": "untagged"}, "Vlan1000|Ethernet8": {"tagging_mode": "untagged"}}, "DEVICE_NEIGHBOR_METADATA": {"snappi-sonic": {"hwsku": "Snappi", "mgmt_addr": "172.16.149.206", "type": "ToRRouter"}}, "PORTCHANNEL_INTERFACE": {"PortChannel1": {}, "PortChannel1|20.1.2.1/24": {}, "PortChannel1|2000:1::5/64": {}}, "PORTCHANNEL_MEMBER": {"PortChannel1|Ethernet4": {}}}}}, "inconsistent_config": {"sonic-s6100-dut1": {"null": {"DEVICE_NEIGHBOR": {"pre_value": {"Ethernet0": {"name": "IXIA-Chassis1", "port": "Port0"}, "Ethernet12": {"name": "IXIA-Chassis1", "port": "Port3"}, "Ethernet4": {"name": "IXIA-Chassis1", "port": "Port1"}, "Ethernet8": {"name": "IXIA-Chassis1", "port": "Port2"}}, "cur_value": {"Ethernet0": {"name": "snappi-sonic", "port": "Ethernet1"}, "Ethernet12": {"name": "IXIA-Chassis1", "port": "Port3"}, "Ethernet4": {"name": "IXIA-Chassis1", "port": "Port1"}, "Ethernet8": {"name": "IXIA-Chassis1", "port": "Port2"}}}, "PFC_WD": {"pre_value": {"GLOBAL": {"POLL_INTERVAL": "200"}}, "cur_value": {"Ethernet0": {"action": "drop", "detection_time": "200", "restoration_time": "200"}, "Ethernet12": {"action": "drop", "detection_time": "200", "restoration_time": "200"}, "Ethernet4": {"action": "drop", "detection_time": "200", "restoration_time": "200"}, "Ethernet8": {"action": "drop", "detection_time": "200", "restoration_time": "200"}, "GLOBAL": {"POLL_INTERVAL": "200"}}}, "VLAN_INTERFACE": {"pre_value": {"Vlan2": {}, "Vlan2|192.168.1.1/24": {}}, "cur_value": {"Vlan1000": {}, "Vlan2": {}, "Vlan1000|192.168.1.1/16": {}, "Vlan1000|5001::1/64": {}, "Vlan2|192.168.1.1/24": {}}}, "VLAN": {"pre_value": {"Vlan2": {"members": ["Ethernet0", "Ethernet4", "Ethernet8", "Ethernet12"], "vlanid": "2"}}, "cur_value": {"Vlan1000": {"vlanid": "1000"}, "Vlan2": {"members": ["Ethernet0", "Ethernet4", "Ethernet8", "Ethernet12"], "vlanid": "2"}}}, "INTERFACE": {"pre_value": {"Ethernet0": {}, "Ethernet12": {}, "Ethernet4": {}, "Ethernet8": {}, "Ethernet0|20.1.1.1/24": {}, "Ethernet0|2000:1::1/124": {}, "Ethernet12|20.1.4.1/24": {}, "Ethernet12|2000:4::1/124": {}, "Ethernet4|20.1.2.1/24": {}, "Ethernet4|2000:2::1/124": {}, "Ethernet8|20.1.2.1/24": {}, "Ethernet8|20.1.3.1/24": {}, "Ethernet8|2000:3::1/124": {}}, "cur_value": {"Ethernet0": {}, "Ethernet0|20.1.1.1/24": {}, "Ethernet0|2000:1::1/126": {}}}, "BGP_NEIGHBOR": {"pre_value": {"21.1.1.2": {"asn": "65200", "holdtime": "180", "keepalive": "60", "local_addr": "21.1.1.1", "name": "ARISTA01T2", "nhopself": "0", "rrclient": "0"}, "22.1.1.2": {"asn": "65200", "holdtime": "180", "keepalive": "60", "local_addr": "22.1.1.1", "name": "ARISTA02T2", "nhopself": "0", "rrclient": "0"}, "23.1.1.2": {"asn": "65200", "holdtime": "180", "keepalive": "60", "local_addr": "23.1.1.1", "name": "ARISTA03T2", "nhopself": "0", "rrclient": "0"}, "24.1.1.2": {"asn": "65200", "holdtime": "180", "keepalive": "60", "local_addr": "24.1.1.1", "name": "ARISTA03T2", "nhopself": "0", "rrclient": "0"}}, "cur_value": {"20.1.2.2": {"asn": "65200", "holdtime": "180", "keepalive": "60", "local_addr": "20.1.2.1", "name": "snappi-sonic", "nhopself": "0", "rrclient": "0"}, "2000:1::6": {"asn": "65200", "holdtime": "180", "keepalive": "60", "local_addr": "2000:1::5", "name": "snappi-sonic", "nhopself": "0", "rrclient": "0"}, "21.1.1.2": {"asn": "65200", "holdtime": "180", "keepalive": "60", "local_addr": "21.1.1.1", "name": "ARISTA01T2", "nhopself": "0", "rrclient": "0"}, "22.1.1.2": {"asn": "65200", "holdtime": "180", "keepalive": "60", "local_addr": "22.1.1.1", "name": "ARISTA02T2", "nhopself": "0", "rrclient": "0"}, "23.1.1.2": {"asn": "65200", "holdtime": "180", "keepalive": "60", "local_addr": "23.1.1.1", "name": "ARISTA03T2", "nhopself": "0", "rrclient": "0"}, "24.1.1.2": {"asn": "65200", "holdtime": "180", "keepalive": "60", "local_addr": "24.1.1.1", "name": "ARISTA03T2", "nhopself": "0", "rrclient": "0"}}}}}}}}
00:02:43 conftest.__dut_reload L2091 INFO | dut reload called on sonic-s6100-dut1
00:02:47 parallel.on_terminate L0085 INFO | process __dut_reload-- terminated with exit code None
00:02:47 parallel.parallel_run L0221 INFO | Completed running processes for target "__dut_reload" in 0:00:04.629679 seconds
00:02:47 conftest.core_dump_and_config_check L2362 INFO | -----$$$$$$$$$$--------------- Executing config reload of config_db_bgp.json -------------$$$$$$$$$$$$$$

===================================================================================== warnings summary =====================================================================================
../../.local/lib/python3.8/site-packages/_pytest/config/init.py:755
/var/AzDevOps/.local/lib/python3.8/site-packages/_pytest/config/init.py:755: PytestAssertRewriteWarning: Module already imported so cannot be rewritten: tests.common.plugins.loganalyzer
self.import_plugin(import_spec)

../../.local/lib/python3.8/site-packages/_pytest/config/init.py:755
/var/AzDevOps/.local/lib/python3.8/site-packages/_pytest/config/init.py:755: PytestAssertRewriteWarning: Module already imported so cannot be rewritten: tests.common.plugins.sanity_check
self.import_plugin(import_spec)

../../.local/lib/python3.8/site-packages/_pytest/config/init.py:755
/var/AzDevOps/.local/lib/python3.8/site-packages/_pytest/config/init.py:755: PytestAssertRewriteWarning: Module already imported so cannot be rewritten: tests.common.plugins.test_completeness
self.import_plugin(import_spec)

../../.local/lib/python3.8/site-packages/_pytest/config/init.py:755
/var/AzDevOps/.local/lib/python3.8/site-packages/_pytest/config/init.py:755: PytestAssertRewriteWarning: Module already imported so cannot be rewritten: tests.common.dualtor
self.import_plugin(import_spec)

../../../../usr/local/lib/python3.8/dist-packages/paramiko/transport.py:236
/usr/local/lib/python3.8/dist-packages/paramiko/transport.py:236: CryptographyDeprecationWarning: Blowfish has been deprecated
"class": algorithms.Blowfish,

snappi_tests/reboot/test_soft_reboot.py::test_reboot[soft]
snappi_tests/reboot/test_soft_reboot.py::test_reboot[soft]
snappi_tests/reboot/test_soft_reboot.py::test_reboot[soft]
snappi_tests/reboot/test_soft_reboot.py::test_reboot[soft]
snappi_tests/reboot/test_soft_reboot.py::test_reboot[soft]
snappi_tests/reboot/test_soft_reboot.py::test_reboot[soft]
/usr/local/lib/python3.8/dist-packages/pytest_ansible/module_dispatcher/v213.py:100: UserWarning: provided hosts list is empty, only localhost is available
warnings.warn("provided hosts list is empty, only localhost is available")

snappi_tests/reboot/test_soft_reboot.py::test_reboot[soft]
/var/AzDevOps/.local/lib/python3.8/site-packages/snappi_ixnetwork/device/utils.py:2: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.10 it will stop working
from collections import namedtuple, Mapping

snappi_tests/reboot/test_soft_reboot.py::test_reboot[soft]
snappi_tests/reboot/test_soft_reboot.py::test_reboot[soft]
/usr/local/lib/python3.8/dist-packages/ixnetwork_restpy/testplatform/sessions/sessions.py:59: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
elif LooseVersion(build_number) < LooseVersion('8.52'):

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
---------------------------------------------------------------------------------- live log sessionfinish ----------------------------------------------------------------------------------
00:04:17 init.pytest_terminal_summary L0067 INFO | Can not get Allure report URL. Please check logs
======================================================================== 1 passed, 14 warnings in 842.98s (0:14:02) =========================

co-authorized by: [email protected]

* [Snappi] Modifying LACP cases to use snappi_api instead of cvg_api (#18046)

[Snappi] Modifying LACP cases to use snappi_api instead of cvg_api

20:50:47 lacp_dut_helper.cleanup_config L0379 INFO | Cleaning up config
20:51:44 lacp_dut_helper.cleanup_config L0385 INFO | Convergence Test Completed
PASSED [100%]

co-authorized by: [email protected]
@Javier-Tan Javier-Tan merged commit 328df23 into Azure:202503 May 16, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants