/srv/irclogs.ubuntu.com/2017/05/09/#snappy.txt

diddledanif it's a known issue, is there a plan to, or has it been, solve(d)?00:00
ali1234snapcraft seems to have trouble with non-ascii00:03
=== cwayne_ is now known as cwayne
diddledanyeah. that's crazy considering that 90% of the population aren't English00:04
diddledanof course 87% of all statistics are made up on the spot, but you get my point00:05
nacclol00:05
ali1234502 proxy error?00:31
diddledanhmm?00:35
ali1234probably https://bugs.launchpad.net/launchpad/+bug/168381900:35
mupBug #1683819: Continuous 502 proxy error on snap upload to store <Launchpad itself:New> <https://launchpad.net/bugs/1683819>00:35
ali1234diddledan: https://bugs.launchpad.net/snapcraft/+bug/166245600:58
mupBug #1662456: snapcraft fails if desktop file included "ascii" cannot decode byte <isv> <Snapcraft:Triaged> <https://launchpad.net/bugs/1662456>00:58
diddledanah, thankyou00:58
* diddledan clicks that it affects me00:58
ali1234so now i get: desktop interfaces (x11) specified without meta/gui/*.desktop. Please  provide a desktop file via setup/gui/*.desktop if using snapcraft or  meta/gui/*.desktop otherwise. It should reference one of the 'apps' from  your snapcraft/snap.yaml.00:59
ali1234i have no idea what this means00:59
naccali1234: does your yaml refer to the desktop interface?00:59
ali1234no?00:59
ali1234it refers to x1101:00
naccali1234: right, that's what the above messages says is "desktop interfaces"01:00
ali1234okay but what is setup/gui/*.desktop?01:00
naccali1234: a .desktop file for yoru application01:00
ali1234what is the setup/gui part?01:00
naccali1234: i'm guessing a path in your snap's source01:01
ali1234its nothing to do with anything i am trying to build01:01
naccali1234: hrm? you're tyring to use an interface that apparently requires .desktop files01:02
naccali1234: so ... absolutely has to do with wha tyou're building (a snap)01:02
ali1234it doesn't require them, the snap works fine when i build and install it locally01:02
diddledansetup is a snapcraft-specific thing that if desired needs to be a folder along-side your yaml file01:02
naccali1234: could be a disagreement about the version of snapcraft you're using and the one the builder is using?01:03
ali1234so it is telling me to create setup/gui/pulseview.desktop, and then put it in the snap somehow?01:03
naccali1234: you put it in the repository containing your yaml01:03
diddledanit'll put it in there automatically01:03
naccali1234: at that path01:03
naccali1234: and it will dtrt01:03
ali1234so i just create it?01:04
ali1234how does it know what filename to look for?01:04
diddledanlet me screenie my tree01:04
diddledanhttps://usercontent.irccloud-cdn.com/file/I0ALdl5B/01:04
ali1234so i do have to make the directories?01:04
naccali1234: presumably via the application name that is using the interface?01:04
ali1234and what is your app called?01:04
naccali1234: yes, you ahve to make the directories01:04
naccali1234: it's telling you, you need a file at setup/gui/<app>.desktop01:05
ali1234the app is called pulseview but it shows up as sigrok.pulseview when installed, because the snap has two apps01:05
naccali1234: so of course you need the directgories01:05
naccali1234: how else would you create the file in the directories?01:05
ali1234well, i would use dump plugin with a line like organize: pulseview.desktop: setup/gui/pulseview.desktop01:05
ali1234that's how you normally get a file into the snap01:06
naccali1234: this is not into the snap01:06
naccali1234: this is in the 'source'01:06
ali1234the error comes from store review of the built snap01:06
naccali1234: the same place your yaml lives01:06
naccali1234: right, so you put in the source and snapcraft will put it in the right place01:06
ali1234so i would expect it means it wants the file in the snap01:06
naccthat's my reading01:06
diddledanit's an automatic thing01:07
diddledanyou don't do anything with it other than create it01:07
naccali1234: i don't think you do anything with teh built snaps01:07
naccthat's all snapcraft's job01:07
ali1234you build them01:07
diddledani.e. don't try to put it in the build process01:07
naccexcept maybe organize them01:07
diddledansnapcraft handles the setup/ folder automatically01:08
ali1234so what did you put in the .desktop file?01:08
ali1234ahi found an example01:08
naccdiddledan: right that makes sense, it's like custom parts01:09
diddledanI'm getting closer to finally achieving a custom gtk build01:21
diddledancorebird 1.5 (released a few days ago) requires more recent gtk deps than xenial provides so my snap needs custojobby01:21
diddledanI have managed a complete compile but I'm still working out the right stuff to force into the snap01:22
=== chihchun_afk is now known as chihchun
abeatoogra_, it looks like --extrausers is not working for chfn command in latest core snap (for armhf at least), which prevents "snap create-user" to work, is that a known issue?07:12
morphisabeato: we found that yesterday and ogra_ created a new core snap which should fix that problem07:41
morphisabeato: that should be fixed in edge07:41
abeatomorphis, great... the perils of using edge ;)07:43
morphisabeato: yes :-)07:43
mupPR snapd#3281 opened: tests: add test for empty snap name on revert <Created by fgimenez> <https://github.com/snapcore/snapd/pull/3281>07:55
zygare08:13
zygagood morning08:13
pstolowskimorning zyga !08:19
Chipacagood morning peeps!08:23
ali1234morning08:24
ali1234all that stuff last night about meta gui? turns out its just a warning, not an error08:25
ali1234so now i have 6 versions of the same snap pending review in the store08:25
zygaChipaca: hey hey :)08:25
zygapstolowski: good morning!08:25
morphismorning!08:25
* zyga coundn't help it and had to take a walk in the morning08:25
zygamorphis: o/08:26
morphiszyga: can you give https://github.com/snapcore/snapd/pull/3274 another look? I've added more test cases and printing a warning whenver a confinement check is ignored08:26
mupPR snapd#3274: cmd/snap,tests/main: add force-devmode switch instead of spread system blacklisting <Created by morphis> <https://github.com/snapcore/snapd/pull/3274>08:26
zygamorphis: I already am, I'm mid way through the new commit08:26
morphisgreat08:26
mupPR snapcraft#1295 closed: recording: record build packages installed in the snap <Created by elopio> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/1295>08:40
Chipacafgimenez: do we use travis oauth tokens?08:44
Chipacafgimenez: (good morning, also :-) )08:45
fgimenezChipaca: hey :) if you mean github oauth tokens from travis nope we let travis interact with github08:51
Chipacafgimenez: ah alright08:52
Chipacaasking because of https://blog.travis-ci.com/2017-05-08-security-advisory08:52
Chipacabut if we don't, great :-)08:52
Chipaca“Various GitHub OAuth tokens and secure environment variables that users included in their builds were accidentally exposed via inclusion in build logs on Travis CI.”08:52
fgimenezChipaca: yep, no problem for us, we push to gh, but from our side of the vpn08:52
zygamorphis: quick suggestion, perhaps the skip part could be a function that we source so that we don't have to copy-paste the same line for consistency in behavior08:57
morphiszyga: you mean the snap forced-devmode check?08:58
zygamorphis: otherwise looks ok, I was doing some other things but I'll +1 it (again) in a moment08:58
zygamorphis: yeah, something about that, it's tricky because it's simetimes if ... then exit; but sometimes not08:58
morphiszyga: I was thinking about that before but actually like this to be really explicit and as it might be used in different combinations08:58
zygamorphis: yeah, I understand08:59
morphislets leave it lets see how complex the logic gets into the future09:00
morphisI will have multiple changes for fedora too which makes things more complicate and might refactor a few of these tests again09:00
pstolowskizyga, hey, wrt to the problem of hanging configure hook on debian; I found out (by examining and comparing strace for that hook on both debian ubuntu) that a posible suspect is: "bind(3, {sa_family=AF_INET6, sin6_port=htons(0), inet_pton(AF_INET6, "::1", &sin6_addr), sin6_flowinfo=htonl(0), sin6_scope_id=0}, 28) = ? "09:00
pstolowskizyga, i'm not familiar with ipv6 peculiarities, any idea what may be different in that aspect on debian?09:01
zygapstolowski: hey09:01
morphispstolowski: isn't that what jdstrand found when initially looking at the bug?09:02
pstolowskimorphis, oh, where did he mention that?09:04
morphishttps://bugs.launchpad.net/snappy/+bug/1674193/comments/16 and https://bugs.launchpad.net/snappy/+bug/164457309:04
mupBug #1674193: core snap's configuration hangs on debian | openSUSE | mainline kernel <Snappy:Fix Committed by morphis> <snapd (Debian):Fix Committed> <snapd (Fedora):Fix Committed by morphis> <snapd (openSUSE):Fix Released by morphis> <https://launchpad.net/bugs/1674193>09:04
mupBug #1644573: snapctl causes hooks to attempt to open ip/ipv6 tcp connection <Snappy:Triaged by zyga> <https://launchpad.net/bugs/1644573>09:04
morphispstolowski: the thing is that there was a fix merged in 2.23.6 merged which broke with 2.24 again09:04
morphispstolowski: verified once ago that this problem was fixed with 2.23.6: https://bugs.launchpad.net/snappy/+bug/1674193/comments/2509:05
pstolowskimorphis, oh, wonderful! thanks for these links09:07
morphispstolowski: they* are on your forum post already :-) https://forum.snapcraft.io/t/tests-broken-in-master/457/809:07
pstolowskimorphis, oh indeed..09:08
* pstolowski embarassed09:08
morphishappens :-)09:08
ali1234so i finally have an approved snap in the store. do i just click release now?09:08
Chipacaali1234: as you wish :-)09:17
ali1234what does the release button do?09:18
ali1234what is the difference between releasing and publishing?09:18
Chipacaali1234: if my memory serves, the release button takes you to a page where you choose which channels to publish it to09:19
ali1234oh09:20
ali1234so it has a terrible name09:20
Chipacaali1234: the button?09:21
ali1234and it should just say "edit channels"09:21
Chipacaali1234: you don't edit channels with it though09:21
ali1234really?09:21
Chipacaali1234: editing a channel means changing the channel itself09:21
ali1234why does it show a form labelled channels: which i can edit then?09:21
ali1234"Select the channels to release current revision."09:21
Chipacayep09:22
ali1234no, you mean publish09:22
mupPR snapcraft#1297 closed: sources: validate unknown source-type in yaml <Created by EduardoVega> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/1297>09:22
ali1234"Select the channels to [publish] current revision [in]."09:22
Chipacaali1234: i'd suggest you open a forum topic about this09:22
Chipacait's possible the store uses publish and release inconsistently09:22
Chipacabut i don't know; there might be nuance09:23
ali1234if you have a button with a verb on it i expect clicking it will do that verb09:23
Chipacabut it's definitely not "edit a channel"; it's editing a channel assignment, which seems to be called releasing09:23
Chipacaali1234: as i say, please open a forum topic09:23
Chipacaunless you're just ranting, that is :-)09:23
Chipacaranting is fine btw09:23
ali1234i can rant on the forum if you want09:24
Chipacaali1234: forum is for constructive, long-term engagement09:24
Chipacawell, long-term in internet time :-p09:24
Chipacarants are fine here09:24
ali1234okay. where do i go to just report a list of problems?09:24
ali1234i am not interested in long term engagement. i will just come back in another 9 months and see if you have fixed all the problems09:25
Chipacaali1234: the forum is fine to just report a list of problems09:25
Chipacaali1234: (the 'long-term' side of that kind of post comes from the people going through the list and addressing them)09:25
Chipacamaybe a better term would be 'asynchronous' actually09:26
Chipacavs irc that is synchronous09:27
ali1234should i create one topic for each issue?09:27
ali1234or just make one long rant post?09:27
Chipacaali1234: just one long one is probably easier for you09:27
Chipacaali1234: i believe moderators can then split it up09:27
ali1234yeah but we both know they won't09:28
Chipacadude09:28
ali1234someone will come along and address one of the problems (probably by saying "that isn't in scope of the project") and then the rest will be ignored09:28
ali1234that's what happened yesterday09:28
Chipacaali1234: where?09:28
ali1234https://forum.snapcraft.io/t/trying-to-build-sigrok-snap/50309:29
Chipacaali1234: that looks like the opposite09:30
ali1234really? i was told to use launchpad, which addresses exactly one of the four problems i raised09:31
Chipacait's not being ignored; you even got ev following up a day later09:31
Chipacawhich was less than an hour ago09:31
ogra_Chipaca, mind giving a second thumbs up on https://github.com/snapcore/core/pull/37 ? (trivial changes)09:32
mupPR core#37: install keyring (LP: #1670475), update pkglists <Created by ogra1> <https://github.com/snapcore/core/pull/37>09:32
* ogra_ hugs Chipaca 09:33
mupPR core#37 closed: install keyring (LP: #1670475), update pkglists <Created by ogra1> <Merged by ogra1> <https://github.com/snapcore/core/pull/37>09:34
Chipacaali1234: about the snapcraft.yaml in the root of the repo, I *think* (but am not sure) that you can also make it .snapcraft.yaml, or snap/snapcraft.yaml09:35
ali1234you can09:35
ali1234upstream will put it at cross-compile/snap/snapcraft.yaml because that is how their repository is organized09:35
juanrubioHi, I'm trying to create a snap of my app (https://github.com/tizonia/tizonia-openmax-il) and I'm currently facing problems with pulseaudio. The snap I've created installs correctly in Fedora 25 but it can't access pulseaudio (Access Denied)...is there any good reference or tuturial on how to create snaps that need access to pulseaudio?09:36
Chipacajuanrubio: is it using the pulseaudio interface?09:36
morphisChipaca: we don't ahve any confinement on Fedora so the interface is useless unless its a seccomp issue09:36
morphisjuanrubio: can you give us the exact error message?09:37
juanrubioyes, plugs section contains 'pulseaudio'09:37
morphisjuanrubio: is the plug connected?09:37
Chipacamorphis: point09:37
juanrubiothe error message is coming from my app09:37
* Chipaca goes back to work09:37
morphisjuanrubio: is there an error in dmesg or journalctl?09:38
juanrubio"Access denied" (which comes from pulseaudio's api)09:38
juanrubioi can't seen any errors in journalctl's output09:38
morphisjuanrubio: and you're running your app with the same user you're logged into the system09:39
juanrubiomorphis: i thought the plug would be automatically connected?09:39
juanrubioyes, same user09:40
morphisjuanrubio: is it connected or not?09:40
juanrubioif I connect the plug with 'sudo snap connect tizonia:pulseaudio :pulseaudio' i get the same result09:41
Chipacajuanrubio: can you share the .yaml?09:41
Chipacaoh it's there in tools/snapcraft.yaml09:42
juanrubioyes, in tools09:42
juanrubioI created my snap in Ubuntu 16.04 and Fedora 25 runs on a Virtualbox VM09:44
Chipacajuanrubio: and does it work in ubuntu 16.04?09:45
juanrubioactually, I have not tried it in ubuntu09:45
Chipacaplease do09:45
juanrubiook, let me give it a try in an 16.04 VM i have over here09:46
zygapstolowski: re09:48
zygapstolowski: sorry, I was in a call09:48
mupPR snapd#3282 opened: hooks: default timeout <Created by stolowski> <https://github.com/snapcore/snapd/pull/3282>09:48
zygapstolowski: so the problem is snapctl and golang's network stack that checks if you have ipv6 connectivity/support by creating that socket09:49
zygapstolowski: as you know on ubuntu & linode we disable ipv6 (as there was some problem with routing, historically)09:49
zygapstolowski: but I don't think we disable that on debian09:49
zygapstolowski: we may thus hit a confinement issue where seccomp kills part of snapctl09:49
zygapstolowski: I think in addition the actual hook, before it tries snapctl, checks something else which on ubuntu is blocked by apparmor09:50
zygapstolowski: so when the plug (core-support-plug) is disconnected, the hook exits gracefully09:50
zygajuanrubio: hey09:52
fgimenezhi zyga, i've filed this bug https://bugs.launchpad.net/snappy/+bug/1689332 wrt the issue with the 2.25 ubuntu-core snap and the hardcoded snap-confine path09:53
mupBug #1689332: internal error with any command using ubuntu-core snap on classic <Snappy:New> <https://launchpad.net/bugs/1689332>09:53
zygajuanrubio: intersting, what is your snap doing with audio? just playback or something more?09:53
zygafgimenez: thank you! I'll assign it to myself09:53
pstolowskizyga, my understanding - after looking at comments from jdstrand and later morphis - is that yes, it's ipv6 reatlated, Jamie recommended a specific policy rule. the problem was fixed but by mistake not included in the 2.24 release, but according to morhpis it's in the new release (https://forum.snapcraft.io/t/tests-broken-in-master/457/8?u=pstolowski)09:54
ogra_morphis, https://github.com/snapcore/pi3-gadget/pull/609:54
mupPR pi3-gadget#6: make pi-bluetooth name more generic <Created by ogra1> <https://github.com/snapcore/pi3-gadget/pull/6>09:54
fgimenezzyga: great thanks! :) do you think this issue should block the 2.25 sru?09:54
zygapstolowski: I'm not sure I understand, what do you aim to achieve in the end?09:54
mupBug #1689332 changed: internal error with any command using ubuntu-core snap on classic <snapd:New> <https://launchpad.net/bugs/1689332>09:54
zygafgimenez: well, hard to say, it only affects people that are on ubuntu-core (not just core)09:55
pstolowskizyga, and i've just proposed a PR to have a default timeout in case we have a task created by old snapd with no timeout set09:55
mupPR snapcraft#1288 closed: store: collaboration UI for snaps <Created by sergiusens> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/1288>09:55
juanrubiozyga: audio playback09:55
zygafgimenez: I think it is not so critical but perhaps my view is just too optimistic09:55
fgimenezzyga: ok thanks, we can talk later in the meeting09:56
zygajuanrubio: so fedora 25 may have a more recent version of pulseaudio than ubuntu 16.04 but I bet that pulseaudio still supports the older protocol09:56
zygajuanrubio: and even on fedora 26 I saw snaps play audio09:56
zygajuanrubio: could you please open a forum topic for this (on forum.snapcraft.io), perhaps other people are facing the same issue and even if not we can try to help you there09:57
zygajuanrubio: if your snap is public I could try it on my f26 machine09:57
zygajuanrubio: and try to debug it there09:57
juanrubiozyga: these are my first steps with snaps, so I'm sure I'm missing something09:57
zygajuanrubio: does it work on ubuntu? if so, it should work on fedora too09:57
fgimenezzyga: i think there's another issue with https://github.com/snapcore/snapd/pull/3218/files, i'm getting "Bad system call" trying to use systemd-cat from a snap, will file a bug about this too09:57
mupPR snapd#3218: interfaces: allow writing to /run/systemd/journal/stdout by default <Created by jdstrand> <Merged by niemeyer> <https://github.com/snapcore/snapd/pull/3218>09:57
juanrubiozyga: I'm currently updating a 16.04 VM that I have here. I will try it out in 16.04 in a few minutes09:58
ogra_morphis, thx09:58
morphisogra_: np09:58
zygafgimenez: in lxc?10:04
fgimenezzyga: nope, on a regular classic vm10:04
juanrubioI'm opening a forum topic for this, which  category 'snap' or 'snapcraft'?10:05
zygahmm10:08
zygafgimenez: what was the system call? do you have the error message?10:08
zygajuanrubio: snap please10:08
fgimenezzyga: sure, [  910.074185] audit: type=1326 audit(1494320944.576:31): auid=1000 uid=12345 gid=12345 ses=1 pid=30704 comm="systemd-cat" exe="/usr/bin/systemd-cat" sig=31 arch=c000003e syscall=48 compat=0 ip=0x7fcdee899987 code=0x010:08
zygafgimenez: 48 is "shutdown"10:09
zygafgimenez: hmm, probably closing some socket10:09
morphishm, did anyone run into this one with spread already: in test-snapd-tools.channels: extra keys: {'latest/candidate', 'latest/beta'}10:09
zygafgimenez: where did that fail? was it a specifi test?10:09
morphisthat is for tests/main/snap-info10:09
fgimenezmorphis: yep on it10:09
morphisfgimenez: great!10:10
zygamorphis: nope, but Chipaca wrote that so I bet he groks he messages10:10
Chipacawhere what?10:10
* Chipaca reads up10:10
morphisChipaca: https://travis-ci.org/snapcore/snapd/builds/230270742?utm_source=github_status&utm_medium=notification10:10
fgimenezzyga: not yet, i was adding it while reviewing the 2.25 changelog https://github.com/snapcore/snapd/compare/master...fgimenez:spread-interfaces-default?expand=1#diff-e2f8bc979b0f080a4b32db7b71057b46R910:11
Chipacamorphis: that looks like a snap/snapd version mismatch10:11
Chipacaas in, snapd sending track/channel, snap expecting channel10:12
Chipacabut let me look at it a moment10:12
fgimenezmorphis: Chipaca probably related, i just uploaded an updated version of test-snapd-tools and the snap-info test started failing, reverted back to the previous version and keep failing10:13
Chipacafgimenez: it might be that the test expects it to be only in certain channels10:13
Chipacaand you published it to more of them10:13
Chipacait'd look like this, also10:13
Chipacai.e. it used to only be in stable and edge, and now it's also in candidate and beta10:14
fgimenezChipaca: i tried to keep the same channels, rev 3 was in stable, candidate and beta (as it is now)10:14
fgimenezChipaca: aha, let me try to remove it from candidate and beta10:15
Chipacaso, yes, the snap-info test expects it only in stable and edge10:16
Chipacamorphis: found the problem :-)10:16
Chipaca   ("channels", check,10:16
Chipaca    ("latest/stable", matches, verRevNotesRx("-")),10:16
Chipaca    ("latest/edge", matches, verRevNotesRx("-")),10:16
Chipaca   ),10:16
Chipacathat will fail if the channels key has more entries than those two10:17
juanrubioactually, I said before that journalctl didn't show any messages, but actually i didn't realise that the older messages were at the top.. so yes I see a bunch of errors, not sure I understand much... what should I look for?10:18
Chipacajuanrubio: anything with 'audit' in it10:19
morphisjuanrubio: can you paste those somewhere?10:19
juanrubioI've pasted some of it here: https://gist.github.com/juanrubio/d7ed44344ef2e7a659dede5f788d07f510:22
mupPR snapd#3280 closed: configstate: return error if patch is invalid <Created by kyrofa> <Merged by chipaca> <https://github.com/snapcore/snapd/pull/3280>10:22
zygapermissive=0 is curious,10:23
Chipacaogra_: remind me, how long does the prepare-device hook take on the bbb, worst case?10:23
ogra_Chipaca, i havent tested in a while but it should not take long anymore10:24
ogra_it used to be 10-15min in the wrst times10:25
ogra_*worst10:25
juanrubioand this are the steps I'm following to install the snap on Fedora 25 : https://gist.github.com/juanrubio/4ca10f5a6468fc12bcbed6bf01a7d8f710:25
fgimenezChipaca: now i begin to rant about the release page too :) do you know if i can unpublish a released revision from a channel somehow?10:25
Chipacafgimenez: yes, you click on the channels and edit the map as you please10:26
ogra_fgimenez, i dont think you can "unrelease" but you can release a former version10:26
Chipacafgimenez: i think i should be able to do it10:26
* Chipaca looks10:26
mupPR snapd#3276 closed: tests: additional setup in docker test for core systems <Created by fgimenez> <Merged by stolowski> <https://github.com/snapcore/snapd/pull/3276>10:26
morphisjuanrubio: why do you had to do $ mkdir -p ~/snap/tizonia/x1/.config/tizonia ?10:26
ogra_iirc the store spills an error if you just try to unrelease10:27
morphisjuanrubio: was that just because of ~/snap/tizonia/x1/.config missing or did even ~/snap/tizonia/x1/ not exist?10:28
fgimenezChipaca: releasing a former version leaves the candidate and beta channels in snap-info's output http://paste.ubuntu.com/24542209/ not sure if the test would pass with this?10:28
Chipacathat looks like a bug10:30
Chipacanoise][: are you around?10:30
juanrubiomorphis: my app needs this 'tizonia.conf' located in $HOME/.config/tizonia10:30
Chipacafgimenez: i mean, what looks like a bug is the not being able to remove channels10:30
morphisjuanrubio: so ~/snap/tizonia/x1/ was automatically created?10:30
Chipacamaybe it's always been this way but i thought not10:30
juanrubioso I currently copy this manually10:31
juanrubio~/snap/tizonia/x1 is automatically create10:31
juanrubio~/snap/tizonia/x1 is automatically created10:31
morphisok10:31
Chipacathe idea of opening a channel, having a snap in it, and then closing it has existed forever10:31
fgimenezChipaca: yep i think so, the message from the release page is clear though "Released channels cannot be removed."10:33
fgimenezChipaca: this fixes the tests http://paste.ubuntu.com/24542214/ should i propose it?10:35
ogra_right, thats the typüical message10:35
Chipacafgimenez: if it can wait a bit, i'd rather first determine whether the store is broken in this way10:37
Chipacaor if it's how it should be, in which case yes let's fix the test10:37
fgimenezChipaca: ok10:38
ogra_Chipaca, it has always been like this (at least with the web UI)10:38
Chipacafgimenez: if determining this takes more than an hour, let's fix the tests10:38
ogra_the above is the message you get when unticking the channel checkbox ... but ticking it on an older version will override and release that version instead10:39
fgimenezChipaca: ok sounds good10:39
ali1234hmm something wrong with my snap. i now have both meta/gui and setup/gui10:45
juanrubioMy 16.04 is taking a bit long to update. I've uploaded the snap package to this location, in case someone might want to give it a try on Fedora 25 or 26: http://www.juanrubio.me/tizonia/tizonia_0.7.0_amd64.snap10:45
ali1234actually it looks like it dumped everything from the source repo into the snap10:45
zygapstolowski: hey, I read https://github.com/snapcore/snapd/pull/3282/files and it looks OK but I recall you said it didn't work, do I remember that correctly?10:46
mupPR snapd#3282: hooks: default timeout <Created by stolowski> <https://github.com/snapcore/snapd/pull/3282>10:46
pstolowskizyga, I said that, yes, but later I figured out (correct me if I'm wrong) that the test I was using in qemu re-execs into new snapd from core image, so I wasn't really testing my change at that time10:50
zygapstolowski: I think you were, because the "new" snapd was the one from the package10:51
zygapstolowski: and the package is built10:51
zygapstolowski: I mean we re-write the core snap10:51
Chipacajuanrubio: getting a 40410:51
Chipacajuanrubio: ah now it worked10:52
fgimenezChipaca: anyway, something strange has happened with test-snapd-tools, it seems that beta and candidate have been used since rev 1 http://paste.ubuntu.com/24542284/ (i actually checked the channels used by rev 3 before releasing rev 6, and those included candidate and beta), how was snap-info test passing before?10:53
juanrubioI've created a forum topic: https://forum.snapcraft.io/t/pulseaudio-access-denied-accessing-pulseaudio-for-audio-playback-in-fedora-25/51910:53
Chipacajuanrubio: what do i do to run it?10:54
* Chipaca knows nothing about tizonia10:54
Chipacafgimenez: ¯\_(ツ)_/¯10:54
Chipacafgimenez: let's see what facu says10:55
ogra_fgimenez, the pi2-kernel in edge is pretty outdated, i'll sync the newer one from beta into it (runs fine here, just FYI in case any tests start to misbehave in edge)10:56
fgimenezogra_: ok thanks! i'll give it i try10:59
pstolowskizyga, hmm.. ok, i'm confused. i understand what you're saying, just not sure about my findings anymore. I could manually kill -9 the hanging configure script and this is what we do in hookmgr.11:00
* Chipaca hugs Facu 11:02
Chipacajuanrubio: the help output for tizonia talks about ~/.config/tizonia/tizonia.conf, which is wrong11:02
zygapstolowski: I could try your branch and experiment11:02
ogra_morphis, hmm, who owns the wifi-ap snap ? seems i cant run the setup wizard anymore ... http://paste.ubuntu.com/24542320/11:03
juanrubioChipaca: I was using it with my Spotify account, but the pulseaudio problem should be seen while trying to play a local mp3 file11:03
juanrubioChipaca: why do you say the help output is wrong?11:03
morphisogra_: we do11:04
Chipacajuanrubio: because a snap won't be able to read ~/.config/tizonia/tizonia.conf11:04
ogra_/find nikc "we"11:04
ogra_*nick11:04
ogra_:P11:04
Chipacajuanrubio: apps usually set XDG_CONFIG_DIR (or whatever it was) to something inside ~/snap/11:04
morphisogra_: you ping'ed the right one :-)11:04
pstolowskizyga, feel free to if you have a few moments11:04
morphisogra_: which syscalls are denied?11:04
ogra_morphis, werll, seems "socket"11:04
juanrubioChipaca: right now I am only concerned about making it work on Fedora as a test, will deal with those other things later11:05
morphisogra_: are all plugs connected?11:05
ChipacaXDG_CONFIG_HOME, actually11:05
Chipacajuanrubio: ok fair enough11:05
ogra_that worked before i reinstalled the image ... all auto-connect ones are11:05
Chipacajuanrubio: fedora doesn't have apparmor confinement so it's less picky :-)11:05
morphisogra_: can you paste $ snap interfaces wifi-ap11:05
Chipacajuanrubio: another question, why do you use the alsa plug?11:05
ogra_morphis, http://paste.ubuntu.com/24542331/11:06
Chipacajuanrubio: and yet another question, how do i play a local mp3 :-)11:06
juanrubioChipaca: tizonia can render audio with alsa and pulseaudio11:06
ogra_morphis, and i'm only calling "sudo wifi-ap.setup-wizard"11:06
ogra_nothing fancy11:06
morphisbut that will talk with the service over a local socket11:07
juanrubioyou could play an mp3 like : tizonia my-mp3.mp311:07
Chipacajuanrubio: ok. Just note that pulseaudio is connected by default, but alsa isn't (because it lets you do nasty things)11:07
morphisogra_: hm11:07
ogra_morphis, well, whatever it does ... it worked 100 times for me before ...11:07
Chipacajuanrubio: all it ever does is complain about a missing tizonia.conf11:07
ogra_(probably only 87 ... i'm exaggerating ;) )11:07
morphisogra_: can you check if the socket syscall is in the seccomp profile?11:08
juanrubioChipaca: yes, please go to my post on snapcraft.io.. I've posted the files tizonia.conf and .log4crc11:08
juanrubiohttps://forum.snapcraft.io/t/pulseaudio-access-denied-accessing-pulseaudio-for-audio-playback-in-fedora-25/51911:09
Chipacajuanrubio: wait, it doesn't work in --devmode either?11:09
* zyga spends a moment on improving some tests11:09
zygapstolowski: I'll check your branch just after that11:10
ogra_morphis, looks fine to me http://paste.ubuntu.com/24542345/11:10
Chipacajuanrubio: anyway, thanks for those files, looking11:10
juanrubioChipaca: thanks for your time11:11
morphisogra_: yeah ..11:11
morphisogra_: which snapd version are you running?11:11
ogra_ogra@pi3:~$ snap version11:12
ogra_snap    2.25+201705082317.git.3ff5a56~ubuntu16.04.111:12
ogra_snapd   2.25+201705082317.git.3ff5a56~ubuntu16.04.111:12
ogra_series  1611:12
ogra_kernel  4.4.0-1051-raspi211:12
morphisso edge11:12
morphiscan you try with beta?11:12
ogra_edge ... from 2h ago or so11:12
ogra_refreshing ...11:12
morphisI fear that the seccomp arg filtering jdstrand landed recently might be the problem here11:12
ogra_well, see line 525 of the profile paste ...11:13
ogra_"# FIXME: remove this after LP: #1446748 is implemented"11:13
zygaofftopic, I'd *love* to merge https://github.com/snapcore/snapd/pull/302611:13
mupBug #1446748: implement seccomp filtering by argument <application-confinement> <ubuntu-core-launcher (Ubuntu):Fix Released by jdstrand> <https://launchpad.net/bugs/1446748>11:13
mupPR snapd#3026: cmd/snap-confine: use defensive argument parser <Created by zyga> <https://github.com/snapcore/snapd/pull/3026>11:13
Chipacajuanrubio: tizonia dies with "Unable to verify the component list." (and leaves the terminal in a bad state)11:13
morphisogra_: hm11:13
morphisogra_: lets verify first if this a regression11:14
Chipacafgimenez: btw did 'snapcraft close' work?11:14
ogra_i wonder if all snaps in the store that use this workaround have to be updated in the store11:14
ogra_morphis, yeah ... rollback to beta works11:14
morphisogra_: ok, then we have a regression, can you open a bug about that?11:15
ogra_yep11:15
morphisogra_: that is then a blocker for 2.2511:15
zygapstolowski, Chipaca: https://github.com/snapcore/snapd/pull/328311:17
mupPR snapd#3283: overlord/hookstate: remove unused Context.timeout <Created by zyga> <https://github.com/snapcore/snapd/pull/3283>11:17
mupPR snapd#3283 opened: overlord/hookstate: remove unused Context.timeout <Created by zyga> <https://github.com/snapcore/snapd/pull/3283>11:17
Chipacayuss11:17
ogra_morphis, well ...11:18
ogra_ogra@pi3:~$ snap version11:18
ogra_snap    2.2511:18
ogra_snapd   2.2511:18
ogra_series  1611:18
ogra_kernel  4.4.0-1051-raspi211:18
juanrubioChipaca: you need to install tizonia.conf as posted in the forum topic11:18
Chipacajuanrubio: done that11:18
ogra_morphis, i'd rather say it blocks 2.26 :)11:18
Chipacajuanrubio: until I did, all tizonia did was complain about that missing file11:18
juanrubioChipaca: ok, then could you please check that you have this in the config file? 'component-paths = /var/lib/snapd/snap/tizonia/x1/lib/tizonia0-plugins12;'11:19
Chipacauhhh11:19
mupPR snapcraft#1302 opened: lxd: Mount project folder via sshfs in case of a remote <Created by kalikiana> <https://github.com/snapcore/snapcraft/pull/1302>11:19
Chipacajuanrubio: that's not right11:19
juanrubioaha?11:19
Chipacajuanrubio: that's the path from "outside" the snap11:20
Chipacajuanrubio: (and only when that is where the snaps are installed)11:20
Chipacain ubuntu, snaps are installed in /snap/11:20
Chipacaand not /var/lib/snapd/snap11:20
fgimenezChipaca: looks like it went fine http://paste.ubuntu.com/24542381/ running the test now11:20
Chipacajuanrubio: but in any case, inside the snap, it's always /snap/11:20
juanrubioChipaca: I see11:20
Chipacaediting the file now11:20
morphisogra_: ah right, getting confused ...11:21
Chipacajuanrubio: also, you have a /home/joni in that file11:21
juanrubioChipaca: with that path, tizonia can locate the plugins (decoders, sources, renderers etc) and the proceed to do some playback11:21
Chipacajuanrubio: do you know if tizonia supports using environment variables in its config?11:21
Chipacajuanrubio: what is the 'resource manager database'?11:22
ogra_Bug #168953611:23
mupBug #1689536: snapd   2.25+201705082317.git.3ff5a56~ubuntu16.04.1 breaks seccomp handling <snapd:New> <https://launchpad.net/bugs/1689536>11:23
ogra_jdstrand, morphis ^^^11:23
juanrubioChipaca: uhm.. let me see, it is a db used to figure out what plugins can be accessed by tizonia in some cases, but not relevant here11:24
Chipacayeah, noticed it's got enabled=false11:24
juanrubiocorrect11:24
Chipacajuanrubio: from a quick check it looks like tizonia doesn't support using environment variables in its config (but i haven't read the code to make sure)11:24
Chipacajuanrubio: so you're going to have to generate the file (e.g. from a wrapper)11:24
juanrubioChipaca: that is correct, env vars are not supported right now11:25
Chipacajuanrubio: but, on ubuntu, when not installed with devmode, you get11:25
Chipacajuanrubio: [196128.136517] audit: type=1400 audit(1494329031.902:417): apparmor="DENIED" operation="connect" profile="snap.tizonia.tizonia" pid=22296 comm="audio_renderer" family="unix" sock_type="stream" protocol=0 requested_mask="send receive connect" denied_mask="send connect" addr=none peer_addr="@/tmp/.X11-unix/X0" peer="unconfined"11:25
Chipacawhy is a music app trying to talk to X?11:26
Chipaca(a music app that doesn't ask for the x11 interface, as well)11:26
zygaChipaca: it may talk to X to get the pulseaudio auth cookie11:27
zygaChipaca: (beacause)11:27
juanrubioChipaca: in my Fedora VM, I've got to the point where I can load the spotify plugin, and the pulseaudio plugin. Spotify works but audio rendering fails with pulseaudio access denied error11:27
zygaChipaca: ah11:27
zygajuanrubio: which desktop environment are you using?11:27
zygaI think that the pulse cookie is in /tmp11:27
juanrubioawesome wm11:27
zygamorphis: we may need11:27
zygajuanrubio: here you go11:27
zygathis is why it doesn't work,11:28
zygamorphis: we may need someting quite like xauthority support for puslseaudio cookie11:28
juanrubiozyga: are you saying it would work on Gnome desktop?11:28
zygajuanrubio: yes11:28
zygajuanrubio: because it depends on how you initialize pulseaudio in the system11:28
zygajuanrubio: and some peculiar ways snapd works11:28
juanrubiozyga: let me log into gnome11:29
juanrubiozyga: heyy... it works!11:30
juanrubioreally nice!11:30
zygajuanrubio: yes, it's really annoying as well but at least we know what we're standing on :)11:31
juanrubiozyga: so, is there anything I can do to workaround the cookie issue?11:31
zygajuanrubio: and it's a bug in snapd11:31
zygajuanrubio: just one that doesn't affect the default configuration for many11:31
zygajuanrubio: so we didn't bump into it yet11:31
zygajuanrubio: but it's just a bug, it'll get fixed11:32
zygajuanrubio: no, it's nothing you can fix11:32
zygajuanrubio: (in a snap)11:32
juanrubiozyga: is there a launchpad issue?11:32
zygajuanrubio: it's something that needs to be fixed in snapd/snap-confine pair11:32
zygajuanrubio: I don't think so, please file a bug about it11:32
zygamorphis: can you look at that bug please?11:32
morphiszyga: really?11:32
zygamorphis: ?11:32
morphiswhy are those things in /tmp ..11:32
zygamorphis: there are different ways to auth with pulse11:33
fgimenezChipaca: yes, the snap-info test is passing now11:33
fgimenezmorphis: ^11:33
zygamorphis: and I think on ubuntu we use the cookie attached to the root window11:33
morphiszyga: I know but /run exists to store those things11:33
zygamorphis: but then if you for whatever reason cannot get that cookie11:33
zygamorphis: auth looks for the next thing11:33
zygamorphis: and I think that's somewhere inaccesislbe, maybe run but maybe not (perhaps $HOME somewhere)11:33
zygamorphis: I don't know11:34
Chipacamorphis: the x11 socket is in /tmp, not in /run, for instance11:34
morphisyeah, I know what pulse does pretty well, caused my quite some headache to get that right for U-Core and the pulseaudio snap11:34
Chipacaand the xim socket11:34
fgimenezChipaca: however this is superconfusing, from the test-snapd-tools page in the store i can see that rev 6 is released to beta, candidate and stable11:34
zygaoh drat11:34
zygamy wife is killing me with irresistible smell downstairs :)11:34
* zyga runs, bbl :)11:34
Chipacazyga: sometimes i wish i had your problems11:35
Chipaca:-)11:35
juanrubioChipaca: I don't mind creating the defect, although you might be able to record the details more accurately than me...11:36
morphiszyga, Chipaca: how are we sharing the X11 socket from /tmp with the snaps today?11:37
morphiszyga: normal location of the cookie on a desktop is $HOME/.config/pulse/cookie11:39
Chipacamorphis: I think all we do is copy .Xauthority to /run/user/etc11:40
morphisChipaca: right, that is what I added recently11:40
Chipacaah :-)11:40
morphishowever for the pulse cookie that gets harder11:41
morphisjuanrubio: can you file a bug about this on https://bugs.launchpad.net/snapd/+filebug , I will take it from there11:42
juanrubiomorphis: filed it here -> https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/168953911:44
mupBug #1689539: Pulseaudio "Access Denied" on Fedora 25 with Awesome WM as desktop environment <snapd (Ubuntu):New> <https://launchpad.net/bugs/1689539>11:44
morphisjuanrubio: thanks11:44
juanrubiothanks guys, that was very helpful... my wife also has some smells dowstairs!11:45
ogra_morphis, erm ... isnt the pulse cookie in $HOME usually ?11:55
morphisogra_: yes11:56
morphis.config/pulse/cookie11:56
morphisor its set via X1111:56
ogra_right11:56
ogra_and the pulse interface should give you access to ~/.config/pulse afaik11:56
ogra_yeah ... owner @{HOME}/.config/pulse/cookie rk,11:57
morphisogra_: right, but in this case it seems to be different, will look into that11:58
Chipacamorphis: ogra_: some apps may just go to the x11 root window by default12:02
Chipacadunno12:02
ogra_well, i see libboost in the error logs12:03
ogra_and looking at the snapcraft.yaml it seems to pull in a good bunnch of other stuff https://github.com/tizonia/tizonia-openmax-il/blob/master/tools/snapcraft.yaml12:04
ogra_dbus-x1112:04
ogra_there you go ....12:04
ogra_that pulls in athe whole x11 stack through deps12:05
ogra_(at least the libs)12:05
ogra_and the app uses mpris as well12:06
ogra_so it is actually deeply hooked into X11 and should use the x11 interface12:07
Chipacampris and dbus probably means it needs the unity7 one (for lack of a better match)12:14
zygaChipaca: I always joke that my wife and I should switch roles; we'd get thinner instantly :)12:19
zygamorphis: no idea12:20
zygamorphis: there must be another way to connect12:20
morphiszyga: to connect to pulse you need the socket and the cookie12:21
zygamorphis: I must say that the modern desktop stack is pretty complex12:21
morphisand the cookie comes either from the fs or from X1112:21
morphisit is12:21
morphiszyga: I will look into this problem12:21
zygamorphis: thank you!12:21
zygamorphis: I have no idea but I'd love to help if you figure out what needs doing12:21
morphiszyga: will ping you12:30
jdstrandogra_: don't worry about line 525. it is referring to socketcall. that is something different12:30
jdstrandogra_: I also answered in the bug12:30
ogra_jdstrand, ok ... well, it dies on "socket"12:30
ogra_ok12:31
* jdstrand is wondering if there is an AF_ that this kernel has that isn't in generic12:31
zygajdstrand: you mean custom address family?12:32
jdstrandif it was netlink, I would expect needing a 'network netlink' apparmor rule and I checked all those (I could've missed something)12:32
ogra_jdstrand, well, the kernel doesnt seem to matter, it is the core that breaks it12:32
jdstrandzyga: yes12:32
jdstrandogra_: I understand that12:33
ogra_ah, k12:33
jdstrandogra_: oh, for the strace. add 'socket' to the seccomp policy, then strace and show me all the socket calls12:33
jdstrandif you don't allow it in the policy there won't be anything to trace :)12:34
ogra_do we have strace in the toolbelt snap ?12:34
zygaogra_: no12:34
ogra_bah12:34
zygaogra_: it's just busybox12:34
zygaogra_: but I could add it12:34
ogra_yeah, that might make sense given how often we use it12:35
jdstrandogra_: https://code.launchpad.net/~jdstrand/+git/debug-tools12:35
jdstrandogra_: if using that snap. install it then run 'debug-tools' and it will tell you how to invoke12:39
jdstrandogra_: though with strace, you literally can scp the binary and it will work12:39
Chipacathese days maybe not so well though12:40
Chipacabecause of go being hard to strace12:40
jdstrand/path/to/strace -o ./trace -D -f -vv -e '!select <thing to strace>12:40
jdstrandwhoops12:41
jdstrand/path/to/strace -o ./trace -D -f -vv -e '!select' <thing to strace>12:41
jdstrandthat works pretty well12:41
Chipacapstolowski: https://travis-ci.org/snapcore/snapd/builds/230295130#L317212:41
Chipacajdstrand: i'll grep for this the next time i need it, thanks :-)12:42
Chipacapstolowski: is that something we should worry about?12:42
pstolowskilooking12:43
pedronispstolowski: hi, is snapd#3282 something we want soon/for 2.26? I answered something there12:43
mupPR snapd#3282: hooks: default timeout <Created by stolowski> <https://github.com/snapcore/snapd/pull/3282>12:43
mupPR snapd#3283 closed: overlord/hookstate: remove unused Context.timeout <Created by zyga> <Merged by chipaca> <https://github.com/snapcore/snapd/pull/3283>12:46
pstolowskipedronis, I think it would be nice to have but not critical12:46
pstolowskiChipaca, econnreset test failure, is that what you mean?12:46
Chipacapstolowski: yep12:47
Chipacapstolowski: the link should've taken you to the line, but maybe it fails with the slow async loading of the log12:47
pstolowskiChipaca, it showed me the last summary line, yes, just wasn't sure12:47
pstolowskiChipaca, this test had some when Michael introduced it and I remember he fixed it... or so he thought ;)12:48
pstolowskis/some/some flakiness/12:48
Chipacapstolowski: so i should just re-run it?12:58
Chipacapstolowski: actually rather than re-run it, as it seems i was wrong about device-hook, could you revert that edit?12:59
pstolowskiChipaca, re-run, yes, I'd say so. you mean you were wrong in the light of what pedronis said?13:00
Chipacayeh13:00
zygapstolowski: I have something for you to review13:01
zygahttps://github.com/snapcore/snapd/pull/328413:01
mupPR snapd#3284: interfaces: ensure that legacy interface methods are unused <Created by zyga> <https://github.com/snapcore/snapd/pull/3284>13:01
mupPR snapd#3284 opened: interfaces: ensure that legacy interface methods are unused <Created by zyga> <https://github.com/snapcore/snapd/pull/3284>13:01
zygaChipaca: ^^ you too as you have better go insight than I did13:01
zygaChipaca: (I wanted to do this without introducing reflection in non-test code)13:01
zygaChipaca: and without making definers public13:01
morphisfgimenez: do you got the CI fixed?13:01
zygas/did/do/ ;)13:01
ogra_zyga, stop slacking ... standup ;)13:01
fgimenezmorphis: yes, should be working now13:01
zygathis is an old branch that I wanted to resurrect13:01
zygaogra_: oh13:01
zygasorry13:01
niemeyerzyga, fgimenez : stand up?13:02
ogra_:)13:02
zygacoming13:02
jdstrandogra_: let me try on my pi213:03
morphisfgimenez: thanks13:03
ogra_jdstrand, not sure that works since you dont have a wlan device on it13:07
jdstrandfgimenez: re /dev/meminfo> it is allowed by the base abstraction, so, yes, it will be allowed everywhere13:07
ogra_jdstrand, i'll collect the info after our team standup ...13:07
jdstrandI actually have a usb wlan I can plug in13:07
jdstrandthe device isn't rebooting into 1876 though...13:08
ogra_you could try (if that can work in ap mode)13:08
jdstrand'Setup snap "core" (1876) security profiles (phase 2)'13:08
* jdstrand taps fingers13:08
ogra_ctrl-C if you dont want to wait for the auto reboot13:08
ogra_and just sudo reboot13:08
jdstrandah13:09
ogra_(it wont return)13:09
jdstrandok13:09
jdstrandthat seems odd, but... unblocked13:09
ogra_yes, is odd13:09
fgimenezjdstrand: great thanks, then do we need this rule https://github.com/snapcore/snapd/blob/master/interfaces/builtin/system_observe.go#L53 ?13:10
jdstrandfgimenez: no, we don't, ar it should at least be commented13:10
jdstrandor*13:10
jdstrandfgimenez: I took a note to do one of those things13:10
fgimenezjdstrand: ok thank you! :)13:11
jdstrandogra_: fyi, not having the wlan is enough to trigger it13:14
* jdstrand takes over13:14
ogra_ah, nice13:16
pedronisjdstrand: yes, that waiting command was the result of a quick bug fix, we know we have to improve the UX, it's on my todo list for soon13:25
Chipacahmm13:26
pedronisChipaca: hmm?13:27
Chipacaniemeyer, fgimenez: i do still see the right reply from the store for snap info13:27
Chipacaso maybe we broke something?13:27
pedronisChipaca: we switched to use it afaik (2.24 was still using the hack)13:27
Chipacathis is wrt the "^" channels13:27
pedronisso maybe we are using it wrong13:27
Chipacaoh wait let me make sure i'm using the right snap + snapd first :-)13:27
pedronisand didn't notice13:28
fgimenezChipaca: not sure, this is from 2.25 http://paste.ubuntu.com/24542694/ and this from 2.24.1 http://paste.ubuntu.com/24542709/ 2.25 doesn't show the closed channels13:29
Chipacafgimenez: right, that means we've got a bug wrt closed channels13:29
jdstrandpedronis: nice!13:30
Chipacafgimenez: which we've actually written into the tests13:30
Chipacai wonder how this slipped past me :-)13:30
* Chipaca knows how this could slip by13:30
Chipacaanyway, i'll push a branch for this13:31
fgimenezChipaca: :) is it on snapd side then? Facu suggested to file it under https://bugs.launchpad.net/snapstore/13:31
pstolowskiChipaca, reverted prepare-device timeout change13:31
FacuChipaca, no, wait, which bug you mean?13:36
=== om26er is now known as om26er1
=== om26er1 is now known as om26er
Chipacafgimenez: yes, snapd side13:37
ChipacaFacu: what13:37
ChipacaFacu: we've got a bug in the way 'snap info' formats its output13:38
ChipacaFacu: this is not a launchpad bug13:38
FacuChipaca, it should say (for the fgimenez example) "candidate: closed" (same for beta), right?13:38
Facu(at first I thought something else was broken, then I understood, and I just want you to NOT work twice)13:39
ChipacaFacu: candidate: ^13:42
jdstrandsocket(PF_NETLINK, SOCK_RAW, NETLINK_ROUTE)13:42
jdstrandogra_: ^13:42
Chipacajdstrand: la que te recontra por las dudas13:42
* Chipaca runs13:43
jdstrandChipaca, ogra_: fyi, updated strace command for armhf (for grepping backscroll :) -- sudo ./strace -o /tmp/trace -D -f -vv -e '!_newselect,select,clock_gettime' -- /usr/bin/snap run --shell wifi-ap.automatic-setup13:43
Chipacanice13:44
jdstrandon x86 you need to !select, but on armhf need to also not trace _newselect and clock_gettime otherwise it hangs13:44
FacuChipaca, no, it should say "candidate: closed" and "beta: closed" (that's why CPI returns "null" for those channels, not "tracking" or something, see Mark's answer to my specific question about this in https://bugs.launchpad.net/snappy/+bug/162864013:44
mupBug #1628640: Add 'snap info' command showing publisher, channel map <Snappy:Fix Released by chipaca> <Software Center Agent:Fix Released by facundo> <https://launchpad.net/bugs/1628640>13:44
Chipacapstolowski: i thought you'd just 'git reset --hard HEAD^ && git push --force', but yours is much more polite13:44
pstolowskiChipaca, yeah, I wasn't sure if github likes rewritten history13:45
ChipacaFacu: oh. Hm. There might be conflicting info here.13:46
FacuChipaca, HO?13:47
jdstrandogra_: the simple instructions are that automatic-setup needs to 'plugs: network-bind', but don't do that yet. let me review my notes on NETLINK_ROUTE, maybe I should just add it to network13:47
ChipacaFacu: nah, let me find things13:47
jdstrandogra_: (which it already plugs)13:47
ChipacaFacu: either my memory plays tricks, or different people have different opinions on this and they need to settle it between themselves before we go off and implement it :-)13:47
FacuChipaca, no problem! note we modeled server behaviour around that specific Mark's answer, we may need to change stuff if that changes13:48
zygaChipaca: is the snap-info failure that's affecting PRs something you are on top of now?13:50
jdstrandogra_: what you could do is add to /var/lib/snapd/seccomp/profiles/snap.wifi-ap.automatic-setup at the end: socket AF_NETLINK - NETLINK_ROUTE13:50
Chipacazyga: the snap-info failure is resolved13:50
jdstrandogra_: and let me know if that fixes it for you13:50
Chipacazyga: it is no longer affecting PRs, since a while before the standup13:51
jdstrandogra_: you'll have to service snap.wifi-ap.automatic-setup stop, then start13:51
jdstrandif I do that, I don't see the seccomp denial13:51
jdstrandbut I don't have the wlan plugged in13:52
* jdstrand goes to find it13:52
zygaChipaca: aha13:53
zygaChipaca: thanks!13:53
zygapstolowski: why are you doing the get/set thing? https://github.com/snapcore/snapd/pull/3282/files#diff-3a26c6cd9ed243bb3b102f2d9589ba30R30013:54
mupPR snapd#3282: hooks: default timeout <Created by stolowski> <https://github.com/snapcore/snapd/pull/3282>13:54
zygapstolowski: specifically the set?13:54
Chipacafgimenez: do we have any test-snapd- snap that is not in stable?13:55
jdstrandogra_: huh, seems like it worked13:55
pstolowskizyga, ah, good catch, it's unneeded, copy/paste from other test13:55
fgimenezChipaca: i think so, lately we have been releasing only to edge, let me check13:55
jdstrandogra_: $ sudo wifi-ap.status13:55
jdstrandap.active: true13:55
ChipacaFacu: in the "snap and snapcraft ux" doc there's a ^ in 'snapcraft status' (with a comment elsewhere of 'snap info' having the same layout as that)13:55
jdstrandogra_: ok, so, yes, please test that, and I'll do a little research13:56
fgimenezChipaca: test-snapd-openvswitch-consumer13:56
ChipacaFacu: where a closed channel that doesn't have a tracking thing shows "-", but closed-but-tracking is "^"13:56
Chipacafgimenez: thanks!13:57
pstolowskizyga, updated13:57
Chipacaniemeyer: ping, if you're around13:58
niemeyerChipaca: pongus13:58
FacuChipaca, can you give me the doc url, please?13:58
Chipacaif you're not around, also ping, but ¯\_(ツ)_/¯13:58
Facu:)13:59
zygapstolowski: thank you13:59
Chipacaniemeyer: so i have conflicting specs for 'snap info', one from "make the channel map like 'snapcraft status'", which uses ^ or - to indicate closed channels (depending on whether they're tracking something or not), and a later comment in bug#1628640 that says they should show <channel>: closed14:00
Chipacabug #162864014:00
mupBug #1628640: Add 'snap info' command showing publisher, channel map <Snappy:Fix Released by chipaca> <Software Center Agent:Fix Released by facundo> <https://launchpad.net/bugs/1628640>14:00
jdstrandogra_: where is the source code for bin/client?14:00
Chipacamup, you so confusing with "snapd#foo" and "bug #foo" :-)14:00
mupChipaca: I really wish I understood what you're trying to do.14:00
* zyga goes to take the garbage out14:01
jdstrandmorphis: maybe you know. where is the source code for bin/client in the wifi-ap snap?14:01
ogra_jdstrand, lp:~snappy-hwe-team/snappy-hwe-snaps/+git/wifi-ap14:01
jdstrandah, thanks14:01
jdstrandmorphis: nm14:01
Chipacaniemeyer: personally I think the ^/- communicates more than just "closed"14:01
Chipacaand I think there is value in it being similar to 'snapcraft status'14:02
Chipacaniemeyer: (right now we don't do either, because of a bug, which is why i'm bothering you with this :) )14:02
niemeyerChipaca: Can we have a forum topic for this?14:03
Chipacaniemeyer: forum topics don't just grow on trees, you know14:04
* Chipaca creates14:04
FacuChipaca, niemeyer, I personally think that "^/-" is better, that's why I asked Mark specifically about that, and Mark said "<channel>: closed" (in that bug ↑)14:04
niemeyerChipaca: I know.. that's why I bother people to create them :)14:04
ChipacaFacu: yeah, i'm suspecting that was a miscommunication / thinko14:05
ChipacaFacu: but let's settle it one way or t'other14:05
niemeyerThat's exactly the sort of topic we should keep in the forum14:05
FacuChipaca, for me it's settled, in the bug :)14:05
ChipacaFacu: either way you're good14:05
ChipacaFacu: bug is all my end14:05
niemeyerLet's please move the thread there so we have track record and rationale well kept14:05
Chipacayep yep14:06
Chipacaon it14:06
FacuChipaca, not really, the store should not answer "null" for those tracks, otherwise you'd need to start doing algorithms in the client to see if the channels is tracking or nothing is really released into it14:06
niemeyerFacu: Even if the bug isn't in your end, please join the thread with the details you have14:06
Chipacaniemeyer: in our defense all this wandering and wondering comes from before the forum was a thing :-)14:06
FacuChipaca, the store should say "tracking" for you to present "^" and "null" for "-"14:07
ChipacaFacu: you and your nullable strings14:07
FacuChipaca, this is what we're doing for snapcraft, anyway, so logic for channel interactions are defined in one place only (server side)14:07
Facuniemeyer, of course14:07
Chipacanow hush, i'm creating a forum topic :-p14:07
niemeyerChipaca: Yeah, no worries or blame assigned.. just trying to get ourselves (certainly including myself) into the practice of organizing these exchanges14:07
Chipacaniemeyer: none implied either, just explaining how we got here14:07
Chipacaand yes, agreed14:08
niemeyer👍14:08
zygaFacu: now that you said it ↑ looks better than ^14:08
Facuzyga, :)14:09
zygajdstrand: question about https://github.com/snapcore/snapd/pull/3051 -- did you have a chance to look at the kernel to see if this interface can land; I'm asking to know if I should spend effort trying to get it to be mergable today or should I just look at another PR14:12
mupPR snapd#3051: interfaces: add consoles interface <Created by femdom> <https://github.com/snapcore/snapd/pull/3051>14:12
jdstrandzyga: please look at another PR14:13
jdstrandzyga: this requires extensive investigation to make sure we dtrt14:13
jdstrandand it is behind a lot of other work atm14:13
jdstrandzyga: in fact, please add the blocked tag14:13
* jdstrand commented in the pr already that it is in the queue, but behind other things14:14
Chipacaniemeyer: the more I write in the description of this, the more it feels like a 1-minute conversation with mark would resolve it :-)14:15
Chipacaanyhow, nearly done14:15
niemeyerChipaca: Mark is the forum too..14:17
Chipacagood point!14:17
* Chipaca calls him out14:17
bdxhey everyone, how can I list the available config params for a snap?14:22
ChipacaFacu: niemeyer: https://forum.snapcraft.io/t/snap-info-channel-map-format/52114:22
niemeyerThanks!14:22
Chipacabdx: I don't think you can14:23
ogra_well, you can dig into the hook script usually14:23
Chipacabdx: not sure if that's intentional or not-gotten-around-to-it yet14:23
FacuChipaca, gracias14:23
ChipacaFacu: niemeyer: de nada caez's14:23
ogra_(unless the package provides some binary config hook)14:23
Chipacacaez'ns*14:23
Chipacazyga: ↑ vs ^ TBD (when we have something that knows whether it's writing to something UTF-8 friendly or not14:24
zygajdstrand: OK14:24
Chipaca)14:24
zygawill do14:24
Chipacaniemeyer: is it intentional that 'snap get' doesn't let you list all config keys?14:25
mupPR snapcraft#1303 opened: kernel plugin: slightly improve the messaging of check_config() <Created by piso77> <https://github.com/snapcore/snapcraft/pull/1303>14:25
Chipacaniemeyer: e.g. 'snap get foo' dumping the whole config (vs 'snap get foo bar' just getting bar)14:25
Chipacaalso why does snap get return json instead of yaml /o\14:26
Chipacaso many questions :-)14:26
pedronisChipaca: that would be part of having a schema, at the moment we could only list the currently set ones14:34
Chipacapedronis: https://forum.snapcraft.io/t/snap-get-config-dump/522/114:34
Chipaca:-)14:34
pedronisthat's not an official answer, you need niemeyer for that14:34
Chipacapedronis: 🐔14:35
Chipaca:-)14:35
ogra_ogra@pi3:~$ snap get core system14:35
ogra_error: snap "core" has no "system" configuration option14:35
ogra_ogra@pi3:~$ snap set core system.power-key-action=halt14:35
ogra_ogra@pi3:~$ snap get core system14:35
ogra_{14:35
ogra_"power-key-action": "halt"14:35
ogra_}14:35
ogra_the error is also definitely a lie14:36
ogra_(i guess adding "set" at the end of the error text would be enough though)14:36
Chipacapedronis: i think getting the set ones would be fine, at least until we have schemas (if a snap cares about this, all they need to do is set the defaults on first config call)14:39
niemeyerChipaca: I feel like a broken record, but can you open a forum topic to discuss those points?14:45
ogra_write an IRC macro!14:46
Chipacaniemeyer: way ahead of you dude14:46
ogra_;)14:46
Chipacaniemeyer: in fact you already replied to one of them14:46
om26erniemeyer, I tried to subscribe to snapcraft mailing list a few days ago, it said to be waiting for moderation from you. Can you please add me ?14:46
niemeyerChipaca: So are you just trying to confuse me?  :P14:46
Chipacaniemeyer: which makes me think you've been using the wrong flask to top up your mate14:47
niemeyerom26er: Heya14:47
Chipacaniemeyer: :)14:47
niemeyerom26er: Per the note at the front of the subscription page, we've integrated the mailing list into the forum14:47
Chipacaniemeyer: i said those things on irc, then created the topics; i think you just read them here later14:47
niemeyerChipaca: You win14:47
niemeyer:)14:47
* Chipaca takes the rest of the day off to celebrate14:48
niemeyerom26er: So all conversations previously in the list are now landing directly into the forum14:48
niemeyerom26er: You can still use it via email, if that's your preference14:48
niemeyerom26er: https://forum.snapcraft.io14:48
om26erniemeyer, interesting, will make finding old conversations easier.14:48
niemeyerom26er: Yeah, quite a few things get nicer14:49
* om26er creates a new account.14:49
ogra_and if you insist in email, you can actually use the email frontend to the forum ;)14:50
Chipacaniemeyer: http://pastebin.ubuntu.com/24543228/ OK?14:54
Chipacazyga: ^14:54
Chipacaor should i say zyga: 👆14:54
Chipaca(i'm only kidding about the 👆; changed it back to ^ already)14:55
niemeyerLOL14:55
om26erare the release announcements also made on the forum now ?14:55
niemeyer@Chipaca To be honest, it does look more clear than ^ :)14:55
nothalniemeyer: No such command!14:55
om26er1 month and it all looks different already ;)14:55
Chipacamostly because 👆 is very hard to tell apart from 🖕14:55
niemeyer@nothal You should ignore it then14:55
nothalniemeyer: No such command!14:55
niemeyerChipaca: ROTFL14:55
niemeyerChipaca: Depending on the situation the second one might be more appropriate14:56
Chipaca(but also, technically, because our output path does not know whether it's writing to something that likes UTF-8)14:56
niemeyerChipaca: Like.. "No stable, 🖕"14:56
Chipacaoooh14:56
Chipacaso one instead of -, the other instead of ^14:56
Chipacamakes sense14:56
Chipacasuper easy to read :-p14:56
Chipacahttp://pastebin.ubuntu.com/24543243/14:58
zygaChipaca: looking14:59
zygaChipaca: haha15:00
zygaChipaca: well..15:00
zygaChipaca: if it gracefully degrades in ASCII-only terminals then +115:00
ChipacaTODO on this front:15:00
zygalol15:01
Chipaca1. patch yaml to not revert to binary mode when it finds printable non-ascii characters15:01
zygashould we display 💩  instead of edge?15:01
Chipaca[...lots more points...]15:01
Chipaca42. profit!15:01
Chipaca43. detect UTF-8 console15:02
zygaChipaca: that's spelled …15:02
ChipacaFacu: wrt having "tracking" in the json from the store, that wouldn't really help us at the moment15:03
ChipacaFacu: ¯\_(ツ)_/¯15:04
ChipacaFacu: changing subjects: can a snap have a track with no open channels?15:04
noise][Chipaca: I believe that would be the default state when we first create a track15:08
Chipacanoise][: do you know of any snap with such a track in the store right now?15:08
Chipacawanting to see what it looks like in 'snap info'15:08
noise][i don't think so but i could easily add a track for a test snap15:08
Chipacanoise][: otherwise, if it's easy for you to do, can you create an 'ingest' track in the http snap?15:09
Chipacaheh15:09
noise][yep15:09
Chipacanoise][: yes please15:09
Chipacajust to have a concrete example for discussion15:09
noise][Chipaca: created15:12
niemeyerLunch!15:12
Chipacanoise][: looks like a track with no channels does not appear in channels_maps_list15:13
Chipacanoise][: (and that's fine)15:13
noise][yeah, there's no there there15:14
roadmr?15:14
noise][seems reasonable since nothing has ever been released into any channels in the track, there's no channel map or history15:14
Chipacayup, as i say, that's fine15:15
Chipacaif it had appeared we would've had to decide whether to show it at all on the client, or just hide it15:15
Chipacaso huzzah, less stuff to decide :-)15:15
noise][\o/15:16
naccniemeyer: i wonder if someone from the snap team can update the open bot code to respond to !snap like it does to !info? The latter does a apt query (iirc) or it might look at the archive. It seems like we would like to be able to query the store just as easily from IRC for status.15:20
naccniemeyer: let me find the linnk15:20
nacchttps://launchpad.net/ubuntu-bots15:20
naccniemeyer: we are starting to see some #ubuntu questions re: snaps and what's available periodically and i have to go run `snap find` myself :)15:21
ogra_nacc, add a !snapforum command to that just prints "Please add this as a topic to the forum" ...15:23
ogra_s/to/too/15:23
naccogra_: heh :)15:23
mupBug #1689578 opened: Lack of shell completion installation support for command line apps <Snappy:New> <snapd (Ubuntu):New> <https://launchpad.net/bugs/1689578>15:27
naccogra_: yeah, i was going to take a stab at it myself, but was hoping someone with more snap api knowledge could do it if not :)15:27
zygaChipaca: hey, tests/main/completion often fails on zesty15:30
zygaChipaca: are you running zesty by any chance?15:31
Chipacazyga: I am not. When it fails, can I see *how* it fails?15:31
Chipacazyga: spread, or autosmackagetest?15:31
zygaChipaca: just run it in qemu in a loop15:31
zygaChipaca: I think autosmacketest15:31
Chipacazyga: i'll give it a look later tonight15:32
zygaChipaca: thanks!15:32
Chipacameanwhile if you come across it in the wild, point me at the logs15:32
zygaChipaca: yep15:32
zygahttps://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-zesty-snappy-dev-image/zesty/amd64/s/snapd/20170509_140006_d459a@/log.gz15:32
zygatimes out15:32
jdstrandwhat's the trick these days with uploading something to the canonical account?15:33
jdstrands/to the/with the/15:33
zygajdstrand: not sure :/15:33
Chipacazyga: there are some improvements in tests/completion/lib.exp0 that are not in tests/main/completion/lib.exp0 which might make it better, if it's just timeouts15:33
zygajdstrand: the aha15:33
zygaI meant15:33
Chipacajdstrand: i think you get given access per snap15:33
zygaChipaca: aha15:33
jdstrandah15:33
Chipacajdstrand: which snap?15:34
jdstrandogra_: do you have access to the classic snap?15:34
zygajdstrand: FYI: I added something that will make sure we're not happily running with old unused interface APIs https://github.com/snapcore/snapd/pull/3284/files#diff-634051b94f9aae657f75a08bc250a139L11315:34
mupPR snapd#3284: interfaces: ensure that legacy interface methods are unused <Created by zyga> <https://github.com/snapcore/snapd/pull/3284>15:34
jdstrandChipaca: classic15:34
zygajdstrand: +1 welcome :)15:34
diddledanjdstrand: if some of us, like me - being non canonical employee, knew the trick then we might be labelled haxx0rs ;-)15:34
Chipacazyga: that test failure looks like an actual timeout from the store15:34
jdstrandyeah, I forgot it was per snap15:34
zygaChipaca: another bump in your graph/15:34
diddledanI've lost count of how many times I've compiled my corebird snap trying to get a custom gtk build to work :-)15:35
Chipacajdstrand: i've got access to classic15:35
jdstrandChipaca: this will greatly improve the experience: http://paste.ubuntu.com/24543356/15:36
Chipacajdstrand: what's your lp email?15:36
jdstrandChipaca: jamie at canonical.com15:36
Chipacajdstrand: you've got mail15:36
jdstrandI'm happy to be added and to do the upload, etc15:36
jdstrandcool thanks15:37
Chipacajdstrand: shouldn't that have an 'assumes' also?15:38
* Chipaca doesn't know15:39
jdstrandChipaca: I've seen comments that assumes isn't well tested. I can add it since I'm going to leave the one in beta alone15:47
Chipacajdstrand: I don't really know :-)15:47
Chipacajdstrand: ev seems to really like it though15:47
jdstrandthe interfaces code has always handled it ok15:47
* jdstrand shrugs15:47
mupBug #1689578 changed: Lack of shell completion installation support for command line apps <Snapcraft:New> <snapd (Ubuntu):Fix Committed by chipaca> <https://launchpad.net/bugs/1689578>15:48
Chipacasergiusens: hiya15:50
Chipacasergiusens: dunno if you saw about the 'completer' thing15:50
Chipacaoh that reminds me15:50
sergiusensChipaca: yeah, I saw things here and there15:50
Chipacajdstrand: i haven't tried to push something to the store that has a 'completer' key; will it break?15:50
Chipacavalidation i mean15:50
=== chihchun is now known as chihchun_afk
sergiusensChipaca: I wish you just create a PR against snapcraft though :-P15:50
Chipacasergiusens: do you need anything from me to be able to do support it?15:51
Chipacasergiusens: i know, but that'll not really be a good use of our time15:51
sergiusensI don't think so, if all we need is to point into a file inside `prime` (aka, the snap), then it is all good15:51
sergiusenswhen is this released?15:51
Chipacasergiusens: it's in edge already15:52
Chipacasergiusens: it'll move to beta tomorrow15:52
sergiusensChipaca: when to us normals?15:52
Chipacasergiusens: and it'll take a couple of weeks to reach the normies :-p15:52
Chipacasergiusens: (modulo QA passing)15:52
sergiusensChipaca: I can create a PR but not merge to see how it goes, but not going to make it in as we have bad precedent on introducing assumes and environment before it reached users15:53
Chipacajdstrand: if the validator needs work for this, a bug task on #1689578 might be appropriate15:53
mupBug #1689578: Lack of shell completion installation support for command line apps <Snapcraft:New> <snapd (Ubuntu):Fix Committed by chipaca> <https://launchpad.net/bugs/1689578>15:53
Chipacasergiusens: oh, totally15:53
sergiusensif `assumes` were functional, we could use that to proceed in an elegant way15:54
zygaI thought that assumes are functional15:54
Chipacaso did i :-)15:54
Chipacasergiusens: in any case, I added a snapcraft bug task to the above bug, to track this15:55
Chipacasergiusens: and i think not implementing it in snapcraft until it's fix-released in snapd is fine15:55
zygapstolowski: can you review that branch (no-funny-interfaces) and once it lands, merge it into your PR15:56
zygapstolowski: I'd like to detect the attribute-unaware methods this wayt15:56
jdstrandChipaca: task added. classic updated. PR for classic submitted15:56
sergiusenszyga: Chipaca functional internally maybe, but where is the documentation and where are the allowed keywords?15:56
Chipacajdstrand: huzzah15:56
pstolowskizyga, ok15:56
FacuChipaca, just arrived, was AFK; may I help you with anything or it's solved?15:57
jdstrandnow people's logs won't fill up when using classic :)15:57
ChipacaFacu: i don't think there's anything to do at this point in time15:57
zygasergiusens: we have had a few but I think the idea is to use "assumes snapd25" or similar so that you can know you are using at least certain snapd version15:57
ogra_jdstrand, i do15:58
ogra_(i think)15:58
diddledanooh, getting closer. corebird now fires-up into a gui15:58
diddledanI needed to hack the desktop-gtk3 definition15:58
jdstrandogra_: ah, thanks, but nm, got it sorted15:59
ogra_jdstrand, source is at https://github.com/snapcore/classic-snap15:59
ogra_(in case you didnt know that yet)15:59
* jdstrand ods15:59
jdstrandnods even15:59
jdstrandI already have a PR15:59
ogra_cool16:00
Chipacazyga: did you see that we've got kernel debs to try? https://bugs.launchpad.net/ubuntu/+source/linux/+bug/167281916:02
mupBug #1672819: exec'ing a setuid binary from a threaded program sometimes fails to setuid <amd64> <apport-bug> <kernel-da-key> <xenial> <Linux:Unknown> <linux (Ubuntu):Triaged> <linux (Ubuntu Xenial):Incomplete by colin-king> <https://launchpad.net/bugs/1672819>16:02
zygaChipaca: nope, not yet16:03
pstolowskizyga, +1 with one comment16:07
zygapstolowski: thank you, looking16:07
zygapstolowski: thanks! applied :)16:09
sergiusenszyga: great, now I need a map of snapd versions and features provided ;-)16:27
Chipacasergiusens: {i: awesomeness*i for i in range(...)}16:30
mupPR snapd#3285 opened: interfaces/network: workaround Go's need for NETLINK_ROUTE on ARM with 'net'. LP: #1689536 <Created by jdstrand> <https://github.com/snapcore/snapd/pull/3285>16:31
zygasergiusens: just set to current ^_^16:33
mupPR snapd#3286 opened: cmd/snap: tweak info channels output <Created by chipaca> <https://github.com/snapcore/snapd/pull/3286>16:35
zygaChipaca: can you do a 2nd review on trivial, important: https://github.com/snapcore/snapd/pull/328516:50
mupPR snapd#3285: interfaces/network: workaround Go's need for NETLINK_ROUTE on ARM with 'net'. LP: #1689536 <Critical> <Created by jdstrand> <https://github.com/snapcore/snapd/pull/3285>16:50
=== kay is now known as Guest11889
Chipacazyga: ew16:52
zygaChipaca: another timeout on tab completion https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-yakkety-snappy-dev-image/yakkety/amd64/s/snapd/20170509_083625_159d3@/log.gz16:54
mupPR snapd#3281 closed: tests: add test for empty snap name on revert <Created by fgimenez> <Merged by zyga> <https://github.com/snapcore/snapd/pull/3281>16:54
zyganiemeyer: can you please +1 https://github.com/snapcore/snapd/pull/302616:55
mupPR snapd#3026: cmd/snap-confine: use defensive argument parser <Created by zyga> <https://github.com/snapcore/snapd/pull/3026>16:55
Chipacazyga: and in the same place16:55
ChipacaMay 09 08:26:32 autopkgtest snapd[611]: 2017/05/09 08:26:32.144671 daemon.go:176: DEBUG: uid=0;@ GET /v2/find?name=test%2A 5.073657694s 20016:56
Chipacazyga: the store takes 5 seconds to reply16:56
Chipacazyga: expect's timeout is 5 seconds16:56
Chipaca¯\_(ツ)_/¯16:56
zygaChipaca: thanks!16:57
* Chipaca is wearing out his :shrug: today16:57
zygaChipaca: I wish that was easier to grok :D16:57
zygaChipaca: like if >5.0 printf "WTF is so slow?"16:57
Chipacazyga: suggest bumping expect timeout to, say, 7 seconds :-)16:57
niemeyerzyga: +116:57
zyganiemeyer: thank you!16:57
zyganiemeyer: can you also look at https://github.com/snapcore/snapd/pull/3284 perhaps, I'd appreciate advice on how to make that better16:58
mupPR snapd#3284: interfaces: ensure that legacy interface methods are unused <Created by zyga> <https://github.com/snapcore/snapd/pull/3284>16:58
zygaI wanted to avoid using reflection in non-test code16:58
niemeyerzyga: I really want to finish my expense reporting.. it's way to tempting not to16:58
zygaI could also make the tinye "definer" interfaces public16:58
niemeyertoo16:58
zyganiemeyer: understood :)16:58
zygawe are two PRs away from being one-page-long16:59
mupPR snapd#3026 closed: cmd/snap-confine: use defensive argument parser <Created by zyga> <Merged by zyga> <https://github.com/snapcore/snapd/pull/3026>16:59
* zyga goes after another interface16:59
Chipacaniemeyer: dunno if you saw but in the 'snap info' output i've had to change the - to a -- (for the 'channel is closed, and no less risky channel is open' case)16:59
Chipacabecause, “stable: -” is not valid yaml17:00
Chipaca:-)17:00
Chipaca“stable: --” is, though, so i'm going with that17:00
niemeyerOuch17:01
Chipaca:-)17:01
niemeyerChipaca: How about an ndash?17:01
niemeyerToo confusing?17:01
Chipacaniemeyer: not confusing, but it'll look nasty in some cases17:01
zygawhat is an ndash?17:01
Chipacaniemeyer: (non-utf8 aware cases, which will already look nasty for other reasons i'm sure)17:01
Chipacazyga: a dash the width of an n17:02
zygaaah17:02
Chipacazyga: as opposed to the mdash which is a dash the width of an m17:02
niemeyerThis: foo: –17:02
Chipacazyga: also an ndash is 1 en wide, and an mdash is one em wide17:02
Chipacaalso an x is one en tall17:02
zygaI think I will hug my 1-cell sized monospace fonts :17:02
Chipaca... and onf of those can be false in weird fonts17:03
zygaChipaca: about our discussions earlier17:03
zygaChipaca: double-cell glyphs!17:03
zygaChipaca: back to regular broadcast17:03
niemeyerChipaca: It does look nicer than -- though17:03
mupBug #1673763 changed: Help for 'version' <Snappy:Fix Released by zyga> <https://launchpad.net/bugs/1673763>17:03
mupBug #1680097 changed: core:network-bind plug is not connected after ubuntu-core -> core transition <Snappy:Fix Released by zyga> <https://launchpad.net/bugs/1680097>17:03
Chipacazyga: hah. what about characters that are wide or thin depending17:03
Chipacadepending on what? who knows. depending.17:03
Chipaca(but people get upset)17:03
* niemeyer wonders how unreasonable that is17:04
Chipacaniemeyer: it does17:04
zygaChipaca: there is a block like that17:04
zygaChipaca: they are so-called ambiguous characters17:04
zygaChipaca: and may be half-width or regular size17:04
Chipacai know17:04
zygaChipaca: where half width is really "regular" and regular is "double cell"17:04
zygaanyway17:04
zygainsane stuff17:04
Chipacaniemeyer: so... should I just do it?17:05
niemeyerChipaca: If we also used hands it'd be more clear that it's UTF-8 :)17:05
* niemeyer teases17:05
Chipacaniemeyer: i was about to suggest using an actual arrow17:05
zygaactual arrows are really ... plentiful in unicode17:06
niemeyerChipaca: Can you make an example for us to ponder on?17:06
niemeyerChipaca: An arrow seems nicer than ^ as well, and not a big departure17:06
Chipacaniemeyer: ↑ ⇧ ⇪ ⇫ ⟰ ⤒ ⥉ ⥜ ⥣ ⥾17:08
niemeyerFirst one seems nice17:08
niemeyerAlthough a bit too invisible17:09
niemeyerChipaca: Do we have a larger one that looks like it17:09
niemeyer?17:09
niemeyerChipaca: I'm sure unicode must have hundreds of arrows that look almost exactly like that :)17:09
Chipacayeah17:09
zygathat last one looks like a fountain17:09
Chipacathere's a lot more arrows pointing right than up though17:09
zygahttp://www.fileformat.info/info/unicode/block/arrows/utf8test.htm17:09
Chipacaniemeyer: let me put it in code so you can see it in context17:10
zygahttp://www.fileformat.info/info/unicode/block/arrows/list.htm17:10
zygaI see fields of ... arrows17:10
zygaI myself am quite fond of ⇡17:10
zygathough ↯ is funky, just goes the wrong way17:10
Chipacaniemeyer: http://pastebin.ubuntu.com/24543901/17:11
Chipacaniemeyer: looks like a tree17:11
Chipacaniemeyer: if anything it's _too_ big17:11
zygaChipaca: I'd add a "legend" line at the bottom saying what those arrows and funkiness all mean17:12
Chipacai think if we need that, we're doing it wrong17:13
Chipacaah, ↑ is a lot less bold in the ubuntu mono font17:14
Chipacabah. not in the ubuntu font. it's coming from DejaVu Sans17:14
zygaChipaca: look at a map17:14
zygaChipaca: maps have legend, they are not doing it wrong, it's just everything is unfamiliar at first17:14
zygaChipaca: you may skip the legend later but it's useful to have one17:15
* Chipaca likes mapmaking, but doesn't feel the terminal is an adequate place for it17:15
Chipacaanyway, i must EOD17:15
cratliffI'm working on converting some systemd services to snaps.  Is there a snappy way to edit variables that would be included in a environment file?17:15
Chipacaniemeyer: zyga: leave me a comment on the PR if you decide anything wrt this17:16
* Chipaca off17:16
zygacratliff: in the environment of everything else in the system?17:16
cratliffthat could probably work for me, but the way it is working right now is the services start with an EnvironmentFile parameter that sets a few variables used in the ROS launch file and other places.17:19
zygacratliff: aha17:22
zygacratliff: can you use the environment section in the snapcraft yaml? are those constants ore variables?17:23
cratliffI must have missed the environment section details.  They are used to reuse packages on multiple devices so at runtime they are constants.17:24
zygacratliff: give that a try!17:24
cratliffcan you send me a link to a doc? I'm still having trouble finding it.17:28
zygacratliff: I don't know where this is documented, perhaps sergiusens or kyrofa does17:33
kyrofacratliff, zyga I'm not sure where it's documented either, but here's an example: https://github.com/snapcore/snapcraft/blob/master/demos/git/snap/snapcraft.yaml17:36
zyganiemeyer: can you please re-review https://github.com/snapcore/snapd/pull/2869; it has jdstrand's +1 and I added one missing bit and reviewed it myself17:36
mupPR snapd#2869: interfaces/builtin: add online-accounts-service interface <Created by mardy> <https://github.com/snapcore/snapd/pull/2869>17:36
zygakyrofa: thank you!17:36
niemeyerzyga: Still doing expenses17:36
zyganiemeyer: sure17:36
cratliffCool, thanks for pointing me in the right direction.17:38
kgvelkovhey18:06
* zyga_ breaks for evening walk18:09
mupPR snapd#3285 closed: interfaces/network: workaround Go's need for NETLINK_ROUTE with 'net'. LP: #1689536 <Critical> <Created by jdstrand> <Merged by chipaca> <https://github.com/snapcore/snapd/pull/3285>20:52
mupPR snapd#3279 closed: tests: extend kernel-module-control interface test <Created by fgimenez> <Merged by chipaca> <https://github.com/snapcore/snapd/pull/3279>20:59
mupPR snapd#3251 closed: packaging: cleanup how built-using is generated  <Created by mvo5> <Merged by chipaca> <https://github.com/snapcore/snapd/pull/3251>21:00
Chipacazyga: you around?21:14
Chipacazyga: have you done the thing about the expect timeout?21:14
=== JanC is now known as Guest59098
=== JanC_ is now known as JanC

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