/srv/irclogs.ubuntu.com/2014/01/15/#ubuntu-quality.txt

rbasakhttps://jenkins.qa.ubuntu.com/job/trusty-adt-libapache2-mod-python/20/ ran and failed as a result of my apache2 upload. I got emailed. But I would expected it to have blocked proposed migration except that it didn't, and apache2 got through. What's wrong with my understanding of the process here?00:44
rbasak(I've just uploaded a fixed libapache2-mod-python)00:44
=== chihchun_afk is now known as chihchun
pittiGood morning06:43
KI7MTgm06:46
=== shuduo is now known as shuduo|afk
=== shuduo|afk is now known as shuduo
jibelpitti, I think I found the problem with autopkgtest of linux. The timeout occurs if copyupdown takes more than 300s10:38
pittiooh! but that would only be 5 mins, I thought it timed out after an hour of building?10:39
jibelpitti, which is the case for linux because it tars/untars the kernel10:39
pittijibel: since 2.3.7 there is --timeout-copy10:39
jibelpitti, yeah, but this 1h was a red-herring10:39
pittijibel: I guess globally setting it to 1000 should be fine; we don't usually have "real" timeouts in that phase10:40
pittiat least I never ran into one10:40
jibelpitti, I'll do another test with 1000 and see if it passes, then I'll set it by default10:41
jibelthat's also why it is not reproducible with smaller packages10:41
pittiindeed10:41
jibelpitti, actually that could be improved in VirtSubProc, if local and remote are on the same filesystem, then use rsync or cp instead of tar/untar10:50
pittijibel: you think the tar pipelining is so much overhead? I had expected this to be I/O bound for the hard disk10:51
jibelpitti, for linux and libreoffice autopkgtest runs on hard disk10:54
jibelanyway, I'm trying with copy timeout set to 1000, and it will be good enough if it passes10:55
davmor2Morning all11:01
=== _salem is now known as salem_
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
=== TheLordOfTime is now known as teward
slickymasterafternoon all15:33
tewardo/15:33
fox__Morning From Australia16:47
=== chihchun is now known as chihchun_afk
elopioballoons, jfunk: do we have a project for system instegration tests?18:05
elopiofor example, where should we put a test that involves unity, unity-scope-click, online accounts and download manager?18:05
jfunkelopio: not that I know of off the top of my head, perhaps something you could bring up in our team meeting tomorrow?18:12
jfunksomeone else might know18:13
elopioif there is none, I'll need to start one like tomorrow.18:13
elopioso, I'll note it down to discuss on the meeting.18:14
=== salem_ is now known as _salem
=== bfiller is now known as bfiller_afk
balloonsbuonasera Letozaf_19:48
Letozaf_balloons, buonasera19:48
Letozaf_balloons, I read mzanetti comment that the reminders app  tests fail on jenkins because there is no account configured19:49
Letozaf_balloons, I suppose you guys have to find out a work around for this19:50
balloonsLetozaf_, right.. I was hoping to solve that today :-)19:50
mzanettiballoons: hi19:50
mzanettiballoons: what do you propose?19:50
Letozaf_balloons, would be great19:50
Letozaf_mzanetti, hello19:50
mzanettiLetozaf_: o/19:50
balloonsmzanetti, Letozaf_ I  don't have a proposition.. but let's think aloud together19:51
mzanettiballoons: so there's to options:19:51
mzanettiballoons: mock _everything_ (in which case we'd be better off with qmltests)19:52
balloonsyour test assumes an account.. which I think needs to change. Ideally, we'd test the account creation19:52
mzanettiballoons: or inject an account config into jenkins19:52
mzanettiballoons: actually imo we should have both19:52
balloonsright.. I would mock the account config and inject it19:52
balloonsbut we still need a creation test :-)19:52
balloonsand an account we can mock19:52
mzanettiballoons: what do you mean with creation test?19:53
balloonsthere's also the issue of.. if we can, let's avoid pinging the evernote server to start with19:53
balloonsa test to create the account.. Which might lie in online accounts19:53
mzanettiyeah. that belongs in there19:54
mzanettiso, we could deploy an account config with the tests package19:54
mzanettinah... better to write a mock for the accounts-plugin19:55
balloonsso what we've done in the past for this is to mock it and maniever the app db and files around before launching the app.. Then undoing it when we are done :-)19:57
balloonsWe can generate the config on the fly via code, or commit it and copy it to the proper place19:57
balloonsagain, depending on what it looks like, one or the other is the better answer19:57
balloonsSo, in this case, let's assume we're going to inject an account. What do we need to mock up? And shall we do it via code or committing files?19:58
mzanettifor integration tests I guess modifying the account's config would be way to go20:00
mzanettiall we request from the api is a list of accounts where each has a name and token20:01
mzanettiso we can place some token in there that we manually generate with the server20:01
mzanettihmm... I guess the config is in here: ~/.config/libaccounts-glib/accounts.db20:03
mzanettiballoons: do you know how to do this?20:04
balloonsmzanetti, yes.. I've got experience in mocking things :-)20:05
balloonsI'll look around in the app db20:05
balloonsI've got an account attached locally. I'll remove it and readd and see what it looks like20:06
balloonswe can also ask ken20:07
mzanettiballoons: well, in ~/.config/libaccounts-glib/accounts.db there is a table Accounts with those values: 5|michael.zanetti@canonical.com|evernote|120:07
mzanettiwe'd need to insert that20:07
mzanettithen there must be some api key somewhere20:07
mzanettiyeah, in Services and Settings are some entries20:09
mzanettibut still haven't found the actual credentialsid20:10
balloonsmzanetti, I'm asking ken before looking too hard :-)20:10
mzanettiok... yeah... if you generate such an account the tests on jenkins should pass20:10
balloonsperfect. That should be enough to get this onto ci20:11
balloonsok, so I've got some sql that more or less works20:27
Letozaf_balloons, mzanetti found this if it can help:  http://dev.evernote.com/doc/articles/authentication.php20:37
balloonsdoes reminders store anything in .local/share/com.ubuntu.reminders-app?20:39
balloonswe do have an issue with my idea.. apparmor I *think* is going to prevent us from modifying ~/.config/libaccounts-glib/accounts.db20:40
balloonsLetozaf_, so I guess I'll work on a branch and have you remerge it after20:44
Letozaf_balloons, ok fine20:44
KI7MTQuick question about writing test cases and bugs. If we're going to work on a particular bug for writing up a test case, should we change the assigned too / status when we start working on the docs?20:54
balloonsKI7MT, what do you means start working on the docs?20:55
KI7MTballoons, When we start writing the Test Case.20:55
balloonsKI7MT, yes, feel free to assign yourself to the bug when you start working on it. When you are ready to merge you can link the mp to the bug report20:56
KI7MTballoons, ok thank you.20:56
balloonsKI7MT, thank you! Do you need help getting started?20:56
elfyballoons: was writing that slowly - thanks :p20:56
KI7MTballoons, Well im sure I'll ahve some Q's at some point, but been using these test cases for yrs, so thought I'd have a crack at writing a few needed ones :-)20:58
elfyhave fun KI7MT20:58
balloonsKI7MT, you will be a natural20:58
KI7MTballoons, I knew I'd have question(s), I see there is a test script for format checking, I have not used it yet. Is there a way to test render the HTML as I see were not header / body / footer tags21:05
KI7MT*were not using21:05
elfyyea there is21:05
balloons:-) linky elfy ?21:06
elfyhttps://wiki.ubuntu.com/QATeam/ContributingTestcases/ManualStyleGuide/test_case_format_script21:06
balloonsboom!21:06
elfyballoons: givvusachancebeenupforhours:p21:06
KI7MTDing, I knew I should have run that script before asking the question.21:06
elfy:)21:06
KI7MTOk, scripts works etc etc  .. how can I see the final version using the broswer ?21:15
balloonsletozaf, so you can at least see where I'm going; lp:~nskaggs/reminders-app/add-test-mock-account21:17
letozafballoons, ok thanks21:17
balloonsKI7MT, feel free to open it in a browser, however without the css from the site it won't look the same21:17
KI7MTballoons, Yes, that's what I was after, the off-line method .. I guess I could grab the css and whip up a script just for sanity checking.21:19
balloonsKI7MT, yea, you could do that.. could be useful21:19
balloonsprobably would be easy enough21:20
balloonslet me help a bit21:20
KI7MTballoons, Simple heardoc should work but need to play with it a bot.21:20
KI7MT*bit21:20
balloonshttp://iso.qa.ubuntu.com/qatracker/testcases/1450/info21:21
balloonsyou could nab that and put in your own test :-)21:21
balloonsletozaf, ohh I should warn you.. don't run that :-021:21
balloonsit will wipe your online accounts db.. no backups.. wip21:22
balloonsdo'h21:22
letozafballoons, ok thanks, I guess I would have tried it at some point :D21:22
letozafballoons, suppose that if I have to write autopilot tests for reminders app, after this  db implementation, I must do it on a VM or where I do not have online accounts21:33
balloonsletozaf, I'll fix it so it doesn't do that21:33
balloonsworking on it now21:33
balloonsit'll be like the others and swap the file in and out.. backup original, test with modded file, restore original21:34
balloonsshouldn't cause issues I hope :-p21:34
letozafballoons,  for me no matter,  even if I lose my online accounts, I can put them back in :)21:35
balloonsso it works, but the tests still fail because the account isn't valid I think21:35
letozafballoons, valid because you have no Evernote account or because of the autentication token21:38
balloonsno evernote account.. I used a fake name21:38
balloonslet me try with my real account, but mocked21:38
KI7MT:-) Another question, what's the word on word-wrapping 80col ? It would appear wr is not used at all?21:44
balloonsKI7MT, no, we don't force word wrapping at 80.. unless I'm mistaken21:45
balloonsin which case I'd hide in shame21:45
KI7MTOk thanks ...21:46
letozafballoons, going to bed, be back tomorrow :) buona notte !21:50
balloonsbuona notte letozaf21:50
balloonsgrazi21:50
letozafballoons, grazie a te :)21:50
letozafballoons, (means thank you)21:50
=== czchen_ is now known as czchen
=== stgraber_ is now known as stgraber
KI7MTFor writing tests cases, after Installation for instance, if we want to add a few tests to check basic functionality after login, do the tests themself belong in the install test case or are they separate test case files?23:26
balloonsKI7MT, we have seperate tes sets for those. for install tests we focus on install23:53
balloonscheck out the packages folder :-)23:54
KI7MTballoons, yes, I found a few and seen how it's flowing. Thanks23:54

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