=== vrruiz_ is now known as rvr [15:17] so 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 work [15:18] balloons: I talked to popey this morning; he flashed an n7 image from the release channel, which presumably hasn't gotten a promotion in ages [15:18] I didn't hear about his experience with devel-proposed any more [15:18] balloons: this isn't specific to autopkgtest -- even with ro-apt-update he got uninstallable test dependencies [15:19] pitti, ahh, I thought he flashed -proposed.. Still, the basis of having a more or less untestable image remains [15:19] balloons: because the archive was just too far ahead (library transitions, Breaks: etc [15:19] correct, such an image is untestable [15:19] as tests rely on uninstalled test dependencies which just simply don't exist any more [15:20] if 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:21] pitti, 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 this [15:21] balloons: no, it wouldn't [15:21] if apt says "your test deps are uninstallable" then it doesn't matter whether adt-run or phablet-test-setup requested those packages [15:21] unless you run something like dist-upgrade, but that would then entirely fail the point [15:22] pitti, 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 image [15:23] balloons: as long as current vivid AP is installable, things are fine [15:23] but e. g. if unity8-autopilot from the current archive wants dependencies which are incompatible to what is on the image, you lose [15:24] pitti, well right.. ubuntu-ui-toolkit-autopilot as well [15:24] it also wouldn't be the unity8-autopilot which would actually match the installed unity8 (but that's yet another problem) [15:24] right [15:24] balloons: FYI, http://paste.ubuntu.com/10386645/ is what balloons got from the n7 devel channel [15:24] so.. 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 images [15:25] and ofc, I don't see these issues. It still works for me on RTM and -proposed ;-) [15:26] right :) [15:26] RTM doesn't change much any more, and -proposed images are (usually) new enough [15:26] good morning [15:27] so pitti apart from cloning the archive and keeping old versions of packages, what can we do in these cases? [15:27] I guess I'm concerned we have test results we can't repeat in the future [15:32] * elopio gets in line for pitti's attention. [15:32] pitti: 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] is there a way to do only the setup part without running the tests? [15:33] elopio, balloons: in meeting, bbl [15:34] elopio, why would you want to do that? (as it's all gone when the test is done) [15:34] balloons: 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:35] and 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:36] actually, this is like making a debian package depend on a click package. [15:36] fgimenez: how late is it for you? [15:36] do you have time to do some pair programming? [15:46] elopio, but you need it's setup to stick around while you run other tests then right? [15:48] balloons: the tests we are running are defined as deb autopkgtests [15:49] so what we need is that at the same time it's setting up the dependencies for those tests, it sets up the camera. [15:51] elopio: it's fine for me now, i have still one hour [15:56] balloons: 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 problem [15:56] balloons: aside from the, I think --setup-commands ro-apt-update is the next best hack, which sometimes works [15:57] elopio: 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 test [15:58] elopio: so you want something like a --shell-before-the-test-starts? [15:59] pitti, does bundling depends in a click make sense? [15:59] not the application click . . . [16:00] pitti: 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:01] balloons: 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] as a workaround, I saw that if I added --click com.ubuntu.camera, everything I wanted was done. [16:01] fgimenez: I've just taken this card: https://code.launchpad.net/~canonical-platform-qa/ubuntu-sanity-tests/adding-installing-application-test/+merge/244395 [16:02] letss do together the part for waiting for the dialog. Lets say, in 10 minutes, so I can read the code first. [16:02] pitti, 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 setup [16:03] or imagemagic etc., but indeed they are less prone to getting out of sync [16:04] right, 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 things [16:04] elopio: ok [16:04] balloons: right, that's what I meant === roadmr is now known as roadmr_afk [16:14] fgimenez: https://plus.google.com/hangouts/_/canonical.com/qa [16:14] for when you are ready. [16:14] wait, no, that one will be needed, sorry. [16:14] fgimenez: https://plus.google.com/hangouts/_/canonical.com/qa-pair [16:15] pitti, 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:16] I would also suggest we give a better message in the event of these failures so people understand [16:17] afternoon balloons [16:19] afternoon elfy [16:38] pitti, 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? === roadmr_afk is now known as roadmr [16:45] balloons: 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] this would just cause more so-called "flaky" tests [16:46] pitti, 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:48] balloons: 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] so if you have a suggestion, bug report appreciated [16:48] balloons: 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 TBH [16:49] pitti, at the bottom of popey's log he gets: adt-run [10:15:31]: ERROR: unexpected error: test dependencies are unsatisfiable [16:49] i. e. not using it automatically, and for sure we must not use it in CI [16:50] while 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] give them a suggestion on how to make it work [16:51] ah, tricky [16:51] "image" doesn't make any sense with the null, chroot, ssh, or LXC runners, and often not even with QEMU [16:51] but maybe something similar [16:51] ohh so true [16:51] "upgrade to the lastest version" or so [16:52] "upgrade your system"? [16:52] * pitti needs to run now, sorry [16:52] pitti, sure, I'll file a bug. It's not huge but maybe there is something generic enough we can include in there [16:52] thanks for talking it through === roadmr is now known as roadmr_afk === roadmr_afk is now known as roadmr [19:55] veebers: lets go into the same hangout in 35 minutes. [19:56] elopio: sounds good [19:56] elopio: I'm just reflashing now and will try the updated version of adt-run [19:56] (as well as changing out of this wet top, stupid cup) [19:56] :) ok. === roadmr is now known as roadmr_afk [20:13] Letozaf_, would you like to have a look at calendar again? [20:14] balloons, yes sure [20:15] balloons, to be honest I was already f idling with it: https://code.launchpad.net/~carla-sella/ubuntu-calendar-app/agenda-view-test [20:15] or 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 pages [20:15] Letozaf_, nice! [20:16] balloons, :) still have a little issue I hope to fix [20:18] Letozaf_, so I'll work on filing bugs to direct what I'm after [20:19] balloons, oh yes, sure, that would be great [20:19] balloons, you file bugs and I go after them :) [20:26] 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.png [20:26] balloons, I get this when launching autopilot3 launch -i Qt qmlscene ../../calendar.qm [20:27] balloons, I am wondering if I have something broken on my PC [20:27] Letozaf_, that's odd.. I was playing with calendar last week and I didn't see that [20:27] * dobey wonders how to submit branches to autopkgtest [20:27] balloons, this happened to me yesterday [20:28] balloons, but I will try to get it form trunk now and see if it's the same [20:28] * balloons points dobey to git [20:29] balloons: i know it's in git. i don't know the process pitti uses to manage it though [20:32] balloons, calendar app from trunk has the same issue [20:32] dobey, afaik you need an account on alioth; then you can push to master the same as pitti [20:33] yeah, i don't have that. [20:33] right, so I would clone the repo and mail him [20:33] question is, how annoying will it be if i push a branch to lp and make an MP there [20:35] is it more or less annoying than this snow here right now [20:42] snow? oh my! [20:42] balloons, dobey it's also snowing here in Italy :P [20:43] but i guess you're not in sicily [20:44] any snow here has melted before it gets far outside of the clouds - we've had some of the melted stuff :p [20:44] dobey, no northern Italy, near Venice, more or less [20:45] elfy, :) [20:47] elopio: you still there? I think ho froze [20:47] it's spring here.. no more cold think [20:48] it's the 1st March soon - and as far as I am concerned Spring starts then [20:48] balloons, here in Italy it will still be cold till the end of March, more or less [20:49] wxl: but that is only a guess - I had a quick try at doing a policy for LSC - but that didn't work [20:49] thanks elfy [20:49] certainly seems to be what it points at [20:49] *shrug* [20:52] elfy, I'm still shocked by home warm the UK is during winter.. You are in the same zone as me! [20:52] actually a bit higher :-) [20:53] balloons: funnily enough - we're at the same latitude as Newfoundland I think [20:53] home warm? [20:53] Gulf Stream \o/ [21:11] yes.. something like 2k km or more difference and yet.. you have a warmer zone rating [21:56] elfy, Hey [21:57] flexiondotorg: so - go to tracker and login - you should then get admin rights [21:57] you might need to check details when you login to make sure you do so with mate release team rights [21:57] elfy, Before I start. cjwatson enabled PowerPC earlier. Does that need adding to the tracker? [21:57] probably - lets do one thing at a time :) [21:58] elfy, OK. [21:58] Logged in. [21:58] ok - so find the Mate products [21:58] Yep. === roadmr_afk is now known as roadmr [21:59] click in the boxes (or the main one) [21:59] should select your 2 products [21:59] Under the Builds tab? [21:59] mmm - tab? [21:59] http://iso.qa.ubuntu.com/qatracker/milestones/334/builds [22:00] there [22:00] http://iso.qa.ubuntu.com/admin/config/services/qatracker/builds [22:00] nope - not in admin this bit :) [22:01] then once you've clicked on mate on that link - at the bottom - request a rebuild - update rebuild status [22:01] OK, checked. [22:01] there you go - rebuilding :) [22:01] And rebuild selected. [22:02] Ooooh. The power. [22:02] elfy, Thanks. [22:02] elfy, How do I know where the build job are? [22:03] Ah, links have updated. [22:05] elfy, How do I raise a bug against a QA tracker build? [22:05] not sure I understand [22:05] I see some flavour have bugs listed against the beta 1 builds. [22:05] you seriously doing PPC for Mate ? [22:05] How do you do that? [22:06] oh right [22:06] elfy, Yes. Have a team all lined up. [22:06] mmm [22:06] so when your people are testing something - they have to login to tracker [22:07] From within the live session? [22:07] flexiondotorg: ok - there are 2 sides to this [22:08] 1st - finding a bug while running the session - you need to report the bug from there - say ubuntu-bug pulseaudio [22:08] do the whole reporting thing - then you end up with bug # [22:09] OK [22:09] you can just write this down if you want to - I tend to do so many tests - that logging into ubuntu one is just a pain [22:09] then go to tracker - example 64bit gets you to the 4 tests you have http://iso.qa.ubuntu.com/qatracker/milestones/334/builds/89669/testcases [22:10] OK [22:10] once there - live session gets you to http://iso.qa.ubuntu.com/qatracker/milestones/334/builds/89669/testcases/1303/results [22:10] that is where you report the bug against the build - go to bottom - fail/pass/in progress [22:11] then critical bugs - ie - this fails completely example [22:11] real live stuff for Xubuntu 64bit manual partitioning http://iso.qa.ubuntu.com/qatracker/milestones/334/builds/89654/testcases/1302/results [22:13] Thanks. Got it [22:13] make more sense now ? [22:13] Yep. [22:14] as 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 result [22:14] When I request a rebuild can I see the build log? [22:14] I guess so - I never bothered - I just wait for it to appear :p [22:16] OK. [22:16] And I see the other flavour have different test suites. [22:16] Can I add some of those to Ubuntu MATE? [22:17] you should be able to yep [22:17] real life example? [22:17] OEMConfig [22:18] ok - now you DO you want to hit admin :) [22:19] OK [22:19] testsuites [22:19] mate is right at the top - on the right - Edit [22:20] OK, think I see what I need. [22:20] you want to add a testcase [22:20] elfy, OK [22:21] In Admin I see 4 tabs [22:21] Summary Products Series Build [22:21] sorry - was ahead of you [22:21] oh [22:21] mmm [22:21] you don't see Testcases Testsuites ? [22:21] Not in the tabs. [22:22] balloons: ^^ bit of a problem here :) [22:22] Under Products I have entries for MATE 64bit and 32Bit with links to "Linked Testcases." [22:22] yea [22:22] flexiondotorg is an admin yes? [22:22] I see the release team now, he should see it [22:23] balloons: should be yep - just not seeing 2 tabs in there [22:23] Just see "Summary Products Series Build" [22:23] not everyone gets all the tabs; to be fair I'm not sure how reduced your tab load is [22:23] I'm in that release team too temporarily - I see 6tabs [22:24] sure, but you likely see more normally or no? [22:24] he obviously wants to be able to to deal with adding testcases to testsuites [22:24] balloons: that's as many as I always see [22:25] right.. I'm saying his perms should be on par with yours [22:25] yea [22:25] I guess a job for stgraber again :) [22:27] elfy, OK. We can request my uplift in perms as and when. [22:27] But I'd like to add a few more test case to Ubuntu MATE. [22:27] flexiondotorg: so what testcase number is this OEM config? [22:27] flexiondotorg: yea - but till you have the perms you can't :) [22:27] Hah 😉 [22:28] flexiondotorg: 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] I just wonder if perhaps you'd be better to get what you can right now - there'll be another beta :) [22:29] elfy, That's why I just issues a rebuild so I can test 😃 [22:29] Also, I've taken Thursday off work [22:29] yea [22:29] I'm just saying if you add foo tests to the suite - you need to test them all :) [22:30] elfy, Yep. I get that. I only want to add one additional for now. But slowly increase the coverage. [22:30] who has an OEM Config test? [22:31] same one that kubuntu use? [22:31] * flexiondotorg goes to get the answer. [22:32] elfy, Yes. [22:32] mandatory test? run once? optional? [22:33] So, I gues those options mean. [22:33] Mandatory = You have to do it for each architecture? [22:33] run once = Do it once for any architecture? [22:33] Optional = Don't have to do it? [22:33] flexiondotorg: how it works is you add the testcase to the testsuite [22:34] then both arch get the same testsuite [22:35] if you look at http://iso.qa.ubuntu.com/qatracker/milestones/334/builds/89657/testcases [22:35] Looking now. [22:36] kubuntu have to do 6/6 for the mandatory stuff and 1 run once then this http://iso.qa.ubuntu.com/qatracker/milestones/334/builds [22:36] assuming no bugs would be 6/6 1/1 and maybe 0/1 or 1/1 for the optional [22:36] OK [22:37] So, all these tests are performed manually. None of them are automated? [22:37] I'd make it mandatory tbh - you can change it later once you've perms [22:38] and even if there are fails if *you* are happy to mark it ready for release you can regardless of fails and passes [22:38] oh - all manual :) [22:38] Understood. [22:39] so - I can add this for you now if you want - or wait to see if you get you perms sorted out [22:39] but I'm running out of awake :D [22:39] elfy, Let add it when I've actually confirmed other stuff works 😉 [22:40] okey doke :) [22:40] elfy, Thanks for your help. [22:40] Sleep well 😃 [22:40] I'll try :D [22:40] I'm not sure how you'd add PPC - not sure I would have rights to do that [22:41] balloons can help you I'm sure [22:41] night all :) [22:47] balloons, cjwatson enable PowerPC for Ubuntu MATE earlier. [22:47] balloons, The build infrastructure has had PowerPC support for Ubuntu MATE from the outset. [22:48] balloons, Is there something that needs doing to add PowerPC to the QA tracker?