[JIRA] (JENKINS-59584) java.io.IOException: Unable to locate binary

10 views
Skip to first unread message

james@howeswho.co.uk (JIRA)

unread,
Sep 30, 2019, 8:06:03 AM9/30/19
to jenkinsc...@googlegroups.com
James Howe created an issue
 
Jenkins / Bug JENKINS-59584
java.io.IOException: Unable to locate binary
Issue Type: Bug Bug
Assignee: Mads Mohr Christensen
Components: adoptopenjdk-plugin
Created: 2019-09-30 12:05
Environment: Jenkins 2.190.1
AdoptOpenJDK installer Plugin 1.2
Priority: Major Major
Reporter: James Howe

After upgrading Jenkins, the selected JDK is no longer being installed.
I have tried jdk-11.0.4+11.4, jdk-11.0.4+11.4_openj9-0.15.1 and jdk-11.0.4+11.2.

java.io.IOException: Unable to locate binary. ID: jdk-11.0.4+11.4_openj9-0.15.1, Platform: LINUX, CPU: amd64
	at io.jenkins.plugins.adoptopenjdk.AdoptOpenJDKInstaller.performInstallation(AdoptOpenJDKInstaller.java:116)
	at hudson.tools.InstallerTranslator.getToolHome(InstallerTranslator.java:69)
	at hudson.tools.ToolLocationNodeProperty.getToolHome(ToolLocationNodeProperty.java:109)
	at hudson.tools.ToolInstallation.translateFor(ToolInstallation.java:206)
	at hudson.model.JDK.forNode(JDK.java:147)
	at hudson.model.JDK.forNode(JDK.java:60)
	at org.jenkinsci.plugins.workflow.steps.ToolStep$Execution.run(ToolStep.java:152)
	at org.jenkinsci.plugins.workflow.steps.ToolStep$Execution.run(ToolStep.java:133)
	at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
Finished: FAILURE

The previous tool appears to have been removed. $JENKINS_HOME/node/tools/hudson.model.JDK/JDK_11 is an empty directory.

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

james@howeswho.co.uk (JIRA)

unread,
Sep 30, 2019, 8:22:02 AM9/30/19
to jenkinsc...@googlegroups.com
James Howe commented on Bug JENKINS-59584
 
Re: java.io.IOException: Unable to locate binary

Downgrading back to 2.176.4 did not fix it.

I'm not sure what to try now.

james@howeswho.co.uk (JIRA)

unread,
Sep 30, 2019, 8:37:01 AM9/30/19
to jenkinsc...@googlegroups.com

Going further back on the list of available JDKs, jdk-11.0.4+11_openj9-0.15.1 worked. I have no idea why.

hr.mohr@gmail.com (JIRA)

unread,
Oct 1, 2019, 10:32:01 AM10/1/19
to jenkinsc...@googlegroups.com

hr.mohr@gmail.com (JIRA)

unread,
Oct 1, 2019, 10:34:04 AM10/1/19
to jenkinsc...@googlegroups.com
It looks like those versions doesn't have a Linux amd64 version:

[https://adoptopenjdk.net/archive.html?variant=openjdk11&jvmVariant=hotspot]

  So I think we should improve the error message and perhaps find a way to display the list of supported platforms for each release.

james@howeswho.co.uk (JIRA)

unread,
Oct 1, 2019, 10:51:03 AM10/1/19
to jenkinsc...@googlegroups.com

Is a "latest available" option for each major version/implementation possible?

Reply all
Reply to author
Forward
0 new messages