*** jtomasek has joined #storyboard | 06:39 | |
*** fay_ has joined #storyboard | 07:37 | |
*** mrmartin has joined #storyboard | 08:43 | |
Zara | morning, storyboard! | 09:39 |
---|---|---|
SotK | good morning! | 09:39 |
Zara | SotK: so yeah, infra's having a bug-squash on Weds, using storyboard | 09:54 |
Zara | starts 15:00 UTC, continues to 15:00 UTC Thurs | 09:54 |
SotK | ooh, sounds exciting | 09:55 |
* persia likes to think about that sort of timeframe as being from 4am Wed (Kirtimati) to 3am Thu (Niue), although I usually try to start/finish at midnight when scheduling such things, to avoid the need to specify a day. | 09:59 | |
persia | oops: that's 4am Thursday (Kirtimati) | 10:00 |
Zara | if I knew what that meant, maybe I'd agree, but I don't so I'll stick with my way. :P | 10:10 |
Zara | I mentioned it beacause I said 'hey, we'll be there!' because, well, we would be, but speaking on behalf of sotk while he was away and yeahhhh... | 10:11 |
Zara | thought he might like to know, at least :P | 10:11 |
SotK | :D | 10:13 |
persia | Timezones. https://en.wikipedia.org/wiki/Christmas_Island is the first place (of which I know) where it becomes a day. It is Tuesday there now. https://en.wikipedia.org/wiki/Niue is the last place (of which I know) where it remains a day. It is Sunday there now. | 10:14 |
persia | So I like to plan "all day" things to last from midnight in Kirtimati to midnight in Niue. Most folk like 24-hour blocks for some reason. | 10:16 |
Zara | how come you like to do it that way? | 10:29 |
persia | So people do not have to think about timezones. If it is e.g. Wednesday, then it is time for the thing. | 11:04 |
Zara | huh http://logs.openstack.org/86/301086/1/check/gate-storyboard-webclient-npm-run-test-unit/fdfe04c/console.html | 11:14 |
* SotK was just looking at that | 11:14 | |
* SotK is confused by it | 11:14 | |
*** b3rnard0_away is now known as b3rnard0 | 12:17 | |
Zara | krotscheck: is ^ npm weirdness? (how) should we be updating our npm? my approach to storyboard's node/npm is 'it works, leave it alone!' but that means it's pretty old. I don't really know what's going on with server upgrades, etc. SO HI. | 12:32 |
krotscheck | Checking | 12:32 |
Zara | hehe | 12:32 |
krotscheck | Huhn, that's a new one | 12:33 |
Zara | \o/ | 12:33 |
krotscheck | That error message isn't helpful either, it doesn't say where it's coming from | 12:34 |
krotscheck | Zara Are you running into this locally? | 12:35 |
Zara | krotscheck: not seen it, but I haven't done anything special to test it, so I'm not sure if I would | 12:36 |
* Zara remembers the git branch is called what-is-this and laughs | 12:39 | |
Zara | yeah, so locally, it just works, but I haven't tried running the tests locally (well, except linting) so I guess if that's looking for something else... | 12:40 |
krotscheck | Zara: Have you tried running it locally? Maybe update the various karma bits to see what's going on? | 12:41 |
Zara | trying tests now... | 12:42 |
Zara | INFO [launcher]: Starting browser Firefox | 12:42 |
Zara | ERROR [launcher]: Cannot start Firefox | 12:42 |
Zara | Can not find the binary firefox | 12:42 |
Zara | Please set env variable FIREFOX_BIN | 12:42 |
Zara | Warning: Task "karma:unit" failed. Use --force to continue. | 12:42 |
Zara | welp | 12:42 |
krotscheck | What operating system are you on? | 13:05 |
Zara | ubuntu | 13:06 |
krotscheck | Ahhh. | 13:08 |
krotscheck | Infra installs it like this: sudo apt-get install -y firefox dbus | 13:09 |
Zara | oh, hm, so it's not an issue with the test, I just didn't have it...? | 13:18 |
Zara | (it's a vm so it's mainly just got default stuff on it) | 13:19 |
*** jtomasek has quit IRC | 13:41 | |
Zara | hm, docs should probably mention python client xD | 13:42 |
*** jtomasek has joined #storyboard | 13:48 | |
*** jtomasek has quit IRC | 13:50 | |
*** jtomasek has joined #storyboard | 13:50 | |
openstackgerrit | Adam Coldrick proposed openstack-infra/storyboard: Fix filtering of automatic worklist contents https://review.openstack.org/304146 | 13:54 |
* SotK apologises for the fact that some contents have been missing from automatic worklists for two weeks :) | 13:54 | |
* Zara apologises for just ignoring automatic worklists entirely for two weeks :) | 13:55 | |
pedroalvarez | it's okay guys, I'll forgive you two | 13:55 |
Zara | \o/ | 13:56 |
Zara | okay, so I just installed firefox on the vm | 13:57 |
Zara | and wow, these are some error messages | 13:57 |
Zara | Running "karma:unit" (karma) task | 13:57 |
Zara | INFO [karma]: Karma v0.12.23 server started at http://localhost:9876/ | 13:57 |
Zara | INFO [launcher]: Starting browser Firefox | 13:57 |
Zara | ERROR [launcher]: Cannot start Firefox | 13:57 |
Zara | 13:57 | |
Zara | INFO [launcher]: Trying to start Firefox again (1/2). | 13:57 |
Zara | ERROR [launcher]: Cannot start Firefox | 13:58 |
Zara | 13:58 | |
Zara | INFO [launcher]: Trying to start Firefox again (2/2). | 13:58 |
Zara | ERROR [launcher]: Cannot start Firefox | 13:58 |
Zara | 13:58 | |
Zara | ERROR [launcher]: Firefox failed 2 times (cannot start). Giving up. | 13:58 |
Zara | Warning: Task "karma:unit" failed. Use --force to continue. | 13:58 |
Zara | mmmkay real helpful | 13:58 |
SotK | I guess it couldn't start firefox :D | 14:02 |
SotK | I had a similar problem when I tried to run the unit tests on my vm, I suspected it was because I was using the server version of trusty and some other things needed to be installed, then gave up | 14:03 |
Zara | \o/ | 14:04 |
Zara | krotscheck ^ | 14:04 |
pedroalvarez | this guy managed to figure otut what was wroing in firefox: https://github.com/karma-runner/karma-firefox-launcher/issues/28 | 14:04 |
Zara | ~we're so helpful~ | 14:04 |
Zara | oh, cool | 14:04 |
Zara | pedroalvarez saves the day | 14:05 |
* Zara hasn't even clicked the link | 14:05 | |
Zara | ahh, the errors look a bit different, but I might just not have WARN on | 14:05 |
krotscheck | Are y'all running them headless? If so, you'll need to install Xvfb | 14:06 |
krotscheck | It's hard to run a GUI interface when you don't have a screen attached :) | 14:07 |
pedroalvarez | hm.. | 14:07 |
pedroalvarez | X forwarding? | 14:07 |
krotscheck | x-virtual-frame-buffer. | 14:07 |
krotscheck | It pretends to be a monitor | 14:08 |
krotscheck | There's some fiddlyness to get it set up, gimme a sec... | 14:08 |
Zara | heehee, yeah, this instance has no GUI, allllll command-line. I can see storyboard in my browser, but that's it. | 14:08 |
pedroalvarez | yeah, I mean, isn't enough to ssh in using -X and then run firefox? | 14:08 |
pedroalvarez | Zara: I believe your VM is a openstack VM, so might be able to see the "screen" from there? | 14:09 |
pedroalvarez | (i may be wrong) | 14:09 |
krotscheck | http://git.openstack.org/cgit/openstack-infra/project-config/tree/jenkins/jobs/macros.yaml#n276 | 14:09 |
Zara | ah, it is an openstack vm, yeah | 14:10 |
pedroalvarez | Zara: hm.. but an ubuntu cloud image I expect, so imposible to log in using the console (IIRC) | 14:10 |
krotscheck | I dunno, X-forwarding is juju I haven't touched in ages. | 14:10 |
Zara | though I don't think I have a screen for it | 14:10 |
Zara | just a console | 14:10 |
Zara | and yeah, I can't login | 14:10 |
Zara | it's ssh-access-only | 14:11 |
*** jtomasek has quit IRC | 14:11 | |
Zara | whoops, rebooted it by accident | 14:11 |
pedroalvarez | hahah, this OpenStack UI... :P | 14:11 |
pedroalvarez | don't terminate it :) | 14:12 |
Zara | I sent it a ctrl+alt+del by mistake | 14:12 |
Zara | so yeah, it rebooted | 14:12 |
Zara | eh, maybe turning it off and on again will help | 14:13 |
Zara | nope | 14:13 |
Zara | firefox still ain't happy | 14:13 |
pedroalvarez | then follow the Xvfb suggestion | 14:13 |
*** jtomasek has joined #storyboard | 14:46 | |
Zara | so... how do I see it if it's up? | 14:54 |
*** jtomasek has quit IRC | 14:59 | |
Zara | (I did the build and start commands at that link) | 14:59 |
pedroalvarez | I think now, you can `xvfb-run <whatever you do to run the tests>` | 15:02 |
pedroalvarez | (answered after reading a bit of http://tobyho.com/2015/01/09/headless-browser-testing-xvfb/) | 15:02 |
Zara | ahhhh | 15:03 |
Zara | I'm sorry I'm so lazy, I should be searching more before asking tbh | 15:03 |
*** jtomasek has joined #storyboard | 15:04 | |
pedroalvarez | I would be interesting to figure out how to see that "xvfb" screen to see firefox error message, if any | 15:04 |
Zara | xvfb-run: error: Xvfb failed to start | 15:04 |
Zara | \o/ | 15:04 |
pedroalvarez | have you run: http://git.openstack.org/cgit/openstack-infra/project-config/tree/jenkins/jobs/macros.yaml#n281 | 15:05 |
pedroalvarez | ? | 15:05 |
Zara | yup | 15:08 |
Zara | and if I try to run it again I get Fatal server error: | 15:08 |
Zara | (EE) Server is already active for display 99 | 15:08 |
Zara | If this server is no longer running, remove /tmp/.X99-lock | 15:08 |
Zara | and start again. | 15:08 |
Zara | (EE) | 15:08 |
pedroalvarez | aha, so it should be running | 15:09 |
Zara | yup, I may just not be looking in the right place | 15:09 |
Zara | if I have to direct my browser to it | 15:09 |
pedroalvarez | "xvfb-run hides error messages by default... give it a -e /dev/stdout to see what the problem is" | 15:10 |
Zara | maybe I'm doing a strange command? | 15:11 |
Zara | ubuntu@zara-storyboard:~/storyboard-webclient$ xvfb-run tox -egrunt_no_api -- test --hostname 0.0.0.0 -e /dev/stdout | 15:11 |
Zara | xvfb-run: error: Xvfb failed to start | 15:11 |
Zara | (that's just my sb test command shoved in the middle) | 15:15 |
*** openstackgerrit has quit IRC | 15:18 | |
*** openstackgerrit has joined #storyboard | 15:18 | |
pedroalvarez | xvfb-run -e /dev/stdout .... | 15:23 |
Zara | xD | 15:23 |
Zara | NOTHING TO SEE HERE, FOLKS | 15:24 |
pedroalvarez | :) don't worry, some times these things are not really obvious | 15:24 |
Zara | heh, and I thought maybe 'Xvfb failed to start' was just the only error msg. :D | 15:24 |
*** NikitaKonovalov_ has joined #storyboard | 15:25 | |
* Zara tries again | 15:25 | |
Zara | (EE) | 15:25 |
Zara | Fatal server error: | 15:25 |
Zara | (EE) Server is already active for display 99 | 15:25 |
Zara | If this server is no longer running, remove /tmp/.X99-lock | 15:25 |
Zara | and start again. | 15:25 |
Zara | (EE) | 15:25 |
Zara | so... where is it? | 15:26 |
*** NikitaKonovalov_ has quit IRC | 15:26 | |
Zara | sotk: so, when I try to checkout that worklist bugfix, and make a new branch, then rebase it on master, I get a *massive* list of commits that seems to go right back to the start of the project | 15:30 |
Zara | oh hang on I'm being weird | 15:30 |
Zara | mystery solved, sorry for noise | 15:30 |
*** NikitaKonovalov_ has joined #storyboard | 15:31 | |
pedroalvarez | (checking out in a different git repo? :P) | 15:31 |
pedroalvarez | I've seen that before | 15:31 |
Zara | yup | 15:31 |
Zara | pedro gets the prize | 15:31 |
Zara | I've done it a couple of times ;_; | 15:32 |
Zara | that time I was checking out storyboard in storyboard-webclient | 15:32 |
pedroalvarez | so.. that error with xvfb.. sounds like the thing you ran (http://git.openstack.org/cgit/openstack-infra/project-config/tree/jenkins/jobs/macros.yaml#n281) might not be needed | 15:33 |
pedroalvarez | so if.. you can kill that | 15:35 |
pedroalvarez | and try again? | 15:35 |
Zara | okay, now running the command works, and I get: Running "karma:integration" (karma) task | 15:38 |
Zara | Verifying property karma.integration exists in config...ERROR | 15:38 |
Zara | >> Unable to process task. | 15:38 |
Zara | Warning: Required config property "karma.integration" missing. Use --force to continue. | 15:38 |
Zara | and there's nothing about karma.integration in karma-unit.conf.js , though perhaps that's not the relevant place | 15:40 |
pedroalvarez | so that means it manages to launc Firefox this time? | 15:41 |
pedroalvarez | +h somewhere there ^ | 15:41 |
Zara | it seems to... will post full thing, hang on | 15:41 |
Zara | http://paste.openstack.org/show/493672/ | 15:42 |
Zara | so yeah, seems like unit stuff succeeds but integration stuff fails? | 15:43 |
Zara | worklist bugfix seems to work well for tags, will double-check the other filters | 15:46 |
*** mrmartin has quit IRC | 15:49 | |
Zara | okay, so using it testing, by making lots of filters I've found it's annoying having to delete a filter to amend it (after it's saved) | 16:01 |
* SotK agrees | 16:02 | |
SotK | I ran out of time before my holiday to make the UI nicer IIRC | 16:02 |
Zara | I should've done it, really, but didn't spot it 'til now | 16:03 |
* pedroalvarez spots "Fatal error: options must be a string or an object" in http://logs.openstack.org/86/301086/1/check/gate-storyboard-webclient-npm-run-test-unit/fdfe04c/console.html | 16:04 | |
pedroalvarez | I don't know how to continue investigating.. Zara, you might try using '--force' (I don't know where this time) | 16:10 |
pedroalvarez | maybe `xvfb-run -e /dev/stdout tox -egrunt_no_api --force -- test --hostname 0.0.0.0` | 16:10 |
pedroalvarez | or at the end | 16:11 |
*** openstackstatus has joined #storyboard | 16:12 | |
*** ChanServ sets mode: +v openstackstatus | 16:12 | |
SotK | I think at the end is the right place | 16:13 |
* Zara tries it | 16:14 | |
Zara | okay, so it got past that bit | 16:15 |
Zara | Running "karma:integration" (karma) task | 16:15 |
Zara | Verifying property karma.integration exists in config...ERROR | 16:15 |
Zara | >> Unable to process task. | 16:15 |
Zara | Warning: Required config property "karma.integration" missing. Used --force, continuing. | 16:15 |
Zara | but then... | 16:15 |
Zara | Running "protractor:dist" (protractor) task | 16:16 |
Zara | Starting selenium standalone server... | 16:16 |
Zara | events.js:72 | 16:16 |
Zara | throw er; // Unhandled 'error' event | 16:16 |
Zara | ^ | 16:16 |
Zara | Error: spawn ENOENT | 16:16 |
Zara | at errnoException (child_process.js:1011:11) | 16:16 |
Zara | at Process.ChildProcess._handle.onexit (child_process.js:802:34) | 16:16 |
Zara | >> | 16:16 |
Zara | Fatal error: protractor exited with code: 8 | 16:16 |
Zara | ERROR: InvocationError: '/home/ubuntu/storyboard-webclient/node_modules/.bin/grunt test --hostname 0.0.0.0 --force' | 16:16 |
Zara | ______________________________________________________________________ summary _______________________________________________________________________ | 16:16 |
Zara | ERROR: grunt_no_api: commands failed | 16:16 |
-openstackstatus- NOTICE: Reminder, Gerrit will be offline from 20:00 to 21:00 UTC for a server replacement http://lists.openstack.org/pipermail/openstack-dev/2016-April/091274.html | 16:20 | |
*** NikitaKonovalov_ has quit IRC | 16:21 | |
* pedroalvarez <- don't have more ideas | 16:26 | |
pedroalvarez | I'm just confused, I can't see these things running in the console log | 16:27 |
Zara | yeah... idk what's up. we might get more clues with other patches. if it's a one-off... eh.... :S | 17:07 |
Zara | we shall see. | 17:07 |
Zara | I'm heading off for tonight | 17:08 |
Zara | 'night! | 17:13 |
anteaya | so May 16th is a Monday | 17:37 |
anteaya | so is there a Monday meetup thing happening that night? | 17:37 |
anteaya | also I probably will hang out on the Tuesday | 17:37 |
anteaya | unless I'm told I can't | 17:37 |
anteaya | regarding the storyboard meetup | 17:37 |
*** mrmartin has joined #storyboard | 17:44 | |
*** mrmartin has quit IRC | 18:24 | |
*** mrmartin has joined #storyboard | 18:26 | |
*** mrmartin has quit IRC | 18:50 | |
*** yarkot_ has joined #storyboard | 19:00 | |
*** mrmartin has joined #storyboard | 19:30 | |
-openstackstatus- NOTICE: Gerrit will be offline from 20:00 to 21:00 UTC (starting 10 minutes from now) for a server replacement http://lists.openstack.org/pipermail/openstack-dev/2016-April/091274.html | 19:51 | |
*** openstackgerrit has quit IRC | 20:05 | |
-openstackstatus- NOTICE: Gerrit is offline until 21:00 UTC for a server replacement http://lists.openstack.org/pipermail/openstack-dev/2016-April/091274.html | 20:08 | |
*** ChanServ changes topic to "Gerrit is offline until 21:00 UTC for a server replacement http://lists.openstack.org/pipermail/openstack-dev/2016-April/091274.html" | 20:08 | |
*** yarkot_ has quit IRC | 20:09 | |
*** Digby has joined #storyboard | 20:26 | |
*** openstackgerrit has joined #storyboard | 20:27 | |
*** Digby has left #storyboard | 20:28 | |
*** openstackgerrit has quit IRC | 20:41 | |
*** openstackgerrit has joined #storyboard | 20:55 | |
*** ChanServ changes topic to "StoryBoard - A task tracker for OpenStack development needs :: http://storyboard.openstack.org/ :: https://wiki.openstack.org/wiki/StoryBoard" | 21:08 | |
-openstackstatus- NOTICE: Gerrit move maintenance completed successfully; note that DNS has been updated to new IP addresses as indicated in http://lists.openstack.org/pipermail/openstack-dev/2016-April/091274.html | 21:08 | |
*** NikitaKonovalov_ has joined #storyboard | 21:23 | |
*** mrmartin has quit IRC | 21:45 | |
*** b3rnard0 is now known as b3rnard0_away | 21:54 | |
*** NikitaKonovalov_ has quit IRC | 22:33 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!