/kind bug
Operating System:
Any
Output of odo version:
The problem is seen on test triggered by PRs, and when triggered manually
Some tests clean up the projects/namespaces that were created for execution, but not all of them
All tests (no matter what test type) must cleanup resources created during execution
Running the following commands to see how many projects are in the cluster
kubectl get projects -o=custom-columns=NAME:.metadata.name | grep -E "^[a-z]{10}$" | wc -l
and this to see the timestamp, many will be older than one day, meaning they do not belong to a current test execution in progress
kubectl get projects -o=custom-columns=NAME:.metadata.name,CREATED:.metadata.creationTimestamp
Proposed solution:
Manually execute each test script and check if projects are left behind after execution is completed to identify the scripts that need to be updated.
I manually ran all tests listed in the Makefile and none of them left projects behind. I will try a different approach.
@rnapoles-rh Isn't this issue same as https://github.com/openshift/odo/issues/4467 . Putting two QE effort on the same issue doesn't make sense, I guess.
@prietyc123 Yesterday during cabal it was agreed that there could be two different causes for project being left behind:
Made changes to prefix projectNames with the test filename and line number of the test in progress. This will help to identify which tests are leaving projects behind