You are viewing a plain text version of this content. The canonical link for it is here.
Posted to infrastructure-issues@apache.org by "Daniel Takamori (JIRA)" <ji...@apache.org> on 2016/03/04 17:08:40 UTC

[jira] [Commented] (INFRA-11375) solaris jobs failing with jenkins "Failed to install JDK"

    [ https://issues.apache.org/jira/browse/INFRA-11375?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15180068#comment-15180068 ] 

Daniel Takamori commented on INFRA-11375:
-----------------------------------------

For gzipped tar files you will need to send it through gzip before untaring.  Also, the file you are untaring is jdk.sh, which might be just a shell script not an archive.

> solaris jobs failing with jenkins "Failed to install JDK"
> ---------------------------------------------------------
>
>                 Key: INFRA-11375
>                 URL: https://issues.apache.org/jira/browse/INFRA-11375
>             Project: Infrastructure
>          Issue Type: Bug
>          Components: Jenkins
>            Reporter: Patrick Hunt
>            Assignee: Daniel Takamori
>            Priority: Blocker
>
> Our Solaris job is failing with the following. JDK config is set to "latest1.7"
> e.g. https://builds.apache.org/view/S-Z/view/ZooKeeper/job/ZooKeeper_branch35_solaris/
> {noformat}
> Started by an SCM change
> [EnvInject] - Loading node environment variables.
> Installing /export/home/hudson/hudson-slave/tools/hudson.model.JDK/latest1.7/jdk.sh
> [latest1.7] $ tar xvzf /export/home/hudson/hudson-slave/tools/hudson.model.JDK/latest1.7/jdk.sh
> tar: z: unknown function modifier
> Usage: tar {c|r|t|u|x}[BDeEFhilmnopPqTvw@[0-7]][bfk][X...] [blocksize] [tarfile] [size] [exclude-file...] {file | -I include-file | -C directory file}...
> ERROR: SEVERE ERROR occurs
> org.jenkinsci.lib.envinject.EnvInjectException: hudson.AbortException: Failed to install JDK. Exit code=1
> 	at org.jenkinsci.plugins.envinject.service.EnvInjectVariableGetter.getBuildVariables(EnvInjectVariableGetter.java:91)
> 	at org.jenkinsci.plugins.envinject.EnvInjectListener.setUpEnvironmentWithoutJobPropertyObject(EnvInjectListener.java:233)
> 	at org.jenkinsci.plugins.envinject.EnvInjectListener.setUpEnvironment(EnvInjectListener.java:46)
> 	at hudson.model.AbstractBuild$AbstractBuildExecution.createLauncher(AbstractBuild.java:572)
> 	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:492)
> 	at hudson.model.Run.execute(Run.java:1738)
> 	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
> 	at hudson.model.ResourceController.execute(ResourceController.java:98)
> 	at hudson.model.Executor.run(Executor.java:410)
> Caused by: hudson.AbortException: Failed to install JDK. Exit code=1
> 	at hudson.tools.JDKInstaller.install(JDKInstaller.java:201)
> 	at hudson.tools.JDKInstaller.performInstallation(JDKInstaller.java:140)
> 	at hudson.tools.InstallerTranslator.getToolHome(InstallerTranslator.java:68)
> 	at hudson.tools.ToolLocationNodeProperty.getToolHome(ToolLocationNodeProperty.java:108)
> 	at hudson.tools.ToolInstallation.translateFor(ToolInstallation.java:206)
> 	at hudson.model.JDK.forNode(JDK.java:143)
> 	at org.jenkinsci.plugins.envinject.service.EnvInjectVariableGetter.getBuildVariables(EnvInjectVariableGetter.java:86)
> 	... 8 more
> ERROR: Step ?Archive the artifacts? failed: no workspace for ZooKeeper_branch35_solaris #10
> ERROR: Step ?Publish JUnit test result report? failed: no workspace for ZooKeeper_branch35_solaris #10
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)