/srv/irclogs.ubuntu.com/2015/01/28/#ubuntu-quality.txt

=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
knomeballoons, hullo... do you use the stylish extension?12:38
knomeballoons, wakey wakey! :P12:42
elopiobrendand: replied back to you in my serial branch. Please take a look and give me your opinion.14:43
dobeypitti: hey. any idea why line 18 in this log happens, given the command used on line 1? http://pastebin.ubuntu.com/9902391/14:53
brendandelopio, yeah i suppose that would be ok14:55
brendandelopio, approved it14:56
elopioping jibel: if there is only one device connected, would you like the sanity script to use it without asking for the serial?14:57
jibelelopio, ideally yes15:02
jibelelopio, like adb or the ssh/adb backend of autopkgtest15:05
elopiojibel: do you want that as part of the card "run sanity while more than one device is connected", or for that card it's ok to always ask the serial, and we should add a different story for the case when only one device is connected?15:08
jibelelopio, do you need a card for every option?15:09
jibelelopio, that's part of the "multiple devices support" story. Add a line in the description of this card.15:10
elopiojibel: we don't need a card for every option. We just need to define better the acceptance criteria, so we write only the minimum amount of code to meet it.15:11
elopiothat case of only  one device connected is something we didn't discuss. We'll make it as part of this card.15:11
pittidobey: sorry, was in a meeting15:20
pittidobey: not immediately; I mostly tested the session setup script in LXC, although it shouldn't make too much difference (at least with the vivid version of autopkgtest)15:20
pittidobey: but /dev/uinput not being available would also totally break it15:21
pittidobey: so, bug report appreciated (this needs some more time to investigate, and probably the ubuntu-touch-session script needs to be updated to the current reality)15:22
dobeypitti: ok15:23
dobeypitti: also, does anyone actually use the feature of running multiple tests for multiple things with the same command line? i'm pretty sure jenkins doesn't, and i don't know why anyone would do so locally15:24
pittidobey: I don't know really; we don't in CI; it's just an ancient CLI which I wouldn't like to break without a good reason15:26
dobeypitti: well, "nobody uses it and it makes using adt-run, and its code, that much more complex" is a pretty good reason to me :)15:28
pittidobey: heh, yes :)15:28
pittidobey: when I saw it the first time I was quite stumped, too15:28
dobeypitti: i don't know if this is a good enough bug report, but here you go: https://bugs.launchpad.net/ubuntu/+source/autopkgtest/+bug/141551415:29
ubot5Launchpad bug 1415514 in autopkgtest (Ubuntu) "No /dev/uinput and Upstart cannot be contacted" [Undecided,New]15:29
dobeypitti: honestly, since i've started trying to add autopilot tests to autopkgtest configs, i've had nothing but problems with both :-/15:30
pittidobey: so, one of these days I'd like to create a new CLI called "autopkgtest" which replaces adt-run, and thus get rid of that weird name too :)15:31
dobeypitti: oh, and btw, https://people.debian.org/~mpitt/autopkgtest/README.running-tests.html mentions "apt-ro" as a setup-command several times, but in reality it's actually "ro-apt" :)15:32
pittidobey: yeah, most people just run AP tests on real iron or the emulator; the setup script was quite a hack and doesn't get used/maintained a lot; there is bug 1376423 to put that into a proper place and fix up to be closer to what happens in reality15:32
ubot5bug 1376423 in Ubuntu Touch session manager "Provide script to set up a temporary user session" [Undecided,New] https://launchpad.net/bugs/137642315:32
balloonsohh.. heh, this floats back to that lovely bug15:33
dobeyah15:33
pittidobey: oh, several? I just see it once (thanks for pointing out, fixing!)15:33
brendandelopio, none of the existing config tests create a fake config?15:34
balloonsdobey, you should also mention the need to pass args in order, although as I said I believe there is a reason15:34
dobeypitti: oh, i thought i saw it several times. maybe it's just the once then :)15:34
pittidobey: committed15:34
dobeyballoons: yes i already complained about that above :)15:34
dobeyballoons: the reason is "an old feature nobody actually uses" :)15:34
=== roadmr is now known as roadmr_afk
dobeyi'm hoping we can get rid of all the autopilot tests in the click scope at least, now that there is a test harness for scopes api15:36
balloonsdobey, I'm glad you and pitti finally synced up :-)15:40
pittidobey: bug good enough> sounds easy enough to reproduce, so should be fine; thanks15:40
dobeyok, cool15:41
elopiobrendand: fake config contents, yes. Take a look in my branch.15:58
elopioalesage: brendand: how would you prefer the serial handling? Ask for a serial if more than one device is connected, or ignore the number of devices connected, if the user doesn't provide a serial, assume there's only one.16:20
brendandelopio, i think it only needs to be as smart as existing tools16:21
alesageelopio, maybe the first seems better but what do you think?16:21
alesageelopio, for the second design, which would you run the tests on?16:22
* alesage is not sure if he picked the right answer16:32
elopiofirst seems better, maybe too smart as brendand says.16:37
elopioalesage: I don't get your second question.16:37
brendandelopio, it's indeed 'better', but do we really need to be smarter than the tools we wrap?16:37
alesageelopio, I'm going to table my second question16:38
elopiobrendand: not if it is not required by the customer.16:38
brendandelopio, i say:16:38
brendand- if one device is attached, use it16:38
brendand- if more than one is attached, use the specified serial16:39
=== roadmr_afk is now known as roadmr
brendand- if no serial is specified, exit with an error16:39
alesageendif16:40
elopiobrendand: I don't like your first bullet, because I might have connected the wrong device. I specify the serial, and I want to run the tests there. If that serial mismatches the connected one, IMO it should exit with an error.16:40
brendandelopio, i almost typed that - yeah if it's not too hard we could check for that too16:40
elopioit's actually harder to check for what you want.16:41
elopioso, specifying no serial should succeed only if there's only one device connected.16:41
alesagethat's fair16:41
alesageyes that was my q: on which would your run int hat case?16:41
brendandelopio, do you know about this failure in the wizard test: http://paste.ubuntu.com/9919877/ ?16:42
elopiobrendand: can you get a screenshot out of it?16:42
elopioI'd say, the pin keyboard did not appear.16:42
brendandelopio, how do i hack it to just run one test?16:43
brendandelopio, ah i can modify __all__16:45
elopiobrendand: yup.16:45
brendandelopio, so to list the tests can't we just print __all__?16:46
brendandelopio, i suppose there are the imported tests as well16:46
elopiobrendand: no, because there are other tests defined in debian/tests16:46
brendandelopio, and is it hard to list those?16:47
elopiobrendand: no, just weird.16:47
elopiowe have some tests in our branch, and some other come from the packaging of our branch.16:47
elopiomaybe, we should move the list of external tests out of debian/tests. From there just call a method: get me the tests.16:48
brendandelopio, i think so16:48
brendandelopio, there should be one method of finding all the tests to run16:49
elopiobrendand: I think it would be good, also to keep the code in debian/tests as small as possible.16:49
elopiojibel: there are some cards about checking images and their thumbnails. How would you like to see the checks for those? Simple like checking that the source is an image file and that it's not all black, or some smarter check that the displayed image matches the source with accuracy?16:52
jibelelopio, check that the thumbnail is not only one color, we don't really care about accuracy, since it's a thumbnail it'll lose information anyway.16:53
elopiojibel: ack. What about the images opened in the gallery?16:54
jibelelopio, check it is not black or a single color. That's usually the result when there is a bug in a codec.16:56
jibelor the thumbnailer16:56
elopiojibel: ok.16:56
elfyballoons: so then ... assuming that bug 1325801 sits at triaged till this time next week - what do we regarding info pre the globla jam19:18
ubot5bug 1325801 in usb-creator (Ubuntu Utopic) "failed to boot from USB disk with error: gfxboot.c32: not a COM32R Image boot:" [Critical,Triaged] https://launchpad.net/bugs/132580119:18
elfycurrently we point people at a tool that sometimes works still :)19:18
balloonselfy, I discovered disks fails in vivid btw19:30
balloonsmade a bad image for me.. I used dd19:30
elfymmm19:47
elfyso basically - use a windows tool ...19:48
elfyballoons: what fail was it - something other than one we've already seen?19:49
balloonswouldn't go past the boot. I still have it, need to reboot and collect the error19:51
elfyk19:52
elfyI've used disks a few times since then in vivid - worked with ubuntu/kubuntu/xubuntu 2 or 3 times and even manjaro19:53
balloonsbut yes, I thought we said we would writeup something for disks as the alternative19:53
elfyperhaps include dd as well - what command to recommend though19:55
elfyballoons: does it need to be actually on wiki? or would a pad do - what do you think ?19:58
elfyhopefully it's just a temporary situation19:58
=== roadmr is now known as roadmr_afk
balloonselfy, it doesn't HAVE to be on the wiki, though I don't see why it can't be21:27
=== roadmr_afk is now known as roadmr

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