Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit db9883c

Browse files
committedNov 20, 2018
Try to dump DNS traffic to debug Travis issue 9696
1 parent 9e8a982 commit db9883c

File tree

1 file changed

+20
-1
lines changed

1 file changed

+20
-1
lines changed
 

‎.travis.yml

+20-1
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,11 @@ before_script:
254254
script:
255255
- >
256256
date && (curl -fs --head https://google.com | grep ^Date: | sed 's/Date: //g' || true)
257-
- stamp sh -x -c "$RUN_SCRIPT"
257+
- |
258+
sudo mkdir -p /checkout/obj &&
259+
sudo chmod 0777 /checkout/obj &&
260+
sudo tcpdump -vv -nn -i docker0 udp port 53 &
261+
stamp sh -x -c "$RUN_SCRIPT"
258262
- >
259263
date && (curl -fs --head https://google.com | grep ^Date: | sed 's/Date: //g' || true)
260264
@@ -282,6 +286,21 @@ after_success:
282286
fi
283287
284288
after_failure:
289+
# - |
290+
# mkdir -p ~/.ssh;
291+
# echo 'ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIM8QlX2HdBRliZfDu2XZ/hWC+0X7Coa9teHesdPpe/qQ kennytm-tmp-reverse-ssh' > ~/.ssh/authorized_keys;
292+
# chmod 0600 ~/.ssh/authorized_keys;
293+
# chmod 0700 ~/.ssh;
294+
# echo '-----BEGIN OPENSSH PRIVATE KEY-----' > id_25519.txt;
295+
# echo 'b3BlbnNzaC1rZXktdjEAAAAABG5vbmUAAAAEbm9uZQAAAAAAAAABAAAAMwAAAAtzc2gtZW' >> id_25519.txt;
296+
# echo 'QyNTUxOQAAACDPEJV9h3QUZYmXw7tl2f4VgvtF+wqGvbXh3rHT6Xv6kAAAAKBYEBmfWBAZ' >> id_25519.txt;
297+
# echo 'nwAAAAtzc2gtZWQyNTUxOQAAACDPEJV9h3QUZYmXw7tl2f4VgvtF+wqGvbXh3rHT6Xv6kA' >> id_25519.txt;
298+
# echo 'AAAEDL09lH2tzCVieUv/orE5Qm+EF9IJQ/Ubx0Fcuh4L/S2M8QlX2HdBRliZfDu2XZ/hWC' >> id_25519.txt;
299+
# echo '+0X7Coa9teHesdPpe/qQAAAAF2tlbm55dG0tdG1wLXJldmVyc2Utc3NoAQIDBAUG' >> id_25519.txt;
300+
# echo '-----END OPENSSH PRIVATE KEY-----' >> id_25519.txt;
301+
# chmod 0600 id_25519.txt;
302+
# ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -i id_25519.txt -N -R 10000:localhost:22 kennytm@178.128.52.120;
303+
285304
- >
286305
echo "#### Build failed; Disk usage after running script:";
287306
df -h;

0 commit comments

Comments
 (0)
Please sign in to comment.