In-reply-to headers in Gerrit email alerts are broken

Bug #1081024 reported by Daniel Berrange
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Core Infrastructure
Invalid
Medium
Unassigned

Bug Description

Gerrit attempts to set mail headers so that all messages related to a single changeset ID are threaded. Unfortunately it has screwed it up. Taking recent change " Change in openstack/nova[master]: Pin pep8 to 1.3.3", the first message has:

  Message-ID: <email address hidden>

All the followup comments on that change have:

  In-Reply-To: <email address hidden>
  References: <email address hidden>

Notice the timestamp part of the message ID is different. The followups always have the last 3 digits as all zeros - presumably there's a precision issue with how it stores timestamps, and the first message is sent while it still has full precision ? The easy fix would seem to be to just limit the precision on the first email such that last 3 digits are always 0.

Tags: gerrit
Revision history for this message
Daniel Berrange (berrange) wrote :
Revision history for this message
Monty Taylor (mordred) wrote :
Changed in openstack-ci:
milestone: none → grizzly
tags: added: gerrit
Changed in openstack-ci:
status: New → Triaged
importance: Undecided → Medium
James E. Blair (corvus)
Changed in openstack-ci:
milestone: grizzly → havana
Jeremy Stanley (fungi)
Changed in openstack-ci:
milestone: havana → icehouse
Revision history for this message
James E. Blair (corvus) wrote :

Reported upstream.

Changed in openstack-ci:
status: Triaged → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.