/srv/irclogs.ubuntu.com/2015/03/09/#ubuntu-quality.txt

=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
brendandelopio or rhuddie, want to review fgimenez's MP? https://code.launchpad.net/~canonical-platform-qa/ubuntu-ota-tests/current-version-number/+merge/25177414:17
brendandwould be good to get it landed so we can begin to move forward with the ubuntu-ota-tests14:17
rhuddiebrendand, I can take a look later on this afternoon14:18
=== chihchun_afk is now known as chihchun
elopiogood morning.14:56
balloonselfy, saw and I'm curious so I asked for more detail :-)15:23
elopioping jibel (or anybody from ops): do you tag the bugs found during silo testing?15:33
elopioping barry: can we work on the upgrade today?15:54
barryelopio: yes.  i'm just testing a new branch for check_for_update based on previous comments.  will you be around for a little while (i'd like to get lunch after resubmitting the mp)15:55
elopiobarry: I will be around for a long time, just getting started here.15:55
barryelopio: cool, i'll ping you after my lunch15:56
elopiogreat.15:56
elopiobrendand: our stakeholders meeting is the day after our planning.15:59
elopioI think it should be the other way around.15:59
brendandelopio, the order doesn't matter since they are weekly anyway16:00
brendandelopio, oh wait16:00
elopiobrendand: so, what we are missing are the weekly meetings.16:00
brendandelopio, you mean the stakeholders meeting on friday?16:00
elopioI only see one on the 20th.16:00
elopiobrendand: yes.16:00
brendandelopio, at 4 UTC? i asked olli to delete that16:01
brendandelopio, the prioritization part of it is being moved to wednesdays16:01
brendandelopio, and the sign-off part is in the delivery meeting16:02
elopiobrendand: I see. It would be good to put stakeholders on the name of that meeting.16:02
elopiothe wednesday one, I mean.16:02
elopiobrendand: I can delete the other one. Do you want me to do it?16:03
brendandelopio, i don't see why - the attendees is reflected in the, well attendees list16:03
brendandelopio, QA backlog prioritization. that's what it's about16:03
elopiobrendand: because the UE calendar is packed full. So what I do is to look at it and see which meetings I should attend based on their name.16:04
elopiothe name of that one sounds like a QA team only thing. Just a suggestion...16:04
elfyballoons: added some then16:35
jibelelopio, if it's a bug in the silo we usually don't file a bug because it is unreleased code.16:50
dobeyelopio: so, the contents formerly of libautopilot-qt have been split out into more than just a qt4 package and a qt5 package, but at least a third qttestability package as well?16:52
dobeya bit icky, but ok16:54
dobeyjibel: unless it's a bug that's as so far gone unnoticed, and isn't a new thing in the silo. a new bug introduced by the silo should just be a failed flag for the silo. right?16:55
jibeldobey, right, if it's a new bug introduced by the silo we fail it, add a comment on the card and ping the dev.16:56
=== chihchun is now known as chihchun_afk
elopiojibel: got it.17:14
elopiodobey: I was waiting for veebers to ask about an alternative to depend only on one package. Would it be a good idea to make a libautopilot-qt5?17:14
dobeyelopio: probably not. having a third package just makes it a tiny big more annoying for packages that should maintain compatibility for building/installing on trusty17:16
dobeyhttps://code.launchpad.net/~dobey/ubuntuone-credentials/fix-ap-deps/+merge/252336 <- like this :)17:16
elopiodobey: on the second line, shouldn't you use (>= 1.4) too?17:18
dobeyelopio: it's not necessary to specify the version twice17:20
dobeyelopio: if you manage to get autopilot-qt5 installed with a libautopilot-qt < 1.4, and without qttestability-autopilot installed, then the archive you're pulling from is seriously broken, or you broke your own system manually :)17:22
elopiomakes sense.17:22
elfyballoons: did you know that there's no sync info against Mate images on the tracker? is that expected for some reason? http://iso.qa.ubuntu.com/qatracker/milestones/326/builds/90310/downloads17:24
balloonselfy, it needs to be curated17:27
balloonsI think I only added the http info17:27
elopiojfunk: on my 360 review I have a pending action that says "close 360 review for self", and it takes me to an empty white page. Do I have to do something there?17:27
jfunkelopio: I am not sure, Brook might know17:31
elopioI'll ask.17:31
elfyballoons: ubuntu image is rebuilding - nothing new since Friday17:32
balloonselfy, ?17:48
balloonsare new builds not selfpublishoing?17:48
balloonsI see 20150309 for mate17:49
elfyno idea tbh - I actually only noticed that was all wrong for Ubuntu as I've got a fubar xubuntu and am checking other images17:49
* balloons checks the logs17:50
* balloons sees what elfy sees17:50
balloonselfy, yes the builds are failing17:52
balloonsahh this is pitti's breakage ;-)17:53
balloons systemd-sysv : Conflicts: upstart but 1.13.2-0ubuntu9 is to be installed17:53
balloonshttps://bugs.launchpad.net/ubuntu/+source/ubuntu-meta/+bug/142765417:53
ubot5Ubuntu bug 1427654 in ubuntu-meta (Ubuntu Vivid) "FFE: switch system init to systemd [not touch] in 15.04" [Undecided,Fix released]17:53
barryelopio: hi.  any time you're ready18:00
elfyballoons: so once more unto the breach ... Xubuntu images are fubar seemingly - no desktop in hardware, kvm or vbox18:01
elopiobarry: let's hit it.18:04
elopiobarry: first we need to finish the discussion about who reboots and who waits for the upgrade to be applied.18:04
elopiowhat I was trying now was to overwrite the apply hook to call /tmp/autopkg-reboot instead of /sbin/reboot18:04
elopiobarry: that would leave the wait to adt-run. Why did you want to wait for the reboot on the host?18:05
barryelopio: i just thought that if the wait doesn't happen on the host, as soon as the device reboots, any wait there would just cease.  doesn't it have to be on the host?18:07
elopiobarry: wait, right. I said it wrong.18:08
elopioI got the impression that you wanted to wait on the testbed, not on the host.18:08
barryelopio: ah, no.  my only point there was that not doing /sbin/reboot wouldn't be an exact test of what happens on the device.  but maybe that tiny difference won't really matter18:08
elopioboth are possible. But waiting on the testbed would require to copy some of the things that adt-run is handling for us, like reenabling ssh.18:09
elopiobarry: we can do /sbin/reboot, we just need to change the adb script a little following pitti's suggestions.18:09
balloonselopio, so presumably systemd yes?18:09
balloonselfy, ^^18:09
elopio^^18:09
balloonsaloha elopio :-)18:09
elopiobarry: so, quickest solution for now is to do adb reboot recovery, but later we can easily change that to be adb shell /sbin/reboot -f recovery18:10
barryelopio: what do you think?  as long as the system gets rebooted through recovery *somehow*, that might be close enough for us18:10
barryelopio: that sounds good to me18:10
barrylet's do the quickest solution now18:10
elfyballoons: bit confused as to what you're pointing me at - elopio and barry's conversation or the FFe18:11
elopiooka. barry, one question: if we call system-image-dbus -c, can we just overwrite the apply value and it will take the rest from the default?18:11
barryelopio: correct.  with si 3.0, .ini files with higher numeric prefixes override lower ones, and they only need to contain the override (section + variable)18:12
elopiogood. So we just need to agree now in the python path for the apply object.18:14
elopiobarry: could you review this one? https://code.launchpad.net/~canonical-platform-qa/ubuntu-ota-tests/current-version-number/+merge/251774 It conflicts with the branch proposed by veebers, so I'm not sure which one to use as a prereq.18:14
barryelopio: ubuntu_ota_tests/hooks.py?18:15
elopioin the mean time, I will change the branch to use your ppa so we can give it a try with dbus.18:15
barryelopio: also, maybe my branch: https://code.launchpad.net/~barry/ubuntu-ota-tests/check-for-update-2/+merge/25232418:16
barryelopio we just have to decide on one of yours, mine, or veebers to base things off of :)18:16
barryelopio: are you mocking dbus because you don't have si 3.0 yet?18:18
elopiobarry: that's fgimenez branch.18:19
barryelopio: oh, whoops18:19
elopioand I think he's mocking it to not have it as a dependecy on the host.18:20
elopiobarry: is 3.0 going to be on utopic?18:20
barryelopio: no, vivid, hopefully though18:20
elopiowe are so close to the vivid release that I think it won't be a problem to make this tool request a vivid host.18:20
elopiobut we need to check that with others, like jibel and CI.18:21
elopioyou have a good point. I would prefer to use the real dbus service for those tests.18:21
elopiobarry: and, lets use today's standup to agree where our ota package will be. We should have made that a card, instead of getting 3 different implementations :)18:22
barryelopio: yes, and yes :)18:22
barryelopio: oh, also, not sure who's in charge of the calendar (brendand perhaps?) but there's no meeting on the calendar for this week18:24
elopiobarry: there are meetings, you are just not invited :)18:25
elopioI'll send you the invite.18:25
barryelopio: :)18:25
barryelopio: yay for daylight savings time18:30
elopiobarry: I don't have those crazy rules. Here we just wake up with the chickens, as god wanted.18:33
barryelopio: i'm packing my bags then! :)18:33
elopiobarry: you should. We have other cool things, like plenty of güayabas.18:35
elopiobarry: for ci, they tell me that things will be easier if the hosts on the lab are trusty machines.18:36
elopioso, we either make a ppa for trusty, backport the things we need, or don't make a dependecy for system-image-dbus on the host.18:36
barryelopio: i have no idea what those are but it sounds intriguing :)18:37
barrybackporting will probably be difficult18:37
barrywell, maybe not18:37
barrynot sure18:37
barrybut i don't think it need be a dependency on the host18:37
barrysince this is all running on the device.  once/if it lands in vivid, it'll be on the device and all will be good18:37
elopiobarry: yes, it's just a little painful for the selftests. That is, the tests for the code in ubuntu_ota_tests package. They are a lot faster than the actual ota tests, so it would be nice to run them on the host for a quick feedback.18:39
elopiobut if the other options are harder, we can run them on the testbed too. Not a big deal.18:39
barryelopio: ah, yes, i see what you mean.  the device tests *are* sloooooow18:40
elopioor, mock the dependencies that we don't have on trusty. One more item to discuss on the standup, I'll make a note.18:40
barryelopio: i'll do a test build on a trusty chroot now to see how painful a backport might be18:41
elopiogreat, thanks.18:41
elopiobarry: have you been able to run this test? https://code.launchpad.net/~canonical-platform-qa/ubuntu-ota-tests/upgrade/+merge/25164619:09
=== roadmr is now known as roadmr_afk
=== roadmr_afk is now known as roadmr
barryelopio: does that test ^^ illustrate the problem?20:05
elopiobarry: it needs one push, and to be called with a long command.20:05
elopiogive me a second.20:05
barryk20:05
elopiobarry: pushed.20:07
elopioand run with: adt-run -d -B --unbuilt-tree=. --output-dir /tmp/output --- ssh -s ./adb-reboot-to-recovery20:07
* barry tries20:07
elopiowhat I've found out with debugging is that adt-run runs:20:08
elopioadt-run: DBG: testbed command ['apt-get', '--quiet', '--simulate', '--no-remove', '-o', 'Debug::pkgProblemResolver=true', '-o', 'Debug::NoLocking=true', '-o', 'APT::Install-Recommends=False', '-o', 'APT::Get::Show-User-Simulation-Note=False', 'install', 'system-image-dbus'], kind short, sout pipe, serr raw, env ['LANG=C.UTF-8']20:08
elopiothat returns: Inst system-image-dbus [2.5-0ubuntu1] (3.0b3-0ubuntu2 system-image testing:15.04/vivid [all]) []20:08
elopioadt is not expecting the [2.5-0ubuntu1]20:08
elopioso instead of returning 3.0b3-0ubuntu2, it's returning 2.5-0ubuntu1].20:09
barryelopio: it looks like it's getting the vivid version of si20:11
barrybut wants the ppa version20:11
barryelopio: yep, that's what's happening i think.  you need to add the ppa to adt-run i think.  problem is, the ppa is not being cooperative20:12
elopiobarry: that's a different problem. I cut that part to make it easier for you to reproduce it. We can install the ppa with:20:12
elopioadt-run -d -B --unbuilt-tree=. --output-dir /tmp/output  --setup-commands "mount -o remount,rw /; apt-add-repository -y ppa:barry/systemimage; apt-get --no-list-cleanup update -o Dir::Etc::SourceList=/dev/null; sync; sleep 2; mount -o remount,ro /"--- ssh -s ./adb-reboot-to-recovery20:12
barryelopio: let me try that20:14
elopiobarry: I missed a space before the ---20:14
barryelopio: yep, i fixed that :)20:14
barryelopio: weird, it wfm.  the test even passes20:28
elopiobarry: how did you flash your phone?20:29
barryelopio: ah, heh.  i installed a local copy of si 3.0 ;)20:30
barryafter flashing it20:30
elopioyes, that's cheating :)20:30
elopiobut it should at least fail because the namespace I set for apply doesn't exist.20:30
* barry grins sheepishly20:31
barryit doesn't fail20:31
elopioI might have done something wrong in there.20:31
barryand i'll stop cheating once i beat ppa into submission20:31
* elopio tries.20:31
elopiobarry: I'll just report a bug to autopkgtest. As the ppa is temporal, it doesn't matter how we install it.20:48
elopionow I'm getting: [systemimage] Mar 09 20:47:59 2015 (4075) Cannot get exclusive ownership of bus name.20:48
barryelopio: i saw that too.  my guess is that system-image-dbus is already running on the device (maybe some kind of system-settings background process).  si-dbus has a check to make sure there's only one instance running.  we probably have to call .Exit() first and catch the exception that will be raised if no si-dbus process is running20:50
elopiobarry: ack. I'll get that from veebers' branch.20:51
barry+120:51
elopioI'll also change this ugly ota_basic script to something in python.20:51
barry+100020:52
barry:)20:52
elopioI was just giving it a try :)20:52
elopioI'm going to have lunch and bbl. barry: if you want me to change something else  from that branch, leave me a comment please.20:53
barryelopio: cool20:53
=== pgraner is now known as pgraner-afk
elopiobarry: I pushed the py script. It now seems to be stuck at:21:39
elopio[systemimage] Mar 09 21:36:17 2015 (25953) Mediator created <Mediator at 0xb558e650 | State at 0xb558e730>21:39
barryelopio: might have to ramp up debugging to get more out of it21:40
barryman i loathe dbus21:41
elopioI get the same with phablet@ubuntu-phablet:~$ sudo system-image-dbus -v -C /tmp/21:46
elopiothere's nothing useful in /tmp/21:46
barryelopio: try bumping loglevel up to debug21:47
elopiobarry: I changed it in /etc/system-image/client.ini. It prints the same.22:04
barryelopio: si 3.0?  that doesn't use client.ini22:07
elopiobarry: so where is the basic .ini to change it?22:07
barryelopio: for si 3.0, add a file to /etc/system-image/config.d that contains:22:08
barry[system]22:08
barryloglevel: debug22:08
barry(that's it)22:08
barryname that file something like: 99_debug.ini22:08
elopiobarry: same output22:10
barryelopio: hmm...22:10
barryelopio: i'm at a loss.  it's almost as if no dbus method is coming in22:10
barryelopio.  i think you need to call iface.ApplyUpdate()22:16
barryelopio: i am eod, but i'm testing a branch that will hopefully make si 3.0 build more reliably in the ppa.  let's chat again tomorrow23:05

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