Log START and END of tests in combined container logs
Change-Id: I4aaee399d0289a497d6400466cdc193d5eaf57e4
diff --git a/libraries/utils.robot b/libraries/utils.robot
index 6b8b51d..24397b4 100644
--- a/libraries/utils.robot
+++ b/libraries/utils.robot
@@ -295,3 +295,10 @@
... Check Ping ${pingStatus} ${dst['dp_iface_ip_qinq']} ${src['dp_iface_name']}
... ${src['ip']} ${src['user']} ${src['pass']} ${src['container_type']} ${src['container_name']}
END
+
+Announce Message
+ [Arguments] ${message}
+ [Documentation] Announce a message that will be picked up by the log aggregator
+ Run Process kubectl delete pod announcer
+ Run Process kubectl run announcer -ti --restart Never --image ubuntu
+ ... bash -- -c echo; sleep 1; echo ${message}; sleep 1; date --rfc-3339\=n ; sleep 1; echo; sleep 1