Save additional DNS info

We are still having trouble debugging DNS failures. We have had jobs
with name resolution failures and no unbound errors logged. Capture
resolv.conf and process info about what is listening on port 53 to
double check that unbound is even being used.

Change-Id: Idab85aced72ed08c4abaf9b63fb79e943cbbbc62
This commit is contained in:
Clark Boylan 2017-06-19 13:20:15 -07:00
parent ec35f37047
commit b3d72d7ba5
1 changed files with 4 additions and 0 deletions

View File

@ -879,6 +879,10 @@ function cleanup_host {
sudo cp -r /var/core $BASE/logs/
fi
# DNS checks
save_file /etc/resolv.conf
sudo ss -lntup | grep ':53' > $WORKSPACE/listen53.txt
save_file $WORKSPACE/listen53.txt
# unbound
save_file /var/log/unbound.log