disabling pinging

50 views
Skip to first unread message

Richard Ginga

unread,
Mar 14, 2017, 12:19:04 PM3/14/17
to jenkins...@googlegroups.com
I have a virtualbox vm running on my macbook pro that has been repeated losing connection. I finally found this in the log:

Ping failed. Terminating the channel MAC-VM-Test-Node.

java.util.concurrent.TimeoutException: Ping started at 1489504487718 hasn't completed by 1489504727718

at hudson.remoting.PingThread.ping(PingThread.java:130)

at hudson.remoting.PingThread.run(PingThread.java:86)

and this workaround in the Jenkins defect tracker (24926)

-Dhudson.slaves.ChannelPinger.pingInterval=0

how can I temporarily set this in my live Jenkins using the system console? don't really want to restart it now.

Thanks
--
Dick Ginga
Build Engineer

Victor Martinez

unread,
Mar 14, 2017, 1:51:24 PM3/14/17
to Jenkins Users
You can set that system property temporarily if you use the jenkins Script Console ( https://wiki.jenkins-ci.org/display/JENKINS/Jenkins+Script+Console)

System.setProperty("hudson.slaves.ChannelPinger.pingInterval", "0")


Cheers

Richard Ginga

unread,
Mar 14, 2017, 1:52:15 PM3/14/17
to jenkins...@googlegroups.com
thank you very much



--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/85c8eafc-4e74-4fbd-b25f-bd6875b7529c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages