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

Triggering build on another project which publishes checkstyle analysis never finishes

    Details

    • Similar Issues:

      Description

      OS: Ubuntu 14.04 (64-bit)
      openjdk version "1.8.0_72-internal"
      OpenJDK Runtime Environment (build 1.8.0_72-internal-b15)
      OpenJDK 64-Bit Server VM (build 25.72-b15, mixed mode)
      Jenkins ver. 1.642.1
      Parameterized trigger plugin 2.30
      Checkstyle plugin 3.44

      Project A defines a build step which triggers Project B. "Block until the triggered projects finish their builds" is checked. Project B has post-build action to publish checkstyle analysis results (with or without a file specified, with or without the file having checkstyle warnings).

      Project A will kick off Project and state "Waiting for the completion of Project B". Project B's build will start and finish but Project A will still be waiting. Forever.

        Attachments

          Activity

          Hide
          drulli Ulli Hafner added a comment - - edited

          Please attach the console log of the job. Does project A use CheckStyle as well?

          Show
          drulli Ulli Hafner added a comment - - edited Please attach the console log of the job. Does project A use CheckStyle as well?
          Hide
          jebmeier Joe Ebmeier added a comment -

          No - Project A only calls Project B. There is nothing else in it's configuration.

          I will attach console logs as soon as I can - it will probably be on Monday.

          Show
          jebmeier Joe Ebmeier added a comment - No - Project A only calls Project B. There is nothing else in it's configuration. I will attach console logs as soon as I can - it will probably be on Monday.
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Ulli Hafner
          Path:
          src/main/java/org/jenkinsci/test/acceptance/plugins/parameterized_trigger/BuildTriggerConfig.java
          src/main/java/org/jenkinsci/test/acceptance/plugins/parameterized_trigger/TriggerCallBuildStep.java
          src/test/java/plugins/CheckStylePluginTest.java
          http://jenkins-ci.org/commit/acceptance-test-harness/500a376b75567a6a9499f8ff0c638a4e40d24082
          Log:
          JENKINS-33162 Tried to expose blocking in test case.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Ulli Hafner Path: src/main/java/org/jenkinsci/test/acceptance/plugins/parameterized_trigger/BuildTriggerConfig.java src/main/java/org/jenkinsci/test/acceptance/plugins/parameterized_trigger/TriggerCallBuildStep.java src/test/java/plugins/CheckStylePluginTest.java http://jenkins-ci.org/commit/acceptance-test-harness/500a376b75567a6a9499f8ff0c638a4e40d24082 Log: JENKINS-33162 Tried to expose blocking in test case.
          Hide
          drulli Ulli Hafner added a comment -

          Can you please add more details on your job configuration? I just created a test case that works quite well with the options in your description... Maybe check the test case and see what options are missing.

          Show
          drulli Ulli Hafner added a comment - Can you please add more details on your job configuration? I just created a test case that works quite well with the options in your description... Maybe check the test case and see what options are missing.
          Hide
          jebmeier Joe Ebmeier added a comment -

          I just installed a fresh server with jenkins to attempt to isolate the issue - I was unable to reproduce it. I then did a thin backup of my server and reloaded it on to another server and the job that was hanging now finishes correctly. I believe this must be some sort of issue that was caused by an old version of one of my plugins. There does not appear to be any bug with the current versions of the plugins I am using.

          I apologize for not trying this sooner - please invalidate the issue.

          Show
          jebmeier Joe Ebmeier added a comment - I just installed a fresh server with jenkins to attempt to isolate the issue - I was unable to reproduce it. I then did a thin backup of my server and reloaded it on to another server and the job that was hanging now finishes correctly. I believe this must be some sort of issue that was caused by an old version of one of my plugins. There does not appear to be any bug with the current versions of the plugins I am using. I apologize for not trying this sooner - please invalidate the issue.
          Hide
          jebmeier Joe Ebmeier added a comment -

          This issue appears to be environmental - I cannot reproduce it on a fresh jenkins install. I exported by configuration using thin backup and reloaded and the issue no longer occurrs.

          Show
          jebmeier Joe Ebmeier added a comment - This issue appears to be environmental - I cannot reproduce it on a fresh jenkins install. I exported by configuration using thin backup and reloaded and the issue no longer occurrs.

            People

            • Assignee:
              drulli Ulli Hafner
              Reporter:
              jebmeier Joe Ebmeier
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: