X-Git-Url: https://wannabe.guru.org/gitweb/?a=blobdiff_plain;f=executors.py;h=6ccd7b675c760315d05158d68dad0768cc0f0871;hb=55a3172e37855f388b9ba0dfc91641a6c9ad1376;hp=336f2c72e2685157db362921ce2384fb1476423a;hpb=ffc4022c1ea2c2a5892150ff55e6c9a9ddbb8756;p=python_utils.git diff --git a/executors.py b/executors.py index 336f2c7..6ccd7b6 100644 --- a/executors.py +++ b/executors.py @@ -493,7 +493,6 @@ class WeightedRandomRemoteWorkerSelectionPolicy(RemoteWorkerSelectionPolicy): return worker msg = 'Unexpectedly could not find a worker, retrying...' logger.warning(msg) - warnings.warn(msg) return None @@ -530,7 +529,6 @@ class RoundRobinRemoteWorkerSelectionPolicy(RemoteWorkerSelectionPolicy): if x == self.index: msg = 'Unexpectedly could not find a worker, retrying...' logger.warning(msg) - warnings.warn(msg) return None @@ -777,7 +775,6 @@ class RemoteExecutor(BaseExecutor): msg += 'We\'re a backup and this may be caused by the original (or some ' msg += 'other backup) already finishing this work. Ignoring this.' logger.warning(msg) - warnings.warn(msg) return None # Kick off the work. Note that if this fails we let @@ -851,7 +848,6 @@ class RemoteExecutor(BaseExecutor): if p is not None: msg = f"{bundle}: Failed to wrap up \"done\" bundle, re-waiting on active ssh." logger.warning(msg) - warnings.warn(msg) return self.wait_for_process(p, bundle, depth + 1) else: self.status.record_release_worker(