/srv/irclogs.ubuntu.com/2013/11/26/#ubuntu-quality.txt

=== chihchun is now known as chihchun_afk
=== philipballew is now known as philip
BullFrog13x4exit05:38
jibelGood morning06:13
=== chihchun_afk is now known as chihchun
jibelpitti, unattended-upgrades and ubunut-release-upgrader autopkgtests failed with a permission denied. It could be a change in autopkgtest 2.5, did you have a look?06:19
pittijibel: not yet, but I will06:19
pittistill digging through morning IRC/email06:19
pittijibel: oh, just saw that you became a member, congratulations! well deserved06:21
jibelpitti, Yay, thanks for your support :)06:22
pittijibel: no immediate idea, I'll reproduce locally and investigate06:25
jibelpitti, that's a change in 2.5, -build directory is own by root instead of the test user06:49
jibelfor exmaple06:49
jibeladtlog.2.4.log:143092    8 -rw-r--r--   1 ubuntu   ubuntu       4401 Sep  9 17:39 /tmp/adt-run.N9WStu/ubtree0-build/real-tree/test/.coverage06:49
ubot5Ubuntu bug 4401 in wing (Ubuntu) "wing: merge new debian version" [Medium,Fix released] https://launchpad.net/bugs/440106:49
jibeladtlog.2.5.log:144002    8 -rw-r--r--   1 root     root         4401 Sep  9 17:39 /tmp/adt-run.qDeeZc/ubtree0-build/real-tree/test/.coverage06:49
pittijibel: right, will track down06:54
=== chihchun is now known as chihchun_afk
DanChapmangood morning ! :-)07:46
elfymorning DanChapman07:46
DanChapmanhowdy elfy o/07:46
jibelDanChapman, good morning08:06
DanChapmanjibel, good morning :-)08:06
DanChapmanhow are you?08:07
jibelDanChapman, re. ubiquity crash, I filed bug 1254996 which contains a better crash file but retracing will probably fail08:07
ubot5bug 1254996 in autopilot (Ubuntu) "ubiquity crashed with SIGSEGV in GtkNode::MatchStringProperty()" [Critical,Confirmed] https://launchpad.net/bugs/125499608:07
jibelDanChapman, I'm fine, how are you08:07
jibel?08:07
jibelDanChapman, I'll generate another crash file with latest updates applied08:07
DanChapmanjibel, i'm good thanks :-) awesome thanks, I was struggling to get any logs yesterday. So it turns out its an autopilot bug? should autopilot-gtk be linked to that bug aswell?08:18
jibelDanChapman, autopilot or a change in gtk, there has been an upload 4 days ago08:20
=== iahmad is now known as iahmad|afk
jibelDanChapman, ah it's fine, we have a good trace08:21
jibelDanChapman, to generate a crash file on a system from CLI when Desktop is not responding for example, you can run apport-cli <path_to_crash> ;type (V)iew then (K)eep and copy the crash file to another system. Finally from this other system run ubuntu-bug <path to crash>08:25
=== chihchun_afk is now known as chihchun
pittijibel: dbus-test-runner: same problem (before you check)08:52
pittijibel: still investigating; tricky bug, I didn't actually change any chown or copy steps, that must have been another unobvious side effect08:53
DanChapmanjibel, ahh I see I was trying to (S)end it instead. I'll remember that thanks :-)08:55
=== iahmad|afk is now known as iahmad
pittijibel: ah, got it; the bug was there all the time, just shadowed in the case of how we call adt-run; yay AutoFile magic..09:43
jibelpitti, what is it?09:43
pittijibel: it didn't chown the test tree when copying down when using --user09:44
pittijibel: that happens to work with the null runner and AutoFile, as that remembered it already copied down the tree09:44
pittibut it would have never worked with schroot/lxc runners09:44
jibelpitti, nice catch. Good thing you removed the magic :)09:46
pittijibel: 2.5.1 uploaded to sid and trusty09:47
pittiI'll retry the tests once it's published in proposed09:47
jibelpitti, thanks09:47
pitti(it also has a test now)09:47
jibelpitti, do you think you'd have time to look at bug 125499609:48
jibel?09:48
ubot5bug 1254996 in autopilot (Ubuntu) "ubiquity crashed with SIGSEGV in GtkNode::MatchStringProperty()" [Critical,Confirmed] https://launchpad.net/bugs/125499609:48
pittijibel: will do09:49
pittijibel: oh, run-ubiquity-test does everything necessary to boot the iso in KVM etc.?10:16
jibelpitti, it does10:16
jibelyou just need an iso and it'll run the default english installation10:16
pittijibel: can I run this inside KVM, to be able to test with a fixed libautopilot-gtk?10:16
jibelpitti, I didn't try that10:17
pittijibel: ok, let me look at the trace first10:17
jibelpitti, but you could hack autopilot/ubiquity-autopilot-runner/custom-installation/iso-override/usr/local/bin/run-autopilot.sh to install it10:18
jibeland put deb somewhere in the custom-installation directory10:19
jibelcustom-installation/iso-override even10:20
pittijibel: is the entire iso-override/ copied to the VM?10:20
jibelpitti, yes10:20
pittijibel: then I could just put the .so in the right place10:20
jibelpitti, exactly10:20
pittijibel: is that copied after installing autopilot and friends?10:20
jibelpitti, ah no, autopilot would be installed afterwards10:20
jibeland overwrite it10:20
pittiok, .deb then10:20
jibelor copy the .so somewhere in the override and in run-autopilot copy it over the version installed by autopilot10:21
pitti(this=0x37e9218, name=..., value=...)10:21
pittithanks gdb for precisely showing me what I actually want to know!10:21
jibelheh, I thanked it for tat too :)10:22
jibel+h10:22
pittijibel: btw, I started working on an adt-virt-qemu as a side project10:22
jibelpitti, did you talked to rbasak, because he intended to work on it too?10:22
pittijibel: with that we can support proper "breaks-testbed" tests, and don't need to install/wait for autopkgtest inside the VM, and simplify run-adt-test10:23
pittijibel: I will; so far it's just initial investigations to learn how to write one10:23
pittirbasak: ^ FYI10:23
rbasakpitti: I have a tool that wraps libvirt and simplestreams that is most of it. uvtool, in universe, that provides a command called uvt-kvm.10:23
pittijibel: I'm shamelessly stealing from run-adt-test, of course10:23
pittirbasak: ah, I'm trying to write that in a way to be useful for Debian10:24
rbasakpitti: it lets you start a COW instance from a cloud image.10:24
jibelpitti, I was wondering if libvirt wouldn't be a better option than pure qemu, because it'd be easier to start VMs with a specific definition10:24
rbasakpitti: it only really *requires* libvirt and cloud-init. Debian has both of those, right?10:24
jibeland there are python bindings for libvirt to may make things easier to glue with autopkgtest10:25
pittijibel: yeah, probably; so far I really just invested an hour or so in it, to figure out how to build proper auxverb/shstring commands10:25
rbasakpitti: you could in theory have an outside script construct a Debian image qcow image that uses cloud-init, and then have uvtool use that.10:25
jibelrbasak, they have both, but Debian doesn't have pre-built cloud images, do they?10:26
jibelso you'd need to debootstrap a debian image and prepare it to boot with cloud-init10:26
rbasakjibel: nope. But you could construct them locally.10:26
rbasakjibel: right.10:27
jibelrbasak, and that's the bug part of the works :)10:27
jibelbig10:27
rbasakIt's not that hard, is it?10:27
rbasakdeboostrap, chroot and install cloud-init. That should be it I think.10:27
rbasakI've not tried, though.10:27
jibelit is not hard, but it takes a lot of time because there are always tons of details to fix10:27
pittiit seems the minimal assumption so far is that the VM needs sshd running, a specified user, and an ssh key10:28
pittibut that shouldn't be different with libvirt10:28
rbasakOK. uvtool does require cloud-init.10:28
jibelthen you must configure cloud-init to use a nocloud provider, configure the bootloader, prepare networking, default user, access policy, keys, ....10:29
rbasakI don't intend to change that. cloud-init is useful, which is why we have it, and so I don't want to have to continuously work around that usefulness because I want native compatibility with Debian.10:29
pittiadt-virt-qemu (or -libvirt) wouldn't *build* an image, that needs to be a separate script (like prepare-testbed)10:29
=== chihchun is now known as chihchun_afk
pittirbasak: oh, I think it's great for constructing base images10:29
pittiI just want to provide an ADT runner which doesn't work in the "inside out" fashion that run-adt-test is these days10:30
pittiif adt-run controls the VM from outside, we can revert, track state between tests, and even do reboots10:30
pitti(hello jodh :) )10:30
jibelrbasak, I'm investigating options to replace vmbuilder for auto-upgrade-testing, is uvtool stable enough in saucy to replace it?10:30
pittiand it shouldn't be that hard to write, given that we already figured out all the details with run-adt-test10:30
pittirbasak: so uvtool is a tool for the VM construction side, not for communicating with it, right?10:31
pittirbasak: the latter would be libvirt10:31
rbasakpitti: yes, more or less. It helps with construction and destruction, as a wrapper around libvirt, cloud-init userdata and handling volume imports from published Ubuntu images automatically.10:32
pittijibel: anyway, this was mostly triggered by looking at run-ubiquity-test10:32
pittirbasak: cool, thanks for pointing out; I wasn't aware of it10:32
rbasakpitti: so you just describe on the CLI what you want (eg. --run-script-once my_startup_script.sh --ssh-public-key-file some/other/id_rsa.pub)10:33
rbasakalso things like --disk ... and --bridge br010:33
rbasakSome of those options end up in the libvirt domain definition; some get stuffed into cloud-init userdata.10:33
rbasakI also want to add things like --enable-proposed and --install-packages10:33
rbasak(relatively trivial to do things now with the structure I have; so far I add options on request quite quickly)10:34
rbasakpitti: it seems to be mostly bug free. https://bugs.launchpad.net/uvtool/+bug/1251296 is the biggest one right now and I have a fix almost ready for it.10:34
ubot5Ubuntu bug 1251296 in uvtool "stat error messages during sync" [High,New]10:34
rbasakI meant jibel: it seems to be mostly bug free. https://bugs.launchpad.net/uvtool/+bug/1251296 is the biggest one right now and I have a fix almost ready for it.10:34
rbasakjibel: the API seems reasonably stable now, too. I still want to be able to change something without locking myself in to something forever, but I think it'll be easy to change consumers in the archive as required.10:35
rbasakOne issue is that the postinst expects libvirtd to be running and not be broken. Some people not testing in clean environments have hit that.10:37
pittijibel: ok, test fun finished; it immediately shut down the VM, I didn't see whether or not it finished10:45
pittijibel: /tmp/ubiquity.tests/results/var/crash/ is empty10:46
pitti/tmp/ubiquity.tests/results/console == http://paste.ubuntu.com/6478372/10:46
pittijibel: where can I see the crash?10:47
jibelpitti, you can use the file config/testrunner.cfg as example and disable shutdown10:47
jibelwhen it crashes there is a crash file in /var/crash10:47
pittijibel: ah, so it doesn't always crash10:48
pittithe stack trace is ath the final } of the function10:48
pittiso I guess, some automatic C++ deallocation; I'll stare at the code for a bit10:48
DanChapmanpitti the odd test still passes more are failing than passing on jenkins atm10:48
jibelapparently not, for example https://jenkins.qa.ubuntu.com/job/ubiquity_ap-ubuntu_devel_daily-test_english_default/10:49
jibelcrashed on i386 but pass on amd6410:49
pittiah, I tried on amd6410:49
pittijibel: adt-run happy again, *phew*; sorry for the mess10:50
jibelpitti, thanks for fixing it :)10:50
pittijibel: I have a hypothesis what could happen, now I need to be able to reproduce11:09
pittiDanChapman, jibel: roughly when do you see the crash? i. e. at which page in ubiquity? or does it happen at different places?11:09
jibelpitti, I could reliably reproduce this morning with the image on my machine, if you have a .so I can test it11:09
DanChapmanpitti it is always on the transition to the slideshow/progress bar page11:10
pittiah, I'm past that in my third run11:10
DanChapmanDepending on flavor thats either coming from userinfo or U1 page11:11
DanChapmanah ok... the worst scenario i tested yesterday was ubuntu-gnome, using the test_nonenglish_encrypt_lvm test11:11
DanChapmanpitti ^^ it was a guaranteed crash yesterday11:12
* DanChapman tries today11:12
jibelpitti, on Ubuntu Desktop amd64, it crashed when the slideshow started11:17
pittijibel: http://people.canonical.com/~pitti/tmp/libautopilot.so goes into /usr/lib/x86_64-linux-gnu/gtk-3.0/modules/libautopilot.so11:17
pittijibel: that's trusty, right? (I tried on current trusty daily)11:17
pittisorry, third run just finished successfully (with unpatched ap-gtk)11:18
jibelpitti, Ubuntu 14.04 LTS "Trusty Tahr" - Alpha amd64 (20131125)11:18
pittiI can't claim that I understand the crash, but this change is the only potential hiccup that I can imagine11:19
pittijibel: ah, I have 26 here11:19
pittijibel: let me get 2511:19
* pitti feeds the rsync hamsters11:20
jibelpitti, running with image 25 and your patched lib11:25
pittijibel: runnning 25 unpatched here now11:29
jibelslideshow running and installation in progress11:30
jibelrun #1: pass11:35
pittijibel: can reproduce with 25 indeed11:36
pittiweird that it doesn't happen with 2611:36
pittijibel: you installed the library how?11:37
pittijibel: if it's any easier, I can build a .deb with a higher version11:37
jibelpitti, http://paste.ubuntu.com/6478537/11:38
jibeland put the lib into autopilot/ubiquity-autopilot-runner/custom-installation/iso-override/usr/local/bin/11:38
pittiaah, nice11:38
jibelit was not really the purpose of the tool :)11:38
pittijibel: ok, running while I grab some lunch11:40
jibelpitti, enjoy your lunch11:41
jibelthere are several unity-gtk updates in 26 maybe that's the difference11:41
pittiit's a totally dubious crash anyway11:41
pittiI googled for the C++ std:string semantics, and assigning a char* does copy the string11:41
pittithere's nothing obviously wrong with the code11:42
pittibut I dropped std:string now and replaced it with good old g_strcmp()11:42
pittias the function is half C and half C++, maybe that confuses something11:42
pittijibel: my first run passed, starting a second now12:18
DanChapmanpitti, \o/12:19
pittiDanChapman: jibel also had a successful run with it; I guess we both do three runs each, and if they all succeed we declare it fixed12:21
DanChapmanpitti ok using image 25??12:21
pittiDanChapman: yes, as it doesn't seem to crash with 2612:21
pitti(I tried three times012:21
pitti)12:21
DanChapmanpitti, ack12:22
jibelpitti, 3 successful run with 25 and your patch12:30
pittithird one almost done12:33
DanChapmanpitti, first 2 successful 3rd just starting12:33
pittiDanChapman: ah, you try image 1125 with my lib, too?12:34
DanChapmanpitti indeed :-)12:34
pittijibel, DanChapman: 3/3 success on 1125 with my patch12:34
jibelpitti, excellent. So I'll guess this is a message to rewrite unity in good old glib style12:35
jibel;)12:35
pittiheh12:35
pittihttps://code.launchpad.net/~pitti/autopilot-gtk/fix-1254996/+merge/19670312:40
* pitti now submits to the verdict of Jenkins12:40
pittiDanChapman: so, I hope we'll land that by tomorrow; but I hope you are unblocked now as it doesn't seem to crash on 26?12:40
DanChapmanpitti, great thanks, I think the issue is still there with 26 https://jenkins.qa.ubuntu.com/view/All/job/ubiquity_ap-xubuntu_devel_daily-test_nonenglish_default/ which I will test that locally in a min patched and unpatched. But the patch unblocks me locally anyway. Thanks12:45
pittiDanChapman: ah, so maybe I was just lucky three times12:46
DanChapmanpitti, I think you was, I had 5 clear successes in a row with 25 yesterday then not a single one after that :-D12:47
pittiComputers are reliable, software is reproducible, and the earth is flat12:50
jibelballoons, DanChapman finally https://jenkins.qa.ubuntu.com/view/Ubiquity/12:55
xnoxpitti: pick any two? =)12:55
jibelthere are unnecessary jobs that will be removed from the public instance12:55
pittixnox: oh, I pick stracciatella and pistachio then!12:56
xnoxsprinkles and cream? I guess i was thinking "Software Development - on time, on budget, to spec; pick any two"12:57
pittiheh12:57
pittixnox: s/software//12:57
pittiit's not like buildings or planes or trains would be any different :)12:58
xnoxrefactoring skillz++12:58
pittialthough certain Berlin airports managed to violate all three :)12:58
xnoxwell in London, the first crossrail proposal was made in 1941, approved in 2004, reapproved with larger budget and longer timelines in 2005, now they are actually reducing scope, delayed and raising additional funding.13:00
xnoxso it's best and worst =) of all projects =)13:01
DanChapmanjibel awesome! that makes checking results easier :-) Just incase you hadn't noticed Lubuntu tests aren't running yet ;-p13:08
jibelDanChapman, yes, I just realized that, checking13:08
jibelDanChapman, actually they fail because apt cache is locked when it tries to install additional packages13:14
jibelE: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable) in run.log13:14
jibelI'll verify this condition and retry a few times to make it more robust13:15
jibelwe should probably protect the test against the fatal hash sum mismatch error13:16
=== ara is now known as Guest1754
jibelDanChapman, I think it is because it starts simultaneously with update-notifier which checks if a new release is available13:20
jodhpitti: a delayed "hi" :)13:31
=== ara_ is now known as ara
=== ara is now known as Guest55288
=== Guest55288 is now known as ara_
=== Ursinha-afk is now known as Ursinha
pittirbasak, jibel: do you happen to know how to add some files to a qemu image without root?14:38
pittirbasak, jibel: qemu-nbd works as non-root if you have it listen to a port instead of connecting to /dev/nbd*, but are there some clients for that which you know of?14:38
jibelpitti, kpartx needs root. Did you try libguestfs?14:41
jibelI don't know about nbd clients14:41
pittijibel: kpartx only works with raw images, though, not with qcow?14:41
jibelpitti, that's right14:41
pittijibel: I didn't try libguestfs14:42
elopiogood morning good quality people.14:43
pittihey elopio14:44
jibelHi elopio14:44
jibelpitti, nbd-client would be an nbd client? :)14:45
jibelI never tried nbd14:46
pittijibel: yes, but debconf/root/etc.14:46
jibelah14:46
pittijibel: it seems to be the only way to access a qemu image14:46
jibelother than an hexadecimal editor14:47
pittijibel: I'd prefer planting a shell on /dev/ttyS1 over assuming that the VM always has a running network and ssh (as you may want to fiddle with the latter in tests)14:47
pittialso, it would be nice to drop teh requirements of "need to know an user name", "need to have an SSH key", etc.14:48
pittin14:48
jibelpitti, agreed, and it also has the benefit to provide greater control over the testing environment14:50
rbasakpitti: I like the serial idea.14:51
pittijibel: can you do two overlays?14:51
pittijibel: i. e. <ro base image> <one overlay with the autopkgtest hacks> <the r/w temp overlay>14:51
jibelpitti, yes, that's what we do with otto14:51
rbasakI don't like libguestfs. It basically uses KVM to start a VM as non-root. Feels like a sledgehammer on a nail. But I don't know of any other solution.14:51
pittither's qemu-img convert; I can create a raw image as user relatively easily14:51
pittirbasak: yes, and it's rather heavy14:52
pittijibel: cool, I'll try that then14:52
* pitti is in a hacking mood this afternoon14:52
* rbasak thinks about adding serial shell support to uvtool14:52
elopiocgoldberg: I've sent you the invite to the talks.14:52
elopioplease check I didn't mess with the timezone again :)14:53
rbasakpitti: I'd really like a one command adt-virt-kvm/qemu/uvtool/whatever that a user can use directly using adt-run and supports break-testbed. Is this what you're working on, or will you need support scripts from auto-package-testing?14:55
pittirbasak: once you have any VM, this is what I'm working on14:55
rbasakWhat do you mean by "any VM"?14:55
pittirbasak: unfortunately, for the cloud images you need to specify two drive images (as they always need the seed image)14:56
rbasakWell, that's what uvtool wraps :)14:56
pittibut that's due to how we build "our" base images14:56
rbasakIt's cloud-init, which is fast becoming the accepted way of doing things.14:56
pittirbasak: well, if you have any Debian/Ubuntu VM, I'd just like adt-run ... --- adt-virt-kvm /path/to/image14:56
rbasakIt's not Ubuntu-specific.14:56
pittior, in our case, /path/to/baseimage /path/to/cloudseed14:56
rbasakI'd like apt-get install <stuff> && adt-run ... --- adt-virt-uvtool trusty.14:57
pittirbasak: my first prototype uses ssh to communicate, and thus needs to know an username and ssh key14:57
pittibut I don't like that14:57
rbasakWith no other support or set up scripts required.14:57
pittirbasak: yeah, once we have adt-virt-qemu, we can think about auto-creating base images14:57
rbasakWell, in the Ubuntu case, we publish official base images.14:57
pittibut you don't want to create a new VM each time you run a test, so we need the intermediate -qemu runner, too14:58
rbasakFrom my perspective, Debian not doing so necessitates a workaround, rather than being the primary form.14:58
pittiextending that to build the VM (with either a new runner, or a new option) is the next step, and sounds interesting14:58
pittiso, instead of /path/to/image we could support an "uvtool:trusty" argument, possibly with a --cache-dir or so14:59
pittis/instead of/in addition to/14:59
rbasakCan we use VM snapshots via libvirt? Or do you not want to use libvirt?14:59
pittibut still, I really don't want to make strong assumptions about the VM15:00
rbasak(for virt reset, for breaks-testbed, to avoid starting a VM)15:00
rbasakI think you're getting too low level.15:00
pittiif you have an existing Ubuntu or Debian desktop installation, or something else you hacked on yourself, this should still be useful for running tests i15:00
rbasakI think it makes sense to use higher pieces in the stack where they support the functionality you need, rather than reinventing it.15:00
pittin15:00
rbasakuvtool supports --backing-image-file.15:00
cgoldbergelopio, lightning talk is tomorrow?  I thought it was today for some reason, and was ready to go :)15:01
rbasakI think that should be the uncommon case, though.15:01
cgoldbergelopio, but no prob.. tomorrow is better15:01
pittistill, I don't want to bind this to exactly one type of VM, ubuntu specific, and with making a lot of assumptions (network, ssh, cloud-init, etc.)15:01
elopiocgoldberg: great :)15:01
pittias these are all pieces which you might actually want to test15:01
rbasakNetwork and ssh I agree with. We could use serial terminal to fix that.15:01
pittiwe already had a case where NetworkManager tests tore down eth0 and the whole test hung15:02
rbasakcloud-init I don't agree with. It is the accepted way of setting up a VM. We should use it.15:02
pittithe thing that currently is too hard is to access/modify a VM image15:02
pittionce I get an additional init.d script in there, accessing the VM is trivial; there's not much to reinvent there15:02
rbasakAre you aware of mount-image-callback? In cloud-image-utils.15:02
elopioI'll send more invitations. balloons, now that we have practices with a couple of talks, I think it would be nice to invite all the QA community.15:02
rbasakAdmittedly it currently needs root.15:02
pittiyeah15:03
pittiI'd like to avoid that15:03
pittias we want to run it in the data center on machines where we don't have root15:03
rbasakI really feel that you're reinventing the wheel, here.15:03
rbasakI'd like to implement an adt-virt-uvtool. It's one of the use cases I had in mind when I wrote adt-virt-uvtool.15:03
rbasakNow that uvtool exists, it is trivial to implement.15:03
pittirbasak: well, adt-run's assumption is: I have a pipeline to the testbed; with that it can do everything15:03
rbasakadt-run also requires the virt driver to have a mechanism to create the testbed, and to roll it back (for breaks-testbed). And destroy, obviously.15:04
pittiright15:04
pittithat's what we already do in run-adt-test15:04
rbasakThis should be quick to be useful to developers. It should be one command. It should not require previous setup.15:04
rbasakrun-adt-test does not meet these requirements.15:05
pittinot require, but support15:05
pittiI want pre-prepared images, not downloading/building images for each test15:05
pitti(yes, I guess you can do that)15:05
pittirbasak: sure, for starting/controlling qemu uvtool sounds nice, I'll look at it15:05
rbasakWith uvtool you download a pre-prepared image once.15:05
pittirbasak: does that support debian VMs?15:06
rbasakIt requires cloud-init.15:06
pittihmm15:06
rbasakI don't want to be dragged along by Debian not publishing cloud images with cloud-init.15:06
rbasakOr not publishing easily consumable metadata for downloads.15:06
pittifair enough :)15:06
rbasakI'm not saying that we shouldn't support Debian; we should.15:07
=== ara_ is now known as ara
rbasakBut we (server team) are actively working on this stuff. In my mind, we're the upstream and leading the way for cloud image consumption.15:07
rbasakSo, to me, supporting Debian not doing cloud-init and not publishing cloud images and not publishing cloud image metadata is a workaround.15:07
rbasakWe can support that, with --backing-image-file.15:07
rbasakAnd a script to generate a suitable Debian image.15:08
rbasak(assuming that cloud-init works OK)15:08
pittiwell, our ubuntu desktop images aren't cloud-initified either15:08
rbasakPerhaps uvtool could have an option to not use cloud-init.15:08
pitti(and they are ready-to-work VM images)15:08
balloonselopio, yes, and they are archived, so that is useful as well15:08
rbasakYou'd lose the handy options to do stuff in the VM.15:08
balloonswould you want to do it in the form of an onair session?15:08
rbasakBut with serial shell support expected in the VM, you'd still be able to get to it.15:09
pittiright15:09
pittiwhich is a much weaker assumption than "has network", "has ssh", and "has cloud-init"15:09
pittiand even "has network all the time"15:09
pittiwe currently cannot do any autopkgtest which touches the network, not even with breaks-testbed15:10
pittirbasak: so I just wanted to tinker around a bit whether it's feasible to do everything through ttyS{1,2}15:10
pittiit may well turn out to not work, but let's see :015:10
pittialso, it seems that preparing VM overlays as non-root would be useful in other places too15:10
rbasakAIUI, it should work, albeit perhaps slow.15:11
rbasakpitti: OK. Can we sync when you're done experimenting? I don't want to duplicate effort here.15:11
pittirbasak: sure15:11
pittirbasak: btw, my init script is essentially15:13
pitti    (setsid sh </dev/ttyS1 >/dev/ttyS1 2>/dev/ttyS2) &15:13
pittiI put that into the overlay, and can run minicom from outside just fine (and a second netcat for stderr)15:13
rbasakWill you need to do some other env setup there?15:14
rbasakPerhaps "login -f root"? Though maybe from the host rather than the guest.15:14
pittirbasak: not really; other things (conceivably creating a temporary user for adt-run if you run as user) can be done from adt-virt-qemu through that shell15:15
pittione just needs to get a foot into the door15:15
rbasakYes; that's what I mean by "from the host".15:15
rbasakI'm interested in the speed you get there, though. Be sure to use virtio for the serial hardware in the guest. But how long will it take to transfer a gig that way?15:16
pittiyeah, that's my primary concern15:16
pittiwe might possibly do something like adding a second eth and using that for data transfer, and using the serial terminal just for controlling and running commands15:17
pittiadt-run doesn't need to transfer much while a test is running; just for coyping in the package, and copying out the results15:18
rbasakBut then you need a network again.15:18
rbasakOh, I see.15:18
pittiand during copying there are no tests interfering15:18
rbasakSo you assume the network is good before and after a test.15:18
rbasakSo the test will need to restore the network in the passing case, but that should generally be true for all tests?15:19
pittinot assume, we need to set it up that way (and tear down the second eth during the test)15:19
pittirbasak: no, we always need the serial terminal (and possibly the qemu monitor, but that's no problem) to control the network15:19
pittithis is all rather difficult, indeed15:19
pittiand we certainly need to make some assumptions like "tests don't remove the "ip" binary"15:20
pittiperhaps we can live with assuming that the tests don't tear down an "adteth0" interface which the setup creates, and use that as the one and only channel15:22
pitti(static IP and netcat015:22
cgoldbergrobotfuel, ping ...15:22
robotfuelcgoldberg: hi15:22
cgoldbergrobotfuel, those benchmarks tests you have with a dashboard...15:22
cgoldbergrobotfuel, do you pull data from jenkins for the dashboard, or does jenkins push the data somewhere to store?15:23
robotfuelcgoldberg: it gets pulled from jenkins15:23
cgoldbergrobotfuel, do any run against a device?15:24
cgoldbergrather than a vm/desktop15:24
robotfuelcgoldberg: only desktops15:24
cgoldbergrobotfuel, k thanks15:24
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
TheLordOfTime;ping17:17
TheLordOfTimeoops sorry17:17
TheLordOfTimeballoons, ping, if you're not busy, if you are i'll ask you later.  just trying to figure out who to ask questions to about the ubuntu touch stuff that's drifting around the mailing list17:21
balloonsTheLordOfTime, howdy17:24
TheLordOfTimeballoons, are you keeping up with the ML discussions?  There's a -devel -touch and -quality discussion about them not filing bugs against repo packages, is this just people being ignorant of how LP's bug systems work?17:26
TheLordOfTimes/touch/phone/17:26
TheLordOfTimeor are they using a separate tracker system?  (I ask because anything bug related makes me a little interested, but I know nothing about how the phone dev stuff is)17:26
TheLordOfTimeoh, and good day to you all, too.17:27
TheLordOfTime:)17:27
TheLordOfTimeforgot to be courteous to everyone else today D17:27
TheLordOfTime:D17:27
balloonsTheLordOfTime, Ursinha mentioned it yesterday but I was engrossed in other things. I saw the posts and glanced at them17:28
TheLordOfTimeso i should probably touch base with Ursinha?17:28
UrsinhaTheLordOfTime, hey17:29
balloonsThey want to make it clearer to keep track of bugs, etc17:29
balloonsand yes :-)17:29
TheLordOfTimeUrsinha, where're your bugs ending up now, Launchpad, upstream trackers, or some other tracker system?17:29
Ursinhathe thing is that some bugs were overlooked because there wasn't a clear policy about where to file bugs17:29
UrsinhaTheLordOfTime, all of our bugs are in Launchpad :)17:29
TheLordOfTimeUrsinha, and the upstream projects are on Launchpad?17:30
Ursinhathe point is their target, the upstreams projects in Launchpad or the Ubuntu source packages in Launchpad17:30
TheLordOfTimeUrsinha, if the answer to my last question is yes...17:30
TheLordOfTimeyou can add a bug to an ubuntu package as well as upstream17:30
UrsinhaTheLordOfTime, I believe all of the upstreams that are part of Touch yes17:30
Ursinhathey can be found in launchpad17:30
TheLordOfTimeUrsinha, but i meant are they on Launchpad17:30
TheLordOfTimeif the upstreams trackers' are all on Launchpad...17:30
TheLordOfTimeand also all the packages are listed on Launchpad...17:30
UrsinhaTheLordOfTime, yes, the discussion is that we always need an ubuntu bugtask, if the upstreams prefer we can also add an upstream bugtask17:31
Ursinhayes, all packages are on launchpad because they're part of the Ubuntu main archive17:31
TheLordOfTimeUrsinha, are all your bug filers and testers aware you can add an ubuntu bug task against the package, or against upstream, depending on how they were filed, after the fact?17:31
TheLordOfTimenot saying they all aren't, but i was purely curious17:32
UrsinhaTheLordOfTime, that's what we're discussing in that mailing list thread17:32
Ursinha:)17:32
* TheLordOfTime is about 3 messages behind, let me catch up17:32
Ursinhawe need to be sure the policy is known and documented so whoever wants to file bugs can be pointed to that17:32
Ursinhaeverything is on Launchpad, it's a matter of deciding if we're using upstreams tasks as well or not17:33
TheLordOfTimemmm17:34
TheLordOfTimeUrsinha, okay, i was under the impression half the testers were unaware they could set it against both after the fact17:36
UrsinhaTheLordOfTime, right17:36
UrsinhaLaunchpad in this sense is really nice so we have one bug and several affected parts17:37
Ursinhapackages or projects17:37
Ursinhalike for instance bug 117:37
ubot5bug 1 in Ubuntu Malaysia LoCo Team "Microsoft has a majority market share" [Critical,In progress] https://launchpad.net/bugs/117:37
TheLordOfTimeright17:37
Ursinhathere's half a million affected parts :P17:37
TheLordOfTimeheheh17:37
Ursinhasome upstreams decided to disable reporting bugs directly, deciding to use only the distro package17:39
TheLordOfTimeUrsinha, typically, my "If in doubt" fallback is to immediately compare what's in the repositories and what's in trunk upstream or at least the latest release of upstream on the same track as whatever's included in the repos by version, and if there's a substantial delta between what you're reporting against and what's upstream, don't file the upstream task, but you can also take the flip of that...17:39
TheLordOfTimeand just file both anyways, until upstream tells you to stop17:39
TheLordOfTimebut that usually can cause tension, and of course, I'm not in the ubuntu touch scope, i merely triage bugs under the ubuntu bug guidelines17:40
UrsinhaTheLordOfTime, well, if you're using ubuntu than first thing would be to report it against the ubuntu package, not upstream17:40
TheLordOfTimemhm17:40
Ursinhaafter that if upstream thinks it's relevant they add another bugtask17:40
TheLordOfTimeUrsinha, indeed, as is typical triage / how to file a bug17:40
TheLordOfTimemhm17:40
Ursinhabut the rule of gold is if you found a bug in the distro, file a bug against the distro package17:40
TheLordOfTimeUrsinha, as it should be :)17:40
Ursinha:)17:40
TheLordOfTimeUrsinha, so then the only issue you're hung up on then...17:41
TheLordOfTimeis when to file an upstream bug.17:41
TheLordOfTimeor rather, add an upstream task17:41
Ursinhathat's what we're discussing there :) because some people weren't reporting the bug against the ubuntu package at all17:41
TheLordOfTimeUrsinha, if i may voice a basic opinion, if testers want to test and see if it needs an upstream task, test against upstream17:41
TheLordOfTimeahhh17:41
Ursinhaso first thing is we need to agree on doing that no matter what17:42
TheLordOfTimewell those people are at fault, tie them down and indoctrinate them :P17:42
Ursinhahaha17:42
Ursinhasecond thing is to think about the upstreams and if they find value in using the upstream tracking17:42
TheLordOfTimeyou might reach out to the commonly-filed-against upstreams and ask them17:42
TheLordOfTimei'm probably not adding anything, but i'm merely trying to figure out where you guys are standing :)17:43
TheLordOfTime... back in a bit, coffee run17:43
UrsinhaTheLordOfTime, that's what I aimed by sending that email, I added -touch and -devel to the loop, I believe all upstreams were reached that way17:44
TheLordOfTimeheheh17:45
TheLordOfTimeUrsinha, i'd say then the ball is in upstream's court, they can either respond, or just drop the ball, and if they do drop the ball on that, then I'd take the view, if it were my call, to say "Only file against the Ubuntu package, and nothing else"17:46
Ursinha17:46
TheLordOfTimeexcept where someone's testing against upstream trunk and reproducing it there too17:46
TheLordOfTimeBTW, 0x0000 is lol17:46
* TheLordOfTime points at unicode that isn't matched to any characters xD17:47
Ursinhalol17:47
Ursinhathat was supposed to be a hot beverage char17:47
TheLordOfTime:P17:47
TheLordOfTimeUrsinha, emoji?17:47
UrsinhaTheLordOfTime, http://www.fileformat.info/info/unicode/char/2615/index.htm17:47
TheLordOfTimeahhhh, the smell of brewing coffee... awesome.17:47
TheLordOfTime(sorry i'm a high-level coffee addict... the smell of coffee is amazing to me)17:48
elfypfft17:48
TheLordOfTimeelfy, 12 cups yesterday17:48
TheLordOfTimethat's how much i had17:48
TheLordOfTime... and that was just in 12 hours17:48
elfy2 gallons here17:48
TheLordOfTimewoah damn elfy17:49
elfyof tea17:49
TheLordOfTimelol17:49
Ursinhahaha17:49
elfyyou should know better :D17:49
TheLordOfTimewell... I did overdose on coffee a while back...17:49
TheLordOfTimeit was finals week and i had to be up for four days....17:49
TheLordOfTimeand i kinda started binge-drinking espresso... the day after that was bad...17:49
TheLordOfTimebut i digress17:50
TheLordOfTimeUrsinha, yeah, i think you're on the right track dictating the bug filing policies, i have one question: some of your testers and devs are testing upstream trunk separately from the repos right?17:51
UrsinhaTheLordOfTime, the idea with continous integration is to have trunk as close as possible of what's in the distro17:51
TheLordOfTimeUrsinha, true, but i meant constantly testing, always pulling and building and testing from upstream when there's even a minor delta17:52
TheLordOfTimebecause if there are people doing that, then those would be the ones who could say whether something needs an upstream task, if they are able to reproduce there too.17:52
Ursinhathat happens automatically (for most projects) when a change is being integrated to trunk, and the next step is to be pushed to distro17:52
TheLordOfTime... dear god not again, balloons, the cosmic rays are breaking the mailing list systems again...17:53
TheLordOfTimei have four of the same message >.>17:53
Ursinhawhat's up?17:53
Ursinhalol wat17:53
TheLordOfTimeUrsinha, i have four of the same message on the last message on that thread.17:54
TheLordOfTimethree of the same last message just showed up in my inbox for no reason :/17:54
* TheLordOfTime blames those pesky cosmic rays interacting poorly with the mailing lists17:54
TheLordOfTimeUrsinha, it's either cosmic rays or the mailing lists hate me17:55
Ursinhahaha17:55
TheLordOfTimei tried to send something to -bugsquad once, after my emails were registered, and it bounced even though the address was listed as being able to send17:55
TheLordOfTimethats happened to me once on the -quality ML too but meh17:56
TheLordOfTimemeh, i'll just delete the dupes17:58
TheLordOfTimeUrsinha, thanks for filling me in on the full context of what's with that topic on the ML :)17:58
UrsinhaTheLordOfTime, no problem :)17:59
TheLordOfTimeeverything bug related in -quality piques my interest, since my primary focus is general bug triage :)17:59
Ursinhagreat :)17:59
TheLordOfTimeoh that reminds me, balloons, ping17:59
TheLordOfTimeballoons, where's the bugsquad/QA merge in terms of being completed/processed/approved-by-CC17:59
TheLordOfTimeUrsinha, you know how i said the mailing lists must hate me?  I lied...18:02
TheLordOfTimeapparently its my SMTP and IMAP servers that hate me18:02
TheLordOfTimebecause i'm getting multiple messages in duplicate triplicate and quadruplicate :/18:02
elfyI get the same now TheLordOfTime18:02
UrsinhaTheLordOfTime, so it seems you are surrounded by hate18:03
Ursinhaoh technology18:03
TheLordOfTimeUrsinha, either that or i've become a source for cosmic ray radiation18:03
* TheLordOfTime shrugs18:03
TheLordOfTimeelfy, oh so it's the INTERNET that's broken, not just my stuff?18:03
TheLordOfTimeOh good, I thought I broke my servers for a moment xD18:04
TheLordOfTimemeh, i'm gonna go restart the smtp and imap processes...18:05
TheLordOfTimemaybe that'll make the thing work18:05
balloonsTheLordOfTime, I used to filter out my own messages on accident. I've sorted that out, so I know the mailing list pain :-)18:17
* TheLordOfTime heard a beep, peeks at his system18:17
TheLordOfTimeballoons, heh.18:17
TheLordOfTimebrb, i need to dig the car out of the snow...18:17
* TheLordOfTime grumbles profanities about the snow18:18
TheLordOfTimewell, at least get some of the snow out of the way so i can get out of the driveway18:18
dkesselgood evening18:29
dkesselballoons, i got a mail from phillw stating that http://packages.qa.ubuntu.com/qatracker/testcases/1613/info can be removed ... the package is not part of the default installation anymore18:29
elfyballoons: ^^ THAT might cause the whole thing to fall apart for lubuntu's desktop package tests if it's just removed - remember what happened with our stuff ...18:32
balloonsdkessel, evening to you18:33
* dkessel o/18:33
elfyhi dkessel :)18:33
dkesselhey elfy18:33
balloonsdkessel, we should document the proceedings a bit.. a bug report perhaps? :-)18:34
balloonselfy, I'll make sure not to zonk your stuff18:34
balloonsjust want to be sure there's a trail to follow18:35
* knome drops small bits of cookies on balloons' floor18:35
dkesselhehe knome18:36
elfyballoons: that's not what I meant - I'd assume you'd not go and break something I'd have to send knome after :P)18:36
elfywas just saying that removing a testcase from a testsuite is what caused us to have archived testsuites in package tracker18:36
knomeelfy, that bug should've been fixed, and only appropriate if you want that testcase being non-archived in another testsuite18:37
elfywell yea - I'm just saying what happened - I didn't follow it for long enough to see if it got fixed or just repaired ;)18:38
knomeisn't that the same thing? ;)18:38
elfynot at all18:38
knomeheh18:38
elfyfixed - doesn't happen again/repaired - fixed this one this time, don't do it again :D18:38
knomehah18:39
knomewell it was fixed by the awesome stgraber18:39
elfy:)18:40
balloonswell hello knome !18:53
balloonsI should have noticed the cookie crumbs18:54
DanChapmanelfy https://jenkins.qa.ubuntu.com/view/Ubiquity/view/Xubuntu/ will make viewing results easier for you :-)18:54
elfynice :)18:56
* elfy sends DanChapman a cookie18:56
knomeelfy, that the one you picked up from balloons' floor?18:56
elfysssh18:56
* DanChapman dips it in his cuppa18:57
* DanChapman just spat all over the desk18:57
elfyDanChapman: shake it first ...18:57
elfytoo late :|18:57
DanChapmanlol18:57
elfyso they are failing then according to jenkins ?18:57
DanChapmanelfy yeah wee discovered a bug yesterday in autopilot a fix should land hopefully tomorrow so in the next couple of days they 'should' go green18:58
elfyright18:59
elfyjust in time for me to see some green lights to show the xubuntu team at the thursday meetng hopefully18:59
elfyand I'll grab lderan before hand to find out if autopilot for us is a but thumbs down again this cycle19:00
dkesselhehe knome19:19
dkesselso, is there anything to do about the testcase I wrote about above?19:19
balloonsdkessel, no.. I'll take care out if.. you can confirm it's good in a moment19:37
dkesselballoons, ok thanks19:37
balloonswhew.. the random sentences spewing out today19:38
dkesselhehe. big fingers today? :)19:38
balloonsit means my mind is everywhere I think19:38
balloonsalright.. I think we are good19:39
dkesselyup, gone. fine19:39
=== thomi_ is now known as thomi
balloonsexcellent19:40
balloonsI don't even think I blew anything up for elfy19:41
balloonssadly...19:41
dkesseltoo bad ;)19:41
balloonsbuonsera Letozaf_. come stai?20:16
Letozaf_balloons, buonasera :D bene e tu ?20:16
balloonsbene! Fixed 3 core apps last night :-)20:17
Letozaf_balloons, wow! you done a great job :)20:17
Letozaf_balloons, witch ones?20:17
balloonsfile manager, rss reader and calendar. Trying to keep everything green20:18
balloonswe got really close but the work we did before uds didn't quite get us all the way there20:18
Letozaf_balloons, rss reader yay! :D20:19
Letozaf_balloons, well we will have to keep them green now20:19
balloonsyes, I'm cutting a hard line20:20
Letozaf_balloons, I have a test for music app, it works on the desktop, if it works on the device  I will propose merge, but first I will have to flash the right image to my device for testing20:21
=== salem_ is now known as _salem
balloonsLetozaf_, wonderful!20:23
Letozaf_balloons, wait, let's see if it works on the device first :P20:24
Letozaf_balloons, they always first work on desktop :P20:24
balloonsdkessel, Letozaf_, knome elfy, other lurkers :-) I was just having a look at this tool, http://reqorts.qa.ubuntu.com/reports/qa/qa-touch.html, and wondered if some custom views for our purposes would be useful to everyone20:24
elfyballoons: well I am glad that worked - we're going to be looking at ours shortly - so needed someone to test that :p20:25
balloonsfor instance, have view for entire team so we can see what bugs we have opened. have a view for installer/image bugs. Have a view for bughug days, etc20:25
elfyoooh20:25
balloonsautopilot tests / issues as well20:25
elfythat would be excellent if you could have a user defined search term20:26
balloonsthat's off the top. I can think of triage uses as well, but I'm less well versed20:26
elfyI could say look for xubuntu trusty iso20:26
elfykind of thing20:26
elfydate fields perhaps20:26
balloonslive search isn't so much an option, as this is a report, not a launchpad replacement :-)20:28
elfyeven if it was generic - but split flavours up from the general thing - kind of like that does with canonical/cordova etc20:28
balloonsbut filtering is possible, and so, defined filters can work20:28
balloonsyes, filters for flavors makes sense20:28
balloonsand would be well defined20:28
elfyyep20:28
elfyI have to look at iso/package tracker every now and again to see what everyone else is seeing :)20:29
elfyballoons: when I want to look atm - I drag the archived test results and manually look at what bugs we've reported - takes ages ...20:30
balloonselfy, ugh yea20:32
knomeit IS a bummer there is no "list all the bugs" mode in the trackers, just "hover over"20:33
elfyknome: yep20:33
elfyballoons: sooo - Xubuntu would like that :D20:33
Letozaf_balloons, what if I wanted to see all the core apps bugs for instance20:35
NoskcajDoes anyone think they could help me with transmission-gtk's autopilot test? I've pushed my terrible first attempt to lp:~noskcaj/ubuntu-autopilot-tests/transmission20:36
dkesselyay, lubuntu on tv... on a german series i am just watching :)20:37
Noskcaj:)20:38
NoskcajI think i saw ubuntu on person of interest, no other shows yet20:38
dkesselgotta leave.. good night folks...20:47
balloonsdkessel, lubuntu even? cool!20:47
balloonsNoskcaj, sure i'll have a look20:48
balloonsDan isn't around, he's the gtk master :-)20:48
Noskcajballoons, I think transmission or gtk is having an issue. Even with my lack of skill and using both self.app and app_proxy, it doesn't really work as i would have expected20:49
balloonsNoskcaj, it's possible.. not every gtk app is happy to be introspected20:49
Noskcaji think transmission is though. Every xfce app dooesn't though20:49
Noskcajmaybe i should try transmission-qt20:50
balloonsNoskcaj, qt is much saner for instropecting20:50
balloonsbut let's see20:50
Letozaf_balloons, must I tell Victor about the music app merge proposal or you ?21:26
balloonsLetozaf_, when you propose it shows up on the radar for everyone :-)21:26
Letozaf_balloons, ok so I won't tell anyone :P21:27
balloonsLetozaf_, haha, you can mention it, I'm just saying :-)21:27
Letozaf_balloons, :P21:27
balloonsNoskcaj, btw, Gtk-Message: Failed to load module "autopilot"21:28
balloonsyou get the same?21:28
balloonsNoskcaj, you can see with a simple launch check21:30
balloonsautopilot launch -i Gtk transmission-gtk21:30
balloonsGtk-Message: Failed to load module "autopilot"21:30
Letozaf_balloons, failure :(21:36
balloonsLetozaf_, ? ohh the mp21:39
balloonsLetozaf_, ohh that's easy21:40
balloonsit's a pep8 thing21:40
balloons+ pep8 --repeat --show-source .21:40
balloons./tests/autopilot/music_app/emulators.py:106:29: E712 comparison to True should be 'if cond is True:' or 'if cond:'21:40
balloons            if item.enabled == True:21:40
balloons                            ^21:40
balloons./debian/music-app-autopilot/usr/lib/python2.7/dist-packages/music_app/emulators.py:106:29: E712 comparison to True should be 'if cond is True:' or 'if cond:'21:40
balloons            if item.enabled == True:21:40
Letozaf_balloons, ok let me fix that21:41
Letozaf_balloons, done, I will push it21:42
Letozaf_balloons, done, going to bed now! hope it works otherwise I will fix it tomorrow21:44

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