Closed mssonicbld closed 3 days ago
Summary: Fixes # (issue) 28387106
Case failed due to no response after execting cmd "config reload" with timeout threshold. Ansible ssh timeout value is 60s.
out = duthost.shell("sudo config reload -y", executable="/bin/bash", module_ignore_errors=True) > assert "Retry later" in out['stdout'] E KeyError: 'stdout' out = {'failed': True, 'msg': 'Timeout (62s) waiting for privilege escalation prompt: ', '_ansible_no_log': False}
Using async mode to run the CMD
Run the case locally and with pipeline
Original PR: https://github.com/sonic-net/sonic-mgmt/pull/13361
/azp run Azure.sonic-mgmt
Description of PR
Summary: Fixes # (issue) 28387106
Type of change
Back port request
Approach
What is the motivation for this PR?
Case failed due to no response after execting cmd "config reload" with timeout threshold. Ansible ssh timeout value is 60s.
How did you do it?
Using async mode to run the CMD
How did you verify/test it?
Run the case locally and with pipeline
Any platform specific information?
Supported testbed topology if it's a new test case?
Documentation