/srv/irclogs.ubuntu.com/2013/06/05/#ubuntu-quality.txt

SergioMenesesNoskcaj, \o01:32
Noskcajhey SergioMeneses01:32
SergioMenesesNoskcaj, I'm here reading the game of thrones book01:36
NoskcajSergioMeneses: i should probably start reading/watching that.01:38
SergioMenesesNoskcaj, jeje01:38
NoskcajHave you watched breaking bad?01:38
Noskcajon a more Ubuntu topic, http://noskcaj10.wordpress.com/2013/06/02/the-ubuntu-pc-case-mod/01:39
SergioMenesesNoskcaj, awesome!01:42
Noskcajit will take a few months, but it will be awesome. now if only system76 would sponsor me.01:45
SergioMenesesNoskcaj, and did you talk with them?01:47
Noskcaji sent an email, i'll send more01:48
SergioMenesesNoskcaj, perfect! :)01:54
jibelgood morning05:13
SergioMenesesjibel, 00:14 here! but morning to you :G05:14
SergioMeneses:D05:14
jibelHey SergioMeneses05:16
SergioMenesesgood night guys05:20
balloonsnight jibel :-p05:28
jibelHey balloons , good night :)05:29
pittijibel: would you mind if I commit http://paste.ubuntu.com/5734931/ to auto-upgrade-testing?06:16
pittijibel: I currently need it to closely examine a daily upgrade, but I would have found it useful for doing offline work in a train, too06:16
pittiand if you don't care for the very latest stuff when debugging a test, it's massively faster06:16
jibelpitti, sure, I'll review your MP06:31
pittijibel: ah, you want an MP? ok06:32
jibelpitti, s/MP/commit06:32
jibelpitti, I don't need an MP :)06:32
pittijibel: I tested it both ways, I just wanted to ask whether you mind the extra option06:32
pittijibel: I can hide it from --help if you think it's bloating06:33
jibelpitti, no problem, it looks fine to me06:33
pittid'accord, merci06:33
jibelpitti, de rien06:34
pittipushed06:34
jibelthanks06:35
=== rbasak_ is now known as rbasak
=== psivaa_ is now known as psivaa
pittijibel: do you have a clever trick to deal with those timezone skews in run-adt-test VMs?10:34
pittijibel: I regularly get apt complaining about these, and worse, it breaks package builds10:34
pittichecking whether build environment is sane... configure: error: newly created file is older than distributed files!10:34
jibelpitti, 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
jibels/find/fix10:40
pittijibel: "run-adt-test -sl" will do an apt-get update, and complain about the timezone offset10:41
* pitti checks whether copying /etc/timezone helps10:41
pittiFetched 18.8 MB in 213503982334601d 5h 0min 39s (0 B/s)10:41
pittiwell, not quite complain, but that's one effect10:42
pittithat's 64 bit wrap around of "minus two hours" (UTC from CEST)10:42
pittior just doing "date" in the VM, and seeing that it's UTC; although I'm not quite sure why that should matter for configure10:43
pittiwhen it copies the source package it somehow seems to retain the CEST timestamps10:43
pittihttp://paste.ubuntu.com/5735388/ works for apt, testing package build10:48
pittiFetched 18.8 MB in 10s (1,867 kB/s)10:48
pittiah, that looks much saner :)10:48
pittimeh, but not for package build10:49
pittiwe might actually need to set the TZ in the debconf db and reconfigure tzdata, I try that10:49
jibelpitti, I'll set the timezone in the cloud-config file during the provisioning and see if it helps10:52
pittijibel: http://paste.ubuntu.com/5735402/ also works for apt, but something else is still fishy; the package build still fails10:58
* pitti investigates this more closely10:58
pittioh, WTH11:00
pittistat configure11:00
pittiModify: 2013-06-05 14:58:20.332812000 +020011:00
pittithat's in two hours from now11:00
* saintlulu waves at pitti11:02
pittihey saintlulu11:03
pittijibel: 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
pittijibel: http://paste.ubuntu.com/5735421/ gets me a little further, but there are still complaints11:08
pittigpg: key 270BF656 was created 7097 seconds in the future (time warp or clock problem)11:08
pittiadt-run: unexpected error: apt-ftparchive or signature failed, code 211:08
pittiperhaps there's some cloud-init magic which does something weird to the clock during boot11:09
jibelhttp://paste.ubuntu.com/5735423/11:09
jibelpitti, ^11:09
pittiah, nice11:10
jibelI didn't try a package build but the TZ matches the host11:10
pittijibel: both combined also work for me: http://paste.ubuntu.com/5735428/11:12
pittijibel: but I'll try your's, too (that'll take a bit)11:12
pittinice, that now builds my brand new umockdev 0.2.4 package, installs it, and runs its autopkgtests11:13
pittijibel: running prepare-testbed, downloading11:16
* pitti prepares some lunch in the meantime11:16
jibelI built a simple package an configure is happy, I wish umockdev will be too11:16
pittigpg: key 8EF5158D was created 7199 seconds in the future (time warp or clock problem)11:24
pittiand apt still complains, too11:24
pittijibel: 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
pittijibel: nope, same result :/11:25
pittiso 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
jibelpitti, go for your fix, cloud-config doesn't modify debconf db11:29
pittijibel: it needs to run dpkg-reconfigure tzdata if it modifies /etc/timezone; it doesn't do that?11:30
pittijibel: but it seems the trick for the configure test is to use scp -p only, not the host's TZ11:30
pitti. o O { run-adt-test -sUkS file://..  sounds really like an insult! }11:31
jibelpitti, it doesn't and dpkg-reconfigure reverts tz to utc11:31
jibel:)11:32
pittijibel: ok, I'll commit that for now; if it causes trouble, we can just revert it11:32
jibelpitti, ok, thanks11:32
=== shadeslayer_ is now known as shadeslayer
zygahttps://code.launchpad.net/~zkrynicki/checkbox/docker/+merge/16751712:07
* zyga goes for lunch12:07
zygaoh, wrong channel12:07
zyga:)12:07
=== cprofitt_ is now known as cprofitt
pittijibel: meh, autopkgtest's "Restrictions: build-needed" is broken :/13:09
pittijibel: despite the description, it runs the tests from the original cwd apparently, not from the built tree13:10
=== _salem is now known as salem_
=== zyga_ is now known as zyga
=== ashams is now known as Guest15032
DanChapmanafternoon everyone14:29
* saintlulu waves14:30
DanChapmanballoons, ping14:31
balloonsDanChapman, [pmg14:50
=== dpniel_ is now known as DanChapman
DanChapmanballoons, 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
balloonsDanChapman, indeed. The autopilot testcase will need to be part of a testrunner to get the full effect15:59
=== jibel_ is now known as jibel
balloonsfor 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
DanChapmanballoons 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
balloonsDanChapman, I'm not sure what your meaning here.. I mean it goes through the same process each time16:03
phillwballoons: 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-cases16:03
=== plars is now known as plars-afk
=== mmrazik is now known as mmrazik|afk
DanChapmanballoons, 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
balloonsyou'll know it's the end when you get the dialog window I think16:22
balloonshowever there is also a progress widget at the bottom16:22
balloonsthat should be exposed too16:22
DanChapmanWould autopilot not timeout though waiting for a progress bar? I think the default is 10 seconds16:25
DanChapmani will get to that point anyway and see where its at :-)16:26
balloonsyou can change the timeout DanChapman16:31
balloonsbut that is a good point :-)16:31
balloonshow long do we wait, and how do we know everything is still moving along16:32
=== knome_ is now known as knome
DanChapmanYeah its a tricky one. Well i will get to that point first and we can take a look from there :-)16:35
balloonsDanChapman, indeed16:35
balloons:-)16:35
=== jamespag` is now known as jamespage
balloonsDanChapman, et la. I updated the trello board for autopilot tests and closed the bugs we fixed17:16
balloonswe still have to decide if we're retaining the board or not :-)17:17
DanChapmanCool how do i join the trello board members?17:17
balloonshttps://trello.com/board/autopilot-tests/50e735ad7351f0a64e00040c17:17
balloonsI can add you, you just need an account17:17
DanChapmanYeah, i quite like the visual side of trello. Or any backlog board in fact. should ask on the mailing list.17:19
DanChapmanRight account created17:20
DanChapmanwhat do you need to add me email?17:21
balloonsemail or account name17:21
DanChapmanusername = danchapman317:22
DanChapmanhmmm think i might sell my macbook and buy a Dell XPS :-)17:23
balloonsthe sputnik?17:24
DanChapmanyeah sputnik or the XPS 1417:25
balloonsIf 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
balloonsas it stands I tend to keep my mobile devices very light and basic and have a nice workstation and servers instead :-)17:28
balloonsbut the sputnik does look cool. honestly it's been so long since I've used a nice dev laptop like that17:28
balloonsI've no idea how to compare it17:29
DanChapmanI 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
balloonsahh.. I've never liked the mac hardware.. mostly the keyboard drives me absolutely nuts17:33
DanChapmandon't get me started on the keyboard17:34
balloonslol17:34
DanChapmanIts a lovely put together casing but thats as far as my like for it goes17:35
balloonsscreens are also usually nice on the macbooks. Some other laptops don't like to include higher resolution screens17:37
DanChapmanyeah 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
DanChapmandamn vbox crashed with my test inside :'(19:33
balloonsohh netsplitting is bad today :(19:33
balloonsDanChapman, sorry to hear that mate! best to use bzr branches and do everything local19:34
balloonsthen push to lp and swap to vm and to a bzr pull19:34
DanChapmanThats a good idea!! will do that :D19:34
balloonshehe.. the words of experience is all19:34
balloonsand you've learned too!19:35
DanChapmanAnd will never forget again :D19:35
=== yofel_ is now known as yofel
=== francisco is now known as Guest71674
Letozaf_balloons, hi19:52
balloonsLetozaf_, hello19:53
Letozaf_balloons, I have almost finished screenshot test I have only two things that I wanted to ask you about19:53
balloonsLetozaf_, sure19: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 error19:55
balloonsLetozaf_, you should be able to use the lambda and eventually to avoid that19:55
balloonsis everything pushed to your lp branch?19:56
balloonspush it up and then we can chat about it :-)19:56
Letozaf_balloons, ok just a second19:56
Letozaf_balloons, ah! compiz crashed, have to reboot :)19:57
Letozaf_balloons, just a second and I will push the test to lp branch19:58
balloonsLetozaf_, excellent19:58
Letozaf_balloons, pushed20:02
balloonsLetozaf_, kk20:02
Letozaf_balloons, line 73 had to put that sleep it's just before an assert lambda20:03
Letozaf_balloons, it's after saving the screenshot20:03
* balloons is looking20:04
balloonsLetozaf_, ahh thatt's the file verification piece20:04
balloonsso what I did was add a little polling loop in my example20:05
Letozaf_balloons, yes20:05
balloonslet me pull it20:05
balloonsohh you have it ;-)20:05
balloonswell almost.. I used         self.assertThat(lambda: os.path.isfile(fileName+'.png'), Eventually(Equals(True)))20:05
balloonsbasically just look for the file to exist20:06
balloonsI should try running your code though and see why it's not working20:06
Letozaf_balloons, the first two tests are ok a part the sleeps20:06
balloonsjust the one test has issues?20:07
Letozaf_balloons, the last one20:07
balloonsk, I'll run that ne20:07
Letozaf_balloons, is missing the part where I have to select the  drop shadow effect20:08
Letozaf_balloons, thats the othe problem20:08
balloonsmm, yea that one failed20:10
balloonsLetozaf_, ok so what's wrong with the drop shadow?20:10
Letozaf_balloons, can-t select the effect from the drop down menu20:11
Letozaf_balloons, :( drop down boxes hate me20:11
balloonsI see it's commented out20:11
Letozaf_balloons, I-ve tried several "solutions" but non worked20:11
balloonsright.. so let's see20:11
balloonswe might have to exclude that test for now if we can't get it running :-020:12
balloonsLetozaf_, 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 checked20:13
balloonsahh ok.. and I see the issue Letozaf_20:14
balloonsyour code isn't bad, it's a bug20:14
balloonsthe file is a zero byte file20:14
Letozaf_balloons, fiew! :)20:14
balloonslol.. gnome-screenshot isn't making a good image20:14
Letozaf_balloons, it-s because there is no sleep20:14
Letozaf_balloons, put a sleep like the other tests and the file will be ok20:15
Letozaf_balloons, it you take the sleep away the file is 0 bytes20:15
balloonswhat the?20:15
Letozaf_balloons, just like the other tests, if you comment the sleep you have the same problem20:16
balloonsohh you have all the sleeps in there20:17
balloonswild, mine worked, but it was only checking for existence20:17
balloonsLetozaf_, ok fixed it20:25
balloonswe need both.. verify a file exists.. then verify a non-zero size20:25
Letozaf_balloons, \o/ great!!!20:25
balloonsadd self.assertThat(lambda: os.path.isfile('/tmp/'+fileName+'.png'), Eventually(Equals(True))) to verify_non_zero ahead of the assert you have20:26
balloonsok, so the drop shadow piece.. let's see20: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 shadow20:29
balloonsdoes it make sense to you Letozaf_ /20:29
Letozaf_balloons, that checking that the file exists first ?20:30
balloonsyea20:30
balloonsthe non-zero check is a good one too :-)20:30
balloonsbut it doesn't like us trying to os.stat a nonexistent file it seems20:30
balloonsso verifying it's there first fixes that20:31
Letozaf_balloons, yeah I think that in place of a sleep you do do another check before checking the non-zero20:31
balloonsright.. anyways, onto the drop shadow piece20:31
balloonsso I see the query fails20:31
balloonsValueError: More than one item was returned for query20:31
Letozaf_balloons, argh! yes20:32
Letozaf_balloons, could not find anything better that workded20:32
Letozaf_sorry worked20:32
balloonsright, so hmm20:32
* balloons introspects20:35
Letozaf_balloons, hope you have more luck than me ;)20:36
balloonsLetozaf_, 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 gtk20:36
thomiballoons: +1 :-/20:36
balloonsit will be a nice refreshing change when you need it :-)20:36
Letozaf_balloons, new apps ? you mean the core apps ?20:37
balloonslol.. though once you do it the limits you'll hit will be your own understanding so you can' t blame the app :-)20:37
balloonsLetozaf_, yes, I specifically kicked off stuff for the cores apps in QML, but any Qt app is nice20:38
Letozaf_balloons, ok fine, but is there a list of apps somewhere to pick from?20:39
balloonsLetozaf_, wow this screenshot app isn't too bad with spawning stuff though :-)20:39
balloonsLetozaf_, https://wiki.ubuntu.com/Touch/CoreApps/Testing20:39
Letozaf_balloons, cool :)20:39
balloonsso you tried the direct way, asking for 'Drop Shadow'20:40
Letozaf_balloons, yeah did not find anything better20:40
=== hggdh is now known as ubotu-br
balloonsohh.. this looks interesting20:41
balloonswe can test all the little checkboxes.. in theory20:41
Letozaf_balloons, how how ...20:41
balloonsah-ha! I think I found20:41
=== ubotu-br is now known as ubotu-br`
balloonsI see a 'shadow' objet20:41
Letozaf_balloons, a what ?20:42
=== ubotu-br` is now known as hggdh
balloonsgtkComboBoxAccessible, accessible_name = shadow20:42
Letozaf_balloons, how does that work ?20:43
balloonsLetozaf_, trying it out now20:44
Letozaf_balloons, :-)20:44
balloonsLetozaf_, ok I've got a list of stuff to try and use20:49
Letozaf_balloons, ok20:50
balloonsif not we'll drop that piece of necessity and go with what we have20:50
* balloons fingers crossed20:50
* Letozaf_ fingers crossed too20:50
balloonsLetozaf_, also try not to name things with a . in them.. the . has meaning ;-) user an underscore20:51
balloonsself.drop.shadow -> self.drop_shadow20:51
balloonspython less confused that way20:51
Letozaf_balloons, oh! I think it was a mistake I usually use underscore20:53
Letozaf_balloons, I will fix it right away20:53
* Letozaf_ needs new glasses20:54
Letozaf_:p20:54
balloonslol, I hear that20:54
balloonsso it will select the combobox now20:54
Letozaf_balloons, so it was the . that made it not work :p20:55
Letozaf_balloons, oh shoot!20:55
balloonswindow border seems to work now too20:56
Letozaf_balloons, even with the underscore in place of . it's not working for me, what did you use ?20:59
balloonsself.drop_shadow=self.app.select_single('GtkComboBoxAccessible', accessible_name='shadow')21:00
Letozaf_balloons, oh! fine. let me try it21:00
Letozaf_balloons, not working but probably I am using that shadow stuff in a wrong way21:03
balloonslol.. gtk is a crapshoot21:03
Letozaf_balloons, true, I'm starting to realize it now21:04
Letozaf_balloons, it's getting late for me21:08
balloonsLetozaf_, ok everything works here21:08
Letozaf_balloons, wow21:08
Letozaf_balloons, great21:09
balloonsso.. I guess you want me to paste you this and you can put into branch?21:09
Letozaf_balloons, well I hope so :p21:10
Letozaf_balloons, I will finish the test and check it tomorrow and then propose to merge if I get everything working21:11
balloonsk, incoming paste21:11
Letozaf_balloons, thanks21:11
balloonshttp://paste.ubuntu.com/5736998/21:11
Letozaf_balloons, I owe you a bear :p21:11
balloonslol... I don't drink alchohol.. but if I remember correctly I owe you one anyway from raring final iso testing :-)21:12
balloonsmm.. looking at that probably could add logic again to not go through the drop shadow bit if it's already selected21:13
balloonsie, if self.drop_shadow_effect.enabled == 'True'21:14
balloonserr.. lol if self.drop_shadow_effect.enabled == 'False': then do the bits to turn it on21:14
balloonslike this: http://paste.ubuntu.com/5737009/21:15
balloonsI'll watch for your merge21:15
balloonsgood night Letozaf_21:15
Letozaf_balloons, thank you very much21:15
Letozaf_balloons, let you know tomorrow 'night21:16
phillwballoons: 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!