Uploaded image for project: 'Infrastructure'
  1. Infrastructure
  2. INFRA-2759

EC2 agents crashing: java.lang.NoClassDefFoundError: Could not initialize class com.sun.proxy.$Proxy9

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      https://ci.jenkins.io/job/Core/job/jenkins/job/PR-4974/2/console for example. Affecting JGit-based checkout in ath branch.

       ​Also:  hudson.remoting.Channel$CallSiteStackTrace: emote call to EC2 (aws) - High memory ubuntu 1.04  (i-02f0be9b5d293d59e)
       ​		at hudson.remoting.Channel.attachCalSiteStackTrace(Channel.java:1800)
       ​		at hudson.remoting.Userequest$ExceptionResponse.retrieve(UserRequest.java:357)
       ​		athudson.remoting.Channel.call(Channel.java:1001)
       ​		at hudsn.FilePath.act(FilePath.java:1070)
       ​		at hudson.FilePath.act(FilePath.java:1059)
      ​		at org.jenkinsci.plugins.gitclient.Git.getClient(Git.java:121)
       ​		at hudson.plugins.git.GiSCM.createClient(GitSCM.java:902)
       ​		at hudson.plugins.git.GitSCM.createClient(GitSCM.java:83)
       ​		at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1286)
       ​		at org.jenkinsci.plugins.workflow.steps.scm.SCMStep.checkout(SCMStep.java125)
       ​		at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStp.java:93)
       ​		at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExcutionImpl.run(SCMStep.java:80)
       ​		at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockigStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47)
       ​		at java.base/javautil.concurrent.Executors$RunnableAdapter.call(Executos.java:515)
       ​		at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:24)
       ​		at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:128)
       ​		at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
       ​		at java.bas/java.lang.Thread.run(Thread.java:834)
       ​java.lang.NoClassDefFoundError: Could not initialize class com.sun.proxy.$Proxy9
       ​	t java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Natve Method)
       ​	at java.base/jdk.internal.reflect.NativeConstructorAccessormpl.newInstance(NativeConstructorAccessorImpl.java:62)
       ​	at java.base/jd.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructoAccessorImpl.java:45)
       ​	at java.base/java.lang.reflec.Constructor.newInstance(Constructor.java:490)
       ​	at jva.base/java.lang.reflect.Proxy.newProxyInstance(Proxy.java:1022)
       ​	at java.base/java.lang.reflect.Proxy.newProxynstance(Proxy.java:1008)
       ​	at hudson.remoting.RemoteInvocationHandler.wrap(RemoteInocationHandler.java:169)
       ​	at hudson.remoting.Channel.export(Channel.java:813)
       ​	at hudson.remoting.hannel.export(Channel.java:776)
       ​	at org.jenkinsci.plugins.gitclient.LegacyCompatibleGitAPIImpl.writeReplace(egacyCompatibleGitAPIImpl.java:204)
       ​	at java.base/jdk.internalreflect.NativeMethodAccessorImpl.invoke0(Native Method)
       ​	at java.base/jdk.internal.reflct.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
       ​	at java.base/dk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp.java:43)
       ​	at java.base/java.lang.reflect.Method.invoke(Method.jva:566)
       ​	at java.base/java.io.ObjectStreamClass.invokeWriteReplce(ObjectStreamClass.java:1235)
       ​	at java.base/java.io.ObjectOtputStream.writeObject0(ObjectOutputStream.java:1137)
       ​	at jaa.base/java.io.ObjectOutputStream.writeObject(ObjectOtputStream.java:349)
       ​	at hudson.remoting.UserRequest._serialize(UserRequest.java:263)
       ​	athudson.remoting.UserRequest.serialize(UserRequest.java:272)
       ​	at hudsonremoting.UserRequest.perform(UserRequest.java:222)
       ​	at hudson.remoting.UserRequest.perform(UsrRequest.java:54)
       ​	at hudson.remoting.Request$2.run(Request.java:375)
       ​	at hudson.remoting.IterceptingExecutorService$1.call(InterceptingExecutorervice.java:73)
       ​	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
       ​	at java.base/java.utl.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolEecutor.java:1128)
       ​	at java.base/java.util.cncurrent.ThreadPoolExecutor$Worker.run(ThreadoolExecutor.java:628)
       ​	at java.base/java.lang.Thread.run(Threadjava:834)
       ​Caused: java.io.IOException: Remote call on EC2 (ws) - High memory ubuntu 18.04  (i-02f0be9b5d293d59e) failed
      ​	at hudson.remoting.Channel.call(Channel.java:1007)
       ​	athudson.FilePath.act(FilePath.java:1070)
       ​	at hudson.FilePath.act(FilePath.java:159)
       ​	at org.jenkinsci.plugins.gitclient.Git.getClient(Git.java:121)
       ​	at hudson.plugins.gi.GitSCM.createClient(GitSCM.java:902)
       ​	at hudson.plugins.git.GitSCM.createClient(GitSCM.jav:833)
       ​	at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1286)
       ​	at org.jenkinsci.plugins.workflow.steps.scm.SCMStep.checkout(SCMStep.jva:125)
       ​	at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCStep.java:93)
       ​	at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$SteExecutionImpl.run(SCMStep.java:80)
       ​	at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlokingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47)
       ​	at java.base/jva.util.concurrent.Executors$RunnableAdapter.call(Exeutors.java:515)
      

      I am presuming the real error in hidden in some other log somewhere.

        Attachments

          Activity

          There are no comments yet on this issue.

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            jglick Jesse Glick
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: