Skip to content

Bug: [SRv6] tests/srv6/test_srv6_dataplane.py function run_srv6_traffic_test call failure due to lack of parameter #17602

@echuawu

Description

@echuawu

Is it platform specific

generic

Importance or Severity

Critical

Description of the bug

Currently, in the SRv6 dataplane script tests/srv6/test_srv6_dataplane.py, the function call of run_srv6_traffic_test would be failed due to lack of parameter ptfhost in cases:

test_srv6_dataplane_after_bgp_restart
test_srv6_dataplane_after_config_reload
test_srv6_dataplane_after_reboot

Steps to Reproduce

Run the script of tests/srv6/test_srv6_dataplane.py

Actual Behavior and Expected Behavior

the function call of run_srv6_traffic_test would be failed due to lack of parameter ptfhost in cases:

test_srv6_dataplane_after_bgp_restart
test_srv6_dataplane_after_config_reload
test_srv6_dataplane_after_reboot

There are 7 mandatory parameters in the definition
def run_srv6_traffic_test(duthost, dut_mac, ptf_src_port, neighbor_ip, ptfadapter, ptfhost, with_srh):
But there are 6 parameters pass in during function call
run_srv6_traffic_test(duthost, dut_mac, ptf_src_port, neighbor_ip, ptfadapter, with_srh)

Relevant log output

Output of show version

Attach files (if any)

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions