/srv/irclogs.ubuntu.com/2018/08/06/#snappy.txt

mborzeckimorning05:01
mborzeckimvo: hi, back to your morning schedule?05:20
mvohey mborzecki - yeah05:21
mvomborzecki: this should be my usual time again05:21
mborzeckimvo: poor kids back to school in august :(05:22
mvomborzecki: yeah, in the worst heat since forever05:23
mvomborzecki: not fun05:23
mvomborzecki: and I see a lot of unhappy tests, its a bit flaky again, right?05:23
mvointerfaces-accounts-service05:23
mvoit seems is the culprit a lot of time?05:23
mvotimes05:23
mborzeckimvo: that would be double guid in eds?05:24
mvomborzecki: I see InvalidArgs errors here05:30
mvomborzecki: but I only looked at one of the failures so far, haven't payed much attention to this before05:30
mborzeckimvo: which pr is this?05:30
mvomborzecki: that was 560005:32
mborzeckihm maybe gnome online accounts has changed it's dbus iface?05:34
mborzeckimvo: i'll look into this05:35
mvomborzecki: yeah, its very strange it shouldn't do that in the middle of the stable 16.04 release though. I wonder what is going on05:35
mvomborzecki: I have a look, I see it also in travis on master once05:36
mvomborzecki: and its not happening all the time (fun!)05:36
mborzeckimvo: well, (sssa{sv}a{ss})' matches the current stable org.gnome.OnlineAccounts.Manager.AddAccount iface05:48
mborzeckimvo: and 3.18.x release (supposedly in xenial) was the same05:51
mvomborzecki: yeah, it should not have changed05:55
mborzeckimvo: i don't like how we don't pass the typespec to gdbus, it's guessed instead?05:56
mborzeckimvo: we pass "imap_smtp" "test@example.com" "Display Name" "{}" "{'actual': 'data'}", the error is that it's expecting (sssa{sv}a{ss}) but got '(ssssa{ss})' as if "{}" was interpreted as 's'?05:58
mvomborzecki: yes, I think thats the issue but only sometimes which makes it strange06:00
mvomborzecki: I wonder if there is a way to add debug to the call to see what it actually sends on the wire06:01
mvoor we could run dbus-monitor in to gather debug data06:01
mborzeckimvo: let me see if it honors G_MESSAGES_DEBUG or alike06:01
zygaGood morning06:04
zygaLong time no see06:04
mborzeckizyga: hey06:04
mvozyga: hey, good morning! how are you? well rested?06:04
zygaYes :-)06:06
zygaIt feels like a month has passed06:07
zygaHow are you all?06:07
zygaHow is the project?06:08
=== chihchun_afk is now known as chihchun
mvozyga: all going well so far06:12
zygaHow is core18?06:14
mborzeckimvo: https://gitlab.gnome.org/GNOME/glib/issues/59806:17
mborzeckimvo: wonder why it's using that particular error as an example06:18
mvozyga: core18 is looking good, an image for amd64 is released, we are looking at arm now06:21
mvomborzecki: heh, yeah06:21
mvomborzecki: I added a PR that adds some debug, lets see if that gives us some clues06:25
zygamvo: is the image stable or still in beta/candidate phase06:46
mvozyga: very much beta still06:55
mvozyga: but looking good overall06:55
mborzeckimvo: i looked into gdbus source code, it introspects the called method before repacking command line arguments to dbus types, so at least this part should try to do the right thing07:04
mborzeckimvo: we could just merge https://github.com/snapcore/snapd/pull/5602 and inspect it further when the problem is reproduced again07:06
mvomborzecki: yeah, lets do this07:08
mvomborzecki: thank you07:08
=== pstolowski|off is now known as pstolowski
pstolowskiheyas07:11
mborzeckipstolowski: hey07:11
mborzeckipstolowski: back from vacation?07:11
zygahey pstolowski07:12
zygaare you back just now?07:12
mvohey pstolowski, welcome back!07:14
pstolowskimborzecki, mborzecki i got back home a few days ago07:21
pstolowskiand temperatures here are not much different from greece, easy accomodation ;)07:22
mborzeckipstolowski: sound like you had a great time07:24
pstolowskimborzecki: indeed, corfu is really beautiful07:32
mborzeckiwe're down to 33 reviews07:59
zygamvo: today I will focus on preparing for Flock tomorrow08:06
zygabut let me know if I can help with short or urgent tasks please08:06
Chipacazyga: wb!08:15
zygathank you :)08:15
mborzeckizyga: https://flock2018.sched.com/event/Fjde/fedora-and-snaps-a-two-year-retrospective-and-an-exciting-future this one right?08:26
zygamborzecki: that's right08:40
mborzeckizyga: wonder if there'll be a live stream or sth08:40
=== bads is now known as Guest73517
mvoxnox: hey, anything I can do to help with bug 1778936 (readding support for read-only-etc for hostnamed? should I just sru this change in isolation or is there a bigger systemd sru planned?09:42
mvopopey: hey, do you think something like https://bazaar.launchpad.net/~snappy-dev/snappy-hub/test-snapd-curl/revision/1 is worth pushing to the curl upstream? or to snapcrafters? we need a snap for curl for our internal testing but it seems like it would be generally useful09:56
pstolowskizyga: did you find any problem with slot remapping wrt the issue i had 2 weeks ago?10:00
zygapstolowski: hey, no I didn't find anything at the time10:03
popeymvo: certainly worth trying to submit upstream before putting in snapcrafters.10:06
popeymvo: worth looking into whether upstream actually support distributing binary builds or not.10:09
mvopopey: what the best approach? I can do a PR that juts contains snapcraft.yaml for git master?10:09
mvopopey: aha, good point, they have a winbuild dir but I have not investigated that at all10:09
popeymvo: typically we add some boilerplate to explain what it is, and why you're adding it. They also need to know how to register the name in the store etc.10:10
popeymvo: for example. https://github.com/rust-lang-nursery/rustup.rs/pull/144110:11
mvopopey: thank you10:12
popeynp :)10:12
mwhudsonmvo: xnox is on leave10:13
mvomwhudson: thanks, who the best person to talk about systemd while he is away?10:14
mwhudsonmvo: errrr i guess there is always slangasek10:14
mvomwhudson: :) ok10:15
mwhudsonbut i suspect the implication is that there is no systemd sru planned in the near term10:17
* mvo nods10:17
mborzeckithere are no tests for snap-device-helper?10:21
zygamborzecki: I don't think there are any individual tests10:25
zygathere are indirect tests via spread10:25
zygabut that piece of code is ... very old10:25
mborzeckiheh, needs to be taught new tricks now, such as parallel installs10:25
zygabeware of dragons10:26
mborzeckizyga: i can hack some tests with gtest probably10:26
zygawhy gtest?10:26
zygaI mean, we use glib for tests10:27
mborzeckizyga: we use that in s-c already, i'd add it to already existing unit tests10:27
zygaah10:27
Chipacaso, in order to keep up with the latest in security, today I'll be pushing 23 new PRs, all of them bug-ridden. https://arxiv.org/pdf/1808.00659.pdf10:27
zygaI assumed you meant google's test10:27
mborzeckizyga: nah, just plain glib test framework10:28
zygamborzecki: +1 then :)10:28
zygasorry for being silly10:28
=== vila_ is now known as vila
mvowork on fixing godd on armhf (missing libs, rathole because x/sys/unix needs later go than xenial has)11:17
mvoeh, sorry, there is a bit of context missing here11:17
mvoI am in a bit of a rathole right now, I want to (re)build godd but x/sys/unix changed and needs a newer go to build. the godd snap uses xenial (which I would like to keep for now). so I experimented with using the go snap as a build-snap but LP will always use the system go. anyone have tried to override this? I have no luck so far11:18
zygaoh man, that's nested11:19
cjwatsonmvo: That shouldn't be anything to do with LP as such - surely it's entirely in control of your snapcraft.yaml?  Or maybe of the relevant snapcraft plugin I guess11:20
mvocjwatson: I think its simply a PATH bug11:20
mvocjwatson: i.e. /usr/bin is before /snap/bin and LP happen to have go installed as well, just an older version11:20
mvocjwatson: at least that is my guess - I guess the easiest might be to try to just override-{pull,build} and set PATH manually(?)11:21
* mvo tries that11:21
cjwatsonI'm quite surprised that go would be in the chroots11:21
mvocjwatson: oh, then its the go plugin pulling it in11:22
mvocjwatson: I have a look at this next11:22
cjwatsonNot in the xenial amd64 chroot at least (I don't have the armhf one locally)11:22
cjwatsonInstalling build dependencies: golang-1.6-go golang-1.6-src golang-go golang-src11:22
cjwatsonfrom your build log11:22
cjwatson        self.build_packages.append('golang-go')11:23
cjwatson/etc/profile.d/apps-bin-path.sh seems to put /snap/bin after everything else too ...11:24
cjwatsonMaybe snapcraft's Go plugin just needs to have a more built-in way to use the snap11:25
Chipacamvo: can't you use golang-golang-x-sys-dev ?11:26
mvoChipaca: its pulled in via "pb" - I was considering to replace it with our own progress stuff11:31
mvocjwatson: yeah, looking into this now11:33
=== chihchun is now known as chihchun_afk
mborzeckiwhen maj:min is not passed to snap-device-helper the exit code is 0, while if other parameters are skipped we exit with 111:40
om26erIs it possible to rebuild that image but with a later kernel http://cdimage.ubuntu.com/ubuntu-core/16/stable/current/ubuntu-core-16-amd64.img.xz ?11:45
Chipacamvo: ah :-) ok11:45
om26erwe will be using https://software.intel.com/en-us/openvino-toolkit/documentation/system-requirements and believe a somewhat fresh kernel will be better.11:48
om26erthat brings me to the question: How far along is UbuntuCore18 ?11:48
cachiomvo, hey11:49
mvocachio: hey, good morning11:51
pstolowskihmm standups disappeared from my calendar11:58
ograplars, https://forum.snapcraft.io/t/stellarium-plars-not-working-on-nvidia-cards/6685/2 mind merging the PR ? (fix tested on both, intel and nvidia)12:00
pstolowskimvo: do we have standups as usual?12:00
ograplars, (happy to drop the depth=1 if needed . (but it is painful for local builds if the git checkout is multiple gigs)12:01
=== pstolowski is now known as pstolowski|lunch
jdstrandmvo: I tried to use the new core18 in a vm on friday, but had trouble. it wanted to resize but I didn't know how big it was going to get. I couldn't figure out how to use qemu-img to resize before running without breaking the image12:14
om26erogra: can we rebuild Ubuntu Core 16 amd64 image with latest kernel ?12:16
om26erwe need Ubuntu Core but minimum kernel requirement is 4.14 for Intel' OpenVINO12:17
om26erref: https://software.intel.com/en-us/articles/OpenVINO-Install-Linux12:17
ograom26er, you can surely build your own kernel snap but for core 16 only 4.4 is officially supported ... you will have to wait for core18 to come out (perhaps you can then combine core 16 with the 4.15 core18 kernel, not sure, thats a question for mvo and if kernel tracks will also be supported in core 16 later)12:19
om26erI was thinking if there is way to rebuild the image but not compile the kernel ourselves and pick kernel snaps (pc-kernel) from 18/beta etc12:20
ograjdstrand, it resizes to the pre-defined device size at build time ... u-image should dtrt and you shouldnt need to do anything12:20
om26erI guess recompiling won't be a problem, if that's really the only way12:20
ograjdstrand, s/resizes/auto-resizes/12:21
ograom26er, well, mvo released his first experimental core18 image on friday ... you might want to play with that instead12:21
ograjdstrand, if you want to resize yourself, technically just dd'ing zeros to the end of the img should be enough to have core's auto-resize trigger on next boot and resize /writable to full disk size12:23
ograiirc our img's are raw so no qemu-img should be needed, dd should be enough12:24
om26ermvo: where can I find that "experimental" Ubunut Core 18 image ?12:24
om26erperhaps, I can help test it.12:24
ograom26er, http://people.canonical.com/~mvo/core18/12:25
om26erogra: thanks, do you know of a tentative timeline for core18 release ?12:26
ograbefore EOY :)12:26
om26erwe have to do a prototype for a customer and want to make sure we pick the "right" target12:26
ograi guess first stable beta quality images will show up within a few weeks12:27
ogras/stable/usable/12:27
jdstrandmvo: fyi, core16 is all approved (I just re-ran the tools-- they've since been updated to allow core16), but you'll have to publish them12:32
jdstrandogra: re u-image: I tried to use the image that mvo created. I then tried to use u-image but couldn't figure out how to make it build a core18 image12:33
om26erInteresting, I believe our timeline is tighter, so I will ask on forums how we can compile and bundle linux 4.15 with UbuntuCore 16, before we fallback to ubuntu server image.12:33
ograjdstrand, well, dd (on the uncompressed image) is your friend ...12:33
jdstrandogra: I know they are raw. what I wanted to do is start it in a vm. it said it was autoresizing and I was afraid it was going to resize the raw image to fill my laptop's drive since I'm familiar with the resizing process12:34
jdstrandogra: so, you are saying dd to some other filename?12:35
ograjdstrand, it only resizes the filesystem to full img size12:35
jdstrandogra: yes, which I mentioned I didn't know what it was12:35
ograno, use dd with skip to append to the image12:35
ograwhatever you see with ls after unxz ;)12:35
jdstrandogra: it says 3G12:36
ograu-image just zero-pads the img file as well ... if you unxz you'll likely have a 3G img full of zeros12:36
ograright12:36
jdstrandogra: so you're saying it would only resize to that?12:36
jdstrandok12:36
ograso the resize script will resize writable to occupy the "physical" free space of these 3G12:37
jdstrandit was taking so long I was worried it was going to be longer12:37
ogranah ... the vm only sees a 3G device12:37
jdstrandalright, well I'll try again then12:37
ograand a filesystem thats smaller ...12:37
ograso it just adjusts12:37
zygahey jdstrand, ogra12:38
jdstrandhey zyga12:38
* zyga waves and returns to Flock prep12:38
ograhey zyga ... recovered ?12:38
zygaogra: from holidays? :D12:38
jdstrandogra: you know, I may have let it run and saw another issue12:38
ogra:)12:38
* jdstrand tries again12:38
zygaogra: I wish I had some more but I'm very happy I took the week off12:38
ograso you didnt have to move ? :)12:38
jdstrandI eventually want this in a qcow2, but I'll let the resize happen in the raw before converting (the qemu-img convert seemed to mess up the label on the disk)12:39
sergiusenscjwatson: yes unfortunately; we had a fixed that ended escalating into a larger design discussion. To make the behavioral change not so surprising, we might just tie this to the use of bases (even adding the build snap still install the build package which is also what we want to solve).12:41
Chipacagoogle:arch-linux-64:tests/main/degraded just failed with https://pastebin.ubuntu.com/p/MX7WqN7xPr/ -- is this something I should just retry?12:41
mvopstolowski|lunch: yeah, standups as usual (in +15min)12:44
pstolowski|lunchmvo: yep, thanks, just got all the details from mborzecki12:44
mvojdstrand: re core18> the test image is ~3G iirc but it needs much less space. how big do you want it to be?12:45
mvoom26er: you could try to set in your model-assertion: "kernel: pc-kernel=18" which will pull in 4.15. as an experiment thats fine, if you want to support this we should talk :)12:46
mvojdstrand: it takes forever because *drumroll* entropy :(12:48
mvojdstrand: just hit a few keys12:48
jdstrandmvo (cc ogra): ah that was it. it drops to an initramfs: "cannot find 'writable' partition12:48
mvojdstrand: uh, thats not good12:48
jdstrandall I did was unxz and then tried to launch it under kvm12:48
ograafter you used qemu-img on it you men ?12:48
mvojdstrand: ok, let me try that, that should not happen12:48
jdstrandno12:48
ograoh12:49
mvojdstrand: anything unusal about your qemu/kvm setup? maybe the kernel has not the right virtio modules or something like this12:49
jdstrandlet me get you the domain xml12:49
mvojdstrand: fwiw, I ran it with "kvm -m 1500 -snapshot -redir tcp:10022::22 core18.img" and it worked, but let me re-run to double check12:50
jdstrandmvo: I did a virsh dumpxml on a bionic vm. then I adjusted to remove the mac, uuid and change the name and image12:50
jdstrandI have a whole process surrounding using libvirt, etc, and this is what I typically do for Core 1612:51
jdstrand(though with a xenial dumpxml)12:51
ograwell, image wise 18 shouldnt differ12:51
mvosergiusens: I sent a small go plugin PR your way, would be great if you could have a look (its tiny)12:51
ograit uses the same u-image tocreate it so the result should be identical12:51
jdstrandmvo: https://paste.ubuntu.com/p/3BH6ZxScz2/12:52
* ogra also never uses libvurt/virsh or whatnot ... i also only use plain kvm 12:52
ogra*libvirt12:52
jdstrandyeah, like I said, at a future step I convert to a qcow2 and add a snapshot. but I didn't do any of that yet12:53
jdstrandactually, there is something about that domain xml. let me try something12:53
mvojdstrand: fwiw https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/1783810 is the entropy bug12:53
ogramvo, well, findfs has a 120 sec timeout ... if he runs into "writable not found" thsi is likely before entropy is even used12:54
=== pstolowski|lunch is now known as pstolowski
jdstrandmvo, ogra: I was dropped into the initramfs. that is *very* early boot. is it affected by that bug?12:57
mvojdstrand: trying to reproduce right now by setting the drive to virtio12:59
mvojdstrand: I also see a hang now and unable to resolve LABEL=writable12:59
jdstrandmvo: interesting. I was able to get it to resize using the regular kvm options, but then I was concerned about how big it would get. i'm no longer worried about that13:00
jdstrand(that was last friday)13:00
jdstrandmvo: fyi, I tried with defining the domain xml based off of my snappy-16-amd64 domain xml, it it has the same issue (but seems like you identified an issue with virtio)13:02
jdstrandmvo: btw, how are you creating this? I tried with ubuntu-image and didn't know how to setup the model assertion13:03
mvojdstrand: I'm in a meeting now but I can reproduce the issue by setting the drive to virtio13:03
jdstrandit didn't know about 18, etc13:03
jdstrandok13:03
jdstrandmvo: did you see that you need to still publish core16?13:04
jdstrandmvo: fyi, I changed it to ide and it is working. I'm unblocked it seems, so please prioritize however you want13:10
om26ermvo: that does not work, says "error: cannot download snap "pc-kernel=18": snap not found"13:11
jdstrandI then tapped shift a bunch of times to get past crng13:11
om26ermvo: here is my model assertion https://paste.ubuntu.com/p/R5YFR4GG8s/13:11
jdstrandand I'm off and running13:11
jdstrandmvo: thanks!13:11
om26erintentionally removed authority-id etc.13:11
jdstrandI bet I can configure to qcow2 right off the bat...13:12
om26erI ran this command `sudo ubuntu-image -o pc.img -c beta pc.model`13:12
sergiusensmvo: commented, but good13:12
ograjdstrand, no, not affected by the entropy bug then ... entropy will only be used later once we switched to the real root... what you were hitting was really the 120sec findfs timeout i think13:17
jdstrandogra: yes, see above. once I used ide, then I hit the entropy bug. I tap shift until it moves along and I'm good13:18
ograyeah13:18
ograentropy issues will be interesting once we have full disk encryption upstzream ;)13:19
ograwell ... at that level of the boot that is13:19
jdstrandmvo: fyi, 'vi: command not found'. that's pretty stripped down!13:24
ogra:)13:24
jdstrandno nano either13:24
* jdstrand wonders what to use13:24
ogrased13:24
ogra;)13:24
ogra(we dont have a classic snap for core18 either ... to trash your possible hopes in that direction)13:25
jdstrandjeez, echo isn't there either13:25
jdstrandthis is quite the change13:25
ograsnap install extract-deb ...13:25
ograextract-deb.download vim-tiny13:26
ogratry that ... and then call vim via the direc extraction path13:26
jdstrandwell, if you're stripping stuff, you may as well get rid of sensible-editor, cause there is nothing sensible on the system13:26
mvoom26er: you need the "edge" core13:27
mvoom26er: on the machine you build the image, only the latest core has support for the kernel=track syntax13:27
mborzeckipstolowski: if you feel like doing some reviews https://github.com/snapcore/snapd/pull/5561 :)13:34
mvojdstrand: core18 is very minimal, we need a vim snap13:34
jdstrandI'm surprised the images are so stripped down. I thought they were supposed to be roughly equivalent to cloud13:34
mvojdstrand: I mean, we really needs snaps for the basic functionality13:34
jdstrandand lxd13:34
mvojdstrand: we can add stuff still, not sure how tiny vim-tiny is but if it is actually tiny I think its not too bad to add it13:34
jdstrandmvo: we can't have vim witht he current interfaces since can't use classic and they need writes everywhere13:35
ograaround 1MB i think13:35
ograit is very small13:35
ograInstalled-Size: 107113:36
mvojdstrand: aha, vim is classic - hm, hm13:37
jdstrandI think installing a small editor makes a lot of sense13:37
ograyeah13:37
ograand vim-tiny is a quasi standard on all ubuntus13:37
jdstrandI would prefer vim-tiny, but really anything other than sed is good :)13:37
zygajdstrand: nano13:38
zygause nano13:38
Chipacaogra: jdstrand: mvo: clearly it should be mg13:38
zygait's small and useful OOTB13:38
jdstrandzyga: it isn't there either13:38
ogranano has deps ...13:38
jdstrandbut again, surprised at the new direction. last I heard, it was supposed to be similar to the cloud/lxd images13:38
ogra(nano uses ncurses ... )13:39
ogravim-tiny is really the way to go here ... also to stay in sync with all the other minimal ubuntu images IMHO13:40
jdstrand+1 (fwiw)13:40
mborzeckied?13:41
Chipacajdstrand: can a store assertion allow connecting  snapd-control without it being autoconnected?13:42
ograsnap install extract-deb && snap connect extract-deb:home && extract-deb.download --arch amd64 vim-tiny && unpack/usr/bin/vim.tiny13:42
ograjdstrand, ^^^ that works here13:42
Chipacamborzecki: ?13:42
ogra(though only tested on core 16)13:42
mborzeckiChipaca: s/vim-tiny/ed, i mean there are legends that people used it13:46
Chipacamborzecki: ?13:46
jdstrandChipaca: sure13:47
mborzeckiChipaca: small editor for core18 snap13:47
ograi have used sed as defaulkt editor in the past ... but you need echo too13:48
Chipacamborzecki: ?13:48
jdstrandogra: thanks. noted13:50
* Chipaca quits ed so he can talk like regular people again13:50
ograppisati, hmm ... are there any known issues with the xenial kernel (beyond the two patches you added that i have already in use locally) https://paste.ubuntu.com/p/Jmg7d43J3h/13:51
jdstrandmvo: is there a small non-desktop snap that uses 'base: core18' and listens on the network that you know of? eg, xkcd-webserver for core18?13:51
Chipacajdstrand: would that be a reasonable suggestion to somebody trying to build a store app thing?13:51
cachiomvo, 2.34.3 is ready to go to stable13:52
jdstrandChipaca: maybe? we are in the area of clear direction from Gustavo13:52
cachiomvo, if you are ok, I could sync with the store team to make it during the afternoon13:52
jdstrandChipaca: and noise. I think the topic should be raised when Gustavo is back13:53
noise][jdstrand: agreed - i'd like to find a solution for that, but it's delicate13:53
ChipacaI'd like to at least stop this person from even trying to use classic to work around it13:53
noise][cachio: we should be fine just about anytime as long as we are not in the middle of a deploy or somehting13:53
jdstrandyeah13:54
noise][Chipaca: yeah, that doesn't seem like a helpful direction13:54
cachionoise][, nice, tx13:54
jdstrandChipaca: well, classic will be denied for the same reason13:54
ppisatiogra: i'm building one on LP ATM, i'll let you know how it ends13:55
jdstrandI mean, classic is there because of a lack of interfaces or ability to change something13:55
jdstrandyou can't just use classic because you were denied use of an interface13:55
Chipacaok, replied as much13:55
Chipacain a short sentence13:55
ograppisati, seems to be the initrd step at the end of the build ...13:55
mvocachio: +1 from me for this13:55
roadmrhey folks, is it possible to restrict the amount of bandwidth snapd uses for e.g. automatic refreshes? since it might start refreshing whenever, I'd like to at least ensure it doesn't slow the home network down to a crawl :)13:56
Chipacaroadmr: not without a shaping proxy, but you can control when it refreshes13:57
Chipacaroadmr: e.g. "once a day between 3 and 5 am",  that kinda thing13:57
mvoChipaca: might be a nice feature to add download limiting, wdyt?13:57
ogra+113:58
roadmrright... thanks Chipaca13:58
Chipacamvo: (a) can of worms, (b) i mean one of those 200l oil drums (c) spice-eating worms13:58
roadmrrate limiting would be best for me because even if I can timeframe the upgrades, destroying the network is always inconvenient13:58
ograyummy !13:58
Chipacai mean, sure, nice13:58
roadmr(and I also don't leave the computer on at times when it's not inconvenient; e.g. 3-5 am I'm fast asleep and the computer is off :)13:58
mvoChipaca: heh, ok13:59
ograsleep slower and leave it on ;)13:59
Chipacamvo: i mean, yes, but it's usually full of little hard corner cases13:59
roadmrah, the "buy a new computer" argument :P no.13:59
roadmrhehe ogra j/k, I understand these arguments... just wanted to check if it was something that existed13:59
ograyeah, it doesnt because Chipaca is worm-phobic ;)14:00
roadmrleaving this concern out of snapd and relying on e.g. QoS set on the home router makes good sense I think14:00
Chipacamvo: roadmr: one thing we looked at back in u1 days, that was actually easier than bw limiting, was to just not saturate14:00
mvoChipaca: yeah, I understand. it looks like the good people from juju implemented something already, might be worth a look14:00
Chipacathat is, look at the number of … packets? frames? i forget the details; something low-level in /proc/something14:00
roadmrahh interesting14:01
ograplars, did you see my ping before ? https://forum.snapcraft.io/t/stellarium-plars-not-working-on-nvidia-cards/6685 ... i'd appreciate a merge of the PR14:01
Chipacaroadmr: saying "fix it with QoS" is always the easy answer that users hate14:01
mvoiptables could also do it (https://github.com/snapcore/snapd/blob/master/tests/main/econnreset/task.yaml#L7)14:02
Chipacaroadmr: (it's also right :-) )14:02
roadmrChipaca: hehe except in this case I'm the user mostly14:02
mvobut I think it might be worthwhile to look at integrating the juju/ratelimit thing14:02
mvoanyway, after I looked at this core18 "synced" dir stuff :/14:03
Chipaca    - google:arch-linux-64:tests/main/degraded14:06
Chipacagrrrrr14:06
plarsogra: yes, I said I'd take a look. I got slammed with several urgent things as soon as I started this morning. I'll take a look after the meeting I'm in right now14:07
ograplars, ah,m i didnt see any reply (probably because all the freenode blocking due to the spam atm)14:07
ograplars, thanks !14:07
plarsogra: heh, yeah it was a spammy weekend for sure. I'm still unburying myself from it. thanks for testing it, I don't have an nvidia system so I was just happy to hear someone else was using it even if it needs a fix :)14:08
Chipacamvo: mborzecki: what can we do about google:arch-linux-64:tests/main/degraded failing all the time? (systemctl status says degraded on arch)14:08
ograplars, well, the fix is tested and all and i have another user in the ubuntu-users ML that can test once it is in edge14:09
ograplars, the only thing i cant test is amd graphics cards but i think they are nowadays just covered by the same setup as intel14:10
jdstrandmvo: fyi:14:10
jdstrand$ passwd14:10
jdstrandpasswd: Authentication token manipulation error14:10
jdstrandpasswd: password unchanged14:10
jdstrandmvo: same under sudo14:10
ograsudo passwd -u $USER14:11
jdstrandogra: yeah, that doesn't work14:12
jdstrandpasswd: password expiry information changed.14:12
jdstrand(not the same thing as before, I forgot the -u)14:12
jdstrandbut still not working14:12
mborzeckiChipaca: hm it's reproducible then? it used to happen occasionally14:13
mborzeckiChipaca: got a log?14:13
Chipacamborzecki: https://api.travis-ci.org/v3/job/412606238/log.txt14:13
mvojdstrand: looking, I think sergio reported this issue too14:15
ograjdstrand, well, not sure if mvo forgot to use the patched shadow in core 18 ... we have some special packages in the image PPA that we use oin 16 and not all patches were forwarded yet14:15
jdstrandthat's fine. just fyi14:15
ograif shadow comes from the archive it will try to modify /etc/passwd by default14:16
mvoogra: I think thats it, we are currently not pulling from the ppa14:16
ograyeah14:16
ograthere were also some pam hacks to point to extrausers in live-build hooks ... you'll need to carry these over as well14:17
mborzeckiChipaca: mvo: looks like gce services failed14:18
mvoogra: yeah, those should be in14:18
ogragreat14:18
mvoogra: hm, the shadow patch was also pushed to the deb, strange14:20
* mvo looks deeper14:20
ograoh, wait ... the command order above is wrong ...14:20
ograjdstrand, sudo -u $USER passwd14:20
ogratry that one14:20
mvosil2100: did you find out anything about the issue running consle-conf on the pis btw?14:21
=== chihchun_afk is now known as chihchun
mborzeckiChipaca: mvo: yeah, so multi-user.target depends on gce services https://pastebin.com/raw/8DBcXJCq, and those fail https://pastebin.com/raw/5strYP8L cachio maybe the image needs an update?14:30
mborzeckicachio: you probably need to rebuild gce-compute-image-packages and push an updated image14:32
ppisatiogra: https://launchpadlibrarian.net/382085652/buildlog_snap_ubuntu_xenial_armhf_piso-xenial-raspi2-dummy_BUILDING.txt.gz14:41
sil2100mvo: still investigating, I have some leads as I saw the 'match' rules being removed by console-conf, but I still didn't dig deeper into why the pi actually even does 'set-name', since it's completely unnecessary - anyway, in progress14:41
ppisatiogra: built fine on LP14:41
mborzeckiChipaca: mvo: maybe we could blacklist arch in the test for now, wdyt?14:41
ppisatiogra: i assume you were building xenial/raspi2, right?14:42
ppisatiogra: i mean, it built fine after i applied one more patch on top of it14:42
sil2100mvo: just to confirm, you mentioned this is only on the pi3 right now, right? SInce on my amd64 kvm there is no set-name and networking is set up correctly14:42
Chipacamborzecki: how would we not forget to fix it?14:42
ppisatiogra: but my build failure was different than what you got14:42
mvosil2100: yeah, on the amd64 this works, let me check what the config looks like14:42
mvosil2100: correct, no set-name there14:43
mvosil2100: I pushed a fix for the pam config that should fix "passwd" on core18 (cc jdstrand and cachio)14:46
cachiomvo, great14:46
mvocachio: you add trouble beside passwd on core18? or just that you couldn't set the passwd?14:46
cachiomvo, the issue with the resize is stopping the test now14:46
cachioit was not happening on friday as frequent as today14:46
cachiomvo, by the way, 2.34.3 is stable now14:47
mvocachio: thanks for the stable update14:47
mvocachio: the tests are hanging using the extrnal: mode in spread for core18? or for qemu?14:47
noise][cachio: will there be a release post on the forum?14:47
cachioexternal14:48
cachionoise][, yes, after the smoke test14:48
sil2100mvo: thanks! Looking ;)14:49
cachionoise][, mvo smoke test completed14:52
ograppisati, amd64 ... xenail tree checkount with https://paste.ubuntu.com/p/zMTGd94yfr/ and just calling snapcraft in the toplevel14:52
ogramy god ... my typing ...14:52
ogra* xenial tree checkout14:53
ppisatiogra: check master-next, i fixed that too14:56
ppisatiogra: i mean, i fixed kernel snap build there too14:56
ppisatiogra: and it didn't make into master yet14:56
mborzeckiChipaca: well, then cachio needs to update the images :)14:57
ograppisati, ahh, thanks ... will check that one then (i just need binder and ashmem in a pc-kernel snap for core 16)14:59
ppisatiogra: binder??? are you building an android ubuntu core? :)15:00
ograppisati, a kiosk image that runs anbox on top of mir-kiosk is the plan15:00
ograand anbox cant run without binder/ashmem sadly15:01
plarsogra: it should be in candidate now15:04
ograplars, yeah, i saw, already asking the original reporter to test on the ML15:04
Chipacacachio: is that something you can do, or are you blocked by anything?15:05
cachioChipaca, I think I can do it, checking it15:06
ograplars, it works fine for me (used edge though) ... but i'd like to involve the user before you push to stable so he feels like he contributed to it too ;)15:07
plarsogra: +115:09
cachiomborzecki, in which images did you see that?15:10
mborzeckicachio: arch, the one used by the tests15:11
cachiomborzecki, ok, updating that15:11
cachiomborzecki, it takes a it until tests pass15:12
ograppisati, looking at snapcraft.yaml in master-next i see override-build but not the "kernel-with-firmware: false" line ... is that ok ?15:22
ogra(i dont want to waste a full build cycle if any possible)15:23
ograwell, running snapcraft anyway ...15:24
ogralets see where this goes15:24
ppisatiogra: make install-firmware was removed around 4.7 IIRC, so it's safe not having that line in 4.415:26
ograok15:26
ppisatiogra: i have a dummy snap build that checks that xenial/master-next is sound15:27
mvojdstrand: I added PR to add vim-tiny to core18, you convinced me15:27
zygamvo: locales-all15:27
zygajust sayin15:27
* zyga takes a break from fedora29 for a sec15:27
ppisatiogra: https://launchpad.net/~ubuntu-kernel-team/+snap/xenial-master-next-dummy15:27
mvozyga: hm, hm. yes15:27
ppisatiogra: and i've a bionc too15:28
ppisatiogra: to guard against kernel snap build failures15:28
ograppisati, oh, cool15:29
jdstrandmvo: woohoo!15:29
cachiomborzecki, currently I am updating arch by doing this15:29
cachiohttps://paste.ubuntu.com/p/HTtMVj6cVs/15:29
mvozyga: you are saying with this all our local issues are fixed?15:29
zygamvo: it's a path towards that I believe15:29
cachiolast one I did few minutes ago produced an image which did not start15:29
jdstrandmvo: as a thank you, I think PR 5601 is actually basically ready for review15:30
* ogra hugs mvo 15:30
mborzeckicachio: iirc gce pacakges were installed from aur, you need to build this package15:30
zygaI haven't experimented to say what's next but I suspect _then_ we can mostly get locale to click and apps "just" need to ship .mo files (in general)15:30
jdstrandhttps://github.com/snapcore/snapd/pull/560115:30
jdstrandwhere's the bot?15:30
ogravacation15:30
jdstrandmvo: the socketcall() PR. it has system and base checks now15:30
jdstrandI'd like to test on powerpc, ppc64el and s390x, but I don't have machines for those15:31
cachiomborzecki, I'll make this process manually15:31
jdstrandslangasek: hey, are there porting machines for powerpc, ppc64el and s390x that I could use? I'd need root to install/remove/connect snaps and modify/load security policy15:32
ograjust expense an ibm z-series for under your desk ...15:34
jdstrandslangasek: else, perhaps you (or someone you could direct me to) knows otoh if these architectures use the historic multiplexed socketcall() instead of the individual syscalls15:34
ogra(might need to extend the desk legs by a meter though)15:34
jdstrandogra: hehe15:34
jdstrandpass15:34
mvojdstrand: thanks, I check out the socketcall pr15:36
jdstrandmvo: thanks! fyi, my goal was that where socketcall is known to never be used, drop it (amd64, arm64, armhf), where it is (currently) unknown, keep it (powerpc, ppc64el, s390x) and where it could be dropped (i386), detect that, but keep core16 the same as now15:39
cachiomborzecki, I started a vm and when checking the service status it is not on degraded state15:40
cachiomborzecki, well, it is degraded15:40
jdstrand(and 14.04, since something doesn't work there even though it will have the 4.4 lts kernel and the core snaps should have the new glibc... bit of a mystery, but I didn't dig deep cause I wanted to not remove socketcall anyway)15:40
jdstrandmvo: ^15:40
jdstrandthere* anyway15:41
mborzeckicachio: with the new image?15:41
cachiomborzecki, no15:41
cachiofor some reason I created a new image and it didnt start15:42
cachiomborzecki, I am creating a new one15:42
ograwiggle the (virtual) cable !15:47
ograPriming kernel15:55
ograDetermining the version from the project repo (version-script).15:55
ograThe version has been set to '4.4.0-132.158'15:55
ograSnapping 'pc-kernel' /15:55
ograSnapped pc-kernel_4.4.0-132.158_amd64.snap15:55
ograogra@anubis:~/datengrab/anbox/ubuntu-xenial:master-next$15:55
ograppisati, ^^^15:56
ogra\o/15:56
ograthanks !15:56
ppisatiogra: \o/15:59
jdstrandslangasek: actually, nm, the glibc sources made it clear16:05
=== pstolowski is now known as pstolowski|afk
mvoChipaca: 5606 is one idea about the rate-limiting, sorry, couldn't resist (and a nice break from core18). very much rfc state at this point16:11
Chipacamvo: reading it16:11
Chipacamvo: was about to say somethihng about not being able to stop yourself16:12
Chipaca:-)16:12
mvoroadmr: ^- *if* this gets approval you may get the rate-limiting16:12
mvoChipaca: heh, yeah, I have poor self-control sometimes16:12
roadmr\o/ mvo hehe16:12
mvoChipaca: mostly when it comes to tea and code16:12
* mvo considers dinner16:13
roadmrmvo: yay well let's see if it makes it. If not, no problem, it sounded like a nice idea but is no dealbraker or anything16:13
Chipacamvo: :-D16:13
Chipacamvo: for 'snap download' we can set up the context via a commandline option that feeds image.DownladOptions16:17
Chipacaanyway, time for a break (somebody said tea)16:17
sparkiegeekChipaca: there's tea?16:17
cachiomborzecki, I reverted the last image16:21
cachionow it should work16:21
cachiomborzecki, I'll continue working on this image after lunch16:21
om26ermvo: Hey! in case you missed my replies, pc-kernel=18 didn't work.16:24
om26er(sorry if that appeared twice, irccloud said my first message didn't go out as I had to re identify myself)16:24
* cachio lunch16:26
Chipacasparkiegeek: there was!16:26
Chipacamvo: had you seen https://forum.snapcraft.io/t/weird-error-message-whenever-i-run-the-snap-command/6418?u=chipaca ?16:28
kyrofacachio, any idea why I might be having trouble installing snaps in the armhf autopkgtest runners?16:44
mvoom26er: oh, it did not work? what error do you get? (and yes, I missed the earlier message, sorry for that)16:47
om26ermvo: error: cannot download snap "pc-kernel=18": snap not found16:47
om26erhere my my model assertion https://paste.ubuntu.com/p/R5YFR4GG8s/16:47
mvoom26er: and what output do you get via "snap version"?16:48
mvoom26er: the model looks fine16:49
om26ermvo: I think I missed your "you need the "edge" core"16:49
mvoom26er: aha, ok :) please try with that one16:49
om26ermvo: given linux 4.15 is in beta, shall I ask ubuntu-image to build beta ? (-c beta) ?16:50
mvoom26er: core with the needed support will soon (this week) be available via beta16:51
mvoom26er: yeah, beta is fine16:51
mvoom26er: so just to clarify "snap refresh --edge core; ubuntu-image --channel=beta your-model" hopefully works16:52
om26ermvo: I am doing that on my production machine, hopefully core from edge won't break anything (fingers crossed)16:52
mvoom26er: it should be fine (famous last words)16:53
mvoom26er: but seriously, we test it via spread quite extensively16:53
mvoom26er: but yeah, edge is always a bit risky, if its not super urgent, snapd beta should be available soon(ish), maybe even tomorrow16:54
om26erfyi guys, ubuntu.com is down16:57
om26erand all its sub-domains16:58
roadmrom26er: wfm16:59
om26erok, its back now.16:59
roadmrom26er: I like https://downforeveryoneorjustme.com/ubuntu.com16:59
om26erroadmr: well, I think they just upgraded the website design17:00
om26er(ubuntu.com)17:00
roadmrom26er: oh you may be right and what you saw was the slight glitch while the agents changed stuff in the matrix^W^W^W^W^W^W^Wservers switched to the new payloads17:04
slangasekjdstrand: glad you were able to work it out.  If in the future you do need access to porter hardware with root, we have a shared POWER machine you can get access to (you can ask after it in the Server Team).  z might be harder17:07
om26ermvo: that kind of seems to have worked but `snap list` thinks there is no snap installed.17:13
om26erthe system did boot in kvm17:13
mvoom26er: what does systemctl status snapd.service tells you? is that running?17:16
om26ermvo: yes, its running17:16
mvoom26er: and what does snap changes say?17:17
mvoom26er: any errors in there?17:17
om26ermvo: https://paste.ubuntu.com/p/9cKmnWqG3g/17:18
om26erthat "error" is because I cancelled the installation of that "crossbar" snap.17:18
mvoom26er: oh, no seeding message? that is strange, it should as task 1 install all the stuff in /var/lib/snapd/seed/seed.yaml17:18
om26ermvo: could those be removed because of reboot ?17:18
om26erI rebooted once17:18
mvoom26er: usually not, the only reason why seed is not run is usually that there is a /var/lib/snapd/state.json17:19
mvoom26er: you could remove that file and boot and see what happens, systemctl stop snapd snapd.socket ; rm the file and reboot17:19
mvoom26er: need to leave for some minutes but will read backlog17:19
om26ersure17:20
om26ersays "error: no changes found"17:22
mvoom26er: very strange, what does /var/lib/snapd/seed look like?17:37
om26ermvo: its polluted as I installed another snap which pull core etc17:38
om26erlet me do a clean run again17:38
mvoom26er: this is probably something simple that I'm missing, its just annoying to not know what it is :) (or rather :(17:39
mvoom26er: how urgent is this? I could try to build a model assertion based on your json in my morning17:40
om26ermvo: https://paste.ubuntu.com/p/DZkkzWFd7H/17:45
om26ermvo: sure, not too urgent, so if you could test by tomorrow that would be great.17:46
jdstrandslangasek: ack, thanks17:56
mvoom26er: yeah, let me try this tomorrow18:04
ograplars, FYI, the user tested ok (complains that the app shows daylight though)18:54
ograso feel free to promote to stable18:54
plarsogra: ack, thanks!18:57
plarsogra: not sure where you were talking to the reporter, but I have a new one with 0.18.1 in candidate now too. Seems to work ok for me20:17
plarsogra: and the app probably showed daylight because it was daytime when they started it, if you want to see what it will look like tonight, you need to fast forward through time to get to the evening hours20:18
ograplars, yeah, i told him ... he answered in the ML thread that i linked from the forum post20:20
ograplars, 0.18.1 works fine on both machines here20:25
* zyga preps for the flight in the morning, ttyl21:13
slangasekChipaca: hmm, where do you see that systemd-detect-virt is using fscaps?22:40
Chipaca$ getcap /usr/bin/systemd-detect-virt22:41
Chipaca/usr/bin/systemd-detect-virt = cap_dac_override,cap_sys_ptrace+ep22:41
slangasekI don't see that on bionic, is it xenial-only?22:41
ChipacaI haven't looked at bionic, this machine is xenial22:41
slangasekyeah, seems that's gone in bionic22:42
Chipacastill will have to chase it down for 1622:42
Chipacabut it's probably fine22:42
* slangasek nods22:42
Chipacaslangasek: https://pastebin.ubuntu.com/p/HmbbMBZ8mY/22:43
Chipacafwiw22:44
Chipacain bionic traceroute6.iputils is u+s instead22:47
Chipaca¯\_(ツ)_/¯22:47
Chipacaand g'night :-)22:48

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