<p>fixeria has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/docker-playground/+/23373">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">ttcn3-fr-test: store execution logs for both containers<br><br>Change-Id: I60e60bfdc9f6b8fde81189d35d0ca4e73e310cc7<br>---<br>M ttcn3-fr-test/jenkins.sh<br>1 file changed, 7 insertions(+), 2 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/docker-playground refs/changes/73/23373/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/ttcn3-fr-test/jenkins.sh b/ttcn3-fr-test/jenkins.sh</span><br><span>index 1e383e5..bfe775f 100755</span><br><span>--- a/ttcn3-fr-test/jenkins.sh</span><br><span>+++ b/ttcn3-fr-test/jenkins.sh</span><br><span>@@ -23,7 +23,7 @@</span><br><span> mkdir $VOL_BASE_DIR/unix</span><br><span> </span><br><span> echo Starting container with FRNET</span><br><span style="color: hsl(0, 100%, 40%);">-docker run --rm \</span><br><span style="color: hsl(120, 100%, 40%);">+docker run      \</span><br><span>            --cap-add=NET_RAW --cap-add=SYS_RAWIO \</span><br><span>              $(docker_network_params $SUBNET 10) \</span><br><span>                --ulimit core=-1 \</span><br><span>@@ -42,7 +42,7 @@</span><br><span> done</span><br><span> </span><br><span> echo Starting container with FR testsuite</span><br><span style="color: hsl(0, 100%, 40%);">-docker run       --rm \</span><br><span style="color: hsl(120, 100%, 40%);">+docker run      \</span><br><span>            --cap-add=NET_RAW --cap-add=SYS_RAWIO \</span><br><span>              $(docker_network_params $SUBNET 103) \</span><br><span>               --ulimit core=-1 \</span><br><span>@@ -63,3 +63,8 @@</span><br><span> # emulate running container in foreground, which is no longer possible as we</span><br><span> # must shift the net-devices into the container _after_ it is started</span><br><span> docker logs  -f ${BUILD_TAG}-ttcn3-fr-test</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+# store execution logs for both containers</span><br><span style="color: hsl(120, 100%, 40%);">+docker logs --timestamps ${BUILD_TAG}-ttcn3-fr-test > $VOL_BASE_DIR/fr-tester/exec.log</span><br><span style="color: hsl(120, 100%, 40%);">+docker logs --timestamps ${BUILD_TAG}-frnet > $VOL_BASE_DIR/frnet/exec.log</span><br><span style="color: hsl(120, 100%, 40%);">+docker container rm ${BUILD_TAG}-frnet ${BUILD_TAG}-ttcn3-fr-test</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/docker-playground/+/23373">change 23373</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/docker-playground/+/23373"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: docker-playground </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I60e60bfdc9f6b8fde81189d35d0ca4e73e310cc7 </div>
<div style="display:none"> Gerrit-Change-Number: 23373 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: fixeria <vyanitskiy@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>