Friday, 2014-01-03

mordreddone00:01
mordredkrotscheck: http://status.openstack.org/reviews/00:03
mordredkrotscheck: that's 'reviewday' - which creates lists of reviews people should look at based on the combo of bug importance and some other stuff00:03
krotscheckThat list is generated once a day though, right?00:05
krotscheckclark mentioned that it's a static page.00:05
pleia2krotscheck: every 15 minutes00:07
pleia2err, 30 :)00:08
mordredyeah. cron job00:08
krotscheckIs the API stable enough to query that ad-hoc?00:09
krotscheckOr is that going to crash gerritt?00:09
mordredyou are not likely to crash gerrit - but we're not running a version with a rest api yet00:13
krotscheckCool. Does the API support CORS, or do we have to proxy the API requests?00:14
krotscheckActually, how about we just answer that when we upgrade.00:15
krotscheckOk, I think I finally have all the silly pieces in place for storyboard-webclient.01:21
krotscheckHrm. Build failed on gate-config-layout :/01:58
*** krotscheck has quit IRC02:02
*** drdee has joined #storyboard10:43
*** drdee has quit IRC11:45
* ttx wonders if we shouldn't provide IRC-Proxy-aaS12:23
ttxhard to have a discussion on IRC with someone that is too far away TZ-wise and not using proxy12:24
*** ruhe has joined #storyboard15:12
mordredttx: ++15:41
*** drdee has joined #storyboard16:12
*** ruhe has quit IRC16:35
*** krotscheck has joined #storyboard17:34
krotscheckmordred: Thanks for that patch this morning. I'll ping clark about having jenkins pick up the cobertura and junit output17:39
*** ruhe has joined #storyboard17:39
*** drdee has quit IRC17:47
*** ruhe is now known as _ruhe17:57
*** _ruhe is now known as ruhe18:13
*** ruhe is now known as _ruhe18:28
*** _ruhe is now known as ruhe18:33
*** drdee has joined #storyboard18:49
ruhekrotscheck: re https://review.openstack.org/#/c/6476119:09
ruhe./bin/bootstrap.sh expects some packages to be pre-installed19:10
ruhedo you expect jenkins slave nodes to have these packages installed?19:10
krotscheckruhe: That was my assumption. Incorrect assumption?19:12
ruhei'd clarify that with infra folks (if you didn't do so before)19:13
krotscheckJust did. Thanks for pointing that out.19:16
krotscheckDone :)19:17
ruhethank you19:17
ruhei've just launched ./bin/build.sh and got these errors:19:27
ruheERROR [launcher]: Cannot start Firefox19:28
ruheERROR [launcher]: Cannot start PhantomJS19:28
krotscheckHuhn.19:30
krotscheckWhat're your system specs?19:30
ruheit's ubuntu 12.04 cloud image19:31
ruhei'm trying to replicate the same environment where unit-tests for this project will run19:31
krotscheckOdd. So, PhantomJS should have been packaged into .local19:31
krotscheckAnd clark assured me that firefox was installed. Let me set up a VM and mirror what you're doing...19:33
ruhei have phantomjs in ./node_modules/karma-phantomjs-launcher/node_modules/phantomjs/bin/phantomjs19:33
krotscheckOk, so something else is borked.19:34
krotscheckYou can run the karma tests directly via ./node_modules/.bin/karma ./karma-unit.conf.js19:34
krotscheckIt'll take me a bit to set up a jenkins slave.19:34
ruheyeah, firefox should be installed. it's my fault19:35
krotscheck(Well, I should have probably done this testing anyway, so I'm just going to do this slave thingie for future use...)19:36
krotscheckThanks for sanity checking my work btw.19:36
ruhethat's a good way to learn how things work :)19:36
krotscheck...but after lunch. I'm off to go ring shopping with the soon-to-be-missus :)19:39
ruhewow, good luck :)19:40
krotscheckAnd I'm back!21:11
ruhekrotscheck: i'm still waiting on clean repo setup. i want to install exactly the same software and then run UT for your PoC project21:13
ruhe*clean repro setup21:13
*** krotscheck_ has joined #storyboard21:14
ruhei didn't expect slave nodes to have so many packages installed. there are 4 different jdk's installed21:14
*** krotscheck_ has quit IRC21:14
krotscheckRight - I've just gotten a cloud image instance up and running, now I'm going to figure out how to setup config and get the puppet script to run.21:15
ruheyou can clone from git://git.openstack.org/openstack-infra/config21:16
ruheand...21:16
ruherun prepare_node_bare.sh from ./modules/openstack_project/files/nodepool/scripts/21:16
krotscheck...install_jenkins_slave is not the right one?21:18
ruheyeah. it seems to do the same thing21:19
* krotscheck is hurrying up and waiting for the script to finish21:22
krotscheckInvalid database user fail21:27
ruhepostgres user?21:28
krotscheckNo, it's trying to load the default mysql account_security.pp21:32
krotscheckGoing to ping clark21:33
ruhekrotscheck: i didn't have such errors21:45
ruheand after installation completed i've cloned storyboard-webclient, ran ./bin/bootstrap.sh and ./bin/build.sh21:46
ruheand the result is "Done, without errors." :)21:46
krotscheckOh.21:48
krotscheckWell then.21:48
krotscheckCan you do me a favor and take a peek inside of /cover and /reports?21:48
krotscheck(Actually, that's fucking fantastic, because it means we've got selenium, unit, and integration tests running)21:49
krotscheck(headlessly. It's a magical snowflake)21:49
*** drdee has quit IRC21:50
krotscheckruhe: Where did you spin up the instance? I'm juggling cloud images via virtualbox.21:51
krotscheck(And not having much luck)21:51
ruhei have actual OpenStack installation21:51
ruheboth /cover and /reports have reports generated21:52
ruheso, everything seems to work correctly21:52
krotscheckCool. Now I need to figure out how to get storyboard.openstack.org set up.21:54
ruhekrotscheck: s.o.o should run storyboard REST service and statically serve storyboard-webclient/dist ?22:02
krotscheckruhe: For now, yeah, that's the assumption.22:09
krotscheckThere's actually three pieces there.22:09
krotscheckOne, which is a non-storyboard-specific wgsi module that listens to crawler requests and hands back crawlable HTML.22:09
krotscheckTwo, the static storyboard client.22:09
krotscheckThree. The actual API22:09
*** SergeyLukjanov has joined #storyboard22:10
krotscheckKhai just pointed me at the various project manifest files. Seems like I need to learn puppet.22:10
krotscheckYet another new skill needed for new job. Wooooo!22:10
ruhei'd be happy to help with that22:12
krotscheckSure! As long as you mansplain it to me as we go :)22:12
krotscheckSo, first thing I've got is manifest/site.pp with a new domain entry22:13
krotscheckActually, should I wrap this into my original patch, or create a new one with a dependency?22:14
ruheI'd create a separate patch22:15
krotscheckGot it.22:16
krotscheckruhe: Looking at static.pp, it seems like the convention for hosted static files is "/src/static/subdomain", is that right?22:27
krotscheckI'm pondering the options for getting the build-generated artifacts onto the server. We could build it from scratch, or wrap a tarball...22:27
krotscheckThe latter being more of a maven-esque way of handling it.22:28
krotscheckWhile the former seems to be more package-maintainer friendly (ensuring that the software can be built on the hosting platform)22:28
krotscheckFrom my conversations with jeblair methinks the latter approach is more openstacky22:28
ruheyeah, i like tarball option. since we intend to build on ubuntu-12.04 we might run production on ubuntu-12.04 too22:29
krotscheckOh?22:29
krotscheckHuhn. Allrightey, tarball option it is.22:29
krotscheckSo how about I switch back to the build patch and make the build give me a tarball first.22:29
ruheyou alread have tarball-site: tarballs.openstack.org in projects.yaml, but i'm not sure if it's enough22:31
krotscheckI don't think so, that's just a configuration flag22:33
krotschecks/flag/parameter/22:33
krotscheckI think i have to invoke something like the tarball macro, but it's python specific.22:33
krotscheckWhile I like the idea of adding a ./bin/package.sh script, I feel that the actual choice of what gets tarballed should be in the builder config.22:35
ruheso, the way other projects get tarballs from master branch is they use template '{name}-branch-tarball' (see python-jobs.yaml)22:42
ruhewith a small modification in the build script you'll get desired result22:43
krotscheckIs that what all the 'post/pre-release/release' sections are all about?22:51
ruheyes. but as you already said this macros is currently python-job specific22:52
krotscheckIs there a place where the various zuul states are listed? I'm not finding the difference between check, gate, post, pre-release, and release.23:03
ruhethis page should help http://ci.openstack.org/zuul/zuul.html#configuration23:04
ruhekrotscheck: something like http://paste.openstack.org/show/60006/ should get the job done23:17
krotscheckruhe: Awesome, thanks.23:19
krotscheckAlmost exactly what I had, but I got hung up setting up the pipeline triggers.23:19
ruheit seems i forgot the most important step - to build static files :)23:19
krotscheckRight. Exactly :)23:21
krotscheckSo, in the layout- the various jobs are run in order?23:21
krotscheckAre they scrubbed out between every step?23:21
krotscheck(so, if I do this http://paste.openstack.org/show/60010/)23:22
krotscheckWill the /dist/ directory be there, or do I have to rebuild?23:22
ruhei'm not 100% sure, but i think that you need to rebuild in each job23:23
ruheso, you'll need to build in storyboard-webclient-branch-tarball23:24
krotscheckThat makes sense.23:24
ruhethat's what they do in python jobs '{name}-branch-tarball'. it has builders: [tarball, shell].23:25
*** SergeyLukjanov has quit IRC23:26
ruhekrotscheck: what would you say if i start working on puppet modules for storyboard.openstack.org while you're dealing with getting webclient built and published?23:34
krotscheckruhe: Go for it23:34
krotscheckYou're probably going to be faster at this.23:34
krotscheckAlso, I have a wedding website that I need to continually hit refresh on until the mysql server connects.23:35
ruheok :)23:35
ruheyou should automate wedding website thing23:35
*** ruhe is now known as _ruhe23:44
krotscheckOk, so that's the changes I made.23:52
krotscheckI think that wraps it up for the storyboard project mode.23:52

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