Commit 07c3053
committed
Dump JVM output when
This is to diagnose recurring:
```
Starting local Bazel server (8.3.1) and connecting to it...
... still trying to connect to local Bazel server (45008) after 10 seconds ...
... still trying to connect to local Bazel server (45008) after 20 seconds ...
... still trying to connect to local Bazel server (45008) after 30 seconds ...
... still trying to connect to local Bazel server (45008) after 40 seconds ...
... still trying to connect to local Bazel server (45008) after 50 seconds ...
... still trying to connect to local Bazel server (45008) after 60 seconds ...
... still trying to connect to local Bazel server (45008) after 70 seconds ...
... still trying to connect to local Bazel server (45008) after 80 seconds ...
... still trying to connect to local Bazel server (45008) after 90 seconds ...
... still trying to connect to local Bazel server (45008) after 100 seconds ...
... still trying to connect to local Bazel server (45008) after 110 seconds ...
FATAL: couldn't connect to server (45008) after 120 seconds.
```
The change hopefully provides more actionable material when it happens.
There's no need to wait for 2 minutes prior to bailing out, so
decreasing to 30 seconds will probably allow us to reproduce more
frequently.
Also, we'll print any running `bazel.exe` or `java.exe` before and after
the `bazel` command to know whether there should be additional cleanup
to consider adding.bazel fails on Windows1 parent 9debed3 commit 07c3053
1 file changed
+11
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| 45 | + | |
45 | 46 | | |
46 | 47 | | |
47 | 48 | | |
48 | 49 | | |
49 | 50 | | |
50 | 51 | | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
51 | 55 | | |
52 | 56 | | |
53 | 57 | | |
| |||
56 | 60 | | |
57 | 61 | | |
58 | 62 | | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
59 | 70 | | |
60 | 71 | | |
61 | 72 | | |
| |||
0 commit comments