]> git.apps.os.sepia.ceph.com Git - teuthology.git/commitdiff
Remove the child's stderr completely
authorZack Cerza <zack@cerza.org>
Thu, 12 Dec 2013 21:45:58 +0000 (15:45 -0600)
committerZack Cerza <zack@cerza.org>
Thu, 12 Dec 2013 21:45:58 +0000 (15:45 -0600)
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
teuthology/queue.py

index fd8a7790ad92166cd7a30b2814b6eba9f4d8ae18..12cb56ea2e87e376ebd0d1da885c005811e9fb0f 100644 (file)
@@ -254,16 +254,8 @@ def run_job(job_config, teuth_bin_path):
         yaml.safe_dump(data=job_config, stream=tmp)
         tmp.flush()
         arg.append(tmp.name)
-        p = subprocess.Popen(
-            args=arg,
-            close_fds=True,
-            stderr=subprocess.PIPE,
-        )
+        p = subprocess.Popen(args=arg)
         log.info("Job archive: %s", job_config['archive_path'])
-        # Disabling this for now to reduce noise
-        #child = logging.getLogger(__name__ + '.child')
-        #for line in p.stderr:
-        #    child.error(': %s', line.rstrip('\n'))
 
         if teuth_config.results_server:
             log.info("Running with watchdog")