]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/commitdiff
dispatcher: cleanup from result_proc
authorKyr Shatskyy <kyrylo.shatskyy@clyso.com>
Tue, 12 May 2026 13:45:35 +0000 (15:45 +0200)
committerKyr Shatskyy <kyrylo.shatskyy@clyso.com>
Tue, 12 May 2026 13:45:35 +0000 (15:45 +0200)
The teuthology-results is not run in dispatcher anymore,
instead it is started in from the supervisor.

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@clyso.com>
teuthology/dispatcher/__init__.py

index 7ac0356cc41d1ee3a015345745a67760956f5976..d32e1fc32fafe165f99ca6ce175a1b3fad20f3a7 100644 (file)
@@ -96,7 +96,6 @@ def main(args):
 
     connection = beanstalk.connect()
     beanstalk.watch_tube(connection, args.tube)
-    result_proc = None
 
     if teuth_config.teuthology_path is None:
         repo_utils.fetch_teuthology('main')
@@ -110,13 +109,6 @@ def main(args):
 
     while keep_running:
         try:
-            # Check to see if we have a teuthology-results process hanging around
-            # and if so, read its return code so that it can exit.
-            if result_proc is not None and result_proc.poll() is not None:
-                log.debug("teuthology-results exited with code: %s",
-                          result_proc.returncode)
-                result_proc = None
-
             if sentinel(restart_file_path):
                 restart()
             elif sentinel(stop_file_path):