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

JDK 7u9 auto install fails: Your Oracle account doesn't appear valid. Please specify a valid username/password

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Blocker
    • Resolution: Incomplete
    • Component/s: core
    • Labels:
    • Environment:
      Debian Squeeze 64, Jenkins from jenkins repository (Jenkins ver. 1.493)
    • Similar Issues:

      Description

      It seems Oracle is blocking access to older JDKs without login from the URL in the stacktrace.

      Possible solutions:

      Installing JDK jdk-7u9-oth-JPR
      Downloading JDK from http://download.oracle.com/otn/java/jdk/7u9-b05/jdk-7u9-linux-x64.tar.gz
      
      Your Oracle account doesn't appear valid. Please specify a valid username/password
      ERROR: Unable to install JDK unless a valid username/password is provided.
      Skipping Cobertura coverage report as build was not UNSTABLE or better ...
      Installing JDK jdk-7u9-oth-JPR
      Downloading JDK from http://download.oracle.com/otn/java/jdk/7u9-b05/jdk-7u9-linux-x64.tar.gz
      
      Your Oracle account doesn't appear valid. Please specify a valid username/password
      ERROR: Publisher hudson.tasks.Mailer aborted due to exception
      hudson.AbortException: Unable to install JDK unless a valid username/password is provided.
      	at hudson.tools.JDKInstaller.locate(JDKInstaller.java:421)
      	at hudson.tools.JDKInstaller.performInstallation(JDKInstaller.java:125)
      	at hudson.tools.InstallerTranslator.getToolHome(InstallerTranslator.java:61)
      	at hudson.tools.ToolLocationNodeProperty.getToolHome(ToolLocationNodeProperty.java:107)
      	at hudson.tools.ToolInstallation.translateFor(ToolInstallation.java:203)
      	at hudson.model.JDK.forNode(JDK.java:122)
      	at hudson.model.AbstractProject.getEnvironment(AbstractProject.java:310)
      	at hudson.model.Run.getEnvironment(Run.java:1967)
      	at hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:930)
      	at hudson.tasks.Mailer.perform(Mailer.java:112)
      	at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:804)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:779)
      	at hudson.model.Build$BuildExecution.post2(Build.java:183)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:726)
      	at hudson.model.Run.execute(Run.java:1543)
      	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      	at hudson.model.ResourceController.execute(ResourceController.java:88)
      	at hudson.model.Executor.run(Executor.java:236)
      Finished: FAILURE
      

        Attachments

          Activity

          sentolacco Thomas Neumeier created issue -
          sentolacco Thomas Neumeier made changes -
          Field Original Value New Value
          Description It seems Oracle is blocking access to older JDKs without login from the URL in the stacktrace.

          Possible solutions:
          - change url to http://www.oracle.com/technetwork/java/javase/downloads/jdk7u9-downloads-1859576.html as it currently does not require login
          - provide username/password support for oracle accounts.
          - update the list to support auto install for JDK 7 u10


          Installing JDK jdk-7u9-oth-JPR
          Downloading JDK from http://download.oracle.com/otn/java/jdk/7u9-b05/jdk-7u9-linux-x64.tar.gz

          Your Oracle account doesn't appear valid. Please specify a valid username/password
          ERROR: Unable to install JDK unless a valid username/password is provided.
          Skipping Cobertura coverage report as build was not UNSTABLE or better ...
          Installing JDK jdk-7u9-oth-JPR
          Downloading JDK from http://download.oracle.com/otn/java/jdk/7u9-b05/jdk-7u9-linux-x64.tar.gz

          Your Oracle account doesn't appear valid. Please specify a valid username/password
          ERROR: Publisher hudson.tasks.Mailer aborted due to exception
          hudson.AbortException: Unable to install JDK unless a valid username/password is provided.
          at hudson.tools.JDKInstaller.locate(JDKInstaller.java:421)
          at hudson.tools.JDKInstaller.performInstallation(JDKInstaller.java:125)
          at hudson.tools.InstallerTranslator.getToolHome(InstallerTranslator.java:61)
          at hudson.tools.ToolLocationNodeProperty.getToolHome(ToolLocationNodeProperty.java:107)
          at hudson.tools.ToolInstallation.translateFor(ToolInstallation.java:203)
          at hudson.model.JDK.forNode(JDK.java:122)
          at hudson.model.AbstractProject.getEnvironment(AbstractProject.java:310)
          at hudson.model.Run.getEnvironment(Run.java:1967)
          at hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:930)
          at hudson.tasks.Mailer.perform(Mailer.java:112)
          at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
          at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:804)
          at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:779)
          at hudson.model.Build$BuildExecution.post2(Build.java:183)
          at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:726)
          at hudson.model.Run.execute(Run.java:1543)
          at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
          at hudson.model.ResourceController.execute(ResourceController.java:88)
          at hudson.model.Executor.run(Executor.java:236)
          Finished: FAILURE
          It seems Oracle is blocking access to older JDKs without login from the URL in the stacktrace.

          Possible solutions:
          - change url to http://www.oracle.com/technetwork/java/javase/downloads/jdk7u9-downloads-1859576.html as it currently does not require login
          - provide username/password support for oracle accounts.
          - update the list to support auto install for JDK 7 u10

          {code}
          Installing JDK jdk-7u9-oth-JPR
          Downloading JDK from http://download.oracle.com/otn/java/jdk/7u9-b05/jdk-7u9-linux-x64.tar.gz

          Your Oracle account doesn't appear valid. Please specify a valid username/password
          ERROR: Unable to install JDK unless a valid username/password is provided.
          Skipping Cobertura coverage report as build was not UNSTABLE or better ...
          Installing JDK jdk-7u9-oth-JPR
          Downloading JDK from http://download.oracle.com/otn/java/jdk/7u9-b05/jdk-7u9-linux-x64.tar.gz

          Your Oracle account doesn't appear valid. Please specify a valid username/password
          ERROR: Publisher hudson.tasks.Mailer aborted due to exception
          hudson.AbortException: Unable to install JDK unless a valid username/password is provided.
          at hudson.tools.JDKInstaller.locate(JDKInstaller.java:421)
          at hudson.tools.JDKInstaller.performInstallation(JDKInstaller.java:125)
          at hudson.tools.InstallerTranslator.getToolHome(InstallerTranslator.java:61)
          at hudson.tools.ToolLocationNodeProperty.getToolHome(ToolLocationNodeProperty.java:107)
          at hudson.tools.ToolInstallation.translateFor(ToolInstallation.java:203)
          at hudson.model.JDK.forNode(JDK.java:122)
          at hudson.model.AbstractProject.getEnvironment(AbstractProject.java:310)
          at hudson.model.Run.getEnvironment(Run.java:1967)
          at hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:930)
          at hudson.tasks.Mailer.perform(Mailer.java:112)
          at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
          at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:804)
          at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:779)
          at hudson.model.Build$BuildExecution.post2(Build.java:183)
          at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:726)
          at hudson.model.Run.execute(Run.java:1543)
          at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
          at hudson.model.ResourceController.execute(ResourceController.java:88)
          at hudson.model.Executor.run(Executor.java:236)
          Finished: FAILURE
          {code}
          sentolacco Thomas Neumeier made changes -
          Description It seems Oracle is blocking access to older JDKs without login from the URL in the stacktrace.

          Possible solutions:
          - change url to http://www.oracle.com/technetwork/java/javase/downloads/jdk7u9-downloads-1859576.html as it currently does not require login
          - provide username/password support for oracle accounts.
          - update the list to support auto install for JDK 7 u10

          {code}
          Installing JDK jdk-7u9-oth-JPR
          Downloading JDK from http://download.oracle.com/otn/java/jdk/7u9-b05/jdk-7u9-linux-x64.tar.gz

          Your Oracle account doesn't appear valid. Please specify a valid username/password
          ERROR: Unable to install JDK unless a valid username/password is provided.
          Skipping Cobertura coverage report as build was not UNSTABLE or better ...
          Installing JDK jdk-7u9-oth-JPR
          Downloading JDK from http://download.oracle.com/otn/java/jdk/7u9-b05/jdk-7u9-linux-x64.tar.gz

          Your Oracle account doesn't appear valid. Please specify a valid username/password
          ERROR: Publisher hudson.tasks.Mailer aborted due to exception
          hudson.AbortException: Unable to install JDK unless a valid username/password is provided.
          at hudson.tools.JDKInstaller.locate(JDKInstaller.java:421)
          at hudson.tools.JDKInstaller.performInstallation(JDKInstaller.java:125)
          at hudson.tools.InstallerTranslator.getToolHome(InstallerTranslator.java:61)
          at hudson.tools.ToolLocationNodeProperty.getToolHome(ToolLocationNodeProperty.java:107)
          at hudson.tools.ToolInstallation.translateFor(ToolInstallation.java:203)
          at hudson.model.JDK.forNode(JDK.java:122)
          at hudson.model.AbstractProject.getEnvironment(AbstractProject.java:310)
          at hudson.model.Run.getEnvironment(Run.java:1967)
          at hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:930)
          at hudson.tasks.Mailer.perform(Mailer.java:112)
          at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
          at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:804)
          at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:779)
          at hudson.model.Build$BuildExecution.post2(Build.java:183)
          at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:726)
          at hudson.model.Run.execute(Run.java:1543)
          at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
          at hudson.model.ResourceController.execute(ResourceController.java:88)
          at hudson.model.Executor.run(Executor.java:236)
          Finished: FAILURE
          {code}
          It seems Oracle is blocking access to older JDKs without login from the URL in the stacktrace.

          Possible solutions:
          - change url to http://www.oracle.com/technetwork/java/javase/downloads/jdk7u9-downloads-1859576.html as it currently does not require login
          - provide username/password support for oracle accounts.
          - update the list to support auto install for JDK 7 u10


          {code}
          Installing JDK jdk-7u9-oth-JPR
          Downloading JDK from http://download.oracle.com/otn/java/jdk/7u9-b05/jdk-7u9-linux-x64.tar.gz

          Your Oracle account doesn't appear valid. Please specify a valid username/password
          ERROR: Unable to install JDK unless a valid username/password is provided.
          Skipping Cobertura coverage report as build was not UNSTABLE or better ...
          Installing JDK jdk-7u9-oth-JPR
          Downloading JDK from http://download.oracle.com/otn/java/jdk/7u9-b05/jdk-7u9-linux-x64.tar.gz

          Your Oracle account doesn't appear valid. Please specify a valid username/password
          ERROR: Publisher hudson.tasks.Mailer aborted due to exception
          hudson.AbortException: Unable to install JDK unless a valid username/password is provided.
          at hudson.tools.JDKInstaller.locate(JDKInstaller.java:421)
          at hudson.tools.JDKInstaller.performInstallation(JDKInstaller.java:125)
          at hudson.tools.InstallerTranslator.getToolHome(InstallerTranslator.java:61)
          at hudson.tools.ToolLocationNodeProperty.getToolHome(ToolLocationNodeProperty.java:107)
          at hudson.tools.ToolInstallation.translateFor(ToolInstallation.java:203)
          at hudson.model.JDK.forNode(JDK.java:122)
          at hudson.model.AbstractProject.getEnvironment(AbstractProject.java:310)
          at hudson.model.Run.getEnvironment(Run.java:1967)
          at hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:930)
          at hudson.tasks.Mailer.perform(Mailer.java:112)
          at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
          at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:804)
          at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:779)
          at hudson.model.Build$BuildExecution.post2(Build.java:183)
          at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:726)
          at hudson.model.Run.execute(Run.java:1543)
          at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
          at hudson.model.ResourceController.execute(ResourceController.java:88)
          at hudson.model.Executor.run(Executor.java:236)
          Finished: FAILURE
          {code}
          Hide
          sogabe sogabe added a comment - - edited

          > provide username/password support for oracle accounts.
          already provided.

          Show
          sogabe sogabe added a comment - - edited > provide username/password support for oracle accounts. already provided.
          Hide
          aheritier Arnaud Héritier added a comment -

          Same thing for me with Java 6
          This bug will be quickly critical for many people.

          Show
          aheritier Arnaud Héritier added a comment - Same thing for me with Java 6 This bug will be quickly critical for many people.
          Hide
          sentolacco Thomas Neumeier added a comment -

          @sogabe: im sorry but i cant find the option to provide those credentials, can you give any hint?

          for now i installed manually, which worked fine (extracting it on the local disk and linking it in the jenkins config), but i guess this would not work on distributed installations.

          Show
          sentolacco Thomas Neumeier added a comment - @sogabe: im sorry but i cant find the option to provide those credentials, can you give any hint? for now i installed manually, which worked fine (extracting it on the local disk and linking it in the jenkins config), but i guess this would not work on distributed installations.
          sogabe sogabe made changes -
          Attachment password.png [ 23000 ]
          Hide
          sogabe sogabe added a comment -

          @Thomas See attached file. If you can find it, delete $JENKINS_HOME/hudson.tools.JDKInstaller.xml and restart Jenkins installation.

          Show
          sogabe sogabe added a comment - @Thomas See attached file. If you can find it, delete $JENKINS_HOME/hudson.tools.JDKInstaller.xml and restart Jenkins installation.
          Hide
          danielbeck Daniel Beck added a comment -

          Could someone please explain where the bug is here? Oracle requires credentials to download. Jenkins says so. If you enter them, it works.

          Show
          danielbeck Daniel Beck added a comment - Could someone please explain where the bug is here? Oracle requires credentials to download. Jenkins says so. If you enter them, it works.
          Hide
          oleg_nenashev Oleg Nenashev added a comment -

          No response from the submitter.
          The current behavior seems to be correct

          Show
          oleg_nenashev Oleg Nenashev added a comment - No response from the submitter. The current behavior seems to be correct
          oleg_nenashev Oleg Nenashev made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Not A Defect [ 7 ]
          Hide
          vchande viral chande added a comment -

          I have updated Jenkins to 1.609.3 yet i am not able to see the place to enter the oracle creds. as mentioned in the attachment. how can i find a work around for this?

          Show
          vchande viral chande added a comment - I have updated Jenkins to 1.609.3 yet i am not able to see the place to enter the oracle creds. as mentioned in the attachment. how can i find a work around for this?
          vchande viral chande made changes -
          Resolution Not A Defect [ 7 ]
          Status Resolved [ 5 ] Reopened [ 4 ]
          Hide
          danielbeck Daniel Beck added a comment -

          This is an issue tracker, not a support site. For questions, please ask on IRC or the jenkinsci-users mailing list.

          Show
          danielbeck Daniel Beck added a comment - This is an issue tracker, not a support site. For questions, please ask on IRC or the jenkinsci-users mailing list.
          danielbeck Daniel Beck made changes -
          Status Reopened [ 4 ] Resolved [ 5 ]
          Resolution Incomplete [ 4 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 146923 ] JNJira + In-Review [ 192142 ]
          Hide
          vshih Victor Shih added a comment -

          Apparently this is under Manage Jenkins > Global Tool Configuration, or /configureTools/ .

          Show
          vshih Victor Shih added a comment - Apparently this is under Manage Jenkins > Global Tool Configuration, or /configureTools/ .

            People

            • Assignee:
              Unassigned
              Reporter:
              sentolacco Thomas Neumeier
            • Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: