Ask Your Question
0

What are the magic comments that I can use on OpenStack gerrit for rechecking jobs?

asked 2018-07-26 10:18:51 -0500

ssbarnea gravatar image

While I am already aware about the "recheck" comment which retriggers all CI jobs to run, I am also looking to find out less documented magic comments which can trigger optional jobs or only subset of jobs.

Always using "recheck" is like using a BFG to kill a moskito, sometimes you want something smalle ;)

edit retag flag offensive close merge delete

Comments

The OpenStack Project Infrastructure team doesn't really monitor questions posted to this site. More appropriate venues are the openstack-infra@lists.openstack.org mailing list or #openstack-infra channel on the Freenode IRC network.

fungi gravatar imagefungi ( 2018-07-26 10:54:40 -0500 )edit

2 answers

Sort by ยป oldest newest most voted
0

answered 2018-07-26 10:54:18 -0500

For the zuul.openstack.org service reporting to review.openstack.org its "check" pipeline triggers are configured at https://git.openstack.org/cgit/openst... and as you can see only responds to the string "recheck" in review comments. The request to allow rechecking specific jobs comes up fairly frequently, and is intentionally not implemented because it significantly increases the risks of merging nondeterministic bugs through what I liken to picking a pin-and-tumbler lock mechanism. If you have 10 jobs and your change introduces a bug which causes each of them to fail 20% of the time, then you'd need to recheck it ~10 times on average before you could get that change to register a passing check result. If you could selectively recheck only the jobs which fail, the passing result would significantly misrepresent the stability of that change. Introducing the ability to do so in the gate pipeline would be even worse still.

Options have been discussed for the ability to selectively rerun jobs without causing them to affect the verify vote on the change in question, though nobody has stepped forward to implement the support which would be required for this in the Zuul code base.

edit flag offensive delete link more
0

answered 2018-07-26 10:20:56 -0500

ssbarnea gravatar image

So far I found only some RDO specific triggers but I hope to get feedback about others.

  • https://github.com/rdo-infra/review.rdoproject.org-config/blob/master/zuul.d/pipelines.yaml#L21 (check-rdo or verify-rdo)

Any others?

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2018-07-26 10:18:51 -0500

Seen: 41 times

Last updated: Jul 26 '18