Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IPv6 TrafficGen Test Failure with Trex-TxRx-Profile Backend Support #86

Open
pradiptapks opened this issue Sep 9, 2024 · 0 comments
Open

Comments

@pradiptapks
Copy link

Description: An issue was encountered while running a bench-trafficgen test with IPv6 support using the trex-txrx-profile backend. The test failed during a binary search operation. The flow modifier was explicitly enabled for the port as suggested, but the issue persists.

Traffic profile:

{
    "streams": [
        {
            "flows": 1024,
            "frame_size": 64,
            "flow_mods": "function:create_flow_mod_object(use_src_ip_flows=False, use_dst_ip_flows=False, use_src_port_flows=True, use_dst_port_flows=True)",
            "rate": 14880952,
            "frame_type": "generic",
            "stream_types": [
                "measurement"
            ],
            "the_packet": "scapy:Ether()/IPv6()/UDP()"
        }
    ]
}

Binary-search exception:

[2024-09-09 15:12:40.020693][001] Connection established
[2024-09-09 15:12:40.153606][001] Creating Streams from loaded traffic profile [trafficgen.profile]
[2024-09-09 15:12:40.153620][001] 
[2024-09-09 15:12:40.153651][001]       Stream 0 is enabled for device pair '0:1'
[2024-09-09 15:12:40.154085][001] EXCEPTION: Traceback (most recent call last):
[2024-09-09 15:12:40.154092][001]   File "/usr/bin/trex-txrx-profile.py", line 1412, in main
[2024-09-09 15:12:40.154097][001]     create_stream(stream, device_pair, t_global.constants['forward_direction'], t_global.constants['reverse_direction'], flow_port_divider)
[2024-09-09 15:12:40.154103][001]   File "/usr/bin/trex-txrx-profile.py", line 696, in create_stream
[2024-09-09 15:12:40.154108][001]     stream['packet_values']['ips'][dst_port],
[2024-09-09 15:12:40.154113][001] KeyError: 'ips'
[2024-09-09 15:12:40.154118][001] 
[2024-09-09 15:12:40.154153][001] Disconnecting from TRex server...
[2024-09-09 15:12:40.157073][001] Connection severed
[2024-09-09 15:12:40.203145][BSO] tg return code: 1

Log tar file: link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Queued
Development

No branches or pull requests

1 participant