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