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
This commit is contained in:
parent
d909f50176
commit
43b1f4a901
|
@ -63,6 +63,8 @@ done
|
||||||
# emulate running container in foreground, which is no longer possible as we
|
# emulate running container in foreground, which is no longer possible as we
|
||||||
# must shift the net-devices into the container _after_ it is started
|
# must shift the net-devices into the container _after_ it is started
|
||||||
docker logs -f ${BUILD_TAG}-ttcn3-fr-test
|
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
|
# store execution logs for both containers
|
||||||
docker logs --timestamps ${BUILD_TAG}-ttcn3-fr-test > $VOL_BASE_DIR/fr-tester/exec.log
|
docker logs --timestamps ${BUILD_TAG}-ttcn3-fr-test > $VOL_BASE_DIR/fr-tester/exec.log
|
||||||
|
|
Loading…
Reference in New Issue