Change in osmo-ttcn3-hacks[master]: log time in tcpdump-start and

Harald Welte gerrit-no-reply at
Thu Mar 7 17:09:32 UTC 2019

Harald Welte has submitted this change and it was merged. ( )

Change subject: log time in tcpdump-start and

log time in tcpdump-start and

Also log the testcase name in

The output now looks like

    ------ MSC_Tests.TC_mo_cc_bssmap_clear ------
    Thu Mar  7 13:21:00 UTC 2019
    Thu Mar  7 13:21:04 UTC 2019
    ====== MSC_Tests.TC_mo_cc_bssmap_clear pass ======

The reason to log start and end dates came up like this: I noticed a segfault
in a tested program at a specific time. From the timestamp I tried to find out
which of the tests saw the failure. (After a segfault, all subsequent tests run
and fail, but it is not obvious which failure occured because of a segfault,
and which ones just normally failed before that.) Looking at the timestamps of
the log files didn't help, because the ttcn3_logmerge touched those after the
tests completed. So the only way is to cat each individual log file and find
the timestamp.

So this adds an overview of the timestamps without needing to open log files.

Change-Id: I0832d9b5df599baad5dec8d3a993481b4286fbb3
2 files changed, 5 insertions(+), 0 deletions(-)

  Jenkins Builder: Verified
  Pau Espin Pedrol: Looks good to me, but someone else must approve
  Max: Looks good to me, approved
  Harald Welte: Looks good to me, approved

diff --git a/ b/
index 395941d..747002b 100755
--- a/
+++ b/
@@ -4,6 +4,9 @@
+echo "------ $TESTCASE ------"
 if [ "z$TTCN3_PCAP_PATH" = "z" ]; then
diff --git a/ b/
index 9404841..baabefe 100755
--- a/
+++ b/
@@ -4,6 +4,8 @@
 if [ x"$VERDICT" = x"pass" ]; then
 	echo "\033[1;32m====== $TESTCASE $VERDICT ======\033[0m"

To view, visit
To unsubscribe, or for help writing mail filters, visit

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I0832d9b5df599baad5dec8d3a993481b4286fbb3
Gerrit-Change-Number: 13166
Gerrit-PatchSet: 1
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at>
Gerrit-Reviewer: Harald Welte <laforge at>
Gerrit-Reviewer: Jenkins Builder (1000002)
Gerrit-Reviewer: Max <msuraev at>
Gerrit-Reviewer: Pau Espin Pedrol <pespin at>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the gerrit-log mailing list