vstart_runner: make "shell" as default argument#38443
Conversation
|
Odd, never requested review from api group. |
23660a2 to
ff51c81
Compare
|
jenkins test make check |
ff51c81 to
1c801ef
Compare
1c801ef to
b1272d5
Compare
b1272d5 to
dd75470
Compare
|
The PR branch update contains the fix for the issue reported here - #38443 (comment). |
0651ef1 to
73e411e
Compare
73e411e to
c7c5ad8
Compare
c7c5ad8 to
7cfae0d
Compare
|
@batrick ping. |
|
About the PR branch update: Testing an enhancement with the new commit. |
696a83d to
766b9e2
Compare
|
Details about last update: #38443 (comment). |
|
Tested with vstart_runner - https://gist.github.com/rishabh-d-dave/49fc5ad0a01a96f1d8cefe679c4feca2. |
|
@batrick This PR is ready for review and locally it runs fine. Also, changes to vstart_runner.py have been tested but I am confused if this PR requires more testing since it makes some modifications to qa/tasks/ceph_manager.py and qa/tasks/ceph_test_case.py but in effect those changes lead to nothing different than master. |
766b9e2 to
3bdec04
Compare
|
@batrick So, except for test_mantle, everything is covered. |
Add "shell" as a parameter for LocalRemoteProcess._do_run() and set its default value to True. This is necessary to align the interface that executes the commands for the teuthology and for vstart_runner.py which reduces compatibility bugs between vstart_runner and teuthology for tests. Also, update the part where LocalRemote._do_run() sets shell to True based on whether or not list contains an instance of class Raw. Signed-off-by: Rishabh Dave <ridave@redhat.com>
Setting shell to True in call to run() in LocalCephManager.run_ceph_w() leads to a crash when self.subproc.communicate() is executed for the process created by running "ceph -w". Signed-off-by: Rishabh Dave <ridave@redhat.com>
3bdec04 to
df88ec3
Compare
* refs/pull/38443/head: qa: set "shell" to False for run_ceph_w() vstart_runner: make "shell" a default argument
|
And set its default value to True since methods like
LocalRemote.write_file() pass bash's built-in commands.
Also, update the part where LocalRemote._do_run() sets shell to True
based on whether or not list contains an instance of class Raw.
Checklist
Show available Jenkins commands
jenkins retest this pleasejenkins test classic perfjenkins test crimson perfjenkins test signedjenkins test make checkjenkins test make check arm64jenkins test submodulesjenkins test dashboardjenkins test apijenkins test docsjenkins render docsjenkins test ceph-volume alljenkins test ceph-volume tox