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

Github SQS plugin not starting jobs on Jenkins 1.500

    XMLWordPrintable

Details

    Description

      We have setup numerous Github repoes that post on SQS upon push.

      Jenkins (Github SQS plugin) sees these messages but does not start a build. All we see in the log files are:

      Feb 03, 2013 4:45:42 PM com.base2services.jenkins.github.GitHubTriggerProcessor processGitHubPayload
      INFO: Received Message for https://github.com/<user>/<code-repo>
      Feb 03, 2013 4:45:42 PM com.base2services.jenkins.github.GitHubTriggerProcessor processGitHubPayload
      INFO: Poked <project-for-code-repo>

      And then nothing else. The last logged line match:
      https://github.com/jenkinsci/github-sqs-plugin/blob/master/src/main/java/com/base2services/jenkins/github/GitHubTriggerProcessor.java#L60

      which in turn calls
      https://github.com/jenkinsci/github-sqs-plugin/blob/master/src/main/java/com/base2services/jenkins/SqsBuildTrigger.java#L66

      After this I'm not quite sure what happens (where does the queue come from?). How do I add more verbose log output to follow this call chain?

      Does something swallow an exception further down?

      Thank you in advance,
      Brian

      Attachments

        Issue Links

          Activity

            barrett Barrett Strausser added a comment - - edited

            I don't even get that logging output. The plugin seemed to work once and then fails to detect any further changes in the repo.

            The sqs activity for my job looks like :

            Started on Feb 1, 2013 5:19:10 PM
            Using strategy: Default
            [poll] Last Build : #1
            [poll] Last Built Revision: Revision 2ba24e8e3e7e84fac84831c2fc46a1d222be742f (origin/TacoBellyMigrationFix)
            Fetching changes from the remote Git repositories
            Fetching upstream changes from git@github.com:bstrausser/blackbird.git
            Polling for changes in
            Done. Took 1.9 sec
            Changes found

            My repo is no longer at the SHA 2ba24e8e3e7e84f

            I forked/cloned the repo. Ran maven install. Dropped the hpi into the plugin directory. No joy.

            I could really use this plugin so I'll give it a more thorough look if I have time.

            barrett Barrett Strausser added a comment - - edited I don't even get that logging output. The plugin seemed to work once and then fails to detect any further changes in the repo. The sqs activity for my job looks like : Started on Feb 1, 2013 5:19:10 PM Using strategy: Default [poll] Last Build : #1 [poll] Last Built Revision: Revision 2ba24e8e3e7e84fac84831c2fc46a1d222be742f (origin/TacoBellyMigrationFix) Fetching changes from the remote Git repositories Fetching upstream changes from git@github.com:bstrausser/blackbird.git Polling for changes in Done. Took 1.9 sec Changes found My repo is no longer at the SHA 2ba24e8e3e7e84f I forked/cloned the repo. Ran maven install. Dropped the hpi into the plugin directory. No joy. I could really use this plugin so I'll give it a more thorough look if I have time.

            Hi everyone. I need this bug/feature so much that I'm willing to pay 40.00 bucks for it.
            This offer is registered at FreedomSponsors (http://www.freedomsponsors.org/core/issue/153/github-sqs-plugin-not-starting-jobs-on-jenkins-1500).
            Once you solve it (according to the acceptance criteria described there), just create a FreedomSponsors account and mark it as resolved (oh, you'll need a Paypal account too)
            I'll then check it out and will gladly pay up!

            If anyone else would like to throw in a few bucks to elevate the priority on this issue, you should check out FreedomSponsors!

            barrett Barrett Strausser added a comment - Hi everyone. I need this bug/feature so much that I'm willing to pay 40.00 bucks for it. This offer is registered at FreedomSponsors ( http://www.freedomsponsors.org/core/issue/153/github-sqs-plugin-not-starting-jobs-on-jenkins-1500 ). Once you solve it (according to the acceptance criteria described there), just create a FreedomSponsors account and mark it as resolved (oh, you'll need a Paypal account too) I'll then check it out and will gladly pay up! If anyone else would like to throw in a few bucks to elevate the priority on this issue, you should check out FreedomSponsors!
            andreturgeon Andre Turgeon added a comment -

            A pull request was submitted with a fix for this issue.
            See: https://github.com/jenkinsci/github-sqs-plugin/pull/2

            andreturgeon Andre Turgeon added a comment - A pull request was submitted with a fix for this issue. See: https://github.com/jenkinsci/github-sqs-plugin/pull/2
            andreturgeon Andre Turgeon added a comment -

            What is the process to have this integrated into the product?

            andreturgeon Andre Turgeon added a comment - What is the process to have this integrated into the product?

            Code changed in jenkins
            User: André Turgeon
            Path:
            src/main/java/com/base2services/jenkins/SqsBuildTrigger.java
            http://jenkins-ci.org/commit/github-sqs-plugin/db1c0595c218a39e439d881a891b9d6ad721ad34
            Log:
            Fix for JENKINS-16669 and JENKINS-16617.

            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: André Turgeon Path: src/main/java/com/base2services/jenkins/SqsBuildTrigger.java http://jenkins-ci.org/commit/github-sqs-plugin/db1c0595c218a39e439d881a891b9d6ad721ad34 Log: Fix for JENKINS-16669 and JENKINS-16617 .

            People

              andreturgeon Andre Turgeon
              stengaard Brian Stengaard
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: