Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: core
    • Labels:
    • Environment:
      Jenkins 1.529
      Jenkins running under SYSTEM profile
    • Similar Issues:

      Description

      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.

        Attachments

          Activity

          Hide
          cowwoc 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.

          Show
          cowwoc 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.
          Hide
          cowwoc 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.

          Show
          cowwoc 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.
          Hide
          cowwoc 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.

          Show
          cowwoc 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.
          Hide
          scm_issue_link 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

          Show
          scm_issue_link 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
          Hide
          scm_issue_link 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

          Show
          scm_issue_link 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
          Hide
          dogfood 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
          Show
          dogfood 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
          Hide
          scm_issue_link 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)

          Show
          scm_issue_link 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)
          Hide
          dogfood 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
          Show
          dogfood 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

            People

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

              Dates

              • Created:
                Updated:
                Resolved: