Open pondrejk opened 3 years ago
anyway, as @mshriver has noted in the chat, the test uses a fixture that registers a finalizer. This finalizer should delete the proxy.
I believe the whole issue boils down to this method failing to do so.
I'll try to dig out the production.log
to see if ther was a DELETE
request and how it went.
kudos to @rplevka for investigation this fixture: https://github.com/SatelliteQE/robottelo/blob/master/tests/foreman/cli/test_realm.py#L34 creates a foreman smart proxy (fake one, it's just an internal proxy loopback on a new port). since there is no cleanup, it stays created even thought the tunnel is destroyed, thus the smart proxy on that port number is no longer reachable.
this creates issues with other tests - for example one that use "deploy PXE default template" feature, which goes through all capsules. it now fails on it.
I think these proxy records are greedy and are being assigned to every new organization.