Quantcast

[JIRA] (JENKINS-13357) Autoinstall JDK from download.oracle.com no longer works

classic Classic list List threaded Threaded
16 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[JIRA] (JENKINS-13357) Autoinstall JDK from download.oracle.com no longer works

JIRA noreply@jenkins-ci.org
andreasmandel created JENKINS-13357:
---------------------------------------

             Summary: Autoinstall JDK from download.oracle.com no longer works
                 Key: JENKINS-13357
                 URL: https://issues.jenkins-ci.org/browse/JENKINS-13357
             Project: Jenkins
          Issue Type: Bug
          Components: core
    Affects Versions: current
            Reporter: andreasmandel
            Assignee: Kohsuke Kawaguchi
            Priority: Blocker


Just noticed that the autoinstallation of JDK from java.sun.com stopped working recently. I tried various Jenkins instances running here and they all have the same problem; versions from 1.415 to 1.423 on Linux.
 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[JIRA] (JENKINS-13357) Autoinstall JDK from download.oracle.com no longer works

JIRA noreply@jenkins-ci.org

     [ https://issues.jenkins-ci.org/browse/JENKINS-13357?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

andreasmandel updated JENKINS-13357:
------------------------------------

       Priority: Critical  (was: Blocker)
    Description:
Just noticed that the autoinstallation of JDK from download.oracle.com stopped working recently. I tried various Jenkins instances running here and they all have the same problem; versions 1.458 on Linux & Windows

The downloaded 'jdk.exe' or 'jdh.sh' just contains a html page with the note 'Sorry! In order to download products from Oracle Technology        
            Network you must agree to the OTN license terms.'


The error on Windows build is then:
{code}
Installing JDK jdk-7-oth-JPR
Downloading JDK from http://download.oracle.com/otn/java/jdk/7/jdk-7-windows-i586.exe
Downloading 5307bytes
[jdk_1.7.0] $ C:\tools\jenkins\tools\jdk_1.7.0\jdk.exe /s /v /qn /L \"C:\tools\jenkins\tools\jdk_1.7.0\jdk.exe.install.log\" REBOOT=ReallySuppress INSTALLDIR=\"C:\tools\jenkins\tools\jdk_1.7.0\"
The image file %1 is valid, but is for a machine type other than the current machine
FATAL: Befehlsausführung fehlgeschlagen
java.io.IOException: Cannot run program "C:\tools\jenkins\tools\jdk_1.7.0\jdk.exe" (in directory "C:\tools\jenkins\tools\jdk_1.7.0"): CreateProcess error=216, This version of %1 is not compatible with the version of Windows you're running. Check your computer's system information to see whether you need a x86 (32-bit) or x64 (64-bit) version of the program, and then contact the software publisher
...
{code}

  was:
Just noticed that the autoinstallation of JDK from java.sun.com stopped working recently. I tried various Jenkins instances running here and they all have the same problem; versions from 1.415 to 1.423 on Linux.
 

   

> Autoinstall JDK from download.oracle.com no longer works
> --------------------------------------------------------
>
>                 Key: JENKINS-13357
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-13357
>             Project: Jenkins
>          Issue Type: Bug
>          Components: core
>    Affects Versions: current
>            Reporter: andreasmandel
>            Assignee: Kohsuke Kawaguchi
>            Priority: Critical
>
> Just noticed that the autoinstallation of JDK from download.oracle.com stopped working recently. I tried various Jenkins instances running here and they all have the same problem; versions 1.458 on Linux & Windows
> The downloaded 'jdk.exe' or 'jdh.sh' just contains a html page with the note 'Sorry! In order to download products from Oracle Technology        
>             Network you must agree to the OTN license terms.'
> The error on Windows build is then:
> {code}
> Installing JDK jdk-7-oth-JPR
> Downloading JDK from http://download.oracle.com/otn/java/jdk/7/jdk-7-windows-i586.exe
> Downloading 5307bytes
> [jdk_1.7.0] $ C:\tools\jenkins\tools\jdk_1.7.0\jdk.exe /s /v /qn /L \"C:\tools\jenkins\tools\jdk_1.7.0\jdk.exe.install.log\" REBOOT=ReallySuppress INSTALLDIR=\"C:\tools\jenkins\tools\jdk_1.7.0\"
> The image file %1 is valid, but is for a machine type other than the current machine
> FATAL: Befehlsausführung fehlgeschlagen
> java.io.IOException: Cannot run program "C:\tools\jenkins\tools\jdk_1.7.0\jdk.exe" (in directory "C:\tools\jenkins\tools\jdk_1.7.0"): CreateProcess error=216, This version of %1 is not compatible with the version of Windows you're running. Check your computer's system information to see whether you need a x86 (32-bit) or x64 (64-bit) version of the program, and then contact the software publisher
> ...
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[JIRA] (JENKINS-13357) Autoinstall JDK from download.oracle.com no longer works

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

    [ https://issues.jenkins-ci.org/browse/JENKINS-13357?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=162046#comment-162046 ]

chris monster commented on JENKINS-13357:
-----------------------------------------

Any suggested workaround?  This is a blocker for us as our builds run on multiple platforms and we can't easily fix a download location.
               

> Autoinstall JDK from download.oracle.com no longer works
> --------------------------------------------------------
>
>                 Key: JENKINS-13357
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-13357
>             Project: Jenkins
>          Issue Type: Bug
>          Components: core
>    Affects Versions: current
>            Reporter: andreasmandel
>            Assignee: Kohsuke Kawaguchi
>            Priority: Critical
>
> Just noticed that the autoinstallation of JDK from download.oracle.com stopped working recently. I tried various Jenkins instances running here and they all have the same problem; versions 1.458 on Linux & Windows
> The downloaded 'jdk.exe' or 'jdh.sh' just contains a html page with the note 'Sorry! In order to download products from Oracle Technology        
>             Network you must agree to the OTN license terms.'
> The error on Windows build is then:
> {code}
> Installing JDK jdk-7-oth-JPR
> Downloading JDK from http://download.oracle.com/otn/java/jdk/7/jdk-7-windows-i586.exe
> Downloading 5307bytes
> [jdk_1.7.0] $ C:\tools\jenkins\tools\jdk_1.7.0\jdk.exe /s /v /qn /L \"C:\tools\jenkins\tools\jdk_1.7.0\jdk.exe.install.log\" REBOOT=ReallySuppress INSTALLDIR=\"C:\tools\jenkins\tools\jdk_1.7.0\"
> The image file %1 is valid, but is for a machine type other than the current machine
> FATAL: Befehlsausführung fehlgeschlagen
> java.io.IOException: Cannot run program "C:\tools\jenkins\tools\jdk_1.7.0\jdk.exe" (in directory "C:\tools\jenkins\tools\jdk_1.7.0"): CreateProcess error=216, This version of %1 is not compatible with the version of Windows you're running. Check your computer's system information to see whether you need a x86 (32-bit) or x64 (64-bit) version of the program, and then contact the software publisher
> ...
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[JIRA] (JENKINS-13357) Autoinstall JDK from download.oracle.com no longer works

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

     [ https://issues.jenkins-ci.org/browse/JENKINS-13357?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

sogabe resolved JENKINS-13357.
------------------------------

    Resolution: Duplicate
   

> Autoinstall JDK from download.oracle.com no longer works
> --------------------------------------------------------
>
>                 Key: JENKINS-13357
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-13357
>             Project: Jenkins
>          Issue Type: Bug
>          Components: core
>    Affects Versions: current
>            Reporter: andreasmandel
>            Assignee: Kohsuke Kawaguchi
>            Priority: Critical
>
> Just noticed that the autoinstallation of JDK from download.oracle.com stopped working recently. I tried various Jenkins instances running here and they all have the same problem; versions 1.458 on Linux & Windows
> The downloaded 'jdk.exe' or 'jdh.sh' just contains a html page with the note 'Sorry! In order to download products from Oracle Technology        
>             Network you must agree to the OTN license terms.'
> The error on Windows build is then:
> {code}
> Installing JDK jdk-7-oth-JPR
> Downloading JDK from http://download.oracle.com/otn/java/jdk/7/jdk-7-windows-i586.exe
> Downloading 5307bytes
> [jdk_1.7.0] $ C:\tools\jenkins\tools\jdk_1.7.0\jdk.exe /s /v /qn /L \"C:\tools\jenkins\tools\jdk_1.7.0\jdk.exe.install.log\" REBOOT=ReallySuppress INSTALLDIR=\"C:\tools\jenkins\tools\jdk_1.7.0\"
> The image file %1 is valid, but is for a machine type other than the current machine
> FATAL: Befehlsausführung fehlgeschlagen
> java.io.IOException: Cannot run program "C:\tools\jenkins\tools\jdk_1.7.0\jdk.exe" (in directory "C:\tools\jenkins\tools\jdk_1.7.0"): CreateProcess error=216, This version of %1 is not compatible with the version of Windows you're running. Check your computer's system information to see whether you need a x86 (32-bit) or x64 (64-bit) version of the program, and then contact the software publisher
> ...
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[JIRA] (JENKINS-13357) Autoinstall JDK from download.oracle.com no longer works

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

    [ https://issues.jenkins-ci.org/browse/JENKINS-13357?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=162822#comment-162822 ]

chanti vlad commented on JENKINS-13357:
---------------------------------------

JENKINS-13435 "fix" in 1.464 did not help with this issue.
               

> Autoinstall JDK from download.oracle.com no longer works
> --------------------------------------------------------
>
>                 Key: JENKINS-13357
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-13357
>             Project: Jenkins
>          Issue Type: Bug
>          Components: core
>    Affects Versions: current
>            Reporter: andreasmandel
>            Assignee: Kohsuke Kawaguchi
>            Priority: Critical
>
> Just noticed that the autoinstallation of JDK from download.oracle.com stopped working recently. I tried various Jenkins instances running here and they all have the same problem; versions 1.458 on Linux & Windows
> The downloaded 'jdk.exe' or 'jdh.sh' just contains a html page with the note 'Sorry! In order to download products from Oracle Technology        
>             Network you must agree to the OTN license terms.'
> The error on Windows build is then:
> {code}
> Installing JDK jdk-7-oth-JPR
> Downloading JDK from http://download.oracle.com/otn/java/jdk/7/jdk-7-windows-i586.exe
> Downloading 5307bytes
> [jdk_1.7.0] $ C:\tools\jenkins\tools\jdk_1.7.0\jdk.exe /s /v /qn /L \"C:\tools\jenkins\tools\jdk_1.7.0\jdk.exe.install.log\" REBOOT=ReallySuppress INSTALLDIR=\"C:\tools\jenkins\tools\jdk_1.7.0\"
> The image file %1 is valid, but is for a machine type other than the current machine
> FATAL: Befehlsausführung fehlgeschlagen
> java.io.IOException: Cannot run program "C:\tools\jenkins\tools\jdk_1.7.0\jdk.exe" (in directory "C:\tools\jenkins\tools\jdk_1.7.0"): CreateProcess error=216, This version of %1 is not compatible with the version of Windows you're running. Check your computer's system information to see whether you need a x86 (32-bit) or x64 (64-bit) version of the program, and then contact the software publisher
> ...
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[JIRA] (JENKINS-13357) Autoinstall JDK from download.oracle.com no longer works

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

     [ https://issues.jenkins-ci.org/browse/JENKINS-13357?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

chanti vlad reopened JENKINS-13357:
-----------------------------------


JENKINS-13435 is marked as a duplicate and is supposed to be fixed in 1.464.
I updated my Jenkins installation to 1.464 but JENKINS-13357 still occurs when trying to launch a slave as a service on windows 2008 x64.

{{{
Connecting to my.host.name
Checking if Java exists
'java' is not recognized as an internal or external command,
operable program or batch file.
No Java found. Downloading JDK
Installing JDK
Installing C:\tmp2\jenkins_slave\service\jdk.exe
[jdk] $ C:\tmp2\jenkins_slave\service\jdk.exe /s /v /qn /L \"C:\tmp2\jenkins_slave\service\jdk.exe.install.log\" REBOOT=ReallySuppress INSTALLDIR=\"C:\tmp2\jenkins_slave\service\jdk\"
This version of C:\tmp2\jenkins_slave\service\jdk.exe is not compatible with the version of Windows you're running. Check your computer's system information to see whether you need a x86 (32-bit) or x64 (64-bit) version of the program, and then contact the software publisher.
Failed to install JDK. Exit code=1
ERROR: Failed to prepare Java
jcifs.smb.SmbException: The system cannot find the file specified.
        at jcifs.smb.SmbTransport.checkStatus(SmbTransport.java:545)
        at jcifs.smb.SmbTransport.send(SmbTransport.java:646)
        at jcifs.smb.SmbSession.send(SmbSession.java:244)
        at jcifs.smb.SmbTree.send(SmbTree.java:119)
        at jcifs.smb.SmbFile.send(SmbFile.java:770)
        at jcifs.smb.SmbFile.open0(SmbFile.java:982)
        at jcifs.smb.SmbFile.open(SmbFile.java:999)
        at jcifs.smb.SmbFileInputStream.<init>(SmbFileInputStream.java:74)
        at jcifs.smb.SmbFileInputStream.<init>(SmbFileInputStream.java:66)
        at jcifs.smb.SmbFile.getInputStream(SmbFile.java:2833)
        at hudson.os.windows.WindowsRemoteFileSystem.read(WindowsRemoteFileSystem.java:41)
        at hudson.tools.JDKInstaller.install(JDKInstaller.java:242)
        at hudson.os.windows.ManagedWindowsServiceLauncher.launch(ManagedWindowsServiceLauncher.java:251)
        at hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:200)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:662)
Copying jenkins-slave.xml
Copying slave.jar
Starting the service
* NOT DOING ANYTHING AFTER THAT *
}}}
               

> Autoinstall JDK from download.oracle.com no longer works
> --------------------------------------------------------
>
>                 Key: JENKINS-13357
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-13357
>             Project: Jenkins
>          Issue Type: Bug
>          Components: core
>    Affects Versions: current
>            Reporter: andreasmandel
>            Assignee: Kohsuke Kawaguchi
>            Priority: Critical
>
> Just noticed that the autoinstallation of JDK from download.oracle.com stopped working recently. I tried various Jenkins instances running here and they all have the same problem; versions 1.458 on Linux & Windows
> The downloaded 'jdk.exe' or 'jdh.sh' just contains a html page with the note 'Sorry! In order to download products from Oracle Technology        
>             Network you must agree to the OTN license terms.'
> The error on Windows build is then:
> {code}
> Installing JDK jdk-7-oth-JPR
> Downloading JDK from http://download.oracle.com/otn/java/jdk/7/jdk-7-windows-i586.exe
> Downloading 5307bytes
> [jdk_1.7.0] $ C:\tools\jenkins\tools\jdk_1.7.0\jdk.exe /s /v /qn /L \"C:\tools\jenkins\tools\jdk_1.7.0\jdk.exe.install.log\" REBOOT=ReallySuppress INSTALLDIR=\"C:\tools\jenkins\tools\jdk_1.7.0\"
> The image file %1 is valid, but is for a machine type other than the current machine
> FATAL: Befehlsausführung fehlgeschlagen
> java.io.IOException: Cannot run program "C:\tools\jenkins\tools\jdk_1.7.0\jdk.exe" (in directory "C:\tools\jenkins\tools\jdk_1.7.0"): CreateProcess error=216, This version of %1 is not compatible with the version of Windows you're running. Check your computer's system information to see whether you need a x86 (32-bit) or x64 (64-bit) version of the program, and then contact the software publisher
> ...
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[JIRA] (JENKINS-13357) Autoinstall JDK from download.oracle.com no longer works

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

    [ https://issues.jenkins-ci.org/browse/JENKINS-13357?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=162824#comment-162824 ]

chanti vlad edited comment on JENKINS-13357 at 5/16/12 8:42 AM:
----------------------------------------------------------------

JENKINS-13435 is marked as a duplicate and is supposed to be fixed in 1.464.
I updated my Jenkins installation to 1.464 but JENKINS-13357 still occurs when trying to launch a slave as a service on windows 2008 x64.


{{

Connecting to my.host.name
Checking if Java exists
'java' is not recognized as an internal or external command,
operable program or batch file.
No Java found. Downloading JDK
Installing JDK
Installing C:\tmp2\jenkins_slave\service\jdk.exe
[jdk] $ C:\tmp2\jenkins_slave\service\jdk.exe /s /v /qn /L \"C:\tmp2\jenkins_slave\service\jdk.exe.install.log\" REBOOT=ReallySuppress INSTALLDIR=\"C:\tmp2\jenkins_slave\service\jdk\"
This version of C:\tmp2\jenkins_slave\service\jdk.exe is not compatible with the version of Windows you're running. Check your computer's system information to see whether you need a x86 (32-bit) or x64 (64-bit) version of the program, and then contact the software publisher.
Failed to install JDK. Exit code=1
ERROR: Failed to prepare Java
jcifs.smb.SmbException: The system cannot find the file specified.
        at jcifs.smb.SmbTransport.checkStatus(SmbTransport.java:545)
        at jcifs.smb.SmbTransport.send(SmbTransport.java:646)
        at jcifs.smb.SmbSession.send(SmbSession.java:244)
        at jcifs.smb.SmbTree.send(SmbTree.java:119)
        at jcifs.smb.SmbFile.send(SmbFile.java:770)
        at jcifs.smb.SmbFile.open0(SmbFile.java:982)
        at jcifs.smb.SmbFile.open(SmbFile.java:999)
        at jcifs.smb.SmbFileInputStream.<init>(SmbFileInputStream.java:74)
        at jcifs.smb.SmbFileInputStream.<init>(SmbFileInputStream.java:66)
        at jcifs.smb.SmbFile.getInputStream(SmbFile.java:2833)
        at hudson.os.windows.WindowsRemoteFileSystem.read(WindowsRemoteFileSystem.java:41)
        at hudson.tools.JDKInstaller.install(JDKInstaller.java:242)
        at hudson.os.windows.ManagedWindowsServiceLauncher.launch(ManagedWindowsServiceLauncher.java:251)
        at hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:200)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:662)
Copying jenkins-slave.xml
Copying slave.jar
Starting the service
* NOT DOING ANYTHING AFTER THAT *

}}
               
      was (Author: chantivlad):
    JENKINS-13435 is marked as a duplicate and is supposed to be fixed in 1.464.
I updated my Jenkins installation to 1.464 but JENKINS-13357 still occurs when trying to launch a slave as a service on windows 2008 x64.

{{{
Connecting to my.host.name
Checking if Java exists
'java' is not recognized as an internal or external command,
operable program or batch file.
No Java found. Downloading JDK
Installing JDK
Installing C:\tmp2\jenkins_slave\service\jdk.exe
[jdk] $ C:\tmp2\jenkins_slave\service\jdk.exe /s /v /qn /L \"C:\tmp2\jenkins_slave\service\jdk.exe.install.log\" REBOOT=ReallySuppress INSTALLDIR=\"C:\tmp2\jenkins_slave\service\jdk\"
This version of C:\tmp2\jenkins_slave\service\jdk.exe is not compatible with the version of Windows you're running. Check your computer's system information to see whether you need a x86 (32-bit) or x64 (64-bit) version of the program, and then contact the software publisher.
Failed to install JDK. Exit code=1
ERROR: Failed to prepare Java
jcifs.smb.SmbException: The system cannot find the file specified.
        at jcifs.smb.SmbTransport.checkStatus(SmbTransport.java:545)
        at jcifs.smb.SmbTransport.send(SmbTransport.java:646)
        at jcifs.smb.SmbSession.send(SmbSession.java:244)
        at jcifs.smb.SmbTree.send(SmbTree.java:119)
        at jcifs.smb.SmbFile.send(SmbFile.java:770)
        at jcifs.smb.SmbFile.open0(SmbFile.java:982)
        at jcifs.smb.SmbFile.open(SmbFile.java:999)
        at jcifs.smb.SmbFileInputStream.<init>(SmbFileInputStream.java:74)
        at jcifs.smb.SmbFileInputStream.<init>(SmbFileInputStream.java:66)
        at jcifs.smb.SmbFile.getInputStream(SmbFile.java:2833)
        at hudson.os.windows.WindowsRemoteFileSystem.read(WindowsRemoteFileSystem.java:41)
        at hudson.tools.JDKInstaller.install(JDKInstaller.java:242)
        at hudson.os.windows.ManagedWindowsServiceLauncher.launch(ManagedWindowsServiceLauncher.java:251)
        at hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:200)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:662)
Copying jenkins-slave.xml
Copying slave.jar
Starting the service
* NOT DOING ANYTHING AFTER THAT *
}}}
                 

> Autoinstall JDK from download.oracle.com no longer works
> --------------------------------------------------------
>
>                 Key: JENKINS-13357
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-13357
>             Project: Jenkins
>          Issue Type: Bug
>          Components: core
>    Affects Versions: current
>            Reporter: andreasmandel
>            Assignee: Kohsuke Kawaguchi
>            Priority: Critical
>
> Just noticed that the autoinstallation of JDK from download.oracle.com stopped working recently. I tried various Jenkins instances running here and they all have the same problem; versions 1.458 on Linux & Windows
> The downloaded 'jdk.exe' or 'jdh.sh' just contains a html page with the note 'Sorry! In order to download products from Oracle Technology        
>             Network you must agree to the OTN license terms.'
> The error on Windows build is then:
> {code}
> Installing JDK jdk-7-oth-JPR
> Downloading JDK from http://download.oracle.com/otn/java/jdk/7/jdk-7-windows-i586.exe
> Downloading 5307bytes
> [jdk_1.7.0] $ C:\tools\jenkins\tools\jdk_1.7.0\jdk.exe /s /v /qn /L \"C:\tools\jenkins\tools\jdk_1.7.0\jdk.exe.install.log\" REBOOT=ReallySuppress INSTALLDIR=\"C:\tools\jenkins\tools\jdk_1.7.0\"
> The image file %1 is valid, but is for a machine type other than the current machine
> FATAL: Befehlsausführung fehlgeschlagen
> java.io.IOException: Cannot run program "C:\tools\jenkins\tools\jdk_1.7.0\jdk.exe" (in directory "C:\tools\jenkins\tools\jdk_1.7.0"): CreateProcess error=216, This version of %1 is not compatible with the version of Windows you're running. Check your computer's system information to see whether you need a x86 (32-bit) or x64 (64-bit) version of the program, and then contact the software publisher
> ...
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[JIRA] (JENKINS-13357) Autoinstall JDK from download.oracle.com no longer works

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

    [ https://issues.jenkins-ci.org/browse/JENKINS-13357?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=162824#comment-162824 ]

chanti vlad edited comment on JENKINS-13357 at 5/16/12 8:49 AM:
----------------------------------------------------------------

JENKINS-13435 is marked as a duplicate and is supposed to be fixed in 1.464.
I updated my Jenkins installation to 1.464 but JENKINS-13357 still occurs when trying to launch a slave as a service on windows 2008 x64.


{{Connecting to my.host.name
Checking if Java exists
'java' is not recognized as an internal or external command,
operable program or batch file.
No Java found. Downloading JDK
Installing JDK
Installing C:\tmp2\jenkins_slave\service\jdk.exe
[jdk] $ C:\tmp2\jenkins_slave\service\jdk.exe /s /v /qn /L \"C:\tmp2\jenkins_slave\service\jdk.exe.install.log\" REBOOT=ReallySuppress INSTALLDIR=\"C:\tmp2\jenkins_slave\service\jdk\"
This version of C:\tmp2\jenkins_slave\service\jdk.exe is not compatible with the version of Windows you're running. Check your computer's system information to see whether you need a x86 (32-bit) or x64 (64-bit) version of the program, and then contact the software publisher.
Failed to install JDK. Exit code=1
ERROR: Failed to prepare Java
jcifs.smb.SmbException: The system cannot find the file specified.
        at jcifs.smb.SmbTransport.checkStatus(SmbTransport.java:545)
        at jcifs.smb.SmbTransport.send(SmbTransport.java:646)
        at jcifs.smb.SmbSession.send(SmbSession.java:244)
        at jcifs.smb.SmbTree.send(SmbTree.java:119)
        at jcifs.smb.SmbFile.send(SmbFile.java:770)
        at jcifs.smb.SmbFile.open0(SmbFile.java:982)
        at jcifs.smb.SmbFile.open(SmbFile.java:999)
        at jcifs.smb.SmbFileInputStream.<init>(SmbFileInputStream.java:74)
        at jcifs.smb.SmbFileInputStream.<init>(SmbFileInputStream.java:66)
        at jcifs.smb.SmbFile.getInputStream(SmbFile.java:2833)
        at hudson.os.windows.WindowsRemoteFileSystem.read(WindowsRemoteFileSystem.java:41)
        at hudson.tools.JDKInstaller.install(JDKInstaller.java:242)
        at hudson.os.windows.ManagedWindowsServiceLauncher.launch(ManagedWindowsServiceLauncher.java:251)
        at hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:200)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:662)
Copying jenkins-slave.xml
Copying slave.jar
Starting the service
* NOT DOING ANYTHING AFTER THAT *}}
               
      was (Author: chantivlad):
    JENKINS-13435 is marked as a duplicate and is supposed to be fixed in 1.464.
I updated my Jenkins installation to 1.464 but JENKINS-13357 still occurs when trying to launch a slave as a service on windows 2008 x64.


{{

Connecting to my.host.name
Checking if Java exists
'java' is not recognized as an internal or external command,
operable program or batch file.
No Java found. Downloading JDK
Installing JDK
Installing C:\tmp2\jenkins_slave\service\jdk.exe
[jdk] $ C:\tmp2\jenkins_slave\service\jdk.exe /s /v /qn /L \"C:\tmp2\jenkins_slave\service\jdk.exe.install.log\" REBOOT=ReallySuppress INSTALLDIR=\"C:\tmp2\jenkins_slave\service\jdk\"
This version of C:\tmp2\jenkins_slave\service\jdk.exe is not compatible with the version of Windows you're running. Check your computer's system information to see whether you need a x86 (32-bit) or x64 (64-bit) version of the program, and then contact the software publisher.
Failed to install JDK. Exit code=1
ERROR: Failed to prepare Java
jcifs.smb.SmbException: The system cannot find the file specified.
        at jcifs.smb.SmbTransport.checkStatus(SmbTransport.java:545)
        at jcifs.smb.SmbTransport.send(SmbTransport.java:646)
        at jcifs.smb.SmbSession.send(SmbSession.java:244)
        at jcifs.smb.SmbTree.send(SmbTree.java:119)
        at jcifs.smb.SmbFile.send(SmbFile.java:770)
        at jcifs.smb.SmbFile.open0(SmbFile.java:982)
        at jcifs.smb.SmbFile.open(SmbFile.java:999)
        at jcifs.smb.SmbFileInputStream.<init>(SmbFileInputStream.java:74)
        at jcifs.smb.SmbFileInputStream.<init>(SmbFileInputStream.java:66)
        at jcifs.smb.SmbFile.getInputStream(SmbFile.java:2833)
        at hudson.os.windows.WindowsRemoteFileSystem.read(WindowsRemoteFileSystem.java:41)
        at hudson.tools.JDKInstaller.install(JDKInstaller.java:242)
        at hudson.os.windows.ManagedWindowsServiceLauncher.launch(ManagedWindowsServiceLauncher.java:251)
        at hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:200)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:662)
Copying jenkins-slave.xml
Copying slave.jar
Starting the service
* NOT DOING ANYTHING AFTER THAT *

}}
                 

> Autoinstall JDK from download.oracle.com no longer works
> --------------------------------------------------------
>
>                 Key: JENKINS-13357
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-13357
>             Project: Jenkins
>          Issue Type: Bug
>          Components: core
>    Affects Versions: current
>            Reporter: andreasmandel
>            Assignee: Kohsuke Kawaguchi
>            Priority: Critical
>
> Just noticed that the autoinstallation of JDK from download.oracle.com stopped working recently. I tried various Jenkins instances running here and they all have the same problem; versions 1.458 on Linux & Windows
> The downloaded 'jdk.exe' or 'jdh.sh' just contains a html page with the note 'Sorry! In order to download products from Oracle Technology        
>             Network you must agree to the OTN license terms.'
> The error on Windows build is then:
> {code}
> Installing JDK jdk-7-oth-JPR
> Downloading JDK from http://download.oracle.com/otn/java/jdk/7/jdk-7-windows-i586.exe
> Downloading 5307bytes
> [jdk_1.7.0] $ C:\tools\jenkins\tools\jdk_1.7.0\jdk.exe /s /v /qn /L \"C:\tools\jenkins\tools\jdk_1.7.0\jdk.exe.install.log\" REBOOT=ReallySuppress INSTALLDIR=\"C:\tools\jenkins\tools\jdk_1.7.0\"
> The image file %1 is valid, but is for a machine type other than the current machine
> FATAL: Befehlsausführung fehlgeschlagen
> java.io.IOException: Cannot run program "C:\tools\jenkins\tools\jdk_1.7.0\jdk.exe" (in directory "C:\tools\jenkins\tools\jdk_1.7.0"): CreateProcess error=216, This version of %1 is not compatible with the version of Windows you're running. Check your computer's system information to see whether you need a x86 (32-bit) or x64 (64-bit) version of the program, and then contact the software publisher
> ...
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[JIRA] [core] (JENKINS-13357) Autoinstall JDK from download.oracle.com no longer works

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[JIRA] [core] (JENKINS-13357) Autoinstall JDK from download.oracle.com no longer works

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

Same problem here:

Installing JDK jdk-7u40-oth-JPR
Downloading JDK from http://download.oracle.com/otn/java/jdk/7u40-b43/jdk-7u40-linux-x64.tar.gz
Downloading 5307bytes
Installing /var/lib/jenkins/tools/hudson.model.JDK/Sun_JDK_1.7/jdk.sh
[Sun_JDK_1.7] $ /var/lib/jenkins/tools/hudson.model.JDK/Sun_JDK_1.7/jdk.sh -noregister
/var/lib/jenkins/tools/hudson.model.JDK/Sun_JDK_1.7/jdk.sh: line 1: html: No such file or directory
/var/lib/jenkins/tools/hudson.model.JDK/Sun_JDK_1.7/jdk.sh: line 2: head: No such file or directory
/var/lib/jenkins/tools/hudson.model.JDK/Sun_JDK_1.7/jdk.sh: line 3: title: No such file or directory
/var/lib/jenkins/tools/hudson.model.JDK/Sun_JDK_1.7/jdk.sh: line 4: META: No such file or directory
/var/lib/jenkins/tools/hudson.model.JDK/Sun_JDK_1.7/jdk.sh: line 5: link: No such file or directory
/var/lib/jenkins/tools/hudson.model.JDK/Sun_JDK_1.7/jdk.sh: line 6: link: No such file or directory
/var/lib/jenkins/tools/hudson.model.JDK/Sun_JDK_1.7/jdk.sh: line 7: $'\r': command not found
/var/lib/jenkins/tools/hudson.model.JDK/Sun_JDK_1.7/jdk.sh: line 8: body: No such file or directory
/var/lib/jenkins/tools/hudson.model.JDK/Sun_JDK_1.7/jdk.sh: line 9: div: No such file or directory
/var/lib/jenkins/tools/hudson.model.JDK/Sun_JDK_1.7/jdk.sh: line 10: table: No such file or directory
/var/lib/jenkins/tools/hudson.model.JDK/Sun_JDK_1.7/jdk.sh: line 11: tr: No such file or directory
/var/lib/jenkins/tools/hudson.model.JDK/Sun_JDK_1.7/jdk.sh: line 12: syntax error near unexpected token `<'
/var/lib/jenkins/tools/hudson.model.JDK/Sun_JDK_1.7/jdk.sh: line 12: ` <td rowspan="2" valign="middle" nowrap><a href="http://www.oracle.com"><img src="/errors/us/assets/oralogo-small.gif" width="154" height="19" hspace="10" vspace="25" border="0" ></a></td>
'
ERROR: Failed to install JDK. Exit code=2

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[JIRA] [core] (JENKINS-13357) Autoinstall JDK from download.oracle.com no longer works

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

