SergioMeneses | Noskcaj, \o | 01:32 |
---|---|---|
Noskcaj | hey SergioMeneses | 01:32 |
SergioMeneses | Noskcaj, I'm here reading the game of thrones book | 01:36 |
Noskcaj | SergioMeneses: i should probably start reading/watching that. | 01:38 |
SergioMeneses | Noskcaj, jeje | 01:38 |
Noskcaj | Have you watched breaking bad? | 01:38 |
Noskcaj | on a more Ubuntu topic, http://noskcaj10.wordpress.com/2013/06/02/the-ubuntu-pc-case-mod/ | 01:39 |
SergioMeneses | Noskcaj, awesome! | 01:42 |
Noskcaj | it will take a few months, but it will be awesome. now if only system76 would sponsor me. | 01:45 |
SergioMeneses | Noskcaj, and did you talk with them? | 01:47 |
Noskcaj | i sent an email, i'll send more | 01:48 |
SergioMeneses | Noskcaj, perfect! :) | 01:54 |
jibel | good morning | 05:13 |
SergioMeneses | jibel, 00:14 here! but morning to you :G | 05:14 |
SergioMeneses | :D | 05:14 |
jibel | Hey SergioMeneses | 05:16 |
SergioMeneses | good night guys | 05:20 |
balloons | night jibel :-p | 05:28 |
jibel | Hey balloons , good night :) | 05:29 |
pitti | jibel: would you mind if I commit http://paste.ubuntu.com/5734931/ to auto-upgrade-testing? | 06:16 |
pitti | jibel: I currently need it to closely examine a daily upgrade, but I would have found it useful for doing offline work in a train, too | 06:16 |
pitti | and if you don't care for the very latest stuff when debugging a test, it's massively faster | 06:16 |
jibel | pitti, sure, I'll review your MP | 06:31 |
pitti | jibel: ah, you want an MP? ok | 06:32 |
jibel | pitti, s/MP/commit | 06:32 |
jibel | pitti, I don't need an MP :) | 06:32 |
pitti | jibel: I tested it both ways, I just wanted to ask whether you mind the extra option | 06:32 |
pitti | jibel: I can hide it from --help if you think it's bloating | 06:33 |
jibel | pitti, no problem, it looks fine to me | 06:33 |
pitti | d'accord, merci | 06:33 |
jibel | pitti, de rien | 06:34 |
pitti | pushed | 06:34 |
jibel | thanks | 06:35 |
=== rbasak_ is now known as rbasak | ||
=== psivaa_ is now known as psivaa | ||
pitti | jibel: do you have a clever trick to deal with those timezone skews in run-adt-test VMs? | 10:34 |
pitti | jibel: I regularly get apt complaining about these, and worse, it breaks package builds | 10:34 |
pitti | checking whether build environment is sane... configure: error: newly created file is older than distributed files! | 10:34 |
jibel | pitti, I don't have any special trick. can you tell me how to reproduce this error and I'll find a trick if not a permanent find in run-adt-test? | 10:40 |
jibel | s/find/fix | 10:40 |
pitti | jibel: "run-adt-test -sl" will do an apt-get update, and complain about the timezone offset | 10:41 |
* pitti checks whether copying /etc/timezone helps | 10:41 | |
pitti | Fetched 18.8 MB in 213503982334601d 5h 0min 39s (0 B/s) | 10:41 |
pitti | well, not quite complain, but that's one effect | 10:42 |
pitti | that's 64 bit wrap around of "minus two hours" (UTC from CEST) | 10:42 |
pitti | or just doing "date" in the VM, and seeing that it's UTC; although I'm not quite sure why that should matter for configure | 10:43 |
pitti | when it copies the source package it somehow seems to retain the CEST timestamps | 10:43 |
pitti | http://paste.ubuntu.com/5735388/ works for apt, testing package build | 10:48 |
pitti | Fetched 18.8 MB in 10s (1,867 kB/s) | 10:48 |
pitti | ah, that looks much saner :) | 10:48 |
pitti | meh, but not for package build | 10:49 |
pitti | we might actually need to set the TZ in the debconf db and reconfigure tzdata, I try that | 10:49 |
jibel | pitti, I'll set the timezone in the cloud-config file during the provisioning and see if it helps | 10:52 |
pitti | jibel: http://paste.ubuntu.com/5735402/ also works for apt, but something else is still fishy; the package build still fails | 10:58 |
* pitti investigates this more closely | 10:58 | |
pitti | oh, WTH | 11:00 |
pitti | stat configure | 11:00 |
pitti | Modify: 2013-06-05 14:58:20.332812000 +0200 | 11:00 |
pitti | that's in two hours from now | 11:00 |
* saintlulu waves at pitti | 11:02 | |
pitti | hey saintlulu | 11:03 |
pitti | jibel: ok, this wrong timestamp from the files copied into the VM does not depend on the system timezone, so that was a red herring (the apt confusion still applies, though) | 11:04 |
pitti | jibel: http://paste.ubuntu.com/5735421/ gets me a little further, but there are still complaints | 11:08 |
pitti | gpg: key 270BF656 was created 7097 seconds in the future (time warp or clock problem) | 11:08 |
pitti | adt-run: unexpected error: apt-ftparchive or signature failed, code 2 | 11:08 |
pitti | perhaps there's some cloud-init magic which does something weird to the clock during boot | 11:09 |
jibel | http://paste.ubuntu.com/5735423/ | 11:09 |
jibel | pitti, ^ | 11:09 |
pitti | ah, nice | 11:10 |
jibel | I didn't try a package build but the TZ matches the host | 11:10 |
pitti | jibel: both combined also work for me: http://paste.ubuntu.com/5735428/ | 11:12 |
pitti | jibel: but I'll try your's, too (that'll take a bit) | 11:12 |
pitti | nice, that now builds my brand new umockdev 0.2.4 package, installs it, and runs its autopkgtests | 11:13 |
pitti | jibel: running prepare-testbed, downloading | 11:16 |
* pitti prepares some lunch in the meantime | 11:16 | |
jibel | I built a simple package an configure is happy, I wish umockdev will be too | 11:16 |
pitti | gpg: key 8EF5158D was created 7199 seconds in the future (time warp or clock problem) | 11:24 |
pitti | and apt still complains, too | 11:24 |
pitti | jibel: but I think there's something wrong with the scp'ing, not necessarily with the VM's tz (that causes the apt and gpg errors) | 11:25 |
pitti | jibel: nope, same result :/ | 11:25 |
pitti | so far only http://paste.ubuntu.com/5735428/ seems to work (almost, it fails at the end, but not due to a time skew problem) | 11:27 |
jibel | pitti, go for your fix, cloud-config doesn't modify debconf db | 11:29 |
pitti | jibel: it needs to run dpkg-reconfigure tzdata if it modifies /etc/timezone; it doesn't do that? | 11:30 |
pitti | jibel: but it seems the trick for the configure test is to use scp -p only, not the host's TZ | 11:30 |
pitti | . o O { run-adt-test -sUkS file://.. sounds really like an insult! } | 11:31 |
jibel | pitti, it doesn't and dpkg-reconfigure reverts tz to utc | 11:31 |
jibel | :) | 11:32 |
pitti | jibel: ok, I'll commit that for now; if it causes trouble, we can just revert it | 11:32 |
jibel | pitti, ok, thanks | 11:32 |
=== shadeslayer_ is now known as shadeslayer | ||
zyga | https://code.launchpad.net/~zkrynicki/checkbox/docker/+merge/167517 | 12:07 |
* zyga goes for lunch | 12:07 | |
zyga | oh, wrong channel | 12:07 |
zyga | :) | 12:07 |
=== cprofitt_ is now known as cprofitt | ||
pitti | jibel: meh, autopkgtest's "Restrictions: build-needed" is broken :/ | 13:09 |
pitti | jibel: despite the description, it runs the tests from the original cwd apparently, not from the built tree | 13:10 |
=== _salem is now known as salem_ | ||
=== zyga_ is now known as zyga | ||
=== ashams is now known as Guest15032 | ||
DanChapman | afternoon everyone | 14:29 |
* saintlulu waves | 14:30 | |
DanChapman | balloons, ping | 14:31 |
balloons | DanChapman, [pmg | 14:50 |
=== dpniel_ is now known as DanChapman | ||
DanChapman | balloons, sorry didnt see your pong. With ubiquity is it to run all the way to the restart computer window? | 15:57 |
=== lool- is now known as lool | ||
balloons | DanChapman, indeed. The autopilot testcase will need to be part of a testrunner to get the full effect | 15:59 |
=== jibel_ is now known as jibel | ||
balloons | for the moment though we can simply worry about getting the test to run through all the ubiquity UI screens and installation and hit that restart button :-) | 15:59 |
DanChapman | balloons cool, one more question during install does it install the packages in the same order everytime. Just thinking about a way to travel through the package once all input windows are complete. | 16:02 |
balloons | DanChapman, I'm not sure what your meaning here.. I mean it goes through the same process each time | 16:03 |
phillw | balloons: thanks for updating the classroom sessions, could you also do the automated test cases round about the date of the manual one (and after the introduction to bzr ;P ) https://wiki.ubuntu.com/Testing/Activities/Classroom/Saucy#Learning_to_write_and_up-date_test-cases | 16:03 |
=== plars is now known as plars-afk | ||
=== mmrazik is now known as mmrazik|afk | ||
DanChapman | balloons, what i mean is once i have got through the create location, keyboard, user account etc it just the progress bar while copying and installing. I was wondering if the packages are always installed in the same order. I could track these via the label to get to the end of the install. | 16:21 |
balloons | you'll know it's the end when you get the dialog window I think | 16:22 |
balloons | however there is also a progress widget at the bottom | 16:22 |
balloons | that should be exposed too | 16:22 |
DanChapman | Would autopilot not timeout though waiting for a progress bar? I think the default is 10 seconds | 16:25 |
DanChapman | i will get to that point anyway and see where its at :-) | 16:26 |
balloons | you can change the timeout DanChapman | 16:31 |
balloons | but that is a good point :-) | 16:31 |
balloons | how long do we wait, and how do we know everything is still moving along | 16:32 |
=== knome_ is now known as knome | ||
DanChapman | Yeah its a tricky one. Well i will get to that point first and we can take a look from there :-) | 16:35 |
balloons | DanChapman, indeed | 16:35 |
balloons | :-) | 16:35 |
=== jamespag` is now known as jamespage | ||
balloons | DanChapman, et la. I updated the trello board for autopilot tests and closed the bugs we fixed | 17:16 |
balloons | we still have to decide if we're retaining the board or not :-) | 17:17 |
DanChapman | Cool how do i join the trello board members? | 17:17 |
balloons | https://trello.com/board/autopilot-tests/50e735ad7351f0a64e00040c | 17:17 |
balloons | I can add you, you just need an account | 17:17 |
DanChapman | Yeah, i quite like the visual side of trello. Or any backlog board in fact. should ask on the mailing list. | 17:19 |
DanChapman | Right account created | 17:20 |
DanChapman | what do you need to add me email? | 17:21 |
balloons | email or account name | 17:21 |
DanChapman | username = danchapman3 | 17:22 |
DanChapman | hmmm think i might sell my macbook and buy a Dell XPS :-) | 17:23 |
balloons | the sputnik? | 17:24 |
DanChapman | yeah sputnik or the XPS 14 | 17:25 |
balloons | If I had the option and wanted to spend that kind of money i would by the chromebook pixel everyday all day :-) | 17:27 |
=== psivaa is now known as psivaa_AFK | ||
balloons | as it stands I tend to keep my mobile devices very light and basic and have a nice workstation and servers instead :-) | 17:28 |
balloons | but the sputnik does look cool. honestly it's been so long since I've used a nice dev laptop like that | 17:28 |
balloons | I've no idea how to compare it | 17:29 |
DanChapman | I was lucky in getting my macbook pro. It was a perk to a job i did. But to be honest I'm not that keen on it, its only 3 months old so still worth a fair bit and macbooks seem to hold their price rather well. I would rather get relitavely same spec for less money and spend the rest on "extra's" :-) | 17:33 |
balloons | ahh.. I've never liked the mac hardware.. mostly the keyboard drives me absolutely nuts | 17:33 |
DanChapman | don't get me started on the keyboard | 17:34 |
balloons | lol | 17:34 |
DanChapman | Its a lovely put together casing but thats as far as my like for it goes | 17:35 |
balloons | screens are also usually nice on the macbooks. Some other laptops don't like to include higher resolution screens | 17:37 |
DanChapman | yeah true, the screen is rather nice. | 17:39 |
=== mmrazik|afk is now known as mmrazik | ||
=== yofel_ is now known as yofel | ||
=== Ursinha is now known as Ursinha-afk | ||
=== Ursinha-afk is now known as Ursinha | ||
DanChapman | damn vbox crashed with my test inside :'( | 19:33 |
balloons | ohh netsplitting is bad today :( | 19:33 |
balloons | DanChapman, sorry to hear that mate! best to use bzr branches and do everything local | 19:34 |
balloons | then push to lp and swap to vm and to a bzr pull | 19:34 |
DanChapman | Thats a good idea!! will do that :D | 19:34 |
balloons | hehe.. the words of experience is all | 19:34 |
balloons | and you've learned too! | 19:35 |
DanChapman | And will never forget again :D | 19:35 |
=== yofel_ is now known as yofel | ||
=== francisco is now known as Guest71674 | ||
Letozaf_ | balloons, hi | 19:52 |
balloons | Letozaf_, hello | 19:53 |
Letozaf_ | balloons, I have almost finished screenshot test I have only two things that I wanted to ask you about | 19:53 |
balloons | Letozaf_, sure | 19:54 |
Letozaf_ | balloons, the first is that after saving the screenshot and before verifying that the screenshot is >0 I had to put a sleep otherwise I get an error | 19:55 |
balloons | Letozaf_, you should be able to use the lambda and eventually to avoid that | 19:55 |
balloons | is everything pushed to your lp branch? | 19:56 |
balloons | push it up and then we can chat about it :-) | 19:56 |
Letozaf_ | balloons, ok just a second | 19:56 |
Letozaf_ | balloons, ah! compiz crashed, have to reboot :) | 19:57 |
Letozaf_ | balloons, just a second and I will push the test to lp branch | 19:58 |
balloons | Letozaf_, excellent | 19:58 |
Letozaf_ | balloons, pushed | 20:02 |
balloons | Letozaf_, kk | 20:02 |
Letozaf_ | balloons, line 73 had to put that sleep it's just before an assert lambda | 20:03 |
Letozaf_ | balloons, it's after saving the screenshot | 20:03 |
* balloons is looking | 20:04 | |
balloons | Letozaf_, ahh thatt's the file verification piece | 20:04 |
balloons | so what I did was add a little polling loop in my example | 20:05 |
Letozaf_ | balloons, yes | 20:05 |
balloons | let me pull it | 20:05 |
balloons | ohh you have it ;-) | 20:05 |
balloons | well almost.. I used self.assertThat(lambda: os.path.isfile(fileName+'.png'), Eventually(Equals(True))) | 20:05 |
balloons | basically just look for the file to exist | 20:06 |
balloons | I should try running your code though and see why it's not working | 20:06 |
Letozaf_ | balloons, the first two tests are ok a part the sleeps | 20:06 |
balloons | just the one test has issues? | 20:07 |
Letozaf_ | balloons, the last one | 20:07 |
balloons | k, I'll run that ne | 20:07 |
Letozaf_ | balloons, is missing the part where I have to select the drop shadow effect | 20:08 |
Letozaf_ | balloons, thats the othe problem | 20:08 |
balloons | mm, yea that one failed | 20:10 |
balloons | Letozaf_, ok so what's wrong with the drop shadow? | 20:10 |
Letozaf_ | balloons, can-t select the effect from the drop down menu | 20:11 |
Letozaf_ | balloons, :( drop down boxes hate me | 20:11 |
balloons | I see it's commented out | 20:11 |
Letozaf_ | balloons, I-ve tried several "solutions" but non worked | 20:11 |
balloons | right.. so let's see | 20:11 |
balloons | we might have to exclude that test for now if we can't get it running :-0 | 20:12 |
balloons | Letozaf_, what is this line for? self.assertThat(lambda: self.incl_win_border.active, Eventually(Equals(1))) | 20:13 |
Letozaf_ | balloons, I wanted to verify that the check box include window border was checked | 20:13 |
balloons | ahh ok.. and I see the issue Letozaf_ | 20:14 |
balloons | your code isn't bad, it's a bug | 20:14 |
balloons | the file is a zero byte file | 20:14 |
Letozaf_ | balloons, fiew! :) | 20:14 |
balloons | lol.. gnome-screenshot isn't making a good image | 20:14 |
Letozaf_ | balloons, it-s because there is no sleep | 20:14 |
Letozaf_ | balloons, put a sleep like the other tests and the file will be ok | 20:15 |
Letozaf_ | balloons, it you take the sleep away the file is 0 bytes | 20:15 |
balloons | what the? | 20:15 |
Letozaf_ | balloons, just like the other tests, if you comment the sleep you have the same problem | 20:16 |
balloons | ohh you have all the sleeps in there | 20:17 |
balloons | wild, mine worked, but it was only checking for existence | 20:17 |
balloons | Letozaf_, ok fixed it | 20:25 |
balloons | we need both.. verify a file exists.. then verify a non-zero size | 20:25 |
Letozaf_ | balloons, \o/ great!!! | 20:25 |
balloons | add self.assertThat(lambda: os.path.isfile('/tmp/'+fileName+'.png'), Eventually(Equals(True))) to verify_non_zero ahead of the assert you have | 20:26 |
balloons | ok, so the drop shadow piece.. let's see | 20:28 |
Letozaf_ | balloons, great it worked also for me :-) | 20:29 |
Letozaf_ | balloons, yea cannot find how to select that drop down button and select drop shadow | 20:29 |
balloons | does it make sense to you Letozaf_ / | 20:29 |
Letozaf_ | balloons, that checking that the file exists first ? | 20:30 |
balloons | yea | 20:30 |
balloons | the non-zero check is a good one too :-) | 20:30 |
balloons | but it doesn't like us trying to os.stat a nonexistent file it seems | 20:30 |
balloons | so verifying it's there first fixes that | 20:31 |
Letozaf_ | balloons, yeah I think that in place of a sleep you do do another check before checking the non-zero | 20:31 |
balloons | right.. anyways, onto the drop shadow piece | 20:31 |
balloons | so I see the query fails | 20:31 |
balloons | ValueError: More than one item was returned for query | 20:31 |
Letozaf_ | balloons, argh! yes | 20:32 |
Letozaf_ | balloons, could not find anything better that workded | 20:32 |
Letozaf_ | sorry worked | 20:32 |
balloons | right, so hmm | 20:32 |
* balloons introspects | 20:35 | |
Letozaf_ | balloons, hope you have more luck than me ;) | 20:36 |
balloons | Letozaf_, btw at some point you should check out doing autopilot with the new apps.. It's really quite nice.. not frustrating with the inability to get objects like in gtk | 20:36 |
thomi | balloons: +1 :-/ | 20:36 |
balloons | it will be a nice refreshing change when you need it :-) | 20:36 |
Letozaf_ | balloons, new apps ? you mean the core apps ? | 20:37 |
balloons | lol.. though once you do it the limits you'll hit will be your own understanding so you can' t blame the app :-) | 20:37 |
balloons | Letozaf_, yes, I specifically kicked off stuff for the cores apps in QML, but any Qt app is nice | 20:38 |
Letozaf_ | balloons, ok fine, but is there a list of apps somewhere to pick from? | 20:39 |
balloons | Letozaf_, wow this screenshot app isn't too bad with spawning stuff though :-) | 20:39 |
balloons | Letozaf_, https://wiki.ubuntu.com/Touch/CoreApps/Testing | 20:39 |
Letozaf_ | balloons, cool :) | 20:39 |
balloons | so you tried the direct way, asking for 'Drop Shadow' | 20:40 |
Letozaf_ | balloons, yeah did not find anything better | 20:40 |
=== hggdh is now known as ubotu-br | ||
balloons | ohh.. this looks interesting | 20:41 |
balloons | we can test all the little checkboxes.. in theory | 20:41 |
Letozaf_ | balloons, how how ... | 20:41 |
balloons | ah-ha! I think I found | 20:41 |
=== ubotu-br is now known as ubotu-br` | ||
balloons | I see a 'shadow' objet | 20:41 |
Letozaf_ | balloons, a what ? | 20:42 |
=== ubotu-br` is now known as hggdh | ||
balloons | gtkComboBoxAccessible, accessible_name = shadow | 20:42 |
Letozaf_ | balloons, how does that work ? | 20:43 |
balloons | Letozaf_, trying it out now | 20:44 |
Letozaf_ | balloons, :-) | 20:44 |
balloons | Letozaf_, ok I've got a list of stuff to try and use | 20:49 |
Letozaf_ | balloons, ok | 20:50 |
balloons | if not we'll drop that piece of necessity and go with what we have | 20:50 |
* balloons fingers crossed | 20:50 | |
* Letozaf_ fingers crossed too | 20:50 | |
balloons | Letozaf_, also try not to name things with a . in them.. the . has meaning ;-) user an underscore | 20:51 |
balloons | self.drop.shadow -> self.drop_shadow | 20:51 |
balloons | python less confused that way | 20:51 |
Letozaf_ | balloons, oh! I think it was a mistake I usually use underscore | 20:53 |
Letozaf_ | balloons, I will fix it right away | 20:53 |
* Letozaf_ needs new glasses | 20:54 | |
Letozaf_ | :p | 20:54 |
balloons | lol, I hear that | 20:54 |
balloons | so it will select the combobox now | 20:54 |
Letozaf_ | balloons, so it was the . that made it not work :p | 20:55 |
Letozaf_ | balloons, oh shoot! | 20:55 |
balloons | window border seems to work now too | 20:56 |
Letozaf_ | balloons, even with the underscore in place of . it's not working for me, what did you use ? | 20:59 |
balloons | self.drop_shadow=self.app.select_single('GtkComboBoxAccessible', accessible_name='shadow') | 21:00 |
Letozaf_ | balloons, oh! fine. let me try it | 21:00 |
Letozaf_ | balloons, not working but probably I am using that shadow stuff in a wrong way | 21:03 |
balloons | lol.. gtk is a crapshoot | 21:03 |
Letozaf_ | balloons, true, I'm starting to realize it now | 21:04 |
Letozaf_ | balloons, it's getting late for me | 21:08 |
balloons | Letozaf_, ok everything works here | 21:08 |
Letozaf_ | balloons, wow | 21:08 |
Letozaf_ | balloons, great | 21:09 |
balloons | so.. I guess you want me to paste you this and you can put into branch? | 21:09 |
Letozaf_ | balloons, well I hope so :p | 21:10 |
Letozaf_ | balloons, I will finish the test and check it tomorrow and then propose to merge if I get everything working | 21:11 |
balloons | k, incoming paste | 21:11 |
Letozaf_ | balloons, thanks | 21:11 |
balloons | http://paste.ubuntu.com/5736998/ | 21:11 |
Letozaf_ | balloons, I owe you a bear :p | 21:11 |
balloons | lol... I don't drink alchohol.. but if I remember correctly I owe you one anyway from raring final iso testing :-) | 21:12 |
balloons | mm.. looking at that probably could add logic again to not go through the drop shadow bit if it's already selected | 21:13 |
balloons | ie, if self.drop_shadow_effect.enabled == 'True' | 21:14 |
balloons | err.. lol if self.drop_shadow_effect.enabled == 'False': then do the bits to turn it on | 21:14 |
balloons | like this: http://paste.ubuntu.com/5737009/ | 21:15 |
balloons | I'll watch for your merge | 21:15 |
balloons | good night Letozaf_ | 21:15 |
Letozaf_ | balloons, thank you very much | 21:15 |
Letozaf_ | balloons, let you know tomorrow 'night | 21:16 |
phillw | balloons: can you add the time in for your session on https://wiki.ubuntu.com/Testing/Activities/Classroom/Saucy#Introduction_to_QA_tools Many thanks! | 22:32 |
=== salem_ is now known as _salem |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!