fr: kill the frnet container before trying to 'rm' it

+ docker container rm jenkins-ttcn3-fr-test-109-frnet jenkins-ttcn3-fr-test-109-ttcn3-fr-test
jenkins-ttcn3-fr-test-109-ttcn3-fr-test
Error response from daemon: You cannot remove a running container 4f5ec7f412b2d37d00b2738b2bcddffada36efebfe7ce32ed196543ee436154e. Stop the container before attempting removal or force remove

Change-Id: I66ed0d073bdd6962f78da54232d6bc58adc09e2c
changes/79/23379/2
Harald Welte 2 years ago committed by laforge
parent d909f50176
commit 43b1f4a901
  1. 2
      ttcn3-fr-test/jenkins.sh

@ -63,6 +63,8 @@ done
# emulate running container in foreground, which is no longer possible as we
# must shift the net-devices into the container _after_ it is started
docker logs -f ${BUILD_TAG}-ttcn3-fr-test
# kill the frnet container to avoid "You cannot remove a running container " below in 'rm'
docker kill ${BUILD_TAG}-frnet
# store execution logs for both containers
docker logs --timestamps ${BUILD_TAG}-ttcn3-fr-test > $VOL_BASE_DIR/fr-tester/exec.log

Loading…
Cancel
Save