Tuesday, 2025-04-08

opendevreviewDr. Jens Harbott proposed openstack/project-config master: Only pause update_constraints.sh when needed  https://review.opendev.org/c/openstack/project-config/+/94654105:36
*** ykarel_ is now known as ykarel12:52
*** vkmc_ is now known as vkmc13:01
clarkbtonyb: tkajinam exactly. The schedule is there to try and bring order to chaos and make timing predictable for people around the world15:02
clarkbbut the service is generally available15:02
*** diablo_rojo_phone is now known as Guest1317516:32
*** Guest13175 is now known as help17:03
*** help is now known as Guest1317917:04
*** Guest13179 is now known as diablo_rojo_phone17:06
JayFhttps://review.opendev.org/c/openstack/ironic/+/942223 This is in a super confusing status and came up in an ironic review jam, can you help me understand what happened? cc TheJulia cid_  18:41
fungiit looks like zuul did not merge the commit after testing succeeded in the gate pipeline18:42
fungiyou would normally never see the "ready to submit" status because normally changes exist in that state for only a brief moment between when zuul votes +2 verified and auto-submits the change18:43
clarkbits based on the old patchset of the parent so cannot merge18:43
fungiin this case, it looks like its parent commit is an outdated revision of another change18:43
fungithe parent is patchset 1 of https://review.opendev.org/c/openstack/ironic/+/942204 but patchset 2 is what merged18:44
clarkbif the change was in the gate when the parent was updated you'd get a nice message about that. But looks like if you approve a change in that state later this is what happens18:44
fungiso gerrit won't allow 942223 to merge in its present state because it has a parent commit which can never appear in the branch history now18:44
fungi942223 will need to be rebased onto 942204,2 or the current state of the master branch18:45
clarkbit is interesting that gerrit says "ready to submit" when it will fail to do so if you click the button (that requires extra perms we don't have but zuul would have attempted it and that failed)18:47
fungimaybe a useful zuul feature for the gerrit driver? report an error instead of running tests, maybe consider an outdated parent the same as a missing merge requirement?18:49
clarkbzuul won't know until it tries to submit18:51
clarkbbecause zuul relies on the "ready to submit" criteria which we can see is buggy here18:52
clarkbso I think two things. First would be fixing gerrit's detection of this case not actually being submittable before you try it. And second would be a message from zuul when submit fails with a hint as to why18:52
fungiyeah, good point, gerrit's not supposed to consider this change ready to submit if it is going to refuse to submit it18:55
clarkbthe way zuul checks is there is query to check what is missing from the change to be ready to submit. Zuul queries that and ignores the verified vote missing error and if everything else looks good it proceeds18:56
clarkbgerrit uses the same check to determine if the change is ready to submit but doesn't ignore the verified vote18:56
JayFthanks guys for the context, that's useful19:15
JayFwe're going to rebase it so it can land19:15
JayFIt's rare to see a new gerrit thing these days so I was curious how it got there :D 19:15
JayFhttps://review.opendev.org/c/openstack/ironic/+/942223 rebased and workflow'd, thank you again!19:15

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!