laforge has submitted this change. ( https://gerrit.osmocom.org/c/docker-playground/+/23373 )
Change subject: ttcn3-fr-test: store execution logs for both containers ...................................................................... ttcn3-fr-test: store execution logs for both containers Change-Id: I60e60bfdc9f6b8fde81189d35d0ca4e73e310cc7 --- M ttcn3-fr-test/jenkins.sh 1 file changed, 7 insertions(+), 2 deletions(-) Approvals: laforge: Looks good to me, approved; Verified diff --git a/ttcn3-fr-test/jenkins.sh b/ttcn3-fr-test/jenkins.sh index 1e383e5..bfe775f 100755 --- a/ttcn3-fr-test/jenkins.sh +++ b/ttcn3-fr-test/jenkins.sh @@ -23,7 +23,7 @@ mkdir $VOL_BASE_DIR/unix echo Starting container with FRNET -docker run --rm \ +docker run \ --cap-add=NET_RAW --cap-add=SYS_RAWIO \ $(docker_network_params $SUBNET 10) \ --ulimit core=-1 \ @@ -42,7 +42,7 @@ done echo Starting container with FR testsuite -docker run --rm \ +docker run \ --cap-add=NET_RAW --cap-add=SYS_RAWIO \ $(docker_network_params $SUBNET 103) \ --ulimit core=-1 \ @@ -63,3 +63,8 @@ # 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 + +# 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}-frnet > $VOL_BASE_DIR/frnet/exec.log +docker container rm ${BUILD_TAG}-frnet ${BUILD_TAG}-ttcn3-fr-test -- To view, visit https://gerrit.osmocom.org/c/docker-playground/+/23373 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: docker-playground Gerrit-Branch: master Gerrit-Change-Id: I60e60bfdc9f6b8fde81189d35d0ca4e73e310cc7 Gerrit-Change-Number: 23373 Gerrit-PatchSet: 1 Gerrit-Owner: fixeria <vyanits...@sysmocom.de> Gerrit-Reviewer: laforge <lafo...@osmocom.org> Gerrit-MessageType: merged