From dbac787e7b393a4cf79f711635d3fedf70e3dacd Mon Sep 17 00:00:00 2001 From: Jonathan Amsterdam Date: Sat, 9 Nov 2024 14:54:59 -0500 Subject: [PATCH] tests/README.md: add troubleshooting advice Add a paragraph to deal with a condition that I have encountered on my machine. Change-Id: Ie03a0e8ab4030973cdec8e84cd5877234830b8de Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/626856 LUCI-TryBot-Result: Go LUCI kokoro-CI: kokoro Reviewed-by: Hyang-Ah Hana Kim Reviewed-by: Robert Findley --- tests/README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tests/README.md b/tests/README.md index 1b2e942d7..dc4478bfd 100644 --- a/tests/README.md +++ b/tests/README.md @@ -101,3 +101,10 @@ If the tests fail with diffs, a file with the diffs will be created in the testdata directory that show the cause of the failure. Use `./devtools/docker/compose.sh logs` to get detailed logs of the docker containers. + +### Troubleshooting + +If docker fails with "connect: cannot assign requested address" during `run.sh`, +try running it again. It will eventually succeed. Do not pass the '-rm' flag so that +prior state is preserved. +You can also try reducing the value of cmdgonetlimit in devtools/docker/compose.yaml.