-
Bug
-
Resolution: Fixed
-
Major
-
jenkins 2.121.3, versioncolumn 2.0
I have a macOS node running Java 10. The JVM version column is blank, though it seems happy enough that it's not forcing it to disconnect.
System.properties from node script console:
awt.toolkit:sun.lwawt.macosx.LWCToolkit file.encoding.pkg:sun.io file.encoding:UTF-8 file.separator:/ gopherProxySet:false java.awt.graphicsenv:sun.awt.CGraphicsEnvironment java.awt.headless:true java.awt.printerjob:sun.lwawt.macosx.CPrinterJob java.class.path:remoting.jar java.class.version:54.0 java.home:/Library/Java/JavaVirtualMachines/jdk-10.0.2.jdk/Contents/Home java.io.tmpdir:/var/folders/z0/5bg4pbw166z0xwf0r437w0100000gq/T/ java.library.path:/Users/jenkins/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:. java.runtime.name:Java(TM) SE Runtime Environment java.runtime.version:10.0.2+13 java.specification.name:Java Platform API Specification java.specification.vendor:Oracle Corporation java.specification.version:10 java.vendor.url.bug:http://bugreport.java.com/bugreport/ java.vendor.url:http://java.oracle.com/ java.vendor.version:18.3 java.vendor:Oracle Corporation java.version.date:2018-07-17 java.version:10.0.2 java.vm.compressedOopsMode:Zero based java.vm.info:mixed mode java.vm.name:Java HotSpot(TM) 64-Bit Server VM java.vm.specification.name:Java Virtual Machine Specification java.vm.specification.vendor:Oracle Corporation java.vm.specification.version:10 java.vm.vendor:"Oracle Corporation" java.vm.version:10.0.2+13 jdk.debug:release jna.loaded:true jna.platform.library.path:/usr/lib:/usr/lib jnidispatch.path:/var/folders/z0/5bg4pbw166z0xwf0r437w0100000gq/T/jna--1712433994/jna3909844093290293029.tmp line.separator: os.arch:x86_64 os.name:Mac OS X os.version:10.13.6 path.separator:: sun.arch.data.model:64 sun.boot.library.path:/Library/Java/JavaVirtualMachines/jdk-10.0.2.jdk/Contents/Home/lib sun.cpu.endian:little sun.cpu.isalist: sun.font.fontmanager:sun.font.CFontManager sun.io.unicode.encoding:UnicodeBig sun.java.command:remoting.jar -workDir ./jenkins-agent sun.java.launcher:SUN_STANDARD sun.jnu.encoding:UTF-8 sun.management.compiler:HotSpot 64-Bit Tiered Compilers sun.os.patch.level:unknown user.country:GB user.dir:/Users/jenkins/jenkins-agent user.home:/Users/jenkins user.language:en user.name:jenkins user.timezone:Europe/London
Node connection log:
[09/06/18 17:11:43] [SSH] Checking java version of ./jenkins-agent/jdk/bin/java Couldn't figure out the Java version of ./jenkins-agent/jdk/bin/java bash: ./jenkins-agent/jdk/bin/java: No such file or directory [09/06/18 17:11:43] [SSH] Checking java version of java [09/06/18 17:11:43] [SSH] java -version returned 10.0.2. [09/06/18 17:11:43] [SSH] Starting sftp client. [09/06/18 17:11:43] [SSH] Copying latest remoting.jar... [09/06/18 17:11:43] [SSH] Copied 775,665 bytes. Expanded the channel window size to 4MB [09/06/18 17:11:43] [SSH] Starting agent process: cd "./jenkins-agent" && java -jar remoting.jar -workDir ./jenkins-agent Sep 06, 2018 5:11:43 PM org.jenkinsci.remoting.engine.WorkDirManager initializeWorkDir INFO: Using ./jenkins-agent/remoting as a remoting work directory Both error and output logs will be printed to ./jenkins-agent/remoting <===[JENKINS REMOTING CAPACITY]===>channel started Remoting version: 3.21.1 This is a Unix agent NOTE: Relative remote path resolved to: /Users/jenkins/jenkins-agent/./jenkins-agent WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by jenkins.slaves.StandardOutputSwapper$ChannelSwapper to constructor java.io.FileDescriptor(int) WARNING: Please consider reporting this to the maintainers of jenkins.slaves.StandardOutputSwapper$ChannelSwapper 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 Evacuated stdout Agent successfully connected and online
- is duplicated by
-
JENKINS-54741 NPE and JVM version column of agent running Java 11 is blank
- Closed
- links to