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

balloonsyou want another build? sure00:50
balloonsflexiondotorg, ^^00:50
balloonsflexiondotorg, I added it. you should be able to setup the rest and add a build I believe00:53
=== pleia2_ is now known as pleia2
sethjWhen powering up Testdrive to help test beta 1 I noticed it doesn't list Ubuntu MATE in the preferences. Should I file a bug about that?01:54
sethjIs Testdrive even recommended/used anymore?01:54
ianorlinI am not sure I mainly have found just zsyncing easier and had some bugs last time I treid to use testdrive01:56
ianorlinit seemed to support virtualbox better than kvm01:56
sethjianorlin, hm, I guess I could try zsyncing them. I always just used VB anyway so I didn't find its integration into Testdrive to be an issue. Hopefully I'll be able to test on my spare partition soon.02:05
sethjI used Testdrive because it was convenient, but might as well do it the hard way :p02:06
sethjhmm, would something crashing *after* the install (on first boot) fail the testcase or pass with with a non critical bug?04:18
pittiGood morning05:55
pittidobey: you can also put your branch pretty much anywhere (github, gitorious, people.canonical.com), or even easier, just attach git format-patch to  a bug report05:56
pittithe latter is easiest05:56
brendandelopio, lots of things seem broken today15:07
elopiobrendand: there is a branch for each one.15:09
brendandelopio, yeah it's just depressing15:10
elopiobrendand: today, it's the price we are paying for not using upstream code.15:10
brendandelopio, btw the bug fgimenez mentioned, it's already reported and fixed in testtools15:11
brendandelopio, but testtools still hasn't been updated in debian15:11
brendandfor almost six months15:11
elopiook.15:12
elopioshould we prepare an updated debian package and give it to them?  Or do the skip earlier in our code?15:12
brendandelopio, or move the check out of the setup15:12
brendandoh wait15:13
brendandfgimenez, do file a bug actually, against the sanity test suite15:14
brendandfgimenez, i'll take a look15:14
brendandelopio, i don't see any branch about the uninstall test failing15:14
brendandelopio, i get 'autopilot.exceptions.StateNotFoundError: Object not found with name 'PreviewActionButton' and properties {'objectName': 'buttonconfirm_click'}.' consistently15:15
elopiobrendand: is that running the install branch?15:15
brendandelopio, yes15:15
elopioI've just fixed it. The branch is not ready for review.15:15
elopioit was a mistake I did yesterday.15:16
brendandelopio, does your system settings branch fix 'AttributeError: 'module' object has no attribute 'MainWindow''15:20
elopiobrendand: yes.15:20
fgimenezbrendand: ok, you should be able to reproduce it in the test_sim_pin test without sim inserted15:21
brendandfgimenez, ok15:21
elopiorhuddie: our policy is one card per branch.15:28
elopioso you can make a card for your avatar branch, and put it in the review column.15:28
elopio you also can ping renato to get it landed.15:29
rhuddieelopio, ah, i see. thanks. I have some helpers to add yet, but also wanted to get the .deb file from jenkins15:30
elopiorhuddie: got it. Is there a way to split that card in more pieces? I'm not sure what to do in the evening.15:34
rhuddieelopio, for that branch, do you think it best to just get that single change landed and then add helpers to the sanity-tests branch? or try and get the helpers in with that MP?15:34
elopiorhuddie: the helpers need the test peers. Is that easy to do?15:35
rhuddieelopio, hmmm, i'm not sure about that yet15:35
elopioI saw some of your branches in progress for that, I don't know how close are they to land.15:35
rhuddieelopio, well they are quite old now15:35
elopiorhuddie: yes, but they don't need a lot of updates.15:36
elopionot much has changed.15:36
rhuddiei did the merge from trunk, which seemed ok15:36
elopiorhuddie: I would say, make the helpers in sanity. If we have time at the end, make an MP for the address book with as many of them as possible.15:36
rhuddieyes. i think we should be able to get the object name landed easily, but if we start doing the helpers it could take much longer15:37
elopiorhuddie: yes, I agree.15:38
rhuddieelopio, should I wait for jenkins results before getting another review?15:39
elopiorhuddie: no need. There's no way jenkins can fail with that.15:39
rhuddie:)15:39
elopiorhuddie: you probably have to update the copyright year there.15:40
elopioyou know? just because I can't go to bed if I don't leave a needs fixing :)15:40
elopiofgimenez: I want to learn c++ from scratch. Any recommendations?15:42
fgimenezelopio: buf, perhaps i'm not the indicated person to give you directions on this :)15:44
rhuddieelopio, updated copyright15:44
elopiofgimenez: I suppose I'm confused. For some reason, I thought you were a c++ hacker.15:45
elopioto many emails going on this days.15:45
fgimenezelopio: i've worked with it but there's a lot for me to learn15:47
elopioI suppose this coude be good: http://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-096-introduction-to-c-january-iap-2011/lecture-notes/15:50
rhuddieelopio, I keep getting this error when running the add contact test: http://pastebin.ubuntu.com/10411508/17:31
rhuddieit seems like it should work, so not sure if you have any ideas?17:32
elopiorhuddie: did you remove the Address book helpers from sanity?17:33
rhuddieelopio, no17:33
elopiorhuddie: you should use now the ones upstream. There's an address_book_app.AddressBookApp17:33
rhuddieelopio, yes. i tried using that in the call to get_proxy_object_for_existing_process(), but it gave the same result17:34
rhuddiei feel like i must be missing something17:35
elopiorhuddie: if you didn't remove the one from helpers, it might be in the object registry.17:36
balloonselopio, so html5 and scopes. Are we comfortable yet in recommending things for testing? Presumably selenium and phantomjs17:37
elopiooh, no, crap.17:37
elopiothe webbrowser typo got into trunk.17:37
elopiothat's the problem.17:37
rhuddieelopio, oh!17:38
elopioballoons: for scope testing, pete is working on a tool to test them without ui.17:38
elopiofor html5, autopilot + selenium + oxide.17:38
brendandelopio, did it?17:38
elopioI wonder how the tests pass.17:41
balloonselopio, ack, ty17:43
balloonselopio, ohh, for the 'tool' is there source or a name?17:43
elopiorhuddie: can you try with this?17:44
elopiohttps://code.launchpad.net/~canonical-platform-qa/address-book-app/fix_app_proxy/+merge/25096917:44
elopioballoons: I haven't seen it yet.17:44
rhuddieelopio, with ubuntu-sanity-tests? how do i make it install that version on the device?17:46
elopiorhuddie: I would make the device rw.17:46
elopioinstall this and unity8-autopilot17:46
elopioadb push the ubuntu_sanity_directory your are using.17:47
elopioand autopilot3 run from phablet-shell17:47
=== alex_abreu is now known as alex-abreu
=== roadmr is now known as roadmr_afk
=== roadmr_afk is now known as roadmr
balloonsbdmurray, do you indeed intend to backport apport-noui to trusty?19:55
=== seth_ is now known as sethj
balloonsnvm I see it's already there, awesome20:09
=== roadmr is now known as roadmr_afk
bdmurrayballoons: its there but it doesn't work well20:28
balloonsbdmurray, so what are the tweaks you describe then? Do they eliminate all prompts?20:28
bdmurrayballoons: yes by the following20:30
bdmurray  * debian/apport-noui.upstart: remove early exit (LP: #1235436)20:30
bdmurray  * debian/apport-noui.dirs: create /var/lib/apport (LP: #1235436)20:30
bdmurray  * data/whoopsie-upload-all: backport vivid version of it20:30
bdmurray  * apport-noui: make the package installation automatically enable20:30
ubot5Launchpad bug 1235436 in apport (Ubuntu) "/etc/init/apport-noui.conf is non-functional on the phone" [Critical,Fix released] https://launchpad.net/bugs/123543620:30
bdmurray    autosubmission, and update the package description accordingly.20:30
bdmurray    LP: #1351137.20:30
ubot5Launchpad bug 1351137 in apport (Ubuntu) "ubuntu-system-settings-wizard does not create /var/lib/apport/autoreport on first boot" [Critical,Fix released] https://launchpad.net/bugs/135113720:30
balloonsahh some additional bugs20:31
bdmurrayballoons: then the whoopsie change just makes it so that the OOPS ID gets logged20:31
balloonsright, so you only pulled bug 108497920:31
ubot5bug 1084979 in apport (Ubuntu Utopic) "Submitting error report asks confounding questions" [Medium,Fix released] https://launchpad.net/bugs/108497920:31
balloonsI think eliminating all prompts especially on the LTS would be very welcome20:32
balloonswe don't gain any favors by exposing LTS users to it20:32
bdmurrayThe apport-noui change requires people to manually install that package and sends all crashes without prompting to errors.20:33
bdmurrayI don't know how large the audience is for that.20:33
dobeywhee, so i am hitting more interesting annoyances in autopilot :-/20:44
veebersdobey: what are you experiencing?20:47
dobeyveebers: well, apparently self.launch_test_application() calls "which" for each argument. and it always inserts "-testability" as the second argument on the command line, regardless what the first item is20:48
dobeyso ["which", ""] fails, and then replacing the "" with "sh" fails because it tries to do ["/bin/sh", "-testability", "/usr/bin/qmlscene", ...]20:49
veebersdobey: right, so launch_app is designed to launch applications in which to introspect (and thus returns a proxy object)20:50
dobey            "ubuntu-app-test" if use_mir else "",20:50
dobeytrying to do that20:50
dobeybecause we have to do ubuntu-app-test qmlscene foo to run it under mir20:50
veebersdobey: you should use UpstartApplicationLauncher if you want to launch something using ual20:51
dobeyveebers: no i can't20:52
veebersdobey: that's wrapped in TestCase.launch_upstart_application20:52
dobeyveebers: this isn't an actual application20:52
dobeyso ubuntu-app-launch won't work20:52
dobeyotherwise, i'd just use self.launch_click_package() and it'd work and i wouldn't have had to override it to do what i need to do :)20:53
veebersdobey: ah I see sorry, I read "UbuntuAppLaunch.start_application_test" in the source and saw 'test' and 'ubuntuapp..'20:53
dobeyin what source?20:54
veebersdobey: autopilot20:54
dobeyoh20:54
dobeyyeah, that would be fine if this was a normal app20:54
dobeybut it's not20:54
dobeyit's a trusted session thing20:54
veebersdobey: what's ubuntu-app-test?20:55
dobeyveebers: it is a tool that will hopefully be available in vivid soon, to be able to launch a trusted session for special things like we are, under mir, so we can run our autopilot tests on a device/emulator20:56
veebersdobey: I wonder if perhaps there needs to be a feature added to autopilot to handly loading applications in this manner20:57
balloonsdobey, nice!20:57
* balloons worries about fragmentation of autopilot launching apps20:58
dobeyveebers: well, i guess using ubuntu-app-test would be that feature, but for now i'm happy to get it working just in my test20:58
dobeyveebers: for now, i think we're the only app that really needs this for autopilot, so our tests is at least a good place to hash out how it should work :)20:58
veebersdobey: ack :-)20:59
veebersdobey: so, if it's not being run under mir wouldn't the application be qmlscene (in this example) and not "" or "sh"?21:01
dobeyveebers: we need qmlscene in both cases21:02
dobeyveebers: but i only need to prefix the command with ubuntu-app-test if we're running under mir21:02
flexiondotorgEvening.21:02
flexiondotorgelfy, You about?21:02
dobeyveebers: autopilot seems to be making some assumptions about what the arguments are though, rather than actually examining them and doing the right thing21:02
elfyflexiondotorg: ish21:03
flexiondotorgelfy, So, I've "signed" off one image so far.21:03
flexiondotorgelfy, I have a somewhat annoying bug in Beta 1. Not a show stopper and only affects i386 so far.21:03
veebersdobey: perhaps I dont' understand properly, under mir: self.launch_test_application('ubuntu_app_test', ['qmlscene', 'other args'])21:03
flexiondotorgelfy, Is it OK to process with known issues?21:04
veebersand not under mir: self.launch_test_application('qmlscene', ['other args'])21:04
flexiondotorgI see most other flavours have way more bugs than the Ubuntu MATE guys have encountered.21:04
elfyflexiondotorg: we intend to release with a big known issue if it doesn't get fixed in time21:04
flexiondotorgelfy, Cool.21:04
elfyjust make sure your release notes detail anything you think your audience will need to know21:04
flexiondotorgAny idea what time tomorrow the Beta 1 will be released?21:04
flexiondotorgelfy, Working on those now.21:04
dobeyveebers: i don't think that's right21:05
elfyflexiondotorg: excellent21:05
=== roadmr_afk is now known as roadmr
elfyflexiondotorg: when laney is happy and I've chased people for stuff :)21:05
dobeyveebers: i guess i'll just have to have an if and make the call twice, once with ubuntu-app-test, and once without, rather than doing it in-line21:05
flexiondotorgRough idea of what time?21:06
dobeyveebers: but i'm still worried that autopilot will add the -testability in the wrong place in that case21:06
elfyflexiondotorg: well - both of us are using a proper timezone where for 6 months of the year UTC=the clock :)21:06
elfysame one as you I think :p21:06
veebersdobey: hmm, I think if you add '-testability' explicitly as an argument it shouldn't add it21:07
elfyflexiondotorg: early evening I would guess21:07
veebersso this (untested) might work: self.launch_test_application('ubuntu_app_test', ['qmlscene', '-testability', 'other args'])21:07
dobeyveebers: hmm, i'll try that21:07
veebersdobey: let me know how it goes, we might end up filing some bugs :-)21:07
dobeyyeah, hopefully adt-run will go fast this time21:08
veebersdobey: also, might be of use, if you supply app_type (as in, app_type='qt') it will use the qt testability env settings without trying to figure it out itself21:09
flexiondotorgelfy, PowerPC baby. It works 😃21:13
elfylol21:13
sbeattiejibel, pitti: hey, looking at the apparmor entry for http://people.canonical.com/~ubuntu-archive/proposed-migration/update_excuses.html, I see the systemd adt run failed. Looking at https://jenkins.qa.ubuntu.com/job/vivid-adt-systemd/lastBuild/? it seems the i386 run failed due to archive problems/test setup failure. Is there any way that test can be rerun?21:53
dobeyveebers: adding "-testability" by hand helped, but can't default to "sh" because of course it tries to read qmlscene as a shell script then which fails. so had to refactor a little and use an if, calling launch_test_application() in two different ways22:07
veebersdobey: ah ok, so it's currently working for you? (albeit the codes not as elegant as you would like?)22:09
dobeyveebers: well i don't know if it "works" yet on the mir case, but i think i have it working ok for the qemu/x11 case (running again right now to verify)22:10
veebersdobey: ah ok, understood22:11
dobeybut i think it works, yes :)22:11
dobeyand hopefully we will be able to get ted's fix landed in vivid soon, so i can verify it works under mir as well22:11
veebersdobey: sweet, keep me in the loop as I'm interested in anyway that autopilot can be improved22:17
dobeyveebers: don't worry, i'm good at complaining :D22:17
veebers^_^22:17
dobeyveebers: so ('foo', ['qmlscene', 'foo', ...]) doesn't work because it tries to parse the list as a string22:29
dobeywhee22:29

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