-
Bug
-
Resolution: Not A Defect
-
Major
-
Windows Server 2019
Starting with version 2.343 Jenkins shows all nodes (agents/slaves) as offline
Those are older nodes, so still called slaves.
In jenkins-slave.err.log this is protocolled:
Apr. 14, 2022 11:32:02 VORM. hudson.remoting.jnlp.Main createEngine
INFORMATION: Setting up slave: Jenkins-Slave-E2
Apr. 14, 2022 11:32:02 VORM. hudson.remoting.jnlp.Main$CuiListener <init>
INFORMATION: Jenkins agent is running in headless mode.
Apr. 14, 2022 11:32:03 VORM. hudson.remoting.jnlp.Main$CuiListener status
INFORMATION: Locating server among http://swsbuild2.sws.local/jenkins/
Apr. 14, 2022 11:32:03 VORM. org.jenkinsci.remoting.engine.JnlpAgentEndpointResolver resolve
INFORMATION: Remoting server accepts the following protocols: [JNLP4-connect, Ping]
Apr. 14, 2022 11:32:03 VORM. hudson.remoting.jnlp.Main$CuiListener status
INFORMATION: Agent discovery successful
Agent address: **************
Agent port: 1
Identity: **************
Apr. 14, 2022 11:32:03 VORM. hudson.remoting.jnlp.Main$CuiListener status
INFORMATION: Handshaking
Apr. 14, 2022 11:32:03 VORM. hudson.remoting.jnlp.Main$CuiListener status
INFORMATION: Connecting to s**************
Apr. 14, 2022 11:32:03 VORM. hudson.remoting.jnlp.Main$CuiListener status
INFORMATION: Trying protocol: JNLP4-connect
Apr. 14, 2022 11:32:03 VORM. hudson.remoting.jnlp.Main$CuiListener status
INFORMATION: Remote identity confirmed: **************
Apr. 14, 2022 11:32:03 VORM. hudson.remoting.jnlp.Main$CuiListener status
INFORMATION: Connected
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by hudson.remoting.RemoteClassLoader (file:/E:/E2/slave.jar) to method java.lang.ClassLoader.getClassLoadingLock(java.lang.String)
WARNING: Please consider reporting this to the maintainers of hudson.remoting.RemoteClassLoader
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
After reverting Jenkins to version 2.342 the issue is gone
[JENKINS-68271] Illegal reflective access by hudson.remoting.RemoteClassLoader to method java.lang.ClassLoader.getClassLoadingLock
Description |
Original:
Starting with version 2.343 Jenkins shows all nodes (agents/slaves) as *offline*
Those are older nodes, so still called slaves. In jenkins-slave.err.log this is protocolled: {color:#00875a}Apr. 14, 2022 11:32:02 VORM. hudson.remoting.jnlp.Main createEngine{color} {color:#00875a}INFORMATION: Setting up slave: Jenkins-Slave-E2{color} {color:#00875a}Apr. 14, 2022 11:32:02 VORM. hudson.remoting.jnlp.Main$CuiListener <init>{color} {color:#00875a}INFORMATION: Jenkins agent is running in headless mode.{color} {color:#00875a}Apr. 14, 2022 11:32:03 VORM. hudson.remoting.jnlp.Main$CuiListener status{color} {color:#00875a}INFORMATION: Locating server among [http://swsbuild2.sws.local/jenkins/]{color} {color:#00875a}Apr. 14, 2022 11:32:03 VORM. org.jenkinsci.remoting.engine.JnlpAgentEndpointResolver resolve{color} {color:#00875a}INFORMATION: Remoting server accepts the following protocols: [JNLP4-connect, Ping]{color} {color:#00875a}Apr. 14, 2022 11:32:03 VORM. hudson.remoting.jnlp.Main$CuiListener status{color} {color:#00875a}INFORMATION: Agent discovery successful{color} {color:#00875a} Agent address: **************{color} {color:#00875a} Agent port: 1{color} {color:#00875a} Identity: **************{color} {color:#00875a}Apr. 14, 2022 11:32:03 VORM. hudson.remoting.jnlp.Main$CuiListener status{color} {color:#00875a}INFORMATION: Handshaking{color} {color:#00875a}Apr. 14, 2022 11:32:03 VORM. hudson.remoting.jnlp.Main$CuiListener status{color} {color:#00875a}INFORMATION: Connecting to s**************{color} {color:#00875a}Apr. 14, 2022 11:32:03 VORM. hudson.remoting.jnlp.Main$CuiListener status{color} {color:#00875a}INFORMATION: Trying protocol: JNLP4-connect{color} {color:#00875a}Apr. 14, 2022 11:32:03 VORM. hudson.remoting.jnlp.Main$CuiListener status{color} {color:#00875a}INFORMATION: Remote identity confirmed: **************{color} {color:#00875a}Apr. 14, 2022 11:32:03 VORM. hudson.remoting.jnlp.Main$CuiListener status{color} {color:#00875a}INFORMATION: *Connected*{color} {color:#FF0000}WARNING: An illegal reflective access operation has occurred{color} {color:#FF0000}WARNING: Illegal reflective access by hudson.remoting.RemoteClassLoader (file:/E:/E2/slave.jar) to method java.lang.ClassLoader.getClassLoadingLock(java.lang.String){color} {color:#FF0000}WARNING: Please consider reporting this to the maintainers of hudson.remoting.RemoteClassLoader{color} {color:#FF0000}WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations{color} {color:#FF0000}WARNING: All illegal access operations will be denied in a future release{color} {color:#FF0000}Apr. 14, 2022 11:40:41 VORM. hudson.remoting.jnlp.Main$CuiListener status{color} After reverting Jenkis to version 2.342 the issue is gone |
New:
Starting with version 2.343 Jenkins shows all nodes (agents/slaves) as *offline*
Those are older nodes, so still called slaves. In jenkins-slave.err.log this is protocolled: {color:#00875a}Apr. 14, 2022 11:32:02 VORM. hudson.remoting.jnlp.Main createEngine{color} {color:#00875a}INFORMATION: Setting up slave: Jenkins-Slave-E2{color} {color:#00875a}Apr. 14, 2022 11:32:02 VORM. hudson.remoting.jnlp.Main$CuiListener <init>{color} {color:#00875a}INFORMATION: Jenkins agent is running in headless mode.{color} {color:#00875a}Apr. 14, 2022 11:32:03 VORM. hudson.remoting.jnlp.Main$CuiListener status{color} {color:#00875a}INFORMATION: Locating server among [http://swsbuild2.sws.local/jenkins/]{color} {color:#00875a}Apr. 14, 2022 11:32:03 VORM. org.jenkinsci.remoting.engine.JnlpAgentEndpointResolver resolve{color} {color:#00875a}INFORMATION: Remoting server accepts the following protocols: [JNLP4-connect, Ping]{color} {color:#00875a}Apr. 14, 2022 11:32:03 VORM. hudson.remoting.jnlp.Main$CuiListener status{color} {color:#00875a}INFORMATION: Agent discovery successful{color} {color:#00875a} Agent address: **************{color} {color:#00875a} Agent port: 1{color} {color:#00875a} Identity: **************{color} {color:#00875a}Apr. 14, 2022 11:32:03 VORM. hudson.remoting.jnlp.Main$CuiListener status{color} {color:#00875a}INFORMATION: Handshaking{color} {color:#00875a}Apr. 14, 2022 11:32:03 VORM. hudson.remoting.jnlp.Main$CuiListener status{color} {color:#00875a}INFORMATION: Connecting to s**************{color} {color:#00875a}Apr. 14, 2022 11:32:03 VORM. hudson.remoting.jnlp.Main$CuiListener status{color} {color:#00875a}INFORMATION: Trying protocol: JNLP4-connect{color} {color:#00875a}Apr. 14, 2022 11:32:03 VORM. hudson.remoting.jnlp.Main$CuiListener status{color} {color:#00875a}INFORMATION: Remote identity confirmed: **************{color} {color:#00875a}Apr. 14, 2022 11:32:03 VORM. hudson.remoting.jnlp.Main$CuiListener status{color} {color:#00875a}INFORMATION: *Connected*{color} {color:#ff0000}WARNING: An illegal reflective access operation has occurred{color} {color:#ff0000}WARNING: Illegal reflective access by hudson.remoting.RemoteClassLoader ([file:/E:/E2/slave.jar|file:///E:/E2/slave.jar]) to method java.lang.ClassLoader.getClassLoadingLock(java.lang.String){color} {color:#ff0000}WARNING: Please consider reporting this to the maintainers of hudson.remoting.RemoteClassLoader{color} {color:#ff0000}WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations{color} {color:#ff0000}WARNING: All illegal access operations will be denied in a future release{color} After reverting Jenkis to version 2.342 the issue is gone |
Description |
Original:
Starting with version 2.343 Jenkins shows all nodes (agents/slaves) as *offline*
Those are older nodes, so still called slaves. In jenkins-slave.err.log this is protocolled: {color:#00875a}Apr. 14, 2022 11:32:02 VORM. hudson.remoting.jnlp.Main createEngine{color} {color:#00875a}INFORMATION: Setting up slave: Jenkins-Slave-E2{color} {color:#00875a}Apr. 14, 2022 11:32:02 VORM. hudson.remoting.jnlp.Main$CuiListener <init>{color} {color:#00875a}INFORMATION: Jenkins agent is running in headless mode.{color} {color:#00875a}Apr. 14, 2022 11:32:03 VORM. hudson.remoting.jnlp.Main$CuiListener status{color} {color:#00875a}INFORMATION: Locating server among [http://swsbuild2.sws.local/jenkins/]{color} {color:#00875a}Apr. 14, 2022 11:32:03 VORM. org.jenkinsci.remoting.engine.JnlpAgentEndpointResolver resolve{color} {color:#00875a}INFORMATION: Remoting server accepts the following protocols: [JNLP4-connect, Ping]{color} {color:#00875a}Apr. 14, 2022 11:32:03 VORM. hudson.remoting.jnlp.Main$CuiListener status{color} {color:#00875a}INFORMATION: Agent discovery successful{color} {color:#00875a} Agent address: **************{color} {color:#00875a} Agent port: 1{color} {color:#00875a} Identity: **************{color} {color:#00875a}Apr. 14, 2022 11:32:03 VORM. hudson.remoting.jnlp.Main$CuiListener status{color} {color:#00875a}INFORMATION: Handshaking{color} {color:#00875a}Apr. 14, 2022 11:32:03 VORM. hudson.remoting.jnlp.Main$CuiListener status{color} {color:#00875a}INFORMATION: Connecting to s**************{color} {color:#00875a}Apr. 14, 2022 11:32:03 VORM. hudson.remoting.jnlp.Main$CuiListener status{color} {color:#00875a}INFORMATION: Trying protocol: JNLP4-connect{color} {color:#00875a}Apr. 14, 2022 11:32:03 VORM. hudson.remoting.jnlp.Main$CuiListener status{color} {color:#00875a}INFORMATION: Remote identity confirmed: **************{color} {color:#00875a}Apr. 14, 2022 11:32:03 VORM. hudson.remoting.jnlp.Main$CuiListener status{color} {color:#00875a}INFORMATION: *Connected*{color} {color:#ff0000}WARNING: An illegal reflective access operation has occurred{color} {color:#ff0000}WARNING: Illegal reflective access by hudson.remoting.RemoteClassLoader ([file:/E:/E2/slave.jar|file:///E:/E2/slave.jar]) to method java.lang.ClassLoader.getClassLoadingLock(java.lang.String){color} {color:#ff0000}WARNING: Please consider reporting this to the maintainers of hudson.remoting.RemoteClassLoader{color} {color:#ff0000}WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations{color} {color:#ff0000}WARNING: All illegal access operations will be denied in a future release{color} After reverting Jenkis to version 2.342 the issue is gone |
New:
Starting with version 2.343 Jenkins shows all nodes (agents/slaves) as *offline*
Those are older nodes, so still called slaves. In jenkins-slave.err.log this is protocolled: {color:#00875a}Apr. 14, 2022 11:32:02 VORM. hudson.remoting.jnlp.Main createEngine{color} {color:#00875a}INFORMATION: Setting up slave: Jenkins-Slave-E2{color} {color:#00875a}Apr. 14, 2022 11:32:02 VORM. hudson.remoting.jnlp.Main$CuiListener <init>{color} {color:#00875a}INFORMATION: Jenkins agent is running in headless mode.{color} {color:#00875a}Apr. 14, 2022 11:32:03 VORM. hudson.remoting.jnlp.Main$CuiListener status{color} {color:#00875a}INFORMATION: Locating server among [http://swsbuild2.sws.local/jenkins/]{color} {color:#00875a}Apr. 14, 2022 11:32:03 VORM. org.jenkinsci.remoting.engine.JnlpAgentEndpointResolver resolve{color} {color:#00875a}INFORMATION: Remoting server accepts the following protocols: [JNLP4-connect, Ping]{color} {color:#00875a}Apr. 14, 2022 11:32:03 VORM. hudson.remoting.jnlp.Main$CuiListener status{color} {color:#00875a}INFORMATION: Agent discovery successful{color} {color:#00875a} Agent address: **************{color} {color:#00875a} Agent port: 1{color} {color:#00875a} Identity: **************{color} {color:#00875a}Apr. 14, 2022 11:32:03 VORM. hudson.remoting.jnlp.Main$CuiListener status{color} {color:#00875a}INFORMATION: Handshaking{color} {color:#00875a}Apr. 14, 2022 11:32:03 VORM. hudson.remoting.jnlp.Main$CuiListener status{color} {color:#00875a}INFORMATION: Connecting to s**************{color} {color:#00875a}Apr. 14, 2022 11:32:03 VORM. hudson.remoting.jnlp.Main$CuiListener status{color} {color:#00875a}INFORMATION: Trying protocol: JNLP4-connect{color} {color:#00875a}Apr. 14, 2022 11:32:03 VORM. hudson.remoting.jnlp.Main$CuiListener status{color} {color:#00875a}INFORMATION: Remote identity confirmed: **************{color} {color:#00875a}Apr. 14, 2022 11:32:03 VORM. hudson.remoting.jnlp.Main$CuiListener status{color} {color:#00875a}INFORMATION: *Connected*{color} {color:#ff0000}WARNING: An illegal reflective access operation has occurred{color} {color:#ff0000}WARNING: Illegal reflective access by hudson.remoting.RemoteClassLoader ([file:/E:/E2/slave.jar|file:///E:/E2/slave.jar]) to method java.lang.ClassLoader.getClassLoadingLock(java.lang.String){color} {color:#ff0000}WARNING: Please consider reporting this to the maintainers of hudson.remoting.RemoteClassLoader{color} {color:#ff0000}WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations{color} {color:#ff0000}WARNING: All illegal access operations will be denied in a future release{color} After reverting Jenkins to version 2.342 the issue is gone |
Component/s | New: remoting [ 15489 ] | |
Component/s | Original: slave-proxy-plugin [ 17602 ] |
Epic Link | New: JENKINS-67907 [ 214454 ] | |
Priority | Original: Blocker [ 1 ] | New: Major [ 3 ] |
Summary | Original: Illegal reflective access by hudson.remoting.RemoteClassLoader | New: Illegal reflective access by hudson.remoting.RemoteClassLoader to method java.lang.ClassLoader.getClassLoadingLock |
Resolution | New: Not A Defect [ 7 ] | |
Status | Original: Open [ 1 ] | New: Closed [ 6 ] |
Please provide the output of java -version on both your controller and on the agent, as well as the version of Remoting being used on the agent.