Merge "Help with troubleshooting failures from venv.py"

This commit is contained in:
Zuul 2019-10-18 09:48:04 +00:00 committed by Gerrit Code Review
commit 4a42196852
1 changed files with 2 additions and 1 deletions

View File

@ -113,7 +113,8 @@ class OvsVenvFixture(fixtures.Fixture):
def call(self, cmd, *args, **kwargs):
cwd = kwargs.pop('cwd', self.venv)
return subprocess.check_call(
cmd, *args, env=self.env, cwd=cwd, **kwargs)
cmd, *args, env=self.env, stderr=subprocess.STDOUT,
cwd=cwd, **kwargs)
def get_pids(self):
files = glob.glob(os.path.join(self.venv, "*.pid"))