Monday, 2019-10-21

*** jamesmcarthur has joined #zuul01:18
*** jamesmcarthur has quit IRC01:30
*** jamesmcarthur has joined #zuul01:36
*** jamesmcarthur has quit IRC01:51
*** jamesmcarthur has joined #zuul01:57
*** spsurya has joined #zuul02:32
*** bhavikdbavishi has joined #zuul02:49
*** bhavikdbavishi1 has joined #zuul02:52
*** bhavikdbavishi has quit IRC02:53
*** bhavikdbavishi1 is now known as bhavikdbavishi02:53
*** sgw has quit IRC03:06
*** jamesmcarthur has quit IRC03:49
*** jhesketh has quit IRC05:11
*** AJaeger has quit IRC05:54
*** AJaeger has joined #zuul06:04
*** SpamapS has quit IRC06:44
*** ianychoi has quit IRC06:51
*** ianychoi has joined #zuul06:54
*** SpamapS has joined #zuul06:57
*** saneax has joined #zuul07:00
*** tosky has joined #zuul07:14
*** pcaruana has joined #zuul07:16
*** tosky_ has joined #zuul08:15
*** tosky_ has quit IRC08:15
*** tosky_ has joined #zuul08:15
*** tosky is now known as Guest3964008:16
*** tosky_ is now known as tosky08:16
*** electrofelix has joined #zuul08:35
*** hashar has joined #zuul08:41
*** jangutter has joined #zuul08:42
*** sgw has joined #zuul08:58
*** openstackgerrit has quit IRC09:37
*** bhavikdbavishi has quit IRC09:42
*** mhu has joined #zuul10:11
*** sgw has quit IRC10:30
*** hashar has quit IRC10:37
*** tflink has quit IRC10:49
*** tflink has joined #zuul10:49
*** saneax has quit IRC10:58
*** saneax has joined #zuul10:59
*** mattymo has quit IRC11:02
*** hashar has joined #zuul11:02
*** bhavikdbavishi has joined #zuul11:06
arxcruzhey guys, how can I get the results of a zuul job A, and trigger a second job B, and use the artifacts from job A ?11:06
arxcruzis that possible?11:06
*** bhavikdbavishi1 has joined #zuul11:09
*** bhavikdbavishi has quit IRC11:10
*** bhavikdbavishi1 is now known as bhavikdbavishi11:10
jangutterarxcruz: Have you seen zuul_return as described here? https://zuul-ci.org/docs/zuul/user/jobs.html#returning-artifact-urls11:13
jangutterarxcruz: I'm not sure how current this post is, but it describes sharing artifacts between jobs: https://blogs.rdoproject.org/2018/01/overview-of-a-ci-cd-workflow-with-zuul/11:14
arxcruzjangutter: yes, i saw the return artifact, but this is to be used in the same job right ?11:14
arxcruzi want to run a job that will build a rpm, and then be able to trigger a second job that will consume that rpm on a tripleo job11:15
jangutterarxcruz: I've used zuul_return to pass the buildset from one job as the input to another job. Both jobs had the same trigger, but the second one waited for the first one to complete.11:17
*** mhu has quit IRC11:18
arxcruzjangutter: thanks, i'll take a look11:20
arxcruzjangutter: may i bother you later on that? :D11:20
arxcruzi pay a beer :P11:20
jangutterarxcruz: if two jobs are triggered in the same event (say submit-review triggers rpm-build then rpm-test), zuul_return can help you. But if you need to generate a new trigger event, I think you're looking into something more complex.11:21
jangutterarxcruz: I'm very much a noob here, most of my tech-support is based on convincingly lying :-p11:21
arxcruzjangutter: that's a good skill :P11:34
*** jangutter has quit IRC11:49
*** jangutter has joined #zuul12:02
*** rfolco|ruck has joined #zuul12:04
*** rfolco|ruck is now known as rfolco|rover12:04
*** themroc has joined #zuul12:06
*** themroc has quit IRC12:10
*** themroc has joined #zuul12:11
*** themr0c has joined #zuul12:25
*** themroc has quit IRC12:26
*** mhu has joined #zuul12:50
*** jamesmcarthur has joined #zuul12:54
*** at_work has joined #zuul13:27
*** jamesmcarthur has quit IRC13:30
*** jamesmcarthur has joined #zuul13:31
*** jamesmcarthur has quit IRC13:32
*** jamesmcarthur_ has joined #zuul13:32
*** jamesmcarthur_ has quit IRC13:36
*** mhu has quit IRC13:48
*** jamesmcarthur has joined #zuul13:48
*** jamesmcarthur has quit IRC13:53
fungiif anyone has anything they'd like to mention to the osf board of directors about the airship project prior to tomorrow's board meeting to review their request to be confirmed as an open infrastructure project, please add it to https://etherpad.openstack.org/p/zuul-community-airship-confirmation-feedback13:58
fungisee my post to zuul-discuss last week if you need more information: http://lists.zuul-ci.org/pipermail/zuul-discuss/2019-October/001048.html13:58
fungi(or ask me and i'm happy to get answers)13:59
Shrewsneat. nodepool-upload-image is failing with "ERROR: Failed building wheel for netifaces"14:04
Shrewsyay monday14:05
Shrewsmissing gcc might be the real error14:07
fungithough odds are netifaces just pushed up a new sdist to pypi14:08
funginope, nothing since january14:08
fungii wonder why we're just now hitting it14:08
Shrewsfungi: excellent question14:09
fungialso why would nodepool-upload-image be trying to install anything?14:09
Shrewsfungi: it's during the build of the docker images14:09
Shrewsso maybe a base image changed14:09
Shrews?14:09
fungiahh14:10
funginevermind, i was thinking you meant a failure on opendev's nodepool builders when uploading built node images14:10
fungibut yeah, maybe something we're installing added a new dependency (or the c built tools were removed from a base image)14:12
fungis/built/build/14:12
*** ianychoi has quit IRC14:21
Shrewsconfirmed a local docker build fails with the same error  :/14:24
*** michael-beaver has joined #zuul14:26
*** dmsimard1 is now known as dmsimard14:26
Shrewsmordred: i see gcc being installed early in the process. odd14:28
Shrewswell, didn't mean to ping mordred there, but since i did, and if you're around...14:28
*** ianychoi has joined #zuul14:29
*** jamesmcarthur has joined #zuul14:30
*** fdegir has quit IRC14:41
Shrewsooh, opendevorg/python-base was updated 3 days ago. that seems promising14:42
*** fdegir has joined #zuul14:42
Shrewsfungi: umm, stupid question... but which repo controls that image?14:44
fungiit might be a stupid question, but i don't know either ;)14:44
fungilooking it up now14:44
Shrewsoh, sys config i think14:45
fungiyeah, there's a system-config-build-image-python-base job defined in it14:46
Shrewsopendevorg/python-base does not have gcc installed. since there is no older version available on dockerhub, i cannot confirm if the previous version did14:49
clarkbI know mordred and corvus had recent conversation about that14:49
clarkbI think the idea was add it to our images but then if we switched python-base to some other parent it got it for free?14:50
clarkbif you look at the history of that dockerfile you may see those recent changes14:50
Shrewsno gcc related changes that i can see14:52
fungigcc might have been covered as a dependency, perhaps for a metapackage like build-essential14:53
corvusclarkb, Shrews yeah https://review.opendev.org/689578 is the recent change and should only affect jemalloc, but it means that we got a new debian base image as part of the rebuild, so much unrelated stuff could have changed14:54
Shrewsi guess the question i have right now is... do we fix this by having gcc installed in the python-base image, or change nodepool's bindep to include it?14:56
corvusi think it should be installed in python-base -- i think we intended that to be able to install any python module, and some python modules need gcc14:56
clarkbI think the preference is to hvae python-base hold those build deps so that tehy don't end up in the final image14:56
corvusthe weird thing is, i thought "python:slim" already had that goal too14:57
*** fdegir has quit IRC14:57
*** fdegir has joined #zuul14:58
clarkbI think it may be python without the :slim ?14:58
Shrewsremote:   https://review.opendev.org/689813 Make sure gcc is installed on python-base image15:00
Shrewserg... is gcc the right package name?15:01
* fungi checks15:01
clarkbon debuntu I would do build-essential15:01
clarkb(python:slim is a debian image iirc)15:01
Shrewsok15:02
fungiyeah, "gcc" will work, "build-essential" will also pull in gcc but will include stuff like autotools as well15:03
fungidepends on whether you're concerned about the extra deps15:03
corvuswait a sec...15:07
corvuspython-builder is what we should be looking at15:07
Shrewscorvus: i was wondering about that, but it looks like python-base only grabs content from the /output directory of python-builder15:09
corvusyeah, we should be using python-builder to build nodepool, then install the result in a python-base container15:09
clarkboh the issue is installing nodepools deps I bet15:09
clarkband if it doesn't have wheels too then we run into this15:09
ShrewsFROM opendevorg/python-base as nodepool15:10
Shrewsis that incorrect?15:10
corvusShrews: there should be multiple from lines15:10
corvusyeah, above that we use the builder image15:11
corvususe the builder image, build nodepool, then use the base image and install nodepool15:11
clarkbfungi: is it possible netifaces deleted their wheel?15:12
Shrewscorvus: the odd thing is, the python-builder installs gcc (according to the logs)15:12
fungioh, i bet i know what happened15:13
clarkbShrews: ya I think the problem is when we've switched over to the python-base context and are installing nodepool there. We are missing a netifaces wheel15:13
fungidebian buster switched to python3.715:13
funginetifaces has manylinux1 wheels for python3.6 and before15:13
clarkboh are -builder abd -base disjoint python versions? that could do it15:13
clarkboh or that15:13
fungiso when it was debian stretch based, tehre was a manylinux1 wheel for the version of python which was installed15:14
*** jamesmcarthur has quit IRC15:14
*** jamesmcarthur has joined #zuul15:15
corvusi guess if we know we need to do it, we could build a netifaces wheel in the builder image and put it in the wheel cache that's added to the base image for installation...?15:18
clarkbcorvus: perhaps copy over the entire wheel cache?15:19
corvusi think we do?15:19
clarkboh if we do then the builder should have built a 3.7 wheel15:19
clarkbperhaps it is also the case the -builder is running 3.6?15:19
*** fdegir has quit IRC15:19
corvusyes that might be it -- because mordred didn't update the builder...15:20
*** fdegir has joined #zuul15:20
corvusso we may just need to rebuild python-builder15:20
corvus(and update the jobs so that both are built in tandem in the future)15:20
clarkb++15:20
corvusShrews: want to push a no-op change to the python-builder dockerfile to get a new build and see if that fixes it?15:21
Shrewscorvus: yup15:21
*** jamesmcarthur has quit IRC15:21
fungithat'll be conveniently simple if that's all we ended up needing15:21
*** jamesmcarthur has joined #zuul15:22
Shrewsremote:   https://review.opendev.org/68981915:25
*** jamesmcarthur has quit IRC15:26
*** mattw4 has joined #zuul15:27
*** igordc has joined #zuul15:27
*** igordc has quit IRC15:34
*** ianychoi has quit IRC15:43
*** ianychoi has joined #zuul15:44
*** openstackgerrit has joined #zuul15:45
openstackgerritJames E. Blair proposed zuul/zuul-registry master: Handle ":" in passwords  https://review.opendev.org/68982915:45
*** jamesmcarthur has joined #zuul15:45
*** hashar has quit IRC15:48
corvusheh, that ^ is stuck on the netifaces wheel too15:56
corvusfungi, clarkb: want to +3 https://review.opendev.org/689819 ?15:57
fungiyup, sorry, missed it. was in meetings15:57
*** themr0c has quit IRC16:04
*** saneax has quit IRC16:13
*** spsurya has quit IRC16:40
openstackgerritJames E. Blair proposed zuul/zuul-registry master: Disable namespacing  https://review.opendev.org/68921916:47
*** electrofelix has quit IRC16:56
*** jangutter has quit IRC17:26
openstackgerritMerged zuul/nodepool master: Remove unused functional testing playbooks  https://review.opendev.org/68945717:26
openstackgerritMerged zuul/nodepool master: Cleanup openshift pre.yaml playbook  https://review.opendev.org/68947917:31
openstackgerritJames E. Blair proposed zuul/zuul-jobs master: Test buildset registry with k8s and docker  https://review.opendev.org/68928017:31
openstackgerritJames E. Blair proposed zuul/zuul-registry master: Handle ":" in passwords  https://review.opendev.org/68982917:35
openstackgerritJames E. Blair proposed zuul/zuul-registry master: Collect docker logs in functional test  https://review.opendev.org/68985117:35
*** themroc has joined #zuul17:37
*** themroc has quit IRC17:46
*** tosky has quit IRC17:50
mordredcorvus: wow, we didn't build a new builder image the other day? I thought that change triggered *all* of the images17:50
clarkbmordred: I think we need to update the jobs to do that17:51
mordredhrm. it built in check - just not in gate and promote17:52
mordredhttps://review.opendev.org/#/c/689578/17:52
mordredoh - wow. I see what happened17:54
*** jamesmcarthur has quit IRC17:54
mordredit built in base because we added the docker mirror url to build-image base job, so the jobs all changed so zuul ran them17:55
mordredbut we didn't add the mirror url to upload or promote - so they didn't get triggered - but we did upload python-base because we ALSO made a dockerfile change to it17:56
*** bhavikdbavishi has quit IRC18:11
*** jamesmcarthur has joined #zuul18:14
*** jamesmcarthur has quit IRC18:17
*** hashar has joined #zuul18:22
*** saneax has joined #zuul18:22
corvusmordred, fungi: i think i may be seeing more fallout from the py36->37 update in zuul-registry18:27
corvusi'll let you know what i find18:28
mordredcorvus: "awesome"18:28
corvusoh er it's running 3.818:29
*** jamesmcarthur has joined #zuul18:31
mordredoh - so it is!18:32
corvushttps://zuul.opendev.org/t/zuul/build/0d539a0faef24796a97c272dd0afd7ee/log/docker/functionaltest_registry_1.txt#3018:32
corvusapparently the internals that rehash uses have changed18:32
mordredcorvus: null pointer access, fun18:33
mordredcorvus: should we pin base and builder back to 3.7 while the dust settles?18:34
corvusmordred: is there a python:slim-3.7 or something?  yeah, that might be good18:34
clarkbdid weget 3.7 last week and 3.8 today?18:34
corvus(i'm poking at the rehash thing now to see if 3.8 is a quick fix)18:34
fungi3.8 was released late last week i think18:34
corvusclarkb: oh i didn't check -- that's possible!18:34
mordredcorvus: k. I'll push up an update patch real quick18:35
fungiso entirely possible18:35
corvusha, our attempt to sync versions could have failed :)18:35
mordred:)18:35
mordredso - maybe we should wait until the sync patch has landed and published then recheck :)18:35
fungido those images use python from debian or python from source?18:35
mordredfrom source18:35
clarkbmordred: ++18:35
clarkbre wait and recheck18:36
corvusthat's getting into the weeds pretty fast.  i opened an issue: https://github.com/kislyuk/rehash/issues/418:49
corvusi say we pin and check back in a bit18:49
*** rfolco|rover has quit IRC18:59
openstackgerritAndreas Jaeger proposed zuul/zuul-jobs master: fetch_subunit: Change variable  https://review.opendev.org/68986419:06
*** sgw has joined #zuul19:07
mordredfbo: +A of https://review.opendev.org/#/c/687259/1 - but there's an inline comment from corvus19:07
openstackgerritAndreas Jaeger proposed zuul/zuul-jobs master: fetch_subunit: Change variable  https://review.opendev.org/68986419:07
*** rfolco has joined #zuul19:11
*** saneax has quit IRC19:15
*** jamesmcarthur has quit IRC19:30
*** jamesmcarthur has joined #zuul19:35
clarkbAJaeger: ^ I think you have the +2's you need on that and its parent if you want to approve them together19:36
AJaegerclarkb: ah, thanks!19:37
*** jamesmcarthur has quit IRC19:39
*** jamesmcarthur has joined #zuul19:44
openstackgerritMerged zuul/zuul-jobs master: fetch-subunit-output: collect additional subunits (2nd try)  https://review.opendev.org/67433419:48
mordredcorvus: images built/promoted - I rechecked your first zuul-registry change19:50
corvusmordred: thanks!19:51
*** jamesmcarthur has quit IRC19:51
*** jamesmcarthur has joined #zuul19:53
mordredcorvus: green19:57
*** Goneri has quit IRC19:57
openstackgerritMerged zuul/zuul-jobs master: fetch_subunit: Change variable  https://review.opendev.org/68986419:58
*** pcaruana has quit IRC20:16
openstackgerritJames E. Blair proposed zuul/zuul-registry master: Collect docker logs in functional test  https://review.opendev.org/68985120:16
openstackgerritJames E. Blair proposed zuul/zuul-registry master: Handle ":" in passwords  https://review.opendev.org/68982920:17
*** jamesmcarthur has quit IRC20:40
corvusthat ^ is ready to merge (and doing so would be very helpful)20:44
openstackgerritJames E. Blair proposed zuul/zuul-jobs master: Use zuul-registry as buildset registry  https://review.opendev.org/68923820:44
openstackgerritJames E. Blair proposed zuul/zuul-jobs master: Make the buildset registry port configurable  https://review.opendev.org/68924020:45
openstackgerritJames E. Blair proposed zuul/zuul-jobs master: Test buildset registry with k8s and docker  https://review.opendev.org/68928020:45
*** jamesmcarthur has joined #zuul20:46
openstackgerritJames E. Blair proposed zuul/zuul-jobs master: Make the buildset registry port configurable  https://review.opendev.org/68924020:58
openstackgerritJames E. Blair proposed zuul/zuul-jobs master: Test buildset registry with k8s and docker  https://review.opendev.org/68928020:58
*** jamesmcarthur has quit IRC21:00
mnasersomething for discussion: i'm trying to minimize the amount of setup involved to get started with zuul in a multi-tenant environment21:01
mnaserone of the "issues" currently is pipelines, because it's something that you don't just "get out of the box"21:02
mnaseri'm thinking both check/gate for all users/tenant by exposing the same project-config to all tenants21:03
mnaser_and_ config-projects are not exposed to the use, only untrusted-projects21:04
corvusmnaser: yes, sharing a config project is a fine thing to do -- in previous discussions, that's how we've evsinioned it21:04
mnaseri guess something for me to figure out eventually is if a user had a specific set of pipelines they wanted to build out, but i'd put that under 'advanced user' use case21:05
corvusmnaser: and on the other thing: yes also.  mordred and i have talked about the potential need for an in-between kind of project -- a "tenant config project" which does not have the extra security access of a config project, but can do things like configure jobs on specific projects and define pipelines.21:06
mordredmnaser: I think especially for an aaS offering - having a standard set of pipelines everyone gets is a great idea - check/gate/post/promote/release21:07
mordredbecause those are going to handle 95% of people's use cases - and then, like you say, if someone wants to get fancier - awesome - advanced user :)21:07
*** jamesmcarthur has joined #zuul21:08
corvusi think the tenant-config-project idea is doable, but will probably be a fair number of lines of code21:08
mordredyah21:08
mnaseryeah, also i would imagine adding some sort of pipeline parenting would be really useful too (like jobs)21:08
mnaser"i want to redefine 'check' with some changes but not copy paste the whole thing"21:08
corvusinteresting idea21:08
mnaseranyways, getting people to bite on zuul has been a little slower because it is a lot of handholding right now21:09
mordrednod21:10
mnaserso i may ask some people to volunteer to try out a zuul-as-a-service offering where it is fully self serve21:10
*** tosky has joined #zuul21:10
mnaseras of now, you just install the github app and then with the magic of code, you get a zuul tenant linked to your account and you're off to the races21:10
mnaser(using oauth with github to determine who owns what, etc)21:10
mordredcool!21:11
openstackgerritMerged zuul/zuul-registry master: Collect docker logs in functional test  https://review.opendev.org/68985121:23
*** jamesmcarthur has quit IRC21:26
*** mgoddard has quit IRC21:31
*** jamesmcarthur has joined #zuul21:32
*** mgoddard has joined #zuul21:32
openstackgerritJames E. Blair proposed zuul/project-config master: Add gerrit image build job to gerrit checks plugin  https://review.opendev.org/68988021:33
corvusmordred: ^ i think that's the next step for upstream gerrit21:33
mordredcorvus: lgtm21:34
corvuswe can make sure that's green, then i think maybe we can add a zuul/gerrit integration job and run it there and on changes to zuul (where it would either use a speculative build if we use a depends-on, or will actually fetch the image from dockerhub otherwise).  i think we'll also probably want to make sure that gets rebuilt on merged changes to gerrit and/or checks, so i think we'll have to do something in21:35
corvusthe opendev tenant for that21:35
corvusweirdly, i think the biggest hurdle there is going to be the lack of a ref-updated event from googlesource21:35
fungiand the fix for that is web hooks?21:37
fungior what is gerrit's answer to replacing the ssh event stream?21:37
corvusfungi: i think either web hooks, or we may be able to get the equivalent of change-merged with checks plugin21:38
clarkbare web hooks different than the checks api?21:40
fungiwhat protocol does the checks plugin emit events over? or you mean via polling a queue?21:41
clarkbfungi: you poll via http(s)21:42
corvusfungi: the checks plugin is ... erm... let's call it "delta polling" -- you poll it and it tells you what changes need updated results for your checker21:42
corvusso it's pretty efficient21:42
corvusbut it's change oriented, so i don't see a way to replace "post" (ref-updated) pipelines with it.21:43
fungigot it21:43
fungithe events are change-scoped not project-scoped21:44
corvusclarkb: yes -- and i think webhooks are ... imaginary at this point?  not 100% sure of the current status.21:44
corvusbut i believe that the general answer for "replace the ssh stream" is "webhooks"21:44
fungisure, i more meant what sort of solution were they looking at21:44
openstackgerritMerged zuul/zuul-registry master: Handle ":" in passwords  https://review.opendev.org/68982921:44
corvusi think checks is going to be better for changes though -- so i expect the answer is that if all goes well, we will end up using both21:45
clarkbI see. Do they intend on fully removing the event stream then?21:45
mordredcorvus: I think the gerrit webhooks plugin isn't imaginary21:45
clarkb(seems like all the laternatives don't quite give you the same data and removing it would be sad)21:45
fungiin theory the replication plugin could replace the remainder21:45
mordredhttps://gerrit.googlesource.com/plugins/webhooks/21:45
fungiyou just need a receiver which groks git21:45
fungigit push that is21:46
*** jamesmcarthur has quit IRC21:46
corvusfungi: yes, but that's heavy setup cost21:46
fungii concur21:46
corvusmordred: neat! i love it when dreams come true21:46
*** mgoddard has quit IRC21:47
mordredcorvus: should we add that to our master image builds as a forward-looking sort of thing?21:47
fungialso replacing change-merged with polling and ref-updated with a stream means you're likely to get the latter before the former21:47
*** mgoddard has joined #zuul21:49
mordredcorvus: hah. we already build the webhooks plugin in our container images21:50
mordredit's almost like we've already thought of this before21:50
*** jamesmcarthur has joined #zuul21:54
corvusfungi: yeah, but i don't think that should cause too many problems -- we don't really try to synchronize post+promote21:55
fungiagreed, not likely a problem in practice21:57
clarkbmight make sense to push that back up as feedback for the checks api though?21:57
clarkb"here are the things that a ci system (like ours) is currently triggering off of"21:58
clarkbgranted I think most of my concern with webhooks lies in github's poor api forcing our lookups to be slow and isn't inherent to using webhooks21:59
fungii'd be surprised if that wasn't already enumerated in discussions at the gerrit user summit21:59
clarkbalso corps tend to like the connection direction to happen the other way around22:00
clarkbbut if gerrit and zuul are in the same org that becomes less of a problem22:00
mordredyeah - there are some nice things about webhooks vs. ssh-stream too - like, ability to more easily load balance webhook receivers22:02
clarkbmordred: I mean more webhook vs checks plugin22:02
mordredoh - I don't think they see things as webhooks vs. checks plugin. they envision a webhook that says "please go check the checks api"22:03
mordredfor opendev's zuul - that even will be nearly worthless22:03
mordredevent22:03
clarkbif I read corvus correctly that will also be the only way to get a ref updated event?22:03
clarkbsaying it would be useful to register with checks api that "I care about ref updated events and whatever else" directly22:04
mordredsince by the time we're done wtih an event processing loop, it's almost certain we will have received another "go check the checks api" event22:04
corvus(ot: here's something to keep in the back of your mind -- if tags were to become reviewable objects in gerrit, they could also be subject to the checks api :)22:05
mordredclarkb: I mean - I think that's a webhooks thing - whether or not you want ref-updated events from the webhook plugin22:05
mordredcorvus: ++22:05
corvusclarkb: yes, but that's a very different model than they have designed22:05
clarkbmordred: but then you lose out on all the goodness of the checks api state tracking22:05
clarkbmordred: delta polling as corvus describes it22:05
*** jamesmcarthur has quit IRC22:05
mordredright - but it's delta polling related to what checks have you responded to with a checks response - which is a thing that doesn't make any sense for ref-updated22:06
clarkbmordred: why not?22:06
clarkbone of the responses is "I'm dealing with this"22:06
clarkbwhich could be very useful for a distributed system22:06
corvusi've lost track of what you're talking about :(22:06
mordredI have too - I thought I was following what clarkb was saying - but I think I am not actually22:07
*** openstackgerrit has quit IRC22:07
clarkbI'm suggesting that a consistent interface for tracking the things CI tools will take action on is a useful thing to have22:07
clarkbrather than having multiple interfaces to "here is the work to be done" with difference of features22:07
corvusclarkb: yes, i agree, but i don't think the checks api was designed with that in mind, and the data storage model is ill-suited to doing things with ref-updated-like events22:08
corvuswebhooks, otoh, should be just as flexible as ssh-stream, and that works pretty well22:08
fungiit all started with corvus saying, "weirdly, i think the biggest hurdle there is going to be the lack of a ref-updated event from googlesource" and then me wondering what may come along in new gerrit versions to make something like ref-updated available in ways that google would be willing to expose to external systems22:08
clarkbI'd almost be inclined to just do everything through webhook sin that case22:08
clarkbthough I guess you can't get the robot comment ui stuff that way?22:09
mordredclarkb: you don't get the check result matrix22:09
corvusclarkb: i think that will be an option, however, the visualization of results will be what we have today, not the nice separate channel that checks provide.22:09
mordredyah22:09
corvusof course, one could continue to push on david's results plugin.22:10
corvus"verify-status" that's what it's called22:11
corvusso webhooks + verify-status gets you improved ui with a similar event model to ssh (with the TCP direction reversed)22:11
*** jhesketh has joined #zuul22:12
mordredyah - but otoh the checks plugin is more likely to have weight behind it longer terms since it's being pushed by our google friends - and while we won't get deltas for ref-updated - we won't get that with webhooks+verify-status either22:13
clarkbmordred: no but at least when I need to debug why an event wasn't handled its always the same thing to debug22:14
corvushappily, zuul will support all of the above as long as gerrit does22:14
clarkbor when $corp goe sto update firewall rules they don't get fornwed at by the security team22:14
mordredwhich is why I think that checks + optionally webhooks is likley the best bet for us22:14
clarkbthough maybe multiple services all talking http to each other in both directions isn't a weird thin to ask for anymore22:15
corvusfwiw, i vigorously defended the ssh stream api at the user summit, and will continue to :)22:15
corvusit's one of the least breaky thing's i've ever dealt with :)22:15
clarkb++22:15
mordred++22:16
fungiclearly a reason to replace it then22:16
fungi"this thing has been working far too well for far too long"22:16
corvusyeah, you don't want mbtf outliers22:16
mordredsome of the folks there seemed to have had a different experience with it than we have22:16
corvusyep.  all points of view were presented :)22:17
mordredwith comments about it being completely unreliable and they didn't understand how anyone could use it in production ... which we kind of blinked at :)22:17
clarkbhuh22:17
*** hashar has quit IRC22:17
mordredso - I definitely think it was one of those good meeting moments where we were all able to hear that different experiences existed22:17
clarkbI wonder if that comes down to clients22:17
clarkb(we know some clients can make the gerrit sshd sad, paramiko included if connections are not closed properly)22:17
clarkbfwiw I think the webhook system works relatively poorly with the github driver (relative to the ssh events stream). Which is part of my concern that we are getting two different thing sthat are similar to that. But as I mentioned that is more a problem of github's api not being able to lookup PRs by sha easily. And I should just roll with it before worrying we'll get two less good thing we have to use together22:19
clarkb:)22:20
clarkbI've also heard concerns from people about opening their firewalls for github to send http connections into their corp network, thhankfully github does publish source IPs though and with gerrit you run gerrit typically making that less of an issue22:20
mordred++22:21
corvusclarkb: i'm really happy to test this all out with gerrit's gerrit before we use it anywhere else :)22:21
corvusmaybe we should see if we can get a webhook setup with them22:22
corvususe it to publish those images22:22
clarkbthat sounds like a great idea (particularly if that is the only way to get the ref updated events from them today)22:22
mordred++22:22
*** openstackgerrit has joined #zuul22:24
openstackgerritJames E. Blair proposed zuul/zuul-jobs master: Test buildset registry with k8s and docker  https://review.opendev.org/68928022:24
corvusi think i'm pretty close to the only remaining bug in that series being the ipv6 thing.  i've set an autohold for that and am rechecking that series to try to catch a v6 host22:24
*** mgoddard has quit IRC22:27
*** mgoddard has joined #zuul22:33
* mordred wishes corvus luck22:43
*** mgoddard has quit IRC22:47
*** ianychoi has quit IRC23:00
*** ianychoi has joined #zuul23:00
*** mattw4 has quit IRC23:09
fungiwho's the pale blue on https://etherpad.openstack.org/p/zuul-community-airship-confirmation-feedback ?23:11
fungiwanting some clarification on the gerrit point so i can accurately represent it in the feedback e-mail message i'm compiling for the public foundation ml23:12
clarkbfungi: me23:14
fungicool, so is the point you want made that the use of gerrit shapes/lubricates the possible interaction between the projects?23:15
fungijust trying to figure out how to work it in23:16
fungior was it simply that we should avoid referring to opendev's zuul on its own, lest that appear to be "zuul as a service" rather than ain integrated development platform?23:17
clarkbya that was more the point23:17
clarkbthe second thing23:17
fungiokay, cool, i'll reword the e-mail i'm drafting to that end23:18
fungithanks!!!23:18
fungiairship uses opendev, which integrates zuul and gerrit for a unified code-review-driven development experience. i'll take that angle23:19
mordred++23:20
*** ianychoi has quit IRC23:24
*** ianychoi has joined #zuul23:26
fungiokay, my draft feedback e-mail is at the bottom of https://etherpad.openstack.org/p/zuul-community-airship-confirmation-feedback is anyone wants to proofread or make further suggestions23:29
fungii'd like to send it in half an hour, as the board meeting is something like 13.5 hours away23:29
*** tosky has quit IRC23:32
*** jamesmcarthur has joined #zuul23:40
*** michael-beaver has quit IRC23:56

Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!