Remote call on JNLP4-connect connection

7,160 views
Skip to first unread message

LnT

unread,
Oct 17, 2017, 9:46:13 AM10/17/17
to Jenkins Users
Hi,

project configuration is working till yesterday. all of sudden start failing.


Precisely , project does below things
1. Fetch code from git lab
2. Fetch code from external site using npm
3. create and deploys the package

project fails - even before step#1
Please find below console log. Could someone please help.

 Building remotely on slav1 in workspace D:\JenkinsSlv\workspace\RTM
 FATAL: java.io.IOException: Remote call on JNLP4-connect connection from slav1.applications.com/10.112.17.119:53814 failed
 java.lang.OutOfMemoryError: PermGen space
  at sun.misc.Unsafe.defineClass(Native Method)
  at sun.reflect.ClassDefiner.defineClass(Unknown Source)
  at sun.reflect.MethodAccessorGenerator$1.run(Unknown Source)
  at sun.reflect.MethodAccessorGenerator$1.run(Unknown Source)
  at java.security.AccessController.doPrivileged(Native Method)
  at sun.reflect.MethodAccessorGenerator.generate(Unknown Source)
  at sun.reflect.MethodAccessorGenerator.generateSerializationConstructor(Unknown Source)
  at sun.reflect.ReflectionFactory.newConstructorForSerialization(Unknown Source)
  at java.io.ObjectStreamClass.getSerializableConstructor(Unknown Source)
  at java.io.ObjectStreamClass.access$1500(Unknown Source)
  at java.io.ObjectStreamClass$2.run(Unknown Source)
  at java.io.ObjectStreamClass$2.run(Unknown Source)
  at java.security.AccessController.doPrivileged(Native Method)
  at java.io.ObjectStreamClass.<init>(Unknown Source)
  at java.io.ObjectStreamClass.lookup(Unknown Source)
  at java.io.ObjectOutputStream.writeObject0(Unknown Source)
  at java.io.ObjectOutputStream.writeArray(Unknown Source)
  at java.io.ObjectOutputStream.writeObject0(Unknown Source)
  at java.io.ObjectOutputStream.defaultWriteFields(Unknown Source)
  at java.io.ObjectOutputStream.writeSerialData(Unknown Source)
  at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source)
  at java.io.ObjectOutputStream.writeObject0(Unknown Source)
  at java.io.ObjectOutputStream.writeObject(Unknown Source)
  at hudson.remoting.UserRequest._serialize(UserRequest.java:190)
  at hudson.remoting.UserRequest.serialize(UserRequest.java:199)
  at hudson.remoting.UserRequest.<init>(UserRequest.java:64)
  at hudson.remoting.Channel.call(Channel.java:828)
  at hudson.remoting.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:257)
  at com.sun.proxy.$Proxy65.setProxy(Unknown Source)
  at org.jenkinsci.plugins.gitclient.RemoteGitImpl.setProxy(RemoteGitImpl.java:873)
  at org.jenkinsci.plugins.gitclient.Git.getClient(Git.java:140)
  at hudson.plugins.git.GitSCM.createClient(GitSCM.java:751)
 Caused: java.io.IOException: Remote call on JNLP4-connect connection from slav1.applications.com/10.112.17.119:53814 failed
  at hudson.remoting.Channel.call(Channel.java:838)
  at hudson.remoting.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:257)
 Caused: hudson.remoting.RemotingSystemException
  at hudson.remoting.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:273)
  at com.sun.proxy.$Proxy65.setProxy(Unknown Source)
  at org.jenkinsci.plugins.gitclient.RemoteGitImpl.setProxy(RemoteGitImpl.java:873)
  at org.jenkinsci.plugins.gitclient.Git.getClient(Git.java:140)
  at hudson.plugins.git.GitSCM.createClient(GitSCM.java:751)
  at hudson.plugins.git.GitSCM.createClient(GitSCM.java:743)
  at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1101)
  at hudson.scm.SCM.checkout(SCM.java:496)
  at hudson.model.AbstractProject.checkout(AbstractProject.java:1278)
  at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:604)
  at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
  at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:529)
  at hudson.model.Run.execute(Run.java:1728)
  at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
  at hudson.model.ResourceController.execute(ResourceController.java:98)
  at hudson.model.Executor.run(Executor.java:405)
 Skipping Cobertura coverage report as build was not UNSTABLE or better ...
 [htmlpublisher] Archiving HTML reports...
 [htmlpublisher] Archiving at PROJECT level D:\JenkinsSlv\workspace\RTM\coverage to F:\JenkinsHome\.jenkins\jobs\RTM\htmlreports\HTML_Report
 Recording test results
 ERROR: Step ‘Publish JUnit test result report’ failed: Test reports were found but none of them are new. Did tests run?
 For example, D:\JenkinsSlv\workspace\RTM\coverage\junit-report.xml is 5 hr 51 min old
 
 Sending e-mails to:
 Failed to update Gitlab commit status: No (git-plugin) BuildData associated to current build
 Started calculate disk usage of build
 Finished Calculation of disk usage of build in 0 seconds
 Started calculate disk usage of workspace
 Finished Calculation of disk usage of workspace in  10 second
15:34:47 Finished: FAILURE

Daniel Beck

unread,
Oct 17, 2017, 12:10:25 PM10/17/17
to jenkins...@googlegroups.com

> On 17. Oct 2017, at 15:46, LnT <tlnar...@gmail.com> wrote:
>
> java.lang.OutOfMemoryError: PermGen space

Increase the PermGen size (google the error), or just run Jenkins on Java 8.

LnT

unread,
Oct 20, 2017, 3:08:05 AM10/20/17
to Jenkins Users
Thanks Daniel.
I use latest java - 1.8.0._144

LnT

unread,
Oct 20, 2017, 3:35:50 AM10/20/17
to Jenkins Users

After increasing below memory settings - it is not working...


-Xmx2048m -XX:MaxPermSize=512m




On Tuesday, October 17, 2017 at 9:40:25 PM UTC+5:30, Daniel Beck wrote:

Daniel Beck

unread,
Oct 20, 2017, 10:14:37 AM10/20/17
to jenkins...@googlegroups.com

> On 20. Oct 2017, at 09:08, LnT <tlnar...@gmail.com> wrote:
>
> I use latest java - 1.8.0._144
>

Not on the agent that goes oom.

Sangeetha Guhan

unread,
Jan 14, 2019, 2:35:53 PM1/14/19
to Jenkins Users
Any resolution for this issue? Please help.

LnT

unread,
Jan 14, 2019, 7:52:01 PM1/14/19
to jenkins...@googlegroups.com
Reinstall Jenkins and slave

--
You received this message because you are subscribed to a topic in the Google Groups "Jenkins Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-users/NzXX4gYdZa0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/f0634cd1-9be8-40a8-9a86-f9edb2b8ac5c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Mark Waite

unread,
Jan 14, 2019, 8:02:37 PM1/14/19
to Jenkins Users
That stack trace seems like an out of memory condition on an agent or on the master.  I think I'd first try disconnecting and reconnecting the agent.  I'd also check the JDK versions on the agent and the master are reasonably close to one another.

Mark Waite

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-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAMTz66fiYiAo-YFQ43-YjrUaFxAVqUdL7_z7VSAOad6k_9mQwA%40mail.gmail.com.

For more options, visit https://groups.google.com/d/optout.


--
Thanks!
Mark Waite
Reply all
Reply to author
Forward
0 new messages