jenkinsci / jenkinsci/matrix-project-plugin

[JENKINS-26865] Matrix parent aborts when 'Exclude trivial rebase' set in gerrit-trigger plugin

Open
#607 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

component:gerrit-trigger-plugin component:matrix-project-plugin imported-jira-issue priority:major resolution:unresolved
Dominant language
Java
Stars
17
Forks
85
Avg merge
4h 27m
Merged PRs (30d)
5

Description

I have multi-configuration job with two configurations.
It triggered by gerrit trigger with option 'Exclude Trivial Rebase'
When job is triggered by rebased patchset parent job is aborted and there is messages in log:

review.vsphere » CentOS,vsphere appears to be cancelled
review.vsphere » CentOS,vsphere completed with result ABORTED
review.vsphere » Ubuntu,vsphere appears to be cancelled
review.vsphere » Ubuntu,vsphere completed with result ABORTED
Collecting metadata...
Metadata collection done.
Finished: ABORTED

So it seems that gerrit trigger plugin prevents child jobs from running, matrix parent cannot find them, aborts and sets negative vote on patchset.

In this case matrix parent should be cancelled too and vote should be skipped.


Originally reported by azcore, imported from: Matrix parent aborts when 'Exclude trivial rebase' set in gerrit-trigger plugin
  • assignee: rsandell
  • status: Open
  • priority: Major
  • component(s): gerrit-trigger-plugin, matrix-project-plugin
  • resolution: Unresolved
  • votes: 0
  • watchers: 2
  • imported: 2025-12-06
Raw content of original issue

I have multi-configuration job with two configurations. It triggered by gerrit trigger with option 'Exclude Trivial Rebase' When job is triggered by rebased patchset parent job is aborted and there is messages in log:

review.vsphere » CentOS,vsphere appears to be cancelled review.vsphere » CentOS,vsphere completed with result ABORTED review.vsphere » Ubuntu,vsphere appears to be cancelled review.vsphere » Ubuntu,vsphere completed with result ABORTED Collecting metadata... Metadata collection done. Finished: ABORTED

So it seems that gerrit trigger plugin prevents child jobs from running, matrix parent cannot find them, aborts and sets negative vote on patchset.

In this case matrix parent should be cancelled too and vote should be skipped.

environment
Jenkins ver. 1.598<br/>
Matrix project plugin ver. 1.4 <br/>
Gerrit trigger ver. 2.12.0

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the multi-configuration Jenkins job using the Gerrit trigger's “Exclude Trivial Rebase” option and inspect how the matrix parent handles children that the trigger prevents from running. Done means a rebased patchset cancels the parent cleanly without a negative vote.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system, ci-cd
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.