Skip to content

Commit 31b54b7

Browse files
committed
hack: debug mtu to vsphere
1 parent 5941928 commit 31b54b7

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

hack/e2e.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,15 @@ function wait_for_vsphere_reachable() {
149149
echo "Failed to reach https://${VSPHERE_SERVER}/sdk. Retrying in 1s ($n/30)"
150150
sleep 1
151151
done
152+
if [ "$RET" -ne 0 ]; then
153+
# Output some debug information in case of failing connectivity.
154+
echo "$ ip link"
155+
ip link
156+
echo "# installing tcptraceroute to check route"
157+
apt-get update && apt-get install -y tcptraceroute
158+
echo "$ tcptraceroute ${VSPHERE_SERVER} 443"
159+
tcptraceroute "${VSPHERE_SERVER}" 443
160+
fi
152161
return "$RET"
153162
}
154163
# Only run the boskos/check for IPAM when we need them (not for vcsim)

0 commit comments

Comments
 (0)