<p>osmith <strong>uploaded patch set #3</strong> to this change.</p><p><a href="https://gerrit.osmocom.org/c/docker-playground/+/23001">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">jenkins-common.sh: add common clean up trap<br><br>Add set_clean_up_trap() in jenkins-common.sh and run it at the beginning<br>of the jenkins.sh files. Move the common clean up code from the end of<br>every jenkins.sh file into clean_up_common(), which gets called by the<br>trap. Add a custom clean_up() function to those jenkins.sh files that<br>need additional clean up.<br><br>Replace explicit container stop commands (for containers attached to the<br>docker network) with one call to network_clean() in clean_up_common(). It<br>kills all containers attached to the docker network.<br><br>The motivation for this change is the upcoming optional build of initrd<br>and kernel during ttcn3-ggsn-test/jenkins.sh. After building these, a<br>short smoke test will be performed to make sure we can boot the kernel<br>and initrd, before continuing to run the entire testsuite against it. If<br>building or the smoke test fails, we must do a proper clean up of the<br>network and fix permissions.<br><br>Related: OS#3208<br>Change-Id: I807c6221d22fec31db23e2516e477a3eb43347fb<br>---<br>M jenkins-common.sh<br>M nplab-m3ua-test/jenkins.sh<br>M nplab-sua-test/jenkins.sh<br>M osmo-gsm-tester/jenkins.sh<br>M ttcn3-bsc-test/jenkins-sccplite.sh<br>M ttcn3-bsc-test/jenkins.sh<br>M ttcn3-bscnat-test/jenkins.sh<br>M ttcn3-bts-test/jenkins.sh<br>M ttcn3-fr-test/jenkins.sh<br>M ttcn3-gbproxy-test-fr/jenkins.sh<br>M ttcn3-gbproxy-test/jenkins.sh<br>M ttcn3-ggsn-test/jenkins.sh<br>M ttcn3-hlr-test/jenkins.sh<br>M ttcn3-mgw-test/jenkins.sh<br>M ttcn3-msc-test/jenkins.sh<br>M ttcn3-nitb-sysinfo/jenkins.sh<br>M ttcn3-pcu-test/jenkins-sns.sh<br>M ttcn3-pcu-test/jenkins.sh<br>M ttcn3-remsim-test/jenkins.sh<br>M ttcn3-sccp-test/jenkins.sh<br>M ttcn3-sgsn-test/jenkins.sh<br>M ttcn3-sip-test/jenkins.sh<br>M ttcn3-smlc-test/jenkins.sh<br>M ttcn3-stp-test/jenkins.sh<br>24 files changed, 98 insertions(+), 171 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/01/23001/3</pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/docker-playground/+/23001">change 23001</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/+/23001"/><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: I807c6221d22fec31db23e2516e477a3eb43347fb </div>
<div style="display:none"> Gerrit-Change-Number: 23001 </div>
<div style="display:none"> Gerrit-PatchSet: 3 </div>
<div style="display:none"> Gerrit-Owner: osmith <osmith@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Gerrit-Reviewer: osmith <osmith@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: newpatchset </div>