-
Notifications
You must be signed in to change notification settings - Fork 740
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
Fix for GCU Dhcp_Relay issue in KVM test failure #9800
Conversation
The pre-commit check detected issues in the files touched by this pull request. Detailed pre-commit check results: To run the pre-commit checks locally, you can follow below steps:
|
@mssonicbld @liushilongbuaa @gechiang I have created this PR to resolve the DHCP_Realy failure issue, but KVM tests are still failing here. {"changed": false, "cmds": ["config vlan add 108", "config interface ip add Vlan108 192.168.8.1/24", "config vlan add 109", "config interface ip add Vlan109 192.168.9.1/24", "config switchport mode trunk Ethernet4", "config vlan member add 108 Ethernet4", "config vlan member add 109 Ethernet4"], "delta": "0:00:04.600182", "end": "2023-09-02 12:27:53.114145", "failed": true, "failed_cmds": ["config switchport mode trunk Ethernet4"], "msg": "At least running one of the commands failed", "results": [{"cmd": "config vlan add 108", "cmd_with_timeout": "", "err_msg": "", "rc": 0, "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": [], "timeout": 0}, These errors are different from Update submodule sonic-utilities PR which can be verified as below: {"cmd": "config vlan member add 108 Ethernet4", "cmd_with_timeout": "", "err_msg": "", "rc": 2, "stderr": "Usage: config vlan member add [OPTIONS] port\nTry "config vlan member add -h" for help.\n\nError: Ethernet4 is in routed mode!\nUse switchport mode command to change port mode\n", "stderr_lines": ["Usage: config vlan member add [OPTIONS] port", "Try "config vlan member add -h" for help.", "", "Error: Ethernet4 is in routed mode!", "Use switchport mode command to change port mode"], "stdout": "", "stdout_lines": [], "timeout": 0}, {"cmd": "config vlan member add 109 Ethernet4", "cmd_with_timeout": "", "err_msg": "", "rc": 2, "stderr": "Usage: config vlan member add [OPTIONS] port\nTry "config vlan member add -h" for help.\n\nError: Ethernet4 is in routed mode!\nUse switchport mode command to change port mode\n", "stderr_lines": ["Usage: config vlan member add [OPTIONS] port", "Try "config vlan member add -h" for help.", "", "Error: Ethernet4 is in routed mode!", "Use switchport mode command to change port mode"], "stdout": "", "stdout_lines": [], "timeout": 0}], "start": "2023-08-31 16:11:31.354762"} Is there a way we can skip failing tests just for this PR to resolve kvm test failure? if this is possible we can do it to resolve this current issue. It might also be possible that you @mssonicbld add these proposed changes in your PR to solve this failure or add me as collaborator in PR to help. |
@yejianquan , do you know who can help review this PR? |
@ridahanif96 , mssonicbld is automation account. |
Ok Thanks. |
@ridahanif96 Would you please change title to gcu dhcp_relay, since it may confuse with dhcp_relay/test_dhcp_relay.py. |
Done |
All KVM failure resolved @liushilongbuaa @yejianquan please review this PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Why I did it This PR is created to resolve GCU DHCP_Relay issues in kvm test failure in Update submodule sonic-utilities to the latest HEAD Summary: Fixed PR issues in fixture/duthost_utilites.py to solve vlan addition changes on Port Signed-off-by: Rida Hanif rida.hanif@xflowresearch.com
Why I did it
This PR is created to resolve GCU DHCP_Relay issues in kvm test failure in Update submodule sonic-utilities to the latest HEAD
Summary: Fixed PR issues in fixture/duthost_utilites.py to solve vlan member addition changes on Port
Signed-off-by: Rida Hanif rida.hanif@xflowresearch.com