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

Stack trace in SSH agent log during connection - module java.base does not "opens java.lang"

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • envinject-plugin
    • None

      <===[JENKINS REMOTING CAPACITY]===>channel started
      Remoting version: 3044.vb_940a_a_e4f72e
      Launcher: SSHLauncher
      Communication Protocol: Standard in/out
      This is a Unix agent
      ERROR: Unexpected error in launching an agent. This is probably a bug in Jenkins
      Also:   hudson.remoting.Channel$CallSiteStackTrace: Remote call to master-worker
      		at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1784)
      		at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:356)
      		at hudson.remoting.Channel.call(Channel.java:1000)
      		at hudson.FilePath.act(FilePath.java:1277)
      		at org.jenkinsci.plugins.envinject.EnvInjectComputerListener.onOnline(EnvInjectComputerListener.java:144)
      		at hudson.slaves.SlaveComputer.setChannel(SlaveComputer.java:748)
      		at hudson.slaves.SlaveComputer.setChannel(SlaveComputer.java:438)
      		at hudson.plugins.sshslaves.SSHLauncher.startAgent(SSHLauncher.java:641)
      		at hudson.plugins.sshslaves.SSHLauncher.lambda$launch$0(SSHLauncher.java:458)
      java.lang.reflect.InaccessibleObjectException: Unable to make private native java.lang.reflect.Field[] java.lang.Class.getDeclaredFields0(boolean) accessible: module java.base does not "opens java.lang" to unnamed module @63008aec
      	at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:354)
      	at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:297)
      	at java.base/java.lang.reflect.Method.checkCanSetAccessible(Method.java:199)
      	at java.base/java.lang.reflect.Method.setAccessible(Method.java:193)
      	at org.jenkinsci.plugins.envinject.service.EnvInjectMasterEnvVarsSetter.getModifiers(EnvInjectMasterEnvVarsSetter.java:29)
      	at org.jenkinsci.plugins.envinject.service.EnvInjectMasterEnvVarsSetter.call(EnvInjectMasterEnvVarsSetter.java:55)
      	at org.jenkinsci.plugins.envinject.service.EnvInjectMasterEnvVarsSetter.call(EnvInjectMasterEnvVarsSetter.java:19)
      	at hudson.remoting.UserRequest.perform(UserRequest.java:211)
      	at hudson.remoting.UserRequest.perform(UserRequest.java:54)
      	at hudson.remoting.Request$2.run(Request.java:376)
      	at hudson.remoting.InterceptingExecutorService.lambda$wrap$0(InterceptingExecutorService.java:78)
      	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
      	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
      	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
      	at java.base/java.lang.Thread.run(Thread.java:833)
      Agent successfully connected and online 

      It seems like some vars no longer want to become accessible?

          [JENKINS-70100] Stack trace in SSH agent log during connection - module java.base does not "opens java.lang"

          Marcus Philip added a comment -

          We have the same errors in agent logs since we moved to Java 17 recentöy.

          It connects in the end, so maybe not a serious issue.

          Slightly redacted log:

          SSHLauncher{host='jenkins-agent-xxx16.infra.company.com', port=22, credentialsId='jenkins-xxx-id', jvmOptions='', javaPath='', prefixStartSlaveCmd='', suffixStartSlaveCmd='', launchTimeoutSeconds=60, maxNumRetries=10, retryWaitTime=15, sshHostKeyVerificationStrategy=hudson.plugins.sshslaves.verifiers.NonVerifyingKeyVerificationStrategy, tcpNoDelay=true, trackCredentials=true}
          [12/05/22 15:10:59] [SSH] Opening SSH connection to jenkins-agent-xxx16.infra.company.com:22.
          ...
          [12/05/22 15:11:00] [SSH] Authentication successful.
          [12/05/22 15:11:00] [SSH] The remote user's environment is:
          BASH=/usr/bin/bash
          BASHOPTS=cmdhist:complete_fullquote:extquote:force_fignore:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath
          BASH_ALIASES=()
          BASH_ARGC=()
          BASH_ARGV=()
          BASH_CMDS=()
          BASH_EXECUTION_STRING=set
          BASH_LINENO=()
          BASH_SOURCE=()
          BASH_VERSINFO=([0]="4" [1]="4" [2]="20" [3]="1" [4]="release" [5]="x86_64-redhat-linux-gnu")
          BASH_VERSION='4.4.20(1)-release'
          DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1003/bus
          DIRSTACK=()
          EUID=1003
          GROUPS=()
          HOME=/home/jenkins
          HOSTNAME=jenkins-agent-xxx16
          HOSTTYPE=x86_64
          IFS=$' \t\n'
          JAVA_HOME=/usr/java/latest
          LANG=en_US.UTF-8
          LOGNAME=jenkins
          M2_HOME=/usr/share/apache-maven
          MACHTYPE=x86_64-redhat-linux-gnu
          OPTERR=1
          OPTIND=1
          OSTYPE=linux-gnu
          PATH=/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/usr/share/apache-maven/bin
          PIPESTATUS=([0]="0")
          PPID=3867889
          PS4='+ '
          PWD=/home/jenkins
          SHELL=/bin/bash
          SHELLOPTS=braceexpand:hashall:interactive-comments
          SHLVL=1
          SSH_CLIENT='10.87.X.Y 46950 22'
          SSH_CONNECTION='10.87.X.Y 46950 10.87.A.B 22'
          TERM=dumb
          UID=1003
          USER=jenkins
          XDG_RUNTIME_DIR=/run/user/1003
          XDG_SESSION_ID=8612
          _=M2_HOME
          Checking Java version in the PATH
          openjdk version "17.0.5" 2022-10-18 LTS
          OpenJDK Runtime Environment (Red_Hat-17.0.5.0.8-2.el8_6) (build 17.0.5+8-LTS)
          OpenJDK 64-Bit Server VM (Red_Hat-17.0.5.0.8-2.el8_6) (build 17.0.5+8-LTS, mixed mode, sharing)
          [12/05/22 15:11:00] [SSH] Checking java version of /opt/jenkins/jdk/bin/java
          Couldn't figure out the Java version of /opt/jenkins/jdk/bin/java
          bash: /opt/jenkins/jdk/bin/java: No such file or directory
          
          [12/05/22 15:11:00] [SSH] Checking java version of java
          [12/05/22 15:11:00] [SSH] java -version returned 17.0.5.
          [12/05/22 15:11:00] [SSH] Starting sftp client.
          [12/05/22 15:11:00] [SSH] Copying latest remoting.jar...
          Source agent hash is 8D575C4C8219E6AB2039295EC545C6C3. Installed agent hash is 8D575C4C8219E6AB2039295EC545C6C3
          Verified agent jar. No update is necessary.
          Expanded the channel window size to 4MB
          [12/05/22 15:11:01] [SSH] Starting agent process: cd "/opt/jenkins" && java  -jar remoting.jar -workDir /opt/jenkins -jar-cache /opt/jenkins/remoting/jarCache
          Dec 05, 2022 3:11:01 PM org.jenkinsci.remoting.engine.WorkDirManager initializeWorkDir
          INFO: Using /opt/jenkins/remoting as a remoting work directory
          Dec 05, 2022 3:11:01 PM org.jenkinsci.remoting.engine.WorkDirManager setupLogging
          INFO: Both error and output logs will be printed to /opt/jenkins/remoting
          <===[JENKINS REMOTING CAPACITY]===>channel started
          Remoting version: 3044.vb_940a_a_e4f72e
          Launcher: SSHLauncher
          Communication Protocol: Standard in/out
          This is a Unix agent
          ERROR: Unexpected error in launching an agent. This is probably a bug in Jenkins
          Also:   hudson.remoting.Channel$CallSiteStackTrace: Remote call to jenkins-agent-xxx16.infra.company.com
                at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1784)
                at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:356)
                at hudson.remoting.Channel.call(Channel.java:1000)
                at hudson.FilePath.act(FilePath.java:1277)
                at org.jenkinsci.plugins.envinject.EnvInjectComputerListener.onOnline(EnvInjectComputerListener.java:144)
                at hudson.slaves.SlaveComputer.setChannel(SlaveComputer.java:748)
                at hudson.slaves.SlaveComputer.setChannel(SlaveComputer.java:438)
                at hudson.plugins.sshslaves.SSHLauncher.startAgent(SSHLauncher.java:641)
                at hudson.plugins.sshslaves.SSHLauncher.lambda$launch$0(SSHLauncher.java:458)
          java.lang.reflect.InaccessibleObjectException: Unable to make private native java.lang.reflect.Field[] java.lang.Class.getDeclaredFields0(boolean) accessible: module java.base does not "opens java.lang" to unnamed module @7894ef17
             at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:354)
             at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:297)
             at java.base/java.lang.reflect.Method.checkCanSetAccessible(Method.java:199)
             at java.base/java.lang.reflect.Method.setAccessible(Method.java:193)
             at org.jenkinsci.plugins.envinject.service.EnvInjectMasterEnvVarsSetter.getModifiers(EnvInjectMasterEnvVarsSetter.java:29)
             at org.jenkinsci.plugins.envinject.service.EnvInjectMasterEnvVarsSetter.call(EnvInjectMasterEnvVarsSetter.java:55)
             at org.jenkinsci.plugins.envinject.service.EnvInjectMasterEnvVarsSetter.call(EnvInjectMasterEnvVarsSetter.java:19)
             at hudson.remoting.UserRequest.perform(UserRequest.java:211)
             at hudson.remoting.UserRequest.perform(UserRequest.java:54)
             at hudson.remoting.Request$2.run(Request.java:376)
             at hudson.remoting.InterceptingExecutorService.lambda$wrap$0(InterceptingExecutorService.java:78)
             at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
             at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
             at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
             at java.base/java.lang.Thread.run(Thread.java:833)
          Agent successfully connected and online 

           

          But we do have a problem since migration with the agents sometimes disconnecting:

          FATAL: command execution failed
          Command Close created at
             at hudson.remoting.Command.<init>(Command.java:70)
             at hudson.remoting.Channel$CloseCommand.<init>(Channel.java:1306)
             at hudson.remoting.Channel.close(Channel.java:1480)
             at hudson.remoting.Channel.close(Channel.java:1447)
             at hudson.remoting.Channel$CloseCommand.execute(Channel.java:1312)
             at hudson.remoting.Channel$1.handle(Channel.java:606)
             at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:81)
          Caused: hudson.remoting.Channel$OrderlyShutdown
             at hudson.remoting.Channel$CloseCommand.execute(Channel.java:1313)
             at hudson.remoting.Channel$1.handle(Channel.java:606)
             at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:81)
          Caused: java.io.IOException: Backing channel 'jenkins-agent-xxx17.infra.aza.nu' is disconnected.
             at hudson.remoting.RemoteInvocationHandler.channelOrFail(RemoteInvocationHandler.java:215)
             at hudson.remoting.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:285)
             at jdk.proxy2/jdk.proxy2.$Proxy195.isAlive(Unknown Source)
             at hudson.Launcher$RemoteLauncher$ProcImpl.isAlive(Launcher.java:1215)
             at hudson.Launcher$RemoteLauncher$ProcImpl.join(Launcher.java:1207)
             at hudson.tasks.CommandInterpreter.join(CommandInterpreter.java:195)
             at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:145)
             at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:92)
             at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
             at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:816)
             at hudson.model.Build$BuildExecution.build(Build.java:199)
             at hudson.model.Build$BuildExecution.doRun(Build.java:164)
             at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:524)
             at hudson.model.Run.execute(Run.java:1899)
             at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:44)
             at hudson.model.ResourceController.execute(ResourceController.java:107)
             at hudson.model.Executor.run(Executor.java:449)
          FATAL: Unable to delete script file /tmp/jenkins1547563919317926764.sh
          Command Close created at
             at hudson.remoting.Command.<init>(Command.java:70)
             at hudson.remoting.Channel$CloseCommand.<init>(Channel.java:1306)
             at hudson.remoting.Channel.close(Channel.java:1480)
             at hudson.remoting.Channel.close(Channel.java:1447)
             at hudson.remoting.Channel$CloseCommand.execute(Channel.java:1312)
             at hudson.remoting.Channel$1.handle(Channel.java:606)
             at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:81)
          Caused: hudson.remoting.Channel$OrderlyShutdown
             at hudson.remoting.Channel$CloseCommand.execute(Channel.java:1313)
             at hudson.remoting.Channel$1.handle(Channel.java:606)
             at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:81)
          Caused: hudson.remoting.ChannelClosedException: Channel "hudson.remoting.Channel@4807529e:jenkins-agent-xxx17.infra.aza.nu": Remote call on jenkins-agent-xxx17.infra.aza.nu failed. The channel is closing down or has closed down
             at hudson.remoting.Channel.call(Channel.java:993)
             at hudson.FilePath.act(FilePath.java:1186)
             at hudson.FilePath.act(FilePath.java:1175)
             at hudson.FilePath.delete(FilePath.java:1722)
             at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:163)
             at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:92)
             at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
             at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:816)
             at hudson.model.Build$BuildExecution.build(Build.java:199)
             at hudson.model.Build$BuildExecution.doRun(Build.java:164)
             at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:524)
             at hudson.model.Run.execute(Run.java:1899)
             at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:44)
             at hudson.model.ResourceController.execute(ResourceController.java:107)
             at hudson.model.Executor.run(Executor.java:449) 

          Marcus Philip added a comment - We have the same errors in agent logs since we moved to Java 17 recentöy. It connects in the end, so maybe not a serious issue. Slightly redacted log: SSHLauncher{host= 'jenkins-agent-xxx16.infra.company.com' , port=22, credentialsId= 'jenkins-xxx-id' , jvmOptions= '', javaPath=' ', prefixStartSlaveCmd=' ', suffixStartSlaveCmd=' ', launchTimeoutSeconds=60, maxNumRetries=10, retryWaitTime=15, sshHostKeyVerificationStrategy=hudson.plugins.sshslaves.verifiers.NonVerifyingKeyVerificationStrategy, tcpNoDelay= true , trackCredentials= true } [12/05/22 15:10:59] [SSH] Opening SSH connection to jenkins-agent-xxx16.infra.company.com:22. ... [12/05/22 15:11:00] [SSH] Authentication successful. [12/05/22 15:11:00] [SSH] The remote user's environment is: BASH=/usr/bin/bash BASHOPTS=cmdhist:complete_fullquote:extquote:force_fignore:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath BASH_ALIASES=() BASH_ARGC=() BASH_ARGV=() BASH_CMDS=() BASH_EXECUTION_STRING=set BASH_LINENO=() BASH_SOURCE=() BASH_VERSINFO=([0]= "4" [1]= "4" [2]= "20" [3]= "1" [4]= "release" [5]= "x86_64-redhat-linux-gnu" ) BASH_VERSION= '4.4.20(1)-release' DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1003/bus DIRSTACK=() EUID=1003 GROUPS=() HOME=/home/jenkins HOSTNAME=jenkins-agent-xxx16 HOSTTYPE=x86_64 IFS=$ ' \t\n' JAVA_HOME=/usr/java/latest LANG=en_US.UTF-8 LOGNAME=jenkins M2_HOME=/usr/share/apache-maven MACHTYPE=x86_64-redhat-linux-gnu OPTERR=1 OPTIND=1 OSTYPE=linux-gnu PATH=/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/usr/share/apache-maven/bin PIPESTATUS=([0]= "0" ) PPID=3867889 PS4= '+ ' PWD=/home/jenkins SHELL=/bin/bash SHELLOPTS=braceexpand:hashall:interactive-comments SHLVL=1 SSH_CLIENT= '10.87.X.Y 46950 22' SSH_CONNECTION= '10.87.X.Y 46950 10.87.A.B 22' TERM=dumb UID=1003 USER=jenkins XDG_RUNTIME_DIR=/run/user/1003 XDG_SESSION_ID=8612 _=M2_HOME Checking Java version in the PATH openjdk version "17.0.5" 2022-10-18 LTS OpenJDK Runtime Environment (Red_Hat-17.0.5.0.8-2.el8_6) (build 17.0.5+8-LTS) OpenJDK 64-Bit Server VM (Red_Hat-17.0.5.0.8-2.el8_6) (build 17.0.5+8-LTS, mixed mode, sharing) [12/05/22 15:11:00] [SSH] Checking java version of /opt/jenkins/jdk/bin/java Couldn't figure out the Java version of /opt/jenkins/jdk/bin/java bash: /opt/jenkins/jdk/bin/java: No such file or directory [12/05/22 15:11:00] [SSH] Checking java version of java [12/05/22 15:11:00] [SSH] java -version returned 17.0.5. [12/05/22 15:11:00] [SSH] Starting sftp client. [12/05/22 15:11:00] [SSH] Copying latest remoting.jar... Source agent hash is 8D575C4C8219E6AB2039295EC545C6C3. Installed agent hash is 8D575C4C8219E6AB2039295EC545C6C3 Verified agent jar. No update is necessary. Expanded the channel window size to 4MB [12/05/22 15:11:01] [SSH] Starting agent process: cd "/opt/jenkins" && java -jar remoting.jar -workDir /opt/jenkins -jar-cache /opt/jenkins/remoting/jarCache Dec 05, 2022 3:11:01 PM org.jenkinsci.remoting.engine.WorkDirManager initializeWorkDir INFO: Using /opt/jenkins/remoting as a remoting work directory Dec 05, 2022 3:11:01 PM org.jenkinsci.remoting.engine.WorkDirManager setupLogging INFO: Both error and output logs will be printed to /opt/jenkins/remoting <===[JENKINS REMOTING CAPACITY]===>channel started Remoting version: 3044.vb_940a_a_e4f72e Launcher: SSHLauncher Communication Protocol: Standard in/out This is a Unix agent ERROR: Unexpected error in launching an agent. This is probably a bug in Jenkins Also: hudson.remoting.Channel$CallSiteStackTrace: Remote call to jenkins-agent-xxx16.infra.company.com at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1784) at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:356) at hudson.remoting.Channel.call(Channel.java:1000) at hudson.FilePath.act(FilePath.java:1277) at org.jenkinsci.plugins.envinject.EnvInjectComputerListener.onOnline(EnvInjectComputerListener.java:144) at hudson.slaves.SlaveComputer.setChannel(SlaveComputer.java:748) at hudson.slaves.SlaveComputer.setChannel(SlaveComputer.java:438) at hudson.plugins.sshslaves.SSHLauncher.startAgent(SSHLauncher.java:641) at hudson.plugins.sshslaves.SSHLauncher.lambda$launch$0(SSHLauncher.java:458) java.lang.reflect.InaccessibleObjectException: Unable to make private native java.lang.reflect.Field[] java.lang. Class .getDeclaredFields0( boolean ) accessible: module java.base does not "opens java.lang" to unnamed module @7894ef17 at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:354) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:297) at java.base/java.lang.reflect.Method.checkCanSetAccessible(Method.java:199) at java.base/java.lang.reflect.Method.setAccessible(Method.java:193) at org.jenkinsci.plugins.envinject.service.EnvInjectMasterEnvVarsSetter.getModifiers(EnvInjectMasterEnvVarsSetter.java:29) at org.jenkinsci.plugins.envinject.service.EnvInjectMasterEnvVarsSetter.call(EnvInjectMasterEnvVarsSetter.java:55) at org.jenkinsci.plugins.envinject.service.EnvInjectMasterEnvVarsSetter.call(EnvInjectMasterEnvVarsSetter.java:19) at hudson.remoting.UserRequest.perform(UserRequest.java:211) at hudson.remoting.UserRequest.perform(UserRequest.java:54) at hudson.remoting.Request$2.run(Request.java:376) at hudson.remoting.InterceptingExecutorService.lambda$wrap$0(InterceptingExecutorService.java:78) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) at java.base/java.lang. Thread .run( Thread .java:833) Agent successfully connected and online   But we do have a problem since migration with the agents sometimes disconnecting: FATAL: command execution failed Command Close created at at hudson.remoting.Command.<init>(Command.java:70) at hudson.remoting.Channel$CloseCommand.<init>(Channel.java:1306) at hudson.remoting.Channel.close(Channel.java:1480) at hudson.remoting.Channel.close(Channel.java:1447) at hudson.remoting.Channel$CloseCommand.execute(Channel.java:1312) at hudson.remoting.Channel$1.handle(Channel.java:606) at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:81) Caused: hudson.remoting.Channel$OrderlyShutdown at hudson.remoting.Channel$CloseCommand.execute(Channel.java:1313) at hudson.remoting.Channel$1.handle(Channel.java:606) at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:81) Caused: java.io.IOException: Backing channel 'jenkins-agent-xxx17.infra.aza.nu' is disconnected. at hudson.remoting.RemoteInvocationHandler.channelOrFail(RemoteInvocationHandler.java:215) at hudson.remoting.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:285) at jdk.proxy2/jdk.proxy2.$Proxy195.isAlive(Unknown Source) at hudson.Launcher$RemoteLauncher$ProcImpl.isAlive(Launcher.java:1215) at hudson.Launcher$RemoteLauncher$ProcImpl.join(Launcher.java:1207) at hudson.tasks.CommandInterpreter.join(CommandInterpreter.java:195) at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:145) at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:92) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:816) at hudson.model.Build$BuildExecution.build(Build.java:199) at hudson.model.Build$BuildExecution.doRun(Build.java:164) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:524) at hudson.model.Run.execute(Run.java:1899) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:44) at hudson.model.ResourceController.execute(ResourceController.java:107) at hudson.model.Executor.run(Executor.java:449) FATAL: Unable to delete script file /tmp/jenkins1547563919317926764.sh Command Close created at at hudson.remoting.Command.<init>(Command.java:70) at hudson.remoting.Channel$CloseCommand.<init>(Channel.java:1306) at hudson.remoting.Channel.close(Channel.java:1480) at hudson.remoting.Channel.close(Channel.java:1447) at hudson.remoting.Channel$CloseCommand.execute(Channel.java:1312) at hudson.remoting.Channel$1.handle(Channel.java:606) at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:81) Caused: hudson.remoting.Channel$OrderlyShutdown at hudson.remoting.Channel$CloseCommand.execute(Channel.java:1313) at hudson.remoting.Channel$1.handle(Channel.java:606) at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:81) Caused: hudson.remoting.ChannelClosedException: Channel "hudson.remoting.Channel@4807529e:jenkins-agent-xxx17.infra.aza.nu" : Remote call on jenkins-agent-xxx17.infra.aza.nu failed. The channel is closing down or has closed down at hudson.remoting.Channel.call(Channel.java:993) at hudson.FilePath.act(FilePath.java:1186) at hudson.FilePath.act(FilePath.java:1175) at hudson.FilePath.delete(FilePath.java:1722) at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:163) at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:92) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:816) at hudson.model.Build$BuildExecution.build(Build.java:199) at hudson.model.Build$BuildExecution.doRun(Build.java:164) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:524) at hudson.model.Run.execute(Run.java:1899) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:44) at hudson.model.ResourceController.execute(ResourceController.java:107) at hudson.model.Executor.run(Executor.java:449)

          Mark Waite added a comment -

          Same message is displayed in Java 21 agents when they connect

          Mark Waite added a comment - Same message is displayed in Java 21 agents when they connect

          Basil Crow added a comment -

          Duplicates JENKINS-60891.

          Basil Crow added a comment - Duplicates JENKINS-60891 .

          Marcus Philip added a comment -

          basil Given the somewhat imprecise description of JENKINS-60891 :

          After starting Jenkins, there is displayed "An illegal reflective access" warning in console.

          it's not an obvious duplicate to me, but maybe you have more information at hand.

          Marcus Philip added a comment - basil Given the somewhat imprecise description of JENKINS-60891 : After starting Jenkins, there is displayed "An illegal reflective access" warning in console. it's not an obvious duplicate to me, but maybe you have more information at hand.

          Basil Crow added a comment -

          marcus_phi I suggest comparing the two stack traces

          Basil Crow added a comment - marcus_phi I suggest comparing the two stack traces

            Unassigned Unassigned
            jimklimov Jim Klimov
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: