Friday, 2024-10-25

opendevreviewSlawek Kaplonski proposed openstack/project-config master: Remove rtd_secret from the trigger-readthedocs-webhook job  https://review.opendev.org/c/openstack/project-config/+/93339608:33
opendevreviewSlawek Kaplonski proposed openstack/project-config master: Remove rtd_secret from the trigger-readthedocs-webhook job  https://review.opendev.org/c/openstack/project-config/+/93339608:35
opendevreviewSlawek Kaplonski proposed openstack/project-config master: DNM Just test of the new config of the trigger-readthedocs-webhook job  https://review.opendev.org/c/openstack/project-config/+/93339708:35
opendevreviewSlawek Kaplonski proposed openstack/project-config master: Remove rtd_secret from the trigger-readthedocs-webhook job  https://review.opendev.org/c/openstack/project-config/+/93339609:17
opendevreviewSlawek Kaplonski proposed openstack/project-config master: DNM Just test of the new config of the trigger-readthedocs-webhook job  https://review.opendev.org/c/openstack/project-config/+/93339709:17
*** __ministry is now known as Guest743616:26
clarkbsean-k-mooney: the reason I don't think that zuul abort behavior for direct git dependencies has changes is that zuul can't merge the child changes without implicitly including the parent which have now failed17:11
clarkbthe only thing I can think of is that maybe at some point the jobs were allowed to run to completion but then we marked it as a failure? but it would've always been marked as a failure17:11
sean-k-mooneywhat i was refering to was the delta between check and gate17:12
sean-k-mooneyin check if a child patch fails but the combineind second patch passes all ci job then it gets +1 and the child ahs -117:12
sean-k-mooneybecause of the pipeline type17:12
clarkbah yes that is true17:12
sean-k-mooneyso wehn we have a large series we usully choose a sane brakpoint, queue up abunch of patches with +2w excptin the bottom patch and then send them in one go by adding +w to the bottome17:14
clarkband the reason is to avoid unnecessarily resetting a prior Verified+117:15
clarkbbecause if you enqueue to the gate and you fail or any ahead of you fail you get a Verified-217:15
sean-k-mooneyif your lucky all or most of them will merge and the rest will get -v form zuul based on teh gate run17:15
sean-k-mooneyya17:15
clarkbok I understand better now. THanks17:15
sean-k-mooneyso we can get 10 patches with green check, +2w the 9 latter ones and build up the chain. and when we are happy to merge that block of changes we +w the base patch and they all go to the gate17:16
clarkbEven if we don't vote -2 we've already cleared the vote on entry to the gate here: https://opendev.org/openstack/project-config/src/branch/master/zuul.d/pipelines.yaml#L92-L94 and reentry requires a +1 or +2 here: https://opendev.org/openstack/project-config/src/branch/master/zuul.d/pipelines.yaml#L8017:17
sean-k-mooneyyep we reset it when the buidl starts17:17
sean-k-mooney without doing that when we recheck it actully enques into both17:17
clarkbya so mechanically the process of entering the gate is what will force you back into check if you don't merge17:17
sean-k-mooneyi.e. if you remove https://opendev.org/openstack/project-config/src/branch/master/zuul.d/pipelines.yaml#L9417:18
sean-k-mooneyit will act  non intuitively17:18
clarkbright because you'd still have the old +117:18
sean-k-mooneyto be fair the way we configure it with the success and failure conditions17:18
sean-k-mooneyalso will override it17:19
sean-k-mooneybut i belie you can have other states in zuul17:19
sean-k-mooneylike perhaps a differt action for timeout17:19
sean-k-mooneyok not time out but merge-conflict https://zuul-ci.org/docs/zuul/latest/config/pipeline.html#attr-pipeline.merge-conflict17:20
clarkbya there are several all in a list at and below 17:21
clarkber at and below https://zuul-ci.org/docs/zuul/latest/config/pipeline.html#attr-pipeline.success17:21
sean-k-mooneyif i recall check is an independent pipeline gate is dependen and promote/post are supercedent17:22
sean-k-mooneyi always have to lookup the details fo those when i try to tell the later two apart17:22
clarkbyes that is correct looking at the config now17:22
sean-k-mooneysupercedent is an optimisation of independent17:23
sean-k-mooneywhere newer jobs can superced the older one17:23
sean-k-mooneyi.e. publishing a doc update17:23
sean-k-mooneyi.e. you dont need to publish on every commit just the most recent17:24
clarkbcorrect if three things merge at the same time only the first and third will run jobs17:25
sean-k-mooney its almost as if this was designed to scale well :)17:26
clarkbI think we can optimize out the first as well, but the way it works it enqueues the first one first then the second one while the first runs then the third one evicts the second one before the second runs 17:26
clarkband with a distributed system getting the removal of the first correct is probably more trouble than it is worth17:26
sean-k-mooneythe first will be killed when the second is encued17:26
clarkbno once the jobs start running on supercedent I believe they are allowed to finish17:27
sean-k-mooneyoh ok17:27
sean-k-mooneyi tough they got prememted but thats genreally ok17:27
clarkbso its only items that are waiting to start jobs that get replcaed in the supercedent pipeline17:27
clarkbI think the concern is if you do that you could interrupt some sort of publication process halfway and break the publication17:28
sean-k-mooneywell the fact that it groups per repo makes that safe17:28
clarkbso its best to finish once started17:28
sean-k-mooneyya i can see that17:28
sean-k-mooneyyou dont what a half uploaded tarbal17:28
clarkbya or half your documentation files to be updated and the other half not17:28
sean-k-mooneyso the regression i was refering to was the eleary exit thing17:29
sean-k-mooneythat has some not nice behivor in both check and gate17:29
clarkbya but that should be fixed now17:30
sean-k-mooneyhopefully i have not seen it acting strange in a while17:30
clarkbya I mean I wrote a fix for it and that included a test so we should prevent regressions17:31
sean-k-mooneyim 50/50 on if the new zuul ui is a good thing or not however17:31
sean-k-mooneyhttps://zuul.opendev.org/t/openstack/status17:31
sean-k-mooneyim not sure i like the new ux bug its "prettier i guess"17:32
clarkbit shouldn't be drastically differen.t I know there are changes but the things people want to accomplish are all still doable but possibly with some small changes to process17:32
clarkbbut yes visually it changes due to using more patternfly native objects17:32
sean-k-mooneythe one thing that is lost is you cant clik on the tick/x of the card and go to the build set17:33
clarkbsean-k-mooney: you can't jump to this page for example: https://zuul.opendev.org/t/openstack/buildset/54c52b7a767f437aa97b0c4090f71a95 ?17:34
sean-k-mooneyexactly17:34
sean-k-mooneythat what the tick/x icon that tells you if its currently passing or not used to link to17:34
sean-k-mooneywhich reduced the load on zuul sicne you were nto pooling the status of all the jobs17:35
clarkbI don't think I realized that. But I'll make a note that people used that functioanlity17:35
sean-k-mooneyjust the one fo the build set17:35
clarkbit should be possible to add it back17:35
sean-k-mooneyso rdo zuul predates the change https://review.rdoproject.org/zuul/status17:35
clarkbsean-k-mooney: if you filter by change you should get the performance improvement fwiw17:35
sean-k-mooneyit actully broght you to a diffent view https://review.rdoproject.org/zuul/status/change/2349,137e928e4353d311edec12a596ec4f3c01ae84c017:36
sean-k-mooneyrather then directly to the buidl set17:36
clarkbya that should be equivalent to filtering by that change17:36
clarkbin the new ui click on the + magnifying glass and selsect filter by change17:36
sean-k-mooneyyep i used to filter by the change before too17:36
sean-k-mooneyi just woudl pop it out if i was watching several for well CVE reasons17:37
sean-k-mooneyyep i have mostly adapted17:37
sean-k-mooneyjust muscle memory 17:37
clarkbgot it so having it open in a new tab/window is maybe the useful part of the process17:37
clarkbwhich the filter by change magnifying glass window does not appear to support/enable at least not in firefox17:37
sean-k-mooneyyep if im debugging someint ill keep the live console open17:38
sean-k-mooneyif i am just seeing do i need to recheck this bacasuse reaosn ill keep the full view open17:38
* clarkb writes a note17:38
sean-k-mooneyover all the new ui is better17:38
sean-k-mooneythe fact it supprot regexs/wildcards is very nice17:39
sean-k-mooneyi.e. project *watcher*17:39
sean-k-mooneylike this https://zuul.openstack.org/status?project=*neutron*17:40
sean-k-mooneyits also intuitivly does the right thing17:40
sean-k-mooneyit ORs repeated parmeter and  ANDs diffent ones17:40
sean-k-mooneyi.e. you can repeate project and set piple=check17:41
sean-k-mooney*pipeline=check17:41
sean-k-mooneyso if you want to be fancy you can. before however the earch filed just work for project or job or change id so you didnt have to sepect what to match on first17:41
sean-k-mooneyso we got complex queires and lost simpel ones17:42
clarkbya you can also filter by multiple changes and see the mall on the same pane17:42
clarkbproblem is as soon as you filter by one you lose all the context to  filter by the others17:42
clarkbwhich makes your earlier use case more difficult but still possible.17:42
sean-k-mooneyyep as i said its mainly muscel memory that i need to fix17:43
sean-k-mooneyi am not used to thinking about seting it to project or change 17:43
sean-k-mooneyi just type the "gerrit number" or "nova" and hit enter17:44
sean-k-mooneythe former works because it default to change the later does not but its easy to fix17:44
sean-k-mooneyis the magnifying glass even newer17:45
sean-k-mooneyi dont recall seeing it the last time i used this17:45
sean-k-mooneyit does make some things faster17:46
clarkbthe magnifying glass came with the ui update. Its just easy to miss I guess if you aren't looking for it17:46
sean-k-mooneyack17:47
clarkbthe problem with having established users with habits :) I suspect that entirely new users would find it more intuitive17:47
sean-k-mooneyya i was thinking the same17:47
sean-k-mooneylike new uesrs are proably not going to find the change number  for the first patch in a 10 patch series so that you can see all jobs that include it and as a result see the full series17:48
sean-k-mooneylike this https://zuul.openstack.org/status?change=70366717:48
clarkbya thats something you probably discover accidentally the first time then use it to your advantage17:49
sean-k-mooneywell a new user might expect to be able to take the top patch instead of teh bottom to do that17:50
sean-k-mooneybut ya thats always the probelm with users :)17:50
clarkbsean-k-mooney corvus expressed and interest in discussion this further but its the weekend for you at the end of the ptg so maybe we can pick it up monday18:49
sean-k-mooneysure. im curerntly reading a proposal for solar power from a company that did a suervay today. im non matix to by the way so i can chat to them on tuseday (monday is a public holiday)18:52
sean-k-mooneyto be clear im stilly very happy we are using zuul over prow or jenkins18:53
sean-k-mooneyi have had to interact with both for the years and zuul is still a better fit IMHO and has a better gui at least for my usecases/interaction18:53
clarkbthat is great to hear. Sorry I popped out for lunch and am only just now returning. Enjoy the three day weekend20:08
*** elodilles is now known as elodilles_pto20:28

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