Closed arista-nwolfe closed 3 months ago
On 202311, there is one more testcase without the is_python3=True
argument in ptf_runner()
:
https://github.com/sonic-net/sonic-mgmt/blob/748c557781f5349a9473ea702287c0d785c85b5f/tests/fib/test_fib.py#L399
Issue Description
If you run
fib/test_fib.py::test_ipinip_hash_negative
on master or 202405 it will fail with the following error:The problem is
ptf_runner
intest_ipinip_hash_negative
isn't passed theis_python3=True
argument. So things like python3 string formatting is unsupported.Results you see
Test fails with
Invalid Syntax
onprint(f\"traffic from {src_port} to {dst_port}: {queue} \")
Results you expected to see
Test should pass
is_python3=True
toptf_runner
and passIs it platform specific
generic
Relevant log output
No response
Output of
show version
Attach files (if any)
No response