Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
As of release v1.4.0 the
uninstall_all
task is broken and some testsuite dependencies cannot be uninstalled the intended way (cluster tools, etc.). This has been caused by theCNFInstall.uninstall_cnf
function that was exiting with code 1 in case no CNF was installed, to fix this we have decided to relegate it to a warning (this makes the change significantly easier) and removed theexit 1
command.To avoid a similar situation in future, two spec tests have been added. The
uninstall_all
spec test required a change totools_uninstall
task since it previously gave no indication of passing. Further verification oftools_uninstall
passing correctly should be added, but it might be out of the scope of this ticket.Additionally some renaming regarding cleanup/uninstall has been left undone after #2184, this has been remediated as part of this ticket.
Issues:
Refs: #2209
How has this been tested:
Types of changes:
Checklist:
Documentation
Code Review
Issue