-
Bug
-
Resolution: Fixed
-
Blocker
-
None
-
Platform: PC, OS: Linux
When I run Hudson with xvnc and the build is aborted after a time of 90 minutes
I obtain the following error in console and the build is marked as failed:
[junit] Running TestA
Build timed out. Aborting
Terminating xvnc
[workspace] $ /usr/bin/vncserver -kill :11
Killing Xvnc4 process ID 10446
FATAL: String index out of range: -1
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(String.java:1938)
at hudson.EnvVars.addLine(EnvVars.java:73)
at
hudson.util.ProcessTreeKiller$Linux$LinuxProcess.getEnvVars(ProcessTreeKiller.java:418)
at hudson.util.ProcessTreeKiller$Unix.kill(ProcessTreeKiller.java:200)
at hudson.Proc$LocalProc.destroy(Proc.java:166)
at hudson.Proc$LocalProc.join(Proc.java:151)
at hudson.tasks.Ant.perform(Ant.java:180)
at hudson.model.Build$RunnerImpl.build(Build.java:138)
at hudson.model.Build$RunnerImpl.doRun(Build.java:113)
at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:241)
at hudson.model.Run.run(Run.java:817)
at hudson.model.Build.run(Build.java:88)
at hudson.model.ResourceController.execute(ResourceController.java:70)
at hudson.model.Executor.run(Executor.java:90)