This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
Harald Welte gerrit-no-reply at lists.osmocom.orgHarald Welte has submitted this change and it was merged. ( https://gerrit.osmocom.org/9897 ) Change subject: ttcn3-*: Merge logfiles no matter resolution of tests ...................................................................... ttcn3-*: Merge logfiles no matter resolution of tests Previous to this commit, log messages were not being merged if tests were resolved as failed (test-suite.sh ending with exit code != 0), which can happen if at least one test failed. Change-Id: If293fc2d3182ef2a7b997faa8b41129a9dd89c45 --- M ttcn3-bsc-test/Dockerfile M ttcn3-bts-test/Dockerfile M ttcn3-ggsn-test/Dockerfile M ttcn3-hlr-test/Dockerfile M ttcn3-mgw-test/Dockerfile M ttcn3-msc-test/Dockerfile M ttcn3-nitb-sysinfo/Dockerfile M ttcn3-sgsn-test/Dockerfile M ttcn3-sip-test/Dockerfile 9 files changed, 36 insertions(+), 18 deletions(-) Approvals: Harald Welte: Looks good to me, approved; Verified diff --git a/ttcn3-bsc-test/Dockerfile b/ttcn3-bsc-test/Dockerfile index 4f0c606..9bdc898 100644 --- a/ttcn3-bsc-test/Dockerfile +++ b/ttcn3-bsc-test/Dockerfile @@ -26,5 +26,7 @@ COPY BSC_Tests.cfg /data/BSC_Tests.cfg CMD cd /data && \ - /osmo-ttcn3-hacks/start-testsuite.sh /osmo-ttcn3-hacks/bsc/BSC_Tests && \ - /osmo-ttcn3-hacks/log_merge.sh BSC_Tests --rm + /osmo-ttcn3-hacks/start-testsuite.sh /osmo-ttcn3-hacks/bsc/BSC_Tests; \ + exit_code=$?; \ + /osmo-ttcn3-hacks/log_merge.sh BSC_Tests --rm; \ + exit $exit_code diff --git a/ttcn3-bts-test/Dockerfile b/ttcn3-bts-test/Dockerfile index 43ed4f0..3fec55b 100644 --- a/ttcn3-bts-test/Dockerfile +++ b/ttcn3-bts-test/Dockerfile @@ -26,5 +26,7 @@ COPY BTS_Tests.cfg /data/BTS_Tests.cfg CMD cd /data && \ - /osmo-ttcn3-hacks/start-testsuite.sh /osmo-ttcn3-hacks/bts/BTS_Tests && \ - /osmo-ttcn3-hacks/log_merge.sh BTS_Tests --rm + /osmo-ttcn3-hacks/start-testsuite.sh /osmo-ttcn3-hacks/bts/BTS_Tests; \ + exit_code=$?; \ + /osmo-ttcn3-hacks/log_merge.sh BTS_Tests --rm; \ + exit $exit_code diff --git a/ttcn3-ggsn-test/Dockerfile b/ttcn3-ggsn-test/Dockerfile index 3c676cd..4e5e2da 100644 --- a/ttcn3-ggsn-test/Dockerfile +++ b/ttcn3-ggsn-test/Dockerfile @@ -22,5 +22,7 @@ COPY GGSN_Tests.cfg /data/GGSN_Tests.cfg CMD cd /data && \ - /osmo-ttcn3-hacks/start-testsuite.sh /osmo-ttcn3-hacks/ggsn_tests/GGSN_Tests && \ - /osmo-ttcn3-hacks/log_merge.sh GGSN_Tests --rm + /osmo-ttcn3-hacks/start-testsuite.sh /osmo-ttcn3-hacks/ggsn_tests/GGSN_Tests; \ + exit_code=$?; \ + /osmo-ttcn3-hacks/log_merge.sh GGSN_Tests --rm; \ + exit $exit_code diff --git a/ttcn3-hlr-test/Dockerfile b/ttcn3-hlr-test/Dockerfile index 8a920a6..0dee3d3 100644 --- a/ttcn3-hlr-test/Dockerfile +++ b/ttcn3-hlr-test/Dockerfile @@ -26,5 +26,7 @@ COPY HLR_Tests.cfg /data/HLR_Tests.cfg CMD cd /data && \ - /osmo-ttcn3-hacks/start-testsuite.sh /osmo-ttcn3-hacks/hlr/HLR_Tests && \ - /osmo-ttcn3-hacks/log_merge.sh HLR_Tests --rm + /osmo-ttcn3-hacks/start-testsuite.sh /osmo-ttcn3-hacks/hlr/HLR_Tests; \ + exit_code=$?; \ + /osmo-ttcn3-hacks/log_merge.sh HLR_Tests --rm; \ + exit $exit_code diff --git a/ttcn3-mgw-test/Dockerfile b/ttcn3-mgw-test/Dockerfile index 423e9df..6460c0a 100644 --- a/ttcn3-mgw-test/Dockerfile +++ b/ttcn3-mgw-test/Dockerfile @@ -23,5 +23,7 @@ COPY MGCP_Test.cfg /data/MGCP_Test.cfg CMD cd /data && \ - /osmo-ttcn3-hacks/start-testsuite.sh /osmo-ttcn3-hacks/mgw/MGCP_Test && \ - /osmo-ttcn3-hacks/log_merge.sh MGCP_Test --rm + /osmo-ttcn3-hacks/start-testsuite.sh /osmo-ttcn3-hacks/mgw/MGCP_Test; \ + exit_code=$?; \ + /osmo-ttcn3-hacks/log_merge.sh MGCP_Test --rm; \ + exit $exit_code diff --git a/ttcn3-msc-test/Dockerfile b/ttcn3-msc-test/Dockerfile index 315638f..bbc60a2 100644 --- a/ttcn3-msc-test/Dockerfile +++ b/ttcn3-msc-test/Dockerfile @@ -26,5 +26,7 @@ COPY MSC_Tests.cfg /data/MSC_Tests.cfg CMD cd /data && \ - /osmo-ttcn3-hacks/start-testsuite.sh /osmo-ttcn3-hacks/msc/MSC_Tests && \ - /osmo-ttcn3-hacks/log_merge.sh MSC_Tests --rm + /osmo-ttcn3-hacks/start-testsuite.sh /osmo-ttcn3-hacks/msc/MSC_Tests; \ + exit_code=$?; \ + /osmo-ttcn3-hacks/log_merge.sh MSC_Tests --rm; \ + exit $exit_code diff --git a/ttcn3-nitb-sysinfo/Dockerfile b/ttcn3-nitb-sysinfo/Dockerfile index fb5ceb2..39860f2 100644 --- a/ttcn3-nitb-sysinfo/Dockerfile +++ b/ttcn3-nitb-sysinfo/Dockerfile @@ -20,5 +20,7 @@ COPY Test.cfg /data/Test.cfg CMD cd /data && \ - /osmo-ttcn3-hacks/start-testsuite.sh /osmo-ttcn3-hacks/sysinfo/Test && \ - /osmo-ttcn3-hacks/log_merge.sh Test + /osmo-ttcn3-hacks/start-testsuite.sh /osmo-ttcn3-hacks/sysinfo/Test; \ + exit_code=$?; \ + /osmo-ttcn3-hacks/log_merge.sh Test; \ + exit $exit_code diff --git a/ttcn3-sgsn-test/Dockerfile b/ttcn3-sgsn-test/Dockerfile index dfca1c4..d06195d 100644 --- a/ttcn3-sgsn-test/Dockerfile +++ b/ttcn3-sgsn-test/Dockerfile @@ -26,5 +26,7 @@ COPY SGSN_Tests.cfg /data/SGSN_Tests.cfg CMD cd /data && \ - /osmo-ttcn3-hacks/start-testsuite.sh /osmo-ttcn3-hacks/sgsn/SGSN_Tests && \ - /osmo-ttcn3-hacks/log_merge.sh SGSN_Tests --rm + /osmo-ttcn3-hacks/start-testsuite.sh /osmo-ttcn3-hacks/sgsn/SGSN_Tests; \ + exit_code=$?; \ + /osmo-ttcn3-hacks/log_merge.sh SGSN_Tests --rm; \ + exit $exit_code diff --git a/ttcn3-sip-test/Dockerfile b/ttcn3-sip-test/Dockerfile index d443d29..7d566b9 100644 --- a/ttcn3-sip-test/Dockerfile +++ b/ttcn3-sip-test/Dockerfile @@ -26,5 +26,7 @@ COPY SIP_Tests.cfg /data/SIP_Tests.cfg CMD cd /data && \ - /osmo-ttcn3-hacks/start-testsuite.sh /osmo-ttcn3-hacks/sip/SIP_Tests && \ - /osmo-ttcn3-hacks/log_merge.sh SIP_Tests --rm + /osmo-ttcn3-hacks/start-testsuite.sh /osmo-ttcn3-hacks/sip/SIP_Tests; \ + exit_code=$?; \ + /osmo-ttcn3-hacks/log_merge.sh SIP_Tests --rm; \ + exit $exit_code -- To view, visit https://gerrit.osmocom.org/9897 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: docker-playground Gerrit-Branch: master Gerrit-MessageType: merged Gerrit-Change-Id: If293fc2d3182ef2a7b997faa8b41129a9dd89c45 Gerrit-Change-Number: 9897 Gerrit-PatchSet: 1 Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de> Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org> -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20180706/241321f6/attachment.htm>