Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-55447

Remote call on JNLP4-connect connection from ... failed

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Hi, on one of my nodes (the other works fine) I'm constantly getting: 

      Remote call on JNLP4-connect connection from ... failed
      

      The code that is executed at this point is:

      xunit([xUnitDotNet(deleteOutputFiles: true, failIfNotNew: true, pattern:"${name}.${architecture}.XUnit.xml", skipNoTestFiles: false, stopProcessingIfError: false)])
      

      The output in pipeline:

      Publish xUnit test result report<1s
        INFO: Starting to record. 
        INFO: Processing xUnit.Net-v2 (default) 
        Remote call on JNLP4-connect connection from hostname/ip:port failed

      Recently we switched from http to https access, but as I mentioned it works smooth on other nodes and http connection was not yet removed.

      The call stack:

      hudson.remoting.Channel$CallSiteStackTrace: Remote call to JNLP4-connect connection from node.company.com/ip:port    hudson.remoting.Channel$CallSiteStackTrace: Remote call to JNLP4-connect connection from node.company.com/ip:port at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1741) at hudson.remoting.UserResponse.retrieve(UserRequest.java:389) at hudson.remoting.Channel.call(Channel.java:955) at hudson.FilePath.act(FilePath.java:1072) at hudson.FilePath.act(FilePath.java:1061) at org.jenkinsci.plugins.xunit.XUnitProcessor.processTestsReport(XUnitProcessor.java:192) at org.jenkinsci.plugins.xunit.XUnitProcessor.process(XUnitProcessor.java:156) at org.jenkinsci.plugins.xunit.pipeline.XUnitResultsStepExecution.run(XUnitResultsStepExecution.java:80) at org.jenkinsci.plugins.xunit.pipeline.XUnitResultsStepExecution.run(XUnitResultsStepExecution.java:47) at org.jenkinsci.plugins.workflow.steps.SynchronousStepExecution.start(SynchronousStepExecution.java:38) at org.jenkinsci.plugins.workflow.cps.DSL.invokeStep(DSL.java:270) at org.jenkinsci.plugins.workflow.cps.DSL.invokeMethod(DSL.java:178) at org.jenkinsci.plugins.workflow.cps.CpsScript.invokeMethod(CpsScript.java:122) at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:48) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113) at com.cloudbees.groovy.cps.sandbox.DefaultInvoker.methodCall(DefaultInvoker.java:20) at com.cloudbees.groovy.cps.impl.ContinuationGroup.methodCall(ContinuationGroup.java:57) at com.cloudbees.groovy.cps.impl.FunctionCallBlock$ContinuationImpl.dispatchOrArg(FunctionCallBlock.java:109) at com.cloudbees.groovy.cps.impl.FunctionCallBlock$ContinuationImpl.fixArg(FunctionCallBlock.java:82) at sun.reflect.GeneratedMethodAccessor1188.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.cloudbees.groovy.cps.impl.ContinuationPtr$ContinuationImpl.receive(ContinuationPtr.java:72) at com.cloudbees.groovy.cps.impl.CollectionLiteralBlock$ContinuationImpl.dispatch(CollectionLiteralBlock.java:55) at com.cloudbees.groovy.cps.impl.CollectionLiteralBlock$ContinuationImpl.item(CollectionLiteralBlock.java:45) at sun.reflect.GeneratedMethodAccessor1189.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.cloudbees.groovy.cps.impl.ContinuationPtr$ContinuationImpl.receive(ContinuationPtr.java:72) at com.cloudbees.groovy.cps.impl.ContinuationGroup.methodCall(ContinuationGroup.java:60) at com.cloudbees.groovy.cps.impl.FunctionCallBlock$ContinuationImpl.dispatchOrArg(FunctionCallBlock.java:109) at com.cloudbees.groovy.cps.impl.FunctionCallBlock$ContinuationImpl.fixArg(FunctionCallBlock.java:82) at sun.reflect.GeneratedMethodAccessor1188.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.cloudbees.groovy.cps.impl.ContinuationPtr$ContinuationImpl.receive(ContinuationPtr.java:72) at com.cloudbees.groovy.cps.impl.CollectionLiteralBlock$ContinuationImpl.dispatch(CollectionLiteralBlock.java:55) at com.cloudbees.groovy.cps.impl.CollectionLiteralBlock$ContinuationImpl.item(CollectionLiteralBlock.java:45) at sun.reflect.GeneratedMethodAccessor1189.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.cloudbees.groovy.cps.impl.ContinuationPtr$ContinuationImpl.receive(ContinuationPtr.java:72) at com.cloudbees.groovy.cps.impl.ConstantBlock.eval(ConstantBlock.java:21) at com.cloudbees.groovy.cps.Next.step(Next.java:83) at com.cloudbees.groovy.cps.Continuable$1.call(Continuable.java:174) at com.cloudbees.groovy.cps.Continuable$1.call(Continuable.java:163) at org.codehaus.groovy.runtime.GroovyCategorySupport$ThreadCategoryInfo.use(GroovyCategorySupport.java:129) at org.codehaus.groovy.runtime.GroovyCategorySupport.use(GroovyCategorySupport.java:268) at com.cloudbees.groovy.cps.Continuable.run0(Continuable.java:163) at org.jenkinsci.plugins.workflow.cps.SandboxContinuable.access$101(SandboxContinuable.java:34) at org.jenkinsci.plugins.workflow.cps.SandboxContinuable.lambda$run0$0(SandboxContinuable.java:59) at org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.GroovySandbox.runInSandbox(GroovySandbox.java:108) at org.jenkinsci.plugins.workflow.cps.SandboxContinuable.run0(SandboxContinuable.java:58) at org.jenkinsci.plugins.workflow.cps.CpsThread.runNextChunk(CpsThread.java:182) at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.run(CpsThreadGroup.java:332) at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.access$200(CpsThreadGroup.java:83) at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:244) at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:232) at org.jenkinsci.plugins.workflow.cps.CpsVmExecutorService$2.call(CpsVmExecutorService.java:64) at java.util.concurrent.FutureTask.run(Unknown Source) at hudson.remoting.SingleLaneExecutorService$1.run(SingleLaneExecutorService.java:131) at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28) at jenkins.security.ImpersonatingExecutorService$1.run(ImpersonatingExecutorService.java:59) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)    java.lang.IllegalAccessError: tried to access field hudson.remoting.Channel.executor from class org.jenkinsci.remoting.util.AnonymousClassWarnings        at org.jenkinsci.remoting.util.AnonymousClassWarnings.check(AnonymousClassWarnings.java:65)        at org.jenkinsci.remoting.util.AnonymousClassWarnings$1.annotateClass(AnonymousClassWarnings.java:121)        at java.io.ObjectOutputStream.writeNonProxyDesc(Unknown Source)        at java.io.ObjectOutputStream.writeClassDesc(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.console.ConsoleNote.encodeToBytes(ConsoleNote.java:185)        at hudson.console.ConsoleNote.encode(ConsoleNote.java:211)        at hudson.plugins.timestamper.TimestampNotesOutputStream.eol(TimestampNotesOutputStream.java:70)        at hudson.console.LineTransformationOutputStream.eol(LineTransformationOutputStream.java:60)        at hudson.console.LineTransformationOutputStream.write(LineTransformationOutputStream.java:56)        at hudson.plugins.ansicolor.AnsiOutputStream.write(AnsiOutputStream.java:87)        at hudson.plugins.ansicolor.AnsiHtmlOutputStream.write(AnsiHtmlOutputStream.java:220)        at java.io.FilterOutputStream.write(Unknown Source)        at java.io.FilterOutputStream.write(Unknown Source)        at hudson.plugins.sonar.utils.MaskPasswordsOutputStream.eol(MaskPasswordsOutputStream.java:83)        at hudson.console.LineTransformationOutputStream.eol(LineTransformationOutputStream.java:60)        at hudson.console.LineTransformationOutputStream.write(LineTransformationOutputStream.java:56)        at hudson.console.LineTransformationOutputStream.write(LineTransformationOutputStream.java:74)        at java.io.PrintStream.write(Unknown Source)        at sun.nio.cs.StreamEncoder.writeBytes(Unknown Source)        at sun.nio.cs.StreamEncoder.implFlushBuffer(Unknown Source)        at sun.nio.cs.StreamEncoder.flushBuffer(Unknown Source)        at java.io.OutputStreamWriter.flushBuffer(Unknown Source)        at java.io.PrintStream.newLine(Unknown Source)        at java.io.PrintStream.println(Unknown Source)        at org.jenkinsci.plugins.xunit.service.XUnitLog.info(XUnitLog.java:49)        at org.jenkinsci.plugins.xunit.service.XUnitReportProcessorService.findReports(XUnitReportProcessorService.java:81)        at org.jenkinsci.plugins.xunit.service.XUnitTransformerCallable.invoke(XUnitTransformerCallable.java:86)        at org.jenkinsci.plugins.xunit.service.XUnitTransformerCallable.invoke(XUnitTransformerCallable.java:39)        at hudson.FilePath$FileCallableWrapper.call(FilePath.java:3086)        at hudson.remoting.UserRequest.perform(UserRequest.java:210)        at hudson.remoting.UserRequest.perform(UserRequest.java:53)        at hudson.remoting.Request$2.run(Request.java:364)        at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)        at java.util.concurrent.FutureTask.run(Unknown Source)        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)        at hudson.remoting.Engine$1$1.run(Engine.java:94)    Caused: java.io.IOException: Remote call on JNLP4-connect connection from node.company.com/ip:port failed        at hudson.remoting.Channel.call(Channel.java:961)        at hudson.FilePath.act(FilePath.java:1072)        at hudson.FilePath.act(FilePath.java:1061)        at org.jenkinsci.plugins.xunit.XUnitProcessor.processTestsReport(XUnitProcessor.java:192)        at org.jenkinsci.plugins.xunit.XUnitProcessor.process(XUnitProcessor.java:156)        at org.jenkinsci.plugins.xunit.pipeline.XUnitResultsStepExecution.run(XUnitResultsStepExecution.java:80)        at org.jenkinsci.plugins.xunit.pipeline.XUnitResultsStepExecution.run(XUnitResultsStepExecution.java:47)        at org.jenkinsci.plugins.workflow.steps.SynchronousStepExecution.start(SynchronousStepExecution.java:38)        at org.jenkinsci.plugins.workflow.cps.DSL.invokeStep(DSL.java:270)        at org.jenkinsci.plugins.workflow.cps.DSL.invokeMethod(DSL.java:178)        at org.jenkinsci.plugins.workflow.cps.CpsScript.invokeMethod(CpsScript.java:122)        at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:48)        at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)        at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)        at com.cloudbees.groovy.cps.sandbox.DefaultInvoker.methodCall(DefaultInvoker.java:20)        at componentPipeline.doTestXUnit(C:\Jenkins\jobs\EDM Platform\jobs\icons\branches\develop\builds\24\libs\componentPipeline\vars\componentPipeline.groovy:732)        at componentPipeline.doTest(C:\Jenkins\jobs\EDM Platform\jobs\icons\branches\develop\builds\24\libs\componentPipeline\vars\componentPipeline.groovy:664)        at com.cloudbees.groovy.cps.CpsDefaultGroovyMethods.eachWithIndex(CpsDefaultGroovyMethods:1946)        at com.cloudbees.groovy.cps.CpsDefaultGroovyMethods.eachWithIndex(CpsDefaultGroovyMethods:1926)        at com.cloudbees.groovy.cps.CpsDefaultGroovyMethods.eachWithIndex(CpsDefaultGroovyMethods:1976)        at componentPipeline.doTest(C:\Jenkins\jobs\EDM Platform\jobs\icons\branches\develop\builds\24\libs\componentPipeline\vars\componentPipeline.groovy:647)        at componentPipeline.call(C:\Jenkins\jobs\EDM Platform\jobs\icons\branches\develop\builds\24\libs\componentPipeline\vars\componentPipeline.groovy:413)        at ___cps.transform___(Native Method)        at com.cloudbees.groovy.cps.impl.ContinuationGroup.methodCall(ContinuationGroup.java:57)        at com.cloudbees.groovy.cps.impl.FunctionCallBlock$ContinuationImpl.dispatchOrArg(FunctionCallBlock.java:109)        at com.cloudbees.groovy.cps.impl.FunctionCallBlock$ContinuationImpl.fixArg(FunctionCallBlock.java:82)        at sun.reflect.GeneratedMethodAccessor1188.invoke(Unknown Source)        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)        at java.lang.reflect.Method.invoke(Unknown Source)        at com.cloudbees.groovy.cps.impl.ContinuationPtr$ContinuationImpl.receive(ContinuationPtr.java:72)        at com.cloudbees.groovy.cps.impl.CollectionLiteralBlock$ContinuationImpl.dispatch(CollectionLiteralBlock.java:55)        at com.cloudbees.groovy.cps.impl.CollectionLiteralBlock$ContinuationImpl.item(CollectionLiteralBlock.java:45)        at sun.reflect.GeneratedMethodAccessor1189.invoke(Unknown Source)        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)        at java.lang.reflect.Method.invoke(Unknown Source)        at com.cloudbees.groovy.cps.impl.ContinuationPtr$ContinuationImpl.receive(ContinuationPtr.java:72)        at com.cloudbees.groovy.cps.impl.ContinuationGroup.methodCall(ContinuationGroup.java:60)        at com.cloudbees.groovy.cps.impl.FunctionCallBlock$ContinuationImpl.dispatchOrArg(FunctionCallBlock.java:109)        at com.cloudbees.groovy.cps.impl.FunctionCallBlock$ContinuationImpl.fixArg(FunctionCallBlock.java:82)        at sun.reflect.GeneratedMethodAccessor1188.invoke(Unknown Source)        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)        at java.lang.reflect.Method.invoke(Unknown Source)        at com.cloudbees.groovy.cps.impl.ContinuationPtr$ContinuationImpl.receive(ContinuationPtr.java:72)        at com.cloudbees.groovy.cps.impl.CollectionLiteralBlock$ContinuationImpl.dispatch(CollectionLiteralBlock.java:55)        at com.cloudbees.groovy.cps.impl.CollectionLiteralBlock$ContinuationImpl.item(CollectionLiteralBlock.java:45)        at sun.reflect.GeneratedMethodAccessor1189.invoke(Unknown Source)        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)        at java.lang.reflect.Method.invoke(Unknown Source)        at com.cloudbees.groovy.cps.impl.ContinuationPtr$ContinuationImpl.receive(ContinuationPtr.java:72)        at com.cloudbees.groovy.cps.impl.ConstantBlock.eval(ConstantBlock.java:21)        at com.cloudbees.groovy.cps.Next.step(Next.java:83)        at com.cloudbees.groovy.cps.Continuable$1.call(Continuable.java:174)        at com.cloudbees.groovy.cps.Continuable$1.call(Continuable.java:163)        at org.codehaus.groovy.runtime.GroovyCategorySupport$ThreadCategoryInfo.use(GroovyCategorySupport.java:129)        at org.codehaus.groovy.runtime.GroovyCategorySupport.use(GroovyCategorySupport.java:268)        at com.cloudbees.groovy.cps.Continuable.run0(Continuable.java:163)        at org.jenkinsci.plugins.workflow.cps.SandboxContinuable.access$101(SandboxContinuable.java:34)        at org.jenkinsci.plugins.workflow.cps.SandboxContinuable.lambda$run0$0(SandboxContinuable.java:59)        at org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.GroovySandbox.runInSandbox(GroovySandbox.java:108)        at org.jenkinsci.plugins.workflow.cps.SandboxContinuable.run0(SandboxContinuable.java:58)        at org.jenkinsci.plugins.workflow.cps.CpsThread.runNextChunk(CpsThread.java:182)        at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.run(CpsThreadGroup.java:332)        at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.access$200(CpsThreadGroup.java:83)        at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:244)        at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:232)        at org.jenkinsci.plugins.workflow.cps.CpsVmExecutorService$2.call(CpsVmExecutorService.java:64)        at java.util.concurrent.FutureTask.run(Unknown Source)        at hudson.remoting.SingleLaneExecutorService$1.run(SingleLaneExecutorService.java:131)        at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28)        at jenkins.security.ImpersonatingExecutorService$1.run(ImpersonatingExecutorService.java:59)        at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)        at java.util.concurrent.FutureTask.run(Unknown Source)        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)        at java.lang.Thread.run(Unknown Source)    Finished: FAILURE
      

       

        Attachments

          Activity

          Hide
          nfalco Nikolas Falco added a comment - - edited

          I need the log of the slave to understand what was happen, or the heap dump (of the slave) when this issue happens.

          Show
          nfalco Nikolas Falco added a comment - - edited I need the log of the slave to understand what was happen, or the heap dump (of the slave) when this issue happens.
          Hide
          quas Jakub Pawlinski added a comment -

          Sorry, working on it

          Show
          quas Jakub Pawlinski added a comment - Sorry, working on it
          Hide
          quas Jakub Pawlinski added a comment -

          Ok, found an issue - it was old version of jenkins agent, after update it works fine

          Show
          quas Jakub Pawlinski added a comment - Ok, found an issue - it was old version of jenkins agent, after update it works fine

            People

            Assignee:
            nfalco Nikolas Falco
            Reporter:
            quas Jakub Pawlinski
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: