Monday, 2021-01-04

*** tosky has quit IRC00:12
*** holser has joined #zuul00:18
*** ikhan has joined #zuul01:05
*** holser has quit IRC01:14
*** ikhan has quit IRC01:42
*** ikhan has joined #zuul02:54
*** ikhan has quit IRC03:01
*** ikhan has joined #zuul03:10
*** bhavikdbavishi has joined #zuul03:15
*** bhavikdbavishi1 has joined #zuul03:38
*** bhavikdbavishi has quit IRC03:39
*** bhavikdbavishi1 is now known as bhavikdbavishi03:39
*** bhagyashris has joined #zuul04:19
*** bhavikdbavishi has quit IRC04:54
*** ikhan has quit IRC05:02
*** ykarel has joined #zuul05:13
*** ikhan has joined #zuul05:16
*** ikhan has quit IRC05:21
*** bhavikdbavishi has joined #zuul05:25
*** bhavikdbavishi1 has joined #zuul05:28
*** bhavikdbavishi has quit IRC05:29
*** bhavikdbavishi1 is now known as bhavikdbavishi05:29
*** ykarel_ has joined #zuul05:32
*** evrardjp has quit IRC05:33
*** evrardjp has joined #zuul05:33
*** ykarel has quit IRC05:34
*** ykarel_ is now known as ykarel05:35
*** ikhan has joined #zuul05:47
*** vishalmanchanda has joined #zuul06:14
*** ikhan has quit IRC06:36
*** bhavikdbavishi has quit IRC07:07
*** bhavikdbavishi has joined #zuul07:07
*** bhavikdbavishi has quit IRC07:20
*** bhavikdbavishi has joined #zuul07:31
*** bhavikdbavishi1 has joined #zuul07:34
*** bhavikdbavishi has quit IRC07:36
*** bhavikdbavishi1 is now known as bhavikdbavishi07:36
*** jcapitao has joined #zuul08:15
*** hashar has joined #zuul08:32
*** vishalmanchanda has quit IRC08:34
*** tosky has joined #zuul08:35
*** rpittau|afk is now known as rpittau08:51
*** arxcruz|2021 is now known as arxcruz08:58
*** nils has joined #zuul09:14
*** icey has quit IRC09:19
*** icey has joined #zuul09:25
*** hamalq has joined #zuul09:42
*** hamalq has quit IRC09:46
*** ikhan has joined #zuul09:57
*** hamalq has joined #zuul09:57
*** hamalq has quit IRC10:02
*** lyr has quit IRC10:22
*** lyr has joined #zuul10:23
*** saneax has joined #zuul10:26
*** sanjayu_ has joined #zuul10:28
*** saneax has quit IRC10:31
*** lyr has quit IRC10:39
*** lyr has joined #zuul10:40
*** rfolco has joined #zuul10:41
*** lyr has quit IRC10:47
*** sanjayu_ has quit IRC10:49
*** lyr has joined #zuul10:49
*** ikhan has quit IRC10:52
*** ikhan has joined #zuul11:16
*** ikhan has quit IRC11:21
*** hashar is now known as hasharLunch11:53
*** ikhan has joined #zuul11:54
*** holser has joined #zuul11:59
*** jcapitao is now known as jcapitao_lunch12:03
*** dry has quit IRC12:22
*** dry has joined #zuul12:24
*** ykarel has quit IRC12:33
*** ykarel has joined #zuul12:33
*** bhavikdbavishi has quit IRC12:35
*** bhavikdbavishi has joined #zuul12:36
*** ykarel_ has joined #zuul12:37
*** rlandy has joined #zuul12:37
*** ykarel has quit IRC12:37
*** bhavikdbavishi1 has joined #zuul12:47
*** bhavikdbavishi has quit IRC12:49
*** bhavikdbavishi1 is now known as bhavikdbavishi12:49
*** sduthil has joined #zuul12:50
*** holser has quit IRC12:51
*** jcapitao_lunch is now known as jcapitao12:55
*** ikhan has quit IRC12:57
*** bhavikdbavishi has quit IRC13:11
*** ikhan has joined #zuul13:24
*** tosky has quit IRC13:30
*** tosky has joined #zuul13:30
sshnaidmis it possible to set zuul log debug only for a specific gerrit connection? or for a specific project?13:38
*** CrayZee has quit IRC13:53
*** snapiri has joined #zuul13:53
openstackgerritMatthieu Huin proposed zuul/zuul master: gerrit: fix invalid ref computation from change  https://review.opendev.org/c/zuul/zuul/+/76822914:11
*** lyr has quit IRC14:17
*** lyr has joined #zuul14:18
*** lyr has quit IRC14:21
*** lyr has joined #zuul14:22
*** hasharLunch is now known as hashar14:45
zbrit seams that I cannot even build the docs on macos because gear is incompatible, AttributeError: module 'select' has no attribute 'EPOLLET'14:45
*** jcapitao has quit IRC14:45
zbrand this is triggered even by simple command like:  zuul-manage-ansible --help14:45
zbrthere are 3 modules that trigger the broken gear: github, pagure and gitlab14:46
*** jcapitao has joined #zuul14:46
zbri only want to made the "tox -e docs" to pass. any ideas?14:47
tristanCzbr: it doesn't seem like zuul or gear is tested/designed to run on macos. why are you not using linux?14:58
zbrtristanC: https://review.opendev.org/c/opendev/gear/+/70826715:14
fungizbr: do docs builds on macos work with that darwin support patch for gear in place?15:22
zbrtesting now15:23
zbrnot knowing about that patch i made another one,... one min15:23
zbrfungi: yes, they do.15:24
zbrin fact is quite simple: the missing attributes from select are what prevented it. and bad part is that this happened on just "import gear"15:24
zbreven if you would not need to use it15:25
*** ykarel_ has quit IRC15:26
*** rfolco has quit IRC15:31
zbrhaving a canary freebsd (or similar) node could prove useful for detecting such issues15:33
fungii suppose the socket object could be lazily created to avoid that as well15:33
fungii'm not opposed to having freebsd nodes in opendev, just nobody's done the work to support it in diskimage-builder yet15:34
fungi(last i looked anyway)15:34
zbrthere is also my earlier stupid approach https://review.opendev.org/c/opendev/gear/+/769151/ -- but that one should be very safe.15:37
*** bhavikdbavishi has joined #zuul15:47
*** bhavikdbavishi1 has joined #zuul15:50
*** bhavikdbavishi has quit IRC15:51
*** bhavikdbavishi1 is now known as bhavikdbavishi15:51
*** ykarel_ has joined #zuul15:55
*** ykarel_ has quit IRC16:03
openstackgerritMatthieu Huin proposed zuul/zuul master: Pin pyjwt to 2.0.0 and fix issues due to version bump  https://review.opendev.org/c/zuul/zuul/+/76831216:18
*** rfolco has joined #zuul16:19
openstackgerritMatthieu Huin proposed zuul/zuul master: gerrit: fix invalid ref computation from change  https://review.opendev.org/c/zuul/zuul/+/76822916:43
*** hamalq has joined #zuul16:53
*** hashar is now known as hasharAway16:56
mhuAm I the only one hitting errors with zuul-quick-start? Looks like provisioning the admin in gerrit is failing, for example https://storage.bhs.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_2b6/768312/2/check/zuul-quick-start/2b6cff3/container_logs/gerritconfig.log17:03
mhualso happy new year!17:03
clarkbmhu: I believe that job uses an up to date gerrit docker image. Wouldn't surprise me if an upstream change ahs broken it17:07
fungiInvalid project configuration: project.config: group "Non-Interactive Users" not in groups17:07
fungimaybe the Non-Interactive Users group has been removed17:07
mhufungi, yep, weird17:07
fungibut yeah, this is the first i've noticed it17:07
fungibuild history says the last successful run of zuul-quick-start was 2020-12-23 18:12:29 utc17:09
fungifirst failure was 2020-12-27 10:54:55 utc17:09
fungiso perhaps something in that four-day span17:09
clarkbgerritcodereview/gerrit is the image used17:09
fungiand yeah, same error in that earliest failure from the 27th: https://zuul.opendev.org/t/zuul/build/f2a55eeb4ff541bca1d9d4c08e04b580/log/container_logs/gerritconfig.log#4417:10
clarkba quick and easy check would be to set ti to gerritcodereview/gerrit:3.3.1 or :3.2.6 and see if it works17:11
mhulast update to the container was 12 days ago17:11
fungi12 days ago was our last successful run too, so that could be it17:11
mhulooks like all 3.x tags were updated17:12
clarkbmhu: yes, but we are using latest which is 3.4.dev aiui17:12
clarkbunrelated https://etherpad.opendev.org/p/zuul-2020-annual-report is a (very) rough draft for a zuul project update to go in the foundations annual report. I'm going to try and get it into shape this week and if others want to check it out and leave thoughts or edits that would be great17:13
*** rpittau is now known as rpittau|afk17:14
*** hamalq_ has joined #zuul17:14
clarkbthe way gerrit does branch is weird, they update all teh things together but they are diverged17:15
mhuat first glance, looks like Non-Interactive Users was replaced by ... Service Users https://gerrit-documentation.storage.googleapis.com/Documentation/3.3.1/access-control.html#non-interactive_users17:17
corvusclarkb: after merging a bugfix to a stable branch, they merge the branch "up"17:17
*** hamalq has quit IRC17:17
fungimhu: good catch, that's almost certainly it then17:18
mhufungi, might not be the only breaking change ... and I didn't see anything in the changelogs about this17:19
clarkbhttps://gerrit-documentation.storage.googleapis.com/Documentation/3.2.6/access-control.html#non-interactive_users interesting that the html tag didn't change :)17:20
clarkbso ya I agree that looks like a likely candidate17:20
clarkbdoc/source/examples/playbooks/project.config and doc/source/examples/playbooks/setup.yaml need updating then?17:21
mhuany reference to Non-Interactive Users, yep17:23
mhuIs it in 3.2.6 too though?17:23
clarkbmhu: 3.2.6 uses Non-Interactive users (at least according to my docs link)17:24
*** zenkuro has quit IRC17:25
*** jcapitao has quit IRC17:27
mhuclarkb, I can push a quick fix later if you'd like, but I gotta leave now17:27
clarkbI'm still trying to catch up on a number of things after the holidays but ya I can take a look after lunch probably17:29
*** zenkuro has joined #zuul17:32
guillaumecmhu, clarkb : https://review.opendev.org/c/zuul/zuul/+/766086/3   this is built on top of tutorial rework/new tutorial, main.yaml + Dockerfile aren't required17:37
*** nils has quit IRC17:44
corvusguillaumec: i think we'd like to continue using :latest -- any reason you propose pinning it to 3.3.0 there?17:46
corvusguillaumec: do you think we can take that change and cherry-pick it to master (but leave it set to :latest) ?17:47
guillaumeccorvus, there could be, that's what i was also pointing at in quickstart rework patchset 23: https://review.opendev.org/plugins/gitiles/zuul/zuul/+/912340ffe06861dcb61537972d58547e70f645a817:47
corvusguillaumec: hrm.  you make some good points, but for gerrit specifically, i'm not too worried about it.  i think it's good that when gerrit upgrades, if they break something in the quickstart, we find out about it quickly17:49
corvusin other words, the fact that the job is currently failing due to normal gerrit upgrades and that we were notified about it is not a bug -- it's the system working as designed17:50
corvusso i'd like to keep pointing to gerrit :latest and fix the current issue17:50
corvus(if the current issue is difficult to fix, we can temporarily pin to an older version)17:50
corvusbut what we've learned over the years is that if we pin to a current working version, we're unlikely to notice that our documentation no longer works with the latest gerrit17:51
*** akrpan-pure has joined #zuul17:52
guillaumeccorvus, the pinning in this case was just to test the stream-event comment fix,  because at that time "latest" was still 3.2.3, even if the tag "3.3.0" was available.17:57
guillaumecbtw  3.3.1 has the intermediate fix for patchset level comment: https://www.gerritcodereview.com/3.3.html#bugfix-releases17:57
corvusguillaumec: gotcha.17:57
*** bhavikdbavishi has quit IRC18:09
*** bhavikdbavishi has joined #zuul18:10
fungiif folks aren't burned out on "virtual conferences" yet, https://events.linuxfoundation.org/cdcon/ might be a good place to reach additional audiences if someone has a zuul talk they're itching to give... cfp is supposedly opening in the next few weeks18:38
corvus++18:38
fungialso we've got a zuul section going into the cdf interoperability sig's whitepaper, currently in front of editor teams18:39
fungithere's a lot of "cncf/kubernetes echo chamber" effect in the cdf, so zuul is really not on many folks radar there18:41
corvusfungi: maybe a k8s focused zuul talk for the cdcon would be a good idea then18:42
clarkbmy first thought was somethign talking about the image build pipeline work18:43
corvusclarkb: ++18:43
corvus[biab]18:43
*** zenkuro has quit IRC18:52
*** bhavikdbavishi has quit IRC18:52
*** sassyn has joined #zuul19:43
sassynhi all19:43
sassyngood morning/afternoon19:43
sassynHow can I limited the number of times job can run? the attempts doesn't seems to be working in my setup19:44
sassyni have a commit that running a job. the job failed but once it failed Zuul start the job again and again....19:44
clarkbsassyn: https://zuul-ci.org/docs/zuul/reference/job_def.html#attr-job.attempts is what you have set to try and change that behavior?19:46
sassynyep19:47
clarkbif so I wonder if the ansible return code 4 code doesn't use that value. An ansible return code of 4 means that network connectivity to the test node(s) failed19:47
clarkbsassyn: I would check the executor debug logs to see what zuul reports is the exit code of those playbooks19:47
sassynhttps://pastebin.com/1cgBj08a19:48
clarkbsassyn: also another piece of useful info would be how many times is it retrying?19:49
fungisounds like indefinitely19:49
sassynSeems like I have an issue with my NFS19:53
mhucorvus, re: gerrit support, I *might* be in favor of supporting a pinned version of gerrit. I mean, we stuck with gerrit 2.X on openstack/opendev for quite some time ... My point being, updating gerrit is costly and/or scary20:02
corvusmhu: that's exactly why i don't think we should pin it :)20:02
mhucorvus, fair enough, that works both ways :)20:03
corvusmhu: so far the quickstart job has served us very well by being set to gerrit latest :)20:03
mhuis there a 3.X considered stable or LTS?20:03
funginot really. all the 3.x minor releases get supported for a while with stable branches, and then they eol those at regular intervals20:04
fungialso please don't use opendev's failure to upgrade gerrit as any indication we were sticking with any sort of "lts" version of gerrit. we just got behind on upgrades and integrated ourselves into a hole we couldn't climb out of without choosing to break a lot of our existing integration in favor of getting on a supported version of gerrit again20:05
sassynOne more thing: I created a repo (name Zuul) that holds all Zuul jobs (trusted project) in my Gerrit server. I also have anther Gerrit Repo call Core which on every commit trigger zuul to run a Job name complication. Once complication is done I want to run a 2 test jobs in parallel. The dependency option give me that out of the box. However, each20:06
sassynjob runs in it's own workspace, which is not what I want.  The best if I could set on the core Repo a gate  configuration that fire up the complication job, where the compilation job than require to run the 2 other test in parallel. Inherence with post/pre and abstract will also not work here as the job will not run in parallel. Write an ansible20:06
sassynplaybook that use the async will also miss my goal. any idea? .20:06
mhufungi, I was also speaking from experience with software factory, we've only just looked at supporting gerrit 3, and the migration work was not trivial20:06
mhumy apologies if it sounded like blaming anyone, that was not my intention20:08
clarkbsassyn: you specifically want them to share a workspace?20:09
fungimhu: to the contrary, i just wanted to make it clear that we didn't choose to run older gerrit so much as we made it hard for ourselves to upgrade20:09
sassynyes - that will be the best option for me20:09
fungi(also gerrit's rocky transition to notedb didn't help matters, but most of it really was on us)20:09
clarkbsassyn: the onyl way to share a workspace is to run everything in one job. YOu can run different tasks in parallel within a single job using different inventory entries20:09
mhuspeaking of notedb, we got a python library called pynotedb that's pretty convenient to provision the admin user in gerrit, I'd suggest giving it a look for zuul-quick-start (cc tristanC )20:11
sassynI see, but this is also quite complex. I can't think of a way of easy doing it. When I put Complication job and since I put it this will run Test Job A and Test Job B. seems like the easy easy is to write the playbook like this20:13
fungisassyn: can you stash the contents of the workspace which your subsequent jobs want to use in some build-unique (but perhaps ephemeral) location at the end of the compilation job and then use zuul_return to communicate the location to teh other builds which run after it?20:15
fungithat's how we do things like multi-stage container image building and testing20:15
fungijobA creates some artifact and puts it in an accessible location then uses zuul_return to record the location it's at, jobB and jobC which declare jobA in their dependencies reference that location variable to fetch the artifact and use it20:16
fungiwe do this so that the image only has to be built once even if it's then exercised in parallel by multiple subsequent jobs20:17
*** rlandy is now known as rlandy|drappt20:18
fungirather than redundantly building the image in every job which needs it20:18
sassynthis is what I'm doing as well right now20:18
sassyngreat mind think a like!20:18
fungisassyn: however, an alternative approach might be the cache solution avass has been working on20:18
sassynbut I wanted to avoid the multi playbook and make it all in one20:19
fungidepending on what exactly you need to do20:19
sassynI was thinking  to define the complication job has a parent of test job  A (where test job A is abstract  job and have a post job define), so once I call the compilation job it will run the playbook and later the post run... but if I do the same for test job B I ended with 2 time run the compile job. and putting the compilation has parent of A and20:21
sassynA as parent of B etc... is to much to manage20:21
fungiso you just need a way to get the resulting compiled files from A into the workspace of B, C, et cetera?20:26
*** holser has joined #zuul20:39
sassynyes20:42
fungiright, so like i said, what we've usually done is to save whatever we want reused from A somewhere accessible and then use zuul_return to tell B and C where to get it from20:44
sassyneOK20:44
sassynGot it!20:44
sassynthank you!20:44
sassynZuul is so cool!20:44
sassynI wish I was part of the group.20:44
fungisassyn: by using the software and being in here discussing it with us, you're a part20:46
sassyn:-)20:46
sassynit is just so impressive work!20:46
fungion behalf of everyone who's made it happen, thanks!20:48
clarkbcorvus: if you are around, I was thinking of adding a mention of zuul being used to test gerrit plugins upstream to the project update on the annual report. Is that being used for all plugins or just those that opt in? what sort fo thing should I be saying about that (if anything at all) ?21:03
avasssassyn, fungi: yeah the caching should work for those kinds things whenever it's ready, you'd need to configure an s3 bucket  or implement some other storage option to use it though.21:19
corvusclarkb: i think it's opt-in; we opted a bunch in though21:22
clarkbmaybe something along the lines of "Zuul's integration with the Gerrit project continues to get better. Gerrit is now running a Zuul instance that is used to test Gerrit plugins. Plugins can opt into this testing and a number have including X Y Z" ?21:23
corvusclarkb: ++21:25
clarkbok I searched reviewedby:Zuul and chose replication, code-owners, and oauth as examples. Thanks21:39
*** hasharAway has quit IRC21:43
*** hasharAway has joined #zuul21:43
*** holser has quit IRC21:53
*** holser has joined #zuul22:12
*** ikhan has joined #zuul22:22
*** hasharAway has quit IRC22:31
*** rlandy|drappt is now known as rlandy22:46
*** ikhan has quit IRC23:06
*** ikhan has joined #zuul23:55
akrpan-pureQuick question about zuul job variables23:56
akrpan-pureI made a base job, which sets some variables in the `vars` block, and abstract is set to true23:56
akrpan-pureThen I made another job with the parent set to the base job, then changed just one variable, but it looks like the ansible role is taking the default from either the role vars/main.yaml or the base job23:57
akrpan-pureI'll debug for sure which it is in a sec, but does anyone see anything immediately wrong with how I'm doing that?23:58
clarkbakrpan-pure: I think the vars in a role may have precedence23:58
clarkbakrpan-pure: you can do roles/defaults/main.yaml instead to lower the precedence23:59
akrpan-pureAhh I was wondering about that, that's perfect actually23:59
akrpan-pureLemme give that a try23:59

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