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

=== chihchun_afk is now known as chihchun
elopioveebers: how are you?03:34
veeberselopio: better than this morning. although at this point in time I'm looking forward to EOD-ing :-)03:36
veeberselopio: how are you?03:36
elopioveebers: yes, you should take some rest. I'm fine, thanks.03:37
veeberselopio: ack, will do, just clearing up a couple of things so that I feel like I've actually done something today :-)03:37
elopioveebers: we decided that we will use your branch as the base for the rest. And we also talked about selftests.03:38
elopioveebers: so if you don't mind, I will change your example test a little to make it a selftest.03:38
veeberselopio: while you're here do you mind taking a quick look at the updated autopilot MP03:38
veeberselopio: no worries, I've just updated that branch right now03:38
veebersI was just about to put in a comment in that I've made a change that pulls in autopilot as a depend, but I'm not sure we want that (esp. for the purpose that I'm using it)03:39
veebersI don't think the core test scripts should depend on autopilot03:39
elopioveebers: looking at it.03:40
veebersthanks03:40
elopioveebers: on the ota branch, is there a reason to define the __all__ ?03:41
veeberselopio: (I'm failing to find a link now but) I understand this is best practice where __init__ only provides access to public modules. using the __all__ we could have a private module _secret_stuff that's not exported by default by the package.03:44
elopioveebers: ok. I was just wondering as I never know when to use it and when not to.03:45
elopioveebers: the test in the autopilot branch is really cool03:45
elopioI'll kick jenkins again, because it has a weird error.03:45
veeberselopio: oh rats, I hadn't even checked up on that, cheers03:45
elopioveebers: and I don't mind about adding the autopilot dependency in there. Anyway we will have plenty of autopilot stuff in the branch.03:45
veeberselopio: the use of __all__ might be overkill here but it's easy enough to setup with no cost03:46
elopioit would be good to upstream the Eventually matcher to testtools though.03:46
veeberselopio: right, for the tests, but I'm not sure if we'll want autopilot stuff in the support scripts there. I'm sure that barry has mentioned in the past he would like to supply support scripts that help with the ota tests and the ota tests themselves can consume them03:46
veeberselopio: re: the autopilot test, it kind of sucks to make it a functional test, but we need to start the process as it's due to the import processing phase.03:47
veebersplus it was the easiest thing to do right away. I'll take some moments tomorrow to make sure we can't make it a unit test.03:48
elopioveebers: if it becomes a problem, we can copy the Eventually. I really don't mind about it.03:48
elopioveebers: and I really like it being functional. I think making a real test with a real skip with a real config value is nice.03:48
veeberselopio: ack, just adds time to running the test suite ;-)03:49
veeberselopio: also you'll see that I responded to your query on the taskbar intro doc03:49
* veebers is reminded to update the standup journal before EOD03:50
elopioI'll check.03:50
elopioveebers: I'm going to eat, and then I'll come back to take a better look at your stuff. You should just go to bed. You are wasting a sick day :)03:50
veeberselopio: heh, I've fine :-) Thanks for the concern.03:52
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
pittiballoons, elopio: hm, I thought I fixed the seeds, where do you see this? today's images should be ok05:47
elopiopitti: sorry, I don't know what you are talking about.05:47
pittielopio: that's why I meant to type "elfy", sorry05:48
elopio:)05:48
elopiopitti: I don't know how to make a pull request for autopkgtest with the reboot target and command. Should I send you the patch?05:54
pittielopio: sure, sounds good (git format-patch origin..), perhaps attach it to a bug?05:54
elopiopitti: a bug reported in the debian bts?05:55
pittielopio: as you with, but a Launchpad bug seems easier06:00
pittielopio: curious package list parsing error, I've never seen that; thanks for the report06:01
elopiopitti: I'll do it tomorrow, I still find git a little confusing.06:01
elopiopitti: yes, it's weird. I don't get why it's returning the current version. It happens only for the common package.06:02
elopiopitti: that package will be in the image soon, so the bug is not blocking us.06:03
pittielopio: right, when I run that apt-get command I don't get the extra [version] thingy06:03
pittielopio: but anyway, as you included the output it's easy enough to fix for that case06:03
elopiopitti: maybe you need to try with barry's ppa: https://launchpad.net/~barry/+archive/ubuntu/systemimage06:04
pittielopio: if you didn't commit anything, just send me the output of "git diff" (and perhaps new files), I'll piece it together06:06
=== chihchun_afk is now known as chihchun
pittielopio: parser fixed in git06:35
pittielopio: do you know that you can run it straight out of git by replacing "adt-run" with "check/out/dir/run-from-checkout"?06:36
pitti(much easier to test the latest version with that)06:36
elfypitti: by today's images should be ok - do you mean 10th March ?07:05
pittielfy: systemd was stuck in -proposed, so this morning's images would still have failed07:14
pittiI nudged them now, though, so the next ones should work again07:14
elfyok - thanks07:15
=== chihchun is now known as chihchun_afk
=== roadmr is now known as roadmr_afk
=== roadmr_afk is now known as roadmr
elfyballoons pitti: manifest for xubuntu shows systemd 219-4ubuntu4 which afaik is the newest, still not getting a desktop here, so maybe a different issue14:08
elopioping pitti: there's an error on your parsing fix. I've attaached the patch to the same bug:14:12
elopiohttps://bugs.launchpad.net/ubuntu/+source/autopkgtest/+bug/143001714:12
ubot5Ubuntu bug 1430017 in autopkgtest (Ubuntu) "Error parsing the list of packages to install" [High,Fix committed]14:12
elopiotested with run-from-checkout, thanks for the tip :)14:13
balloonselopio, sounds like tomorrow should work14:14
balloonselfy, ^^14:14
balloonsbah, did it again :-)14:14
rhuddieelopio, do you have some time to go over changing the proxy base class for the camera test? I've tried various things, but it seems more complicated as I am over-riding the MainWindow and Panel classes, which is leading to other issues.14:17
elopiorhuddie: I do.14:17
elopiorhuddie: do you want to hangout or push your changes?14:17
rhuddieelopio, excellent. I think h/o would be best. I've not submitted changes to branch14:18
elopiorhuddie: https://plus.google.com/hangouts/_/canonical.com/qa14:19
pittielopio: thanks, applied and bug updated *blush*14:35
elopiopitti: no worries. I bet that was a trap to help me getting started contributing :)14:56
elopionow I know how to make a git patch.14:57
pittielopio: darn, you unveilled my s3kr1t plan14:57
pittielopio: nah, it was just me resorting to a quick fix because of time pressure argh14:57
=== chihchun_afk is now known as chihchun
elopiobarry: yesterday you told me that I might be missing an ApplyUpdate. I'm not sure where to put it. Should I call that after the system-image-dbus call?15:16
elopiopitti: can we run only one of the tests defined in debian/tests/control ?15:19
pittielopio: with latest autopkgtest, yes; adt-run --testname mytest -B testdir//15:19
elopionice!15:19
pittielopio: (just make sure to specify --testname *before* the thing you want to test, as it only applies to the next test)15:19
elopiopitti: and what if I use Test-command instead of test name?15:20
pittielopio: it synthesizes test name "command%i" for those, e. g. --testname command215:22
elopio:)15:22
pittielopio: starting at 115:22
barryelopio: yes, after s-i-dbus has been started, you should then connect to the service and call its ApplyUpdate().  but s-i-dbus will have to run in the background (usually it's dbus activated) and you'll have had to do a CheckForUpdate() first (see my branch)15:34
elopiobarry: /me looks.15:34
barrypitti: has the systemd transition for desktop happened yet?15:35
pittibarry: yes, yesterday15:36
barrypitti: i was afraid of that ;)  dist-upgrade broke.  fortunately, it's on a vm with disk snapshotting, so i'm reverting and trying again15:37
pittibarry: oh? bug with upgrade log appreciated15:37
barrypitti: yep, if it reproduces15:38
pittibarry: that is, day-to-day vivid upgrade? or from trusty/utopic?15:38
barrypitti: day-to-day.  last upgrade was on 3/515:38
barrypitti: if i need to file a bug, where's the best place to do it?  (i'm not positive it's systemd yet)15:41
barrybut it seems a likely candidate15:41
pittibarry: on the first package that failed is usually the best place15:41
pittibarry: but I don't mind if you file it against systemd, I can still reassign if appropriate15:41
barrypitti: ack, thx15:41
pittibarry: thanks!15:41
barrypitti: well, this time it upgraded, but then LP: #1430412 upon reboot15:57
ubot5Error: Launchpad bug 1430412 could not be found15:57
pittibarry: ok, that's someone else's problem then :)16:12
pittibarry: do you still happen to have the upgrade output somewhere?16:12
pitti(terminal scrollback or so)16:12
elfyballoons: yea - but "systemd was stuck in -proposed ... nudged them now, next ones should work" was 2 hours prior to image building, which does have the systemd that's out of proposed according to the manifest - hence me suspecting this is something else16:32
balloonsfor xubuntu.. well, let's see16:34
balloonsI don't see any build failures for xubuntu specifically, unlike ubuntu16:38
elfyyea - which is why I think it's something else again :(16:39
barrypitti: not the one that failed unfortunately.  i trashed that disk snapshot16:55
elopiobrendand: fgimenez: rhuddie: who is vanguard now? is it me?17:01
fgimenezelopio, i think brendand17:01
rhuddieelopio, according to ##qa it is brendand17:01
fgimenezelopio, see ##qa topic :)17:01
elopiogot it.17:02
brendandelopio, when i go offline you are17:02
brendandelopio, are you happy with https://code.launchpad.net/~canonical-platform-qa/ubuntu-sanity-tests/take_picture_with_rear_camera/+merge/251967 now?17:03
elopiobrendand: I am happy. Did you run the tests with the latest revision?17:10
brendandelopio, oh yeah - it works17:26
elopiobrendand: ok, I'll approve then.17:27
elfyballoons: so - with xubuntu images it seems none of the xfce stuff is running ...17:37
elfyI assume that you should be able to edit the boot line in a live image, and that init=/sbin/upstart should start it with upstart instead17:37
elfythat just hangs17:37
balloonselfy, ouch17:39
elfyit all looks like it's got the right systemd17:40
elfyat least it doesn't work in kvm too ;)17:40
barryis anybody else having lp problems?  this page just keeps timing out for me: https://code.launchpad.net/~canonical-platform-qa/ubuntu-ota-tests/check-for-running-service17:56
barry^^ https://code.launchpad.net/~canonical-platform-qa/ubuntu-ota-tests/check-for-running-service/+merge/25205717:56
gQuigs1st link loads, second never seems to17:58
elfysame17:58
barrygQuigs, elfy thanks for the confirmation.  i'll ping someone over in canonical is17:59
barryok.  known problem, being worked on18:10
elopiobarry: when I try to get the interface again while system-image-dbus is running I get:18:24
elopio[systemimage] Mar 10 18:20:34 2015 (3110) Cannot get exclusive ownership of bus name.18:24
elopioam I doing something stupid here?18:24
barryelopio: that means there's already a si-dbus process running.  so either the first one has to be killed or you have to watch for that and use the already running version18:25
barryiface.Exit() will exit it18:25
barryas will SIGTERM18:25
elopiobarry: I assume we need it to be running, because that's the one who tells to use our modified .ini18:25
elopiois there a way to tell the service by dbus which config directory to use?18:26
barryelopio: there isn't.  we experimented with that for snappy but it was too tricky and racy to be reliable.  so, via dbus, you have to .Exit() and restart it (usually by dbus activate)18:27
=== roadmr is now known as roadmr_afk
brendandveebers, can you top-approve https://code.launchpad.net/~canonical-platform-qa/ubuntu-sanity-tests/take_picture_with_rear_camera/+merge/251967 if you're okay with it? it's approved by everyone else19:36
veebersbrendand: ack, I'll be able to do that after the meeting :-)19:43
=== roadmr_afk is now known as roadmr
Letozaf_balloons, hi20:10
balloonsLetozaf_, hello hello20:12
Letozaf_balloons, :)20:12
Letozaf_balloons, I was wondering if you had 2 min. for this: https://code.launchpad.net/~carla-sella/ubuntu-filemanager-app/fixed-test-cut-directory/+merge/25220520:12
balloonsLetozaf_, ahh nice and easy. So that change isn't going to fix the issue, although it's good to have cleanup and you have the right idea. You need to either remove the directory before making the new one or better simply creating only if it doesn't exit20:16
balloonssomething like if not os.path.exists(directory), os.makedirs(directory)20:16
* balloons googles and sees python3 has a cool flag now to help with this20:17
Letozaf_balloons, oh, thanks I will do as you say20:17
balloonsLetozaf_, check out https://docs.python.org/3/library/os.html#os.makedirs20:17
balloonsyou can use exist_ok=True :-)20:18
balloonsno need for a conditional check20:18
Letozaf_balloons, thanks20:18
balloonsbut yea, +1 with that. That should solve the issue. Does file manager not just cleanup the temp directory it does all it's operations in? It might be worth a singular check at the beginning20:20
balloonsI'm asking because your fix would be better applied I think at the root directory filemanager uses; so no test has this issue20:21
Letozaf_balloons, ok I will check this too20:21
elopiough, I got my krillin stuck in the white screen.22:42
elopionuclearbob: can you access the board now?22:44
elopiohttps://trello.com/b/8dD0UPNl/qa-stakeholders-backlog-scroll-right-for-stakeholder-specific-backlogs22:44
nuclearbobelopio: yes, thank you22:45
elopionp.22:45
elfyballoons: so once again we got sorted by the awesome people in release, we should be off and running again tomorrow22:49
elfyand btw - ubuntu image still apppears to be rebuilding since the 6th22:50

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