As a workaround I download the JDK manually and place it in Jenkins /cache directory. The filenames and location must be adopted according to the existing files. Even though this is a manual step the effort to bring the JDK to several build nodes is reasonable.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[JIRA] [core] (JENKINS-13357) Autoinstall JDK from download.oracle.com no longer works

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org
chemphill commented on Bug JENKINS-13357

We just upgraded to 1.556 and cleared out the cache. Looks like this is still happening:

[EnvInject] - Loading node environment variables.
Installing JDK jdk-8-oth-JPR
Downloading JDK from http://download.oracle.com/otn-pub/java/jdk/8-b132/jdk-8-linux-x64.tar.gz
Downloading 5307bytes
Installing /var/lib/jenkins/tools/hudson.model.JDK/jdk-cbh/jdk.sh
[jdk-cbh] $ /var/lib/jenkins/tools/hudson.model.JDK/jdk-cbh/jdk.sh -noregister
/var/lib/jenkins/tools/hudson.model.JDK/jdk-cbh/jdk.sh: 1: /var/lib/jenkins/tools/hudson.model.JDK/jdk-cbh/jdk.sh: cannot open html: No such file
/var/lib/jenkins/tools/hudson.model.JDK/jdk-cbh/jdk.sh: 2: /var/lib/jenkins/tools/hudson.model.JDK/jdk-cbh/jdk.sh: cannot open head: No such file
/var/lib/jenkins/tools/hudson.model.JDK/jdk-cbh/jdk.sh: 3: /var/lib/jenkins/tools/hudson.model.JDK/jdk-cbh/jdk.sh: cannot open title: No such file
/var/lib/jenkins/tools/hudson.model.JDK/jdk-cbh/jdk.sh: 3: /var/lib/jenkins/tools/hudson.model.JDK/jdk-cbh/jdk.sh: Request: not found
/var/lib/jenkins/tools/hudson.model.JDK/jdk-cbh/jdk.sh: 4: /var/lib/jenkins/tools/hudson.model.JDK/jdk-cbh/jdk.sh: cannot open META: No such file
/var/lib/jenkins/tools/hudson.model.JDK/jdk-cbh/jdk.sh: 5: /var/lib/jenkins/tools/hudson.model.JDK/jdk-cbh/jdk.sh: cannot open link: No such file
/var/lib/jenkins/tools/hudson.model.JDK/jdk-cbh/jdk.sh: 6: /var/lib/jenkins/tools/hudson.model.JDK/jdk-cbh/jdk.sh: cannot open link: No such file
/var/lib/jenkins/tools/hudson.model.JDK/jdk-cbh/jdk.sh: 7: /var/lib/jenkins/tools/hudson.model.JDK/jdk-cbh/jdk.sh:
: not found
/var/lib/jenkins/tools/hudson.model.JDK/jdk-cbh/jdk.sh: 8: /var/lib/jenkins/tools/hudson.model.JDK/jdk-cbh/jdk.sh: cannot open body: No such file
/var/lib/jenkins/tools/hudson.model.JDK/jdk-cbh/jdk.sh: 9: /var/lib/jenkins/tools/hudson.model.JDK/jdk-cbh/jdk.sh: cannot open div: No such file
/var/lib/jenkins/tools/hudson.model.JDK/jdk-cbh/jdk.sh: 10: /var/lib/jenkins/tools/hudson.model.JDK/jdk-cbh/jdk.sh: cannot open table: No such file
/var/lib/jenkins/tools/hudson.model.JDK/jdk-cbh/jdk.sh: 11: /var/lib/jenkins/tools/hudson.model.JDK/jdk-cbh/jdk.sh: cannot open tr: No such file
/var/lib/jenkins/tools/hudson.model.JDK/jdk-cbh/jdk.sh: 12: /var/lib/jenkins/tools/hudson.model.JDK/jdk-cbh/jdk.sh: Syntax error: redirection unexpected
ERROR: SEVERE ERROR occurs

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[JIRA] [core] (JENKINS-13357) Autoinstall JDK from download.oracle.com no longer works

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

Same error here, on an existent working version 1.542 which was working ok, and on a recently installed 1.555....any hint on why has this reappeared? is it an ORACLE issue?

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[JIRA] [core] (JENKINS-13357) Autoinstall JDK from download.oracle.com no longer works

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

Do you have an example of how the manually downloaded java files names and directories must be?

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[JIRA] [core] (JENKINS-13357) Autoinstall JDK from download.oracle.com no longer works

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

Same issue here. In which format do I have to put the manually downloaded JDK into the (master's?) cache directory for the workaround, my Jenkins doesn't seem to recognize it.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[JIRA] [core] (JENKINS-13357) Autoinstall JDK from download.oracle.com no longer works

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org
 
Jan van Esdonk edited a comment on Bug JENKINS-13357

Same issue here. In which format do I have to put the manually downloaded JDK into the (master's?) cache directory for the workaround, my Jenkins doesn't seem to recognize it.

Edit: After installing default-jdk via apt on Debian, the Jenkins slave was able to download JDK1.7.0_25

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Loading...