/srv/irclogs.ubuntu.com/2019/11/14/#snappy.txt

mborzeckimorning06:30
=== pstolowski|afk is now known as pstolowski
pstolowskimorning, hey mborzecki08:05
mborzeckipstolowski:  hey08:06
pstolowskimborzecki: should we disable opensuse tests for now?08:18
mborzeckipstolowski: still failing?08:18
pstolowskimborzecki: checkingm restarted one of the failing PRs08:19
pstolowski*checking08:19
mborzeckipstolowski: looks like it was timeouting a bit too08:23
mborzeckianyways, restarted #7702 and if it fails again on tw, we can switch it to manual08:23
mupPR #7702: tests: adding fedora 31 <Created by sergiocazzolato> <https://github.com/snapcore/snapd/pull/7702>08:23
popeyhttps://forum.snapcraft.io/t/cant-install-snaps-in-clean-16-04-lxd-container/1414008:36
popeythis seems serious08:36
popeyprobably due to snapd being super old in 16.04 and not supporting something new in latest core?08:37
mborzeckiExecMount=/bin/mount /var/lib/snapd/snaps/core_8039.snap /snap/core/8039 -t squashfs -o nodev,ro (code=exited, status=32)08:38
mborzeckithe error is pretty generic, according to manpage it's  '32     mount failure'08:38
popeyit's very easy to reproduce08:38
mborzeckiif mount cannot mount then we're in deep trouble08:39
mborzeckipopey: what was the host os?08:40
ograIIRC there couldnt be a hard dependency on squashfuse in 16.0408:40
ograyou need to install it manually08:40
popeyno ogra08:40
popeythis worked up until recently08:41
popeyit's a cron job I run every day08:41
popeyand today it failed08:41
ograoh, ok08:41
popeymborzecki: 19.1008:41
mborzeckipopey: was lxd installed from snaps too?08:42
popeyon the host, yes, stable08:42
mborzeckipopey: ok, trying it out now08:44
ogracan you try the mount command manually ? that pwerhaps gets you more output08:48
mborzeckiheh, can't start the container for some reason, and no logfile either08:51
ograhttps://paste.ubuntu.com/p/nNmgJf6Ndf/08:52
ograworks for me08:52
ogra(on a xenial host ... but not on recent kernel (havent rebooted for a while)08:53
ogra)08:53
mborzeckilxc launch ubuntu:16.04 complains that no image was found, but images:ubuntu/xenial seems to work08:56
mupPR snapd#7734 opened: spread: do not explain errors <Simple 😃> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/7734>09:10
mborzeckipstolowski: super trivial ^09:11
mupPR snapd#7735 opened: spread: move openSUSE Tumbleweed to unstable systems <Simple 😃> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/7735>09:29
mupPR snapd#7736 opened: tests/main/system-usernames: Amazon Linux 2 comes with libseccomp 2.4.1 now <Simple 😃> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/7736>10:11
mborzeckiso in my vm, once i launched the container, snapd doesn't even start10:16
mborzeckipstolowski: hm looks like we'll need to merge 7736 and 7735 into one PR10:20
pstolowskimborzecki: hah, right10:21
mupPR snapd#7736 closed: tests/main/system-usernames: Amazon Linux 2 comes with libseccomp 2.4.1 now <Simple 😃> <Created by bboozzoo> <Closed by bboozzoo> <https://github.com/snapcore/snapd/pull/7736>10:22
mborzeckipopey: btw. eoan is on 5.3 kernel? not sure why it's showing 5.0 in snap version in the output you pasted10:29
mborzeckiand once i resized the vm image things work well now10:29
popeymborzecki: that was inside the container10:59
popeyoh, you're right11:00
popeymy system has been upgraded from 18.04, maybe I am missing a package11:00
popeysomething may have gone screwy in my upgrade, installing linux-image-generic now pulls in 5.3, gonna reboot and test again11:03
popeythat didn't help11:29
cachiomborzecki, hey11:30
mborzeckicachio: hey11:30
cachioleft a coment in the PR #773511:30
mupPR #7735: spread, tests: openSUSE Tumbleweed to unstable systems, update system-usernames on Amazon Linux 2 <Simple 😃> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/7735>11:30
cachioyesterday I updated the image11:30
cachiobut I think it is the same11:31
mborzeckicachio: heh, that's unfortunate11:31
mborzeckipopey: is the 16.04 lxd image something you created in the past and keep updating? the one i pulled today had snapd 2.40 in it, rather than 2.2711:33
popeyi guess. I dunno how to update it11:33
mborzeckicachio: the problem with system-usernames and opensuse 15.1 is differnt, looks like there's no daemon user at all11:34
mborzeckipopey: so snapfuse is not in the contained, but do you have squashfuse there at least?11:36
popeyno11:36
popeyi have removed lxd and am re-installing to see if i get a new image11:37
cachiomborzecki, it could be because yesterday I imported the new opensuse leap 15.1 image11:37
cachiofrom opensuse project11:37
cachiomborzecki, I can revert that image if it is a problem11:38
mborzeckicachio: is the daemon:daemon user/group added manually when you prepare the image?11:38
cachiomborzecki, nottrobin11:39
cachiono11:39
mborzeckipopey: still, makes me wonder how it worked before, since loopback isn't avaialbe inside the container and none of the fuse squashfs handlers are avaialble11:39
cachiomborzecki, I have a debug session opened11:44
cachiomborzecki, do you want to take a look?11:45
mborzeckicachio: https://doc.opensuse.org/documentation/leap/startup/single-html/book.opensuse.startup/index.html#sec-yast-userman-defaultsystemusers lists bin, daemon as some default users added for legacy apps11:45
mborzeckicachio: but i see neither in /etc/passwd11:45
cachiomborzecki, I am checking that in the base image that I got from opensuse project11:47
cachiomborzecki, in the mew image from opensuse cloud it is not included neither11:50
mborzeckicachio: w8, so we had 15.1 image before, but the test broke only after the last update, is that what happened?11:55
cachiomborzecki, yes11:55
cachioI iincludede the new image provided by opensuse cloud11:56
mborzeckicachio: then we should revert to the last good one and report a bug to whoever publishes the build11:56
mborzeckis11:56
cachiomborzecki, sure11:56
cachiomborzecki, reverted11:58
cachioand restarted tests11:58
cachiomborzecki, that should fix the issue11:59
mborzeckicachio: thanks11:59
mborzeckicachio: downloaded the latest 15.1 kvm image from opensuse.org and there's no bin or daemon users either12:04
cachiomborzecki, well, perhaps we should update our tests in that case12:05
mborzeckicachio: i mean, if it's the case, then the system-users feature isn't universal anymore and probably needs extra tweaks to be documented12:05
cachiomborzecki, agree12:06
cachioI'll research a bit more about this12:06
pokkNoob question, how do I actually add a group to my user? usermod -a -G isn't working since read-only system12:41
ograpokk, you dont ...12:41
ogra(assuming you speak about ubuntu core)12:41
ograwhat do you try to do ?12:41
ogra(why do you think you need the group=12:42
ogra)12:42
giteshhi12:44
spinningcatis it about snap? Ubuntu new toy12:46
ograthis channel is for snap development, snapd development and ubuntu-core12:46
mupPR snapd#7735 closed: spread, tests: openSUSE Tumbleweed to unstable systems, update system-usernames on Amazon Linux 2 <Simple 😃> <Created by bboozzoo> <Merged by sergiocazzolato> <https://github.com/snapcore/snapd/pull/7735>12:47
ogra(also ... not actually new, snap packages exist since 2014)12:47
giteshwhat is this channel about?12:48
ogra(nor ubuntu ... snaps can be installed on a ton of different distros)12:48
giteshok snap development ok, i thought you are a bot12:48
ograheh ... said the person that joins and leaves the channel between two lines12:49
ogralooks like jean claude van damme is busy on freenode again ...12:52
ogra... doing net-splits ...12:53
zygayawn13:17
zygagood morning13:17
zygahow are things?13:18
ograhow's the sleep situation ?13:22
zygaogra: I totally fall asleep around 9PM13:25
zygaogra: and then wake up 3-4AM13:25
zygaso... okay I guess13:25
mborzeckibug triage duty is great when LP keeps timing out ;)13:34
=== ricab is now known as ricab|lunch
pstolowskihey zyga!13:48
zygahey :)13:48
zygahow are you doing?13:48
pstolowskimvo can't sleep either i suppose, is active in the standup doc ;)13:48
zygait's 5:48, I wish I could sleep normally13:48
zygahaha13:48
zygayeah13:49
zygait's the same for everyone here13:49
pstolowskizyga: it's going fine here. i'm warming up for the new macbook.... ;)13:49
pstolowskizyga: but not this year13:50
zygayeah13:50
zygaI will first try to sell my 201813:50
zygaif that succeeds I'll go for it13:50
zygaif not I'll stick around for longer13:50
pstolowskizyga: just realized it gets much more attractive with VAT return :)13:50
zygapstolowski: yeah13:50
zygapstolowski: if you go to an apple reseller they almost always get you better price too13:50
zygapstolowski: just start talking to them13:51
pstolowskii keep forgetting about that.. it's significant chunk in this case in particular13:51
zygapstolowski: it's not the stock price in the end13:51
zygapstolowski: vat, income tax, extra cut if you negotiate for a sec13:51
zygapstolowski: and that adds up13:51
zygapstolowski: I really just don't want two laptops at once :)13:51
zygapstolowski: I was thinking and the 6 core, 1TB, 32GB model is what I would look at most likely13:52
pstolowskizyga: yeah that's my problem too... too much hardware already at home13:52
zygapstolowski: probably with the GPU upgrade since it's cheap but significant13:52
zygapstolowski: I want to play some music on it because apparently the speaker upgrade is incredible (starting from a already fantastic quality of 15")13:53
zygapstolowski: there are 6 speakers in that thing now13:53
zygaI was out for a walk last night but went to the seaside instead13:53
pstolowskizyga: yeah, 1TB + 32GB would be my setup too. i don't care about GPU too much13:53
zygapstolowski: the GPU is just $100 but it's not something you can ever upgrade13:53
pstolowskizyga: yes, i watched a review, speakers are super good apparently13:54
zygaI'd get it because it's useful to have vram for VMs as well as apps on the host13:54
zygaI don't remember but I think the extra $100 gets you 8GB of vram13:54
pstolowskizyga: ah, if you get more VRAM with that.. i though VRAM was fixed, just two chipsets to choose from13:55
zygaI could be wrong, let's check13:55
pstolowskithen yes, by all means13:55
zygaoh, there are 3 GPU tiers13:55
zygathat's ... weird13:55
zygaI checked on the website in the US13:55
zygaand I saw two13:55
zygabut on my phone with the apple store app I see three (tied to my eu account)13:56
zyga4GB 5300M, 4GB 5500M and 8GB 5500M13:56
zygaanyway13:56
zygathat's all theoretical13:56
mborzeckizyga: you'll still end up carrying x240 :)13:56
zygamborzecki: yeah but that's different13:57
zygamborzecki: I would replace my 15" with the 16" because at home it's just awesome to use13:57
zygamborzecki: it's really my most loved device over the years13:57
zygamborzecki: despite the issues actually13:57
zygamborzecki: x240 is something I can comfortably throw on the xray scanner at the airport13:57
mborzeckiidk, i have no feelings for devices i own ;)13:57
pstolowskihaha13:57
zygamborzecki: and use for one week without missing things I like normally13:57
zygamborzecki: you say that because you are missing out ;-)13:58
zygahaha13:58
zyga;D13:58
pstolowskithat!13:58
* zyga is totally silly now13:58
mborzeckisurprised they don't treat thinkpads as possible weapons13:58
zygapstolowski: did you notice the new github app for ios?13:58
zygait's invite only for now but it is coming13:58
pstolowskizyga: nope, for ios?13:58
zygayep13:58
zygaandroid later as well13:58
pstolowskihmm what is it good for?13:59
zygaeverything normal github is good for but tailored for smaller screen13:59
pstolowskicode reviews?13:59
zygayes13:59
zygathey announced it yesterday, hold on13:59
zygapstolowski: random google https://techcrunch.com/2019/11/13/github-launches-a-mobile-app-smarter-notifications-and-improved-code-search/14:00
zygabut there are pics there I didn't see before14:00
pstolowskistandup14:01
zygaenjoy14:01
zygaI'll get breakfast now14:01
mborzeckiany idea if gnomne-contacts used to be a classic snap?14:04
zygamborzecki: is it about that bug that was reported recently?14:05
mborzeckizyga: https://bugs.launchpad.net/snapd/+bug/185235514:05
zygamborzecki: I'll try to find out, I encouraged the reporter to file it14:05
mupBug #1852355: Available snap not refreshed to ("cannot update "gnome-contacts": snap "gnome-contacts" is not a classic confined snap") <snapd:New> <https://launchpad.net/bugs/1852355>14:05
mborzeckii recall we did some back and forth changes around that are14:07
zygayeah, perhaps something in the state was set so that we would never upgrade14:08
zygabut14:08
zygabut14:08
zygait was only during automatic refresh14:08
zygaa manual refresh succeeded14:08
zygaso it's a bug for sure14:08
mborzeckiduh, we're missing some mocking in gadget remodel unit tests, and spend time waiting for serial to be requested :/14:19
mborzeckiadded mocking and for instance TestRemodelSwitchGadgetTrack execution time went from 1.3s down to 0.083s14:19
ijohnsonzyga that new github app looks really cool14:23
ijohnsonI'm excited for the new notifications stuff though14:23
ijohnsonthat will be nice to filter it more14:23
ijohnsonmborzecki: re your comments on #7431, the reason I went with `st.Unlock(); defer st.Lock()`, etc. is because Samuele showed me that during a different PR, and actually I am starting to like that kind of code flow because it means when someone else goes to refactor this they don't need to be as careful about returning when st is unlocked because they can return and state is still ok14:27
mupPR #7431: overlord/snapstate: don't re-enable and start disabled services on refresh, etc <Created by anonymouse64> <https://github.com/snapcore/snapd/pull/7431>14:27
ijohnsonbut if you like I can still refactor to use your suggestion14:27
mborzeckiijohnson: no, it's ok, don't like much that defers keep piling and we end up locking/unlocking (potentially a number of times) inside the function epilogue, but i suppose it's not a big deal14:30
ijohnsonmborzecki: yes I think it does lead to a bit of thrashing after the function returns but it reads cleanly14:31
mborzeckiijohnson: right, let's got with easier to read code for now ;)14:31
ijohnsonmborzecki: https://xkcd.com/1691/14:32
mborzeckihahah14:32
* ijohnson relocates back home14:54
=== ricab|lunch is now known as ricab
pokkogra: sorry, other things came in between. I'd have prefered to be able to run docker without sudo, it's not a big thing.15:05
* cachio lunch15:07
ograpokk, well, you can use the --extrausers option to adduser and friends, that creates additional groups and users in a passwd db under /var/lib/extrausers ...15:14
pokkogra: but I take it you'd argue it's a very bad idea?15:15
ogra(which is fine for development etc ... just not really something i'D encourage in a production system for an IoT device)15:15
ograit is fine if you use the install as build machine etc ... and typically use ssh logins and the like ...15:16
pokkogra: no no :) that I definitly can agree with. This is mainly me playing around with my hmoelab proxmox/ubuntu core15:16
ogramost IoT gateways, routers, APs and digital signage kiosks wont actually need a user though15:16
pokkseemed like core would be a good small vm to run docker in, so I'm trying that out15:16
ograwhile docker will surely work, i'd recommend lxd instead ... thats way better integrated (and you can run snaps inside the containers ... thats tricky with docker)15:17
pokklxd doesn't seem ideal for running many smaller things. I'll move things like dbs to lxd tho15:19
pstolowskicachio: any idea what that means: Nov 14 13:35:11 arch google_clock_skew_daemon[615]: pkg_resources.DistributionNotFound: The 'google-compute-engine==20190801.0' distribution was not found and is required by the application ?15:54
pstolowskicachio: just got such spread test failure15:55
pstolowskicachio: full log: https://api.travis-ci.org/v3/job/611861148/log.txt15:56
cachiopstolowski, checking16:25
cachiopstolowski, seems to be a problem with the package google-compute-engine16:26
cachiopstolowski, I think it was going to be updated16:27
cachiopstolowski, I am running that to see if I can fix it16:27
cachioI'll tell you once I have more info16:28
pstolowskicachio: thanks!16:28
cachiopstolowski, np16:29
pstolowskinot a happy week for spread tests...16:40
cachiopstolowski, hehehee16:41
cachiopstolowski is really weird the error, I'll try to update the image to see if that fix the issue16:43
=== charles_ is now known as charles
=== pstolowski is now known as pstolowski|afk
cachiopstolowski|afk, I tried to update arch17:16
cachiobut I am getting other problems with apparmor package17:16
cachiopstolowski|afk, images are having a bad week too17:18
mupPR snapcraft#2798 opened: cli: improve the remote-build upload messaging <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/2798>20:18
mupPR snapcraft#2791 closed: introduce bind-ssh support <Created by cjp256> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/2791>22:42
mupPR snapcraft#2798 closed: cli: improve the remote-build upload messaging <Created by sergiusens> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/2798>22:45
mupPR snapcraft#2799 opened: Plainbox test updates <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/2799>23:06

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