Friday, 2017-12-15

*** jkilpatr has joined #zuul00:00
*** lennyb has joined #zuul00:02
*** JasonCL has quit IRC00:04
*** JasonCL has joined #zuul00:20
*** JasonCL has quit IRC00:25
jlkhahahahahahaha00:25
jlkjeblair: so.... github3.py is in the middle of a refactor, that they want to finish before doing a new release.00:25
jlkmy life is porting fucking code around.00:26
jeblairjlk: wow.  maybe i've been watching too much jeremy clarkson, but could you use some heavy machinery to move it around...?00:28
jlkhah00:28
jlkI picked the wrong week to have a "dry week"00:29
jeblairjlk: you have a feel for how long this might be?  like... a couple of weeks... or they're 2 years into a 6 week project?00:29
jlkmore like the latter. https://github.com/sigmavirus24/github3.py/issues/670  about 1 year into a 6 week project00:30
jlkthat ran out of steam. Partially done.00:30
jlkI've picked up one redesign to get a feel for it, as for how long it'd take to finish the rest. I've been on it most of a day and I'm not done...00:30
*** shunde has joined #zuul00:34
shundeHi, if I have a list of nodes to run jobs, can I supply a static list to zuulv3 and not use nodepool?00:35
shunden.b. I know which node a job should  run on, and the node is ready00:37
clarkbshunde: https://review.openstack.org/#/c/468624/ is the current idea. Basically nodepool would register static nodes and broker them via zookeeper00:37
clarkbso zuul speaks the same language regardless of how nodes are provisioned00:37
jeblairmordred: zuul-web restarted, should have the cors headers now00:43
shundeclarkb: thanks, would that be in the next nodepool release? is there a document about how to configure nodepool for zuulv3?00:46
clarkbshunde: yes that is a required feature for the release, so it will be there and willcome with docs00:49
*** jkilpatr has quit IRC00:58
*** JasonCL has joined #zuul01:10
fungircarrillocruz: dire as it is, net neutrality isn't entirely done and dusted yet. now state governors are banding together to overturn the fcc decision, so... stay tuned?01:13
*** JasonCL has quit IRC01:26
jlkoooh! movement. Things are getting merged now on github3.py, and I was granted write access.01:38
mrhillsmanNICE!01:56
mrhillsmansome feedback on the zuulv3 updated dashboard - builds tab does not have pagination so after a certain number of jobs, cannot scroll or visit next page of builds, and is it possible to have an option to hide or by default hide base jobs01:58
*** JasonCL has joined #zuul02:30
*** harlowja has joined #zuul02:41
*** harlowja has quit IRC02:42
*** harlowja has joined #zuul02:43
*** shunde has quit IRC02:44
*** harlowja has quit IRC03:15
*** jappleii__ has joined #zuul03:17
*** jappleii__ has quit IRC03:19
*** jappleii__ has joined #zuul03:19
*** threestrands_ has quit IRC03:20
*** jappleii__ has quit IRC03:56
*** dmellado has quit IRC04:27
*** dmellado has joined #zuul04:35
*** harlowja has joined #zuul04:36
*** harlowja has quit IRC04:45
*** harlowja has joined #zuul05:21
*** harlowja has quit IRC05:22
*** harlowja has joined #zuul05:24
*** harlowja has quit IRC05:29
dmsimardHuh, shippable's CI is based on Ansible too apparently: http://blog.shippable.com/how-to-create-on-demand-test-environments05:37
*** harlowja has joined #zuul05:38
*** harlowja has quit IRC06:32
openstackgerritdongwenjuan proposed openstack-infra/zuul master: use local gearman for merger service  https://review.openstack.org/52816206:39
openstackgerritMerged openstack-infra/zuul-jobs master: Update javascript jobs to take npm_command variable  https://review.openstack.org/52777006:49
*** nguyentrihai has quit IRC08:02
*** xinliang has quit IRC08:32
*** jpena|off is now known as jpena08:43
*** xinliang has joined #zuul08:44
*** hashar has joined #zuul08:55
kklimondaHi, I started seeing this traceback a lot recently: http://paste.openstack.org/show/629030/09:26
kklimondamy working theory is that zuul-merger gets stuck trying to update repository, and somehow job gets aborted? cancelled?09:27
kklimondaand zuul-scheduler is just killing reconfiguration, as all jobs have to be processed in order09:27
kklimondaI see zuul-merger getting stuck during git fetch/pull - there seems to be a bug in gitpython library, where _timeout code that is supposed to kill git process and all its children is not killing grandchildren, and leaving git process in defunct state09:28
kklimondabut I'm not sure how could that bubble up to zuul-scheduler..09:29
*** electrofelix has joined #zuul09:53
openstackgerritAndreas Jaeger proposed openstack-infra/zuul-jobs master: Fix npm-run-test job  https://review.openstack.org/52822410:32
*** baiyi has quit IRC10:34
*** dmellado has quit IRC10:39
*** dmellado has joined #zuul10:44
openstackgerritAndreas Jaeger proposed openstack-infra/zuul-jobs master: Fix npm-run-test job  https://review.openstack.org/52822411:03
*** JasonCL has quit IRC11:26
*** JasonCL has joined #zuul11:27
openstackgerritMerged openstack-infra/zuul-jobs master: Fix npm-run-test job  https://review.openstack.org/52822411:34
*** nguyentrihai has joined #zuul11:38
*** jkilpatr has joined #zuul11:38
Wei_Liuhi11:39
Wei_Liuhello11:39
*** JasonCL has quit IRC11:40
*** JasonCL has joined #zuul11:40
Wei_LiuI found that the when zuul execute ansible playbook, it setup a ansible lib, which cause shell command like "helm serve &" terminated in 10 seconds, can I remove this ansible lib?11:41
*** JasonCL has quit IRC11:42
Wei_LiutristanC: hello11:42
*** JasonCL has joined #zuul11:43
Wei_LiutristanC: Could the zuul execute ansible jobs without /var/lib/zuul/ansible/zuul/ansible/library?11:44
*** JasonCL has quit IRC11:49
*** JasonCL has joined #zuul11:49
*** jkilpatr has quit IRC11:51
*** jkilpatr has joined #zuul11:52
*** JasonCL has quit IRC12:05
*** JasonCL has joined #zuul12:06
*** jkilpatr has quit IRC12:07
Wei_Liuhello, I found that the when zuul execute ansible playbook, it setup a ansible lib, which cause shell command like "helm serve &" terminated in 10 seconds, can I remove this ansible lib?12:08
*** JasonCL has quit IRC12:11
*** nguyentrihai has quit IRC12:12
*** nguyentrihai has joined #zuul12:13
*** nguyentrihai has quit IRC12:18
*** nguyentrihai has joined #zuul12:19
ShrewsWei_Liu: no. zuul installs some modified versions of plugins, callbacks and library modules.12:20
*** JasonCL has joined #zuul12:22
Wei_LiuShrews: How can I execute shell like "helm serve &" in ansible task to make it alive?12:24
openstackgerritAkihiro Motoki proposed openstack-infra/zuul-jobs master: Fix npm-run-test job  https://review.openstack.org/52824412:25
openstackgerritJens Harbott (frickler) proposed openstack-infra/zuul-jobs master: Fix npm-run-test job once more  https://review.openstack.org/52824512:26
ShrewsWei_Liu: are you using the command module to start it? That is one we've modified to capture logging. It may not work for that use case. Maybe using 'shell' will work for you?12:28
Wei_LiuShrews: I used "shell", it didn't work12:29
Wei_LiuShrews: I try to copy a shell script file to node and execute it, hope it works12:31
Shrewsjeblair: mordred: anything about background processes in job playbooks that might confuse zuul?12:34
*** yolanda__ has joined #zuul12:36
*** flepied_ has joined #zuul12:43
*** flepied has quit IRC12:47
openstackgerritMerged openstack-infra/zuul-jobs master: Fix npm-run-test job  https://review.openstack.org/52824412:52
*** jpena is now known as jpena|lunch12:55
tobiashWei_Liu: you need to daemonize it12:55
tobiashfor that you could use e.g. http://manpages.ubuntu.com/manpages/precise/de/man8/start-stop-daemon.8.html12:55
tobiashor install it as a systemd unit and start the service12:56
tobiashdepends on your use case12:56
tobiashI used start-stop-daemon for starting a resource monitoring tool on the start of the build12:57
Wei_Liutobiash: cool, thanks. I will try it.12:57
tobiashWei_Liu: example: http://paste.openstack.org/show/629047/13:00
*** dkranz has joined #zuul13:19
*** JasonCL has quit IRC13:19
openstackgerritFabien Boucher proposed openstack-infra/zuul feature/zuulv3: Git driver  https://review.openstack.org/52561413:33
fbo_Hi, regarding gerrit/github connections there is a maintainCache method defined but it seems it is never called. maintainConnectionCache call in the scheduler is commented. Is it normal ?13:51
*** jpena|lunch is now known as jpena13:58
dmsimardrcarrillocruz: oh wow your ansible-container zuul stuff is actually pretty cool13:59
gundalow\o/14:00
dmsimardrcarrillocruz: I think some of those bits could be made easier if you used the packaged software factory repo14:01
dmsimardeverything from zuul to nodepool and zookeeper is there: http://38.145.34.53/kojifiles/repos/sf-2.7-el7-release/source/SRPMS/14:02
dmsimardwell, here actually: http://38.145.34.53/kojifiles/repos/sf-2.7-el7-release/Mash/14:02
tobiashfbo_: this method is a relict of v2 and broken with v314:27
tobiashfbo_: see https://review.openstack.org/#/c/502121/ and the change it reverts14:28
tristanCdmsimard: rcarrillocruz: actually to install sf zuul package, you better do: yum install http://softwarefactory-project.io/repos/sf-release-2.7.rpm && yum install rh-python35-zuul zookeeper-lite14:29
fbo_tobiash: alright so it means the cache of changes for the gerrit driver will grow until the scheduler is restarted14:31
tobiashfbo_: currently yes14:45
fbo_tobiash: thanks for the explanation, I think we can keep the maintainCache method in git driver too then it should work when re-activated later.14:47
*** openstackgerrit has quit IRC14:48
tobiashfbo_: sounds ok14:52
*** openstackgerrit has joined #zuul14:57
openstackgerritMonty Taylor proposed openstack-infra/zuul feature/zuulv3: Use yarn and webpack to manage status and streaming  https://review.openstack.org/48753814:57
openstackgerritMonty Taylor proposed openstack-infra/zuul feature/zuulv3: Add babel transpiling enabling use of ES6 features  https://review.openstack.org/52829514:57
openstackgerritMonty Taylor proposed openstack-infra/zuul feature/zuulv3: Add StandardJS linting and analysis  https://review.openstack.org/52829614:57
openstackgerritMonty Taylor proposed openstack-infra/zuul feature/zuulv3: Fix StandardJS warnings and turn them to errors  https://review.openstack.org/52829714:57
openstackgerritMonty Taylor proposed openstack-infra/zuul feature/zuulv3: Add bundle analysis to the lint target  https://review.openstack.org/52829814:57
openstackgerritMerged openstack-infra/zuul-jobs master: Revert "Revert "Add sphinx_python variable to sphinx role and job""  https://review.openstack.org/52666614:59
*** myoung is now known as myoung|training15:00
jeblairkklimonda: what version of gitpython are you using?15:05
clarkbWei_Liu: Shrews & is a shell construct. command likely will enver work with that even with vanilla ansible as command isn't going to expand shell things15:06
jeblairkklimonda: however, i suspect that even if the timeout isn't working quite right, it's working well enough to finish the gearman job and return control to zuul, but the scheduler has no error handling there.  so we probably need to handle that case and perhaps retry.15:06
kklimonda@jeblair I believe I have your temporary fork installed - I have the commit from the tip15:07
jeblairkklimonda: ok.  both issues are probably worth looking into (better cleanup on timeout kill, and error handling on job return), but i think they're separate.15:08
kklimondayou are most likely correct, the kill goes through after all, just leaving some processes around15:10
clarkbShrews: jeblair: so before shrews takes off on vacation, did we want to do anything more for that nodepool thing I patched? maybe drop the exception handling from poll() and just do it in the handler cleanup?15:10
*** harlowja has joined #zuul15:11
*** harlowja has quit IRC15:13
*** JasonCL has joined #zuul15:14
Shrewsclarkb: I think what you have is perfect. We *probably* don't need the handling in poll() now, but it certainly doesn't hurt to leave it15:14
Shrewsclarkb: I'm only around for a couple of more hours, so poke my brain now if you need to  :)15:15
clarkbShrews: ok, just wanted to make sure there wasn't some piece we needed to change then would forget about15:15
clarkb(I'm fine with it as is too)15:15
*** ricky_at_rh_madr has joined #zuul15:15
Shrewsclarkb: I do think we should restart the launchers to grab it, but we've also merged a new feature with the quota stuff, so that complicates it a bit15:16
jeblairclarkb: yeah.  i'm less itchy about the 'unecessary' exception handler now that we think it shouldn't be used.  i could go either way.15:17
*** JasonCL has quit IRC15:18
*** JasonCL has joined #zuul15:18
*** electrofelix has quit IRC15:19
clarkbWei_Liu: Shrews as for why & doesn't work with shell either the reason is & background a process that is still parented to the current shell. My hunch is that once that shell goes away at the end of the module execution the shell cleans up its children and it doesn't reparent to init. So tobiash is correct you will need to daemonize it15:19
openstackgerritTobias Henkel proposed openstack-infra/zuul feature/zuulv3: Correctly use project name in getGitUrl  https://review.openstack.org/52830915:38
openstackgerritTobias Henkel proposed openstack-infra/zuul feature/zuulv3: Initialize github auth in getGitUrl if needed  https://review.openstack.org/52831015:38
openstackgerritTobias Henkel proposed openstack-infra/zuul feature/zuulv3: Use configured github server in app mode  https://review.openstack.org/52831115:38
openstackgerritTobias Henkel proposed openstack-infra/zuul feature/zuulv3: Fix github app authentication in _getNeededByFromPR  https://review.openstack.org/52831215:38
openstackgerritTobias Henkel proposed openstack-infra/zuul feature/zuulv3: Add the project to GithubUser  https://review.openstack.org/52831315:38
tobiashjlk, SpamapS: this is a first stack to make github apps working on github enterprise ^^15:39
tobiashwith that I had working gating for a first test pull request15:39
tobiashnote that this is without any tests yet15:44
mordredtobiash: https://review.openstack.org/#/c/528311/ - +2 with a comment15:49
tobiashmordred: good point15:53
tobiashHad a quick hack/deploy/tryout cycle and cut the changes into pieces afterwards15:54
tobiashSo I'm sure there's room for improvement ;)15:54
clarkbtobiash: did you see that shrews thought he had tracked down that nodepool issue yesterday?15:55
tobiashclarkb: yes15:55
*** flepied has joined #zuul16:11
*** flepied_ has quit IRC16:12
SpamapShttps://engineering.instagram.com/let-your-code-type-hint-itself-introducing-open-source-monkeytype-a855c728488116:23
*** hashar has quit IRC16:35
openstackgerritTobias Henkel proposed openstack-infra/zuul feature/zuulv3: Correctly use project name in getGitUrl  https://review.openstack.org/52830916:36
openstackgerritAndreas Jaeger proposed openstack-infra/zuul-jobs master: npm-test needs xvfb etc  https://review.openstack.org/52832916:40
openstackgerritAndreas Jaeger proposed openstack-infra/zuul-jobs master: npm-test needs xvfb etc  https://review.openstack.org/52832916:42
openstackgerritJames E. Blair proposed openstack-infra/zone-zuul-ci.org master: Initial commit  https://review.openstack.org/52833116:42
jlktobiash: woo, I'll look later today. I'm deep in some github3.py refactoring16:47
*** ricky_at_rh_madr has quit IRC16:58
openstackgerritTobias Henkel proposed openstack-infra/zuul feature/zuulv3: Initialize github auth in getGitUrl if needed  https://review.openstack.org/52831017:02
openstackgerritTobias Henkel proposed openstack-infra/zuul feature/zuulv3: Use configured github server in app mode  https://review.openstack.org/52831117:02
openstackgerritMonty Taylor proposed openstack-infra/zuul feature/zuulv3: Use yarn and webpack to manage status and streaming  https://review.openstack.org/48753817:02
openstackgerritMonty Taylor proposed openstack-infra/zuul feature/zuulv3: Add babel transpiling enabling use of ES6 features  https://review.openstack.org/52829517:02
openstackgerritMonty Taylor proposed openstack-infra/zuul feature/zuulv3: Add StandardJS linting and analysis  https://review.openstack.org/52829617:03
openstackgerritMonty Taylor proposed openstack-infra/zuul feature/zuulv3: Fix StandardJS warnings and turn them to errors  https://review.openstack.org/52829717:03
openstackgerritMonty Taylor proposed openstack-infra/zuul feature/zuulv3: Add bundle analysis to the lint target  https://review.openstack.org/52829817:03
openstackgerritTobias Henkel proposed openstack-infra/zuul feature/zuulv3: Fix github app authentication in _getNeededByFromPR  https://review.openstack.org/52831217:05
openstackgerritTobias Henkel proposed openstack-infra/zuul feature/zuulv3: Add the project to GithubUser  https://review.openstack.org/52831317:05
openstackgerritAndreas Jaeger proposed openstack-infra/zuul-jobs master: npm-test needs xvfb etc  https://review.openstack.org/52832917:07
*** jpena is now known as jpena|off17:08
openstackgerritMerged openstack-infra/zuul-jobs master: Install yarn if needed in javascript jobs  https://review.openstack.org/52777117:11
openstackgerritTobias Henkel proposed openstack-infra/zuul feature/zuulv3: Use configured github server in app mode  https://review.openstack.org/52831117:16
openstackgerritTobias Henkel proposed openstack-infra/zuul feature/zuulv3: Fix github app authentication in _getNeededByFromPR  https://review.openstack.org/52831217:16
openstackgerritTobias Henkel proposed openstack-infra/zuul feature/zuulv3: Add the project to GithubUser  https://review.openstack.org/52831317:16
openstackgerritAndreas Jaeger proposed openstack-infra/zuul feature/zuulv3: Use python3 for docs publication  https://review.openstack.org/52571817:18
openstackgerritAndreas Jaeger proposed openstack-infra/zuul feature/zuulv3: Update sphinx jobs to use python3  https://review.openstack.org/52569017:31
openstackgerritAndreas Jaeger proposed openstack-infra/zuul-jobs master: npm-test needs xvfb etc  https://review.openstack.org/52832917:54
tobiashjeblair: found a doc typo in https://review.openstack.org/#/c/527805/217:55
tobiashlgtm othereise17:55
tobiashotherwise17:55
jeblairtobiash: ok if i fix that in a followup to preserve the +2 ?17:57
tobiashfine for me17:57
* mordred was just goign to suggest the same thing17:58
openstackgerritJames E. Blair proposed openstack-infra/zuul feature/zuulv3: Fix doc typo  https://review.openstack.org/52836117:58
openstackgerritMerged openstack-infra/zuul feature/zuulv3: Update sphinx jobs to use python3  https://review.openstack.org/52569018:14
openstackgerritMerged openstack-infra/zuul feature/zuulv3: Add implied-branches pragma directive  https://review.openstack.org/52780518:14
openstackgerritMerged openstack-infra/zuul feature/zuulv3: Add debug project-pipeline option  https://review.openstack.org/52782818:14
openstackgerritMerged openstack-infra/zuul-jobs master: npm-test needs xvfb etc  https://review.openstack.org/52832918:22
openstackgerritMerged openstack-infra/zuul feature/zuulv3: Fix doc typo  https://review.openstack.org/52836118:30
openstackgerritTobias Henkel proposed openstack-infra/zuul feature/zuulv3: Add support for protected jobs  https://review.openstack.org/52298518:31
openstackgerritMonty Taylor proposed openstack-infra/zuul feature/zuulv3: Add babel transpiling enabling use of ES6 features  https://review.openstack.org/52829518:32
openstackgerritMonty Taylor proposed openstack-infra/zuul feature/zuulv3: Add StandardJS linting and analysis  https://review.openstack.org/52829618:32
openstackgerritMonty Taylor proposed openstack-infra/zuul feature/zuulv3: Fix StandardJS warnings and turn them to errors  https://review.openstack.org/52829718:32
openstackgerritMonty Taylor proposed openstack-infra/zuul feature/zuulv3: Add bundle analysis to the lint target  https://review.openstack.org/52829818:32
openstackgerritAndreas Jaeger proposed openstack-infra/zuul-jobs master: translations: Check for translation-source first  https://review.openstack.org/52836918:56
*** smyers has joined #zuul18:57
openstackgerritMonty Taylor proposed openstack-infra/zuul feature/zuulv3: Fix StandardJS warnings and turn them to errors  https://review.openstack.org/52829719:15
openstackgerritMonty Taylor proposed openstack-infra/zuul feature/zuulv3: Add bundle analysis to the lint target  https://review.openstack.org/52829819:15
openstackgerritMonty Taylor proposed openstack-infra/zuul feature/zuulv3: Fix source_url handling for jobs view  https://review.openstack.org/52837319:15
openstackgerritMonty Taylor proposed openstack-infra/zuul feature/zuulv3: Make bundle of build web content  https://review.openstack.org/52837419:15
mordredjeblair: fwiw, the stack above is *close* to being ready for review - I'm still seeing a difference in behavior between gate and my laptop that I'm trying to track down19:16
mordrednamely - http://localhost/builds.html?source_url=http:%2F%2Fzuulv3.openstack.org works fine but http://logs.openstack.org/98/528298/3/check/zuul-npm-build/615cdb5/web/builds.html?source_url=http:%2F%2Fzuulv3.openstack.org is empty19:17
mordredso - you know - once I've got that sorted, it should be good and stuff19:19
jeblairmordred: tenant=web ?19:19
jeblairmordred: http://zuulv3.openstack.org/builds.json?tenant=web19:19
mordredah - nod.19:19
mordredjeblair: thanks! that makes sense - will work on fixing19:20
jeblairyay i helped!19:20
mordredjeblair: have I mentioned how much I like the whole "publish the web app to the build logs and point it to the live api service" thing?19:21
jeblairi'm a fan19:22
openstackgerritJames E. Blair proposed openstack-infra/zone-zuul-ci.org master: Initial commit  https://review.openstack.org/52833119:32
*** smyers has quit IRC19:38
mmedvedejeblair: I am out next week in case puppet-openstackci zuulv3 comes up then. I have been updating https://storyboard.openstack.org/#!/story/2001367 with related patches.19:47
jeblairmmedvede: oh thanks!  if we work on that, we'll probably just update your patches then, if that's okay.19:48
jeblairmmedvede: are you out through the rest of the year?19:48
mmedvedejeblair: of course feel free to update! I hope the direction I took it is not too much from what you had in mind19:49
mmedvedejeblair: I am out until the day after christmas19:49
mmedvedeI am trying to deploy my little zuulv3 allinone node as I go. So far struggling with apache2 rewrites for zuul-web19:50
*** hashar has joined #zuul19:53
jeblairmmedvede: yeah, that's still in flux.  it'll be better soon19:57
*** JasonCL has quit IRC19:58
*** JasonCL has joined #zuul20:01
*** JasonCL has quit IRC20:06
*** JasonCL has joined #zuul20:19
*** jkilpatr has joined #zuul20:21
openstackgerritMonty Taylor proposed openstack-infra/zuul feature/zuulv3: Fix source_url handling for jobs view  https://review.openstack.org/52837320:22
openstackgerritMonty Taylor proposed openstack-infra/zuul feature/zuulv3: Fix StandardJS warnings and turn them to errors  https://review.openstack.org/52829720:22
openstackgerritMonty Taylor proposed openstack-infra/zuul feature/zuulv3: Add bundle analysis to the lint target  https://review.openstack.org/52829820:22
openstackgerritMonty Taylor proposed openstack-infra/zuul feature/zuulv3: Make bundle of build web content  https://review.openstack.org/52837420:22
*** flepied has quit IRC20:35
openstackgerritMonty Taylor proposed openstack-infra/zuul feature/zuulv3: Make bundle of build web content  https://review.openstack.org/52837420:38
*** openstackgerrit has quit IRC20:48
*** flepied has joined #zuul20:51
*** openstackgerrit has joined #zuul20:52
openstackgerritMonty Taylor proposed openstack-infra/zuul feature/zuulv3: Add bundle analysis to the lint target  https://review.openstack.org/52829820:52
openstackgerritMonty Taylor proposed openstack-infra/zuul feature/zuulv3: Make bundle of build web content  https://review.openstack.org/52837420:52
mordredhttp://logs.openstack.org/98/528298/5/check/zuul-npm-build/7b101c2/web/status.html?source_url=http://zuulv3.openstack.org http://logs.openstack.org/98/528298/5/check/zuul-npm-build/7b101c2/web/builds.html?source_url=http:%2F%2Fzuulv3.openstack.org and http://logs.openstack.org/98/528298/5/check/zuul-npm-build/7b101c2/web/jobs.html?source_url=http:%2F%2Fzuulv3.openstack.org all work - and20:54
mordredhttp://logs.openstack.org/98/528298/5/check/nodejs-npm-run-lint/991ef87/npm/reports/bundle.html shows a nice little report on bundle contents20:54
mordredjeblair: ^^20:54
mordredjeblair: also - the webpack flow is generating "map" files for the minified results - so if you open developer console in a web browser and get error messages or use the debugger or anything, it'll link you to readable source code, rather than minified junk20:55
mordredso http://logs.openstack.org/98/528298/5/check/zuul-npm-build/7b101c2/web/status.bundle.js is the minified bundle, but next to it is http://logs.openstack.org/98/528298/5/check/zuul-npm-build/7b101c2/web/status.bundle.js.map - which has the source and mapping info but is only loaded when a browser asks for it20:58
*** JasonCL has quit IRC21:06
*** smyers has joined #zuul21:06
*** smyers has quit IRC21:09
*** smyers has joined #zuul21:12
*** openstackgerrit has quit IRC21:18
jeblairmordred: sweet! thanks!21:23
jeblairmordred: i'm thinking i'll jump into that stack for real first thing next week21:23
mordredjeblair: I was just thinking about writing a mailing list "so there's this stack - some suggestions on how to approach it" message21:23
mordredjeblair: tires to kick, hoods to look under, teeth to count, etc21:24
jeblairmordred: cool.  i'll probably read that next week if you do.  :)  i'm too friday brained to start something like that now, but it sounds like it would be helpful.21:24
jeblairmordred: may also help you remember what you were thinking in your fevered delirium.  ;)21:24
mordredjeblair: oh - yah - definitely don't try to start in on it on a friday unless your assessment of it is going to be limited to "the status page in the build logs looks correct"21:25
mordredjeblair: heh. there's no chance of that :)21:25
*** smyers has quit IRC21:29
*** smyers has joined #zuul21:33
*** dkranz has quit IRC21:38
dmsimardI was pulling data from RDO's Zuul SQL reporter to get some minimal metrics -- I did some of it manually but in case you're curious: https://i.imgur.com/r276T9j.png21:42
dmsimardIt dwarfs the numbers from zuulv3.o.o :)21:45
jeblairdmsimard: which numbers?21:46
*** JasonCL has joined #zuul21:47
dmsimardjeblair: the amount of jobs21:47
dmsimardjeblair: as in, zuul's RDO is pretty small in comparison21:47
mordreddmsimard: 21k jobs in a month? I think I remember back when we only ran 21k jobs / month :)21:47
jeblairdmsimard: oh i think i misunderstood the direction of dwarfing :)21:47
dmsimardmordred: yeah, and that growth pattern you see is TripleO moving their jobs off of RH1 as third party from review.rdo21:48
mordreddmsimard: I like the rise in average compute time per job from august to november21:48
dmsimardmordred: tripleo explains the raise in avg job time, yes :)21:48
mordreddmsimard: tripleo. the cause of and solution to all life's problems.21:49
mordreddmsimard: wait - I think that's supposed to be s/tripleo/alcohol/21:49
dmsimardjeblair, mordred: do you mind if I get those same numbers from zuulv3.o.o ? It's a fairly simple query: SELECT job_name,result,start_time,end_time,timediff(end_time,start_time) as delta FROM zuul_build WHERE start_time BETWEEN '2017-08-01 00:00:00' AND '2017-08-31 23:59:59';21:50
*** dkranz has joined #zuul21:51
mordreddmsimard: sure, I don't think that's problematic21:52
mordreddmsimard: if you fleshed it out a little, it might be useful to calculate average build time both including and not including aborted jobs21:52
dmsimarddon't get me started on implementing a full fledged dashboard/table on the new zuul dashboard :P21:54
pabelangerdmsimard: you should be able to setup a query in http://graphite.openstack.org/ with statsd21:55
pabelangerhttp://grafana.openstack.org/dashboard/db/zuul-status today renders jobs launched an hour21:55
dmsimardoh that's right, graphite is probably more convenient than SQL21:55
dmsimardwe don't have graphite in RDO (yet)21:55
pabelangerwould likely update that to over 30d21:55
dmsimardpabelanger: yeah, the numbers I was looking for was totals21:55
dmsimardI can probably work something out for totals21:56
pabelangerthink you can get totals from graphite21:56
pabelangercannot remember the function21:56
dmsimardI could look it up21:57
pabelangerif math is right, in November we did ~260k jobs22:01
pabelangersummarize(sumSeries(stats_counts.zuul.tenant.openstack.pipeline.*.all_jobs), '1d')22:02
pabelangerselect date range22:02
pabelangerin graphite.o.o22:02
dmsimardzuul_build shows 325865 for november22:02
dmsimardmaybe there's a distinction between the data you pulled up and mine -- i.e, executor builds vs buildsets? or something22:03
dmsimardclarkb: how did you pull up the job numbers/compute time back in denver ?22:11
clarkbdmsimard: it was a scan of the nodepool logs using a script that jeblair gave me22:19
clarkbdmsimard: I don't think it will work anymore due to the new nodepool stuff for zuulv322:19
jeblairyeah, though i think we could probably recreate that with sql queries (similar to what dmsimard has started)22:20
clarkboh right with the sql reporter we should have all that info22:24
clarkbjob name, start stop time, do we have number of nodes requested?22:24
clarkbnumber of nodes requested was actually the tricky bit last time because there are a non trivial number of multinode jobs now22:24
dmsimardclarkb: hmm let me see22:24
dmsimardclarkb: not in zuul afaict, maybe we can cross reference with the nodepool database if the data is available there http://paste.openstack.org/raw/629091/22:27
*** myoung|training is now known as myoung22:32
dmsimardclarkb: there's no date data in the nodepool database so hard to correlate22:33
clarkbdmsimard: ya you might need to build a nodeset to job name mapping out of the config itself maybe22:34
dmsimardoh, wait, there is -- 149519142322:34
jeblairclarkb: yep.  that's a hole.  we should figure out how to put info like that in the sql db.22:34
dmsimardstate_time22:34
jeblairclarkb: but we should anticipate differently sized nodes, so a simple node count isn't really sufficent.  we probably need a list of labels.  so that's either an arbitrarily long string (could go with that and be best effort), or another table + join.22:35
dmsimardjeblair: that data might not be necessary if there's a way to correlate nodes from nodepool to zuul ? like if zuul passed a buildset uuid and nodepool recorded that X and Y nodes were assigned to that buildset22:35
jeblairor we could aggregate: node_count, node_cpu_count, node_ram, etc -- if we change nodepool to give that data back to zuul22:36
jeblairdmsimard: nodepool's database is ephemeral, so you'd have to correlate with logs22:36
dmsimardjeblair: is it ? I mean, it's mysql22:36
jeblairdmsimard: in any version it's ephemeral, nodes are deleted from db when they are gone.  in v3 it's zk not mysql.22:37
dmsimardoh, right22:37
clarkbjeblair: good point22:38
*** hashar has quit IRC22:43
*** openstackgerrit has joined #zuul23:19
openstackgerritMonty Taylor proposed openstack-infra/zuul feature/zuulv3: Remove use strict  https://review.openstack.org/52843723:19

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