• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • core
    • Jenkins 1.529
      Jenkins running under SYSTEM profile

      Jenkins tries running a job on the Master node, and in so doing tries installing a JDK:

      Installing C:\Program Files\Jenkins\tools\hudson.model.JDK\JDK_auto-install_\jdk.exe
      [JDK_auto-install_] $ "C:\Program Files\Jenkins\tools\hudson.model.JDK\JDK_auto-install_\jdk.exe" /s /v /qn /L '"C:\Program Files\Jenkins\tools\hudson.model.JDK\JDK_auto-install_\jdk.exe.install.log"' REBOOT=ReallySuppress 'INSTALLDIR="C:\Program Files\Jenkins\tools\hudson.model.JDK\JDK_auto-install_"'

      This hangs indefinitely (100% reproducible). I'm guessing this has to do with the fact that Jenkins is running under a non-interactive SYSTEM profile.

          [JENKINS-19447] JDK installation hangs forever

          cowwoc added a comment -

          Running the same command under my own (interactive) profile brings up the Windows Installer help dialog. I'm guessing one of the parameters is invalid.

          cowwoc added a comment - Running the same command under my own (interactive) profile brings up the Windows Installer help dialog. I'm guessing one of the parameters is invalid.

          cowwoc added a comment -

          This is a possible duplicate of JENKINS-16733 which is closed as FIXED but doesn't look like it's really fixed.

          cowwoc added a comment - This is a possible duplicate of JENKINS-16733 which is closed as FIXED but doesn't look like it's really fixed.

          cowwoc added a comment -

          This was caused by the fact the installation path contained spaces.

          I posted a pull request which fixes this bug: https://github.com/jenkinsci/jenkins/pull/946

          Please review and integrate it.

          cowwoc added a comment - This was caused by the fact the installation path contained spaces. I posted a pull request which fixes this bug: https://github.com/jenkinsci/jenkins/pull/946 Please review and integrate it.

          Code changed in jenkins
          User: Gili Tzabari
          Path:
          core/src/main/java/hudson/tools/JDKInstaller.java
          http://jenkins-ci.org/commit/jenkins/63bffae13bb503b3ffbef4df3ede99f9330bba93
          Log:
          JENKINS-19447 JDK installation hangs forever

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Gili Tzabari Path: core/src/main/java/hudson/tools/JDKInstaller.java http://jenkins-ci.org/commit/jenkins/63bffae13bb503b3ffbef4df3ede99f9330bba93 Log: JENKINS-19447 JDK installation hangs forever

          Code changed in jenkins
          User: Jesse Glick
          Path:
          changelog.html
          http://jenkins-ci.org/commit/jenkins/6c886e7b028bbbe35470ada7201be88fbc78afc4
          Log:
          [FIXED JENKINS-19447] [FIXED JENKINS-8957] Noting changes in pull #946.

          Compare: https://github.com/jenkinsci/jenkins/compare/ea85489a0a8e...6c886e7b028b

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: changelog.html http://jenkins-ci.org/commit/jenkins/6c886e7b028bbbe35470ada7201be88fbc78afc4 Log: [FIXED JENKINS-19447] [FIXED JENKINS-8957] Noting changes in pull #946. Compare: https://github.com/jenkinsci/jenkins/compare/ea85489a0a8e...6c886e7b028b

          dogfood added a comment -

          Integrated in jenkins_main_trunk #2914
          JENKINS-19447 JDK installation hangs forever (Revision 63bffae13bb503b3ffbef4df3ede99f9330bba93)
          [FIXED JENKINS-19447] [FIXED JENKINS-8957] Noting changes in pull #946. (Revision 6c886e7b028bbbe35470ada7201be88fbc78afc4)

          Result = SUCCESS
          cowwoc : 63bffae13bb503b3ffbef4df3ede99f9330bba93
          Files :

          • core/src/main/java/hudson/tools/JDKInstaller.java

          Jesse Glick : 6c886e7b028bbbe35470ada7201be88fbc78afc4
          Files :

          • changelog.html

          dogfood added a comment - Integrated in jenkins_main_trunk #2914 JENKINS-19447 JDK installation hangs forever (Revision 63bffae13bb503b3ffbef4df3ede99f9330bba93) [FIXED JENKINS-19447] [FIXED JENKINS-8957] Noting changes in pull #946. (Revision 6c886e7b028bbbe35470ada7201be88fbc78afc4) Result = SUCCESS cowwoc : 63bffae13bb503b3ffbef4df3ede99f9330bba93 Files : core/src/main/java/hudson/tools/JDKInstaller.java Jesse Glick : 6c886e7b028bbbe35470ada7201be88fbc78afc4 Files : changelog.html

          Code changed in jenkins
          User: Gili Tzabari
          Path:
          core/src/main/java/hudson/tools/JDKInstaller.java
          http://jenkins-ci.org/commit/jenkins/137d82bc5bd62751ed300aed3745575ee29e9f50
          Log:
          JENKINS-19447 JDK installation hangs forever

          (cherry picked from commit 63bffae13bb503b3ffbef4df3ede99f9330bba93)

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Gili Tzabari Path: core/src/main/java/hudson/tools/JDKInstaller.java http://jenkins-ci.org/commit/jenkins/137d82bc5bd62751ed300aed3745575ee29e9f50 Log: JENKINS-19447 JDK installation hangs forever (cherry picked from commit 63bffae13bb503b3ffbef4df3ede99f9330bba93)

          dogfood added a comment -

          Integrated in jenkins_main_trunk #3858
          JENKINS-19447 use standard arguments to set installer log file. (Revision a98ccdff0f074b10907ac1b41d3c26bf33e878b0)

          Result = SUCCESS
          nicolas de loof : a98ccdff0f074b10907ac1b41d3c26bf33e878b0
          Files :

          • core/src/main/java/hudson/tools/JDKInstaller.java

          dogfood added a comment - Integrated in jenkins_main_trunk #3858 JENKINS-19447 use standard arguments to set installer log file. (Revision a98ccdff0f074b10907ac1b41d3c26bf33e878b0) Result = SUCCESS nicolas de loof : a98ccdff0f074b10907ac1b41d3c26bf33e878b0 Files : core/src/main/java/hudson/tools/JDKInstaller.java

            Unassigned Unassigned
            cowwoc cowwoc
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: