Friday, 2019-08-02

*** michael-beaver has quit IRC00:12
*** tributarian has quit IRC00:33
*** ianychoi has joined #zuul00:34
*** rlandy is now known as rlandy|bbl00:35
*** bhavikdbavishi has joined #zuul01:54
*** bhavikdbavishi1 has joined #zuul01:57
*** jamesmcarthur has joined #zuul01:58
*** jamesmcarthur has quit IRC01:58
*** jamesmcarthur has joined #zuul01:58
*** bhavikdbavishi has quit IRC01:58
*** bhavikdbavishi1 is now known as bhavikdbavishi01:58
*** rlandy|bbl is now known as rlandy02:07
*** rlandy has quit IRC02:29
*** sileht has quit IRC02:44
*** bhavikdbavishi has quit IRC02:48
*** bhavikdbavishi has joined #zuul03:33
*** jamesmcarthur has quit IRC03:46
*** jamesmcarthur has joined #zuul03:46
*** jamesmcarthur has quit IRC03:51
*** jamesmcarthur has joined #zuul04:16
*** jank has joined #zuul04:37
openstackgerritJan Kubovy proposed zuul/zuul master: Make tenant and pipeline optional in zuul-changes  https://review.opendev.org/67403404:50
*** jamesmcarthur has quit IRC04:53
*** bjackman has joined #zuul05:44
*** jhesketh has joined #zuul06:54
*** jpenag is now known as jpena07:31
openstackgerritMerged zuul/nodepool master: builder: Log all deletions of image upload records  https://review.opendev.org/67412607:32
*** fbo has joined #zuul07:48
*** tosky has joined #zuul07:48
*** mhu has joined #zuul08:10
*** threestrands has quit IRC08:25
cixx_"Zuul is a proxy and therefore benchmarks -- especially RPS-based ones -- could vary widely." what does RPS stand for?08:39
aspiersmordred: did this eatmydata research ever get done? http://eavesdrop.openstack.org/irclogs/%23zuul/%23zuul.2017-03-21.log.html#t2017-03-21T11:28:2408:50
AJaegercixx_: that is a quote from netflix Zuul which is a complete different tool, they "stole" our name ;) Zuul is https://zuul-ci.org/09:00
*** bhavikdbavishi has quit IRC09:13
*** hwangbo has quit IRC09:20
*** jangutter has quit IRC09:36
*** electrofelix has joined #zuul09:37
*** jangutter has joined #zuul09:51
*** jank has quit IRC10:00
*** jank has joined #zuul10:07
openstackgerritMatthieu Huin proposed zuul/zuul master: [WIP] Add OpenAPI description for enqueue, dequeue, autohold  https://review.opendev.org/67425710:25
*** jank has quit IRC10:27
*** zbr has quit IRC11:25
*** jpena is now known as jpena|lunch11:34
*** SotK__ has quit IRC11:51
*** tributarian has joined #zuul11:59
*** panda is now known as panda|lunch12:05
*** rlandy has joined #zuul12:25
*** zbr has joined #zuul12:35
*** jpena|lunch is now known as jpena12:39
*** jamesmcarthur has joined #zuul12:39
cixx_AJaeger: I know :) I just wanted to try my chance here to find what RPS stands for12:44
janguttercixx_: Rock Paper Scissors?12:49
*** bjackman has quit IRC12:55
*** panda|lunch is now known as panda13:06
*** jeliu_ has joined #zuul13:12
fungicixx_: reverse proxy server14:01
fungias opposed to a normal (forward) proxy14:01
fungiif you stick a caching proxy cdn in front of a site, for example, that's an "rps"14:02
fungibecause it's a proxy tied to the server side of the connection, not the client side14:02
fungiso masquerading as the server itself in most cases14:02
*** jeliu_ has quit IRC14:04
*** jamesmcarthur has quit IRC14:10
*** jeliu_ has joined #zuul14:11
openstackgerritMatthieu Huin proposed zuul/zuul master: Add OpenAPI description for enqueue, dequeue, autohold  https://review.opendev.org/67425714:23
*** jamesmcarthur has joined #zuul14:24
*** electrofelix has quit IRC14:25
*** jamesmcarthur has quit IRC14:30
tobiashaspiers: we're using it in quite some jobs to save iops14:30
aspierstobiash: nice!14:30
tobiashdepending on how much ram is available this can make quite some difference (depending on the job)14:31
tobiashaspiers: how did you find that old cite? ;)14:31
aspiersgoogle14:32
*** bmwiedemann1 has joined #zuul14:33
*** jamesmcarthur has joined #zuul14:33
jangutterfungi: The archaic RPS I know is for "receive packet steering" a.k.a the thing you use if you don't have hardware multiqueue NICs.14:37
*** michael-beaver has joined #zuul14:47
*** bmwiedemann1 has left #zuul14:56
*** jeliu_ has quit IRC15:02
openstackgerritSorin Sbarnea proposed zuul/zuul-jobs master: WIP: add-build-sshkey: add centos/rhel-8 support  https://review.opendev.org/67409215:03
*** jeliu_ has joined #zuul15:04
clarkbzbr: I left a question and a thought on ^15:20
clarkbaspiers: fwiw in openstack land I've been poking at job slowness and posting results to the openstack-discuss mailing list. One of the issues is jobs are swapping15:21
clarkbaspiers: I'm not sure eatmydata will help much in those cases15:21
aspiersk15:21
clarkbaspiers: http://lists.openstack.org/pipermail/openstack-discuss/2019-July/008071.html and http://lists.openstack.org/pipermail/openstack-discuss/2019-July/007493.html for more info15:22
openstackgerritMerged zuul/zuul-jobs master: Don't compare to literal True/False  https://review.opendev.org/66769715:22
openstackgerritMerged zuul/zuul-jobs master: Add test-bindep job  https://review.opendev.org/67407815:22
*** mattw4 has joined #zuul15:22
openstackgerritMerged zuul/nodepool master: builder: Remove recency table logging  https://review.opendev.org/67412415:30
*** sileht has joined #zuul15:34
*** mattw4 has quit IRC15:38
zbrclarkb: thanks for the comment. re ansible boostrapping, its is much trickier than you think.15:41
zbrclarkb: is about bootstrapping what, there are lots of requirements, most of them loose.15:41
zbrclarkb: also a well written role should list *all* requirements in its meta (dependencies).  currently we do not make use of that, but this does not mean we should not aim to.15:42
clarkbzbr: well for example we must have a python installed on the remote node15:42
clarkbopendev ensures that happens at image build time15:42
Shrewsianw: fyi, i went ahead and abandoned https://review.opendev.org/630890 for you as we no longer use the devstack plugin15:43
clarkbpart of my concern here is the chicken and egg problem15:43
clarkbI don't think we can assume ansible can bootstrap its own deps (for example python)15:43
clarkband so some external process is already doing that may as well deal with them all there?15:43
zbrclarkb: that is something opaque and not tested, i doubt all these roles are tested on each image build.15:43
clarkbwell right now we have no rhel8 or centos 8 image15:44
clarkbyou are correct that isn't tested15:44
clarkbI'm talking about this in the general case15:44
zbrclarkb: you can use ansible to bootstrap ansible on a machine, but is not an easy task. (you may need to use raw command before you get to python)15:44
clarkbif every role that uses authorized_key module must also include tasks to intsall selinux python bindings I think we have done something wrong15:44
zbrclarkb: i am trying to improve testing and slowly making these roles easy to re-use in various places.15:45
*** jpena is now known as jpena|off15:45
*** mhu has quit IRC15:45
openstackgerritLuigi Toscano proposed zuul/zuul-jobs master: fetch-subunit-output: collect additional subunits (2nd try)  https://review.opendev.org/67433415:46
toskylet's retry!15:46
*** mhu has joined #zuul15:46
clarkbzbr: is the typical ansible role expected to bootstrap all of its dependencies like that?15:47
zbrclarkb: and with some guidance we may succeed. I am still learning about how test-zuul.d is supposed to be used. I am used to a very different approach: using molecule to test roles and testing them in containers. this means that I could run the tests locally with tox without needing zuul.15:47
AJaegertosky: sure ;) Could you add a requirements or openstacksdk change and make it use the updated job, please?15:47
pabelangerclarkb: zbr: history has taught me, to manage ansible dependencies in a single location, rather then having each role trying individual add things they need.15:47
clarkbmaybe that is what I am asking. What is the expected process here. Because to me installing every minor ansible dep in every role that needs them seems like a lot of unnecessary effort15:47
toskyAJaeger: any of them?15:47
zbrclarkb: yes/not: mainly you only need to list bootstraping roles as dependencies. ansible will run them only once by default.15:47
AJaegertosky: either one should be enough - or choice ;)15:47
toskyoki15:48
zbrclarkb: I could adda a 'bootstrap' role to the repository that does exactly these things, and we can start referring to it from the other ones.15:48
clarkbzbr: I think that would be preferable15:48
zbrmainly the boostraping role would be very similar with what you do to build the images.15:49
clarkbotherwise we will have a proliferation of these python lib installs15:49
zbrclarkb: any preference for the role name?15:49
clarkbinstall-ansible-remote-deps ? something like that15:49
zbrclarkb: can I use molecule to test it? we can test it on 5 distros with a single job (far smaller resource usage).15:50
clarkbI have no opinon on whether or not molecule should be used15:51
*** jangutter has quit IRC15:51
zbrsure, i can do both and others can decide. also adding molecule files can help a lot when making changes locally, regardless if is used by zuul or not.15:52
zbri would prefer to name the role bootstrap-ansible, is shorter and this is what it would do: asure that the host can be managed by ansible (basic modules). In the future we can add extras.15:54
zbrbut libselinux is something we need almost anywhere, you can barely run ansible without them.15:54
zbrjinja templating requires it15:54
*** mattw4 has joined #zuul15:57
*** hwangbo has joined #zuul16:05
*** jamesmcarthur has quit IRC16:08
openstackgerritJames E. Blair proposed zuul/zuul-jobs master: Add CORS support to upload-logs-swift  https://review.opendev.org/67434116:08
toskyAJaeger: https://review.opendev.org/#/c/674344/16:12
*** pcaruana has quit IRC16:14
openstackgerritMerged zuul/zuul-jobs master: Support Rackspace in upload-logs-swift  https://review.opendev.org/67413616:18
*** altlogbot_3 has quit IRC16:29
openstackgerritSorin Sbarnea proposed zuul/zuul-jobs master: Be consistent about spaces before and after vars  https://review.opendev.org/66769816:31
*** irclogbot_0 has quit IRC16:33
AJaegertosky: thanks, please add as comment to the other change16:35
*** altlogbot_0 has joined #zuul16:38
toskyand done16:38
*** tributarian has quit IRC16:38
*** mattw4 has quit IRC16:42
*** mattw4 has joined #zuul16:43
*** irclogbot_1 has joined #zuul16:43
corvuszbr: zuul-jobs has facilities for testing on multiple repos; i don't think we should add molecule into the mix16:43
corvus(we *just* finished setting up the testing framework for zuul-jobs, i think it's maybe a bit early to replace it)16:44
corvuszbr: see https://zuul-ci.org/docs/zuul-jobs/policy.html#testing for how to do multi-platform testing16:44
corvusclarkb: ^ fyi16:44
corvusoh, this is for add-build-sshkey....16:47
corvuszbr, clarkb: testing that role is going to be very difficult, if it's possible at all.  it has some pretty low-level interaction with zuul16:49
*** mattw4 has quit IRC16:50
corvusit is responsible for dropping the global ssh key; even in base-minimal we do that because it's a security vulnerability not to16:50
clarkbmy concern was that we not start adding ansible dependency bootstrapping to every role that might interact iwth selinux on selinux platforms16:50
clarkbwhich is orthogonal to testing16:50
corvusclarkb: i know, i read that16:50
clarkbas far as testing that particular role goes ya I can see how changing ssh keys would make zuul/ansible potentially unhappy16:51
clarkbI wonder how valid the test is if we replace the build key with the build key16:51
corvusbut zbr asked about molecule, and you didn't have anything to add there, so i thought i should add information now, rather than after zbr went and did a bunch of stuff that we might not accept16:51
clarkb++16:53
corvusthe biggest hurdle i see to testing it is this task: https://opendev.org/zuul/zuul-jobs/src/branch/master/roles/add-build-sshkey/tasks/create-key-and-replace.yaml#L39-L4516:53
clarkb(I've never used molecule and know little about it so hard to offer opinions on it)16:53
corvusthat task responds to a state created by the zuul-executor which i think is impossible to recreate or simulate in a direct test16:54
clarkbah16:54
corvusi think the only way to test it would be in a recursive situation where we run a second ansible (with its own ssh agent)16:54
corvussort of like how we do the console output tests on zuul itself16:55
corvusi think molecule is great -- the reason we don't use it in zuul-jobs is that we're mostly trying to test interaction with zuul; so test isolation is an anti-goal16:55
corvusbut if it is appropriate for a particular role (maybe it would help in this case) i think we should consider it.  just that on balance, most of the roles are better tested in situ.16:57
openstackgerritMerged zuul/zuul-jobs master: Add CORS support to upload-logs-swift  https://review.opendev.org/67434116:59
fungii can see where molecule might be useful for testing in-repo roles which projects want to serve double-duty in both testing and deployment16:59
openstackgerritSorin Sbarnea proposed zuul/zuul-jobs master: Make all lines less than 160 characters long  https://review.opendev.org/66769617:00
fungifor roles which are only intended to be run as part of zuul jobs, it's probably not a good fit17:00
clarkbI do wish these config management testing tools supported "run tests against the local system" as an expected workflow17:00
clarkbmolecule isn't the first one to ignore this use case17:00
*** igordc has joined #zuul17:03
fungifor that matter, you could say tox has that issue too17:05
fungi(though maybe there's a tox option to not create a virtualenv)17:05
clarkbfungi: https://pypi.org/project/tox-direct/ you can do that via a plugin17:08
clarkb(so ya generally suffers the same problem)17:09
openstackgerritJeff Liu proposed zuul/zuul-operator master: WIP: Add zuul-operator-functional-openshift job  https://review.opendev.org/67435517:09
openstackgerritJeff Liu proposed zuul/zuul-operator master: WIP: Add zuul-operator-functional-openshift job  https://review.opendev.org/67435517:12
openstackgerritJames E. Blair proposed zuul/zuul-jobs master: DNM: test swift logs  https://review.opendev.org/67435817:15
openstackgerritJames E. Blair proposed zuul/zuul master: DNM: test swift logs  https://review.opendev.org/67435917:16
*** panda has quit IRC17:19
fungiahh, neat, i was unaware of tox-direct17:19
fungithough on the topic of tox plugins, i rather enjoy tox-venv in my python3-only projects17:19
fungifrees you from needing to use virtualenv, which is becoming increasingly problematic these days17:20
*** panda has joined #zuul17:20
*** openstackgerrit has quit IRC17:22
zbrclarkb: fyi: if you want to run molecule on localhost: you just need to use "delegated" driver. which mainly allows you to give it an inventory to use.17:22
zbrif you put localhost on it... it will run on localhost. we already do this in few jobs. still, as one could imagine, this has the potential to f*** you localhost.17:23
clarkbzbr: ya but it is typically what you want in a ci environment17:23
clarkbbecause the environment is provisioned for you17:23
zbrclarkb: yep. but when I think about functional testing, I try to find a way that works for both local-dev-env and CI.17:24
*** mattw4 has joined #zuul17:24
zbrso if I can isolate it, the better. developer can test locally, in seconds and avoid proposing broken patches.17:24
zbrand as a note: one way of doing it does not rule out the other.17:25
clarkbzbr: that works great if you can get away with containers but if you need virtual machines nesting them is bad17:26
zbrclarkb: true. but so far i was able to get around with containers for big number of cases.17:27
clarkbso it is mostly about having the option not necessarily that you must use it17:27
zbryep17:28
zbrclarkb: i am starting to like the guy who wrong tox-direct, he has humor: --direct-yolo17:33
zbryolo mode :D17:33
fungiheh17:35
zbrbtw, did anyone tried to use container based nodesets with zuul? from what I read it it should be supported. for tox jobs they could present some benefits.17:35
clarkbzbr: I believe that softwarefactory may do so. For opendev the way our quotas are given to us some clouds have expressed hesitation over having always on servers providing container resources17:37
fungii assume the folks using openshift and kubernetes node drivers are using container-based nodesets with zuul?17:37
fungialso the napkin math on overhead we would actually save by switching opendev's nodesets to containers is negligible. focusing on improving the efficiency of the test payloads themselves would be a much better payoff for the time spent17:38
fungi(efficiency gains in tripleo-ci and devstack/tempest being the obvious low-hanging fruit there)17:39
corvusstill, i'd love to have some testing of it in opendev, but it doesn't seem like anyone has the time to drive setting that up at the moment17:40
fungiyes, exercising the feature would certainly be nice17:40
corvushttps://review.opendev.org/620756 is where that stands17:41
corvusprobably need a new k8s cluster at this point17:41
*** rfolco|ruck has quit IRC17:42
clarkbwhich might be complicated by magnum's recent problems deploying newer k8s (assuming we want to reuse magnum for that)17:43
*** openstackgerrit has joined #zuul17:47
openstackgerritJames E. Blair proposed zuul/zuul master: WIP: render console in js  https://review.opendev.org/67436817:47
corvusmordred, tristanC: ^ that's a start on the long-envisioned "render the console log in JS with collapsable sections"17:47
corvusjust a skeleton so far17:48
openstackgerritJames E. Blair proposed zuul/zuul master: WIP: render console in js  https://review.opendev.org/67436817:50
*** fdegir has quit IRC17:55
*** fdegir has joined #zuul17:56
openstackgerritJeff Liu proposed zuul/zuul-operator master: WIP: Add zuul-operator-functional-openshift job  https://review.opendev.org/67435518:06
*** cixx_ has quit IRC18:21
*** cixx has joined #zuul18:23
openstackgerritJeff Liu proposed zuul/zuul-operator master: WIP: Add zuul-operator-functional-openshift job  https://review.opendev.org/67435518:35
tristanCcorvus: shouldn't the job-output rendering be part of the summary tab?18:46
tristanCthe current summary table could probably takes less space, leaving room for more interesting content18:47
*** rfolco has joined #zuul19:00
*** rfolco is now known as rfolco|ruck19:01
openstackgerritJeff Liu proposed zuul/zuul-operator master: WIP: Add zuul-operator-functional-openshift job  https://review.opendev.org/67435519:09
*** portdirect has quit IRC19:13
*** portdirect has joined #zuul19:13
*** tosky has quit IRC19:32
*** mgoddard has quit IRC19:37
*** mgoddard has joined #zuul19:38
*** irclogbot_1 has quit IRC19:39
corvustristanC: that ps leave the current output (which tries to find the error -- i really like that) as part of the summary tab, the full console is in a new tab.  maybe we could integrate the two?  at any rate, i figured this is a good start for experimenting.19:40
*** irclogbot_1 has joined #zuul19:44
tristanCcorvus: i also having the potential error first, but it would be nice to dig in plays and task without having to change pane. perhaps the summary table could be moved to another pane, or displayed as some sort of info box on the top right19:44
tristanCalso like*19:44
corvustristanC: that makes sense.  once we get the console rendering done, we can explore those options.19:50
corvusthere's a bunch of formatting that needs to be done (right now, it mostly just looks like an incomplete list of tasks :)19:50
openstackgerritJeff Liu proposed zuul/zuul-operator master: WIP: Add zuul-operator-functional-openshift job  https://review.opendev.org/67435519:54
mordredcorvus: ooh! that's exciting20:06
openstackgerritJames E. Blair proposed zuul/zuul-jobs master: Fix CORS in rackspace in upload-logs-swift  https://review.opendev.org/67442320:39
openstackgerritJames E. Blair proposed zuul/zuul-jobs master: Fix CORS in rackspace in upload-logs-swift  https://review.opendev.org/67442320:40
*** jeliu_ has quit IRC20:59
openstackgerritMark Meyer proposed zuul/zuul master: Rework some bugs  https://review.opendev.org/67442521:02
*** EmilienM is now known as EmilienM|afk21:28
*** EmilienM|afk is now known as EmilienM21:28
*** rlandy has quit IRC21:31
openstackgerritMerged zuul/zuul-jobs master: Fix CORS in rackspace in upload-logs-swift  https://review.opendev.org/67442321:41
*** armstrongs has joined #zuul22:25
*** armstrongs has quit IRC22:35
*** hwangbo has quit IRC23:26

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