jenkinsci / jenkinsci/gerrit-trigger-plugin

[JENKINS-68308] The gerrit event log plugin is triggering the events which are already triggered when Missed Events Playback Feature is enabled

Open
#951 1 comment 0 reactions 0 assignees View on GitHub
component:gerrit-trigger-plugin imported-jira-issue priority:major resolution:unresolved
Dominant language
Java
Stars
226
Forks
289
PR merge metrics
No merged PRs in 30d

Description

Recently, we have enabled Missed Events Playback Feature for the Jenkins Gerrit Plugin (https://plugins.jenkins.io/gerrit-trigger/#plugin-content-missed-events-playback-feature-available-from-v-2140)

The Missed Events Playback Feature ensures that any missed events are re-played and builds are triggered when Jenkins instance has been down for a period of time (upgrade or maintenance).

 

Here, we are facing an issue where the gerrit event-log plugin is triggering the events twice after 90 minutes or so, for the event which are already triggered . We are seeing this issue with and without restart of Jenkins instance.

 

We can reproduce the same issue with different version of event-log plugin as well, that is with API Version 3.2.3 and API Version 2.16.21. 

 

Please look into this bug and let us know the possible solution.

 

Thanks.

 

 

 

 

 

 

 

 

 

 

---
Originally reported by gopi_22100, imported from: The gerrit event log plugin is triggering the events which are already triggered when Missed Events Playback Feature is enabled


  • assignee: rsandell
  • status: Open
  • priority: Major
  • component(s): gerrit-trigger-plugin
  • resolution: Unresolved
  • votes: 0
  • watchers: 1
  • imported: 2025-12-07

Raw content of original issue

Recently, we have enabled Missed Events Playback Feature for the Jenkins Gerrit Plugin (https://plugins.jenkins.io/gerrit-trigger/#plugin-content-missed-events-playback-feature-available-from-v-2140)

The Missed Events Playback Feature ensures that any missed events are re-played and builds are triggered when Jenkins instance has been down for a period of time (upgrade or maintenance).

 

Here, we are facing an issue where the gerrit event-log plugin is triggering the events twice after 90 minutes or so, for the event which are already triggered . We are seeing this issue with and without restart of Jenkins instance.

 

We can reproduce the same issue with different version of event-log plugin as well, that is with API Version 3.2.3 and API Version 2.16.21. 

 

Please look into this bug and let us know the possible solution.

 

Thanks.

 

 

 

 

 

 

 

 

 

 

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the duplicate triggers with Missed Events Playback enabled, both with and without a Jenkins restart, using the referenced Gerrit event-log API versions 3.2.3 and 2.16.21. Trace how playback and the Gerrit event-log plugin handle the same event; done means an already-triggered event results in only one build trigger.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
ci-cd, devops
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.