Get a solution to the CI Gerrit vote "race condition"

Description

We have a certain scenario that repeats itself in our system:

  1. Developer sends a patch

  2. CI jobs start running

  3. Developer send a new patch-set with a trivial change (e.g. commit message fix)

  4. CI jobs complete and send results to Gerrit

  5. Gerrit ignores the Jenkins vote because it was made on the older patch-set.

  6. No vote is made by Jenkins on the new patch-set because it is configured to nor run jobs on trivial patches.

We've seen developers encounter this many times. I suspect this because even more frequent recently because PolyGerrit provides a UI for quickly editing commit messages.

We need to open tickets to the Gerrit developers and the Gerrit Trigger Plugin authors and see of they will be willing to help with this.

Activity

Show:

Details

Assignee

Reporter

Components

Priority

Created September 7, 2017 at 7:07 AM
Updated June 11, 2018 at 6:22 AM