From e8b20b7f81ff612450b03fbc924506d3d37589f1 Mon Sep 17 00:00:00 2001 From: Adeeb Shihadeh Date: Fri, 21 Jul 2023 18:35:29 -0700 Subject: [PATCH] CI: fix no DNS after tests killed (#29090) * CI: fix no DNS after tests killed * fix --- Jenkinsfile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index 85c1d55e68..b4d4cfd4a0 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -18,6 +18,12 @@ export GIT_SSH_COMMAND="ssh -i /data/gitkey" source ~/.bash_profile if [ -f /TICI ]; then source /etc/profile + + if ! systemctl is-active --quiet systemd-resolved; then + echo "restarting resolved" + sudo systemctl start systemd-resolved + sleep 3 + fi fi if [ -f /data/openpilot/launch_env.sh ]; then source /data/openpilot/launch_env.sh