[Snappi] Modifying LACP cases to use snappi_api instead of cvg_api#18046
Merged
yejianquan merged 3 commits intosonic-net:masterfrom Apr 30, 2025
Merged
[Snappi] Modifying LACP cases to use snappi_api instead of cvg_api#18046yejianquan merged 3 commits intosonic-net:masterfrom
yejianquan merged 3 commits intosonic-net:masterfrom
Conversation
Collaborator
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Collaborator
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Collaborator
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
10 tasks
sdszhang
approved these changes
Apr 29, 2025
Contributor
sdszhang
left a comment
There was a problem hiding this comment.
lgtm, @developfast for viz.
mssonicbld
pushed a commit
to mssonicbld/sonic-mgmt
that referenced
this pull request
May 14, 2025
…onic-net#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: jianquanye@microsoft.com
Collaborator
|
Cherry-pick PR to 202411: #18400 |
Closed
11 tasks
selldinesh
added a commit
to selldinesh/sonic-mgmt
that referenced
this pull request
May 15, 2025
…onic-net#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: jianquanye@microsoft.com
11 tasks
yejianquan
pushed a commit
that referenced
this pull request
May 15, 2025
…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: jianquanye@microsoft.com * [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: jianquanye@microsoft.com * [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: jianquanye@microsoft.com
opcoder0
pushed a commit
to opcoder0/sonic-mgmt
that referenced
this pull request
Dec 8, 2025
…onic-net#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: jianquanye@microsoft.com Signed-off-by: opcoder0 <110003254+opcoder0@users.noreply.github.com>
AharonMalkin
pushed a commit
to AharonMalkin/sonic-mgmt
that referenced
this pull request
Dec 16, 2025
…onic-net#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: jianquanye@microsoft.com Signed-off-by: Aharon Malkin <amalkin@nvidia.com>
gshemesh2
pushed a commit
to gshemesh2/sonic-mgmt
that referenced
this pull request
Dec 21, 2025
…onic-net#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: jianquanye@microsoft.com Signed-off-by: Guy Shemesh <gshemesh@nvidia.com>
gshemesh2
pushed a commit
to gshemesh2/sonic-mgmt
that referenced
this pull request
Jan 26, 2026
…onic-net#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: jianquanye@microsoft.com Signed-off-by: Guy Shemesh <gshemesh@nvidia.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description of PR
Summary:
Fixes # (issue)
Type of change
Back port request
Approach
What is the motivation for this PR?
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
snappi_tests/lacp/test_add_remove_link_from_dut.py::test_lacp_add_remove_link_from_dut[1-1000-4]
--------------------------------------------------------------------------------------------------------------------------------------------- live log setup ----------------------------------------------------------------------------------------------------------------------------------------------
20:40:27 init.set_default L0053 INFO | Completeness level not set during test execution. Setting to default level: CompletenessLevel.basic
20:40:27 init.check_test_completeness L0151 INFO | Test has no defined levels. Continue without test completeness checks
20:40:27 conftest.enhance_inventory L0286 INFO | Inventory file: ['../ansible/snappi-sonic']
20:40:29 ptfhost_utils.run_icmp_responder_session L0310 INFO | Skip running icmp_responder at session level, it is only for dualtor testbed with active-active mux ports.
20:40:29 init._sanity_check L0428 INFO | Skip sanity check according to command line argument
20:40:29 conftest.collect_before_test L2477 INFO | Dumping Disk and Memory Space information before test on sonic-s6100-dut1
20:40:30 conftest.collect_before_test L2481 INFO | Collecting core dumps before test on sonic-s6100-dut1
20:40:30 conftest.collect_before_test L2490 INFO | Collecting running config before test on sonic-s6100-dut1
20:40:32 conftest.temporarily_disable_route_check L2756 INFO | Skipping temporarily_disable_route_check fixture
20:40:32 conftest.generate_params_dut_hostname L1415 INFO | Using DUTs ['sonic-s6100-dut1'] in testbed 'vms-snappi-sonic'
20:40:32 conftest.set_rand_one_dut_hostname L0581 INFO | Randomly select dut sonic-s6100-dut1 for testing
20:40:32 init._fixture_generator_decorator L0081 INFO | -------------------- fixture enable_packet_aging_after_test setup starts --------------------
20:40:32 init._fixture_generator_decorator L0085 INFO | -------------------- fixture enable_packet_aging_after_test setup ends --------------------
20:40:32 init._fixture_generator_decorator L0081 INFO | -------------------- fixture rand_lossless_prio setup starts --------------------
20:40:32 init._fixture_generator_decorator L0085 INFO | -------------------- fixture rand_lossless_prio setup ends --------------------
20:40:32 init._fixture_generator_decorator L0081 INFO | -------------------- fixture rand_lossy_prio setup starts --------------------
20:40:32 init._fixture_generator_decorator L0085 INFO | -------------------- fixture rand_lossy_prio setup ends --------------------
20:40:32 init._fixture_generator_decorator L0081 INFO | -------------------- fixture start_pfcwd_after_test setup starts --------------------
20:40:32 init._fixture_generator_decorator L0085 INFO | -------------------- fixture start_pfcwd_after_test setup ends --------------------
20:40:32 init._fixture_func_decorator L0069 INFO | -------------------- fixture snappi_api_serv_ip setup starts --------------------
20:40:32 init._fixture_func_decorator L0076 INFO | -------------------- fixture snappi_api_serv_ip setup ends --------------------
20:40:32 init._fixture_func_decorator L0069 INFO | -------------------- fixture snappi_api_serv_port setup starts --------------------
20:40:32 init._fixture_func_decorator L0076 INFO | -------------------- fixture snappi_api_serv_port setup ends --------------------
20:40:32 init._fixture_generator_decorator L0081 INFO | -------------------- fixture snappi_api setup starts --------------------
20:40:32 init._fixture_generator_decorator L0085 INFO | -------------------- fixture snappi_api setup ends --------------------
20:40:32 conftest.rand_one_dut_front_end_hostname L0617 INFO | Randomly select dut sonic-s6100-dut1 for testing
20:40:33 init._fixture_func_decorator L0069 INFO | -------------------- fixture tgen_ports setup starts --------------------
20:40:33 init._fixture_func_decorator L0076 INFO | -------------------- fixture tgen_ports setup ends --------------------
20:40:33 init.loganalyzer L0074 INFO | Log analyzer is disabled
20:40:33 init.memory_utilization L0108 INFO | Hostname: sonic-s6100-dut1, Hwsku: Accton-AS7726-32X, Platform: x86_64-accton_as7726_32x-r0
20:40:33 init.store_fixture_values L0020 INFO | store memory_utilization test_lacp_add_remove_link_from_dut[1-1000-4]
20:40:33 init._fixture_generator_decorator L0081 INFO | -------------------- fixture ignore_route_check_for_cisco_8000 setup starts --------------------
20:40:33 init._fixture_generator_decorator L0085 INFO | -------------------- fixture ignore_route_check_for_cisco_8000 setup ends --------------------
20:40:33 init.pytest_runtest_setup L0034 INFO | collect memory before test test_lacp_add_remove_link_from_dut[1-1000-4]
20:40:34 init.pytest_runtest_setup L0054 INFO | Before test: collected memory_values {'before_test': {'sonic-s6100-dut1': {'monit': {'memory_usage': 22.5}}}, 'after_test': {'sonic-s6100-dut1': {}}}
---------------------------------------------------------------------------------------------------------------------------------------------- live log call ----------------------------------------------------------------------------------------------------------------------------------------------
20:40:35 lacp_dut_helper.duthost_bgp_config L0081 INFO | Removing configured IP and IPv6 Address from Ethernet64
20:40:37 lacp_dut_helper.duthost_bgp_config L0081 INFO | Removing configured IP and IPv6 Address from Ethernet68
20:40:39 lacp_dut_helper.duthost_bgp_config L0081 INFO | Removing configured IP and IPv6 Address from Ethernet72
20:40:40 lacp_dut_helper.duthost_bgp_config L0081 INFO | Removing configured IP and IPv6 Address from Ethernet76
20:40:42 lacp_dut_helper.duthost_bgp_config L0093 INFO | Configuring Ethernet64 to PortChannel1 with IPs 20.1.1.0,2000:1::1
20:40:45 lacp_dut_helper.duthost_bgp_config L0102 INFO | Configuring Ethernet68 to PortChannel2
20:40:46 lacp_dut_helper.duthost_bgp_config L0102 INFO | Configuring Ethernet72 to PortChannel2
20:40:47 lacp_dut_helper.duthost_bgp_config L0102 INFO | Configuring Ethernet76 to PortChannel2
20:40:49 lacp_dut_helper.duthost_bgp_config L0125 INFO | Configuring BGP v4 and v6 Neighbor 20.1.1.7, 2000:4::a
20:40:50 connection._warn L0246 WARNING| Verification of certificates is disabled
20:40:50 connection._info L0243 INFO | Determining the platform and rest_port using the 10.36.77.53 address...
20:40:50 connection._warn L0246 WARNING| Unable to connect to http://10.36.77.53:11009.
20:40:50 connection._info L0243 INFO | Connection established to
https://10.36.77.53:11009 on windows20:40:50 connection._info L0243 INFO | Using IxNetwork api server version 10.20.2402.29
20:40:50 connection._info L0243 INFO | User info IxNetwork/WIN-11RK5TNKNAN/8010
20:40:50 snappi_api.info L1419 INFO | snappi-1.27.1
20:40:50 snappi_api.info L1419 INFO | snappi_ixnetwork-1.27.1
20:40:50 snappi_api.info L1419 INFO | ixnetwork_restpy-1.0.64
20:40:50 snappi_api.info L1419 INFO | Config validation 0.007s
20:40:57 snappi_api.info L1419 INFO | Ports configuration 6.217s
20:40:57 snappi_api.info L1419 INFO | Captures configuration 0.033s
20:41:07 snappi_api.info L1419 INFO | Location hosts ready [10.36.78.53] 2.056s
20:41:07 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'), ('Test_Port_4', 'novusHundredGigNonFanOut')]
20:41:07 snappi_api.info L1419 INFO | Aggregation mode speed change 0.294s
20:41:16 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, 10.36.78.53;4;8] 0.531s
20:41:40 snappi_api.info L1419 INFO | Location connect [Test_Port_1, Test_Port_2, Test_Port_3, Test_Port_4] 24.086s
20:41:40 snappi_api.warning L1425 WARNING| Test_Port_1 connectedLinkDown
20:41:40 snappi_api.warning L1425 WARNING| Test_Port_2 connectedLinkDown
20:41:40 snappi_api.warning L1425 WARNING| Test_Port_3 connectedLinkDown
20:41:40 snappi_api.warning L1425 WARNING| Test_Port_4 connectedLinkDown
20:41:40 snappi_api.info L1419 INFO | Location state check [Test_Port_1, Test_Port_2, Test_Port_3, Test_Port_4] 0.047s
20:41:40 snappi_api.info L1419 INFO | Location configuration 43.550s
20:41:42 snappi_api.info L1419 INFO | Layer1 configuration 1.591s
20:41:42 snappi_api.info L1419 INFO | Lag Configuration 0.665s
20:41:43 snappi_api.info L1419 INFO | Lag Ethernet Configuration 0.185s
20:41:43 snappi_api.info L1419 INFO | Lag Protocol Configuration 0.581s
20:41:44 snappi_api.info L1419 INFO | Convert device config : 0.309s
20:41:44 snappi_api.info L1419 INFO | Create IxNetwork device config : 0.000s
20:41:45 snappi_api.info L1419 INFO | Push IxNetwork device config : 1.057s
20:41:45 snappi_api.info L1419 INFO | Devices configuration 1.375s
20:41:48 snappi_api.info L1419 INFO | Flows configuration 3.313s
20:41:48 snappi_api.info L1419 INFO | Start interfaces 0.497s
20:41:49 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:41:49 snappi_api.info L1419 INFO | IxNet - The Traffic Item was modified. Please perform a Traffic Generate to update the associated traffic Flow Groups
20:43:46 utilities.wait L0118 INFO | Pause 30 seconds, reason: For Protocols To start
20:44:16 lacp_dut_helper.get_avg_cpdp_convergence L0322 INFO | |---- Ethernet68 Link Flap Iteration : 1 ----|
20:44:16 lacp_dut_helper.get_avg_cpdp_convergence L0325 INFO | Starting Traffic
20:44:19 snappi_api.info L1419 INFO | Flows generate/apply 3.278s
20:44:32 snappi_api.info L1419 INFO | Flows clear statistics 12.731s
20:44:32 snappi_api.info L1419 INFO | Captures start 0.000s
20:44:35 snappi_api.info L1419 INFO | Flows start 2.893s
20:44:35 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:44:35 utilities.wait L0118 INFO | Pause 30 seconds, reason: For Traffic To start
20:45:05 lacp_dut_helper.get_avg_cpdp_convergence L0333 INFO | Traffic has started
20:45:05 lacp_dut_helper.get_avg_cpdp_convergence L0334 INFO | Port Stats before Ethernet68 failover
20:45:06 lacp_dut_helper.print_port_stats L0283 INFO |
+------------+-------------+------------------+------------------+
| Dut Port | Tgen Port | Tx. Frame Rate | Rx. Frame Rate |
|------------+-------------+------------------+------------------|
| Ethernet64 | Test_Port_1 | 1.19732e+07 | 0 |
| Ethernet68 | Test_Port_2 | 0 | 2.0534e+06 |
| Ethernet72 | Test_Port_3 | 0 | 1.96959e+06 |
| Ethernet76 | Test_Port_4 | 0 | 1.9636e+06 |
+------------+-------------+------------------+------------------+
20:45:06 lacp_dut_helper.get_avg_cpdp_convergence L0337 INFO | Simulating Link Failure on Test_Port_1 from dut side
20:45:07 utilities.wait L0118 INFO | Pause 10 seconds, reason: For Link to go down and traffic to stabilize
20:45:17 lacp_dut_helper.get_avg_cpdp_convergence L0349 INFO | Traffic has converged after link flap with no loss
20:45:17 lacp_dut_helper.get_avg_cpdp_convergence L0350 INFO | Port Stats after Ethernet68 failover
20:45:18 lacp_dut_helper.print_port_stats L0283 INFO |
+------------+-------------+------------------+------------------+
| Dut Port | Tgen Port | Tx. Frame Rate | Rx. Frame Rate |
|------------+-------------+------------------+------------------|
| Ethernet64 | Test_Port_1 | 1.19732e+07 | 0 |
| Ethernet68 | Test_Port_2 | 0 | 0 |
| Ethernet72 | Test_Port_3 | 0 | 2.99928e+06 |
| Ethernet76 | Test_Port_4 | 0 | 2.98731e+06 |
+------------+-------------+------------------+------------------+
20:45:18 lacp_dut_helper.get_avg_cpdp_convergence L0353 INFO | Simulating Link Up on Ethernet68 from dut side at the end of iteration 1
20:46:49 utilities.wait L0118 INFO | Pause 30 seconds, reason: For Protocols To start
20:47:19 lacp_dut_helper.get_avg_cpdp_convergence L0322 INFO | |---- Ethernet72 Link Flap Iteration : 1 ----|
20:47:19 lacp_dut_helper.get_avg_cpdp_convergence L0325 INFO | Starting Traffic
20:47:19 snappi_api.info L1419 INFO | Captures start 0.000s
20:47:19 utilities.wait L0118 INFO | Pause 30 seconds, reason: For Traffic To start
20:47:49 lacp_dut_helper.get_avg_cpdp_convergence L0333 INFO | Traffic has started
20:47:49 lacp_dut_helper.get_avg_cpdp_convergence L0334 INFO | Port Stats before Ethernet72 failover
20:47:50 lacp_dut_helper.print_port_stats L0283 INFO |
+------------+-------------+------------------+------------------+
| Dut Port | Tgen Port | Tx. Frame Rate | Rx. Frame Rate |
|------------+-------------+------------------+------------------|
| Ethernet64 | Test_Port_1 | 1.19732e+07 | 0 |
| Ethernet68 | Test_Port_2 | 0 | 1.96359e+06 |
| Ethernet72 | Test_Port_3 | 0 | 2.05341e+06 |
| Ethernet76 | Test_Port_4 | 0 | 1.96959e+06 |
+------------+-------------+------------------+------------------+
20:47:50 lacp_dut_helper.get_avg_cpdp_convergence L0337 INFO | Simulating Link Failure on Test_Port_2 from dut side
20:47:51 utilities.wait L0118 INFO | Pause 10 seconds, reason: For Link to go down and traffic to stabilize
20:48:02 lacp_dut_helper.get_avg_cpdp_convergence L0349 INFO | Traffic has converged after link flap with no loss
20:48:02 lacp_dut_helper.get_avg_cpdp_convergence L0350 INFO | Port Stats after Ethernet72 failover
20:48:02 lacp_dut_helper.print_port_stats L0283 INFO |
+------------+-------------+------------------+------------------+
| Dut Port | Tgen Port | Tx. Frame Rate | Rx. Frame Rate |
|------------+-------------+------------------+------------------|
| Ethernet64 | Test_Port_1 | 1.19732e+07 | 0 |
| Ethernet68 | Test_Port_2 | 0 | 2.98731e+06 |
| Ethernet72 | Test_Port_3 | 0 | 0 |
| Ethernet76 | Test_Port_4 | 0 | 2.99928e+06 |
+------------+-------------+------------------+------------------+
20:48:02 lacp_dut_helper.get_avg_cpdp_convergence L0353 INFO | Simulating Link Up on Ethernet72 from dut side at the end of iteration 1
20:49:33 utilities.wait L0118 INFO | Pause 30 seconds, reason: For Protocols To start
20:50:03 lacp_dut_helper.get_avg_cpdp_convergence L0322 INFO | |---- Ethernet76 Link Flap Iteration : 1 ----|
20:50:03 lacp_dut_helper.get_avg_cpdp_convergence L0325 INFO | Starting Traffic
20:50:03 snappi_api.info L1419 INFO | Captures start 0.000s
20:50:03 utilities.wait L0118 INFO | Pause 30 seconds, reason: For Traffic To start
20:50:34 lacp_dut_helper.get_avg_cpdp_convergence L0333 INFO | Traffic has started
20:50:34 lacp_dut_helper.get_avg_cpdp_convergence L0334 INFO | Port Stats before Ethernet76 failover
20:50:34 lacp_dut_helper.print_port_stats L0283 INFO |
+------------+-------------+------------------+------------------+
| Dut Port | Tgen Port | Tx. Frame Rate | Rx. Frame Rate |
|------------+-------------+------------------+------------------|
| Ethernet64 | Test_Port_1 | 1.19732e+07 | 0 |
| Ethernet68 | Test_Port_2 | 0 | 1.96958e+06 |
| Ethernet72 | Test_Port_3 | 0 | 1.96361e+06 |
| Ethernet76 | Test_Port_4 | 0 | 2.0534e+06 |
+------------+-------------+------------------+------------------+
20:50:34 lacp_dut_helper.get_avg_cpdp_convergence L0337 INFO | Simulating Link Failure on Test_Port_3 from dut side
20:50:36 utilities.wait L0118 INFO | Pause 10 seconds, reason: For Link to go down and traffic to stabilize
20:50:46 lacp_dut_helper.get_avg_cpdp_convergence L0349 INFO | Traffic has converged after link flap with no loss
20:50:46 lacp_dut_helper.get_avg_cpdp_convergence L0350 INFO | Port Stats after Ethernet76 failover
20:50:47 lacp_dut_helper.print_port_stats L0283 INFO |
+------------+-------------+------------------+------------------+
| Dut Port | Tgen Port | Tx. Frame Rate | Rx. Frame Rate |
|------------+-------------+------------------+------------------|
| Ethernet64 | Test_Port_1 | 1.19732e+07 | 0 |
| Ethernet68 | Test_Port_2 | 0 | 2.99928e+06 |
| Ethernet72 | Test_Port_3 | 0 | 2.98731e+06 |
| Ethernet76 | Test_Port_4 | 0 | 0 |
+------------+-------------+------------------+------------------+
20:50:47 lacp_dut_helper.get_avg_cpdp_convergence L0353 INFO | Simulating Link Up on Ethernet76 from dut side at the end of iteration 1
20:50:47 lacp_dut_helper.get_lacp_add_remove_link L0369 INFO |
+-------------------------+-----------------+--------------+---------+
| Event Name | No. of Routes | Iterations | Loss% |
|-------------------------+-----------------+--------------+---------|
| Ethernet68 Link Failure | 1000 | 1 | 0 |
| Ethernet72 Link Failure | 1000 | 1 | 0 |
| Ethernet76 Link Failure | 1000 | 1 | 0 |
+-------------------------+-----------------+--------------+---------+
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%]
---------------------------------------------------------------------------------------------------------------------------------------------- live log call ----------------------------------------------------------------------------------------------------------------------------------------------
21:32:36 lacp_physical_helper.duthost_bgp_config L0124 INFO | Removing configured IP and IPv6 Address from Ethernet64
21:32:38 lacp_physical_helper.duthost_bgp_config L0124 INFO | Removing configured IP and IPv6 Address from Ethernet68
21:32:40 lacp_physical_helper.duthost_bgp_config L0124 INFO | Removing configured IP and IPv6 Address from Ethernet72
21:32:41 lacp_physical_helper.duthost_bgp_config L0124 INFO | Removing configured IP and IPv6 Address from Ethernet76
21:32:43 lacp_physical_helper.duthost_bgp_config L0136 INFO | Configuring Ethernet64 to PortChannel1 with IPs 20.1.1.0,2000:1::1
21:32:46 lacp_physical_helper.duthost_bgp_config L0145 INFO | Configuring Ethernet68 to PortChannel2
21:32:47 lacp_physical_helper.duthost_bgp_config L0145 INFO | Configuring Ethernet72 to PortChannel2
21:32:48 lacp_physical_helper.duthost_bgp_config L0145 INFO | Configuring Ethernet76 to PortChannel2
21:32:50 lacp_physical_helper.duthost_bgp_config L0168 INFO | Configuring BGP v4 and v6 Neighbor 20.1.1.7, 2000:4::c
21:32:51 lacp_physical_helper.__tgen_bgp_config L0216 INFO | |-------------- LACP Timers --------------|
21:32:51 lacp_physical_helper.__tgen_bgp_config L0217 INFO | LACPDU Periodic Time Interval :1 - Fast
21:32:51 lacp_physical_helper.__tgen_bgp_config L0219 INFO | LACPDU Timeout :90 - Long
21:32:51 lacp_physical_helper.__tgen_bgp_config L0221 INFO | |-----------------------------------------|
21:32:51 connection._warn L0246 WARNING| Verification of certificates is disabled
21:32:51 connection._info L0243 INFO | Determining the platform and rest_port using the 10.36.77.53 address...
21:32:51 connection._warn L0246 WARNING| Unable to connect to http://10.36.77.53:11009.
21:32:51 connection._info L0243 INFO | Connection established to
https://10.36.77.53:11009 on windows21:32:51 connection._info L0243 INFO | Using IxNetwork api server version 10.20.2402.29
21:32:51 connection._info L0243 INFO | User info IxNetwork/WIN-11RK5TNKNAN/8010
21:32:51 snappi_api.info L1419 INFO | snappi-1.27.1
21:32:51 snappi_api.info L1419 INFO | snappi_ixnetwork-1.27.1
21:32:51 snappi_api.info L1419 INFO | ixnetwork_restpy-1.0.64
21:32:56 snappi_api.info L1419 INFO | Config validation 0.005s
21:32:57 snappi_api.info L1419 INFO | Ports configuration 0.065s
21:32:57 snappi_api.info L1419 INFO | Captures configuration 0.033s
21:33:08 snappi_api.info L1419 INFO | Location hosts ready [10.36.78.53] 2.057s
21:33:08 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'), ('Test_Port_4', 'novusHundredGigNonFanOut')]
21:33:08 snappi_api.info L1419 INFO | Aggregation mode speed change 0.296s
21:33:08 snappi_api.info L1419 INFO | Location configuration 10.628s
21:33:08 snappi_api.info L1419 INFO | Layer1 configuration 0.062s
21:33:09 snappi_api.info L1419 INFO | Lag Configuration 1.070s
21:33:09 snappi_api.info L1419 INFO | Lag Ethernet Configuration 0.129s
21:33:10 snappi_api.info L1419 INFO | Lag Protocol Configuration 0.688s
21:33:10 snappi_api.info L1419 INFO | Convert device config : 0.237s
21:33:10 snappi_api.info L1419 INFO | Create IxNetwork device config : 0.001s
21:33:12 snappi_api.info L1419 INFO | Push IxNetwork device config : 1.412s
21:33:12 snappi_api.info L1419 INFO | Devices configuration 1.659s
21:33:12 snappi_api.info L1419 INFO | Flows configuration 0.552s
21:33:13 snappi_api.info L1419 INFO | Start interfaces 0.460s
21:33:13 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
21:33:13 snappi_api.info L1419 INFO | IxNet - The Traffic Item was modified. Please perform a Traffic Generate to update the associated traffic Flow Groups
21:33:13 lacp_physical_helper.get_avg_cpdp_conver L0349 INFO | Starting all protocols ...
21:34:57 utilities.wait L0118 INFO | Pause 30 seconds, reason: For Protocols To start
21:35:27 lacp_physical_helper.get_avg_cpdp_conver L0355 INFO | |---- Test_Port_2 Link Flap Iteration : 1 ----|
21:35:27 lacp_physical_helper.get_avg_cpdp_conver L0359 INFO | Starting Traffic
21:35:34 snappi_api.info L1419 INFO | Flows generate/apply 6.723s
21:35:47 snappi_api.info L1419 INFO | Flows clear statistics 13.749s
21:35:47 snappi_api.info L1419 INFO | Captures start 0.000s
21:35:50 snappi_api.info L1419 INFO | Flows start 2.599s
21:35:50 snappi_api.info L1419 INFO | IxNet - Rate monitoring threshold has been set below recommended level of 80%. Please ensure this is valid for your test.
21:35:50 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.
21:35:50 utilities.wait L0118 INFO | Pause 30 seconds, reason: For Traffic To start
21:36:20 lacp_physical_helper.get_avg_cpdp_conver L0367 INFO | Traffic has started
21:36:20 lacp_physical_helper.get_avg_cpdp_conver L0369 INFO | Simulating Link Failure on Test_Port_2 link
21:36:20 snappi_api.info L1419 INFO | Link State operation 0.009s
21:36:20 utilities.wait L0118 INFO | Pause 30 seconds, reason: For Link to go down
21:36:51 lacp_physical_helper.get_avg_cpdp_conver L0383 INFO | Traffic has converged after link flap
21:37:13 lacp_physical_helper.get_avg_cpdp_conver L0389 INFO | CP/DP Convergence Time (ms): 189.399
21:37:13 lacp_physical_helper.get_avg_cpdp_conver L0395 INFO | Simulating Link Up on Test_Port_2 at the end of iteration 1
21:37:13 snappi_api.info L1419 INFO | Link State operation 0.009s
21:37:13 lacp_physical_helper.get_avg_cpdp_conver L0349 INFO | Starting all protocols ...
21:37:13 utilities.wait L0118 INFO | Pause 30 seconds, reason: For Protocols To start
21:37:43 lacp_physical_helper.get_avg_cpdp_conver L0355 INFO | |---- Test_Port_3 Link Flap Iteration : 1 ----|
21:37:43 lacp_physical_helper.get_avg_cpdp_conver L0359 INFO | Starting Traffic
21:37:43 snappi_api.info L1419 INFO | Captures start 0.000s
21:37:43 utilities.wait L0118 INFO | Pause 30 seconds, reason: For Traffic To start
21:38:13 lacp_physical_helper.get_avg_cpdp_conver L0367 INFO | Traffic has started
21:38:13 lacp_physical_helper.get_avg_cpdp_conver L0369 INFO | Simulating Link Failure on Test_Port_3 link
21:38:13 snappi_api.info L1419 INFO | Link State operation 0.009s
21:38:13 utilities.wait L0118 INFO | Pause 30 seconds, reason: For Link to go down
21:38:44 lacp_physical_helper.get_avg_cpdp_conver L0383 INFO | Traffic has converged after link flap
21:38:50 lacp_physical_helper.get_avg_cpdp_conver L0389 INFO | CP/DP Convergence Time (ms): 247.297
21:38:50 lacp_physical_helper.get_avg_cpdp_conver L0395 INFO | Simulating Link Up on Test_Port_3 at the end of iteration 1
21:38:50 snappi_api.info L1419 INFO | Link State operation 0.009s
21:38:50 lacp_physical_helper.get_avg_cpdp_conver L0349 INFO | Starting all protocols ...
21:38:50 utilities.wait L0118 INFO | Pause 30 seconds, reason: For Protocols To start
21:39:20 lacp_physical_helper.get_avg_cpdp_conver L0355 INFO | |---- Test_Port_4 Link Flap Iteration : 1 ----|
21:39:20 lacp_physical_helper.get_avg_cpdp_conver L0359 INFO | Starting Traffic
21:39:20 snappi_api.info L1419 INFO | Captures start 0.000s
21:39:20 utilities.wait L0118 INFO | Pause 30 seconds, reason: For Traffic To start
21:39:51 lacp_physical_helper.get_avg_cpdp_conver L0367 INFO | Traffic has started
21:39:51 lacp_physical_helper.get_avg_cpdp_conver L0369 INFO | Simulating Link Failure on Test_Port_4 link
21:39:51 snappi_api.info L1419 INFO | Link State operation 0.009s
21:39:51 utilities.wait L0118 INFO | Pause 30 seconds, reason: For Link to go down
21:40:21 lacp_physical_helper.get_avg_cpdp_conver L0383 INFO | Traffic has converged after link flap
21:40:27 lacp_physical_helper.get_avg_cpdp_conver L0389 INFO | CP/DP Convergence Time (ms): 246.237
21:40:27 lacp_physical_helper.get_avg_cpdp_conver L0395 INFO | Simulating Link Up on Test_Port_4 at the end of iteration 1
21:40:27 snappi_api.info L1419 INFO | Link State operation 0.009s
21:40:27 lacp_physical_helper.get_lacp_add_remove L0414 INFO |
+--------------------------+-----------------+--------------+----------------+---------------------------------------------+
| Event Name | No. of Routes | Iterations | Frames Delta | Avg Calculated Data Convergence Time (ms) |
|--------------------------+-----------------+--------------+----------------+---------------------------------------------|
| Test_Port_2 Link Failure | 1000 | 1 | 369166 | 189 |
| Test_Port_3 Link Failure | 1000 | 1 | 823616 | 247 |
| Test_Port_4 Link Failure | 1000 | 1 | 1282761 | 246 |
+--------------------------+-----------------+--------------+----------------+---------------------------------------------+
PASSED [100%]