rancher / distros-test-framework

5 stars 9 forks source link

fix cluster fail #115

Closed fmoral2 closed 3 months ago

fmoral2 commented 4 months ago

Proposed Changes

Types of Changes

Testing

Checklist:

  1. If your PR changes anything on or related to Jenkins, run it pointing to your branch to make sure it's okay.

  2. Verify code lint; we should not have errors.

  3. Update the documentation if needed.

  4. Update makefile and docker run if adding new tests.

  5. Run your tests at least 4 times with all configurations needed and possible.

  6. If needed test with different os types.

Linked Issues

Further Comments

fmoral2 commented 4 months ago

this needs to go after https://github.com/rancher/distros-test-framework/pull/116

thats why its failing CI

mdrahman-suse commented 4 months ago

Needs rebasing and linter error fixes

fmoral2 commented 3 months ago

ah the CI check failed it. I think maybe the best thing to do here is actually move the createcluster logic to a BeforeSuite, and remove this destroycluster block altogether. That way, it will run the AfterSuite of destroy if the create cluster fails

mdrahman-suse commented 3 months ago

ah the CI check failed it. I think maybe the best thing to do here is actually move the createcluster logic to a BeforeSuite, and remove this destroycluster block altogether. That way, it will run the AfterSuite of destroy if the create cluster fails

  • this was failing due to a circular dependency, i have fixed using logger directly instead calling it from shared

I think we should standardize using logger instead of shared lib to make it simple and reduce errors

fmoral2 commented 3 months ago

@mdrahman-suse sorry i had push a change not supposed to be pushed, i was only testing a cmd for k3s etcd