Comment 2 for bug 1824237

Revision history for this message
Zygmunt Krynicki (zyga) wrote :

Additional IRC log with some useful information:

<ddstreet> hey guys, just fyi, i opened lp #1824237 because the core snap in cosmic appears broken, and is causing autopkgtest failures for several pkgs (at least snapd and docker.io, maybe more)
23:30 <mup> Bug #1824237: snap 'core' broken/missing and causing autopkgtest failures <snapd (Ubuntu):New> <snapd (Ubuntu Cosmic):New> <https://launchpad.net/bugs/1824237>
23:41 <zyga> ddstreet: ack, thank you
23:41 I will discuss with the team tomorrow
23:41 <ddstreet> thnx!
23:41 <zyga> (I didn't mean to ping you ack)
23:41 <ddstreet> np, i haven't left yet :)
23:41 <zyga> ddstreet: is it reproducible?
23:41 <ddstreet> yep, every time
23:41 <zyga> perfect
23:41 well, at least it's not a heisenbug
23:46 ddstreet: do we have system log from an affected system?
23:46 ddstreet: did something unmount core but it is still present and can be mounted (the mount unit can be started)
23:46 <ddstreet> zyga i only see it in autopkgtests
23:46 <zyga> ddstreet: can we reproduce this with an interactive shell somehow>?
23:46 <ddstreet> sure, you familiar with running autopkgtests?
23:46 <zyga> so-so
23:46 <zyga> not in a distro context
23:46 I only used qemu
23:47 <ddstreet> so if you get the latest snapd dsc, e.g. 'pull-lp-source snapd cosmic'
23:47 then install autopkgtest pkg
23:48 then you can do 'autopkgtest -s -U snapd_2.38+18.10.dsc -- lxd ubuntu:cosmic'
23:48 the -s will stop on the failed test, and let you ssh into it
23:48 <zyga> this is brilliant, let me try at once
23:48 <ddstreet> personally, i use qemu, not lxd, so not sure if the lxd test will let you ssh in
23:48 <zyga> I prefer qemu too
23:48 more easy to recover :)
23:48 <ddstreet> to run a test with qmeu instead of lxd, you can just do 'autopkgtest-buildvm-ubuntu-cloud -r cosmic'
23:49 <ddstreet> and it will download and set up a .img file in your local dir
23:49 then, just replace the '-- lxd ubuntu:cosmic' with '-- qemu IMGFILE'
23:49 replacing IMGFILE of course
23:49 i'm about to eod but i'll be around tomorrow if i can help
23:49 <zyga> thank you
23:49 this is very useful
23:50 with this we can look around and have some theories as to what happened
23:50 I'm past EOD so I will only look deeper in the morning
23:50 <ddstreet> yep, hopefully it's clear once you get into the test env :)
23:50 ok sounds good, thnx!
23:50 <zyga> thank you, good night!