Friday, 2020-02-14

*** sgw has quit IRC00:06
*** tosky has quit IRC00:51
*** rfolco has quit IRC01:32
*** dangtrinhnt has joined #zuul02:23
dangtrinhntHi, I'm trying to convince my company to use Zuul. Hopefully I can also help with the development.02:24
*** dangtrinhnt has quit IRC02:38
*** dangtrinhnt_ has joined #zuul02:38
*** swest has quit IRC02:42
*** jamesmcarthur has joined #zuul02:50
*** dangtrinhnt_ has quit IRC02:51
*** bhavikdbavishi has joined #zuul02:54
*** bhavikdbavishi1 has joined #zuul02:56
*** swest has joined #zuul02:57
*** bhavikdbavishi has quit IRC02:58
*** bhavikdbavishi1 is now known as bhavikdbavishi02:58
*** michael-beaver has quit IRC03:03
*** jamesmcarthur has quit IRC03:08
*** jamesmcarthur has joined #zuul03:15
*** dangtrinhnt has joined #zuul03:27
*** dangtrinhnt has joined #zuul03:27
*** bhavikdbavishi has quit IRC03:45
*** bhavikdbavishi has joined #zuul03:45
*** rlandy|bbl is now known as rlandy03:57
*** jbryce has joined #zuul04:01
*** jamesmcarthur has quit IRC04:21
*** jamesmcarthur has joined #zuul05:23
*** jamesmcarthur has quit IRC05:28
*** swest has quit IRC05:29
*** evrardjp has quit IRC05:34
*** evrardjp has joined #zuul05:34
*** raukadah is now known as chandankumar05:36
*** swest has joined #zuul06:14
*** wxy-xiyuan has joined #zuul06:16
*** dangtrinhnt has quit IRC06:48
*** jhesketh has quit IRC06:48
*** jhesketh has joined #zuul06:50
*** saneax has joined #zuul06:53
*** bhavikdbavishi has quit IRC06:57
*** felixedel has joined #zuul06:58
*** dangtrinhnt has joined #zuul06:58
*** bhavikdbavishi has joined #zuul06:58
*** bolg has joined #zuul07:08
*** jhesketh has quit IRC07:15
*** jhesketh has joined #zuul07:25
*** Defolos has joined #zuul07:40
*** dpawlik_off is now known as dpawlik07:58
*** dangtrinhnt has quit IRC08:06
*** zxiiro has quit IRC08:23
*** tosky has joined #zuul08:36
openstackgerritTobias Henkel proposed zuul/zuul master: Don't set OS_LOG_DEFAULTS if unset  https://review.opendev.org/70778308:37
*** avass has joined #zuul08:44
*** jpena|off is now known as jpena08:46
*** jcapitao has joined #zuul08:55
*** maxamillion[m] has quit IRC09:00
openstackgerritMatthieu Huin proposed zuul/zuul master: Clarify RequirementError message  https://review.opendev.org/70762009:25
*** masterpe has joined #zuul09:29
*** hashar has joined #zuul09:31
*** bhavikdbavishi has quit IRC09:42
*** bhavikdbavishi has joined #zuul09:43
fricklerdoes zuul ignore files that are deleted completely when calculating which jobs to run based on files/irrelevant-files? I'm having a hard time finding out why no devstack-based jobs were running on https://review.opendev.org/#/c/707635/ , causing it to get merged and breaking devstack. in particular tempest-full and grenade-py3 were missing10:02
fricklerah, nevermind, I found it10:12
*** sugaar has quit IRC10:27
*** felixedel has quit IRC10:36
*** felixedel has joined #zuul10:36
*** sugaar has joined #zuul10:39
tobiashzuul-maint: there is a test race fix that needs a second review: https://review.opendev.org/70656610:55
mnaserbefore i start diving so badly into this but11:06
mnaseri probably cant install an ansible collection in the executor, could i?11:07
mnaseri have a role that's going to be nothing more than http requests and i was hoping to get it to be a 0 node job11:07
tobiashmnaser: currently you can only import roles via job definition, not a collection11:23
tobiashbut if you have a role that only does http requests it might be possible to run it as a 0 node job11:23
tobiashuri module can be used locally in an untrusted context11:24
*** felixedel has joined #zuul11:27
*** felixedel has quit IRC11:27
*** hashar has quit IRC11:28
openstackgerritMerged zuul/zuul master: Adjust io-level logging in gerrit/git drivers  https://review.opendev.org/70772811:41
mnasertobiash: right, but i wonder then if i can just checkout that collection manually (just via a shell command) and using it11:42
tobiashmnaser: I guess that won't work, how does such a collection repo look like?11:43
mnasertobiash: https://github.com/netbox-community/ansible_modules11:43
mnaserbut then i realize i also need to pip install some packages, im not sure if i can do that on the executor11:44
tobiashthat looks like it contains modules, no role, modules cannot be executed locally (in untrusted context)11:45
mnaserwould have been neat for a 0 node job but i guess it wont hurt11:45
*** jcapitao is now known as jcapitao_lunch11:52
*** hashar has joined #zuul11:57
*** felixedel has joined #zuul12:17
openstackgerritTobias Henkel proposed zuul/zuul master: Support pausing merge jobs  https://review.opendev.org/70719212:18
openstackgerritTobias Henkel proposed zuul/zuul master: Centralize merge handling  https://review.opendev.org/70769212:18
openstackgerritTobias Henkel proposed zuul/zuul master: Support pausing merge jobs  https://review.opendev.org/70719212:21
openstackgerritTobias Henkel proposed zuul/zuul master: Centralize merge handling  https://review.opendev.org/70769212:21
*** jpena is now known as jpena|lunch12:40
*** rfolco has joined #zuul12:47
*** dSrinivas has joined #zuul12:50
*** rlandy has joined #zuul12:50
dSrinivasHi All, When I run our CI on particular Patch it is not triggering the Job http://paste.openstack.org/show/789572/12:56
dSrinivasWhen run the zuul show running-jobs, it showing this error http://paste.openstack.org/show/789575/12:56
AJaegerdSrinivas: please ask only on one channel, not on multiple!13:06
* AJaeger answered on #openstack-infra13:06
*** jcapitao_lunch is now known as jcapitao13:15
*** plaurin has joined #zuul13:16
*** plaurin has quit IRC13:18
*** tjgresha has quit IRC13:20
*** tjgresha has joined #zuul13:20
*** avass has quit IRC13:20
*** jpena|lunch is now known as jpena13:36
*** sshnaidm|afk has quit IRC13:50
*** sshnaidm has joined #zuul13:50
*** sshnaidm is now known as sshnaidm|off14:05
*** zxiiro has joined #zuul14:08
openstackgerritSimon Westphahl proposed zuul/zuul master: wip: Set misfire grace time of apscheduler job  https://review.opendev.org/70784214:10
*** dSrinivas has quit IRC14:19
*** hashar has quit IRC14:24
*** hashar has joined #zuul14:30
mordredmnaser: we'd like to extend zuul's concept of zuul roles to include collections so that you can configure a job to use a collection and have zuul check it out. we've been waiting for the dust to settle with collections first14:40
*** plaurin has joined #zuul14:52
plaurinHello!14:52
plaurinI encountered an issue in zuul when a long running task (ansible shell) returns MODULE FAILURE after 4 hours.14:53
plaurinYes 4 hours is a long time this is hardware testing, it might get over 6 hours at some point ;-)14:53
pabelangeryou may want to look at asynchronous task, for long running commands14:55
pabelangerbut, you should be able to see the error in executor logs14:55
pabelangeror need to enable more version to see failure14:55
plaurinya that was my idea, but I cannot use async because I need to see the std output of the task14:55
tobiashplaurin: did you also set a job timeout of > 4 hours?14:55
plaurinI cannot registed the shell output after an async and I cannot see live logging from the shell command as I use kubernetes/nodepool plugin14:56
plaurinyes it's set to 8 hours tobiash14:56
tobiashk14:56
tobiashjust asking because it's easy to forget this ;)14:56
plaurinyep, happened to me many times14:57
plaurinexecutor logs are non visible because of kubernetes that doesn't stream the outputs of each tasks :(14:58
tobiashcan it be that the output was too large? I think I remember someone had that problem in our deployment.15:01
plaurinno it's not that much of a long output15:03
*** saneax has quit IRC15:03
tobiashthen I'd guess for a connection issue15:03
plaurinIt seems "precisely" a 14400 second issue (4 hours)15:03
plaurin2020-02-13 16:21:55.380369 | TASK [Run tests]15:03
plaurin2020-02-13 20:21:55.810957 | embedded-software-pytest-k3s | MODULE FAILURE15:03
tobiashplaurin: the json log or executor log should give you more details on that task15:04
*** armstrongs has joined #zuul15:04
plaurinnon executor doesn't show anything because it's running on kubernetes, so no stream output from the command15:04
plaurinI have deactivated json a long time ago, hum maybe I should reactivate15:05
pabelangerzuul-executor verbose will enable more logging15:05
tobiashI wasn't even aware that this can be deactivated15:05
pabelangerhttps://zuul-ci.org/docs/zuul/discussion/components.html#id1115:05
tobiashyes, but be cautios on a busy system15:06
pabelangeryup, agree15:06
pabelangerwill likely fill up HDD15:06
tobiashOnce I've filled the hard disk of all executors over a lunch break ;)15:06
plaurinya it's a bit busy15:06
plaurinso kind of in a bind :(15:06
pabelangerI've always wanted to add support to autohold, that also enables verbose, so you can do it for single job15:07
plaurinbtw I don't mind the async run however I need to hack my way to having the log output of the shell command in the executor log15:08
plaurinI know ansible generates log files on the target build machine while running, I wonder if I could print one of those15:08
plaurinoh maybe I could redirect the stdout 2>&1 of my shell command and then print it after the async task15:15
*** felixedel has quit IRC15:15
plaurinstdout to a file I mean15:15
openstackgerritTobias Henkel proposed zuul/zuul master: Offload repo reset to processes  https://review.opendev.org/70709515:17
openstackgerritTobias Henkel proposed zuul/zuul master: Don't set untouched refs of the repo state twice.  https://review.opendev.org/70785715:17
mordredtobiash: I'm finding your scaling related patches fascinating15:27
tobiash:)15:28
openstackgerritMerged zuul/zuul master: Fix test race with paused build  https://review.opendev.org/70656615:33
*** bhavikdbavishi has quit IRC15:43
*** dpawlik has quit IRC15:53
plaurinah yes my solution works. from my previous comments15:56
plaurinrun shell: command &> testlog.txt asynchronously15:56
plaurinwait for shell command to complete15:57
plaurincat testlog.txt and register variable15:57
*** Goneri has joined #zuul15:57
plaurinrun debug task to see content of testlog.stdout_lines15:57
plauringood ol' bash to the rescue15:58
mordredplaurin: everybody always wants to get rid of shell because "it's too hard" ... but man it's good at its job16:02
plaurinhehe. For me it's a swiss knife. Downside is that I sometime use ansible shell module when I should not need to lol. But it's so reliable for me16:03
*** hashar has quit IRC16:11
openstackgerritJan Kubovy proposed zuul/zuul master: WIP: Store unparsed branch config in Zookeeper  https://review.opendev.org/70571616:11
*** jamesmcarthur has joined #zuul16:16
*** sgw has joined #zuul16:30
corvusmordred: what do you think of vitaly's comment in https://gerrit-review.googlesource.com/c/zuul/jobs/+/254994/9 ?16:37
mordredcorvus: I definitely like using .gitmodules as a source of truth16:44
*** Defolos has quit IRC16:44
mordredcorvus: and I think that would also address david's question about branches that don't have all of the modules16:45
*** rlandy has quit IRC16:45
mordredthat said - I'm not 100% sure how to square that with making sure required-projects gets all the right repos16:45
corvusmordred: yes (though david's question is actually pointing to a test job that will only run on master) the system we made will copy unecessary projects into gerrit, vitaliy's would only copy the ones needed16:46
mordredcorvus: I wonder (thinking out loud) if we could learn from the gitmodules approach he's describing and teach zuul how to infer required-projects relationships somehow16:46
mordredstarting off just having it be in the job and settig required-projects ourselves while we learn of course16:47
corvusmordred: and yes, i think i would still like leave required-projects in the gerrit base job alone.  i don't want the jobs fetching from upstream, i only want them using zuul prepped repos.16:47
mordredcorvus: yes. I agree about not having them fetch anything16:48
*** rlandy has joined #zuul16:48
openstackgerritTobias Henkel proposed zuul/zuul master: Don't set untouched refs of the repo state twice.  https://review.opendev.org/70785716:49
corvusso the thig i like about his approach is that it uses gitmodules to figure out which repos to copy in.  the thing i don't like is that it will fetch from upstream.  so i kinda think i want to halfway adopt it.16:49
corvusmordred: (and yes, i suspect there is a future where we could infer required-projects from the contents of .gitmodules with the help of a merger)16:49
mordredcorvus: ++ I agree16:50
corvusk, lemme write up a response and run it by you16:51
mordredcorvus: in fact, once we know enough to infer required projects, we could even have zuul prepare the super-project repo with the submodules in place directly - but I think that's still a few steps away16:51
corvusya16:52
tobiashsome of our projects do this via a post job16:53
corvustobiash: a post job sounds too late for this?16:53
tobiash(pushing the update to the super repo)16:54
corvusoh16:54
corvustobiash: that sounds like a replacement for gerrit submodule subscription16:54
openstackgerritMatthieu Huin proposed zuul/zuul master: Clarify RequirementError message  https://review.opendev.org/70762016:54
tobiashso the submodules are gated and the master repo is updated in post to refer to the gated sub repos16:54
tobiashI think some projects also use branch tracking submodules instead16:55
tobiashcorvus: could we maybe early next week do a gear release so we can use the mac support?16:58
corvustobiash: yes!17:00
tobiashawesome, thanks!17:00
corvusmordred: https://etherpad.openstack.org/p/cgcAHVgFud  how's that look?17:09
mordredlooks good - maybe add a "nice to meet you" or something since he started his with a "let me introduce myself" - but the content looks good17:14
corvusmordred: i kinda want to add a footnote ("if we add .gitmodule parsing to zuul itself, we can automatically populate required-projects")17:16
mordred++17:16
mordredcorvus: I really like the idea of zuul eventually being able to understand submodule relationships in some reasonable manner17:20
mordredbecause they're hard - and one of the things zuul is extra valuable for is understanding git better than its users17:20
*** rlandy is now known as rlandy|brb17:20
corvusmordred: yes.  i think it's authors first need to understand git submodules better than zuul will need to, and i personally haven't felt that way yet, but i think i may be getting close17:23
corvusmordred, tobiash: but then there are so many ways of using submodules -- gated with gerrit subscriptions may be very different than other systems (which may have a local subscription system like tobiash has, or may not).  so it's still hard to wrap one's head around all the possibilities.17:24
corvusanyone have an ensure-java role handy? :)17:26
corvusmordred: looks like you just did FROM docker.io/library/openjdk:8 to build old gerrit17:27
mordredcorvus: yeah - specifically because I didn't want to try to deal with actually installing java :)17:28
corvuslooks like RUN apt-get install -y openjdk-8-jdk && update-alternatives --set java /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java17:29
corvusis what the current gerrit ci is doing17:29
mordredcorvus: then I thnik that's an excellent approach17:32
*** evrardjp has quit IRC17:34
*** evrardjp has joined #zuul17:34
*** gmann is now known as gmann_afk17:42
*** igordc has joined #zuul17:43
*** rlandy|brb is now known as rlandy17:46
*** jpena is now known as jpena|off17:50
fungicorvus: so thinking you could use .gitmodules as a sort of sieve to determine which registered projects are required? i wonder if it would be possible (i.e. safe) to have zuul discover additional projects by reading .gitmodules files in repos17:52
*** jamesmcarthur has quit IRC17:54
*** jcapitao is now known as jcapitao_off17:56
*** jamesmcarthur has joined #zuul17:58
corvusfungi: yes, the first part of that is more or less the idea from vitaliy on that change, and the second is something i think we could have zuul do (with the help of its mergers).  whatever zuul might eventually natively do with submodules, that's probably the first step.18:05
*** jamesmcarthur has quit IRC18:07
*** jamesmcarthur has joined #zuul18:09
fungimakes sense. thanks!18:12
fungimy grasp of how submodules are expected to work in normal use is at best thin18:13
*** Defolos has joined #zuul18:16
corvusfungi: they are supposed to solve all of your problems without creating any more, but usually the opposite is true18:18
* mordred has to afk for a a few - we had our dining room table legs fixed (one got broken in the move) and they're ready to be picked up - back in a few18:22
fungipretty sure the goal of any technology is to solve all existing problems without creating new ones18:24
fungiyet the end result is most often the opposite18:24
fungimordred: happy (non-wobbly) dining!18:24
*** jamesmcarthur has quit IRC18:25
*** jamesmcarthur has joined #zuul18:26
*** felixedel has joined #zuul18:29
*** jamesmcarthur has quit IRC18:31
*** jamesmcarthur has joined #zuul18:36
*** jamesmcarthur has quit IRC18:48
*** jcapitao_off has quit IRC18:53
corvuswow, i think we built the checks plugin!  https://ci.gerritcodereview.com/t/gerrit/build/1851e1f671194dd4a8fb36fac0a13c2419:18
*** armstrongs has quit IRC19:22
tristanCcorvus: that url yields 500'19:28
corvustristanC: sorry, i was restarting the scheduler19:34
*** tosky has quit IRC19:36
tristanCcorvus: it works now, that's nice, great work!19:36
mnaserhey all20:11
mnaseri'm doing really wild things with zuul+ansible to gitops our netbox deployment20:12
*** armstrongs has joined #zuul20:12
*** gmann_afk is now known as gmann20:12
mnaseri'm trying to get a netbox deployment up using docker-compose to run against it20:12
mnaseri noticed that zuul quick start jobs install docker-compose too so i'm wondering if i can just refactor that out20:13
mnaserdo we feel like maybe adding a flag to install-docker to include compose for things that need it?20:13
pabelangermnaser: tristanC has a patch up https://review.opendev.org/687135/20:14
pabelangerfor podman20:14
*** igordc has quit IRC20:15
tristanCpabelanger: oh my, i think this patch needs a lot of work... i should probably abandon it20:15
mnasero neat, im wondering about making the zuul/zuul-jobs install-docker role letting you install docker-compose (or at least having maybe another role that does it)20:15
mnaserjust cause i feel like that might be a common scenario in ci20:16
tristanCand it seems like mnaser just wants to update the zuul-jobs install-docker role20:16
mnaser++20:16
pabelangerI thought we had something started for that too20:16
openstackgerritTristan Cacqueray proposed zuul/zuul-jobs master: install-docker: enable setting docker userland proxy  https://review.opendev.org/70275320:16
tristanCmnaser: why not using a dedicated install-docker-compose ?20:17
mnasertristanC: really open for either or tbh, the main reasoning initially was because install-docker plays/touches with repo config on the host20:17
mnaserso i figured that it would make sense to have it there since it might be confusing if someone installs from upstream _but_ doesnt set that other setting in the other role20:19
*** armstrongs has quit IRC20:22
openstackgerritMohammed Naser proposed zuul/zuul-jobs master: install-docker: option to install docker-compose  https://review.opendev.org/70790220:32
openstackgerritMohammed Naser proposed zuul/zuul-jobs master: install-docker: option to install docker-compose  https://review.opendev.org/70790220:34
openstackgerritMohammed Naser proposed zuul/zuul master: cleanup: install docker-compose via role  https://review.opendev.org/70790320:36
mnasercorvus: what do you think about setting <gerrit connection>.auth_type to required with no default inside zuul, the most recent default switch broke our conncetion to opendev b/c we didnt have it explicitly set20:53
openstackgerritTristan Cacqueray proposed zuul/zuul-jobs master: buildset-registry-k8s-crio: mark job as non-voting  https://review.opendev.org/70790821:01
corvusmnaser: i don't think it's necessary -- i suspect that will be the last time this happens  (zuul was catching up with a gerrit default that changed like 5 years ago, and opendev is on a catastrophically old gerrit)21:02
mnasercorvus: ok cool seems fair, i'm just not familiar with the landscape of the gerrits21:02
mnaserso i was confused for a while why the depends-on weren't working21:02
corvusmnaser: yeah, digest is not even supported now, so there's basically one right answer :)21:03
mnaserah gotcha21:03
corvusmnaser: we probably should have thought to change opendev's gerrit's default21:03
mnasercorvus: we need to revisit the whole -f implies debug thing, i can imagine you are also probably dealing with a *ton* of logs in your zuul if you're using the helm charts21:03
corvusmnaser: yes.  tobiash just pushed up some patches for that, btw.  i also pushed up some log tuning patches.21:04
mnaseroh really? nice.  it's been quite hard to look over the logs these days from an 'operator' pov21:04
corvusmnaser: oh, it looks like my patch merged: If0d5877f65296ee2a9f7f0298f8bc6664e6c2a4c21:04
* mnaser check21:05
corvusi look forward to reviewing tobiash's patch, but i'll need a moment to think about that.21:05
corvusbasically my patch will get the *traffic* out of the debug log, and tobiash will get us to not having a debug log :)21:06
corvus(but mine was only aimed at the excess gerrit traffic)21:06
tristanCcorvus: interesting failure in https://review.opendev.org/#/c/707908/ . it seems like we can't do that without also touching the zuul-jobs-test-registry-buildset-registry job21:07
tristanCcorvus: also, would you know why the cri-o job stopped working?21:07
mnaseri'm thinking add -f which foregrounds but doesnt necessary enable debug, and -d stays the same, but yes, i remember us discussing some much more fine details21:07
corvusmnaser: yeah, i believe that's what tobiash has been working on21:08
tobiashmnaser: from an operators pov I bet you'll want debug logs (with central log aggregation)21:08
corvustobiash: i hope not -- i'd like for an operator to run at info unless they are debugging or writing zuul code21:09
tristanCtobiash: that sounds odd, sounds like debug should be promoted to info then21:09
mnasertobiash: could be, but yeah, i agree with corvus there.  it's also hard to find data when we're connected to 2 really busy gerrits21:09
mnaseropendev and gerrithub just generate *so* much data21:10
corvusi'm sure we're not there, because i wrote most of the log lines, and i'm always looking at debug logs, because the only reason i look at logs is to find bugs in zuul :)  so i know we need help sorting out the levels21:10
tristanCmnaser: you can make the zuul.GerritConnection.io quietter though, e.g. https://softwarefactory-project.io/cgit/software-factory/sf-config/tree/ansible/roles/sf-zuul/templates/logging.yaml.j2#n4321:11
tobiashwell let me rephrase, as an operator with zuul dev background you'll want that at least now21:11
mnasertristanC: i think corvus merged the patch to quiet it down 'natively'21:11
corvusbut the original idea is that any action zuul takes should be at info21:11
mnasers/natively/within zuul/21:11
mnaserthis might sound silly but is it possible to have a repo that's within required-projects which the github app is not installed on?21:12
tobiashactually I have the feeling that I needed almost every part of the debug log at least once21:12
mnaserim trying to use this https://github.com/netbox-community/netbox-docker in my job and trying to let zuul check it out instead of me doing that21:13
corvustobiash: me too, but i hope we're not typical :)21:13
tobiashso I find it hard to reason in many cases if it needs th be debug or info21:13
corvusmnaser: you'll need to add it to the zuul tenant config, but i don't think you need to install the app21:13
corvusmnaser: (and maybe add it with "include: []")21:14
tobiashat least we're dependent on the debug logs because our users find all sorts of unexpected side effects ;)21:14
mnaserthinking out loud, is there any particular reason why we couldn't just let users arbitrarily use required-projects to any connections thats available?21:14
corvusmnaser: see commit message at https://review.opendev.org/61314321:15
mnaserseems like a nice and native/useful thing if you depend on a project in github, but might be short sighted quick impulse idea of mine that may have reasons why it wouldn't work21:15
mnaseraah21:15
mnasergotcha.21:15
tobiashmnaser: we do (within the limits of configured projects in the tenant)21:15
kmalloccorvus: that's a nice feature21:15
mnaserrequired-projects: ['github.com/some-org/my-secrets']21:15
kmallochehe21:16
mnasersome-org has the app installed and it's a bad time, makes sense21:16
kmallocmnaser: quick store all your secrets in github in a public repo :P21:16
mnaserkmalloc: :D21:17
mnasermaybe if it's not listed inside config/untrusted projects, it doesnt use the github api credentials to fetch info21:17
mnaseri dunno if github lets you do that21:17
kmallochm. honestly, i don't know if github allows that.21:17
corvustristanC: you found an interesting edge case in 707908.  i'd call that a bug, and it'll need a little bit of code to fix (if we're ignoring file matchers for a job, we should ignore file matchers for all of its dependencies)21:18
corvustristanC: and i don't know what might have changed to cause it to fail21:19
corvusmordred: it looks like the opendev build of gerrit checks is failing: https://zuul.opendev.org/t/zuul/build/d52491b15ffa44ea8545055909db327621:30
mnasertristanC: i tihnk i know why cri-o is failing21:31
mnaserwe're installing them from the ppas, right?21:31
mnaseryes, project atomic ppa's don't ship a registries.conf file.21:32
mnaseralso why are we installing docker in the cri-o job?21:33
tristanCmnaser: you mean it stopped shipping a registries.conf file?21:34
mnaserim pretty sure it did, we use the ppas and we have to drop that file in :\21:34
mnaserthe odd thing is they stopped shipping it for a while now21:35
mnaserim unsure if cri-o jobs run all the time or if there is a specific set of files that they run on?21:35
mnasertristanC: eg https://github.com/containers/podman.io/issues/12721:36
mordredcorvus: yay! I love it when that fails21:38
mordredcorvus: what's with all the waiting for logger lines?21:38
mordredcorvus: joy. it's a permissions issue with the new npm based build21:39
openstackgerritTristan Cacqueray proposed zuul/zuul-jobs master: crio: add missing registries.conf  https://review.opendev.org/70791021:40
mordredcorvus: I'll poke and find a solution. it's possible we need to also pre-install yarn (I think we're only installing npm as for right now)21:41
tristanCmnaser: thanks for the reference21:41
mnasertristanC: np!  just curious as to why we run install-docker in that job btw -- historical reasons or?21:43
tristanCmnaser: iiuc, install-docker affects buildset-registry which needs to be tested with cri-o too. though perhaps the docker <-> crio dependencies could be relaxed21:44
mnaseralso fwiw we have this in our registries.search: `registries = ['registry.access.redhat.com', 'docker.io', 'registry.fedoraproject.org', 'quay.io', 'registry.centos.org']`21:44
mnaserwe can probably drop the redhat/fedora ones and leave docker.io and quay.io only, as i think without those, it won't try and check for docker.io/foo/bar natively if you request foo/bar21:45
corvusyeah, for better or worse, i think the ship has sailed on registry search, and it should either be docker.io or nothing -- anything else is dangerous.  the right way to level the playing field is to fully-qualify every image name (which is something we started doing in opendev and zuul).21:49
mordredyup. there's a great write up on how horrible of a security hole it is21:49
mordredI am very disappointed in my employer for MITMing people with that registry search path there21:49
corvusok, on the gerrit front:  i have a job that ran 'bazelisk test' on the delete-project plugin and succeeded!  https://gerrit-review.googlesource.com/c/zuul/jobs/+/255214/21:50
mordred\o/21:50
mordredcorvus: I'm working on reproducing our build failure locally21:51
corvusand i've added a checker to plugins/checks and i have a job running there: https://gerrit-review.googlesource.com/c/plugins/checks/+/25521521:51
mordredcorvus: although I'm starting to think that maybe changing our image build process to just do the build not in a container using bazelisk like your job does and then copy the war into a container might be more stable21:51
corvusmordred: yeah, i was wondering if that might be a win21:52
mordredsince the thing I was trying to avoid in using that bazel image as a build image was to not have to download bazel each time - but it leaves us chasing a build setup which is not how gerrit builds things21:52
mordredso we don't get the efficiency - and we're more prone to breakages :)21:52
mordredand it's not like we locally build these images frequently anyway21:52
mordredcorvus: medium-term I think it might be nice to figure out how to grab upstream built release war and just build the plugins we care about21:53
mordredbut that was also complex last time I looked21:53
corvusmordred: yeah, do you need a whole source tree still?21:53
corvusbecause the build process i'm following is basically "copy plugin into gerrit repo and then build the plugin"21:54
mordredcorvus: yeah. it's complicated21:56
mordredcorvus: apparently sometimes you do and sometimes you don't and some plugins support it and some don't and I'm confused21:57
mordredcorvus: which is why I went with "copy it all in and just build one war"21:57
mordredbut I bet we could work with someone to understand a better approach21:57
corvus++21:57
*** rlandy has quit IRC21:59
openstackgerritTristan Cacqueray proposed zuul/zuul-jobs master: crio: add missing registries.conf  https://review.opendev.org/70791022:02
*** rfolco has quit IRC22:02
mnaserthis might sound trivial as a question but there isn't really a way of passing some value to the base tox jobs via vars other than reusing the roles to build your own job?22:09
mnaserim trying to get a url passed from zuul vars to tox and i could think of many ways to do it by using the role directly but not by simply making a child job22:10
mnaseroh, `tox_environment`22:11
mnaserill go back to hiding22:11
corvusmnaser: ok cool.  ftr i was typing a reply and not ignoring you.  :)22:12
mnasercorvus: hehe thanks.  i'm working on doing something to gitops-ify our infra inventory using zuul.  we use netbox and they have a very nice ansible collection for all their modules, so going to use it to have a bunch of jobs that add/update all resources into netbox (a dcim tool)22:13
mnaserand then in our gating, we actually use docker-compose to bring up an actual instance of netbox and apply everything against it too to make sure its all working before ending up in post22:13
mnaseri plan to write up something about this once its cooked up22:13
corvusmnaser: that sounds awesome :)22:14
mnaser(and i was also thinking if maybe we should come up with zuul-contrib-jobs or something for kindof non-standard jobs like this (or i mean, we could throw it in zuul-jobs but it might be too specific)22:15
mnaserbut i'm just trying to get it to work first :)22:15
corvusi feel like the standard for inclusion in zuul jobs should be: 1) regarding subject matter, low: would anyone else be able to use this job?  2) regarding construction, probably a bit higher: is it well documented, follow relevant zuul-jobs policios, and does it come with a test.22:16
corvusbasically, if you feel like it could go in zuul-jobs-contrib, it probably belongs in zuul-jobs :)22:17
corvussounds like "test my config against netbox" is something that more than one project/org in the world might find useful :)22:19
corvuszuul-maint, infra-root: since the job is currently broken, i have disabled the opendev/zuul third-party testing of the gerrit checks plugin by disabling the checker in gerrit's gerrit.  this will both avoid spamming the checks plugin repo with invalid results, and also avoid having our checker show up at all there [my real motivation here is for people not to be confused by the two different zuuls reporting22:22
corvusresults, one passing, one failing].22:22
openstackgerritTristan Cacqueray proposed zuul/zuul-jobs master: crio: add missing registries.conf  https://review.opendev.org/70791022:22
*** plaurin has quit IRC22:28
tristanCcorvus: mnaser: it seems like setting the test image fqn fixed the crio job, could you please have a look at https://review.opendev.org/707910 to unblock the install-docker test failure23:08
openstackgerritTristan Cacqueray proposed zuul/zuul-jobs master: install-docker: enable setting docker userland proxy  https://review.opendev.org/70275323:08
mnasertristanC: lgtm and its nice that we dont have to add those aliases on top of it23:09
tristanCcorvus: mnaser: thanks for the review, then could we also land https://review.opendev.org/702753 please23:11
openstackgerritMohammed Naser proposed zuul/zuul-jobs master: install-docker: option to install docker-compose  https://review.opendev.org/70790223:15
mnaseri rebased that change on tristanC fix and https://review.opendev.org/#/c/707903/ tests it (the failure seems unrelated)23:15
*** Defolos has quit IRC23:51

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