-
Notifications
You must be signed in to change notification settings - Fork 684
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
[DPB]Fixing return code of breakout command on failure #3357
Conversation
@dgsudharsan what is the impact without this fix? |
Our internal tests assume that command pass based on the return code while it has actually failed. Same applies to any automation framework. If the command fails it should return non zero return code |
Cherry-pick PR to 202405: #3361 |
@yxieca Can you please help to cherry-pick for 202311? |
Cherry-pick PR to 202311: #3363 |
@dgsudharsan cherry pick PR didn't pass PR checker. Please check!!! |
2 similar comments
@dgsudharsan cherry pick PR didn't pass PR checker. Please check!!! |
@dgsudharsan cherry pick PR didn't pass PR checker. Please check!!! |
@dgsudharsan cherry pick PR didn't pass PR checker. Please check!!! |
2 similar comments
@dgsudharsan cherry pick PR didn't pass PR checker. Please check!!! |
@dgsudharsan cherry pick PR didn't pass PR checker. Please check!!! |
@dgsudharsan cherry pick PR didn't pass PR checker. Please check!!! |
@dgsudharsan cherry pick PR didn't pass PR checker. Please check!!! Auto cherry pick PR will be closed in 3 days. |
4 similar comments
@dgsudharsan cherry pick PR didn't pass PR checker. Please check!!! Auto cherry pick PR will be closed in 3 days. |
@dgsudharsan cherry pick PR didn't pass PR checker. Please check!!! Auto cherry pick PR will be closed in 3 days. |
@dgsudharsan cherry pick PR didn't pass PR checker. Please check!!! Auto cherry pick PR will be closed in 3 days. |
@dgsudharsan cherry pick PR didn't pass PR checker. Please check!!! Auto cherry pick PR will be closed in 3 days. |
@dgsudharsan Cherry-pick to 202405 failed. Please check. |
Cherry-pick PR to 202405: #3469 |
Hi @bingwang-ms I see PR already raised to 202405. Can you please clarify this comment? |
What I did
Changing the return code of DPB command to 1 on failure when dependencies exit.
How I did it
Updating the exit code
How to verify it
Modified UT to verify
Previous command output (if the output of a command-line utility has changed)
New command output (if the output of a command-line utility has changed)