Thursday, 2018-06-28

openstackgerritMerged openstack-infra/zuul master: gerrit: cast change and patchset numbers to str  https://review.openstack.org/57715400:09
tristanCdmsimard: could you please have a look to https://review.openstack.org/577676, it's about using ara_report_path00:16
*** yolanda_ has joined #zuul01:05
openstackgerritMerged openstack-infra/zuul-jobs master: ara-report: use a different fact name for ara_report_path  https://review.openstack.org/57767601:08
*** yolanda has quit IRC01:08
*** yolanda has joined #zuul01:09
*** yolanda_ has quit IRC01:11
*** yolanda_ has joined #zuul01:13
*** yolanda has quit IRC01:16
*** yolanda__ has joined #zuul01:19
*** yolanda_ has quit IRC01:22
*** rlandy has quit IRC01:33
pabelangerclarkb: yes, different pools for different max-servers, and to consolidate resources into a single cloud01:54
pabelanger(project)01:54
*** Shrews has quit IRC02:00
dmsimardtristanC: good catch02:44
openstackgerritTristan Cacqueray proposed openstack-infra/nodepool master: builder: do not configure provider that doesn't manage images  https://review.openstack.org/57864203:35
*** nguyenhai has left #zuul04:32
*** nchakrab has joined #zuul05:20
*** nchakrab has quit IRC05:23
*** openstackgerrit has quit IRC05:34
*** openstackstatus has quit IRC05:51
*** openstackstatus has joined #zuul05:54
*** ChanServ sets mode: +v openstackstatus05:54
*** yolanda__ is now known as yolanda05:59
*** nchakrab has joined #zuul06:03
*** gtema has joined #zuul06:11
*** aspiers[m] has quit IRC06:40
*** aspiers[m] has joined #zuul06:41
*** openstackgerrit has joined #zuul07:08
openstackgerritTristan Cacqueray proposed openstack-infra/zuul master: executor: add executing job INFO log  https://review.openstack.org/57870407:08
*** pcaruana has joined #zuul07:10
*** yolanda_ has joined #zuul07:35
*** yolanda is now known as Guest6344807:37
*** yolanda_ is now known as yolanda07:37
*** Guest63448 has quit IRC07:38
*** jpena|off is now known as jpena07:44
*** hashar has joined #zuul07:44
*** nchakrab_ has joined #zuul07:54
*** nchakrab has quit IRC07:56
*** threestrands has joined #zuul08:06
*** sshnaidm is now known as sshnaidm|afk08:09
*** threestrands has quit IRC08:13
*** electrofelix has joined #zuul08:15
*** nchakrab_ has quit IRC08:30
*** nchakrab has joined #zuul09:00
*** nchakrab has quit IRC09:04
*** nchakrab has joined #zuul09:07
*** nchakrab has quit IRC09:30
*** nchakrab has joined #zuul10:39
*** sshnaidm|afk is now known as sshnaidm10:58
*** jpena is now known as jpena|lunch10:59
*** nchakrab has quit IRC11:05
*** elyezer has quit IRC11:06
*** nchakrab has joined #zuul11:12
*** elyezer has joined #zuul11:18
*** nchakrab has quit IRC11:27
*** nchakrab has joined #zuul11:28
*** nchakrab has quit IRC11:36
openstackgerritFabien Boucher proposed openstack-infra/zuul master: Add tenant yaml validation option to scheduler  https://review.openstack.org/57426511:39
*** pcaruana has quit IRC11:56
*** jpena|lunch is now known as jpena11:56
*** rlandy has joined #zuul12:13
*** rlandy is now known as rlandy|afk12:40
*** pcaruana has joined #zuul12:44
goernhmm.. how do I include the default openstack zuul jobs in my zuul instance?! :)13:02
*** myoung|pto has quit IRC13:03
*** _ari_ has quit IRC13:03
*** _ari_ has joined #zuul13:04
*** myoung has joined #zuul13:04
fungigoern: https://zuul-ci.org/docs/zuul-jobs/install.html13:27
fungiis that what you're looking for?13:27
fungigoern: oh, you're asking about the content of the openstack-zuul-jobs repository rather the zuul-jobs repository? basically the same except you need git.openstack.org and the openstack-infra/openstack-zuul-jobs project13:29
*** Shrews has joined #zuul13:34
openstackgerritTobias Henkel proposed openstack-infra/zuul master: Remove credentials from urls in merger log  https://review.openstack.org/57880313:45
tobiashfungi, corvus: what do you think about having credentials in service logs?13:46
tobiashwe noticed that the merger logs the github access tokens used in the git remote url which is pretty bad in our case as we have a check config job that runs zuul on all repos13:46
*** rlandy|afk is now known as rlandy13:50
mordredtobiash: I think we should not have credentials in service logs - also, I think we've been conservative about making service logs more available because we're not sure that we aren't leaking anything in to them14:05
tobiashmordred: we're also not making them available except in the check-config job where we need to ;)14:09
mordred:)14:11
ShrewstristanC: i think i see the cause of the problem you encountered14:17
goernfungi, and that is added to zuul and will make the openstack jobs generally available?!14:18
fungigoern: yes, that would make the jobs, playbooks and roles defined in the openstack-infra/openstack-zuul-jobs repository available. it would not include those defined in openstack-infra/project-config however14:19
funginor would it include jobs defined in the repositories of individual projects14:20
goernfungi, got that, thx14:20
fungiso, for example, if you wanted devstack jobs you would need to track the openstack-dev/devstack configuration14:20
fungias that is where devstack-based jobs are defined14:21
*** weshay|ruck has quit IRC14:27
*** _ari_ has quit IRC14:27
*** _ari_ has joined #zuul14:28
*** weshay has joined #zuul14:28
*** CrayZee has joined #zuul14:33
*** weshay has quit IRC14:37
*** myoung has quit IRC14:37
*** _ari_ has quit IRC14:37
*** pabelanger has quit IRC14:37
*** weshay has joined #zuul14:38
*** pabelanger has joined #zuul14:38
*** _ari_ has joined #zuul14:38
*** myoung has joined #zuul14:44
openstackgerritMerged openstack-infra/zuul master: Remove credentials from urls in merger log  https://review.openstack.org/57880314:44
openstackgerritMonty Taylor proposed openstack-infra/zuul master: Consolidate navigation functions  https://review.openstack.org/57838514:46
mordredtristanC: ^^ I'm curious to know if that works with your suburl deployment too14:47
openstackgerritDavid Shrewsbury proposed openstack-infra/nodepool master: WIP: Fix for pools with diff labels  https://review.openstack.org/57883114:49
ShrewstristanC: ^^ above should correct the issue you see (please verify for me), but I need to figure out how to test that (which is a bit tricky)>14:50
ShrewsIs anyone else having IRC issues the past couple of days? I am continually getting disconnected14:57
funginot me14:58
fungiwell, not with freenode anyway14:58
Shrewsyeah, freenode is what i meant14:58
fungii've been getting a lot of disconnects with oftc but freenode's been fine14:58
Shrewsmaybe i should rebuild my bouncer14:59
*** CrayZee is now known as snapiri-15:00
*** Shrews has quit IRC15:20
*** Shrews has joined #zuul15:26
Shrewsfungi: do you connect to chat.freenode.net? or do you connect to a specific server? half of my pings to chat.f.n result in packet loss, i guess depending on which server it resolves to15:34
fungifreenode.addresses = "chat.freenode.net/6697"15:35
fungiover ipv615:35
fungifrom a shell server in rax-iad15:35
Shrewsi see it happen on my vexxhost bouncer and my local laptop15:36
Shrewsfrustrating15:36
fungilooks like i'm currently hitting wilhelm.freenode.net15:36
fungiand you're on moon.freenode.net15:36
Shrewsyeah. i dunno what's going on15:39
openstackgerritMerged openstack-infra/zuul master: Don't add implied branch matchers to project-pipeline variants  https://review.openstack.org/57788115:39
openstackgerritJames E. Blair proposed openstack-infra/zuul master: Fix typos in docs  https://review.openstack.org/57885415:44
corvusi'm on orwell over ipv415:44
*** Shrews has quit IRC15:45
*** Shrews has joined #zuul15:47
Shrews*sigh*15:48
pabelangerare we on track for zuul 3.1.1 today / tomorrow? Or looking more like next week? Wouldn't mind a release to pick up new HDD sensors for executor15:49
corvusShrews: i'm on orwell over ipv415:50
clarkbShrews: if connectes via ipv6 maybe try ipv4 or vice versa?15:50
corvuspabelanger: i'd like to let the js stuff land again, then restart all of openstack, then release.  could happen tomorrow.  maybe next week.15:51
corvus(but as of now, we haven't restarted the executors in a while)15:52
*** hashar is now known as hasharAway15:52
pabelangercorvus: wfm mostly curious what else we wanted to do for 3.1.1, thanks!15:52
clarkbcorvus: mordred is the js stuff ready for review again?15:52
corvusShrews: regarding containers spec -- yes, i was thinking the same thing about the nodepool bits being handwavey.  do you think we should expand on that a bit more in the spec now, or do you think we should say the spec sufficiently articulates our shared intention, and try out options in changes/code review?15:54
mordredclarkb: I thought so - but just found another failure in local test15:54
Shrewscorvus: well, i don't think we need to go too deep, but maybe similarly as deep as the zuul parts you've outlined.15:58
Shrewscorvus: "nodepool would need to create the requested container" ... do you have a particular ansible module in mind?15:59
Shrewsor some other method?15:59
Shrewssame for k8s service15:59
corvusShrews: i'm assuming we'd use the oc (openshift) library -- it seems simple enough and is what the ansible modules use, and works with openshift and k8s.  but i don't have a strong opinion on that (whatever gets the job done).  i can add that in there.16:02
Shrewszuul seems to depend on kubectl quite a bit in the spec, so that's at least some detail that nodepool doesn't have similarly mentioned16:02
Shrews(if those words make sense)16:02
corvusyep16:02
corvusShrews: the thing i'm least sure about is what it should look like to create a k8s namespace (our first non-node thing).  should we just use a label for that, or should we create an entirely new concept?16:03
corvusShrews: i'm inclined to say "lets start with just using labels and see how far we get with that"16:03
Shrewscorvus: yeah, i can't answer that since i'm pretty k8s ignorant. i guess i should spend some time learning it16:03
Shrewswhich i guess is the main reason why i'd like to see a bit more detail so i'd know where to start16:04
corvusok.  i'll add a little more detail to flesh out these areas.  thanks.16:04
corvusi should be able to do that today/tomorrow and maybe we can shift into really thinking about this next week.  or maybe just have beer and hotdogs.16:05
Shrewsthe 2nd thing16:05
mordredin case anyone was wondering - in javascript, [''].join('/') returns '' not '/'16:05
corvusya16:05
Shrewsmordred: get outta muh head!16:06
openstackgerritMonty Taylor proposed openstack-infra/zuul master: Consolidate navigation functions  https://review.openstack.org/57838516:07
corvusin python, '/'.join(['']) returns ''16:07
mordredcorvus: yah16:07
mordredit's a reasonable thing to return16:07
corvusit's still backwards land, but at least it doesn't return 'True' :)16:08
mordredit's just that return path.split('/').slice(0, -1).join('/') doesn't actually return / if you had a short url16:08
corvus[''].join('/')  ->  OK16:08
mordredreturn path.split('/').slice(0, -1).join('/') || '/' ... on the other hand, does16:08
mordredclarkb, corvus: ok - https://review.openstack.org/578385 seems to work for me running it in apache without a ZUUL_API_URL setting set16:09
mordredand also in the two test scenarios we do in the gate16:10
mordredso review welcome now16:10
mordredif we're happy with the stack, we can squash it into the revert revert16:10
clarkbmordred: ok I will take a look16:11
openstackgerritMonty Taylor proposed openstack-infra/zuul master: web: fix status page flickering  https://review.openstack.org/57822616:11
mordredtristanC: local testing seems to show that ^^ working with your suburl oranization too16:19
mordredsorry, https://review.openstack.org/57838516:20
*** Shrews has quit IRC16:21
*** Shrews has joined #zuul16:23
clarkbmordred: cool that does confirm we needed the path too (which was my concern with doing a large scale refactoring myself16:28
*** Shrews has quit IRC16:29
mordredclarkb: awesome. so the difference makes at least some amount of sense then?16:29
clarkbmordred: yes, basically we need both the root path an dthe root url16:30
clarkband we need them in separate places16:30
clarkbfor the git log disection it might be better to not squash all these fixes and instead imrpove them at the same time as the revert revert?16:32
corvusi'm ambivalent on that point.  i +2d them all, but would be happy to re +2 if we decide to squash16:33
clarkbheh improve == approve16:34
clarkbcorvus: mordred I'm up for approving the stack now and watching it deploy16:39
*** Shrews has joined #zuul16:44
mordredclarkb, corvus: kk. I'm good with that16:54
mordredclarkb, corvus: I clicked the button - will track/watch16:55
*** Shrews has quit IRC17:00
*** jpena is now known as jpena|off17:01
openstackgerritMonty Taylor proposed openstack-infra/zuul master: Translate zuulStartStream into typescript  https://review.openstack.org/55861817:02
openstackgerritMonty Taylor proposed openstack-infra/zuul master: Shift log streaming code into StreamComponent  https://review.openstack.org/55861917:02
*** Shrews has joined #zuul17:03
mordredclarkb, corvus: if you still have javascript things paged in ^^ those are essentially just code organization17:04
mordredcorvus: also - did we ever get anywhere on fontaweseome vs. glyphicons vs. something else? I feel like there was a good discussion about that but I forget where it got17:08
*** Shrews has quit IRC17:09
*** electrofelix has quit IRC17:10
*** Shrews has joined #zuul17:11
clarkbmordred: I'm going to assume `(${params['logfile']})` is just as magic in ts as it was in js (I also have no idea what those operators mean but have inferred that it gives us the file suffix)17:15
*** Shrews has quit IRC17:16
*** Shrews has joined #zuul17:17
mordredclarkb: ya - the `` quotes is an ES6 feature (also in typescript) that lets you do variable interpolation from the surrounding context17:18
mordredso instead of '(' + params['logfile'] + ')'17:18
clarkbmordred: there is something weird to me about makking a mutable state object const (the websocket)17:28
openstackgerritMerged openstack-infra/zuul master: Revert "Revert "Upgrade from angularjs (v1) to angular (v6)""  https://review.openstack.org/57838417:33
openstackgerritMerged openstack-infra/zuul master: Use window.location.href for the href not pathname  https://review.openstack.org/57824317:33
mordredclarkb: yah. const in typescript is a bit different than const in c++ - it seems to mean "this isn't going to get re-assigned" not "the object assigned to this variable is immutable"17:35
mordredso I guess it's most like const * than const &17:35
clarkbfor https://review.openstack.org/#/c/558619/13 and beyond it might be good to see that the above changes that are merging are good first before we add to potential revery backlog17:40
clarkbI'm actually going to remove my +W on the parent of that for this reason too17:41
clarkbbut if angular v2/5/6 is happy then we can start pushing those in next17:41
mordredhttps://www.typescriptlang.org/docs/handbook/variable-declarations.html is a good read, fwiw17:42
mordredclarkb: ++17:42
*** Shrews has quit IRC17:45
clarkbmordred: is my change sufficient for having a working dashboard? or should I disable ansible puppet on zuul01 until we get thorugh the consolidation change?17:45
corvusthey're gonna land really close to each other anyway, right?  if it breaks between ansible cycles, we can just manually reinstall it17:46
clarkbyes, looking at the zuul node request backlog we should see the consolidation change take the second spot in the new supercedent post queu17:47
clarkband then run soon after the revert revert post queue jobs17:47
*** snapiri- has quit IRC17:47
*** Shrews has joined #zuul17:58
*** pcaruana has quit IRC18:14
corvusmordred: hrm, i'm in the same headspace as you with icons -- i know we started with me saying "maybe we can use fontawesome since that's what we use on the web site" but i don't know where we went after that.  i'll try to dig up logs18:17
corvushttp://eavesdrop.openstack.org/irclogs/%23zuul/%23zuul.2018-06-08.log.html#t2018-06-08T14:26:1718:19
corvusmordred: my read of that is that it was inconclusive, but i think the least-bad thing is to use fontawesome for consistency18:21
*** Shrews has quit IRC18:23
corvusfungi: https://review.openstack.org/57885418:24
*** yolanda_ has joined #zuul18:25
*** yolanda has quit IRC18:27
openstackgerritMerged openstack-infra/zuul master: Consolidate navigation functions  https://review.openstack.org/57838518:29
*** Shrews has joined #zuul18:29
*** Shrews_ has joined #zuul18:32
fungicorvus: thanks for the followup!18:33
*** Shrews_ has quit IRC18:34
*** Shrews has quit IRC18:35
mordredcorvus: gotcha18:35
*** Shrews has joined #zuul18:37
mnasermordred: did you get a chance to review our patches that got reverted? :(18:49
Shrewscorvus: re: nodepool tag... i'm fairly confident that https://review.openstack.org/578831 will fix the issue tristanC is seeing, but I'm having a devil of a time coming up with a test for it. If we are in a hurry to tag, I can unWIP and figure out the test later.18:49
ShrewsI am also open to suggestions for the test18:50
mnasertoday is a good candidate for the filters.. my browser is getting destroyed watching zuul.o.o18:50
mordredmnaser: they just got re-added18:52
mnasermordred: oh yay18:53
mnaserclarkb: if infra is switching things up soon, we can troubleshoot live quickly i guess18:53
clarkbmnaser: we will redeploy it as soon as zuul post jobs run then our puppet runs18:53
* mnaser should be around most of the day18:54
corvusShrews: i'm not in favor of being in a hurry :)18:57
fungihurry is too much like hassle18:58
fungior... work18:58
*** gtema has quit IRC18:59
corvusShrews: though, honestly, i could skip the test on this one.  the system worked, it just spewed an extra error.19:00
Shrewscorvus: then let's let tristanC verify the fix for us and merge it based on that. We don't have any mechanism in place for tests to get the reason WHY we declined a request19:01
corvuswfm19:02
Shrewsor to coordinate pool threads processing the request list  :/19:03
openstackgerritDavid Shrewsbury proposed openstack-infra/nodepool master: Fix for pools with different labels  https://review.openstack.org/57883119:05
openstackgerritMerged openstack-infra/zuul master: Fix typos in docs  https://review.openstack.org/57885419:09
Shrewshrm, 30+ minutes without an freenode disconnect after turning off SASL authentication.19:12
Shrewsand now my bouncer instance in vexxhost is not starting up  >:(19:18
corvusNO CARRIER19:19
Shrewsmnaser: no vexxhost issue currently, are there?19:19
Shrewsi might just give up on this day19:19
mnaserShrews: hm no, instance id?19:19
mnaseror you can pm if you'd liek19:19
mnasers/liek/like/19:19
Shrewsmnaser: 6745215a-a79d-4a2e-b847-5e6a1738d1e419:19
mnasernf_conntrack: table full, dropping packet19:22
mnaseroh well19:22
ShrewsO.o19:22
mnaseri guess somehow something wild happened19:23
mnaserin this hypervisor19:23
Shrewsneat19:23
mnaserone second19:23
mnaser(it really isnt your day i guess)19:23
*** Shrews has quit IRC19:33
*** Shrews has joined #zuul19:34
*** Shrews has joined #zuul19:35
fungiShrews: good news is that at least likely explains all your earlier disconnects19:41
*** Shrews has quit IRC19:44
*** Shrews has joined #zuul19:49
Shrewsfungi: nope, only freenode connection is affected. and it's happening locally on my laptop too. and it just happened 2 more times19:50
Shrewsso i quit19:50
Shrewslike, literally. i'm going off irc to avoid connection flap spam in the channels. i'll monitor eavesdrop and just try again tomorrow.19:51
*** Shrews has quit IRC19:51
tobiashpabelanger: I've added a question on https://review.openstack.org/#/c/57818119:58
pabelangertobiash: no, you are right now. That function just results a list, so we remove the loop20:01
pabelangerfixing20:01
openstackgerritPaul Belanger proposed openstack-infra/zuul master: Add zuul.child_jobs in ansible inventory file  https://review.openstack.org/57818120:09
pabelangertobiash: ^should be better20:09
tobiashpabelanger: lgtm20:12
pabelangertobiash: thanks!20:13
pabelangeris https://docs.openstack.org/infra/nodepool/operation.html#removing-a-provider still valid, specifically max-servers: -120:17
pabelangerit seems max-server: -1 might not delete online nodes any more20:18
pabelangertrying to confirm20:18
pabelangeryah, looks like a bug. nodepool doesn't seem to delete a ready node if you set max-servers: -1 or labels: [] for that provider20:40
pabelangerI'll see about adding a unit test to confirm20:40
openstackgerritClark Boylan proposed openstack-infra/zuul-jobs master: Dynamically determine overlay network mtu  https://review.openstack.org/57815320:48
openstackgerritJames E. Blair proposed openstack-infra/zuul master: WIP: Match tag items against containing branches  https://review.openstack.org/57855721:07
pabelangerclarkb: corvus: mordred : with https://review.openstack.org/578230/ is my first attempt at using zuul_return zuul.child_jobs to skip children. However, right now zuul still does a -1 on result because of the SKIPPED jobs.  So, I am think either we agree SKIPPED job in that case are +1 or maybe a new result to indicate to use that zuul_return dynamically skipped those child jobs (but struggling to come up with21:12
pabelangernew flag).21:12
clarkbpabelanger: maybe just update SKIPPED to be +/-021:13
pabelangerclarkb: and not affect the exiting +1 if all other jobs passed?21:15
corvusthat sounds like it should be okay.  presumably if you want to require the children to run, you'd have the parent job voting.21:15
corvus(this would be a modification to didAllJobsSucceed()21:15
clarkbpabelanger: ya, basically if a job that did ran failed then it is still a -1 but if all the jobs that did run are +1 call it good21:16
pabelangerif a child job was voting and it was skipped, that would still be +/-0 right?21:16
clarkbpabelanger: I think so as long as we are accounting the parent vote properly now (which we should be with the ability to use zuul return for this)21:16
pabelangerokay, that should work for this use case21:17
pabelangerI'll look at didAllJobsSucceed() shortly21:17
corvusi think as a special case, we would need didAllJobsSucceed to return False if all jobs are skipped.  there are some places which assume that.21:19
pabelanger+121:20
openstackgerritJames E. Blair proposed openstack-infra/zuul master: WIP: Report to gerrit over HTTP  https://review.openstack.org/57702721:25
*** hasharAway has quit IRC21:32
openstackgerritPaul Belanger proposed openstack-infra/zuul master: Support skip_child_jobs via zuul_return  https://review.openstack.org/57823022:05
*** pwhalen has quit IRC22:07
*** rlandy has quit IRC22:12
corvuspabelanger: +2 on the first change, -1 on the second (also some doc typos)22:16
pabelangerthanks, will look shortly22:16
pabelangercorvus: so rather then self.addBuild() I should be using self.setResult(), did I understand correct?22:38
corvuspabelanger: i mean that the stuff you have in findJobsToRun (creating fakebuilds with skipped results) should be in setResult22:39
corvuspabelanger: that's where the current code for doing the same thing for failing parent jobs happens22:39
corvusfindJobsToRun should be 'read-only'22:39
pabelangerokay, let me move and testing22:43
pabelangertest*22:43
*** Shrews has joined #zuul22:48
Shrewspabelanger: https://docs.openstack.org/infra/nodepool/operation.html#removing-a-provider doesn't say ready nodes will be removed when max-servers is set to -1. It says they'll go through the normal lifecycle, but no more will be created.22:49
Shrews"If urgency is required you can delete the nodes directly instead of waiting for them to go through their normal lifecycle but the effect is the same."22:50
pabelangerShrews: thanks, I confused it with nodepoolv2 where it would delete ready nodes with -122:53
pabelangerbut I think there is an issue setting it to max-servers: -1, I think we had an exception on clean up handler22:53
pabelangerneed to test some more22:53
Shrewspabelanger: i'm not certain v2 did that either, but i'm not that familiar with that version22:54
*** threestrands has joined #zuul23:05
*** threestrands has quit IRC23:05
*** threestrands has joined #zuul23:05
*** yolanda__ has joined #zuul23:07
*** yolanda_ has quit IRC23:11
tristanCShrews: thanks for the prompt update, I'll pick 578831 shorty23:11
tristanCShrews: and how about we used invalidNodeTypes here http://git.openstack.org/cgit/openstack-infra/nodepool/tree/nodepool/launcher.py#n177 ?23:14
tristanCShrews: wouldn't that help keeping the declined_by list short and relevant?23:16
*** yolanda__ has quit IRC23:18
openstackgerritPaul Belanger proposed openstack-infra/zuul master: Support skip_child_jobs via zuul_return  https://review.openstack.org/57823023:26
pabelangercorvus: okay, I believe I updated setResult() per your comments^. There is likey an optimization there I am missing23:27
pabelangeralso, is there any way to have stestr for zuul dynamically skip tests if database isn't setup?23:27
pabelangerat least on local environment23:28
openstackgerritJames E. Blair proposed openstack-infra/zuul-jobs master: WIP: Add a role to return file comments  https://review.openstack.org/57903323:28
clarkbpabelanger: you can provide a regex to exclude or only include the tests you want23:28
clarkbpabelanger: I tend to do something like tox -epy36 -- test_scheduler23:29
pabelangerclarkb: yah, I do that too but usually run everthing once before pushing up the change.  Not a big issues, I can restart database, just haven't yet23:30
openstackgerritJames E. Blair proposed openstack-infra/zuul master: WIP: Support line comments in Gerrit  https://review.openstack.org/57703523:31
corvustobiash, mordred: https://review.openstack.org/579033 might get us the correct line numbers for reporting on syntax errors after speculative merges23:31
corvusat least, the process works in my very simple contrived example.  i haven't tested that code yet.23:32
*** threestrands has quit IRC23:38
openstackgerritJames E. Blair proposed openstack-infra/zuul-jobs master: WIP: Add a role to return file comments  https://review.openstack.org/57903323:38
tristanCmordred: i think we should create a selenium test to validate the JS code actually work as expected. I meant to rewrite our webui test in zuulv3 but maybe i can start a new one from scratch for zuul?23:43
corvusi think that would be swell23:43
tristanCis there a role/playbook we can use to setup a working zuul-web?23:44
clarkbtristanC: there is the tox target23:44
clarkbI would probably run it out of the test framework that way23:45
tristanCthen it shouldn't be difficult to install apache vhost with rewrite rules for the different configuration, and start writting simple js validation using selenium23:45
clarkbdo you need apache? avoiding that would make it easier to run locally with just `tox`23:45
tristanCclarkb: i think we need apache to reproduce zuul.openstack.org white-label deployement, e.g.: https://zuul-ci.org/docs/zuul/admin/installation.html#white-labeled-tenant23:47
tristanCclarkb: what's the "tox target" ?23:47
corvusif you run zuul-web out of the test framework, there's already a proxy fixture23:48
clarkbtristanC: any of the py3* targets, they run nodeenv installation and then yarn install and npm run build:dev23:48
clarkbbasically the python unittest framework already has a built web installed into it and there are fixtures to interact with it23:49
corvushttp://git.zuul-ci.org/cgit/zuul/tree/tests/unit/test_web_urls.py#n7423:49
corvusthat one runs zuul-web behind a proxy in openstack's configuration23:49
tristanCcorvus: clarkb: oh i see, then we could extend that TestWebURLs with something like https://selenium-python.readthedocs.io/getting-started.html#simple-usage23:52
corvusyeah, that looks great23:55
tristanCWould you mind having firefox as a bindep test requirement, or should i rather propose a new zuul-jobs to prepare the node correctly?23:57
clarkbif its test only bindep I think its fine23:58
tristanCwe used to also setup a Xnest so that we could record the session with ffmpeg and store the video in the jobs artifacts...23:58

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