/srv/irclogs.ubuntu.com/2017/06/22/#snappy.txt

mupPR snapd#3511 opened: tests: shellcheck improvements for unit and completion tests <Created by sergiocazzolato> <https://github.com/snapcore/snapd/pull/3511>01:32
mupPR snapcraft#1375 opened: tests: allow to filter tests in docker <Created by elopio> <https://github.com/snapcore/snapcraft/pull/1375>02:47
ppisatiguys, is there a way to use a ppa in snapcraft?08:13
Chipacappisati: https://forum.snapcraft.io/t/how-to-add-a-custom-ppa-to-snapcraft/266/408:19
Chipacappisati: short version: no08:19
Chipacappisati: longer version: mmmm... no08:19
Chipaca:-p08:19
* ppisati cries in a corner...08:24
mvoChipaca: fwiw, I think I found the issue with the cannot update namespace error we talked about yesterday08:35
mvoChipaca: I think the hardest part is fixing the tests :/08:36
mvoChipaca: anyway, I'm on it08:36
mvoI think08:36
* Chipaca hugs mvo08:37
* Chipaca hugs ppisati too08:37
* Chipaca goes back to beating streaming json chunks into submission08:37
mvoChipaca: enjoy ! sounds like more fun than fighting tests08:37
mvoin the heat08:37
ChipacaI cannot confirm nor deny08:38
Chipacait's actually cooler today08:38
mvoChipaca: ha! lawyer?08:38
Chipacaovercast08:38
Chipacamvo: :-) (also: no)08:38
mvoChipaca: lucky you, its blazing hot here, hottest day of the year according to the forecast08:38
pstolowskifgimenez, hey, any idea about 'jq command not found' error on travis? afaict we always install this as a dependency?08:49
fgimenezpstolowski: nope, do you have a link?08:50
pstolowskifgimenez, https://travis-ci.org/snapcore/snapd/builds/244895313?utm_source=github_status&utm_medium=notification08:51
fgimenezpstolowski: it failed on ubuntu-core, you need to install the snap for it to work there, as in https://github.com/snapcore/snapd/blob/master/tests/main/auto-refresh/task.yaml#L408:54
pstolowskifgimenez, ah, thank you. let me try that08:58
mupPR snapd#3512 opened: cmd: rework how cmd.InternalToolPath() works to ensure the right tool is used <Created by mvo5> <https://github.com/snapcore/snapd/pull/3512>09:07
* Chipaca throws hands up in despair09:21
Chipacamvo: it was going to be the hottest day, but then it changed its mind09:21
Chipacait went with option B, thunderstorm09:22
* pedronis early lunch + errands09:32
* Chipaca wishes he could select on a reader and a writer09:34
mvoChipaca: when you had the issues with snap-update-ns, did you had a reliable way to reproduce?10:14
mvoChipaca: or was it happening at random for you? in manual testing or in spread as well?10:14
Chipacamvo: not in spread10:14
Chipacamvo: it'd happen when running snapd from master without installing all the bits from master, some of the time10:14
Chipacamvo:10:16
Chipaca017-05-24 12:02:59 <Chipaca>   - Remove security profile for snap "http" (x1) (cannot setup mount for snap "core": cannot update mount namespace of snap "core": cannot update preserve10:16
Chipacad namespace of snap "core": cannot update snap namespace: not implemented)10:16
Chipaca2017-05-24 12:03:22 <zyga>      Chipaca: you are using snapd from master but the rest from package10:16
Chipaca2017-05-24 12:03:31 <zyga>      Chipaca: just buind and install snap-update-ns10:16
Chipaca2017-05-24 12:03:35 <Chipaca>   ah ok10:16
mvoChipaca: ta10:17
* Chipaca gives up and goes for lunch11:27
mupPR snapd#3513 opened: asserts: open up and optimize Encoder to help avoiding unnecessary copying <Created by pedronis> <https://github.com/snapcore/snapd/pull/3513>11:46
pedronisit seems either there's a codecov bug or there's some code with non determinstic tests resulting in non-deterministic coverage12:18
pedronisI see coverage of interfaces/sorting.go for example going up and them depending on runs12:18
pedroniss/and them/and down/12:18
mvojdstrand: niemeyer suggests "seccomp/bpf/*.src for the source files and "seccomp/bpf/*.bin"  for the binary files in the seccomp-bpf review. if you are happy with this as well, I will make it so. WDYT?12:51
Chipacapedronis: standup?13:05
niemeyermvo: Can you quickly jump back in the hangout for us to cover a detail in the bpf pr?13:21
mvoniemeyer: sure, joining13:21
jdstrandmvo: I commented in the pr a moment ago13:26
jdstrandmvo: https://github.com/snapcore/snapd/pull/3431#discussion_r12350328013:27
mupPR snapd#3431: interfaces: simplify snap-confine by just loading pre-generated bpf code <Critical> <Created by mvo5> <https://github.com/snapcore/snapd/pull/3431>13:27
popeymorphis: do you know when the migration of snap-xdg-open will land? I have an app which depends on external links which breaks on non-ubuntu13:30
morphispopey: I would guess 2.2813:35
niemeyerjdstrand, mvo: Replied the reply13:38
niemeyerIRC-as-a-notification-service13:38
niemeyerIaaNS13:38
jdstrandmvo: that said, I didn't think that EnsureDirState() would be cool with a dir in there, but I see the seccomp code passes a glob that does not match 'bpf', so seems ok13:38
jdstrandhehe13:38
mvojdstrand, niemeyer: so it would be /var/lib/snapd/seccomp/bpf/*.{src,bin}  (AIUI the original suggestion in https://github.com/snapcore/snapd/pull/3431#discussion_r123396337) *or* /var/lib/snapd/seccomp/profiles/bpf/*.{src,bin} ?13:42
mupPR snapd#3431: interfaces: simplify snap-confine by just loading pre-generated bpf code <Critical> <Created by mvo5> <https://github.com/snapcore/snapd/pull/3431>13:42
niemeyermvo: The former, /bpf/*.src/bin13:43
niemeyerArgh13:43
niemeyer.../bpf/*.{src,bin} :)13:43
mvoniemeyer: thanks13:43
* mvo will make it so13:43
niemeyermvo: Otherwise you'd have to invent a new mechanism to not remove the old files13:43
niemeyer(as EnsureDirState takes on a single glob)13:44
mvoniemeyer: yes, was wondering about this too, I'm happy that we are in agreement)13:44
popeymorphis: do you know when 2.28 will be released?13:48
zygao/13:48
morphispopey: nope13:48
zygao/13:49
* zyga waves everyone good-bye from Spain13:49
zygasee you in Poland on Friday morning13:49
morphiszyga: safe trip!13:49
zygamorphis: sorry for being absent earlier, I forgot to notify you that I'm moving13:49
morphiszyga: np13:49
zygamorphis: thank you :)13:49
morphispopey: PR is still pending https://github.com/snapcore/snapd/pull/326013:49
mupPR snapd#3260: cmd/snap: implement userd command as replacement for snapd-xdg-open <Created by morphis> <https://github.com/snapcore/snapd/pull/3260>13:49
popeymorphis: ok, this is blocking a developer we've been talking to for some weeks now. :(13:51
morphispopey: I see13:51
morphispopey: does his snap work otherwise on other distros?13:52
zyganiemeyer, mvo, Chipaca, pedronis, fgimenez, pstolowski, cachio: see you all on Friday!!!13:52
Chipacazyga: o/~13:52
niemeyerzyga: Have a great trip, and good luck with the move!13:52
* zyga will miss spain a lot13:52
popeymorphis: mostly, yes. xdg-open is the final thing blocking AIUI13:52
cachiozyga, enjoy it :)13:52
zyganiemeyer: thank you, I hope to land at home safely late after midnight13:52
pstolowskizyga, o/13:52
niemeyermorphis, popey: Will look into this today still13:52
zyganiemeyer: see you at the snandup tomorrow13:53
niemeyerzyga: o/13:53
popeyit's a mail client, so it needs to do things like open file attachments13:53
popeythanks niemeyer13:53
morphisniemeyer: a code review would be nice but I need to a fix a few last things13:53
niemeyermorphis: Ah, okay, please ping me once you feel like it's ready then13:53
fgimenezzyga: enjoy and good luck! safe travels, see you soon13:54
cachiomvo, do you have the link to the snap-notify error?13:54
mvocachio: yes, sorry, https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-yakkety-snappy-dev-image/yakkety/amd64/s/snapd/20170622_120316_4e91a@/log.gz13:55
cachiomvo, tx13:55
mvocachio: I'm not sure how widespread this actually is, I think I saw it twice recently13:55
cachiook, failing on yakkety13:55
cachiomvo, I'll take a look13:55
cachiomvo, which yakkety image do you use for the autopkgtests?14:23
mvocachio: it comes from the machinery we use in autopkgtest, afaik it is created via buildvm-ubuntu-cloud14:24
cachiomvo, ok, tx14:25
fgimenezcachio: here are some details about how to generate images for different releases  and use them with the qemu backend https://github.com/snapcore/snapd/blob/master/HACKING.md#running-the-spread-tests14:30
cachiofgimenez, nice14:30
cachiothanks for the ingo14:30
cachioinfo14:30
mupPR snapd#3514 opened: wrappers: add SyslogIdentifier to the service unit files <Created by chipaca> <https://github.com/snapcore/snapd/pull/3514>14:36
=== chihchun is now known as chihchun_afk
mvojdstrand: if you could have a look at the last few commits for seccomp-bpf, especially    02a6d3f - that would be great. tests are still running but locally spread is almost finished (183/190) and happy so far15:09
mvojdstrand: I also updated the snap-confine.rst a bit more to better reflect what its doing15:09
jdstrandmvo: sure15:13
mvojdstrand: thanks for your comment, I don't have a strong opinion either15:23
jdstrandmvo: +115:25
mvofgimenez, cachio: do you have an idea why https://travis-ci.org/snapcore/snapd/builds/245474489?utm_source=github_status&utm_medium=notification fails? this is the seccomp-bpf-2.26 branch, it fails with some shellcheck errors, did we change something there recently?15:25
mvojdstrand: \o/15:25
=== chihchun_afk is now known as chihchun
fgimenezmvo: no idea sorry, looking15:30
mvofgimenez: thank you, maybe I just need to disable shellcheck for this particular file, slightly strange but I can also dig15:35
=== JanC is now known as Guest47722
=== JanC_ is now known as JanC
fgimenezmvo: there are a few PRs by cachio related to shellcheck up https://github.com/snapcore/snapd/pulls?utf8=%E2%9C%93&q=is%3Apr%20is%3Aopen%20shellcheck but nothing seems to have landed lately https://github.com/snapcore/snapd/pulls?utf8=%E2%9C%93&q=is%3Apr%20is%3Aclosed%20shellcheck15:40
mvofgimenez: thanks, I see what I can figure out15:41
=== chihchun is now known as chihchun_afk
=== cenomla_ is now known as cenomla
pedronismvo: we weren't running shellcheck at all I think until recently17:14
gouchihi17:17
gouchiwhere is the source for ubuntu core for creating the db410c image ?17:18
niemeyerfginther: Didn't we move the static checks into a spread task as well?17:19
niemeyerfginther: Sorry, bad tab completion on the nick17:19
gouchiit should be here https://code.launchpad.net/~ubuntu-core-dev ?17:19
naccgouchi: that's the code page for the ubuntu core dev team17:20
naccgouchi: unrelated to 'ubuntu core'17:20
naccgouchi: confusingly :)17:20
gouchiah ok :)17:20
cachiomvo, about the error in the test snappy-notify17:30
cachioit is failinf bacasue for some reason sometimes is taking more time to start the service17:31
cachiomvo, in the test that failed here, it tool 3 seconds from the "restart into" until it was ready17:31
cachiomvo, we could retry during 5 seconds instead of make a single check17:32
cachiomvo, what do you think?17:32
mvocachio: sounds good18:02
mvocachio: thanks for investigating!18:02
cachiomvo, np18:02
pedronisare spread tests on linode broken atm? it seems they cannot get any machines18:22
cachiopedronis, seem to be broken18:22
cachioI cant run neither18:23
cachioDiscarding linode:ubuntu-16.04-64 (Spread-33), cannot connect: cannot connect to linode:ubuntu-16.04-64 (Spread-33): ssh: handshake failed: ssh: unable to authenticate, attempted methods [password none], no supported methods remain18:23
cachiopedronis, do you see that error?18:23
pedronisyes18:24
cachioniemeyer, any idea?18:24
mupPR snapd#3515 opened: tests: fix snapd-notify when it takes more time to restart <Created by sergiocazzolato> <https://github.com/snapcore/snapd/pull/3515>18:49
kyrofaniemeyer, can I have the power to make a forum post a wiki?19:04
kyrofaOr would you prefer that we ask?19:04
niemeyerkyrofa: Done.. as a general recommendation, wiki posts are generally not phrased in personal terms, otherwise even being a wiki people will end up not touching them19:08
niemeyercachio: Yeah, on it already19:08
niemeyercachio: Linode is broken19:08
niemeyercachio: Their support is looking into the issue19:08
kyrofaniemeyer, thanks19:08
cachioniemeyer, thanks19:30
niemeyermvo: I don't have news from Linode itself, but retrying seems to have worked now19:33
niemeyerhttps://travis-ci.org/snapcore/snapd/jobs/24587341819:33
mvoniemeyer: nice19:33
mupPR snapd#3516 opened: asserts: implement FindManyTrusted as well <Created by pedronis> <https://github.com/snapcore/snapd/pull/3516>19:54
mupPR snapd#3431 closed: interfaces: simplify snap-confine by just loading pre-generated bpf code <Critical> <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/3431>20:01
mupPR snapcraft#1350 closed: rust plugin: Add support for cross-compilation <Created by kalikiana> <Merged by elopio> <https://github.com/snapcore/snapcraft/pull/1350>20:15
=== chihchun_afk is now known as chihchun
madpropsHi20:39
madpropsI have a question20:39
madpropsWhat happens when applications installed through snappy, like Telegram, have automatic updates?20:39
madpropsTheir own updater20:39
madpropsDoes it update, and then snappy tries to update it again?20:40
kyrofamadprops, it probably depends on how the updater is written. Snaps are read-only, so they won't be able to self-update in place, for example20:40
madpropsSo it brakes all autoupdates20:41
madpropsautoupdaters*20:41
madpropsbreaks*20:41
madpropssomething doesn't feel right about that20:41
madpropsunless linux versions by convention don't come with autoupdaters20:42
kyrofamadprops, how would it work if one were to install telegram from, say, a deb?20:43
madpropsWell I'm not sure but, I can tell you that in Windows I just install an exe, and autoupdaters work, they ask you for admin permissions to upgrade20:44
madpropsIt would be cool if snaps become like exes20:45
madpropsbig applications have autoupdaters ... and the other ones you just upgrade when needed (downloading a new exe)20:46
kyrofamadprops, the idea is to bring that auto-update goodness to everyone, not just those who create the infrastructure for it20:46
madpropsyes that's nice too20:48
madpropssomething that surprised me though20:48
madpropswas there there seemed to be no way to disable autoupdates, just select "good hours" to update20:48
madpropsvery windowslike20:48
kyrofaYeah I'm not sure why that is either, honestly20:49
niemeyerIf you open a forum topic I'm happy to provide details20:49
kyrofaPerhaps this is the thread to read: https://forum.snapcraft.io/t/disabling-automatic-refresh-for-snap-from-store/70720:54
mupPR snapd#3513 closed: asserts: open up and optimize Encoder to help avoiding unnecessary copying <Created by pedronis> <Merged by pedronis> <https://github.com/snapcore/snapd/pull/3513>20:55
niemeyerkyrofa: Nice, it's even there already :)21:02
niemeyerforum++21:03
=== matiasb_ is now known as matiasb
kyrofaniemeyer, here's a nuanced version: https://forum.snapcraft.io/t/delaying-snap-refreshes-programatically/108521:06
=== chihchun is now known as chihchun_afk
mupPR snapcraft#1345 closed: deltas: Improved message returned when delta is too big <Created by gsilvapt> <Merged by elopio> <https://github.com/snapcore/snapcraft/pull/1345>21:39
mupPR snapcraft#1366 closed: cli: Add --version command <Created by sparkiegeek> <Merged by elopio> <https://github.com/snapcore/snapcraft/pull/1366>23:52

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