<p><a href="https://gerrit.osmocom.org/c/osmo-gsm-tester/+/24678">View Change</a></p><p>1 comment:</p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/c/osmo-gsm-tester/+/24678/1//COMMIT_MSG">Commit Message:</a></p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/c/osmo-gsm-tester/+/24678/1//COMMIT_MSG@11">Patch Set #1, Line 11:</a> <code style="font-family:monospace,monospace"> - create_netns: pass "run_dir" to Process and convert the arguments to</code></p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;">ACK for the first. For the second, It's not really a fix since it works fine anyway. […]</blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">It doesn't work. The local one uses the Process class, with the constructor <br>def __init__(self, name, run_dir, popen_args, **popen_kwargs):</p><p style="white-space: pre-wrap; word-wrap: break-word;">and it needs the run_dir or it crashed because it mismatches the args with the run_dir. </p><p style="white-space: pre-wrap; word-wrap: break-word;">remote.py uses the RemoteProcess function with a different arguments:</p><p style="white-space: pre-wrap; word-wrap: break-word;">def RemoteProcess(self, name, popen_args, remote_env={}, **popen_kwargs):</p><p style="white-space: pre-wrap; word-wrap: break-word;"><br>It's true that remote.py uses () instead [], but in utils.py almost all the methods use [], so I wanted to be consistent within that file. If you prefer () only for that function I can update the commit</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-gsm-tester/+/24678">change 24678</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/c/osmo-gsm-tester/+/24678"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-gsm-tester </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: Ida4c6d6500be92b8d1f96e4e7a870e63bd329be9 </div>
<div style="display:none"> Gerrit-Change-Number: 24678 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: alealcon <alejandro.leal@srs.io> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-CC: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-Comment-Date: Tue, 15 Jun 2021 16:44:43 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-Has-Labels: No </div>
<div style="display:none"> Comment-In-Reply-To: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: comment </div>