apache / cloudstack

Apache CloudStack is an opensource Infrastructure as a Service (IaaS) cloud computing platform
https://cloudstack.apache.org/
Apache License 2.0
2.05k stars 1.1k forks source link

cleanup test resources #3693

Open DaanHoogland opened 4 years ago

DaanHoogland commented 4 years ago

This is to clean-up tests that create resources and do not clean-up after themselves. The idea is that the entire test-suite should be able to be run in a production environment without harming or messing up. In smoke tests running in Trillian we found the following tests to leave stuff around (the checks fixed in scope of this pr are just for simulator):

ISSUE TYPE
rohityadavcloud commented 4 years ago

@DaanHoogland is this still valid or can be closed?

DaanHoogland commented 4 years ago

no @rhtyd , it is still very valid. It is also limited to simulator tests and should be expanded to all tests. I will expand on this the coming weeks (given 4.15 is not asking more attention)

nvazquez commented 3 years ago

@DaanHoogland is this still valid?

DaanHoogland commented 3 years ago

yes it is, there is a lot of antiquated code in the smoke tests still, as they are all fixed/passing it is low priority.

DaanHoogland commented 3 years ago

also it has been touched since a year ago, so removing the 1year old label

rohityadavcloud commented 3 years ago

Maybe review/close or update this issue @DaanHoogland ?

DaanHoogland commented 3 years ago

@rhtyd @nvazquez this will be open for a long time unless it's getting priority, which it won't as it concerned data and entities being left around in test environments when running smoke tests. I've updated the list and am addressing some for component tests and will address any further I encounter during other work. Maybe there should be a milestone "ongoing" or something?

nvazquez commented 3 years ago

Thanks @DaanHoogland, I've added the 'work in-progress' tag and moved it for next milestone

nvazquez commented 2 years ago

Hi @DaanHoogland any plans to work on this on 4.17?

DaanHoogland commented 2 years ago

Maybe given time I will pick up a few files again, @nvazquez

shwstppr commented 2 years ago

@DaanHoogland do you have any work planned for 4.17.1 or should this be moved to the next milestone?

DaanHoogland commented 2 years ago

moving to the next milestone @shwstppr even if I may do some files. I will attach the PR to a feasible milestone.