Friday, 2018-04-06

*** odyssey4me has quit IRC00:11
*** odyssey4me has joined #zuul00:11
*** graffatcolmingov is now known as sigmavirus2400:26
*** sigmavirus24 has joined #zuul00:26
*** JasonCL has joined #zuul00:41
*** JasonCL has quit IRC00:42
*** JasonCL has joined #zuul00:42
*** JasonCL has quit IRC00:48
*** harlowja has quit IRC01:21
openstackgerritPaul Belanger proposed openstack-infra/nodepool master: WIP: Add fedora-28 to nodepool dsvm  https://review.openstack.org/55921102:01
*** JasonCL has joined #zuul02:28
*** JasonCL has quit IRC02:33
*** JasonCL has joined #zuul02:43
*** patriciadomin has quit IRC02:45
*** JasonCL has quit IRC02:48
*** patriciadomin has joined #zuul02:50
*** pwhalen has joined #zuul02:51
*** pwhalen has joined #zuul02:51
*** gouthamr has quit IRC03:05
*** harlowja has joined #zuul03:53
*** snapiri has joined #zuul04:44
*** harlowja has quit IRC05:13
*** threestrands has quit IRC07:36
*** electrofelix has joined #zuul07:49
*** jpena|off is now known as jpena07:54
*** ssbarnea_ has joined #zuul09:18
*** jesusaur has quit IRC09:26
*** jesusaur has joined #zuul09:48
*** bhavik1 has joined #zuul10:30
*** bhavik1 has quit IRC10:38
*** JasonCL has joined #zuul10:58
*** JasonCL has quit IRC11:01
openstackgerritJean-Philippe Evrard proposed openstack-infra/zuul master: Add branch to Zuul dashboard  https://review.openstack.org/55931311:18
*** jpena is now known as jpena|lunch11:38
*** gouthamr has joined #zuul11:45
*** ssbarnea_ has quit IRC12:03
*** ssbarnea_ has joined #zuul12:05
*** maeca has joined #zuul12:13
*** ssbarnea_ has quit IRC12:22
mrhillsmanany thoughts on why 'nc -v -w2 ip 9000' works and i can see traffic but payloads from github fail to be delivered?12:30
mrhillsmani did upgrade via pip12:31
mordredmrhillsman: did you catch the REST API url changes (including the change in the path for github webhooks?)12:37
mrhillsmannope12:38
mordredmrhillsman: it's now going to have an /api at the front of the path12:38
mrhillsmanthx12:38
mordredmrhillsman: fwiw, we also added some docs about different web deployment options ...12:38
mrhillsmanlooking at the docs now12:39
mordredmrhillsman: https://zuul-ci.org/docs/zuul/admin/installation.html#web-deployment-options12:39
mordredcool12:39
mrhillsmanglad i tried this actually12:39
mrhillsmannot sure folks would have picked up on this change without some pain12:39
mrhillsmanwe update last friday of every month12:40
mordredmrhillsman: yah - in the future we will not make breaking changes like that12:40
*** jpena|lunch is now known as jpena12:41
mordredmrhillsman: although it's good to know you're going a monthly update cadence - that means that if we do a "add new thing, deprecate old thing, later remove old thing" - we probably want to wait at least a month before removing old thing12:42
mrhillsmani think the changelog is a good addition as well12:43
mrhillsmaneven though it does not have this change12:43
mordredyah - we added it as the first thing right after the 3.0 release12:43
mrhillsmanwe can at least check there initially before we do anything12:43
mordred++12:43
mordredwe're hoping to use that to be able to communicate changes more clearly to people12:44
mrhillsmanand it looks like it is just a simple change of the webhook in the app so no need to bother users to approve anything12:45
mordredyah. everything else should be good12:45
*** odyssey4me has quit IRC12:47
*** odyssey4me has joined #zuul12:47
*** pwhalen has quit IRC12:54
mrhillsmani do not remember where i saw this but mordred there was a patch regarding zuul not getting all the data from github13:00
mrhillsmangithub3.exceptions.IncompleteResponse: None The library was expecting more data in the response (KeyError('patch',)). Either GitHub modified it's response body, or your token is not properly scoped to retrieve this information.13:01
mrhillsmando you happen to know the patch that fixes this?13:01
mrhillsmanor is it related to github313:01
*** JasonCL has joined #zuul13:05
*** JasonCL has quit IRC13:06
*** JasonCL has joined #zuul13:07
*** pwhalen has joined #zuul13:07
*** pwhalen has joined #zuul13:07
Shrewscorvus: i have created a test to reproduce the error: 'utf-8' codec can't decode byte 0xe2 in position 1023: unexpected end of data13:07
openstackgerritDavid Shrewsbury proposed openstack-infra/zuul master: WIP: Fix streaming decoding boundaries  https://review.openstack.org/55932613:09
Shrewscorvus: ^^^13:09
*** JasonCL_ has joined #zuul13:10
*** patriciadomin has quit IRC13:10
Shrewsnow to figure out the fix13:11
*** JasonCL has quit IRC13:13
tobiashmrhillsman: that is fixed in github3.py but wairing for a release13:16
mrhillsmani jumped back down from 1.0.213:16
tobiashping jlk for that13:16
mrhillsmanbased on - http://git.zuul-ci.org/cgit/zuul/commit/?h=3.0.0&id=66aae2f42eacb473af2e2ca4a40ec2f12d174e6813:17
mrhillsmanthat resolved it13:18
tobiashthis is the pr that fixes this: https://github.com/sigmavirus24/github3.py/pull/81713:20
* SpamapS fixing reject label/status .. ahh.. zuul dev so much simpler than openstack deploying.. :-P13:29
SpamapStobiash: thanks for that fix btw.. I have it pulled into our env. :)13:30
*** elyezer has joined #zuul13:35
*** JasonCL_ has quit IRC13:36
*** JasonCL has joined #zuul13:37
*** JasonCL has quit IRC13:37
*** JasonCL has joined #zuul13:37
*** JasonCL has quit IRC13:46
*** evrardjp has joined #zuul14:05
evrardjphey14:05
evrardjptristanC: or mordred could you have a look at this https://review.openstack.org/#/c/559313/ ?14:06
openstackgerritClint 'SpamapS' Byrum proposed openstack-infra/zuul master: Make label/status mirrors in reject for github  https://review.openstack.org/55934014:06
evrardjpit would make the mornings less painful.14:06
*** JasonCL has joined #zuul14:10
*** JasonCL has quit IRC14:13
dmsimardtobiash: do you use max-cores/max-ram in nodepool yet ?14:18
*** JasonCL has joined #zuul14:21
*** JasonCL has quit IRC14:23
tobiashdmsimard: no, I just use all14:23
dmsimardtobiash: all ?14:24
tobiashAll nodepool can get ;)14:28
dmsimardtobiash: what does that mean ? max-server instead ?14:28
dmsimardor is there somehow a config that lets nodepool just use whatever it can (without failing on quota errors?)14:29
pabelangermax-server is still a cap, but optional now with quota. So it if was missing, nodepool would use everything in the tenant14:30
pabelangerremoving max-server should do that, what errors are you seeing?14:31
*** JasonCL has joined #zuul14:35
tobiashYes, just don't specify a limit14:37
corvusclarkb: responded on https://review.openstack.org/558643   tobiash, mordred: if you have a moment to review that, i'd appreciate it.  i consider it a pretty important bugfix that we should get out soon to reduce the chances of relying on erroneous behavior.14:37
corvusdmsimard: nodepool now understands several important openstack limits and can avoid quota errors automatically.  it's designed to work with heterogenous instance sizes too.  we're not taking advantage of either of those things yet in openstack-infra.14:40
corvus(though i would very much like to)14:41
*** JasonCL has quit IRC14:41
dmsimardcorvus: right, I remember discussing that with tobiash back in Denver I think -- it's a great feature but I guess my question was.. is the nodepool current default behavior (if lacking max-server/cores/ram config) to just maximize the quotas provided by openstack ?14:42
dmsimardpabelanger: not seeing any errors, inquiring about the feature :)14:42
tobiashdmsimard: yes14:43
dmsimardtobiash: wow nice14:44
dmsimard++14:44
tobiashcorvus: I'm currently on a city trip but can look probably in a few hours14:44
mordredcorvus: it looks great to me14:44
corvustobiash: thx14:44
corvusmordred: thx14:45
corvusmy plan is to get that merged, work on writing the containers spec, then get back to the review backlog next week14:46
pabelangerI think we need to update nodepool for volume quota too. Noticed that in vexxhost with boot-from-volume flag14:47
*** JasonCL has joined #zuul14:48
*** JasonCL has quit IRC14:49
*** JasonCL has joined #zuul14:49
openstackgerritStephen Finucane proposed openstack-infra/zuul-jobs master: Default warning-is-error to True for non-legacy Sphinx projects  https://review.openstack.org/55934814:51
*** JasonCL has quit IRC14:54
openstackgerritStephen Finucane proposed openstack-infra/zuul-jobs master: Default warning-is-error to True for non-legacy Sphinx projects  https://review.openstack.org/55934815:11
*** JasonCL has joined #zuul15:19
dmsimardShrews, corvus: is it possible to update the reason for a held node ?15:19
dmsimard(already held)15:19
*** JasonCL has quit IRC15:20
*** yolanda_ is now known as yolanda15:20
*** JasonCL has joined #zuul15:21
Shrewsdmsimard: no15:21
*** JasonCL has quit IRC15:21
*** JasonCL has joined #zuul15:22
*** JasonCL has quit IRC15:23
*** JasonCL has joined #zuul15:24
*** JasonCL has quit IRC15:24
*** JasonCL has joined #zuul15:25
mrhillsmanman i have to run but going to come back to this, dropping it here for some thoughts15:31
mrhillsmanquestion first15:31
mrhillsmanfor the noop15:31
mrhillsmandoes that go through the executor15:31
mrhillsmanor scheduler handles it15:31
openstackgerritDavid Shrewsbury proposed openstack-infra/zuul master: Fix streaming decoding boundaries  https://review.openstack.org/55932615:33
*** openstackgerrit has quit IRC15:33
Shrewsianw: corvus: ^^ should fix the logging bug15:34
evrardjptristanC: I am not sure what you meant in your review https://review.openstack.org/#/c/559313/, does that prevent a +w ?15:35
evrardjpoh you meant for ease of use15:35
corvusmrhillsman: it stays within the scheduler15:46
clarkbcorvus: I've +2'd role path change. Left one tiny little nit comment but not worth changing15:55
clarkbI didn't approve it as again I think maybe tobias would be a good reviewer to have on it?15:55
corvusclarkb: yeah, tobiash said he should be able to get to it later today15:58
clarkbShrews: comment on https://review.openstack.org/#/c/559326/2 worried, the test could have a race and be flaky depending on timing (suggested a fix though).16:03
*** maeca has quit IRC16:03
Shrewsclarkb: the code you're worried about isn't the code we are testing16:06
Shrewsit's within ZuulWeb itself16:06
Shrewsbut it does make me wonder about the possibility within there16:07
clarkbShrews: I think even then it could buffer n bytes < 102516:07
Shrewsclarkb: but i think that's ok? it should still pass either way (so wouldn't be flakey)16:08
Shrewsi'm not sure how to guarantee that code is ALWAYS reading the max buffer size though16:09
clarkbShrews: the last assert requires that the full file have been read all the way through16:09
clarkbShrews: in which case it would fail if you read less than the 1025 bytes I think16:09
clarkbas for guaranteeing that I think you just have a loop that checks for the buffer size in the client to go higher than 102416:10
clarkbbefore ending the job16:10
Shrewswait... you just confuse dme16:10
clarkbself.assertEqual(file_contents, self.ws_client_results) file_contents will be 1025 bytes (maybe 1026 with a newline)16:11
Shrewsi think maybe we're talking about different things16:11
clarkbbut self.ws_client_results will be some number of bytes between 0 and log_file_size16:11
*** acozine1 has joined #zuul16:11
clarkboh actually where does self.ws_client_results get that data passed to it? its defined as '' initially but I'm not seeing where it gets bigger16:13
Shrewsclarkb: that is filled by the thread. that thread will not end until the entire file contents have been read.16:15
clarkbaha its in self.runWSClient16:15
*** patriciadomin has joined #zuul16:15
clarkbShrews: right but isn't the entire file content determed by how long the job remains running? because if the job stops early it stops streaming16:16
Shrewsclarkb: what job are we stopping early?16:16
clarkbShrews: the one in the test, we stop it before we join the ws thread16:16
clarkbShrews: which means depending on cpu contention and io speed I think you could potentially write say only 1024 bytes or 0 bytes (maybe somewhere in between) then stop the job and no more bytes will be written to the client16:17
Shrewsclarkb: sorry, i do not see where we stop a job16:17
Shrewsit's allowed to run to completion16:18
clarkbShrews: yes, running to completion stops the job16:18
clarkbwe don't forcefully stop it, we let it stop on its own16:18
clarkband iirc once the job stops running no more bytes are written to the streamer16:18
clarkbso depending on whether or not we've read all the bytes at that point the last assert could fail16:19
Shrewsclarkb: streamer reads from the ansible log file16:19
mrhillsmanthx corvus16:21
Shrewsfwiw, this isn't new code. it's an exact copy of the test below it, and it has never been flakey16:21
clarkbShrews: through the logging stream handler so its something like ws_client -> ZuulWeb <- LoggingStreamHandler. The loggingstreamhandler goes away when the job stops16:22
mrhillsmangrabbing some food then I think the rest of my day will be occupied with trying to get this damn executor to execute :)16:22
clarkbif zuulweb hasn't read all the bytes at athat point I think you fail16:22
*** rbergero1 is now known as rbergeron16:22
*** rbergeron has quit IRC16:22
*** rbergeron has joined #zuul16:22
jlktobiash: I'll try to get a release out today16:24
jlkalthough Friday releases are generally bad. So maybe Monday16:25
Shrewsclarkb: LogStreamingHandler does not go away when the job does. It goes away when it finishes reading the entire log file under the log file disappears (which is why we run a job that intentionally halts in the middle... so we can get the file contents16:29
Shrewss/under/until/16:29
clarkbShrews: reading more its the thing logstreamhandler reads from that goes away the actual finger server16:30
clarkbShrews: because when the job stops running the finger server can't read it off of disk anymore as its been cleaned up aiui16:31
clarkbbut maybe thats only if we forcefully stop the job which is why you were asking about that earlier?16:31
clarkb(and would explain my confusion)16:31
Shrewsclarkb: right, which is why we run the playbook that halts for us16:31
clarkbgot it16:31
Shrewsclarkb: http://git.openstack.org/cgit/openstack-infra/zuul/tree/tests/fixtures/config/streamer/git/common-config/playbooks/python27.yaml16:32
*** bhavik1 has joined #zuul16:37
tobiashjlk: yes, monday is probably better16:41
tobiashcorvus: lgtm16:41
*** bhavik1 has quit IRC16:43
*** electrofelix has quit IRC16:50
*** Wei_Liu has quit IRC16:57
*** Wei_Liu1 has joined #zuul16:57
*** Wei_Liu1 is now known as Wei_Liu17:00
*** jpena is now known as jpena|off17:01
*** openstackgerrit has joined #zuul17:04
openstackgerritMerged openstack-infra/zuul master: Add branch to Zuul dashboard  https://review.openstack.org/55931317:04
*** gouthamr has quit IRC17:17
openstackgerritMerged openstack-infra/zuul master: Allow some plugins to read from playbook dir  https://review.openstack.org/55913217:20
*** gouthamr has joined #zuul18:13
*** gouthamr has quit IRC18:13
*** gouthamr has joined #zuul18:14
openstackgerritMerged openstack-infra/zuul master: Check out more appropriate branches of role and playbook repos  https://review.openstack.org/55864318:22
*** logan- has quit IRC18:56
*** logan- has joined #zuul18:56
openstackgerritPaul Belanger proposed openstack-infra/zuul master: Increase unit testing of host / group vars  https://review.openstack.org/55940519:20
openstackgerritPaul Belanger proposed openstack-infra/zuul master: Inventory groups should be under children key  https://review.openstack.org/55940619:20
pabelangermordred: ^noticed that while trying to add groups of groups for zuul inventory files19:22
pabelangerhaving a little issue getting configloader.py working for nested groups, but hopefully figure something out19:23
*** maeca has joined #zuul19:42
openstackgerritPaul Belanger proposed openstack-infra/zuul master: Inventory groups should be under children key  https://review.openstack.org/55940619:59
evrardjpohoh it sems I broke stuff20:56
evrardjpmy bad. hard refresh worked. Have a nice week-end folks!20:57
*** elyezer has quit IRC21:10
*** elyezer has joined #zuul21:16
*** gouthamr has quit IRC21:22
*** pwhalen has quit IRC21:28
*** pwhalen has joined #zuul21:28
*** pwhalen has joined #zuul21:28
openstackgerritClint 'SpamapS' Byrum proposed openstack-infra/zuul master: Make label/status mirrors in reject for github  https://review.openstack.org/55934021:49
openstackgerritClint 'SpamapS' Byrum proposed openstack-infra/zuul master: Make reject a mirror of require for github  https://review.openstack.org/55934021:51
*** nhicher has quit IRC21:55
*** nhicher has joined #zuul21:55

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