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

blame upstream commiters plugin is emailing committers from the wrong build

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Can you create a JIRA issue for this and assign it to me (kutzi), so I won't forget?
      I think, I've fixed a very similar issue in the Jabber/IRC plugin some time ago.
      I'll see if I contact the blame plugin maintainer or fix it myself.

      Christoph

      Am 20.01.2011 01:34, schrieb edriscoll:

      > I'm new to Hudson, but loving it. I've a job that does an svn update,
      > builds, and runs unit tests (triggered by watching for svn changes). It
      > also tars up the build and stores it as an artifact. If this passes, it
      > kicks off a downstream build that does more intensive testing using that
      > build (and does the right fingerprinting to establish the dependency). This
      > downstream job is setup with the blame upstream committers plugin. But I'm
      > seeing an odd thing - often when this downstream job fails it sends email to
      > the wrong person, specifically it sends email not to the original build that
      > triggered it, but to the one previous. For example, say I have the
      > following jobs:
      >
      > BuildTrunk 100
      > BuildTrunk 101
      >
      > Each will have their own uniquely fingerprinted artifact. Assume a
      > downstream job of TestTrunk, BuildTrunk 101 job triggered TestTrunk 53,
      > which uses BuildTrunk 101's artifact. If TestTrunk fails, it will end up
      > sending email to the committer of BuildTrunk 100. Now one thing that is
      > suspicious, is that in the TestTrunk 53 job result details, there is this
      > line:
      >
      > Changes in dependency
      > BuildTrunk #100 → #101 (detail)
      >
      > Which makes me think that somehow Hudson thinks there is some sort of
      > dependency between BuildTrunk 100 and 101, in which case, maybe it makes
      > sense that the committer for job 100 is getting blamed for the TestTrunk 53
      > job failure. So, I'm at a lost. I've confirmed that TestTrunk 53 is
      > fingerprinting the artifact from BuilTrunk 101 (I've compared the
      > fingerprints). Any ideas why the committer for the previous BuildTrunk job
      > is getting the email?
      >

        Attachments

          Activity

          Hide
          kutzi kutzi added a comment -

          Just to check: you're using the latest version of the plugin, right?
          Could you specify your Hudson version, too?

          Show
          kutzi kutzi added a comment - Just to check: you're using the latest version of the plugin, right? Could you specify your Hudson version, too?
          Hide
          edriscoll edriscoll added a comment - - edited

          Blame upstream committers version 1.2, which is the latest.
          Hudson version 1.389

          Sorry for not providing that initially.

          Show
          edriscoll edriscoll added a comment - - edited Blame upstream committers version 1.2, which is the latest. Hudson version 1.389 Sorry for not providing that initially.
          Hide
          kutzi kutzi added a comment -

          See http://echelog.matzon.dk/logs/browse/hudson/1296255600 (17:27 and following) that Kohsuke also thinks that this is a bug in core MailSender - but unfortunately hasn't fixed it, yet, as he said.

          Show
          kutzi kutzi added a comment - See http://echelog.matzon.dk/logs/browse/hudson/1296255600 (17:27 and following) that Kohsuke also thinks that this is a bug in core MailSender - but unfortunately hasn't fixed it, yet, as he said.
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Christoph Kutzinski
          Path:
          changelog.html
          core/src/main/java/hudson/tasks/MailSender.java
          test/src/test/java/hudson/tasks/MailSenderTest.java
          http://jenkins-ci.org/commit/jenkins/bec0ee1eec5bd6fb5983b6fbc9b5acd9fceb7047
          Log:
          [FIXED JENKINS-8567] Upstream culprits did contain culprits from old
          build

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Christoph Kutzinski Path: changelog.html core/src/main/java/hudson/tasks/MailSender.java test/src/test/java/hudson/tasks/MailSenderTest.java http://jenkins-ci.org/commit/jenkins/bec0ee1eec5bd6fb5983b6fbc9b5acd9fceb7047 Log: [FIXED JENKINS-8567] Upstream culprits did contain culprits from old build
          Hide
          dogfood dogfood added a comment -

          Integrated in jenkins_main_trunk #614
          [FIXED JENKINS-8567] Upstream culprits did contain culprits from old

          Christoph Kutzinski : bec0ee1eec5bd6fb5983b6fbc9b5acd9fceb7047
          Files :

          • core/src/main/java/hudson/tasks/MailSender.java
          • test/src/test/java/hudson/tasks/MailSenderTest.java
          • changelog.html
          Show
          dogfood dogfood added a comment - Integrated in jenkins_main_trunk #614 [FIXED JENKINS-8567] Upstream culprits did contain culprits from old Christoph Kutzinski : bec0ee1eec5bd6fb5983b6fbc9b5acd9fceb7047 Files : core/src/main/java/hudson/tasks/MailSender.java test/src/test/java/hudson/tasks/MailSenderTest.java changelog.html
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Christoph Kutzinski
          Path:
          changelog.html
          core/src/main/java/hudson/tasks/MailSender.java
          test/src/test/java/hudson/tasks/MailSenderTest.java
          http://jenkins-ci.org/commit/jenkins/bec0ee1eec5bd6fb5983b6fbc9b5acd9fceb7047
          Log:
          [FIXED JENKINS-8567] Upstream culprits did contain culprits from old
          build

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Christoph Kutzinski Path: changelog.html core/src/main/java/hudson/tasks/MailSender.java test/src/test/java/hudson/tasks/MailSenderTest.java http://jenkins-ci.org/commit/jenkins/bec0ee1eec5bd6fb5983b6fbc9b5acd9fceb7047 Log: [FIXED JENKINS-8567] Upstream culprits did contain culprits from old build

            People

            Assignee:
            kutzi kutzi
            Reporter:
            edriscoll edriscoll
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: