/srv/irclogs.ubuntu.com/2018/07/03/#snappy.txt

mupPR snapd#5448 opened: tests: start using the new opensuse image with test dependencies <Created by sergiocazzolato> <https://github.com/snapcore/snapd/pull/5448>02:28
mborzeckimorning05:13
pstolowskimornings07:02
mborzeckipstolowski: hey07:04
zygaHey ho07:05
zygaA bit late today,07:05
zygamvo: I went on a small detour to simplify some code and add tests07:06
zygaI have some misc branches and then more meat07:06
zyga(Rice, soy, ...)07:07
mvozyga: hey, thanks07:07
zygaI was working towards testing all of the patches properly07:08
zygaOut of the interface WIP one07:08
mvozyga: neat07:09
mborzeckimvo: zyga: hey guys07:10
mvohey mborzecki07:12
mborzeckimvo: i'm looking at sysctl manpage, have you checked that sysctl -p <file> with <file> as separate arg, not -p<file> works?07:13
mvomborzecki: the test will check, I have not, let me try that now07:14
mborzeckii have a vague recollection of something being iffy there, but that's from a few years back and with busybox07:14
mvomborzecki: I did a quick test and it seems to be fine07:17
mborzeckimvo: ok :)07:17
mvomborzecki: but the test will also fail if it is not07:17
GargoyleCan you check the confinement of a snap before you install it? I can't see anything in "snap info x" or another obvious snap command.07:26
mborzeckiGargoyle: try snap info --verbose07:26
GargoyleCool. Ta. :-)07:27
mupPR snapd#5447 closed: snap,interfaces: move interface name validation to snap <Core18> <Simple> <Created by zyga> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/5447>07:28
mborzeckimvo: could you take a look at #5434?07:36
mupPR #5434: overlord: introduce InstanceKey to SnapState and SnapSetup, renames <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/5434>07:36
mvomborzecki: sure07:52
mborzeckimvo: ta07:52
=== matteo| is now known as matteo
zygamvo: thanks for that!08:02
mupPR snapd#5449 opened: snap: add helper for renaming slots <Created by zyga> <https://github.com/snapcore/snapd/pull/5449>08:06
zygamvo: that's one of the helpers ^08:07
zygapedronis: could you please look at https://github.com/snapcore/snapd/pull/5443 - it has two reviews already but I wanted to ensure you ack it08:07
mupPR #5443: interfaces: treat "snapd" snap as type:os <Core18> <Created by zyga> <https://github.com/snapcore/snapd/pull/5443>08:07
zygamvo: quick review on https://github.com/snapcore/snapd/pull/544608:11
mupPR #5446: coreconfig: add support for `snap set core network.disable-ipv6` <Created by mvo5> <https://github.com/snapcore/snapd/pull/5446>08:11
mupPR snapd#5445 closed: tests: add artful for sru validation on google backend <Created by sergiocazzolato> <Merged by zyga> <https://github.com/snapcore/snapd/pull/5445>08:15
mvozyga: aha, nice. yeah, initially I wanted to do ipv4/ipv6 but then a) YAGNI b) ipv4 is not as straightforward08:16
=== chihchun_afk is now known as chihchun
* Chipaca waves08:19
mborzeckiChipaca: hey, now that you're here, would you mind taking a look at #5426? :)08:20
mupPR #5426: client, cmd/snap: pass snap instance name when installing from file <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/5426>08:20
Chipacamborzecki: no08:20
zygamvo: it's fine not to do ipv408:21
GargoyleDiscord have both beta and "bleeding edge" versions available, is it possible to get these wired up into the snap?08:21
ChipacaGargoyle: depending on who's doing the snapping, those can be tracks or just the pre-existing risks08:22
GargoyleNot sure what that means! :/08:25
zygaGargoyle: if the people making the snap want to, they can do that with snaps08:25
zygaGargoyle: they can offer a beta channel/track08:26
zygaGargoyle: and an "edge" channel/track08:26
zygaGargoyle: alongside stable, that is08:26
zygaand people installing the snap can choose which one to get08:26
ChipacaGargoyle: you can look at the 'go' snap for (a rather extreme) example08:33
ChipacaGargoyle: you can get anything from 1.6 to devel, in a snap08:34
=== chihchun is now known as chihchun_afk
zygaChipaca: and by look we mean "snap info go"08:36
Chipacazyga: or gnome software, or https://snapcraft.io/go (and click on 'all versions')08:36
GargoyleThat's a lot of options! :D08:37
zygaChipaca: I wonder if we will ever need to do paging on "snap info" ;-)08:37
zygaChipaca: hum08:38
zygaChipaca: why is 1.10 above 1.11?08:38
pedronismborzecki: I did a pass over #543408:38
mupPR #5434: overlord: introduce InstanceKey to SnapState and SnapSetup, renames <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/5434>08:38
zygaChipaca: do we need number sorting there?08:38
mborzeckipedronis: thanks!08:38
zyga(actually the ordering of tracks is a bit weird in general)08:38
Chipacazyga: there is no order to tracks yet08:38
pedroniszyga: we don't know how to sort them,  last time we had a discussion with Chipaca and other store people, we need a sort order defined in the store08:39
Chipacazyga: there probably will be at some point, but that point is still in the future :-) AFAIK at least08:39
zygaChipaca: should we version sort them "just in case"08:39
pedronisthe result we get from the store are sorted08:39
zygaaha08:39
zygaI see08:39
Chipacawell08:39
pedronisexcept they are lexically sorted atm08:39
Chipacathey are _ordered_, which is more important08:39
zygare-sorted by us or by the store?08:39
Chipaca:)08:39
pedronisno, that's the point08:39
Chipacaif snapd is sorting them, it shouldn't be08:40
zygaok08:40
Chipacasnapd gets them with a defined order and should leave it alone08:40
pedronisthere's a store order (is just not a good one)08:40
pedronisbut we should't try to fix that08:40
pedronisit's up to the store08:40
Chipaca(to answer whether snapd sorts them i'd need to look at the code)08:40
zygaagreed08:40
ChipacaOTOH, snapcraft.io and 'snap info' show a different order08:40
Chipacaso that's a separate issue i'm chasing down08:40
Chipaca(it just so happens to be a nicer order! grrr)08:41
Chipaca(for go, on snapcraft.io)08:41
mborzeckipedronis: yeah, the non-test code setting InstanceKey in either snapsup or snapst lives here atm https://github.com/bboozzoo/snapd/commits/bboozzoo/parallel-install-overlord08:42
=== chihchun_afk is now known as chihchun
Chipacapedronis: ETOOMANYCHANNELS08:50
Chipacaer08:50
Chipacamborzecki: ^08:50
Chipaca:)08:50
mborzeckiheh08:51
zygapretty please https://github.com/snapcore/snapd/pull/5449 :)08:54
mupPR #5449: snap: add helper for renaming slots <Created by zyga> <https://github.com/snapcore/snapd/pull/5449>08:54
zygait's short and test code08:54
zygamvo: thank you for the update, two more comments on 544608:59
* zyga coffee08:59
mupPR snapd#5450 opened: store: keep all files with link-count > 1 in the cache <Created by mvo5> <https://github.com/snapcore/snapd/pull/5450>09:11
mborzeckipedronis: pushed a fix to #5434, i've tweaked the error message a little, added some tests09:18
mupPR #5434: overlord: introduce InstanceKey to SnapState and SnapSetup, renames <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/5434>09:18
zygamvo: one last comment on 5446,09:27
pstolowskidog emergency, need to go to vet09:29
=== pstolowski is now known as pstolowski|vet
mvozyga: thanks for your comment. this is a bit tricky, if things get removed sysctl -p won't work. on removal the system default is used. we can make this explicit but it has the side-effect that there will always be a sysctl file created even with an empty config09:30
mupPR snapd#5451 opened: interfaces: honor static attributes when reloading conns <Created by stolowski> <https://github.com/snapcore/snapd/pull/5451>09:32
zygapstolowski|vet: interesting, reading09:37
mvozyga: I commented, I can rework the code accordingly09:40
mvozyga: I think it makes sense, will do so in a wee bit09:40
zygathank you, looking09:40
zygamvo: I commented as well, let me know where you want to take this09:43
zygamborzecki: replied on your comment on RenameSlot09:45
ogra_mvo, not sure you have noticed, ppc64el and s390x daily core snap builds failed (looks like a gpg error)09:47
mvozyga: thanks, I updated the code now, I think we are fine with EnsureDirState and a bit of extra smarts, I pushed a new revision, please let me know if I overlooked anything but I think we should be fine now09:51
mvoogra_: you mean the builds in https://launchpad.net/~snappy-dev/+archive/ubuntu/edge/+packages?field.name_filter=snapd&field.status_filter=&field.series_filter= ?09:52
ogra_mvo, https://launchpad.net/~snappy-dev/+snap/core/+build/267041 and https://launchpad.net/~snappy-dev/+snap/core/+build/26704209:53
mvoogra_: they are flaky on these arches but not consistently  failing? or am I looking at the wrong place maybe?09:53
mvoogra_: aha, the core snap, let me check09:53
ogra_it is the first build error i have seen in a while09:53
* mvo looks09:53
ogra_noit flaky usually ...09:53
cjwatsonogra_,mvo: Those are transient failures due to known keyserver network chaos09:53
ogra_*not09:53
cjwatsonjust retry09:53
ogra_ah, great09:54
mvothanks cjwatson09:54
ogra_yeah, i noticed a ton of livefs mails too09:54
cjwatsonAIUI somebody discovered that you could upload a gigabyte key to the keyserver network and have it kill stuff09:54
cjwatsonor something along those lines09:54
ogra_lol09:54
mvo*cough*09:54
cjwatsonthe livefs stuff is different and I'm investigating09:54
ogra_ah, k09:54
mupPR snapd#5428 closed: devicestate: fix panic in firstboot code when no snaps are seeded <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/5428>09:56
zygamvo: looking10:02
zygamvo: it is good10:06
zygamvo: I suggested one more tweak to make it more clear why this happens10:06
zygabut logic wise it is correct10:06
zygasmart way of doing that btw :)10:06
zygacjwatson: so gpg network is the new bittorrent?10:08
cjwatsonhopefully not ...10:08
mvozyga: sure thing, thank you10:19
popeyniemeyer: any chance we can bump the largest post size from 32000 to ~40000 on discourse. I'm trying to migrate a large doc to the site, but it's ~35K10:20
niemeyerHeya10:22
niemeyerWhich doc is that?10:22
popeyhttps://github.com/snapcore/snapd/wiki/REST-API10:23
popeyit's the last one still on the wiki10:23
popeywell, last one linked on the front page of the wiki10:24
niemeyerpopey: I think we should break it down a bit on the way in, even so we can read it reasonably10:24
niemeyerpopey: IIRC I provided an outline of how to break it down in the thread where we discuss the doc site10:25
popeythat seems reasonable.10:25
niemeyerpopey: We don't need to break it down every single section, but rather by area of interest or something similar10:26
popeyRobert seems to "own" that doc. I'd rather he broke it up and kept owning it10:26
niemeyerpopey: Thanks for the work on that, btw10:26
popeyI'll drop Robert a mail as he's in another TZ10:27
popeythanks10:27
niemeyerpopey: np, and if you want I'd be happy to work with you on that migration.. it's been pending for too long10:31
zygamborzecki, mvo: can you please look at https://github.com/snapcore/snapd/pull/544910:50
mupPR #5449: snap: add helper for renaming slots <Created by zyga> <https://github.com/snapcore/snapd/pull/5449>10:50
zygaI have a pair of follow ups on top10:50
zygahmm10:52
zygajournalctl fails to restart https://www.irccloud.com/pastebin/w7dISItk/10:52
zygahave you guys seen that before ^10:52
zygajournalctl failing to _restart_ ?10:53
* zyga -> walk10:57
mborzeckizyga: yes, seen it before10:57
niemeyermvo: Heya11:20
niemeyermvo: One question on spread#6111:20
mupPR spread#61: client: fix dialOnReboot() if the remote does not reply <Created by mvo5> <https://github.com/snapcore/spread/pull/61>11:20
mborzeckiparallel installs will be fun to merge/resolve conflicts :/11:22
mupPR snapd#5452 opened: store, overlord/snapstate: introduce instance name in store APIs <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/5452>11:46
mborzeckipedronis: Chipaca: probably something for you guys ^^11:46
mborzeckiit's very likely this will conflict with changes i wanted to open for review after landing #543411:47
mupPR #5434: overlord: introduce InstanceKey to SnapState and SnapSetup, renames <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/5434>11:47
mborzeckipedronis: you've seen part of the store changes 2-3 weeks ago, most of it is the same patches just updated to account for downloads + some extra adjustments11:50
zygare11:50
zygaMATCH mystery again https://www.irccloud.com/pastebin/p8HCgyXK/11:51
pedronismborzecki: well, I should probably land my other PR and then it will likely conflict11:53
mborzeckipedronis: no worries, i'll keep resolving the conflicts as they come11:54
zygamvo: can you please review https://github.com/snapcore/snapd/pull/5449 quickly12:24
mupPR #5449: snap: add helper for renaming slots <Created by zyga> <https://github.com/snapcore/snapd/pull/5449>12:24
mborzeckiChipaca: did you manage to come up with anything regading 'the mystery of MATCH' yesterday?12:26
Chipacamborzecki: no, i didn't carry on digging12:26
Chipacafalling too far behind with warnings12:27
mborzeckiack12:27
zygathank you mborzecki  :)12:30
* zyga looks at the diff from the upcoming branch and is very happy12:30
mupPR snapcraft#2175 opened: ci: disable osx tests until a new pyyaml is released <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/2175>12:33
mvozyga: sure, I have a look12:34
mvozyga: match mystery> I think your idea to hexdump the output we got is interessting, maybe there is some whitespace mangling going on12:35
mborzeckimvo: travis hides certain characters in the output log, though i'm not sure if the same applies to the raw log12:36
Chipacamborzecki: mvo: I did 'od -a' the file fwiw12:41
Chipacaand it was fine12:41
Chipaca(i thought i'd told you this yesterday012:41
Chipaca)12:41
Chipacawhy haven't i had lunch yet?12:43
Chipacaalso, where has my morning gone12:44
* Chipaca scrambles to get lunch12:44
zygamvo: I honestly don't believe my theory anymore12:45
zygamvo: I bet I will be surprised by the _actual_ issue12:45
mupPR snapd#5449 closed: snap: add helper for renaming slots <Created by zyga> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/5449>12:57
zygajoining13:01
mupPR snapd#5453 opened: interfaces: tweak tests to have less repetition of "core" and "ubuntu… <Created by zyga> <https://github.com/snapcore/snapd/pull/5453>13:03
zygamvo: ^ the small refactor for the disconnect/connect resolve with snapd awareness13:06
zygathe patch on top of this one is the main part of the WIP branch that was still pending13:06
zygaso very close with getting all of that out13:06
zygaI will prepare a branch that is derived from your integration branch where I have the new patch set (from master) and see how things are going13:06
zygaI didn't manage that last night, sorry13:07
Chipacacachio: the Software crash, is that in 18.04?13:12
mvoChipaca: artful iirc13:12
mborzeckizyga: hmm https://paste.ubuntu.com/p/CNqt2p6gj8/13:25
zygaoh13:26
zygaweird13:26
zygaah, sorry13:26
zygaI didn't read this righ13:26
zyga*right13:26
zygathis is a bug13:26
zygacaused by >1 instance of "change to this directory and then back"13:27
zygawithout handling the error by going to the void13:27
mborzeckiheh lucky me13:27
zygais this new?13:27
Chipacazyga: why is this a bug?13:27
Chipacait's in /tmp13:28
mborzeckizyga: dk, tried to figure out why shellcheck in tests/unit/go does not work13:28
zygaChipaca: because the correct behavior was (and it worked before) to go to /var/lib/snapd/void13:28
Chipacazyga: ahhh13:28
Chipacazyga: maybe /var/lib/snapd/void doesn't exist?13:28
zygaChipaca: yes but the /tmp inside the snap is different and cannot contain what is on the host (it's a private tmp)13:28
zygaChipaca: oh, that's interesting13:28
zygadoes it mborzecki /13:28
mborzeckizyga: it does drwxr-xr-x 2 root root  4096 Jul  3 12:36 void13:29
mborzeckitry it locally13:29
zygathe permissions are wrong13:29
zygaanyway, that's something to add to the queue13:29
zygaprobably a fallout of something that happened recently13:29
mborzeckirunning it outside of tmp at least once makes the problem go away13:30
zygathis implies the problem is in the first part of the setup code13:30
zygamvo: https://github.com/snapcore/snapd/pull/5446#issuecomment-40215514713:32
mupPR #5446: coreconfig: add support for `snap set core network.disable-ipv6` <Created by mvo5> <https://github.com/snapcore/snapd/pull/5446>13:32
=== pstolowski|vet is now known as pstolowski
mvozyga: yeah, just noticed and looking13:34
mvozyga: fixed, it was just that the output of sysctl has some extra whitespace13:36
mvozyga: did you tag all PRs that help with the iface renames as core18?13:37
mvozyga: if so, I will merge and run them now against core1813:37
zygano, not yet, hold on13:38
zygaI didn't open all of them due to stacking13:39
mborzeckizyga: https://paste.fedoraproject.org/paste/4hQSsupdzQNcvvbwpZlhUA makes it go away13:40
cachioChipaca, it is on 17.1013:40
Chipacajust finished installing it13:40
Chipaca(because why not)13:40
mborzeckizyga: or https://paste.ubuntu.com/p/yWyRj3Pqqj/ no clue why fpaste is so slow today13:42
Chipacacachio: and you start 'ubuntu software', and search for 'snapd', and the UI crashes?13:42
mborzeckizyga: why does it even bother chdir()ing in setup_private_mount() while it done so in sc_populate_mount_ns() already13:43
mvozyga: no worries, I think I found the relevant ones13:46
zygaI haven't opened all of them13:46
zygaI actually wanted to ask you13:46
zygawell, tell you13:46
mvozyga: aha ok13:46
zygaI'll create a branch from your working one but replace the older versions of the patches as I said in the standup13:47
zygait's fine to test what you made, let's where it gets13:47
zygabut I want to have a clean picture of the patches that are not in master13:47
zyga(a list that shrinks rather than grows013:47
mvozyga: ok, it might be easier to use core18-all-fixes-all-tests-213:50
mvozyga: which is a clean master with just all the core18 PRs13:50
zygasure, I'll use that13:50
pstolowskicachio: can #5391 land?13:50
zyganice13:50
mvozyga: and it also enables all core18 tests13:50
mupPR #5391: tests: simplify econnreset test <Created by sergiocazzolato> <https://github.com/snapcore/snapd/pull/5391>13:50
cachiopstolowski, yes13:53
pstolowskithanks13:53
mupPR snapd#5391 closed: tests: simplify econnreset test <Created by sergiocazzolato> <Merged by stolowski> <https://github.com/snapcore/snapd/pull/5391>13:54
zygapedronis: thank you for the comments! I'm on that now13:57
zygamborzecki: we need to rework more code I'm afraid, to get the right "way" of handling that error13:58
mborzeckizyga: i can open a PR with http://paste.ubuntu.com/p/XvBhhFSMk8/ which resolves the issue, the question is why it tries to chdir into the old cwd while doing that, since it's already being restored at the end14:00
mvopedronis: zyga: core18 meeting14:01
zygamborzecki: later14:01
zygaack14:01
mupPR snapd#5369 closed: overlord,interfaces,cmd: WIP early support for interfaces on core18 <Core18> <Created by zyga> <Closed by zyga> <https://github.com/snapcore/snapd/pull/5369>14:07
mupPR snapd#5453 closed: interfaces: tweak tests to have less repetition of "core" and "ubuntu… <Created by zyga> <Merged by zyga> <https://github.com/snapcore/snapd/pull/5453>14:26
zygamvo: thank you for the review, one more for implicit operations this time ^14:26
zygawell v14:26
zyga545414:27
mupPR snapd#5454 opened: interfaces: prefer "snapd" when resolving implicit connections <Core18> <Created by zyga> <https://github.com/snapcore/snapd/pull/5454>14:27
Chipacacachio: how do I reproduce the crash?14:30
cachiojust open ubuntu software14:31
Chipacacachio: done14:31
cachioand search "snapd"14:31
Chipacacachio: done14:31
Chipacacachio: … and the crash?14:31
mvozyga: thanks, looking14:32
cachioChipaca, did it return results?14:33
cachiofor me, it closed the app14:33
mvozyga: also, please share the run results if you run the full tests with your PRs against core18, maybe there is some stuff that I need to tweak14:33
Chipacacachio: yes14:33
Chipacacachio: with what version of snapd?14:33
cachiotry again14:33
cachioI try with the 2.38.*14:33
cachioand with 2.33.114:33
cachio2.28 sorry14:33
Chipacacachio: this is snapd from the package, yes?14:34
cachioyes14:34
Chipacacachio: I get 2.32.9+17.10 from the archive14:34
Chipacacachio: where do i get 2.28 from?14:34
zygamvo: yes, I will share the results, I need to spend some time to prepare the branch14:34
cachio1 sec14:35
Chipacacachio: ah, i can get 2.28.5 from artful/main (as opposed to artful-updates/main)14:35
cachioI have 2.28.5+17.1014:35
Chipacacachio: yes, taht's the one in artful/main (you've not updated)14:36
ogra_mvo, zyga i recently see this (not sure if it was there before) when starting a core 16 edge image on my pi's https://paste.ubuntu.com/p/gGKBBSG4nB/ ... the system seems to behave normally but it prints in red during boot so it is pretty noticeable14:36
Chipacacachio: apt update && apt upgrade should get you 2.32.914:36
Chipacacachio: in any case, it worked ok with both14:37
Chipacacachio: also with core from edge14:37
Chipacaso I don't know what I'm looking for14:37
cachioChipaca, it is failing here14:38
cachioperheps it is a different version of ubuntu software14:38
cachiodid you search for something else and then "snapd"14:39
cachio?14:39
cachioChipaca, I just got distro_install_package google-compute-engine14:39
cachiosorry, seg fault14:39
zygaogra_: that's very interesting14:40
zygacan you provide journal data from that service?14:40
cachioChipaca, [  173.948719] pool[1815]: segfault at 0 ip 00007fdea83ec1f0 sp 00007fde6effc7e8 error 4 in libglib-2.0.so.0.5400.1[7fdea83b2000+111000]14:40
cachioChipaca, gnome-software 3.26.114:41
zygaogra_: thank you for reporting this14:41
mupPR snapd#5455 opened: many: assorted shellcheck fixes <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/5455>14:42
Chipacacachio: how much memory in your vm?14:42
cachio2GB14:43
Chipacacachio: can you try with 4?14:43
cachiosure14:43
Chipacacachio: gnome-software is that same version here14:43
Chipacacachio: it doesn't crash here with 2 either though14:45
cachioChipaca, weird, I'll update snapd and retry14:46
cachioChipaca, perhaps we are using different artfull images14:48
Chipacacachio: I'm just running it with kvm after installing it from the artful desktop iso, so yeah14:50
Chipacacachio: how are you running yours?14:50
cachiosame, but using virtual machine manager14:51
zyga"options matteR"14:53
Chipacazyga: -march=broken14:53
cachioChipaca, after upgrade all the packages the ubuntu software does not crash anymore14:54
Chipacacachio: i'm not sure if that's a win or a lose14:54
cachiodid you upgrade before trying to reproduce it?14:55
zygaChipaca: virtio/accel all kinds of visual magic nobody knows how to run by hand14:56
mupPR snapd#5411 closed: many: remove core-support interface <Core18> <Created by zyga> <Closed by zyga> <https://github.com/snapcore/snapd/pull/5411>14:56
Chipacacachio: I think I checked the "download ugprades while installing" checkbox14:57
Chipacacachio: should I try again without that?14:57
Chipaca(i then also upgraded, and then tried with snapd from edge)14:57
Chipaca(i didn't understand exactly what you're trying to do so i covered most things)14:58
Chipacai can easily re-install it without the upgrades checkbox14:58
cachioChipaca, I don't know which is the error, if we need to fix something og it is already fixed :(14:58
Chipacacachio: when you installed, did you check the 'download upgrades' button?14:59
cachiono14:59
Chipacai'll try without that14:59
cachiobasically, I installed as clean as possible14:59
cachiothen I reproduced the error15:00
Chipacacachio: and what is the error blocking us from doing?15:00
cachioChipaca, well, for sru we have a test which searches "snapd"15:00
cachioand then install test-snapd-tools15:01
cachioand it was failing15:01
Chipacacachio: but for the sru test you've upgraded snapd to the sru version, right?15:01
cachioyes15:01
cachioit is also happening for 2.33.115:01
cachioI just upgraded snapd15:01
cachionot all the packages15:02
Chipacacachio: so it's not happening for you with 2.28.5?15:05
ogra_pedronis, hmm, should the connections: keyword in gadget.yaml work with the snapd in beta ? ubuntu-image gets me:15:06
ogra_gadget.yaml parse error: Invalid gadget.yaml @ connections15:06
cachioChipaca, yes15:06
Chipacacachio: yes it isn't?15:06
cachioit happes15:06
cachiohappens15:06
Chipaca15:06
Chipacacachio: so again, i ask, what are we testing15:06
cachiowith 28.5 and 33.115:06
cachioChipaca, we test the integration between ubuntu software and snapd15:07
Chipacacachio: but you're not testing the SRU package15:07
cachioyes15:07
cachioChipaca, let me explain15:07
Chipacaplease because I'm losing it15:07
pedronisogra_: yes,   should work, are you sure ubuntu-image is using the right snapd?15:07
Chipaca(fresh reinstall, this time no updates selected, no crashes here)15:07
cachiowhat I did is: I installed the snapd from proposed in a vm15:08
cachioI searched snapd in ubuntu software and I saw the crash15:08
pedronisogra_: or   ubuntu-image does its own strict parsing? in which case it needs fixing15:08
ogra_pedronis, no idea, which one should it use ? the image itself is built with --channel edge, the machine executing ubuntu-image runs 16-2.34~pre1 from beta15:08
cachiothen in another vm which was totally clean15:08
ogra_ah, i didnt think u-image does parsing at all and relies on snap prepare-image15:09
cachioChipaca, I did the same with without the sru package to check if it was a regression15:09
pedronisogra_: well it needs to parse volumes15:09
ogra_oh, indeed15:09
cachioChipaca, and I reproduced the error with 28.515:09
pedronisbut indeed I didn't think it would do strict parsing15:09
ogra_yeah, that m,ight be it then15:09
cachioChipaca, so, it wasn't a regressions15:09
cachioChipaca, that's it15:09
Chipacacachio: ok15:09
pedronisogra_: in which case, can you open a u-i bug?15:09
Chipacacachio: so, I have again not been able to reproduce the issue15:10
Chipacajust in case, I'll grab the snapd from proposed15:10
ogra_pedronis, yeah, i'll look into it and file a bug15:10
cachioChipaca, it is ok, it is the same I did15:10
cachioChipaca, I suppose there is something else causing this15:11
cachioanother package15:11
cachioand perhaps you are using an new iso15:11
cachioand I am using an old one15:12
Chipacacachio: 17.10 doesn't have more than one iso15:12
Chipacaafaik15:12
Chipacacachio: just tried with snapd from proposed, also no crash15:13
cachioChipaca, in the clean image, with no upgrades?15:14
Chipacacachio: yes15:15
Chipacacachio: can you strace the process?15:15
Chipacacachio: that is: start it, then check its pid and use strace -f -p <that pid>15:16
Chipaca(just stracing ubuntu-software doesn't work)15:16
cachioChipaca, sure15:23
mupPR core#92 opened: Remove core-support plug <Created by zyga> <https://github.com/snapcore/core/pull/92>15:31
zygamvo: I created https://github.com/snapcore/core/pull/92 and I'm testing a corresponding change to snapd master15:32
mupPR core#92: Remove core-support plug <Created by zyga> <https://github.com/snapcore/core/pull/92>15:32
zygaI will just drop the plug from the core snap15:32
zygaCC jdstrand, pedronis  ^15:32
cachioChipaca, https://paste.ubuntu.com/p/HzzcTp3cWz/15:34
cachio40415:34
Chipaca[pid  1931] sendto(20, "GET /v2/snaps/(null) HTTP/1.1\r\nH"..., 177, MSG_NOSIGNAL, NULL, 0) = 17715:35
Chipacathat looks a lot like a bug in gnome software or libsnapd-glib115:35
cachioyes15:35
cachiobecause if I search another string it works15:35
Chipacacachio: but if you upgrade everything (not to proposed, just regular artful-updates) the bug goes away?15:36
cachioChipaca, yes15:36
cachioChipaca, I just realized that when you could not reproduce the error15:37
Chipacacachio: so, I'd drop robert ancell an email about this, but it's probably known and fixed already15:37
Chipacacachio: I suggest we update the SRU testing to say we upgrade to whatever's in -updates before trying snapd from -proposed15:38
Chipacabut I don't know if that's kosher15:38
Chipacamvo: would that be ok?15:38
mvoChipaca: yes, absolutely fine15:40
mvoChipaca: and sensible15:40
mvozyga: I'm dying of curiosity, how is the core18 main test run going?15:41
zygamvo: I haven't started everything-at-once yet, I'm still running partial checks for the things I'm changing15:41
Chipacazyga: running like the little lambs in https://www.youtube.com/watch?v=WQO-aOdJLiw15:41
zygamvo: ~3 hours from now realistically (I want to break now to take a walk before it's dark)15:41
mvozyga: ok, thanks for the update .)15:42
* mvo hugs zyga15:42
mvozyga: sorry for being so impatient15:42
zygano worries, it's good to check :)15:42
zygamvo: I'm running a full main run with snapd modified to kill core support15:49
zygaclarification: with snapd modified to remove the core-support-plug from the core snap15:49
mupPR snapd#5456 opened: snapstate: refuse to remove bases or core if snaps need them <Created by mvo5> <https://github.com/snapcore/snapd/pull/5456>15:50
* cachio lunch15:51
zygamvo: https://github.com/snapcore/snapd/pull/5456/files#r19986043315:55
mupPR #5456: snapstate: refuse to remove bases or core if snaps need them <Created by mvo5> <https://github.com/snapcore/snapd/pull/5456>15:55
zygamvo: mainly to put the logic about "I need this" in one clear spot15:55
zygaand not all over the place15:55
zygathe first one is giving you simple hints (all the snaps with those names are related to myself)15:55
zygathis would return the base snap15:55
zygabut also, perhaps, default content provider or even the one that is connected right now15:56
zygathe second would look at a real snap info and say if this is ok to remove15:56
zygaI suspect they may need snap state at that time15:56
zyga(I didn't include that in my comment on the PR)15:56
zygaso that we can check connections and what not15:56
zygajust a though, I'll go for a walk now because it will be getting dark soon and woods are not like a park15:57
=== chihchun is now known as chihchun_afk
zygamvo: still testing, got one error that spewed megabytes of journal that didn't say much, re-testing that one to see if it is something real16:30
zygamvo: please review https://github.com/snapcore/core/pull/92 if you can16:30
mupPR core#92: Remove core-support plug <Created by zyga> <https://github.com/snapcore/core/pull/92>16:30
zygamvo: I will really really go in ~30 minutes because $life tasks16:31
mvozyga: thanks for the upate16:33
zygamvo: I added a patch that does the removal snapd-side, if it works I will open another PR16:35
zygamvo: can we land https://github.com/snapcore/snapd/pull/544316:37
zygaI think we can now16:37
mupPR #5443: interfaces: treat "snapd" snap as type:os <Core18> <Created by zyga> <https://github.com/snapcore/snapd/pull/5443>16:37
zygamvo: and we need a review on https://github.com/snapcore/snapd/pull/545416:37
mupPR #5454: interfaces: prefer "snapd" when resolving implicit connections <Core18> <Created by zyga> <https://github.com/snapcore/snapd/pull/5454>16:37
mvozyga: ok16:38
Son_Goku:/16:39
Son_Gokuthis bug is really bothering me16:40
Son_GokuI really don't know what causes this16:40
Son_Gokuand the worst part is, it's pretty easily reproducible16:40
zygaSon_Goku: I have no idea, I have a F28 system to play with but I'm deep in core18 work that actually  a prerequisite for fedora snap that works without pulling in ubuntu16:41
Son_Gokuyeah16:41
zygaSon_Goku: the work is also time boxed as we are running towards a commercial deadline16:41
Son_Gokuoh?16:42
zygaSon_Goku: I will devote way more time to fedora after this16:42
zygaSon_Goku: just making core18 available16:42
mvoSon_Goku: how is it reproducible?16:42
zygafor customers that want that16:42
zygaSon_Goku: is it _any_ snap that triggers this?16:43
Son_Gokuzyga, the launching of a snap seems to do it16:44
Son_GokuI triggered it with ohmygiraffe16:45
zygaSon_Goku: thanks16:46
zygawell16:46
zygacan you check if hello-world does that too?16:46
zygait's shorter to strace to eventually find out what the problem is16:46
Son_GokuI'll check later in the day16:47
Son_GokuI'm unfortunately busy at the moment16:47
zygano worries, thank you for the information16:48
cachiozyga, the documentation for spread images is described on this PR16:54
cachiohttps://github.com/snapcore/spread-images/pull/1316:54
mupPR spread-images#13: Adding base images and test dependencies including new documentation <Created by sergiocazzolato> <https://github.com/snapcore/spread-images/pull/13>16:54
* zyga hugs cachio :-)16:56
cachiozyga, it is first version16:56
cachiozyga, open to rewrite it if needed :)16:57
zygaI will read it16:57
cachiothanks16:58
ahoneybunI'm seeing an issue with snapd.service that it has issues starting. So it is holding the boot process.17:00
ahoneybunI can provide log files.17:00
zygaahoneybun: please report all you know in a forum thread on forum.snapcraft.io17:00
zygaand coordinate here for more feedback as we review17:01
zygamvo: I tested master with this extra patch https://github.com/zyga/snapd/commit/366ca43e3149db942207e6e81a0b17fe61f80f0c17:03
zygamvo: and this test change https://github.com/snapcore/snapd/compare/master...zyga:feature/lessen-use-of-core-support?expand=117:03
zygaI will propose the test change in a moment,17:03
zygathis will let us land the core change with confidence (dropping core-support-plug from core{,16}17:04
zygamvo: I haven't done that yet but we can also drop it from core18 if it is there, I haven't checked yet17:04
zygaI'm running one more test on this upcoming branch in isolation (without the suppor patch that removes core-support-plug programmatically)17:05
zygajdstrand: briefly, my mind thought about having compiler.apparmor.net that exposes ultra-fast, cached apparmor_parser17:10
zygaespecially since it would have a small (<<~1M) set of profiles17:10
zygathat could be cached efficiently17:10
zygaand it would probably scream from RAM on a modest server17:11
zygait could reply with some status code if overloaded (fallback to local)17:11
zygabut on slow machines it would meaningfully speed things up17:11
mupPR snapcraft#2175 closed: ci: disable osx tests until a new pyyaml is released <Created by sergiusens> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/2175>17:49
mvozyga: core18 does not have this plug18:50
zygamvo: that's great18:54
zygatests passed, opening PR18:54
zygamvo: one more, I hope it passes18:56
mupPR snapd#5457 opened: many: lessen the use of core-support <Core18> <Created by zyga> <https://github.com/snapcore/snapd/pull/5457>18:57
* cachio afk19:04
twobitspriteI'm trying to boot up the KVM/Qemu image and it stalls booting right after "Started network service" and ssh is just reseting connection... it's been sitting there like that for about 10 minutes...20:58
twobitspriteErr... sorry, I thought this channel was dedicated to Ubuntu Snappy Core, not the whole snappy project :P21:01
twobitspriteIs there a better place to ask about Ubuntu Snappy?21:02
mupPR snapcraft#2174 closed: build_providers: inject snaps when running from a snap <Created by sergiusens> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/2174>21:16
mupPR snapd#5458 opened: tests: check catalog refresh before and after restart snapd <Created by sergiocazzolato> <https://github.com/snapcore/snapd/pull/5458>22:03

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