/srv/irclogs.ubuntu.com/2015/02/24/#ubuntu-quality.txt

=== vrruiz_ is now known as rvr
balloonsso pitti I was speaking with elopio yesterday about autopkgtest and popey's experiences. There doesn't seem to be a good way to test old images; and in popey's case, he had actually flashed a new image, but presumably the archive had updated anyway. So he was unable to use autopkgtest to run his tests. I'm concerned about running into scenarios where autopkgtest cannot work15:17
pittiballoons: I talked to popey this morning; he flashed an n7 image from the release channel, which presumably hasn't gotten a promotion in ages15:18
pittiI didn't hear about his experience with devel-proposed any more15:18
pittiballoons: this isn't specific to autopkgtest -- even with ro-apt-update he got uninstallable test dependencies15:18
balloonspitti, ahh, I thought he flashed -proposed.. Still, the basis of having a more or less untestable image remains15:19
pittiballoons: because the archive was just too far ahead (library transitions, Breaks: etc15:19
pitticorrect, such an image is untestable15:19
pittias tests rely on uninstalled test dependencies which just simply don't exist any more15:19
pittiif we want to be able to do this, we need to keep those old test deps (matching the time when the image was built) and corresponding Packages.gz indexes on archive.u.c.15:20
balloonspitti, so that's kind of a problem . . . I guess the old way of running tests would still work to the same extent on such an old image, but I'm concerned we don't have an answer for this15:21
pittiballoons: no, it wouldn't15:21
pittiif apt says "your test deps are uninstallable" then it doesn't matter whether adt-run or phablet-test-setup requested those packages15:21
pittiunless you run something like dist-upgrade, but that would then entirely fail the point15:21
balloonspitti, well sure.. but let's say your test has no dependencies beyond autopilot. It seems today you still cannot run it on old images as autopilot has been removed from the image15:22
pittiballoons: as long as current vivid AP is installable, things are fine15:23
pittibut e. g. if unity8-autopilot from the current archive wants dependencies which are incompatible to what is on the image, you lose15:23
balloonspitti, well right.. ubuntu-ui-toolkit-autopilot as well15:24
pittiit also wouldn't be the unity8-autopilot which would actually match the installed unity8 (but that's yet another problem)15:24
pittiright15:24
pittiballoons: FYI, http://paste.ubuntu.com/10386645/ is what balloons got from the n7 devel channel15:24
balloonsso.. I am happy test dependencies are gone from the images (yay!), but we've actually made the situation worse since we can't test old images15:24
balloonsand ofc, I don't see these issues. It still works for me on RTM and -proposed ;-)15:25
pittiright :)15:26
pittiRTM doesn't change much any more, and -proposed images are (usually) new enough15:26
elopiogood morning15:26
balloonsso pitti apart from cloning the archive and keeping old versions of packages, what can we do in these cases?15:27
balloonsI guess I'm concerned we have test results we can't repeat in the future15:27
* elopio gets in line for pitti's attention.15:32
elopiopitti: when we use --click com.ubuntu.camera as an argument to adt-run, it will install the deps, install the camera tests, set up the app armor rules and run the tests, right?15:32
elopiois there a way to do only the setup part without running the tests?15:32
pittielopio, balloons: in meeting, bbl15:33
balloonselopio, why would you want to do that? (as it's all gone when the test is done)15:34
elopioballoons: I want the camera helpers, but I don't want to run the camera tests. I have a test that takes a picture and puts it into a contact.15:34
elopioand I see that adt-run does some things I don't understand for the app armor rules, when running in click. I think we need them in order to introspect the camera during this test.15:35
elopioactually, this is like making a debian package depend on a click package.15:36
elopiofgimenez: how late is it for you?15:36
elopiodo you have time to do some pair programming?15:36
balloonselopio, but you need it's setup to stick around while you run other tests then right?15:46
elopioballoons: the tests we are running are defined as deb autopkgtests15:48
elopioso what we need is that at the same time it's setting up the dependencies for those tests, it sets up the camera.15:49
fgimenezelopio: it's fine for me now, i have still one hour15:51
pittiballoons: well, snapshotting at least the part of the archive that we need to run tests is pretty much the only thing that's guaranteed to fix this problem15:56
pittiballoons: aside from the, I think --setup-commands ro-apt-update is the next best hack, which sometimes works15:56
pittielopio: no, not at the moment; we have --shell to interrupt the process *after* a test run, but not in between setup and start of the test15:57
pittielopio: so you want something like a --shell-before-the-test-starts?15:58
balloonspitti, does bundling depends in a click make sense?15:59
balloonsnot the application click . . .15:59
elopiopitti: no, what I really want is to make a deb test depend on a click package. Install the dependencies of the click package and set up the apparmor rules it needs.16:00
pittiballoons: ah, like building a click with all the test debs included, at image build time? yeah, could be (although this would be fairly big)16:01
elopioas a workaround, I saw that if I added --click com.ubuntu.camera, everything I wanted was done.16:01
elopiofgimenez: I've just taken this card: https://code.launchpad.net/~canonical-platform-qa/ubuntu-sanity-tests/adding-installing-application-test/+merge/24439516:01
elopioletss do together the part for waiting for the dialog. Lets say, in 10 minutes, so I can read the code first.16:02
balloonspitti, yes exactly. I suppose we could build a click with autopilot and the helpers as a base. The other depends for tests generally are just python packages which should be fine under the current setup16:02
pittior imagemagic etc., but indeed they are less prone to getting out of sync16:03
balloonsright, less prone to getting out of sync, but also if you must use the apt-get update hack; they are not likely to pull depends that break things16:04
fgimenezelopio: ok16:04
pittiballoons: right, that's what I meant16:04
=== roadmr is now known as roadmr_afk
elopiofgimenez: https://plus.google.com/hangouts/_/canonical.com/qa16:14
elopiofor when you are ready.16:14
elopiowait, no, that one will be needed, sorry.16:14
elopiofgimenez: https://plus.google.com/hangouts/_/canonical.com/qa-pair16:14
balloonspitti, ok.. I know when I first ran into the archive out of sync issue we spoke about this but I'll ask again. Can we automagically fallback to trying ro-apt-update when things fail from the archive? It's very confusing for folks running tests.16:15
balloonsI would also suggest we give a better message in the event of these failures so people understand16:16
elfyafternoon balloons16:17
balloonsafternoon elfy16:19
balloonspitti, ahh I guess you would advocate for just using the flag then which is fair enough. Any thoughts on making a better error message should it occur though?16:38
=== roadmr_afk is now known as roadmr
pittiballoons: I really don't like doing it automatically; if you are at that point, then things are already wrong (you don't get the unity8-autopilot that matches the installed unity8)16:45
pittithis would just cause more so-called "flaky" tests16:45
balloonspitti, right I'm agreeing with you. Really running it is a hack that most folks shouldn't even perform. If it doesn't work, use a newer image. But to that end, could we make a nice error message?16:46
pittiballoons: hm, I find apt's "package not found" error message clear enough, but I've known it for so long that my definition of "clear" might not be very universal :)16:48
pittiso if you have a suggestion, bug report appreciated16:48
pittiballoons: I documented the ro-apt-update bit on https://wiki.ubuntu.com/Touch/Testing now, but that's about as far as I would go TBH16:48
balloonspitti, at the bottom of popey's log he gets: adt-run [10:15:31]: ERROR: unexpected error: test dependencies are unsatisfiable16:49
pittii. e. not using it automatically, and for sure we must not use it in CI16:49
balloonswhile understandably that makes sense to you, it's meaningless to him. I'm suggesting tweaking the line to say something like "adt-run [10:15:31]: ERROR: unexpected error: test dependencies are unsatisfiable. blah blah, use a newer image "16:50
balloonsgive them a suggestion on how to make it work16:50
pittiah, tricky16:51
pitti"image" doesn't make any sense with the null, chroot, ssh, or LXC runners, and often not even with QEMU16:51
pittibut maybe something similar16:51
balloonsohh so true16:51
pitti"upgrade to the lastest version" or so16:51
pitti"upgrade your system"?16:52
* pitti needs to run now, sorry16:52
balloonspitti, sure, I'll file a bug. It's not huge but maybe there is something generic enough we can include in there16:52
balloonsthanks for talking it through16:52
=== roadmr is now known as roadmr_afk
=== roadmr_afk is now known as roadmr
elopioveebers: lets go into the same hangout in 35 minutes.19:55
veeberselopio: sounds good19:56
veeberselopio: I'm just reflashing now and will try the updated version of adt-run19:56
veebers(as well as changing out of this wet top, stupid cup)19:56
elopio:) ok.19:56
=== roadmr is now known as roadmr_afk
balloonsLetozaf_, would you like to have a look at calendar again?20:13
Letozaf_balloons, yes sure20:14
Letozaf_balloons, to be honest I was already f idling with it: https://code.launchpad.net/~carla-sella/ubuntu-calendar-app/agenda-view-test20:15
balloonsor perhaps doug5  as well? It needs some love. They've added lots of new features and the coverage is lacking. In general the app is much different than before and could use some re-writes to test each of the pages20:15
balloonsLetozaf_, nice!20:15
Letozaf_balloons, :) still have a little issue I hope to fix20:16
balloonsLetozaf_, so I'll work on filing bugs to direct what I'm after20:18
Letozaf_balloons, oh yes, sure, that would be great20:19
Letozaf_balloons, you file bugs and I go after them :)20:19
Letozaf_balloons, just one question on calendar app, am I the only one with this issue: https://dl.dropboxusercontent.com/u/10083981/Ubuntu%20errors/Screenshot%20from%202015-02-24%2021%3A24%3A36.png20:26
Letozaf_balloons, I get this when launching autopilot3 launch -i Qt qmlscene ../../calendar.qm20:26
Letozaf_balloons, I am wondering if I have something broken on my PC20:27
balloonsLetozaf_, that's odd.. I was playing with calendar last week and I didn't see that20:27
* dobey wonders how to submit branches to autopkgtest20:27
Letozaf_balloons, this happened to me yesterday20:27
Letozaf_balloons, but I will try to get it form trunk now and see if it's the same20:28
* balloons points dobey to git20:28
dobeyballoons: i know it's in git. i don't know the process pitti uses to manage it though20:29
Letozaf_balloons, calendar app from trunk has the same issue20:32
balloonsdobey, afaik you need an account on alioth; then you can push to master the same as pitti20:32
dobeyyeah, i don't have that.20:33
balloonsright, so I would clone the repo and mail him20:33
dobeyquestion is, how annoying will it be if i push a branch to lp and make an MP there20:33
dobeyis it more or less annoying than this snow here right now20:35
balloonssnow? oh my!20:42
Letozaf_balloons, dobey it's also snowing here in Italy :P20:42
dobeybut i guess you're not in sicily20:43
elfyany snow here has melted before it gets far outside of the clouds - we've had some of the melted stuff :p20:44
Letozaf_dobey, no northern Italy, near Venice, more or less20:44
Letozaf_elfy, :)20:45
veeberselopio: you still there? I think ho froze20:47
balloonsit's spring here.. no more cold  think20:47
elfyit's the 1st March soon - and as far as I am concerned Spring starts then20:48
Letozaf_balloons, here in Italy it will still be cold till the end of March, more or less20:48
elfywxl: but that is only a guess - I had a quick try at doing a policy for LSC - but that didn't work20:49
wxlthanks elfy20:49
elfycertainly seems to be what it points at20:49
elfy*shrug*20:49
balloonselfy, I'm still shocked by home warm the UK is during winter.. You are in the same zone as me!20:52
balloonsactually a bit higher :-)20:52
elfyballoons: funnily enough - we're at the same latitude as Newfoundland I think20:53
knomehome warm?20:53
elfyGulf Stream \o/20:53
balloonsyes.. something like 2k km or more difference and yet.. you have a warmer zone rating21:11
flexiondotorgelfy, Hey21:56
elfyflexiondotorg: so - go to tracker and login - you should then get admin rights21:57
elfyyou might need to check details when you login to make sure you do so with mate release team rights21:57
flexiondotorgelfy, Before I start. cjwatson enabled PowerPC earlier. Does that need adding to the tracker?21:57
elfyprobably - lets do one thing at a time :)21:57
flexiondotorgelfy, OK.21:58
flexiondotorgLogged in.21:58
elfyok - so find the Mate products21:58
flexiondotorgYep.21:58
=== roadmr_afk is now known as roadmr
elfyclick in the boxes (or the main one)21:59
elfyshould select your 2 products21:59
flexiondotorgUnder the Builds tab?21:59
elfymmm - tab?21:59
elfyhttp://iso.qa.ubuntu.com/qatracker/milestones/334/builds21:59
elfythere22:00
flexiondotorghttp://iso.qa.ubuntu.com/admin/config/services/qatracker/builds22:00
elfynope - not in admin this bit :)22:00
elfythen once you've clicked on mate on that link - at the bottom - request a rebuild - update rebuild status22:01
flexiondotorgOK, checked.22:01
elfythere you go - rebuilding :)22:01
flexiondotorgAnd rebuild selected.22:01
flexiondotorgOoooh. The power.22:02
flexiondotorgelfy, Thanks.22:02
flexiondotorgelfy, How do I know where the build job are?22:02
flexiondotorgAh, links have updated.22:03
flexiondotorgelfy, How do I raise a bug against a QA tracker build?22:05
elfynot sure I understand22:05
flexiondotorgI see some flavour have bugs listed against the beta 1 builds.22:05
elfyyou seriously doing PPC for Mate ?22:05
flexiondotorgHow do you do that?22:05
elfyoh right22:06
flexiondotorgelfy, Yes. Have a team all lined up.22:06
elfymmm22:06
elfyso when your people are testing something - they have to login to tracker22:06
flexiondotorgFrom within the live session?22:07
elfyflexiondotorg: ok - there are 2 sides to this22:07
elfy1st - finding a bug while running the session - you need to report the bug from there - say ubuntu-bug pulseaudio22:08
elfydo the whole reporting thing - then you end up with bug #22:08
flexiondotorgOK22:09
elfyyou can just write this down if you want to - I tend to do so many tests - that logging into ubuntu one is just a pain22:09
elfythen go to tracker - example 64bit gets you to the 4 tests you have http://iso.qa.ubuntu.com/qatracker/milestones/334/builds/89669/testcases22:09
flexiondotorgOK22:10
elfyonce there - live session gets you to http://iso.qa.ubuntu.com/qatracker/milestones/334/builds/89669/testcases/1303/results22:10
elfythat is where you report the bug against the build - go to bottom - fail/pass/in progress22:10
elfythen critical bugs - ie - this fails completely example22:11
elfyreal live stuff for Xubuntu 64bit manual partitioning http://iso.qa.ubuntu.com/qatracker/milestones/334/builds/89654/testcases/1302/results22:11
flexiondotorgThanks. Got it22:13
elfymake more sense now ?22:13
flexiondotorgYep.22:13
elfyas you've got rights for Mate - if someone has for instance failed something they perhaps shouldn't have - pencil on the far right allows you to edit that result22:14
flexiondotorgWhen I request a rebuild can I see the build log?22:14
elfyI guess so - I never bothered - I just wait for it to appear :p22:14
flexiondotorgOK.22:16
flexiondotorgAnd I see the other flavour have different test suites.22:16
flexiondotorgCan I add some of those to Ubuntu MATE?22:16
elfyyou should be able to yep22:17
elfyreal life example?22:17
flexiondotorgOEMConfig22:17
elfyok - now you DO you want to hit admin :)22:18
flexiondotorgOK22:19
elfytestsuites22:19
elfymate is right at the top - on the right - Edit22:19
flexiondotorgOK, think I see what I need.22:20
elfyyou want to add a testcase22:20
flexiondotorgelfy, OK22:20
flexiondotorgIn Admin I see 4 tabs22:21
flexiondotorgSummary Products Series Build22:21
elfysorry - was ahead of you22:21
elfyoh22:21
elfymmm22:21
elfyyou don't see Testcases Testsuites ?22:21
flexiondotorgNot in the tabs.22:21
elfyballoons: ^^ bit of a problem here :)22:22
flexiondotorgUnder Products I have entries for MATE 64bit and 32Bit with links to "Linked Testcases."22:22
elfyyea22:22
balloonsflexiondotorg is an admin yes?22:22
balloonsI see the release team now, he should see it22:22
elfyballoons: should be yep - just not seeing 2 tabs in there22:23
flexiondotorgJust see "Summary Products Series Build"22:23
balloonsnot everyone gets all the tabs; to be fair I'm not sure how reduced your tab load is22:23
elfyI'm in that release team too temporarily - I see 6tabs22:23
balloonssure, but you likely see more normally or no?22:24
elfyhe obviously wants to be able to to deal with adding testcases to testsuites22:24
elfyballoons: that's as many as I always see22:24
balloonsright.. I'm saying his perms should be on par with yours22:25
elfyyea22:25
elfyI guess a job for stgraber again :)22:25
flexiondotorgelfy, OK. We can request my uplift in perms as and when.22:27
flexiondotorgBut I'd like to add a few more test case to Ubuntu MATE.22:27
elfyflexiondotorg: so what testcase number is this OEM config?22:27
elfyflexiondotorg: yea - but till you have the perms you can't :)22:27
flexiondotorgHah 😉22:27
elfyflexiondotorg: try also to bear in mind that in 2 days time I will be on your back about marking the beta's ready ;)22:28
elfyI just wonder if perhaps you'd be better to get what you can right now - there'll be another beta :)22:28
flexiondotorgelfy, That's why I just issues a rebuild so I can test 😃22:29
flexiondotorgAlso, I've taken Thursday off work22:29
elfyyea22:29
elfyI'm just saying if you add foo tests to the suite - you need to test them all :)22:29
flexiondotorgelfy, Yep. I get that. I only want to add one additional for now. But slowly increase the coverage.22:30
elfywho has an OEM Config test?22:30
elfysame one that kubuntu use?22:31
* flexiondotorg goes to get the answer.22:31
flexiondotorgelfy, Yes.22:32
elfymandatory test? run once? optional?22:32
flexiondotorgSo, I gues those options mean.22:33
flexiondotorgMandatory = You have to do it for each architecture?22:33
flexiondotorgrun once = Do it once for any architecture?22:33
flexiondotorgOptional = Don't have to do it?22:33
elfyflexiondotorg: how it works is you add the testcase to the testsuite22:33
elfythen both arch get the same testsuite22:34
elfyif you look at http://iso.qa.ubuntu.com/qatracker/milestones/334/builds/89657/testcases22:35
flexiondotorgLooking now.22:35
elfykubuntu have to do 6/6 for the mandatory stuff and 1 run once then this http://iso.qa.ubuntu.com/qatracker/milestones/334/builds22:36
elfyassuming no bugs would be 6/6 1/1 and maybe 0/1 or 1/1 for the optional22:36
flexiondotorgOK22:36
flexiondotorgSo, all these tests are performed manually. None of them are automated?22:37
elfyI'd make it mandatory tbh - you can change it later once you've perms22:37
elfyand even if there are fails if *you* are happy to mark it ready for release you can regardless of fails and passes22:38
elfyoh - all manual :)22:38
flexiondotorgUnderstood.22:38
elfyso - I can add this for you now if you want - or wait to see if you get you perms sorted out22:39
elfybut I'm running out of awake :D22:39
flexiondotorgelfy, Let add it when I've actually confirmed other stuff works 😉22:39
elfyokey doke :)22:40
flexiondotorgelfy, Thanks for your help.22:40
flexiondotorgSleep well 😃22:40
elfyI'll try :D22:40
elfyI'm not sure how you'd add PPC - not sure I would have rights to do that22:40
elfyballoons can help you I'm sure22:41
elfynight all :)22:41
flexiondotorgballoons, cjwatson enable PowerPC for Ubuntu MATE earlier.22:47
flexiondotorgballoons, The build infrastructure has had PowerPC support for Ubuntu MATE from the outset.22:47
flexiondotorgballoons, Is there something that needs doing to add PowerPC to the QA tracker?22:48

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