Project

General

Profile

Actions

Feature #10940

open

support running commands with the same environment a user would

Added by Greg Farnum about 9 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
% Done:

0%

Source:
Development
Tags:
Backport:
Reviewed:
Affected Versions:

Description

This comes out of #10600. While we were able to generate the necessary PATH info in the workunit.py task to solve that problem, it's going to continue to be a problem in future that what we run under teuthology has different environment settings than what we run interactively. (For instance, we pretty frequently stick an "lsof" command in the middle of tests which are failing due to open files.)

Testing has confirmed that "ssh bash -lc" does get you the proper environment set up, but handling the quoting so things are interpreted at the right level can be annoying and I'm not sure what the impact of invoking many of our other wrappers inside a subsidiary shell might be.

No data to display

Actions

Also available in: Atom PDF