From 0f63ef4b6de19b26d808130c9a5da67947f64190 Mon Sep 17 00:00:00 2001 From: Oliver Smith Date: Tue, 22 Feb 2022 11:57:18 +0100 Subject: [PATCH] ttcn3-fr-test/jenkins.sh: revert docker run --rm Revert the change of adding a --rm to the "docker run" commands done in I48b01c43fedf379b8a565eaab0369806d7831bd8. This script runs the containers in the background, waits until they are done, copies the logs and then removes them afterwards. Fix for: + docker kill jenkins-ttcn3-fr-test-384-frnet jenkins-ttcn3-fr-test-384-frnet + docker logs --timestamps jenkins-ttcn3-fr-test-384-ttcn3-fr-test Error: No such container: jenkins-ttcn3-fr-test-384-ttcn3-fr-test Change-Id: I56dc07820ccfa8ad6936764262a7c6c272e59c37 --- ttcn3-fr-test/jenkins.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ttcn3-fr-test/jenkins.sh b/ttcn3-fr-test/jenkins.sh index 34aa740c..4531e3aa 100755 --- a/ttcn3-fr-test/jenkins.sh +++ b/ttcn3-fr-test/jenkins.sh @@ -25,7 +25,7 @@ mkdir $VOL_BASE_DIR/unix echo Starting container with FRNET docker run \ - --rm \ + `# --rm is done in below` \ --cap-add=NET_RAW --cap-add=SYS_RAWIO \ $(docker_network_params $SUBNET 10) \ --ulimit core=-1 \ @@ -45,7 +45,7 @@ done echo Starting container with FR testsuite docker run \ - --rm \ + `# --rm is done in below` \ --cap-add=NET_RAW --cap-add=SYS_RAWIO \ $(docker_network_params $SUBNET 103) \ --ulimit core=-1 \