/srv/irclogs.ubuntu.com/2015/04/30/#ubuntu-quality.txt

elopioveebers: still around? anything I can do tomorrow to help with the remaining autopilot tasks?04:17
veeberselopio: hey yeah I'm still around for about an hour or so04:30
veeberselopio: I'm just pushing up some updated code and finishing a review and would like your thoughts on somethings04:30
veeberselopio: if you have a moment can you read the comments and reviews from this MP: https://code.launchpad.net/~canonical-platform-qa/autopilot/cpo-base-classes-fix/+merge/25762304:42
veebersspecifically I'm interested in your thoughts on what I wrote in the comment box04:42
elopioveebers: on it.04:46
elopioveebers: I agree on the warning.04:47
elopiowe are still using multiple inheritance in the sanity suite.04:48
elopiowhen we remove that, we can raise the exception.04:48
elopiooh well, but the multiple inheritance in the sanity won't affect this because it's not on the base class. Anyway, I agree with you.04:48
veeberselopio: coolio :-)04:52
veeberselopio: hmm, I thought that we had discussed updating the narrative/docs for the cpo/selection thing as a separate card, or am I miss-remembering things?04:55
elopioisn't there a separate card? The one called "Add documentation for the narrative docs" ?04:59
veeberselopio: I see one in play now called "Add documentation for the narrative docs (i.e. FAQ and section on creating CPOs)" (on the board)05:01
elopioveebers: yes, so I don't get what you mean.05:02
veeberselopio: oh, I meant I thought that we weren't doing that card this sprint as we needed the other cards to land/be finished first'05:06
elopioveebers: ahh. Then I'm not sure.05:07
elopioveebers: but now that the branch is almost ready, we can prepare the doc updates, right:?05:07
veeberselopio: yeah I guess thats a good point, I was thinking with my EOD-ing soon hat on :-) I will be back online after dinner though05:12
elopioveebers: should I throw a gatekeeper now, or wait for the branch to be merged?05:15
veeberselopio: for a gatekeeper run we need it to be built into a ppa, are you suggesting setting up a silo for it?05:17
elopioveebers: no, not really. I thought we could run a gatekeeper from a branch.05:25
elopioif it requires a silo, I think we better wait for the branches to land. Things look good, the unit tests look good. I doubt we will cause a regression, and if so, it should be solved by the fix_base_class branches landing.05:25
veeberselopio: as far as I'm aware the gatekeeper (the same as the smoke dash job) runs from a ppa05:26
elopioveebers: yes, I remember now the ppa parameter. It was just a stupid question :)05:26
veeberselopio: Not stupid, I good idea. I know vila has mentioned that he has ideas on improving how we test and release autopilot incl. ppas etc.05:27
elopioah, right, what he said now makes sense.05:27
=== ara is now known as Guest6469
=== chihchun is now known as chihchun_afk
pittijibel: given the history of http://d-jenkins.ubuntu-ci:8080/view/Trusty/view/AutoPkgTest/job/trusty-adt-firefox/ how can we edit the history files on snakefruit to stop considering this a regression?08:23
pittijibel: do we need to edit all PASSes in proposed-migration/autopkgtest/data/adt/trusty-proposed/amd64/archive/*/*/*/trusty_amd64_firefox_*.result ?08:25
jibelpitti, if you remove this line it should be considered as 'always failed' firefox 24.0+build1-0ubuntu1 PASS fonts-liberation 1.07.3-308:26
jibelin the history file08:27
pittijibel: ah, good; thanks!08:27
pittijibel: I'm going through the trusty failures, and fixed a few bugs in autopkgtest; others like firefox need some fumbling08:28
jibelpitti, firefox used to pass but it looks like no one maintains the testsuite in ubuntu any more08:29
jibelthis is sad because it found real regressions08:30
pittiyeah, same in vivid08:30
elopiovila: btw, now your autopilot ppa makes a lot of sense to me for running the gatekeeper before having a silo.15:14
vilaelopio: sorry, I should have been clearer about that15:19
vilaelopio, fgimenez: But w really need something faster, >4h for one iteration kills velocity (understatement)15:20
elopiovila: parallelization?15:20
vilaelopio, fgimenez: we'll need to at least split the tests to run on 2 phones15:21
vilaelopio: yup, coarse grained one at the highest level to start with15:21
elopiovila: and we also want the things they are doing on ci.ubuntu.com for the run to continue even if one suite killed a phone.15:22
elopiobut how do we put this in CI's backlog? so many things in there.15:22
vilaelopio: well, in that case we may as well run each suite on its own but...15:22
vilaelopio: that's why I'm saying we focus on getting access to run autopkgtest on phones/qemu15:23
vilaelopio: from there we can add the missing dep8 tests to wrap autopilot in all packages and aggregate the subunit streams ourselves15:24
elopiovila: that sounds good.15:24
elopiojfunk_: ^15:24
elopioif ci gives us this command that provissions a phone every time we want it, we can take care of all the other details.15:25
elopiothen maybe we can go faster.15:25
vilaelopio: exactly, including prototyping gates15:40
rhuddieelopio, thanks for your comment on mp. Is this the change that you meant? http://pastebin.ubuntu.com/10953708/16:00
elopiorhuddie: yes, I think so. Does it make sense to you?16:01
rhuddieelopio, yes, that makes sense. I just wanted to check I understood correctly before pushing16:01
elopiook, thanks.16:02
=== oSoMoN__ is now known as oSoMoN
elopioom26er: I wouldn't extract os.path.exists(directory) into a method.17:05
elopiois clear enough, and only one statement.17:06
om26erelopio, its subjective, I prefer to have methods as explanatory as possible and would prefer to follow DRY17:07
elopioom26er: you are only using it once, so there will be no duplication.17:08
om26erelopio, in two places in the same method.17:08
elopioom26er: ah, that's right.17:08
elopiobut you are not adding clarity and you are not saving lines of code.17:09
elopioyou are adding three lines instead.17:09
om26erelopio, that's why I ask if we could use a better name for the method17:09
elopioom26er: os.path.exists is a name good enough.17:09
elopiothe name of your method is alright. It just should end with an s. directory_existS.17:10
elopiobut you shouldn't write a method if there's no value on it. You are just making an alias for os.path.exists.17:11
om26erelopio, hmm, ok. I have seen people in well written project not calling the public api twice in their codes, they rather encapsulate the call in a method17:11
om26erelopio, hmm, sure I can change that back.17:11
elopioom26er: we don't need to shield ourselfs from the python standard libraries. We don't need to replace them with fakes for testing either.17:13
elopioencapsulating external projects is good, sometimes. Here I see no reason to do it.17:13
om26erelopio, ok, I pushed the change. There are older flake8 warnings in the file, want me to do that in this MR or is that better for separate MR ?17:18
elopioom26er: separate MP, according to a discussion I lost against thomi and veebers.17:19
elopioom26er: but: https://bugs.launchpad.net/ubuntu-keyboard/+bug/144417017:19
ubot5Ubuntu bug 1444170 in unity8 (Ubuntu) "python code does not pass the flake8 static checks" [Medium,In progress]17:19
elopioif you use the flake8 as a prerequisite of your branch it would be easier, I think.17:19
=== davmor2_ is now known as davmor2
=== rsalveti_ is now known as rsalveti
elopio_veebers: so, about the presentation for ODS, the idea is to quickly show how easy it is to write a high level integration test with the helpers in the toolkit and unity8.19:54
elopio_balloons wanted to show the helpers docs published, so the first step was to get the unity8 namespace right.19:54
elopio_https://code.launchpad.net/~canonical-platform-qa/unity8/fix1306340-deprecate_emulators/+merge/25781219:54
elopio_next step is to generate sphinx out of that branch.19:54
* veebers looks at branch20:07
veeberselopio_: there is more changes in that MP than just deprecating the emulators ;-)20:11
veebersoh wait, that probably comes from the branches you mention in the message20:11
=== \b is now known as benonsoftware

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