[build] 'make reset' target will continue recursive operations even if some fail#4675
[build] 'make reset' target will continue recursive operations even if some fail#4675jleveque merged 1 commit intosonic-net:masterfrom jleveque:make_reset_ignore_errors
Conversation
|
Retest vs please |
|
when would the command fail on the mgmt-framework submodule? |
|
retest vs please |
|
@lguohan: It fails to delete files in the |
|
Retest vsimage please |
|
retest vsimage please |
|
why in this case, we should skip these errors and let it continue? shouldn't we ask broadcom to fix the reset issue on their repo? |
|
@lguohan: Yes, Broadcom should fix the root cause, but this patch allows the command to continue and reset the remaining submodules. The error messages still get printed to stdout, so it will be noticed, it's not suppressed. This patch just prevents the need to manually clean up multiple submodules if any one fails to clean up. |
|
retest vsimage please |
|
when you merge, can you make sure you edited the commit message to include what you have in the pr. |
… fail (#4675) This change allows the recursive `git clean` and `git reset` commands to continue even if they encounter an error in one of the submodules. Previously, if an error was encountered, the operation would terminate with a message similar to the following: Stopping at 'src/sonic-mgmt-framework'; script returned non-zero status.
This change allows the recursive
git cleanandgit resetcommands to continue even if they encounter an error in one of the submodules. Previously, if an error was encountered, the operation would terminate with a message similar to the following:Stopping at 'src/sonic-mgmt-framework'; script returned non-zero status.