[snappi] QoS Traffic Prioritization Test #16710
Open
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:
QoS traffic prioritization testing
Fixes # (issue)
Output
21:23:14 qos_priority_helper.config_dut_qos L0151 INFO | config_dut_qos: adding scheduler.0 weight=5
21:23:15 qos_priority_helper.config_dut_qos L0172 INFO | config_dut_qos: adding scheduler.2 weight=20
21:23:16 qos_priority_helper.config_dut_qos L0192 INFO | config_dut_qos: Ethernet64 pfcQueue:0 scheduler.0
21:23:17 qos_priority_helper.config_dut_qos L0192 INFO | config_dut_qos: Ethernet64 pfcQueue:1 scheduler.0
21:23:17 qos_priority_helper.config_dut_qos L0192 INFO | config_dut_qos: Ethernet64 pfcQueue:2 scheduler.0
21:23:18 qos_priority_helper.config_dut_qos L0199 INFO | config_dut_qos: Ethernet64 pfcQueue:3 scheduler.1
21:23:19 qos_priority_helper.config_dut_qos L0199 INFO | config_dut_qos: Ethernet64 pfcQueue:4 scheduler.1
21:23:22 qos_priority_helper.config_dut_qos L0192 INFO | config_dut_qos: Ethernet68 pfcQueue:0 scheduler.0
21:23:23 qos_priority_helper.config_dut_qos L0192 INFO | config_dut_qos: Ethernet68 pfcQueue:1 scheduler.0
21:23:24 qos_priority_helper.config_dut_qos L0192 INFO | config_dut_qos: Ethernet68 pfcQueue:2 scheduler.0
21:23:25 qos_priority_helper.config_dut_qos L0199 INFO | config_dut_qos: Ethernet68 pfcQueue:3 scheduler.1
21:23:26 qos_priority_helper.config_dut_qos L0199 INFO | config_dut_qos: Ethernet68 pfcQueue:4 scheduler.1
21:23:29 qos_priority_helper.config_dut_qos L0192 INFO | config_dut_qos: Ethernet72 pfcQueue:0 scheduler.0
21:23:29 qos_priority_helper.config_dut_qos L0192 INFO | config_dut_qos: Ethernet72 pfcQueue:1 scheduler.0
21:23:30 qos_priority_helper.config_dut_qos L0192 INFO | config_dut_qos: Ethernet72 pfcQueue:2 scheduler.0
21:23:31 qos_priority_helper.config_dut_qos L0199 INFO | config_dut_qos: Ethernet72 pfcQueue:3 scheduler.1
21:23:32 qos_priority_helper.config_dut_qos L0199 INFO | config_dut_qos: Ethernet72 pfcQueue:4 scheduler.1
21:23:35 qos_priority_helper.config_dut_qos L0192 INFO | config_dut_qos: Ethernet76 pfcQueue:0 scheduler.0
21:23:35 qos_priority_helper.config_dut_qos L0192 INFO | config_dut_qos: Ethernet76 pfcQueue:1 scheduler.0
21:23:36 qos_priority_helper.config_dut_qos L0192 INFO | config_dut_qos: Ethernet76 pfcQueue:2 scheduler.0
21:23:37 qos_priority_helper.config_dut_qos L0199 INFO | config_dut_qos: Ethernet76 pfcQueue:3 scheduler.1
21:23:38 qos_priority_helper.config_dut_qos L0199 INFO | config_dut_qos: Ethernet76 pfcQueue:4 scheduler.1
21:23:42 connection._warn L0246 WARNING| Verification of certificates is disabled
21:23:42 connection._info L0243 INFO | Determining the platform and rest_port using the 10.36.78.71 address...
21:23:42 connection._warn L0246 WARNING| Unable to connect to http://10.36.78.71:443.
21:23:42 connection._info L0243 INFO | Connection established to
https://10.36.78.71:443 on linux
21:23:56 connection._info L0243 INFO | Using IxNetwork api server version 10.20.2403.2
21:23:56 connection._info L0243 INFO | User info IxNetwork/ixnetworkweb/admin-6-12904
21:23:57 snappi_api.info L1132 INFO | snappi-0.9.1
21:23:57 snappi_api.info L1132 INFO | snappi_ixnetwork-0.9.1
21:23:57 snappi_api.info L1132 INFO | ixnetwork_restpy-1.0.64
21:23:58 snappi_api.info L1132 INFO | Config validation 0.007s
21:24:00 snappi_api.info L1132 INFO | Ports configuration 1.851s
21:24:01 snappi_api.info L1132 INFO | Captures configuration 0.314s
21:24:04 snappi_api.info L1132 INFO | Add location hosts [10.36.78.53] 2.413s
21:24:08 snappi_api.info L1132 INFO | Location hosts ready [10.36.78.53] 4.302s
21:24:09 snappi_api.info L1132 INFO | Speed conversion is not require for (port.name, speed) : [('Port 0', 'novusHundredGigNonFanOut'), ('Port 1', 'novusHundredGigNonFanOut'), ('Port 2', 'novusHundredGigNonFanOut'), ('Port 3', 'novusHundredGigNonFanOut')]
21:24:09 snappi_api.info L1132 INFO | Aggregation mode speed change 0.643s
21:24:18 snappi_api.info L1132 INFO | Location preemption [10.36.78.53;6;5, 10.36.78.53;6;6, 10.36.78.53;6;7, 10.36.78.53;6;8] 0.208s
21:24:44 snappi_api.info L1132 INFO | Location connect [Port 0, Port 1, Port 2, Port 3] 25.885s
21:24:45 snappi_api.warning L1138 WARNING| Port 0 connectedLinkDown
21:24:45 snappi_api.warning L1138 WARNING| Port 1 connectedLinkDown
21:24:45 snappi_api.warning L1138 WARNING| Port 2 connectedLinkDown
21:24:45 snappi_api.warning L1138 WARNING| Port 3 connectedLinkDown
21:24:45 snappi_api.info L1132 INFO | Location state check [Port 0, Port 1, Port 2, Port 3] 0.463s
21:24:45 snappi_api.info L1132 INFO | Location configuration 44.207s
21:25:04 snappi_api.info L1132 INFO | Layer1 configuration 18.855s
21:25:04 snappi_api.info L1132 INFO | Lag Configuration 0.149s
21:25:05 snappi_api.info L1132 INFO | Convert device config : 0.502s
21:25:05 snappi_api.info L1132 INFO | Create IxNetwork device config : 0.000s
21:25:05 snappi_api.info L1132 INFO | Push IxNetwork device config : 0.746s
21:25:05 snappi_api.info L1132 INFO | Devices configuration 1.390s
21:25:11 snappi_api.info L1132 INFO | Flows configuration 6.051s
21:25:24 snappi_api.info L1132 INFO | Start interfaces 11.980s
21:25:24 snappi_api.info L1132 INFO | IxNet - The Traffic Item was modified. Please perform a Traffic Generate to update the associated traffic Flow Groups
21:25:24 qos_priority_helper.run_traffic L0320 INFO | Wait for Arp to Resolve ...
21:25:28 qos_priority_helper.run_traffic L0323 INFO | Starting transmit on all flows ...
21:25:32 snappi_api.info L1132 INFO | Flows generate/apply 3.236s
21:25:45 snappi_api.info L1132 INFO | Flows clear statistics 12.951s
21:25:45 snappi_api.info L1132 INFO | Captures start 0.000s
21:25:50 snappi_api.info L1132 INFO | Flows start 3.938s
21:25:50 snappi_api.info L1132 INFO | IxNet - The frame size was increased to 66 bytes to accommodate encapsulation requirements. - The frame size was adjusted to conform to the encapsulation requirements
21:26:00 qos_priority_helper.run_traffic L0330 INFO | Stop transmit on all flows ...
21:26:07 snappi_api.info L1132 INFO | Flows stop 6.489s
21:26:14 qos_priority_helper.get_flow_statistics L0363 INFO |
+-----------+-----------+------------------------------+-------------+-------------+----------------+----------+
| Tx Port | Rx Port | Traffic Item | Tx Frames | Rx Frames | Frames Delta | Loss % |
|-----------+-----------+------------------------------+-------------+-------------+----------------+----------|
| Port 0 | Port 1 | High 3: No drop | 1509627012 | 1509627012 | 0 | 0 |
| Port 2 | Port 1 | Medium 6: Weight=20 50% drop | 2121571322 | 101997399 | 2019573923 | 95.192 |
| Port 3 | Port 1 | Low 1: Weight=5 87.5% drop | 2121571322 | 509965341 | 1611605981 | 75.963 |
+-----------+-----------+------------------------------+-------------+-------------+----------------+----------+
21:26:14 qos_priority_helper.run_qos_priority_tes L0105 INFO | High priority. No loss expected. Passed
FAILED [100%]
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