/srv/irclogs.ubuntu.com/2018/08/06/#ubuntu-devel.txt

=== thegodfather is now known as fabbione
cpaelzerhi, when having autopkgtest run for the kernel I face something that surely isn't from my packages change10:47
cpaelzerit is listed as10:47
cpaelzerautopkgtest for linux/unknown: amd64: Regression ♻ , ppc64el: Regression ♻10:47
cpaelzerand the TL;DR is broken dependencies like10:47
cpaelzerlinux-generic : Depends: linux-image-generic (= 4.17.0.7.10) but 4.17.0.6.9 is to be installed10:47
cpaelzeris that a kernel in flight to be released - or anything else that often happens and the way to get around it being clear?10:48
smbsforshee, ^ maybe you know?11:03
=== vila_ is now known as vila
sforsheecpaelzer: that's because there's a window when linux-meta has been built but linux-signed has not yet, during that window you could end up with something like that12:08
sforsheeand in some cases that window can be long if there are signed bits waiting in the unapproved queue, which linux-signed needs to build12:10
cpaelzersforshee: so what is my todo on this - wait an retry daily/hourly/...12:16
cpaelzersforshee: or is there something I can look at to realize I'm unblocked and hit retry juts once?12:16
cpaelzerthe transition of most recent linxu-signed or so I guess12:17
cpaelzersforshee: so when https://launchpad.net/ubuntu/+source/linux-signed/4.17.0-7.8 hits c-release maybe?12:18
sforsheecpaelzer: yeah that would be the thing to watch for12:30
sforsheecpaelzer: or c-proposed rather12:31
cpaelzerin c-proposed it is sforshee12:37
cpaelzermaybe I need a combined trigger to pull it from there for the test12:37
Saviqhi all, I'm trying to boot ubuntu-minimal in KVM and both 16.04 and 18.04 fail to go past the bootloader, complaining about missing root or hanging with no info, any suggestions?12:47
=== benny is now known as Guest16531
ahasenackSaviq: you mean you are trying to boot the installed system, which you installed from the iso and selected "minimal installation"?13:02
Saviqahasenack: no, trying to boot ubuntu-minimal http://cloud-images.ubuntu.com/minimal/releases/13:02
ahasenackoh, I didn't know about that, I thought it was just an installation target13:03
ahasenackthose files are not isos13:03
ahasenackthey are cloud images if I'm not mistaken13:03
ahasenack"The Ubuntu Minimal Cloud image can be run on your personal Ubuntu Cloud, or on public clouds that provide Ubuntu Certified Images."13:03
ahasenackthere is a note about kvm: "When launching the download image from KVM, you will need to specify the virtio network driver."13:04
ahasenackbut that sounds like something that would create problems only after it found the root device13:04
Saviqahasenack: yeah, they're qcow2 images that should at least try and boot (and fail to find the networking adapter if virtio wasn't used)13:05
Saviqit seems like something's wrong with how grub is set up there13:05
cpaelzersforshee: I just found linux-signed in proposed is 4.17.0-7.8 but the linux-meta is 4.17.0-7.1013:12
cpaelzerso while something is in proposed it is not what I waited for :-/13:12
cpaelzerI've added a linux-meta trigger on 4.17.0-7.10 and will see if that is enough13:13
sforsheecpaelzer: no that's fine, it's the 4.17.0-7 that's important13:21
smoserxnox: around ?13:22
smoserlooking at update excuses for software-properties13:22
smoserhttps://people.canonical.com/~ubuntu-archive/proposed-migration/update_excuses.html13:22
sforsheecpaelzer: though note that for linux-meta it's 4.17.0.7.1013:23
sforsheebut that last bit, the upload number, doesn't have to match between the two13:24
cpaelzerok13:24
cpaelzerthe autopkgtest cgi complains anyway if the version is bad, so I certainly specified a good one (with .10)13:24
Odd_BlokeSaviq: Could you file a bug in the cloud-images project on Launchpad, please?13:32
SaviqOdd_Bloke: ack13:32
SaviqOdd_Bloke: https://bugs.launchpad.net/cloud-images/+bug/178563313:47
ubottuLaunchpad bug 1785633 in cloud-images "Can't boot minimal images in QEMU" [Undecided,New]13:47
=== thegodfather is now known as fabbione
Odd_BlokeThanks!14:38
=== Guest26876 is now known as giraffe
=== lan3y is now known as Laney
Odd_BlokeSaviq: I've added an update to https://bugs.launchpad.net/cloud-images/+bug/178563315:26
ubottuLaunchpad bug 1785633 in cloud-images "Can't boot minimal images in QEMU" [High,Confirmed]15:26
SaviqOdd_Bloke: ack!15:40
kyrofaLaney, do I remember correctly that you're the autopkgtest master these days?16:36
Laneykyrofa: There's a few of us - which is handy, because I'm going in 2 minutes. :P16:38
kyrofaLaney, ah! Good then. I can't seem to install snaps in armhf autopkgtests, do you (or anyone) know anything about that?16:38
Laneywhat happens?16:39
LaneyI don't think we do anything specifically to prevent that working16:39
kyrofaLaney, "error: cannot communicate with server: Post http://localhost/v2/snaps/go: dial unix /run/snapd.socket: connect: connection refused"16:40
Laneydunno - is it running?16:41
LaneyYou can use autopkgtest-build-lxd to make a container on your system, that might help16:41
kyrofaHonestly I'm not sure. This same test works on other architectures fine16:41
kyrofaIt's just armhf that has that issue16:41
kyrofaIf I could only get a shell :P16:41
Laneythis one runs in lxd and the others are VMs, that's the main difference16:42
kyrofaOh interesting16:42
* Laney hands you over to slangasek (if he's here)16:43
kyrofaWhen developing this test I ran with autopkgtest-virt-lxd, so I know it works there at least in amd6416:43
kyrofaThanks Laney :)16:44
slangasekkyrofa: so at a glance, it appears the snapd package is not installed in the armhf autopkgtest containers by default.  That may be something we want to fix, but perhaps you want an explicit test dependency on snapd?16:48
slangasekkyrofa: which autopkgtest is failing?16:48
kyrofaslangasek, we have one, actually16:49
slangasekok16:49
kyrofaslangasek, it's a new one we're adding, you can see a log here: https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-xenial-snappy-dev-snapcraft-daily/xenial/armhf/s/snapcraft/20180804_011910_96ebe@/log.gz16:49
kyrofaThe test is integrationtests-spread16:50
slangasekkyrofa: where do I see the source for the version of the package under test?16:53
kyrofaslangasek, it's in a pull request at the moment: https://github.com/snapcore/snapcraft/pull/218816:54
kyrofaYou'll want to skip the latest commit though, it's skipping the tests that install snaps on armhf16:55
slangasekkyrofa: https://paste.ubuntu.com/p/wmjKV3q5vc/16:59
slangasekis this related to the squashfs fuse stuff not being installed by default?16:59
kyrofaslangasek, ah, interesting, I don't need that in lxd anymore since snapd started bundling something that made it work17:01
kyrofaWhere is that bug...17:01
kyrofabug #162828917:02
ubottubug 1628289 in snapd (Ubuntu) "snapd should depend on squashfuse (for use in containers)" [Medium,Incomplete] https://launchpad.net/bugs/162828917:02
kyrofaOh yeah, fuse.snapfuse, that sounds bundled17:03
slangasekkyrofa: there is no 'fuse.squashfuse' command in either the snapd or squashfuse packages in xenial (at least on armhf).  So I don't know how this is supposed to be wired up.17:05
kyrofaYeah, me neither. mvo, are you around?17:06
=== Pici` is now known as Pici
mvokyrofa: sort of - I hear ./usr/bin/snapfuse ?17:07
kyrofamvo, having trouble installing snaps in armhf autopkgtests, slangasek was able to produce https://paste.ubuntu.com/p/wmjKV3q5vc/17:09
slangasekmvo, kyrofa: 'ln -s /usr/bin/squashfuse /sbin/mount.fuse.squashfuse' works around it17:11
slangaseknot sure if /usr/bin/snapfuse works the same17:12
slangaseksigns point to yes17:12
mvoslangasek: oh, interessting. I wonder what is going on there, fwiw, we have a automatic test that runs snaps inside lxd without squashfs-fuse or any other modifications17:13
mvokyrofa: looking17:13
mvokyrofa: what do I need to do to reproduce this?17:13
kyrofamvo, indeed, this same test runs fine in amd64 lxd17:14
slangasekkyrofa: on xenial?17:14
kyrofamvo, you need the magical shell slangasek got :P17:14
kyrofaslangasek, yes17:14
slangasekk17:14
kyrofaslangasek, to clarify, I'm running bionic, but I developed the test using `autopkgtest . -U -- lxd ubuntu:xenial`17:14
slangasekright17:15
mvooh, so this is lxd inside armhf?17:15
slangasekwell, the host is arm6417:15
slangasekthe container is armhf17:16
kyrofaAnd Laney mentioned that this is the only arch that works that way-- the others are VMs17:17
mvoI can try this on my pi3 tomorrow17:17
slangasekyes, and "the host is arm64" is precisely why we do armhf in containers17:18
slangasekanyway, seems like a strange error message, hopefully that points to something17:19
kyrofamvo, thank you for looking into it!17:20
kyrofaslangasek, thanks very much for your help. It sounds like I can work around this for now by symlinking /usr/bin/snapfuse to /sbin/mount.fuse.snapfuse ?17:21
slangasekkyrofa: yes, it appears that works around it17:22
slangasekat least as far as letting snapd start17:22
kyrofaslangasek, alright, I'll take a crack at it for the whole test, let's see17:22
mvokyrofa, slangasek fwiw, the squashfuse deb also only ships./usr/bin/squashfuse  and no fuse.squashfsuse symlinks or anything like this afaict17:37
kyrofaVery interesting17:40
slangasekyeah, I have no idea how this works on !armhf17:40
dami0hi, how do i change the default command line options when respining an iso? i tried grub.cfg in /boot/grub, tried gfxboot.cfg in isolinux, searched on google and only got advice to change grub.cfg17:44
TJ-dami0: which options, for booting the ISO live, or for installing the OS?17:48
dami0installing the os17:49
dami0what i want to accomplish in the end is have a few custom entries in the boot menu for installing with different ks.cfg files predefined on the menu options17:49
TJ-I recall that you achieve that by editing the kernel command-line of the ISO boot loader (GRUB and isolinux/syslinux) and add the entries you want the installer to add to the installed system after a "--" ... e.g. for GRUB "linux vmlinuz-$VERSION param1=one param2=two -- param1=three" will boot the installer with param1=one but set the installed command-line to param1=three17:57
kyrofaslangasek, beyond copyright and docs, squashfuse indeed only includes the /usr/bin/squashfuse binary. No symlinks, as mvo said. However, something knows that all it needs is the squashfuse command: sudo mount -t fuse.squashfuse hello_20.snap foo18:01
kyrofa/bin/sh: 1: squashfuse: not found18:01
kyrofa(I removed both snapd and squashfuse for testing)18:02
slangasekinteresting18:02
mvoslangasek: https://github.com/libfuse/libfuse/blob/master/util/mount.fuse.c#L103 is how the mount works, I wonder why this is different on armhf, it just strips the leading fuse. and tries to run the binary18:02
mvokyrofa: -^18:02
mvoI mean, this is why it does not need the fuse.snapfuse18:03
kyrofamvo, which explains what I just found18:03
mvoups, wrong line: https://github.com/libfuse/libfuse/blob/master/util/mount.fuse.c#L13718:03
mvothis is the right one18:03
mvokyrofa: yeah18:03
slangasekmvo, kyrofa: ok, and does something ensure mount.fuse is installed?18:04
slangasekit's only 'standard'18:04
slangasekand wasn't present in the container I was looking at18:05
slangasekso if 'mount' can't resolve either mount.fuse.squashfuse or mount.fuse, I don't expect it knows what to do here18:06
kyrofaslangasek, wait, /sbin/mount.fuse wasn't present in the container you were looking at?18:07
slangasekcorrect18:07
kyrofaHuh, it's here on amd6418:07
slangasekour containers use a different image18:07
slangasekautopkgtests shouldn't assume ubuntu-standard18:08
slangasekshould snapd depend on fuse?18:08
slangasekor should it just install its own mount.imasnap ?18:08
kyrofaGreat question18:10
kyrofaslangasek, does that mean that running `autopkgtest . -U -- lxd ubuntu:xenial` is not actually giving me a representative image?18:12
mvoslangasek: aha, nice catch!18:18
mvoslangasek: I guess we could recomment fuse - otoh we don't really need it most of the time if in-kernel squashfs is available18:19
GunnarHjinfinity: Want to mention that I failed to verify the fix of bug #1762952. There seems to be more into it. It looks like the place where you dropped "grp:alt_shift_toggle" is for new installs where /etc/default/keyboard not yet exists. It's still set when you upgrade.18:20
ubottubug 1762952 in console-setup (Ubuntu) "Alternative shortcut for layout switching Alt+Shift unexpectedly set by default" [High,Confirmed] https://launchpad.net/bugs/176295218:20
slangasekkyrofa: appears so.  sorry, this seems to be under-documented on https://wiki.ubuntu.com/ProposedMigration/AutopkgtestInfrastructure#Worker_administration.  I'm trying to track down where the image generation actually happens18:21
slangasekkyrofa: https://git.launchpad.net/~ubuntu-release/autopkgtest/+git/development/tree/tools/autopkgtest-build-lxd18:22
slangasekkyrofa: but this just does setup on top of the generic images that have already been published; we derive from images:ubuntu/xenial/armhf which also does not have ubuntu-standard18:28
slangasekkyrofa: so I'm altogether unclear why we are using the images.linuxcontainers.org remote for these instead of cloud-images.u.c.  Laney ?18:29
kyrofamvo, slangasek recommends aren't actually installed in the tests, right? We can just add fuse to our debian/tests/control18:59
kyrofaslangasek, thanks for digging into the lxc question, curious to know the outcome of that as well19:01
Laneyslangasek: Dunno.19:46
LaneyBut it's always been autopkgtest-build-lxd, never using plain upstream images. Please document that in whatever appropriate place.19:48
ehashmanslangasek: ping23:27
ehashmanslangasek: do you have time to chat about https://bugs.launchpad.net/ubuntu/+source/nodejs/+bug/177986323:29
ubottuLaunchpad bug 1779863 in nodejs (Ubuntu Cosmic) "Ubuntu nodejs package isn't ABI compatible with mainline nodejs." [Medium,In progress]23:29

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