Wednesday, 2017-05-31

jlkIs there a test assert to make sure a traceback didn't happen?00:45
jlkoooooh01:02
jlkjeblair: I think we weren't quite right with pipeline driver specific requirements. I've set up a test where multiple drivers share the same pipeline each with a driver specific requirement, and the github requirement is disqualifying the gerrit change.01:03
openstackgerritJesse Keating proposed openstack-infra/zuul feature/zuulv3: Handle change related reqs on push like events [WIP]  https://review.openstack.org/46929701:11
jlkjeblair: https://review.openstack.org/469297 manages to tickle this. You'd have to look at the test output because it might "pass", but there is definitely a gerrit change that is being evaluated against the github requirements.01:12
dmsimardmordred, pabelanger: re -- floating ip issue, this is what I'm seeing: http://paste.openstack.org/raw/611038/01:51
tristanCdmsimard: mordred: pabelanger: that is with shade-1.13.2 and nodepool commit fb8bda304:17
openstackgerritTobias Henkel proposed openstack-infra/zuul feature/zuulv3: Decode the console log stream  https://review.openstack.org/46918106:05
*** hashar has joined #zuul07:06
*** colettecello has joined #zuul08:56
*** mmedvede_ has joined #zuul09:00
*** dmellado_ has joined #zuul09:00
*** mmedvede has quit IRC09:01
*** dmellado has quit IRC09:01
*** gothicmindfood has quit IRC09:01
*** mmedvede_ is now known as mmedvede09:01
*** dmellado_ is now known as dmellado09:46
*** jkilpatr has quit IRC10:47
*** hashar has quit IRC10:47
*** jkilpatr has joined #zuul11:00
*** hashar has joined #zuul11:25
*** hashar has quit IRC11:30
*** hashar has joined #zuul11:30
mordredtristanC: oh - so that's a very old shade and also a pretty old nodepool11:56
mordredtristanC: I don't know the exact cause (looking through logs) but I know there are a lot of bugfixes around floating ips since 1.13.211:57
mordredtristanC: fwiw, nodepool tag 0.2.0 should be "safe" to run if you want nodepool from before any of the zuulv3 work (that's the tag we made right before v3 work started) - and shade is safe to run with 0.2.0 at least to version 1.20.0 - 1.21 introduced a regression for 0.2.0 that I'm working on fixing - but also just added a gate job for shade to make sure that we don't accidentally break the old version of11:59
mordrednodepool11:59
mordredtristanC: in general - in newer shade, shade stops trusting the nova network cache, because it gets out ofsync, and it talks directly to neutron apis to figure out state of a server's network things12:00
mordreddmsimard: ^^12:00
openstackgerritDavid Shrewsbury proposed openstack-infra/zuul feature/zuulv3: Add config option for executor process user  https://review.openstack.org/46067112:19
openstackgerritDavid Shrewsbury proposed openstack-infra/zuul feature/zuulv3: Add a finger protocol log streamer  https://review.openstack.org/45672112:19
dmsimardmordred: that's helpful, we'll look into it. Thanks.12:23
pabelangerdmsimard: mordred tristanC: I've been using latest shade (via latest nodepool) with rdo cloud recently. I haven't had issues12:28
openstackgerritDavid Shrewsbury proposed openstack-infra/zuul feature/zuulv3: Add config option for executor process user  https://review.openstack.org/46067113:13
*** dkranz has joined #zuul13:20
openstackgerritDavid Shrewsbury proposed openstack-infra/zuul feature/zuulv3: Fix log streamer for py35  https://review.openstack.org/46948013:26
dmsimardmordred: any considerations for the shade version if we're transitioning from nodepool snapshots to nodepool-builder/dib images ? 1.20.0 should be cool ?13:28
dmsimardpabelanger: if you know ^13:30
mordreddmsimard: yes. shade version 1.20.0 should definitely work13:30
dmsimardmordred: ack, trying that -- thanks.13:30
mordreddmsimard: honestly, _latest_ shade _should_ always work - but I missed something the other day so 1.21 currently has a bug for nodepool 0.2.0 and before13:30
mordred(which is why I'm adding a gate job - I _want_ the answer to be "latest shade is always safe")13:31
dmsimardmordred: you missed something ? lies13:31
mordreddmsimard: IKR???13:31
pabelangerdmsimard: also, the nodepool boot-from-volume patch needs a newer shade release too, so maybe just jump to latest?13:31
mordreddmsimard: it's also a very obviously broken thing that the gate job I'm adding would immediately catch :)13:31
mordredlatest shade will work with any nodepool newer than 0.2.013:32
mordredfwiw13:32
dmsimardpabelanger: I'm going on PTO tomorrow for a week :P just trying to see if I can do enough to stabilize the situation before I head out13:33
openstackgerritDavid Shrewsbury proposed openstack-infra/zuul feature/zuulv3: Fix log streamer for py35  https://review.openstack.org/46948013:39
Shrewsok, that fully works in both py3 and py2 now ^^^^13:39
Shrewshad to do all of the sends/recvs13:40
Shrewspabelanger: is there a known issue with our zuulv3 jobs?13:41
pabelangerShrews: it has been reported that tox jobs randomly fails13:42
pabelangerI think it is because we are not copying the git repos properly13:43
pabelangerbut still need to debug that13:43
Shrewsk, just checking13:43
pabelangerShrews: what are you seeing?13:43
pabelangerI was going to auto hold a node13:44
Shrewsrandom fails, nothing informative in logs13:44
pabelangerbut wasn't sure if that was implemented13:44
Shrewshttps://review.openstack.org/460671 for example13:44
mordredShrews: https://review.openstack.org/#/c/460671 has 2 comments you might othewise miss since it also has 2 +2s13:44
pabelangerShrews: Ya, that's the issue13:44
pabelangerI'll look into it now13:44
mordredShrews: also - bikeshed: I +3d https://review.openstack.org/#/c/456685 - but maybe we should add a prefix? like {tmpdir}/zuul-builds/{uuid} - just so that /tmp itself doens't get swamped if someone it looking for something else?13:46
Shrewsmordred: nod. not sure how valuable making the port configurable is since 'finger' command doesn't accept a port??? but we can certainly do that13:46
mordredShrews: oh - nevermind13:46
mordredShrews: yes- I don't think the port configurable is valuable - but maybe pabelanger has a use-case in mind?13:47
Shrewsmordred: jobroot_dir config13:47
mordredShrews: yup. I suck13:47
Shrewsmordred: though, we might need to make the port configurable just for test scenarios13:47
mordredShrews: fair enough - maybe also someone winds up ina world where they need to use non-standard ports for $reason13:48
pabelangerWas mostly wanting config for ipaddress, but possible people want non-root port for finger? (don't even know is that is possible)13:48
mordredShrews: ok - so - transfer my bikeshed question to jobroot_dir ... but maybe I'll just put up a patch and we can discuss there13:48
Shrewsyeah. maybe you just want to use the websocket server and not 'finger' itself13:49
mordredyah13:49
mordredalso - still not sure the ACTUAL finger client will do the right thing here WRT buffering either ...13:49
Shrewsmordred: it does! i just tested it through the py27/py35 changes13:49
Shrewsamaze-balls13:50
Shrewsi could modify the log file on the fly and watch finger do its thing correctly13:50
mordredShrews: wow13:51
mordredShrews: that's super awesome13:51
pabelangerShrews: jeblair: my guess for 460471 failure is remote.origin.url is missing in the repo, but don't know why13:52
pabelangerlet me see if I can get more logging going for our rsync13:52
openstackgerritMerged openstack-infra/zuul feature/zuulv3: Allow for using build UUID as temp job dir name  https://review.openstack.org/45668513:54
openstackgerritMerged openstack-infra/zuul feature/zuulv3: Allow for specifying root job directory  https://review.openstack.org/45669113:55
Shrewsw00t13:55
ShrewsSpamapS: as an IBMer, would like your signoff on 456721 before that gets +A'd13:56
pabelangerOh, executor needs root now14:01
pabelangerinteresting14:01
Shrewspabelanger: yeah14:03
Shrewsprivileged port and all14:03
Shrewspabelanger: but it drops privileges shortly after startup14:03
pabelangerYa cool14:04
pabelangerwonder if we could setup CAP_NET_BIND_SERVICE capability, acording to google, that's seems to be the hipster way for 2.6.24 kernels +14:04
pabelangerbut, I'll update my systemd configuration14:05
pabelangerWow, even systemd does capabilities now14:10
*** hashar has quit IRC14:19
clarkbShrews: mordred one reason to possibly use configurable port is if you are behind a proxy maybe??14:25
mordredclarkb: indeed. although, fwiw, the finger command line client does not accept a port option14:26
*** colettecello has quit IRC14:26
clarkbright but client would hit proxy14:26
clarkbwhatever is behind that can be ona rbitrary port14:27
*** gothicmindfood has joined #zuul14:27
clarkb(I dont know tbat anyone needs to run that way though)14:27
mordredah - nod. yes14:28
jeblairyeah, also, once the whole system is in place, we might consider that it's only important for the *main* zuul log streamer to be on the finger port, since it multiplexes out the the executor finger servers.  they could be on alternate ports, and then we could drop the root requirement from the executors.14:43
SpamapSShrews: ACK, I'll review that.14:46
openstackgerritMonty Taylor proposed openstack-infra/zuul feature/zuulv3: Bail with an error on a non-existent jobroot_dir  https://review.openstack.org/46952414:53
openstackgerritMonty Taylor proposed openstack-infra/zuul feature/zuulv3: Make default job dir /tmp/zuul-jobs  https://review.openstack.org/46952514:53
openstackgerritMonty Taylor proposed openstack-infra/zuul feature/zuulv3: Rename jobroot_dir to jobdir_root  https://review.openstack.org/46952614:53
mordredjeblair, Shrews: ^^ bikeshed patch series14:53
mordred(those bits stood out to me reviewing Shrews series but it seemed easier to just write follow up patches than to suggest edits)14:54
SpamapSShrews: might be a while though, flying/landing/etc.14:54
jeblairmordred: we already bikeshedded on the last one14:54
jeblairmordred: the disconnect is intentional so that it matches other variables in the config file14:55
jeblairmordred: (in other words, we chose to make things nicer for users and confusing for zuul developers)14:55
jeblairmordred: if you want to fix the disconnect, then i think we need to change the other variables in the config file14:56
mordredjeblair: kk14:57
mordredjeblair: I'm not sure the disconnect is worth changing the other things14:57
jeblairmordred: me neither, though, i'm not sure it's not not worth it.  :)14:58
pabelangerjeblair: I like that idea of main streamer with root, others on different ports. But at this point, I don't want to bikeshed too much, until we see finger in action!14:58
mordred(also, that's why that's the last patch in the stack, it was the least-interesting and one I felt least strongly about)14:58
pabelangerexcited to use finger command again14:58
jeblairpabelanger: yeah, we can evolve to that14:58
pabelanger++14:58
Shrewspabelanger: "Zuul. Making old things new again"14:59
Shrewstelnet, finger. need to find a way to bring back gopher14:59
jeblairmordred: if it's not too confusing, "job_dir" in the config file might work....?15:00
jeblairShrews: you know, gopher is great for interactive browsing of structured data.  i hear that's a big thing on the modern interweb....15:01
jeblair(we just might have some structured data.... gopher status page?)15:01
Shrews:)15:03
*** isaacb has joined #zuul15:04
pabelangerclarkb: jeblair so, for zuulv3.o.o, are we okay for using virtuelenv in production for zuul.15:21
pabelangerfollow up question, do we want to do python3 too?15:21
jeblairpabelanger: i'd rather not use a virtualenv.  why?15:22
jeblairpabelanger: yes on py3, i think.15:22
pabelangermostly curious, since we have the option to do so with ansible15:23
jeblairwe have the option with puppet too, but we chose not to.15:24
tobiashhow do you deploy without venv in a clean way then?15:24
jeblairtobiash: just global pip installs.  it's a single-purpose server, so there's no need for containment15:25
tobiashI had bad experiences with global pip installs in my early python days15:26
*** hashar has joined #zuul15:26
tobiashsince then I never use pip for global installs15:26
jeblairwe've had bad experiences with both.  :)15:26
tobiashonce the system python is messed up it's often hard work to get it working again ;)15:27
jeblairmost of the issues involve pip itself; once that's sorted out, it's usually not a big deal.15:28
jeblair(we spent about 3 years learning how to install pip)15:29
tobiash:)15:29
tobiashif you choose py3 you should land 469181 and 468392 before15:30
tobiashthey were needed to get it running in my py3 setup15:30
clarkbalso constraints fix a whole set of problems for the single purpose install (if we end up having trouble we could ship a constraints file, though it hasn't be necessary yet for nodepool)15:31
jeblairtobiash: thanks, +215:31
tobiash:)15:32
tobiashhow do you use pip then for global installs?15:35
tobiashour docker images also can be seen as single purpose machine so I'd like to learn how you are doing this15:36
tobiashif venv also causes issues maybe the docker images also can be improved then15:37
jeblairtobiash: this is how we install pip: http://git.openstack.org/cgit/openstack-infra/system-config/tree/install_puppet.sh#n24315:38
pabelangerso it looks like we are missing pip3 from production servers, so installing into a virtualenv -p python35 would be easy mode15:39
pabelangerI'll look into updating puppet-pip15:39
clarkbpabelanger: we shouldn't need pip315:39
tobiashah, ok the get-pip script15:39
pabelangerclarkb: okay, how do you have pip setup python3?15:39
clarkbeither python3 -m pip or pip install --whatever-arg-is-for-python-install-dir15:40
clarkbtrygin to find the arg now15:40
openstackgerritMerged openstack-infra/zuul feature/zuulv3: Decode ssh output of gerrit connection  https://review.openstack.org/46839215:40
clarkb(its a lot like virtualenv, it runs under any python and you can specify which python to use and by default it uses python it runs under15:41
jeblairSpamapS, mordred: want to +3 https://review.openstack.org/469181 ?15:42
clarkblooks like -m pip might be the prefered method but also python3 $(which pip)15:42
pabelangerclarkb: ya, pip install --args would be good15:43
jeblairdo we have a py2 on xenial (ie, it's not py3 by default?)15:44
pabelangerya, pip defaulted to python2 when we installed it15:44
pabelangerpip 9.0.1 from /usr/local/lib/python2.7/dist-packages (python 2.7)15:45
clarkbits py3 by default meaning python3 is the default version of python, But that doesn't means that `python` and `pip` run under python3 by default15:45
clarkbbecause python should always be python2 and python3 should be used for python3 according ot python15:45
pabelangerdo we need to update puppet-pip to be more specific? http://git.openstack.org/cgit/openstack-infra/puppet-pip/tree/manifests/init.pp#n1615:45
clarkbpabelanger: we may want ot also install it for python3 just for completeness15:46
pabelangerya, I know we do that for DIB today15:47
pabelangerhttp://git.openstack.org/cgit/openstack/diskimage-builder/tree/diskimage_builder/elements/pip-and-virtualenv/install.d/pip-and-virtualenv-source-install/04-install-pip#n10415:49
pabelangercould we just build a ubuntu-xenial DIB image and use that for production servers?15:50
pabelangerguess I should take this to #openstack-infra15:50
openstackgerritMerged openstack-infra/zuul feature/zuulv3: Decode the console log stream  https://review.openstack.org/46918116:01
jeblairfungi, SpamapS: can I have your thoughts on mordred's change https://review.openstack.org/469525 ?16:05
fungilookin'16:07
jeblairneat, the failures in 468556 show up with the version of git on xenial, not trusty.  so i can reproduce and fix on my xenial machine.16:07
SpamapSjeblair: I'm at CoreOS fest today.. will be a bit out of pocket for reviews.16:46
*** jkilpatr has quit IRC16:47
openstackgerritJames E. Blair proposed openstack-infra/zuul feature/zuulv3: Enable test_multi_branch cloner/executor test  https://review.openstack.org/46855716:57
openstackgerritJames E. Blair proposed openstack-infra/zuul feature/zuulv3: Actually check out the branch in the jobdir  https://review.openstack.org/46855616:57
openstackgerritJames E. Blair proposed openstack-infra/zuul feature/zuulv3: Verify executor branch checkout  https://review.openstack.org/46856416:57
openstackgerritJames E. Blair proposed openstack-infra/zuul feature/zuulv3: Update the merger recent dict when saving the repo state  https://review.openstack.org/46959516:57
jlkjeblair: my initial thought is that on modern systems, /tmp is per-user instantiated, so running zuul as the zuul user, only the zuul user will see zuul things in /tmp/. Other users have their own temp. So stuffing it lower seems even less of a concern.16:59
jeblairSpamapS: thanks, enjoy the festivities!  i won't charge for reviews this week so you won't be out of pocket on my account.  ;)17:00
jeblairjlk: i feel like you're living in the future :) i don't think xenial is doing that (yet)...17:02
pabelangerwhy not make it /var/lib/zuul/tmp ?17:03
SpamapSjlk: eh?17:03
*** jkilpatr has joined #zuul17:04
SpamapS /tmp is per-user in containers.. is that what you're calling modern systems?17:04
jlkno, I guess Fedora was well ahead of the curve17:04
SpamapSwhat does Fedora do?17:04
jeblairfedora definitely lives in the future17:04
jlkhttps://fedoraproject.org/wiki/Features/tmp-on-tmpfs17:04
jlkhrm, that was part of it, let me find the one where it's per-user17:05
pabelangerYa, DIB doesn work with tmp-on-tmpfs today. Wrong mount options by default17:05
*** isaacb has quit IRC17:05
jlkhttps://fedoraproject.org/wiki/Changes/Polyinstantiated_tmp_by_Default17:06
dmsimardmordred, pabelanger: re: floating IP issue -- we might've found something but not sure if it's related or a coincidence yet17:18
dmsimardSome VMs could not successfully be deleted, they had to be forcefully deleted by admins and nodepool kept looping on trying to delete them, i.e 2017-05-31 10:30:10,593 WARNING nodepool.NodePool: Deleting leaked instance bare-centos-7-rdo-cloud-beta-154211 (8727e0ab-ae59-468c-928c-16ee9fb4f96d) in rdo-cloud-beta for node id: 15421117:18
dmsimardWe stopped nodepool, cleaned everything (because they were VMs not being deleted due to floating ip issue..) including the two problematic VMs and we just started nodepool again. I'll monitor to see if we're still seeing the problem.17:19
dmsimardThat said, we'll still work on updating shade regardless17:19
pabelangerwhy are admins manually deleting VMs, and not using nodepool delete command?17:20
pabelangeryou should only have nodepool user accessing the project in openstack17:20
pabelangerdmsimard: did you upgrade shade?17:22
dmsimardpabelanger: I think you didn't fully read what I wrote17:22
dmsimardpabelanger: there were two VMs stuck in deleting, nodepool was not able to delete them17:22
dmsimardand nodepool kept trying to delete them17:23
pabelangerright, upgrading shade should have fixed that17:23
pabelangerbut, nodepool would need to be stopped / started17:23
pabelangerdmsimard: I understood what you said, I am just not a fan of running manual commands behind the back of nodepool. A fair bit of work has gone into making nodepool not leak things17:24
pabelangerfor a while we to manually clean up leaked FIPs by hand17:25
dmsimardpabelanger: they were stuck in deleting, what could nodepool have done ?17:25
pabelangerthat is what I am trying to see, did you upgrade shade?17:25
SpamapSjlk: oh wow, so Fedora makes a little FS namespace for you and bind mounts in your own /tmp. Neat.17:26
dmsimardNo, not yet, I don't have the luxury of being able to do it easily just like that17:26
pabelangerif so, then you'd likely have to stop /start nodepool again, which it then would have deleted things17:26
dmsimardtristanC: already has a patch up to upgrade shade to 1.2017:26
pabelangerk17:26
dmsimardpabelanger: I'm not sure you follow, even when I tried to manually delete the VM it would not delete17:27
dmsimardso I don't see how nodepool could have deleted it17:27
pabelangerright, you need a new version of shade is what I am saying17:27
dmsimardapparently something must have happened on the cloud or the hypervisors or something17:27
jlkSpamapS: they used to, I'm not clear on if that still happens.17:29
jlkSpamapS: and it was an option in RHEL617:29
SpamapSThere's a little passive aggression in that wiki page17:30
SpamapS"Secondly people don't really understand its benefits."17:31
jlkoh there's a ton of passive aggression from the security folks at Red Hat.17:35
jlkparticularly the ones out in Brno.17:35
jeblairSpamapS: "No change is user experience, its is completely transparent to the user." might not be a complete and thorough analysis of the impacts...17:39
SpamapS"Just wear this mask. Oxygen will flow into you. The mask is completely transparent."17:41
jeblairmordred: i fixed up the issues at the end of my 'merger do the right thing' stack; if you want to resume reviews there at https://review.openstack.org/469595 and children17:44
SpamapSoh good I want to help that stack get in. I think the last couple of disabled tests might depend on that17:57
jeblairSpamapS: cool.  i still plan on enabling the rest of the cloner tests (that stack ends with 2 enabled)17:59
jeblairsorry i've forgotten: is it possible to use bubblewrap on trusty?  i see our packport ppa only has xenial.18:01
SpamapSIt should work fine setuid18:02
SpamapS(which is how we use it on xenial)18:02
SpamapSit does not have any exotic dependencies though glibc might have changed enough that you have to rebuild it for trusty18:02
jeblairpabelanger, mordred: given ^ should we push a trusty bubblewrap build to our ppa?18:03
SpamapSapt install devscripts ; backportpackage bubblewrap18:03
SpamapSOr that :)18:03
SpamapSwell actually .. backportpackage -u ppa:... bubblewrap18:03
pabelangerI think we could do that directly via launchpad ui18:03
SpamapSthe launchpad UI just lets you copy binaries18:04
pabelangerah18:04
SpamapSbuilds need a source upload18:04
jeblairSpamapS: "backportpackage -u ppa:openstack-ci-core/bubblewrap bubblewrap" ?18:04
jeblair(for the local option)18:04
SpamapSjeblair: actually you also need -d trusty18:04
jeblairSpamapS: if i'm on trusty?18:04
SpamapSoh maybe not18:04
SpamapSI forget if it defaults to the release you're running on18:04
jeblairsounds like it probably wouldn't hurt18:05
pabelangerhttps://launchpad.net/~openstack-ci-core/+archive/ubuntu/bubblewrap/+copy-packages seems to imply it will rebuild with a different distro18:05
jeblairthis is a two-pronged effort: one, getting it installed on my trusty box so i can hack on it easier; and two, having it be in the ppa may be useful for us (since zuulv3-dev is still trusty) and potentially others, for a brief while yet.  but not much longer, so probably neither of these things are worth *too much* effort.  mostly didn't want us to have to stop running zuulv3-dev if we land bwrap changes.18:06
jeblairPlease check bubblewrap 0.1.8-1~ubuntu14.04.1~ppa1 in file:///tmp/backportpackage-7f0Ot7 carefully!18:09
jeblairDo you want to upload the package to ppa:openstack-ci-core/bubblewrap [Y|n]?18:09
jeblairi dunno, do i?  :)18:10
pabelangersure18:10
jeblairdone.  i guess i'll check back in a while and see if it builds.18:12
mordredSpamapS: re your -1 on https://review.openstack.org/#/c/467611/ ... the next commit in the stack adds the tests18:14
mordredSpamapS: although I definitely agree we should not land patch 1 until patch 2 has passed tests and proven itself18:14
jeblairwfm18:15
pabelangerOh, I know why we didn't do trusty for bubblewrap18:15
pabelangerthe packaging for it was too new18:15
pabelangerit required debhelper >=1018:16
pabelangerI forgot that I tried building the trusty package locally18:16
jeblairokay, so i guess we shouldn't land bwrap until we're running on xenial18:17
jeblairwhich i think means that we should start running on xenial immediately.18:17
pabelangerya, I am working on pip3 support now for puppet-pip, otherwise python2 works fine18:17
jeblairpabelanger: feel free to ping me with any puppet patches and i'll review them with a high priority18:18
pabelangerk18:18
SpamapSmordred: Oh, was that patch added later? I thought I looked for later patches.18:50
*** nibalizer has left #zuul19:13
mordredSpamapS: shouldn't have been - but I do crazy tihngs frequnetly19:18
openstackgerritMerged openstack-infra/zuul feature/zuulv3: Add a finger protocol log streamer  https://review.openstack.org/45672119:23
Shrews\o/19:24
pabelangernice job19:31
* mordred hands Shrews a pie19:33
*** jkilpatr has quit IRC19:41
openstackgerritMerged openstack-infra/zuul feature/zuulv3: Add config option for executor process user  https://review.openstack.org/46067119:43
Shrewsso, is there a way to run a zuul test only in the py35 job and skip it in py27?19:48
clarkbShrews: you can use a test skip, but if its a compile issue you have to have a test list that excludes that file iirc19:49
jeblairShrews: SpamapS did the opposite recently for the py3 work with a test skip; should be some examples in branch tip now19:49
Shrewsjeblair: ah, see that. thx19:51
Shrewsany non-jeblair person care to +A https://review.openstack.org/469480 for me?19:52
*** jkilpatr has joined #zuul19:54
*** jkilpatr has quit IRC19:54
*** jkilpatr has joined #zuul19:54
clarkbShrews: not direclty related to your change but shouldn't the request uuid be a bit more sanitized than it is in there?19:55
Shrewsclarkb: how so?19:55
clarkbShrews: we don't check the length of the input, just that its a subset of alnum19:56
clarkbalso uuids can include -'s in their text reprs right?19:56
Shrewsi suppose that's a question for jeblair. i'm not sure how zuul generates them19:57
jeblairours do not have -19:59
ShrewsSpamapS: could this failure have something to do with the fd issues you were having? http://logs.openstack.org/80/469480/2/gate/gate-zuul-python27-ubuntu-xenial/fb28b87/testr_results.html.gz20:11
Shrewsi didn't follow the convo closely20:11
Shrewsi just ran that test 30x locally with no fails. ugh20:15
Shrewsjeblair: oh wow. kazoo read locks merged. neat20:28
jeblairShrews: \o/  now i need to remember how that was going to fix the delete thing20:31
SpamapSShrews: that is very much like what we were seeing yes.20:41
Shrewsi've run it 150x locally and cannot reproduce it20:41
Shrewsis it a test interaction thing? b/c i'm running it alone20:41
SpamapSWe only saw it when running in parallel.20:42
SpamapSThough I hypothesized it was more to do with sample size.20:42
SpamapSsince running testr run --analyze-isolation did not produce a result20:42
jeblairSpamapS, pabelanger: aha!  i stacked 461881 on top of my patch series to get the debug log changes and finally see the error: "cannot import name paths"20:45
jeblairso i assume there's a problem with 46820820:45
openstackgerritMerged openstack-infra/zuul feature/zuulv3: Fix log streamer for py35  https://review.openstack.org/46948020:58
*** hashar has quit IRC21:16
*** harlowja has quit IRC21:21
*** dkranz has quit IRC21:36
jlkjeblair: did you see my comment yesterday about driver specific requires?21:52
jeblairjlk: that they're broken?  yes :)  i haven't looked more into that, have you?21:53
jlkno, I was just checking that branch out again to see what code was supposed to be there to limit filters to the source of the change21:53
*** harlowja has joined #zuul22:06
jlkjeblair: stepping through here, in manager/__init__.py, addChange(), there is a self.changeish_filters, which seems to have both the github and the gerrit filters in it22:12
jlkand the change it's passing to those, it doesn't necessarily have any immediate indication of which driver it came from22:12
jlkand there's nothing to say "only look at THIS type of filter for changes from that driver"22:12
jeblairjlk: ah, so the filters probably need to check that internally22:13
jeblair(if they care)22:13
jlkhrm.22:14
jeblairshould be able to figure it out from change.project22:14
jlkthe logic is to see if the matches() function returns true22:14
jlkwhat you're saying, is that the github matches() function should just return true if ti's a non-github change?22:14
jeblairjlk: heh, i was going to say return false, but i see the problem with that.  :)22:15
jeblairjlk: so maybe the pipeline manager needs to do the check22:15
jlkyeah I was thinking it should avoid running match() on mis-matched events22:16
jeblairjlk: so either that, or we can have the filter return true for changes not from their source.22:17
jlkthe other problem, is that the filter itself doesn't seem to have an easy indication of what driver it belongs to22:18
jlk['__class__', '__delattr__', '__dict__', '__doc__', '__format__', '__getattribute__', '__hash__', '__init__', '__module__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', '_match_review_required_review', '_required_reviews', '_tidy_reviews', 'current_patchset', 'matches', 'matchesRequiredReviews', 'matchesRequiredStatuses', 'matchesReviews', 'open', 'required_reviews', 'required_s22:18
jlktatuses', 'statuses']22:18
jlkI suppose we could add an attribute22:19
jeblairjlk: maybe 'return true' is the easiest/best path for now?22:20
jlkmight be. Doesn't sit right with me from a first blush, but...22:21
*** jkilpatr has quit IRC22:23
jeblairjlk: hrm, as i think about it further, we're actually matching 'source' (which is a connection, not just a driver).  so i think we need to add that attribute to the filter regardless.22:24
jlkoh, the filters are canonical_hostname specific?22:24
jlkrather than driver specific?22:24
jeblairjlk: yep22:26
jeblairso you can actually apply different github requirements to changes from different github connections22:26
jlkyeah so maybe we should set a canonical_hostname for the filter, and match that up to the canonical_hostname of the change22:26
jeblairjlk: yes, though i would use connection name for this, since most other similar code does the same22:26
jlkokay22:26
jeblair(they're usually 1:1, but not always)22:27
patrickeasthey, maybe dumb question, is 2.5.2 the "best" zuul version to be using with the older jenkins-y style ci's? Or is there some other recommended one?22:29
* patrickeast is finally upgrading this 3rd party ci from 2.1.022:30
jlkpatrickeast: 2.5 makes use of Ansible as the executor rather than Jenkins22:38
jlkso if you're still jenkins bound, perhaps you should avoid 2.5?22:38
patrickeastah yea22:38
patrickeasti wasn't sure if there were tagged releases that dropped it or not22:38
*** jkilpatr has joined #zuul22:38
patrickeastalright, guess its time to go digging through git history22:39
jeblairpatrickeast, jlk: latest 2.5 is okay23:09
jlkoh oops :(23:09
jeblairso yeah, 2.5.2 is "best" for that :)23:10
jeblairwe didn't drop any jenkins support, only added secret ansible support.  :)23:10
patrickeastjeblair: thanks for confirming23:10
patrickeastyea i was looking at it and the gearman launcher still needed to be fully integrated23:10
patrickeasts/needed/seemed/23:11
jeblairpatrickeast: basically just ignore "zuul-launcher".  that's the ansible stuff.  it should be easy to ignore: we didn't document it.  :)23:11
patrickeasthaha23:11
patrickeastjeblair: perfect23:11
patrickeastjeblair: so far it looks like all my old configs "just work"23:12
jlkjeblair: I think I have something working to do the filtering. Getting it fully fleshed out with logging now.23:12
jlkjeblair: in tests, is there a way to assert that a traceback didn't happen? this test is "passing" because the job never enqueued, because a traceback happened, not because the filter(s) rejected it23:12
patrickeasti don't suppose nodepool has db migration scripts does it?23:18
patrickeastmaybe should be pester in -infra23:18
patrickeasts/be/go/23:18
openstackgerritJesse Keating proposed openstack-infra/zuul feature/zuulv3: Handle change related reqs on push like events [WIP]  https://review.openstack.org/46929723:28
jlkjeblair: I think https://review.openstack.org/469297 does the right thing now, as far as skipping mismatched connection filters. Ready for feedback, but I think we need to add logging for the actual rejections we're doing inside the connection filter. Hence the WIP still. Please do review and let me know if this is the right stuffs.23:30
jlkoh that's a weird failure case23:33
jlkugh, the zuul driver creates a connection that is a list, not an actual connection object.23:39

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