Friday, 2017-07-14

mordredpabelanger: the bug that we should address for sure is that on any shell command that doesn't produce output (like bindep -b when it succeeds and there are no more packages to install) - the command never produces output so we never get any packets when we read from the socket00:00
mordredI think maybe we should, in those cases, emit an EOF or something on the command side - or just handle it differently in the stream so we don't emit those log lines in those cases00:01
mordredhave we restarted the executor since the latest zuul_stream patch landed?00:02
pabelangerI have not00:02
mordredpabelanger: oh - also - I wrote a python wrapper around finger to make it easy for me to finger the finger urls we produce - but I could never figure out how to get it connected to chrome like you figured out for telnet00:02
mordredI suppose there will be websockets for that soon enough00:03
pabelangermordred: Ya, I updated my chorme to open finger:// also. I should propose a patch to zuul, like jeblair has for gertty00:04
pabelangerI can do that in the morning00:04
mordredwoot00:04
openstackgerritPaul Belanger proposed openstack-infra/zuul-jobs master: WIP: add environment for tox shell  https://review.openstack.org/48360800:09
openstackgerritPaul Belanger proposed openstack-infra/zuul feature/zuulv3: DNM - add upper-constraints to tox  https://review.openstack.org/48354800:13
openstackgerritPaul Belanger proposed openstack-infra/zuul feature/zuulv3: DNM - add upper-constraints to tox  https://review.openstack.org/48354800:17
openstackgerritPaul Belanger proposed openstack-infra/zuul-jobs master: WIP: add environment for tox shell  https://review.openstack.org/48360800:23
pabelangerHey, I got it working00:26
pabelanger\o/00:26
pabelangerI'll clean up the patches in the morning00:27
pabelangerand we can bikeshed over job news for constraints things00:27
openstackgerritMerged openstack-infra/zuul feature/zuulv3: Add documentation for project shadowing  https://review.openstack.org/48355202:52
openstackgerritMerged openstack-infra/zuul feature/zuulv3: Make roles ordered  https://review.openstack.org/48314002:52
*** xinliang has quit IRC04:39
*** xinliang has joined #zuul04:41
*** xinliang has quit IRC04:41
*** xinliang has joined #zuul04:41
tobiashmordred: so far I didn't have issues with cross-domain things04:47
openstackgerritMerged openstack-infra/zuul-jobs master: Switch to using setup instead of hostvars  https://review.openstack.org/48358504:57
*** dpawar has joined #zuul05:50
openstackgerritTristan Cacqueray proposed openstack-infra/zuul feature/zuulv3: Add zuul.d configuration split documentation  https://review.openstack.org/48240506:02
openstackgerritTristan Cacqueray proposed openstack-infra/zuul feature/zuulv3: Fix zuul.(yaml|d) loading order and add tests  https://review.openstack.org/48241106:15
tobiashmordred: in the html patch you added a name to the route06:21
tobiashmordred: is that on purpose (and required)?06:22
tobiashmordred: with the name add_route blocks indefinitely and zuul-web doesn't start correctly06:22
*** dpawar has left #zuul06:26
*** dpawar has joined #zuul07:07
*** amoralej|off is now known as amoralej07:10
*** bhavik1 has joined #zuul08:40
openstackgerritMerged openstack-infra/zuul-jobs master: Remove run-cover role  https://review.openstack.org/48352708:47
*** dpawar has left #zuul09:33
*** bhavik1 has quit IRC10:10
*** xinliang has quit IRC10:43
*** jkilpatr has quit IRC10:53
*** xinliang has joined #zuul10:55
*** xinliang has joined #zuul10:55
*** jkilpatr has joined #zuul11:25
*** dpawar has joined #zuul12:10
*** amoralej is now known as amoralej|lunch12:49
mordredtobiash: oh. weird. the name was so that we could use the url_for method - I think we could do that differently12:53
tobiashmordred: also fighting with the fetch and promises with resolution with then...12:54
tobiashmordred: crap js12:54
* tobiash needs to get coffee12:54
openstackgerritMonty Taylor proposed openstack-infra/zuul feature/zuulv3: Serve html statically  https://review.openstack.org/48350313:06
mordredtobiash: yah. I love debugging javascript13:06
* tobiash doesn't ;)13:07
mordredtobiash: that removes the name parameter and just defaults websocket_url to a relative path - and fixes a syntax error13:07
tobiashmordred: got it to work now with a synchronous XMLHttpRequest13:11
mordredtobiash: oh great!13:12
tobiashbut the url stuff in the executor doesn;t work13:12
tobiashzuul-web needs the finger url coming from zuul-executor13:12
mordredohhhhh. CRAPPIT yes you're right of course13:13
tobiashmordred: we need to do this in the scheduler during status.json formatting13:13
mordredyes - that makes much more sense13:14
tobiashmordred: you wanted to retain the finger url and web streaming url right?13:15
tobiashmordred: what about formatting the url for web streaming and adding a finger_url to the status.json?13:15
mordred++ I think that's a great idea13:15
tobiashso the status ui could display both then13:15
pabelangerAre we talking about web url not getting displayed into status.json after job is finihed? Noticed that on zuulv3.o.o yesterday, but figured it was still not working properly13:16
mordredpabelanger: no - talking about plumbing in support for the websocket streaming and html page to display it13:16
mordredpabelanger: but that also needs to be fixed :)13:17
openstackgerritPaul Belanger proposed openstack-infra/zuul-jobs master: Revert "Remove run-cover role"  https://review.openstack.org/48392613:17
pabelangermordred: ^ if you want to revert, but merged yesterday before I could abandon13:18
tobiashmordred: should we being able to enable/disable url and finger_url in status.json?13:23
tobiashmordred: the status ui (static stuff) problably also should be served by zuul-web right?13:27
tobiashmordred: then the webstreaming url on the status page just could be "stream.html?uuid=..."13:29
openstackgerritPaul Belanger proposed openstack-infra/zuul-jobs master: Update to tox_envlist variable  https://review.openstack.org/48393413:30
openstackgerritPaul Belanger proposed openstack-infra/zuul-jobs master: Create tox_environment to allow users access to shell variables  https://review.openstack.org/48393513:30
openstackgerritPaul Belanger proposed openstack-infra/zuul-jobs master: Remove export commands from tox based roles  https://review.openstack.org/48393613:30
mordredtobiash: yes - eventually we do want to move status things to zuul-web - but we also want to allow folks to run custom local status pages in other locations - however, your thought about doing the url in the scheduler has led me down a path that I think may make a bunch of things simpler13:31
pabelangermordred: did you want to restart zuulv3 to pick up our no_log fixes?13:36
tobiashmordred: have a prototype now, it's ok if I upload a new version of your html patch?13:38
openstackgerritTobias Henkel proposed openstack-infra/zuul feature/zuulv3: Serve html statically  https://review.openstack.org/48350313:52
tobiashmordred: prove of concept patch ^^^13:52
tobiashs/prove/proof/13:53
*** amoralej|lunch is now known as amoralej13:55
openstackgerritTobias Henkel proposed openstack-infra/zuul feature/zuulv3: Serve html statically  https://review.openstack.org/48350313:57
pabelanger2017-07-14 14:01:58.508291 | static.openstack.org | ok: 1 changed: 0 unreachable: 0 failed: 114:03
pabelangermordred: jeblair: starting to see that on some zuulv3 jobs^14:03
mordredtobiash: awesome! I like how you did that14:03
pabelangerThere was an issue creating /srv/static/logs03 as requested: [Errno 13] Permission denied: '/srv/static/logs0314:03
pabelangerlooks like we have a bad URL some place14:03
mordredpabelanger: that sounds like we're missing a /14:04
pabelangerya14:04
pabelangerI think I see the issue14:04
mordredpabelanger: I think I saw the ansible doing a join without / in between two vars14:04
mordredcool14:04
mordredtobiash: I also played with something similar - but which is untested - I'm going ot push it up just so you can look at it14:04
openstackgerritMonty Taylor proposed openstack-infra/zuul feature/zuulv3: WIP Door number three on console streaming  https://review.openstack.org/48394714:05
mordredtobiash: similar to what you did in some places or complimentary to it - main thoughts are that we can actually pass websocket_url in the url we generate in status.json so we can skip the /info endpoint14:06
openstackgerritPaul Belanger proposed openstack-infra/zuul-jobs master: Add missing / for log server path  https://review.openstack.org/48394914:06
pabelangermordred: ^ should be it14:06
mordredtobiash: and I tried to update the jquery web app thing to consume things14:06
pabelangerodd that it seems to be intermittent failures14:07
mordredtobiash: but I like how you're constructing url in model better than doing it in the javascript14:07
tobiashmordred: looking14:08
mordredtobiash: (long story short - I think basing things on your patch is the right way to go - mostly pushed mine up in case anything there was useful :) )14:09
tobiashmordred: supplying the websocket url looks quite good for removing the info endpoint and the additional query14:15
tobiashmordred: I'll check if I can combine both patches in this way14:17
*** dpawar has left #zuul14:18
mordredtobiash: I think I need to also write up some thoughts about what url serving *wants* to be even if we don't get it all there immediately and get your input to make sure it works for you - since we have several different places currently that have web context but in the future there should be one - some of these config bits may also move or change14:21
mordredand it might be good to have a picture of what it wants to be as we work14:22
tobiashmordred: sounds good14:25
pabelangermordred: ya, looks like all jobs are POST_FAILURE right now: 483949 is the fix, but jobs still fail before trusted playbooks14:25
tobiashmordred: I'm heading home now and will be in full day workshops on monday and tuesday14:26
* tobiash raises WorkshopOverflowException14:26
mordredtobiash: oh my - that sounds likea lot of fun14:33
mordredtobiash: should I take the mutext on trying to combine the patches until you get back wednesday?14:33
openstackgerritMerged openstack-infra/zuul-jobs master: Add missing / for log server path  https://review.openstack.org/48394914:41
jeblairmordred, pabelanger: i suspect the non-ordering of roles has caused us to sometimes use the new version of the upload-logs role that i'm testing, which is why post_failures are happening.  the change to order roles appears to have landed, so it might be a good idea to restart now14:52
pabelangerjeblair: ++14:53
jeblairmordred, pabelanger: though if you have a minute to also review https://review.openstack.org/483141 it might be good to go ahead start testing that14:53
pabelangerlooks14:54
openstackgerritMerged openstack-infra/zuul-jobs master: Revert "Remove run-cover role"  https://review.openstack.org/48392614:54
tobiashmordred: if you like to and have spare time feel free to do so, otherwise I'll just continue on that on wednesday15:01
mordredjeblair: looking15:03
pabelanger+215:09
openstackgerritPaul Belanger proposed openstack-infra/zuul-jobs master: Remove export commands from tox based roles  https://review.openstack.org/48393615:12
openstackgerritPaul Belanger proposed openstack-infra/zuul-jobs master: Create tox_environment to allow users access to shell variables  https://review.openstack.org/48393515:12
openstackgerritPaul Belanger proposed openstack-infra/zuul feature/zuulv3: DNM - add upper-constraints to tox  https://review.openstack.org/48354815:24
jeblairpabelanger: your workflow+0 on 483141 gave 483142 a -2 from jenkins :(15:26
pabelangerjeblair: odd15:28
pabelangerI +0 so mordred could also review15:29
jeblairpabelanger: it's not odd -- it's what happens when a dependent change is removed from the gate pipeline.15:29
jeblairmordred: are you still reviewing?15:29
pabelangerright, forgot about that15:29
openstackgerritPaul Belanger proposed openstack-infra/zuul feature/zuulv3: DNM - add upper-constraints to tox  https://review.openstack.org/48354815:31
pabelangerjeblair: jlk: has anybody reached out to sigmavirus24 to tag a new release of github3.py?15:41
jlkhadn't gotten around to it. We were talking about replacing github3.py with just requests, or with whatever for using graphql. But then ran into roadblocks with graphql.15:42
pabelangerk, we are still depending on github for the package in requirements15:42
pabelangerI'll send out a ping and see what would be needed to do a new tag15:42
openstackgerritMerged openstack-infra/zuul feature/zuulv3: Run playbooks with only those roles defined thus far  https://review.openstack.org/48314115:44
jlkthanks15:44
openstackgerritMerged openstack-infra/zuul feature/zuulv3: Add child roles before parent  https://review.openstack.org/48314215:45
openstackgerritPaul Belanger proposed openstack-infra/zuul-jobs master: Remove export commands from tox based roles  https://review.openstack.org/48393615:49
openstackgerritPaul Belanger proposed openstack-infra/zuul-jobs master: Update to tox_envlist variable  https://review.openstack.org/48393415:50
openstackgerritPaul Belanger proposed openstack-infra/zuul-jobs master: Create tox_environment to allow users access to shell variables  https://review.openstack.org/48393515:50
pabelangermordred: okay, https://review.openstack.org/#/q/topic:zuul-jobs-remove-openstack works. Confirmed with test job15:56
pabelangermordred: I think what this means, is we are going to need openstack-tox-py35 jobs (for example) that setup some of the variables needed for contraints15:57
pabelangermordred: the job would also have a projet dependency on openstack/requirements15:58
pabelangerI am going to try writing that up now and see what it would look like15:58
pabelangerit also removes NOSE variables, in zuul-jobs so we can also create new playbooks to set them up15:58
mordredpabelanger: hrm. it's a real shame that we won't even be able to use the tox-py35 job directly from zuul-jobs :(16:05
pabelangermordred: it will be our parent16:05
pabelangerbut ya, we'll need some openstack specific things I think16:05
mordredpabelanger: so - remind me how the upper-constraints.txt file gets in to that dir again?16:07
pabelangermordred: today we zuul-clone requirements, and cp upper-contraints.txt to workspace16:07
*** tflink has quit IRC16:08
mordredso - sake of argument real quick ...16:09
pabelangerbasically: http://logs.openstack.org/42/483142/4/check/gate-zuul-python35/af45bd0/console.html#_2017-07-14_15_29_44_01227616:09
pabelangerin zuul project, we actually have an utracked file in our repo at test time, but tox.ini isn't setup to use it16:09
*** jeblair has quit IRC16:09
mordredwith your tox_environment variable, tox_environment being set will be passed in to the tox-py3516:10
pabelangerYa, https://review.openstack.org/#/c/483548/ is a dirty example16:11
pabelangerobviously it fails before foo.txt doesn't exist16:11
*** jeblair has joined #zuul16:11
mordredpabelanger: so that means we COULD set tox_environment: UPPER_CONSTRAINTS=upper-constraints.txt in our overridden base job16:11
mordred(bear with me here a second)16:12
mordred(thinking out loud)16:12
pabelangerack16:12
mordredwe could also actually set it to {{ zuul.executor.work_dir }}/src/git.openstack.org/openstack/requirements/upper-constraints.txt16:12
pabelangerRight16:13
mordredso that the env var is always set to point to the u-c file - and we make sure the file is there just by adding openstack/requirements to the required_projects list16:13
mordredhrm. that still would make us make an openstack-tox-py35 job that added required_projects16:14
pabelangerRight16:14
mordredunless we ALSO added that to our base job - but I think that's potentially a bit much16:14
*** tflink has joined #zuul16:15
mordredwait a sec - jeblair, can you add required projects or variables to a job in a variant? you can add variables, right?16:15
pabelangerI think it is worth testing, but I am a little concerned base would start to get a little large over time16:15
jeblairmordred: both, yes, afaik16:15
mordredpabelanger: yes - totally agree16:15
jeblairmordred: but variants have to be defined in the same repo (except project-pipeline variants)16:16
mordredjeblair: gotcha. so we can't define a tox-py35 variant in project-config or openstack-zuul-jobs that adds that required_project and variable16:16
jeblairmordred: correct16:17
mordredkk. well, I agree with pabelanger then that we need an openstack-tox-py35 (or honestly we could just call it openstack-py35 or something)16:17
mordredthat has tox-py35 as its parent16:17
pabelangerI am going to get the naming wrong, but what we need need to do is have tox job in openstack-zuul-jobs, which have our proper tox_environment things. then we could still use tox-py35. would that be a shadow job?16:17
mordredpabelanger: it would just be a child job - parent: tox-py3516:18
jeblairpabelanger: if it's the same name, it's shadowing.  so if you wanted to call it 'tox-py35' you can do that with shadowing.  if you want to call it 'openstack-py35' then it's inheritance.16:18
jeblairpabelanger: basically, shadowing is so you can *replace* a job defined by the stdlib with one of your own.16:19
mordredooh. this might be too much -- but what if we called it "pti-python35" - so that we made it clear that it's a job that has specific needs as defined by the OpenStack PTI?16:19
pabelangerright, so we could shadow tox-py35 in openstack-zuul-jobs and have its parent be tox-py35 in zuul-jobs?16:19
jeblairmordred: appealing, but i think openstack-py35 may be more clear on first glance.16:20
mordredjeblair: kk16:20
pabelangerlet me mock up openstack-py35, see how it would look16:20
mordredpabelanger: cool16:20
jeblairpabelanger: we can't actually have openstack-zuul-jobs/tox-py35 with shadow parent zuul-jobs/tox-py35 due to the way config loading/parsing is implemented.  we may be able to do that later, but it'll take some refactoring.16:21
mordredand I think in this case having an openstack-py35 is actually nicer16:21
jeblair(all jobs are loaded and parsed in order, so we can't inherit from something later in the config, and a shadowed job is always later)16:21
mordredsince it allows projects like zuul, which doens't use upper-constraints, to use plain tox-py3516:22
pabelangerright16:22
mordredpabelanger: so I think what you've got going here is solid16:22
jeblairmordred, pabelanger: puppet has run; i'm going to restart zv316:23
pabelangerkk16:24
mordredjeblair: kk16:25
openstackgerritMerged openstack-infra/nodepool feature/zuulv3: Add support to test fedora-26  https://review.openstack.org/48256816:27
openstackgerritPaul Belanger proposed openstack-infra/zuul feature/zuulv3: DNM - add upper-constraints to tox  https://review.openstack.org/48354816:30
pabelangerOh, ha16:31
pabelangerwe need to add openstack/requirements to zuulv3 configuration :D16:31
pabelangerotherwise, syntax error for testing16:31
jeblairwhy is the file in that message "None"?16:32
pabelangernoticed that too16:32
jeblairi keep seeing that.  it should actually have the file path16:32
jeblairit does in the unit tests.  :|16:32
openstackgerritMonty Taylor proposed openstack-infra/zuul feature/zuulv3: Write secrets into their own file, not into inventory  https://review.openstack.org/47939016:32
jeblairhttp://paste.openstack.org/show/615413/16:36
jeblairlike that16:36
openstackgerritMonty Taylor proposed openstack-infra/zuul feature/zuulv3: Write secrets into their own file, not into inventory  https://review.openstack.org/47939016:37
mordredjeblair: ok ^^ I think I did that right with the layout changes16:37
mordredpabelanger, jeblair: if we need to add o/r to be able to test this, how about we go ahead and add both o/r and shade since shade follows u-c - adding shade wasn't really next on our list - but having a repo that behaves more strictly like 'openstack' seems like a thing we need now16:42
jeblairmordred: i think you have half-undid some of the work i did for the roles stuff.  left comments.16:42
mordredjeblair: thanks - fixing16:42
jeblairmordred: wfm.16:43
jeblairmordred, pabelanger: i'd like to perform some live debugging on zv3.o.o to try to understand why the file isn't showing up in the error message.16:44
jeblairi'm going to install a locally modified zuul with extra debug statements16:44
pabelangermordred: ++ to shade too16:44
pabelangerjeblair: go for it, I'll get some coffee / food and prepare to add o/r and shade to zuulv3 configuration16:45
openstackgerritMonty Taylor proposed openstack-infra/zuul feature/zuulv3: Write secrets into their own file, not into inventory  https://review.openstack.org/47939016:46
jeblairmordred: lgtm.  why the dict in "dict(args['secrets'])"  ?16:48
mordredjeblair: was copying the pattern in:16:48
mordred    def prepareAnsibleFiles(self, args):16:48
mordred        all_vars = dict(args['vars'])16:48
mordredboth of which I think intend to make a copy16:48
mordredwe could probalby, you know, use copy() instead :)16:49
jeblairmordred: gotcha.  yeah.  we should change that to copy on vars, so we know why.  i think we can drop it for secrets though since we're not modifying it.16:50
jeblairmordred: oh.16:51
jeblairmordred: i just thought of something.16:51
mordredjeblair: what's that?16:51
jeblairmordred: i'd really like to avoid people being able to supply variables in the 'zuul' namespace.  so why don't we also copy secrets, and check for that and del secrets['zuul'] if it exists.16:51
mordredjeblair: ++16:52
jeblairmordred: that silly question about dict() led to something useful.  :)16:53
mordredjeblair: should we silently remove? or return an error?16:53
mordredI think error - we should inform people that we're not doing what they think16:53
jeblairmordred: i'm okay with either.  silent removal is what happens now because of the way we stomp on vars.  if you want to return an error, that's cool; we should do it in both places.16:54
jeblair(vars and secrets)16:54
mordredwhere do we strip it from vars?16:54
mordredor are you saying we should also add the check to both places16:54
jeblairmordred: that's what the copying thing is.  we copy vars, then we *set* the zuul value.  it will silently overwrite it if it exists.16:54
jeblairmordred: so yeah, if you want to raise an error, perform the check for both vars and secrets.16:54
mordredjeblair: ah - yes. gotcha16:55
openstackgerritMonty Taylor proposed openstack-infra/zuul feature/zuulv3: Write secrets into their own file, not into inventory  https://review.openstack.org/47939016:59
mordredjeblair: alright - I think that one is solid now17:00
jeblairmordred: nope, one more thing17:01
jeblair(inline comment)17:02
mordredgah17:02
mordredjeblair: also - while you're looking at things: https://review.openstack.org/#/c/482889/ and https://review.openstack.org/#/c/482926/17:02
mordredjeblair: GAH17:03
mordredjeblair: also - feels like maybe a thing we want to move into the configloader so we can give quick errors without allocating nodes17:04
openstackgerritMonty Taylor proposed openstack-infra/zuul feature/zuulv3: Write secrets into their own file, not into inventory  https://review.openstack.org/47939017:04
jeblairmordred: yeah, should be possible as well.  let's leave this there though since we're talking about passing data between jobs as variables.17:05
mordredjeblair: ++17:05
openstackgerritMonty Taylor proposed openstack-infra/zuul feature/zuulv3: Fail early if people attempt to add zuul vars or secrets  https://review.openstack.org/48400017:10
openstackgerritMonty Taylor proposed openstack-infra/zuul-jobs master: gzip console log before uploading it  https://review.openstack.org/48361117:12
openstackgerritMerged openstack-infra/zuul feature/zuulv3: Add /etc/hosts and /etc/nsswitch.conf to the bubblewrap  https://review.openstack.org/48321017:21
mordredjeblair: well - th block-zuul-variable patch is an excellent test case for putting a size-limit on console output :)17:25
mordredjeblair: 182.62M17:25
jeblairi'd love to know why that happens17:26
jeblairi didn't think anything was supposed to go to the console when we run in testr17:27
jeblairi'm too deep down my stack to look at it though17:27
*** dmsimard is now known as dmsimard|afk17:30
mordredjeblair: in this case, I believe the problem is that there are real exceptions, so it's gathering all the things17:31
*** timolo has joined #zuul17:31
mordredjeblair: heh. turns out we cannot block zuul right there - becuase zuul has already passed variables named zuul17:34
mordredfixing17:34
openstackgerritMonty Taylor proposed openstack-infra/zuul feature/zuulv3: Write secrets into their own file, not into inventory  https://review.openstack.org/47939017:39
openstackgerritMonty Taylor proposed openstack-infra/zuul feature/zuulv3: Fail early if people attempt to add zuul vars or secrets  https://review.openstack.org/48400017:39
mordredjeblair: ^^ THAT should do it now17:39
*** timolo has quit IRC17:43
*** dpawar has joined #zuul17:43
jeblairaha!  i think it may be that we're using cyaml in prod, but not in unit tests17:48
mordredjeblair: oh! we should maybe use cyaml in unit tests17:55
mordredyah - we don't have libyaml-dev in bindep17:56
jeblairwoohoo!  i have reproduced locally by install the c lib17:57
jeblairi will reset the prod server to branch tip now17:58
jeblairdone17:58
mordredjeblair: woot18:00
*** dpawar has quit IRC18:19
*** dpawar has joined #zuul18:24
SpamapSthe funny thing about that18:31
SpamapSis that we mostly did cyaml to make unit tests faster ;)18:31
jeblairi'm pretty sure i can get zuul errors down to the actual line (like here's the line where you named an unknown project).  but i'll leave that for later since i'm in the middle of several other things18:36
jeblairi'm going to just fix the file/line pointers, and replace the pprinted data with the equivalent yaml directly from the file18:37
jeblairpart of why i'm doing the second thing is that cyaml marks don't come with snippets18:37
openstackgerritJames E. Blair proposed openstack-infra/zuul feature/zuulv3: Handle cyaml Marks  https://review.openstack.org/48401318:41
jeblairSpamapS, mordred, pabelanger: ^18:42
SpamapSjeblair: sometimes I wonder if the cyaml is worth the trouble. :_P18:43
SpamapSI'm sure it's a whole percent or two of total CPU.. and maybe a couple more percent RAM.. but.. :-P18:44
jeblairSpamapS: me too.  but when i say to myself "how much slower can parsing yaml in python be?" i give myself a withering glare.18:44
SpamapSThe RAM problems may be worse than the CPU18:44
SpamapSHave seen 10k yaml docs use up 50MB of memory for no reason. :-P18:44
*** bhavik1 has joined #zuul18:45
SpamapSprobably naively creates lots of cycles.18:45
SpamapSI wonder if it behaves better on py3 which is supposed to have better cycle gc18:45
jeblairi guess we will find out18:45
*** dpawar has quit IRC18:52
*** bhavik1 has quit IRC19:04
*** amoralej is now known as amoralej|off19:21
pabelangerjeblair: mordred: I have manually done SIGHUP on zuulv3. Working on a patch to puppet-zuul now19:36
pabelangerjeblair: I think you said we can just use the same logic from zuul.init from zuul.o.o right>?19:36
jeblairpabelanger: yep19:39
openstackgerritJames E. Blair proposed openstack-infra/zuul feature/zuulv3: Handle cyaml Marks  https://review.openstack.org/48401320:08
pabelangeropenstack-py35 success!20:08
pabelangerhttps://review.openstack.org/#/c/484027/20:08
pabelangerand used correct constraints file20:09
pabelangerhttp://logs.openstack.org/27/484027/2/check/openstack-py35/3c3300a/tox/py35-0.log.txt20:09
pabelangermordred: ^20:09
jeblairpabelanger: have you looked at the recent post-failures yet?20:10
pabelangerjeblair: no, I just noticed them20:10
pabelangerchecking some logs now20:10
jeblairpabelanger: oh, i think it may be just the docs jobs20:11
jeblairpabelanger: http://paste.openstack.org/show/615428/20:12
pabelangerHmm20:12
jeblair"ERROR! the role 'run-docs' was not found in /tmp/92c6cb40dc4940289cc16a13f5481ac5/work/src/git.openstack.org/openstack-infra/openstack-zuul-jobs/playbooks/tox/roles:/tmp/92c6cb40dc4940289cc16a13f5481ac5/ansible/playbook_0/role_0/zuul-jobs/roles:/tmp/92c6cb40dc4940289cc16a13f5481ac5/work/src/git.openstack.org/openstack-infra/openstack-zuul-jobs/playbooks/tox"20:12
jeblairforgot the actual error in the pastebin20:12
pabelangerwonder if we broke something20:13
jeblairwhere is run-docs supposed to be?20:14
pabelangeropenstack-zuul-jobs right now20:14
jeblairpabelanger: but the job is defined in zuul-jobs?20:15
jeblairoh, no.  openstack-zuul-jobs as well20:15
pabelangerno, openstack-doc-build is also in openstack-zuul-jobs, in zuul.yaml for project-config I think20:15
pabelangerYa, project-config20:16
jeblairpabelanger: what's in project-config?20:16
pabelangerthe project section for openstack-infra/zuul-jobs20:16
jeblairgotcha20:16
pabelangerSo many place to look :D20:17
jeblairso the role path in that error indeed does not contain openstack-zuul-jobs/roles20:17
jeblairbut it's in the job definition20:18
jeblairso it seems like there may be an error with the recent role stuff20:18
jeblairi've turned on keep and am rechecking so i can poke at the jobdir20:19
pabelangeropenstack-zuul-jobs/playbooks/tox doesn't look right for a role path20:20
pabelangerfrom your ERROR above20:20
jeblairpabelanger: that's probably from ansible, but we'll know in a minute.20:20
jeblairpabelanger: (ansible has an implicit role path next to the playbook its running)20:21
pabelangerya, tox/roles is also surprising20:21
pabelangerjeblair: ya20:21
jeblairroles_path = /tmp/3c6feda8f9644a56981c5c27fd966d38/ansible/playbook_0/role_0/zuul-jobs/roles20:23
jeblairso yeah, the weird additions are just ansible.  we correctly have zuul-jobs, but incorrectly are missing openstack-zuul-jobs.20:24
pabelangerI wonder if we could just symlink the roles directly in the openstack-zuul-jobs folder20:24
jeblairpabelanger: we do20:25
jeblairthe error looks like it's in the scheduler.  it didn't tell the executor that was a role path for that playbook.20:25
jeblairpabelanger: if you want to poke around at the new playbook/role directory setup, you can look at /tmp/3c6feda8f9644a56981c5c27fd966d38/ansible on ze0120:26
pabelangerjeblair: k, looking20:26
jeblairi'm turning keep off, but that dir will stick around20:26
pabelangergoing to try something20:30
jeblairpabelanger: can you be more specific?20:31
pabelangerremote:   https://review.openstack.org/484039 wip: symlink role directory20:32
pabelangerso, doing that actually causes some changes to ansible-lint20:32
jeblairpabelanger: oh please don't do that.  :)20:32
pabelangerI wonder if that is because our roles are not getting loaded20:33
jeblairpabelanger: you wonder if what is because our roles are not getting loaded?20:33
pabelangerjeblair: so, ansible-lint will fail on 48403920:33
pabelangerbacause, I think we are now linting roles with that change20:33
jeblairpabelanger: i still don't understand what you're saying20:34
pabelangerthis is unrelated to problem at hand20:34
pabelangerbut, I don't think we are properly linting our roles today with ansible-lint20:34
pabelangerhttp://logs.openstack.org/39/484039/1/check/tox-linters/959513d/job-output.txt for more detail20:36
pabelangerbut ya, I will abandon that for now20:36
*** jkilpatr has quit IRC20:49
* SpamapS is so happy there's an ansible-lint :)20:53
pabelangerokay, fixed20:56
pabelangerremote:   https://review.openstack.org/484043 Ensure we load roles for linting20:56
pabelangerthat is how I usually set it up for the other roles I do20:57
jeblairpabelanger: lgtm.  what's 0012?20:58
jeblairalso, i have locally reproduced the roles path error20:59
pabelangerjeblair: Commands should not change things if nothing needs doing. For idempotent tasks I belive21:00
pabelangerI can update patch to reference that21:01
*** jkilpatr has joined #zuul21:06
pabelangerokay, added --syntax-check and renamed to tox -elinters too21:07
pabelangerthat should better help us debug ansible things locally21:07
openstackgerritJames E. Blair proposed openstack-infra/zuul feature/zuulv3: Fix multiple role paths  https://review.openstack.org/48404721:10
jeblairpabelanger: there's the problem ^21:10
jeblairtuples strike again21:10
pabelanger+221:16
openstackgerritMerged openstack-infra/zuul feature/zuulv3: Handle cyaml Marks  https://review.openstack.org/48401321:27
openstackgerritMerged openstack-infra/zuul feature/zuulv3: Fix multiple role paths  https://review.openstack.org/48404721:29
jeblairrestarting zv321:57
pabelangerack21:58
jeblairdone21:58
pabelangerk, starting rechecks21:59
pabelangermuch better22:10
jeblairswitching 'keep' on to debug the base-test stuff i'm working on22:12
pabelangerjeblair: ack. think I'm calling it for today. might poke at a few things over the weekend22:13
jeblairpabelanger: thanks, enjoy!22:14

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