You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Happened when running snappi_tests/multidut/pfc/test_multidut_pfc_pause_lossless_with_snappi.py::test_pfc_pause_multi_lossless_prio_reboot[multidut_port_info0-cold]
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.8/dist-packages/_pytest/python.py", line 1788, in runtest
self.ihook.pytest_pyfunc_call(pyfuncitem=self)
File "/usr/local/lib/python3.8/dist-packages/pluggy/_hooks.py", line 513, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
File "/usr/local/lib/python3.8/dist-packages/pluggy/_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/usr/local/lib/python3.8/dist-packages/pluggy/_callers.py", line 139, in _multicall
raise exception.with_traceback(exception.__traceback__)
File "/usr/local/lib/python3.8/dist-packages/pluggy/_callers.py", line 103, in _multicall
res = hook_impl.function(*args)
File "/usr/local/lib/python3.8/dist-packages/_pytest/python.py", line 194, in pytest_pyfunc_call
result = testfunction(**testargs)
File "/var/src/sonic-mgmt_vmsvc5-t2-8800-ixia_669de75fbbfea63e8b73b319/tests/snappi_tests/multidut/pfc/test_multidut_pfc_pause_lossless_with_snappi.py", line 239, in test_pfc_pause_multi_lossless_prio_reboot
run_pfc_test(api=snappi_api,
File "/var/src/sonic-mgmt_vmsvc5-t2-8800-ixia_669de75fbbfea63e8b73b319/tests/snappi_tests/multidut/pfc/files/multidut_helper.py", line 239, in run_pfc_test
tgen_flow_stats, switch_flow_stats, in_flight_flow_metrics = run_traffic(duthost=duthost,
File "/var/src/sonic-mgmt_vmsvc5-t2-8800-ixia_669de75fbbfea63e8b73b319/tests/common/snappi_tests/traffic_generation.py", line 337, in run_traffic
api.set_config(config)
File "/usr/local/lib/python3.8/dist-packages/snappi_ixnetwork/snappi_api.py", line 216, in set_config
raise SnappiIxnException(err)
snappi_ixnetwork.exceptions.SnappiIxnException: File "/usr/local/lib/python3.8/dist-packages/snappi_ixnetwork/snappi_api.py", line 214, in set_config
self.config_ixnetwork(config)
File "/usr/local/lib/python3.8/dist-packages/snappi_ixnetwork/snappi_api.py", line 258, in config_ixnetwork
self.vport.config()
File "/usr/local/lib/python3.8/dist-packages/snappi_ixnetwork/vport.py", line 146, in config
self._wait_for(lambda: self.is_protocols_stopped(),
File "/usr/local/lib/python3.8/dist-packages/snappi_ixnetwork/vport.py", line 166, in _wait_for
raise Exception(exp_msg)
"Protocols are not stopped in 10 seconds
@kamalsahu0001@selldinesh can you help to look into this issue? This is the first time we see it in our T2 testbed, but seems it has happened several times in the past on other testbeds too.
Issue Description
Happened when running snappi_tests/multidut/pfc/test_multidut_pfc_pause_lossless_with_snappi.py::test_pfc_pause_multi_lossless_prio_reboot[multidut_port_info0-cold]
Results you see
test failed because of
Protocols are not stopped in 10 seconds
after callingapi.set_config(config)
Results you expected to see
Should not have this error.
Is it platform specific
generic
Relevant log output
No response
Output of
show version
No response
Attach files (if any)
No response
The text was updated successfully, but these errors were encountered: