-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
Windows 7 SP1 x64 master
Windows 7 SP1 x64 slave
connection over JNLP agent
Project on slave builders with perforce SCM are hanging after several hours. Perforces workspaces configered as permanent with only one checkbox
"Don't update client workspace".
Main log:
Sep 26, 2012 1:16:28 PM hudson.plugins.perforce.PerforceSCM getEffectiveClientName
WARNING: Could not get hostname for slave <SlaveName>
Polling log:
Started on Sep 26, 2012 1:19:27 PM
Looking for changes...
Using node: Builder
Using remote perforce client: <ws_name>
terminate here
- is duplicated by
-
JENKINS-18549 No timeout on polling threads
-
- Resolved
-
InputStream.available() returns null by default. Several child classes like BufferedInputStream override this method.
What about usage of Future wrapper? StackOverflow has several samples: http://stackoverflow.com/questions/804951/is-it-possible-to-read-from-a-inputstream-with-a-timeout
P.S: I suppose that usage of newest P4Java versions could be the best solution for this issue (not for workaround), but it almost means rewriting from scratch.