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

=== chihchun_afk is now known as chihchun
zygagood morning05:55
morphiszyga: morning!06:01
morphiszyga: did you find any solution for the "cannot find package "golang.org/x/crypto/ssh/testdata"" error on travis?06:02
=== ubott2 is now known as ubottu
morphisogra_: ping06:59
zyga_morphis: hey07:16
zyga_hey ara :)07:16
=== zyga_ is now known as zyga
aramorning zyga :)07:16
morphiszyga: hey :-)07:16
zygamorphis: I commented on https://github.com/snapcore/snapd/pull/3271 - trivial stuff if you want to apply that07:16
mupPR snapd#3271: cmd/snap-confine: use /etc/ssl from the core snap <Created by morphis> <https://github.com/snapcore/snapd/pull/3271>07:16
* zyga goes back to reviews07:16
morphiszyga: what is the difference between details and description?07:17
morphisah looks like I did that wrong until now07:17
morphisand spread doesn't complain about details:07:18
morphiss/details:/description:/07:18
zygamorphis: it's not used at all07:22
morphiszyga: yeah, just saw that I used description: in all my previous MPs07:22
zygamorphis: but you didn't give any details or description so I wrote some :)07:22
zygamorphis: it's a purely human-readable thing07:22
morphiswill clean that up07:22
zygamorphis: thanks!07:23
morphiszyga: fixed https://github.com/snapcore/snapd/pull/327107:37
mupPR snapd#3271: cmd/snap-confine: use /etc/ssl from the core snap <Created by morphis> <https://github.com/snapcore/snapd/pull/3271>07:37
zygamorphis: thank you07:37
morphiszyga: also updated https://github.com/snapcore/snapd/pull/327407:58
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>07:58
zygamorphis: great, thank you08:00
morphisthat one still needs conversion of all other tests not converted yet but once I get a pass from travis I will do that08:01
zygamorphis: replied08:02
zygamorphis: one thing about !08:02
morphisfixed08:03
zygamorphis: great!08:03
* zyga -> coffee08:19
zygabrb08:19
ali1234morning. can i get some help finishing my sigrok snap and getting it into the store?08:23
zygaali1234: hey, what kind of help do you need08:23
ali1234it works with strict confinement, i just need to finish off the house keeping: build dependencies, version number etc08:24
ali1234and get it uploaded08:24
ali1234cleanbuild still does not work for me08:24
ali1234also i have a weird bug where Qt apps are not themed correctly, but that affects every snap afaict08:24
ali1234every snap on my system i mean08:25
ali1234https://github.com/ali1234/mysnaps/blob/master/sigrok/snapcraft.yaml is what i have08:25
ali1234oh, also i'm not sure why i need the network plug. libusb uses netlink and raw-usb alone isn't enough to make it work08:27
zygaali1234: themes are hard :) https://forum.snapcraft.io/t/use-the-system-gtk-theme/496/408:27
ali1234oh, so its because i don't use the default theme?08:27
ali1234okay, well i guess that's the least important issue08:28
zygaali1234: yes, because the theme in the snap is not the same as the themes in the system08:37
zygaali1234: can you share dmesg | grep DENIED08:37
ali1234for what? the netlink thing?08:38
zygaali1234: and also dmesg | grep type=132608:38
zygaali1234: this will show any apparmor and seccomp denials08:38
ali1234if i have the raw-usb plug but not the network plug i get: type=1400 audit(1494097705.817:107): apparmor="DENIED" operation="create" profile="snap.sigrok.sigrok-cli" pid=8274 comm="sigrok-cli" family="netlink" sock_type="raw" protocol=15 requested_mask="create" denied_mask="create"08:38
zygaso we can figure out what sigrok is doing that needs more interfaces08:38
zygaaha so NETLINK_KOBJECT_UEVENT08:39
ali1234it may be that sigrok supports analyzers on ethernet and is trying to scan for them08:39
ali1234i am not sure, i only have a usb one to test with08:39
zygathe good news is that we have some nice netlink interface lately08:39
zygaeven if sigrok requires a dedicated interface one can be crafted very quickly08:41
ali1234as i said, it works with the network plug08:41
ali1234and sigrok does support ethernet devices according to the hardware page08:42
ali1234i think it can use rs232 devices as well08:43
ogra_morphis, yes ?08:50
morphisogra_: I saw https://paste.ubuntu.com/24535422/ in a spread test this morning08:53
morphisogra_: any idea?08:54
ogra_morphis, ouch ... looks like there was a newer shadow version uploaded to the archive ... overriding the PPA08:54
morphisuups08:54
morphiszyga: looks like you referenced the wrong link in https://github.com/snapcore/snapd/pull/3277#issuecomment-29979260008:57
mupPR snapd#3277: cmd/snap, client: add "whoami" command <Created by chipaca> <https://github.com/snapcore/snapd/pull/3277>08:57
zygaaha, thanks08:58
morphisogra_: if you want more details https://travis-ci.org/snapcore/snapd/builds/229850432?utm_source=github_status&utm_medium=notification08:58
ogra_morphis, i dont need any details ... i need to merge a package :P08:58
morphis:-)08:58
zygacorrected :)08:58
* ogra_ sighs ... and indeed its a manual merge, the CVE fix touches the same file09:02
abeato_ogra_, hey, is there any way I can avoid starting console-conf on first run?09:11
ogra_abeato_, i think you can touch some file but not sure what the path was ... perhaps mwhudson can help09:13
morphisabeato_: there is, have a look at our tests-extras repo09:15
ogra_(not sure how the getty setup reacts on that though ... there is some special setup to print the IP and ssh keys)09:15
morphisabeato_: https://git.launchpad.net/~snappy-hwe-team/snappy-hwe-snaps/+git/tests-extras/tree/create-image-scripts/create-image.sh#n13509:15
ogra_(and to prevent spawning a login prompt)09:15
abeato_morphis, I see, thanks09:16
abeato_ogra_, well, provided I get a shell I can manage :)09:16
ogra_if you would that would be a bug :)09:17
ogra_you shouldnt get a shell login offered without configured user09:17
abeato_yeah, I will try to create one with a system-user assertion09:18
ogra_yeah, that shoudl work09:18
mwhudsonabeato_, ogra_: /var/lib/console-conf/complete i think09:26
abeato_mwhudson, great... how can I some debugging for console-conf, anyway?09:27
ali1234what approach should i take to automatic building and versioning?09:31
ali1234upstream has this repo that contains build scripts for various platforms: http://sigrok.org/gitweb/?p=sigrok-util.git;a=tree;f=cross-compile;h=e3013fd578b6d07b55ca32a4c43d082e36cc5e24;hb=HEAD09:31
ali1234as you can see, they already have an appimage09:32
ali1234it would make sense to put the snapcraft.yaml in here i think09:32
ali1234but it builds from several other repos09:32
zygaali1234: you can look at build.snapcraft.io09:36
zygaali1234: it's a free service that's very useful :-)09:36
ali1234upstream does not use github though09:36
zygaChipaca: hey09:37
zygaChipaca: do you know if any of the sprint-going people will be around today?09:37
ali1234i assume it does the same thing as https://snapcraft.io/docs/build-snaps/ci-integration09:37
Chipacazyga: I don't09:38
zygaali1234: ci integration is sligthly different but I'm not actively using it myself so I could be worng09:38
Chipacazyga: I do know I'm about to go off to a doctor's appointment :-)09:38
zygaChipaca: take care! Look after yourself!09:40
Chipacazyga: this is the physio \o/09:40
Chipacaanyway, should be back for the standup09:40
zygasounds good09:40
ali1234is it still a thing to prefix your name on packages to prevent collisions?09:41
mwhudsonabeato_: painfully09:41
abeato_lol09:42
mwhudsonabeato_: ui things get debugged in dry-run mode09:42
abeato_yes, that is something I suspected...09:42
mwhudsonmore complicated things mostly by staring at the log file09:42
abeato_mwhudson, it is more about some issue with handling interfaces09:42
zygaali1234: if this will be the official snap I'd skip the prefix09:42
ali1234it wont be, i am not upstream09:42
zygaali1234: especially if it comes from the upstream repository09:42
mwhudsonabeato_: as in NICs?09:42
zygaali1234: aha09:42
zygaali1234: maybe try talking to them09:42
zygaali1234: it's just packaging :)09:42
abeato_mwhudson, yes09:42
ali1234i have done09:42
zygaali1234: and they may like it09:42
ali1234they did like it09:43
zygaali1234: if they commit the snapcraft.yaml into their tree09:43
ali1234they want to see it working09:43
mwhudsonabeato_: fun times09:43
abeato_mwhudson, where is the log stored for console-conf?09:43
zygaali1234: I don't see why it should be prefixed09:43
mwhudsonabeato_: /var/log/console-conf09:43
ali1234i added my repo on build.snapcraft.io and it says it does not have a snapcraft.yaml09:43
ali1234this is not true, it actually has three09:43
abeato_mwhudson, ok, thanks09:43
zygaali1234: it looks at a specific location, where are your snapcraft.yaml files?09:44
zygaali1234: perhaps ask in the forum (forum.snapcraft.io) as the people working on this are in other timezones09:44
ali1234well the sigrok one is in sigrok/snapcraft.yaml09:44
ali1234if it goes in upstream it will be in cross-compile/snap/snapcraft.yaml09:44
mwhudsonabeato_: you could try using a system user assertion to have an account created on first boot and then poke around more interactively09:45
zygaali1234: AFAIR it can be in (paths) snap/snapcraft.yaml or snapcraft.yaml relative to the root of the project09:45
mwhudsonbut that's a bit hairy too09:45
zygaali1234: it cannot be in an arbitrary location09:45
ali1234okay i will fork upstream repo and try with that09:45
abeato_mwhudson, yes, that is something I want to do too09:45
mwhudsonabeato_: what sort of problem are you having?09:45
abeato_mwhudson, the one signing the system-user assertion should be the same that signed the gadget snap, right?09:46
abeato_mwhudson, some issue with interface configuration, it looks apparently configured but I cannot reach the store09:46
mwhudsonabeato_: s/gadget snap/model assertion/ i think, but yes09:46
abeato_mwhudson, yes, model :)09:46
mwhudsonabeato_: ugggh09:47
ali1234although it won't work for upstream since it isn;t on github09:47
ogra_well, unconfigured interfaces still run a dhclient09:47
ogra_even before cvonsole-conf ever comes up09:47
abeato_mwhudson, not sure if maybe the issue comes  from some p2p0 interface that is around09:48
abeato_mwhudson, ogra_ http://paste.ubuntu.com/24535879/09:48
ogra_looks like you cant reach your nameserver09:48
mwhudsonyes i guess you should check for broken / bogus dhcp servers :)09:49
zygaali1234: where is upstream?09:49
abeato_ogra_, in fact I can ping the device when I am in the "network connections" screen, but after "configuring" the network, the IP gets lost09:49
ali1234http://sigrok.org/gitweb/?p=sigrok-util.git;a=tree;f=cross-compile;h=e3013fd578b6d07b55ca32a4c43d082e36cc5e24;hb=HEAD09:49
abeato_it actually removes connectivity instead of providing it09:50
ogra_abeato_, yeah, consiole-conf changes it09:50
ali1234i am importing that repo to github just for testing purposes09:51
mwhudsonabeato_: anything incriminating in syslog?09:51
abeato_mwhudson, it is pretty difficult for me to grab logs, will change initramfs to get those09:51
zygaali1234: perhaps you could create a launchpad project, setup git mirroring and just build on launchpad with a snap packaging recipe09:52
zygaali1234: build.snapcraft.io is just a fancy front end09:52
ali1234yes, that's the thing i linked to before :)09:52
zygaali1234: aha :-)09:52
mwhudsonabeato_: system user assertion approach probably best then09:52
mwhudsoni wonder if that is documented anywhere yet...09:53
ali1234but the thing is that repo gets pushes all the time for other things09:53
abeato_ok09:53
ali1234also it doesn't get pushes when the actual source repos are updated09:53
ali1234so idk how to make it rebuild properly09:53
mwhudsonor i dunno, unpack core snap, chroot into it, add a user, repack, reimage, reflash, would that work?09:53
mwhudsonmaybe not actually, you wouldn't get a getty, could always hack up systemd config to make sure you do but that gets a bit involved again09:54
* mwhudson is rambling, it's a bit late here09:55
zygaali1234: it pulls automatically every 6 hours09:55
zygaali1234: it's not amazing but not terrible either09:55
zygaali1234: and the recipe can build on each push09:55
zygaali1234: look at this:09:55
ali1234yes, i understand that09:55
zygahttps://github.com/snapcore/pi2-gadget09:56
zygathis is mirrored on launchpad and built to a snap09:56
zygaexactly the way I described09:56
zygaand it is documented in the readme09:56
ali1234the problem is that the repo gets pushes eg when the appimage changes09:56
ali1234but it doesn't get pushes when the source code of the app itself changes09:56
zygalook at the links and you can do the same thing09:56
zygaaha09:56
zygawait, so where is the source code?09:56
abeato_mwhudson, it is an idea... will go first for the system-user assertion though ;)09:56
ali1234in several other repos09:56
zygaI see09:56
ali1234look at the snapcraft.yaml :)09:56
* zyga looks09:56
ali1234https://github.com/ali1234/mysnaps/blob/master/sigrok/snapcraft.yaml09:57
zygawell09:57
zygano idea, ask on the forum :)09:57
zygait's an interesting problem for sure09:57
ali1234so far everything i tried to snap ended up as an interesting problem :)09:57
ali1234that's why my repo is called "museum of broken snaps"09:58
zygaali1234: this is how exploring the unknown feels like :D09:58
ali1234none of them actually work09:58
morphiszyga: any idea why `snap info core` doesn't print out the snap type on Fedora?09:58
ali1234sigrok does now though so i want to promote it :)09:58
mwhudsonali1234: i just have a launchpadlib script in cron that triggers a build every 24 hours09:59
ali1234mwhudson: doesn't that mean users have to download an update every day, regardless of if anything changed?09:59
mwhudsonali1234: http://paste.ubuntu.com/24535900/09:59
ali1234the sigrok snap comes out at 74MB09:59
zygamorphis: no, can you share the output?10:00
mwhudsonali1234: ah yes, well nothing stops you being slightly cleverer in the script i guess :)10:00
mwhudsonali1234: i agree this is a problem, i don't have a great solution10:00
morphiszyga: https://paste.ubuntu.com/24535903/10:00
morphiszyga: on ubuntu that gives me type: core10:00
zygayeah10:01
zygaI see10:01
* zyga looks10:01
zygaso we have maybePrintType10:01
morphiszyga: yes, but that should print the type for the core snap10:02
ali1234um... why doesn't the snapcraft forum have SSO?10:02
ogra_its in the works10:03
morphiszyga: ok, I know why10:03
morphiszyga: `snap list` marks it as broken10:03
ogra_morphis, new core with new shadow building ...10:03
zygamorphis: aaah10:03
zygamorphis: :)10:03
zygamorphis: there you go10:03
morphisogra_: nice10:03
zygamorphis: /var/lib/snapd/snap vs /snap issue somewhere10:03
zygamorphis: broken meant that snapd didn't find the meta/snap.yaml file10:03
* zyga would really like for snapd to cache snap.info per revision 10:04
zygathen we could even lazily mount snaps or keep only one revision mounted instead of three10:04
zygaless memory use10:04
zygaand we could keep a finite set mounted even if the user has many times more snaps installed (just not running)10:04
zygapart of the lifecycle idea we had earlier10:04
ali1234does the name: in snapcraft.yaml have to match the registered name on build.snapcraft.io?10:09
zygaali1234: yes10:09
zygaali1234: well10:09
zygaali1234: any name you want really but you need to be able to push snaps there10:09
ali1234which?10:10
ali1234okay it still can't see the snapcraft.yaml10:12
ali1234https://github.com/ali1234/sigrok-util/tree/master/cross-compile/snap10:12
morphiszyga: debian should run in force devmode true, right?10:14
zygamorphis: yes10:23
zygamorphis: unless with ubuntu apparmor patches, then it will be automatically not be devmode10:23
morphisok10:24
morphiszyga: hm .. qemu:debian-9-64 .../tests/main/forced-devmode# snap forced-devmode10:31
morphisfalse10:31
cjwatsonali1234: one of snap/snapcraft.yaml, snapcraft.yaml, or .snapcraft.yaml has to exist at the *top level* of your branch10:31
cjwatsonali1234: (I believe symlinks work)10:31
ali1234yeah that's not going to happen10:31
cjwatsonnot my choice, sorry10:31
ali1234upstream won't accept it, and that's not my choice10:31
cjwatsonprobably best bring it up on the forum or similar - it's not going to change without user protest10:32
ali1234i have done https://forum.snapcraft.io/t/trying-to-build-sigrok-snap/50310:32
zygamorphis: interesting10:36
zygamorphis: I wonder how is this possible10:36
zygamorphis: is it a boolean flip somewhere/10:36
morphiszyga: it loosk like there is a problem in my code10:36
=== olive` is now known as olive
AdamH_hello, is there a snap with the same sort of functionality as plymouth for Ubuntu core?10:54
morphiszyga: ok, was again my fault ..11:03
ogra_AdamH_, nope ... not yet (and it would be a bit tricky sinc eplymouth needs initrd inclusion for some use cases)11:06
ogra_AdamH_, i'm locally playing with uboot spash screen but dont have anything to look at yet11:07
ogra_*splash11:07
ogra_that wont help much with the rest of the boot though ...11:07
fgimenezogra_: the new core (1870) fixes the ubuntu-core-create-user error https://travis-ci.org/snapcore/spread-cron/builds/229908080 all green now11:08
* ogra_ hugs fgimenez ... thanks for the feedback !11:08
zyga:-)11:08
zygaI could use a simple review for https://github.com/snapcore/snapd/pull/3262/files11:08
mupPR snapd#3262: cmd/snap-confine: aggregate operations holding global lock <Created by zyga> <https://github.com/snapcore/snapd/pull/3262>11:08
* zyga goes back to other reviews11:09
* ogra_ ponders to add a check to the core build scripts with a blacklist of packages we dont want from the archive 11:09
ogra_so it would fail the next time a newer shadow is there11:09
fgimenezogra_: :) thank you! morphis ubuntu-core-create-user should pass with the new core11:10
morphisfgimenez: great!11:11
AdamH_ogra_: Thanks, If you need any help testing let me know. I will come back to this task later. Still plenty to develop!11:22
ogra_will do, thanks for the offer11:22
* zyga afk for a moment11:31
* Chipaca returns11:34
Chipacafgimenez: do you know what's up with ubuntu-core-16-64:tests/main/ubuntu-core-create-user ?11:34
Chipacaogra_: or maybe you?11:35
Chipaca/usr/bin/chfn: unrecognized option '--extrausers'11:35
Chipaca^11:35
ogra_Chipaca, fixed already11:36
ogra_re-run wih a newer core11:36
Chipacawoot11:37
Chipacaogra_: what had happened?11:38
ogra_Chipaca, CVE upload in the archive with a higher version11:38
ogra_so the PPA package wasnt used anymore11:38
Chipacaogra_: in an ideal world we'd get alerted when that happened, yes?11:40
ogra_Chipaca, yes. see what i wrote above ...11:41
ogra_gra_ ponders to add a check to the core build scripts with a blacklist of packages we dont want from the archive11:41
ogra_<ogra_> so it would fail the next time a newer shadow is there11:41
Chipacaogra_: yeah!11:41
Chipacamust be blind because i scanned up several times and didn't spot you saying that there11:42
sborovkovIs mvo not around today?11:42
Chipacasborovkov: I wouldn't be surprised if he took the day off11:42
Chipaca(he's been travelling back from the sprint)11:42
ChipacaJamieBennett might know more11:42
sborovkovthat's fine. it's not urgent anyway11:43
sborovkovjust wanted to ask him to add another rpi config option11:43
JamieBennettsborovkov: he is on vacation today11:43
ogra_sborovkov, just provide a PR ;)11:43
ogra_sborovkov, just provide a PR ;)11:45
ogra_oope11:45
ogra_*oops11:45
ogra_sorry11:45
sborovkovoh right I can do that11:45
sborovkovand it seems it should be one liner11:45
* ogra_ notes he just killed his pi3 boot ... adding a unit to multi-user-target.wants that has a Before=network.service inside seems to not be such a clever thing ...11:46
Chipacaogra_: it shouldn't kill it though11:46
Chipacaogra_: systemd will break the cycle by ignoring a unit at random11:46
ogra_Chipaca, well, ssh doesnt come up, i'm in the living room having some lunch, board is upstairs in the office ...11:47
Chipacaogra_: guess which one it chose to break the cycle11:47
ogra_hehe11:47
Chipacaogra_: easy to fix without going upstairs: power cycle the house11:47
* ogra_ plugs two fingers in the socket11:48
* Chipaca sends flowers11:48
ogra_ah, damn, you said cycle ... means i need to go to the basement after the fuse blew11:48
ogra_so that ends up in being the same effort ... i'll just finish lunch :P11:49
AdamH_Any pointers on where to look to rotate the screen to portrait and hide the cursor? I am using mir-kiosk but can't see any config files or options?11:50
mupPR core#38 opened: Add another pi-config option <Created by sergey-borovkov> <https://github.com/snapcore/core/pull/38>11:50
sborovkovogra_: who should I ask to take a look at that pr - https://github.com/snapcore/core/pull/3811:50
mupPR core#38: Add another pi-config option <Created by sergey-borovkov> <https://github.com/snapcore/core/pull/38>11:50
ogra_sborovkov, you are aware that enabling the usb mode isnt reversible ? ... not sure thats a clever thing to have in the default options11:51
ogra_(or did that bevaiour change)11:52
ogra_*behaviour11:52
sborovkovogra_: I am not sure about that behavior, but how can I set it otherwise? Configure hook will comment out everything else in config.txt and well without it I can't even set it11:53
sborovkovat all11:53
sborovkovand we want to use that option eventually because SD cards are dying very often and that's actually super cool feature11:54
Chipacasborovkov: question, have you signed the CLA?11:54
ogra_sborovkov, oh, why are your SD cards dying ?11:54
Chipaca(couldn't figure out your lp nick from your irc nick, if you have an lp account, which is the easiest way of me checking CLA status)11:54
sborovkovogra_: well we have around 10000 rpis in production... that's the most frequent case of failure12:02
sborovkovChipaca: not sure - https://launchpad.net/~serge-borovkov12:02
Chipacasborovkov: that's a nope12:03
sborovkovChipaca: where do i sign it actually? here? https://www.ubuntu.com/legal/contributors/submit12:05
ogra_sborovkov, and adding 10000 USB keys is a cost effective solution ? :)12:06
Chipacasborovkov: yep12:07
sborovkovogra_: it actually is. Because for the bigger clients especially they can have a bunch of devices across the country. Sending technician to replace SD card for them is not very convenient and would cost more12:07
sborovkovChipaca: Please add the Canonical Project Manager or contact. Who should I list here?12:07
Chipacasborovkov: Jamie Bennett12:08
zygare12:22
Chipacami12:22
ogra_fa12:24
zygaso12:30
zygaChipaca: I think we want to do a small experiment on exposing interface meta-data12:30
zygaChipaca: e.g. an optional method12:30
zygaChipaca: that returns a struct12:30
zygaChipaca: that has various stuff12:30
zygaChipaca: it could replace AutoConnect12:30
zygaChipaca: Name12:30
zygaChipaca: (well, if we do Name it could be mandatory)12:30
zygaChipaca: it could return description12:30
zygaChipaca: and one-to-many/many-to-many12:31
zygaChipaca: what do you think?12:31
Chipacazyga: you mean so the client could make smarter decisions for tab completion?12:31
zygaChipaca: yes12:32
zygaChipaca: and we could show nice stuff in CLI12:32
zygaChipaca: e.g. (what is this interface)12:32
zygaChipaca: is that interface restricted12:32
zygaChipaca: whatever we can come up with12:32
Chipacazyga: could do. Or we could add something on the daemon like "what can connect to <this>"12:32
zygaChipaca: it's just a struct12:32
Chipacaah, yeah, that'd be nice to have12:32
zygaChipaca: yes, that's possible too but I think we want the meta-data anyway; I agree that the daemon may make better decisions about what to suggest as an option12:32
Chipacazyga: that would make “snap interface foo:bar” make sense12:33
zygaChipaca: especially if we could get rid of some of the optional boring copy pasted methods now12:33
zygaChipaca: yes!12:33
zygaChipaca: I just +1'd 321412:33
zygashall I merge?12:33
Chipacaoh! that old thing12:34
Chipacazyga: sure! :-)12:34
mupPR snapd#3214 closed: cmd/snap: iterate interface tab completion <Created by chipaca> <Merged by zyga> <https://github.com/snapcore/snapd/pull/3214>12:35
zygaChipaca: if you review https://github.com/snapcore/snapd/pull/3272 quickly we could land it12:35
mupPR snapd#3272: add interfaces-shutdown-introspection spread test <Created by jdstrand> <https://github.com/snapcore/snapd/pull/3272>12:35
zygait has 1.9 +1s12:35
Chipacazyga: on it12:40
Chipacajdstrand: snapd#3272 is GTG, unless you want to remove the restore section RSN we should land it12:43
mupPR snapd#3272: add interfaces-shutdown-introspection spread test <Created by jdstrand> <https://github.com/snapcore/snapd/pull/3272>12:43
Chipacabitrot an' all that12:43
jdstrandChipaca: hey, I can remove it12:49
Chipacajdstrand: your call :-)12:49
Chipacayou've got the +1s either way12:49
* Chipaca goes in search of tea12:51
zygaChipaca: I can remove it12:51
zygajdstrand: oh12:51
zygajdstrand: hey :)12:51
jdstrandzyga: hey :)12:51
* zyga read backlog in the wrong order :D12:51
zygajdstrand: go ahead then, I'll gladly merge it when tests show green12:51
zygafgimenez: did you see this:12:53
zyga   __all__: The name test-snapd-kernel-module-control-consumer should not be longer than 40 characters.12:53
fgimenezzyga: sure, there's a problem with snaps already in the store with a name longer than 40chars, currently they cannot be updated12:54
zygaI need to look at that ensure prune loop test, it is failing again while it should not12:54
zygafgimenez: yeah, should we truncate the name then?12:55
fgimenezzyga: i already pinged nessita about this, i think a fix is on its way to allow the snaps already in the store to be updated12:56
zygafgimenez: thanks12:57
fgimenezzyga: anyway in the kernel-module-control case the snap changes are only related to add a simple command to the snap, this pattern is common to other tests and maybe we could create a generic-consumer snap, i'm working on a branch with this approach12:57
morphiszyga: who else do we need to do a review on https://github.com/snapcore/snapd/pull/3271 ?12:58
mupPR snapd#3271: cmd/snap-confine: use /etc/ssl from the core snap <Created by morphis> <https://github.com/snapcore/snapd/pull/3271>12:58
sborovkovogra_: but AFAIK rpi needs to be booted from SD card first before you can boot from USB? So how will that work if we set the option in gadget code initially13:01
ogra_sborovkov, you would still need to boot from Sd first indeed .... the bootloader blob then sets the ROM option and on reboot you can use USB13:01
ogra_(but thats completely unrelated to having the option in the config interface or not)13:02
zyganiemeyer: hey, are you around for the standup today?13:02
sborovkovah alright, I will create a bug for this then13:02
ogra_zyga, or Chipaca i'd appreciate a thumbs up for https://github.com/snapcore/core/pull/37 (fixes the tests along with the change)13:03
mupPR core#37: install keyring (LP: #1670475), update pkglists <Created by ogra1> <https://github.com/snapcore/core/pull/37>13:03
Chipacaogra_: standup13:03
zygaogra_: standup?13:03
ogra_OMW13:03
mupBug #1689301 opened: Can't set program_usb_boot_mode pi-config option <Snappy:New> <https://launchpad.net/bugs/1689301>13:08
mupBug #1689302 opened: Can't set program_usb_boot_mode pi-config option <Snappy:New> <https://launchpad.net/bugs/1689302>13:08
sborovkovJust tried snapd from edge channel. My snap stopped working. Well not completely but I was showing web page and not it does not work (works with stable, installing beta at the moment). In the logs I only found this, any idea what can be the cause?13:13
sborovkovMay 08 12:49:35 localhost.localdomain kernel: audit: type=1326 audit(1494247775.268:70): auid=4294967295 uid=0 gid=0 ses=4294967295 pid=1499 comm="ld-linux-armhf." exe="/snap/screenly-client/x7/viewer/lib/ld-2.18.so" sig=31 arch=40000028 syscall=281 comp13:13
sborovkovMay 08 12:49:35 localhost.localdomain audit[1499]: SECCOMP auid=4294967295 uid=0 gid=0 ses=4294967295 pid=1499 comm="ld-linux-armhf." exe="/snap/screenly-client/x7/viewer/lib/ld-2.18.so" sig=31 arch=40000028 syscall=281 compat=0 ip=0x7544b62c code=0x013:13
zygajdstrand: I'd like to take over https://github.com/snapcore/snapd/pull/3045 by pushing the fixes you requested directly into that PR13:18
mupPR snapd#3045: interfaces: add random interface <Created by femdom> <https://github.com/snapcore/snapd/pull/3045>13:18
zygajdstrand: I'm just letting you know in case you wanted to do that as well13:20
jdstrandzyga: I didn't have any plans to do that13:31
sborovkovogra_: any idea about my error? Everything works with snapd from beta channel as well.13:34
ogra_sborovkov, using the stable kernel i guess ?13:37
ogra_could be a missing kernel feature13:37
ogra_(definitely sceeomp blocking the linker there)13:38
ogra_ask jdstrand if anything in the profiles changed in that regard13:39
=== chihchun is now known as chihchun_afk
sborovkovjdstrand: any idea?13:47
sborovkovogra_: only difference is snapd version. gadget snap was not touched. Just upgraded core snap13:48
Chipacasborovkov: we're in a meeting, we're not ignoring you :-)13:49
sborovkovhaha13:51
zygafgimenez: can you tell me more about that test, so does it fail if I run it in qemu on master?13:55
fgimenezzyga: sure, the tests are in this repo https://github.com/fgimenez/validator/tree/master/tests13:56
zygathank you, let me look13:56
fgimenezzyga: you need to setup some env vars before executing 1sec13:56
fgimenezzyga: http://paste.ubuntu.com/24536879/13:58
fgimenezzyga: running "SNAP_CONFINE_DEBUG=yes /snap/bin/test-snapd-tools.echo hello" doesn't give any snap-confine debug output, just the same error "internal error, please report: running "test-snapd-tools.echo" failed: no such file or directory"14:00
zygafgimenez: this doesn't reach snap-confine AFAIK14:03
zygafgimenez: this error comes from snap-run14:03
zygafgimenez: do  you have the debug shell??14:03
zygafgimenez: might be faster than me running it14:03
zygaah actually, let me just14:03
* zyga runs that14:05
zygaraise your hand if you hate ctrl-shit-c working as copy in shell but working as show inspector in firefox14:05
* zyga misses mac's command-c that works in both places while keeping ctlr-c sane14:05
fgimenezzyga: not currently up but will have in a moment14:07
zygafgimenez: no worries, it's running locally already14:09
fgimenezzyga: ok i have already the session open in case you need it14:13
Son_Gokuzyga, niemeyer, morphis: Yo14:15
morphisSon_Goku: hey!14:16
Son_Gokuvacation approved!14:16
morphis:-)14:16
Son_Gokuniemeyer: so I'm looking forward to the email to get things set up for me to be at the snappy sprint at the end of June!14:16
mupPR snapd#3277 closed: cmd/snap, client: add "whoami" command <Created by chipaca> <Merged by chipaca> <https://github.com/snapcore/snapd/pull/3277>14:24
niemeyerSon_Goku: Sweet, glad that you are going!14:28
niemeyerSon_Goku: Let me sort out the initial steps to get the event set up on our end, and will let you know how to proceed14:29
Son_Gokuniemeyer: excellent14:29
Son_Gokuhave you reached out to the elementary guys yet?14:29
Son_Gokuthey've just completed the first bit of getting an actual appstore frontend14:29
niemeyerSon_Goku: Wow, nice14:29
Son_Gokuhttps://www.indiegogo.com/projects/appcenter-the-pay-what-you-want-app-store#/14:30
niemeyerSon_Goku: We haven't really invited anyone explicitly yet, other than people participating in the thread..14:30
Son_Gokuah14:30
Son_Gokuwell, since they do the thing where they actually are building an app ecosystem, it might be a good idea to invite some of those guys :)14:31
=== tyhicks` is now known as tyhicks
Son_GokuCody is on the Snap technical format board like I am, so there's at least that14:32
mupPR snapd#3272 closed: add interfaces-shutdown-introspection spread test <Created by jdstrand> <Merged by jdstrand> <https://github.com/snapcore/snapd/pull/3272>14:50
zyga3re14:57
* zyga took a longer lunch break but is now looking at the issue fgimenez reported15:01
zygahmm15:06
zygavery interesting15:06
zygafgimenez: so there are a few things15:07
zygafgimenez: one is that I see this in the error log:15:07
zygaMay 08 16:31:24 autopkgtest /usr/lib/snapd/snapd[1798]: stateengine.go:98: state ensure error: internal error: could not unmarshal state entry "ubuntu-core-transition-last-retry-time": parsing time ""2017-05-08T115:07
zygathis implies that we don't patch the state correctly15:08
zygathis is also interesting15:08
zyga/snap/ubuntu-core/current/usr/bin/snap15:08
zygaah, wait15:08
zygathis is not a core system15:08
* zyga reads15:08
fgimenezzyga: aha, checking the state patching15:09
fgimenezzyga: nope, classic15:09
zygafgimenez: right15:09
zygathe actual error is that new snapd hard-codes this: /snap/core/current/usr/lib/snapd/snap-confine15:09
zyganote the core vs ubuntu-core15:09
zygalet me check if that's a bug in the code or is there a fallback15:10
fgimenezzyga: ok thanks!15:10
zygafgimenez: yes, it's a simple bug15:10
zygarunSnapConfine15:10
zygain this function we need to be bit smarter15:10
zygaI think we used to have this code but we may have lost it15:11
zygaI'll take the bug to fix it15:11
zygafgimenez: is this tracked anywhere/15:11
fgimenezzyga: great thanks a lot15:11
fgimenezzyga: not yet15:11
zygaofftopic15:12
zygaI should patch my systems for the AMT fiasco :(15:12
zyganiemeyer: I want snapd to fix my firmware (I know, won't happen on pre-uefi machines) :-(15:12
ogra_just turn it off :P15:12
ogra_(why do your systems have AMT on ?!?)15:13
zygaogra_: yeah, I did but I actually like some of the features15:13
zygaogra_: well, not anymore ;)15:13
zygaogra_: and they are not on the network15:13
zygaogra_: but still :/15:13
ogra_well, then nothing to worry about :)15:13
zygaogra_: my laptop actually has AMT but I just disabled it when I realized this was out there15:14
zygaogra_: I really hope lenovo will make all the bios updates15:14
* ogra_ has never enabled it in his life15:14
zygaogra_: I tried it since the linaro days, I really wish it wasn't closed and unfixable outside of intel15:20
ogra_yeah, thats why i never disabled it ... i find any BIOS driven features that run a network-server a really bad idea15:20
zygaogra_: s/disabled/enabled/15:25
ogra_err, indeed :P15:25
morphiszyga: did you ever saw something like https://paste.ubuntu.com/24537293/ on Fedora?15:36
zygamorphis: you mean the funky unit names?15:40
morphiszyga: yes15:40
zygamorphis: yes, they are normal15:40
morphisreally?15:40
zygamorphis: this is a systemd requirement15:40
zygamorphis: yes15:40
fgimenezzyga: https://bugs.launchpad.net/snappy/+bug/168933215:40
mupBug #1689332: internal error on any command due to missing snap-confine <Snappy:New> <https://launchpad.net/bugs/1689332>15:40
morphiszyga: with the '?15:40
zygathey must encode the name of the mount directory15:40
zygawith ?15:40
zygaI don't see ?15:40
zyga'?' (question mark)15:41
zyga- needs to be escaped15:41
zygaas it escapes /15:41
zygaas you can see15:41
zygamorphis: systemd-escape /foo/bar-froz15:41
mupBug #1689332 opened: internal error with any command using ubuntu-core snap on classic <Snappy:New> <https://launchpad.net/bugs/1689332>15:42
morphiszyga: that is fine, but the actual name is 'var-lib-snapd-snap-test\x2dsnapd\x2ddevmode-1.mount'15:42
morphiswith the quotes15:43
morphiszyga: never saw yet that systemd requires the quotes in a file name15:43
zygayes15:44
zygait does15:44
zygarun snapd-escape15:44
zygait's also documented in the manual page15:44
zygamorphis: no15:44
zygamorphis: the quotes are from bash15:44
zygamorphis: it's not in the file name15:45
morphiszyga: that is funky ..15:46
morphiswhy is bash doing that or better said ls15:46
zygamorphis: or actually ls :)15:47
zygamorphis: for sescurity15:47
zygamorphis: it escapes stuff so it is not nasty15:47
zygamorphis: I like that feature :)15:47
ryebotCan anyone explain why I'm seeing these?15:57
ryebotcmd.go:114: DEBUG: not restarting into "/snap/core/current/usr/bin/snap" ([VERSION=2.24 2.24]): older than "/usr/bin/sn15:57
ryebotcannot change profile for the next exec call: No such file or directory15:57
ogra_the rest of the "older than" line would be interesting :)15:57
ryebotsorry!15:57
ryebotcmd.go:114: DEBUG: not restarting into "/snap/core/current/usr/bin/snap" ([VERSION=2.24 2.24]): older than "/usr/bin/snap" (2.24.1)15:58
zygaryebot: hey15:58
ogra_that just means it uses the local binary from the deb (because thats newer) instead of re-execing into the snapd binary inside the core snap15:58
zygaryebot: yes, as ogra said15:59
ogra_technically it sghould be harmless15:59
zygaryebot: the next line is more interesting15:59
zygaryebot: what were you trying to run?15:59
ryebotokay cool15:59
ryebotthis is our kube-apiserver snap running as a daemon15:59
ryebotmore complete logs here: http://paste.ubuntu.com/24537348/16:00
zygaryebot: what is the distribution you are running on?16:00
zygaryebot: please pastebin the output of "snap version"16:00
ryebotdistro: http://paste.ubuntu.com/24537420/16:00
ryebotsnap version: http://paste.ubuntu.com/24537426/16:01
mupPR snapd#3279 opened: tests: extend kernel-module-control interface test <Created by fgimenez> <https://github.com/snapcore/snapd/pull/3279>16:02
zygaryebot: hmm, everything looks ok16:02
ryebotzyga: https://bugs.launchpad.net/snappy/+bug/1687079?comments=all16:04
mupBug #1687079: cannot change profile for the next exec call: No such file or directory <Snappy:New> <https://launchpad.net/bugs/1687079>16:04
ogra_ryebot, snap refresh core --beta16:04
zygaryebot: can you look if /var/lib/snapd/apparmor/profiles exists16:04
ogra_;)16:04
ryebotzyga: looks like I'm waiting on the 2.25 release16:04
ogra_just try it from beta ...16:05
zygaah16:05
ogra_you can go back to stable at any time with: snap refresh core --stable16:05
ogra_(the biggest beauty about snaps ;) )16:05
zygaryebot: I'm afraid something else may be at play16:05
zygaryebot: look at that directory and tell me if you see the apparmor profile of the app you were trying to run?16:06
ryebotogra_: it's a little tricky as this is an automated installation and things seem to work fine after the fact16:06
ryebotzyga: looking16:06
ogra_ryebot, ah, yozu have no shell access ?16:06
ryebotogra_: not during the image build16:06
fgimenezhi jdstrand, quick question, i've noticed that /proc/meminfo is readable by any snap, no matter its confinement, connected plugs, etc, is this intended? http://paste.ubuntu.com/24537464/16:07
ryebotzyga: I do see one16:07
ogra_fgimenez, same goes for /proc/cpuinfo i think16:08
fgimenezogra_: indeed, it's also readable16:09
zygaryebot: can you run "sudo apparmor_parser -r /path/to/that/file"16:09
ogra_iirc it breaks to many things if we disable it16:09
zygaryebot: and try running the application again16:09
ryebotzyga: after the first attempt, I am able to run the daemon just fine; sorry, should have made that clear.16:10
fgimenezogra_: aha, ok thanks good to know16:10
ogra_also ... meminfo doesnt reveal anything super secret16:11
zygaryebot: interesting16:11
zygaryebot: can you reproduce the issue somehow?16:11
* ryebot thinks16:11
ogra___chip__, did you grow wings or is that a superhero cape ?16:11
__chip__ogra_: it's an old joke about me being "special"16:12
ogra_:)16:12
__chip__(a pythony joke)16:12
ryebotzyga: not trivially -- do you think there's more going on than that bug?16:12
zygaryebot: not sure16:12
__chip__also this is my netbook, and i sync logs so i don't want to get them jumbled (nor have to do 3-way merge)16:12
zygaryebot: that bug was about running a kernel without apparmor16:12
zygaryebot: and I don't think you are doing that16:12
ryebotThis is running in an lxc, if that helps16:13
ogra_morphis, so here is a super simple approach to the hciattach ... http://paste.ubuntu.com/24537569/ we'd then just add additional HW to the case statement16:13
ryebotReally gotta stop giving you details piecemeal!16:13
zygaryebot: aha16:13
zygaryebot: :D16:13
zygaryebot: yes, that's an interesting and important fact16:13
ryebotsorry!16:13
zygaryebot:16:14
zygaryebot: not sure, please let me know if it happens and if it is possible to reproduce16:14
ryebotzyga: +1 thanks & will do!16:14
niemeyer__chip__: You got a review on #327816:20
__chip__niemeyer: so I do! :-) huzzah16:21
__chip__currently wondering about cat pages16:21
zyga__chip__: cat pages?16:22
* ogra_ throws in a mouse page to distract the cat page16:22
zygafurry(7)16:22
jdstrandsborovkov: hey, what architecture is this on?16:31
jdstrandfginther: meminfo should only be available under system-observe on devices where strict confinement is available. what distro is this?16:32
jdstrandfginther: sorry16:32
jdstrandfginther: that was for fgiminez16:33
kyrofaHey zyga, does the configure hook have a timeout nowadays?16:57
zygakyrofa: yes, but there's a bug that pstolowski is fixing16:59
zygajdstrand: quick questsion about https://github.com/snapcore/snapd/pull/3045 should I allow https://github.com/snapcore/snapd/pull/3045/files as "r" for the -observe interface?16:59
mupPR snapd#3045: interfaces: add random interface <Created by femdom> <https://github.com/snapcore/snapd/pull/3045>16:59
pstolowskiyeah i'm on it16:59
kyrofazyga, how long is it?17:00
zygakyrofa: 5 minutes unless you are hit by a bug17:01
kyrofazyga, good deal, thank you17:01
kyrofazyga, last question: if the timeout expires, what happens? Does the hook "succeed," or does the snap revert?17:02
zygathe hook is cancelled but we carry on17:02
zygaAFAIR17:02
zygabut that's a special-case on core17:02
zyga(as in the core snap)17:03
zyganot in the core system17:03
jdstrandzyga: I'm about to head into a meeting. 'r' for observe, yes. if you are implementing 'control' too, that one has rw17:04
zygajdstrand: I did implement both17:08
zygajdstrand: I'll push and let you review, I probably got the apparmor part slightly wrong but I'll let you comment17:08
zygajdstrand: done17:21
zygaogra_: can you re-affirm my understanding of https://github.com/snapcore/core/pull/37#pullrequestreview-3683282917:27
mupPR core#37: install keyring (LP: #1670475), update pkglists <Created by ogra1> <https://github.com/snapcore/core/pull/37>17:27
=== cgiroua is now known as cg__
* zyga EODs17:30
ali1234launchpad build failed with "sigrok.org: Name or service not known"17:35
kozaogra_, thanks for the BT on RPI update, reading through it17:44
niemeyerNeed to step out to run an errand.. will be back later.17:44
ogra_zyga, yeah, make check is run by snapcraft anyway (and with the right shellcheck installed)17:52
ali1234hmm i broke launchpad17:52
ogra_ali1234, no worries, we'll use github meanwhile17:52
ali1234but you can't build from github on launchpad17:52
ali1234you can't build from any remote afaict17:53
ogra_well17:53
ali1234you have to import them onto lp17:53
ali1234and that doesn't work properluy17:53
ogra_snapcraft.io is just a different frontend to the Lp builders ...17:53
ali1234yeah the lp builders are what is broken17:53
ogra_and you can set up auto imports for foreign git trees17:53
ali1234that also doesn't work properly17:53
ogra_good enough for our official packages at least17:54
ali1234they must be really simple then17:54
ogra_we build core, kernels and gadgets that way17:54
ogra_not really17:54
ali1234do you build anything that needs more than one repo?17:54
ogra_we have one that chainloads another one ... but not at the same time though17:55
ogra_s/same time/in parallel/17:55
ali1234hang on i will write a bug report17:55
ogra_yeah, do that17:56
ogra_i used to have a kodi snap that used different GH trees in the past ... but that evolved to not do that anymore :)17:57
mupPR snapcraft#1286 closed: lxd: Setup image and target arch for cross-compilation <Created by kalikiana> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/1286>18:03
ali1234ogra_: https://bugs.launchpad.net/launchpad/+bug/168936918:16
mupBug #1689369: Uploading multiple git repos to a project is confusing <Launchpad itself:New> <https://launchpad.net/bugs/1689369>18:16
ali1234here's a crazy idea... what if, instead of having to mess around importing 8 different repos onto lp to make my snap build, what if lp would just read my snap build and import the needed repos automatically?18:19
ali1234also its been half an hour and none of the repositories have imported yet18:35
ali1234okay the builder can't clone from launchpad anyway18:44
ali1234bzr: ERROR: Invalid url supplied to transport: "bzr+ssh://bazaar.launchpad.net/~a-j-buxton/sigrok-snap-test/+git/libserialport": no supported schemes18:44
ali1234did anyone try to run snapcraft in docker?19:41
ali1234i just get "'ascii' codec can't encode character '\u29f8' in position 19: ordinal not in range(128)"19:42
naccali1234: fwiw, your earlier message from lp appears to be a mismatch between bzr and git19:42
ali1234nacc: it might be because the repositories never imported (they still haven't)19:43
Chipacaniemeyer: question for you sah19:43
ali1234i have pretty much given up on launchpad at this point, and cleanbuild doesn't work either, hence why i am trying to use docker now, because i know that works19:44
Chipacaniemeyer: is stringList still a good name given it's loaded from something that can be a list or not (in json)?19:44
* Chipaca is bad with names and defers to others' judgement on them (when not having too much fun)19:44
naccali1234: why doesn't cleanbuild work?19:45
ali1234nacc: it cannot connect to https URLs from inside the container19:45
naccali1234: sounds like a bug in your lxd configuration?19:45
naccali1234: cleanbuild relies on working lxd19:45
ali1234i followed the lxd setup instructions19:46
ali1234it doesn't work19:46
ali1234*shrug*19:46
ali1234docker doesn't require me to spend several days debugging it19:46
ali1234it just works19:46
naccali1234: 'lxc setup instructions'? on ubuntu, `sudo apt install lxd` generally works19:46
ali1234yes19:46
naccali1234: except ... it doesn't? you just said it didn't work19:47
ali1234here is the error message: HTTPSConnectionPool(host='parts.snapcraft.io', port=443): Max retries exceeded with url: /v1/parts.yaml (Caused by NewConnectionError('<requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f50da481748>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',))19:47
naccwell, that's just weird -- parts.snapcraft.io redirects to snapcraft.io just fine19:48
naccand this loads ok: https://parts.snapcraft.io/v1/parts.yaml19:48
ali1234yes it loads okay for me, as long as i am not trying to use lxd19:48
Chipacaali1234: are you on 16.04?19:49
ali1234yes19:49
Chipacastgraber: you around?19:49
naccali1234: lxc launch ubuntu:xenial; lxc exec <container> -- wget https://parts.snapcraft.io/v1/parts.yaml19:49
stgraberChipaca: what's up?19:50
ali1234bash: container: No such file or directory19:50
Chipacastgraber: ali1234 is getting dns errors inside lxd ^ and i thought maybe you already knew what it might be19:50
naccali1234: well, substitue the container name for what `lxc launch` retuned19:50
nacc*retuned19:50
nacc*returned, bah19:50
ali1234wget: unable to resolve host address 'parts.snapcraft.io'19:51
stgraberali1234: host parts.snapcraft.io; lxc launch ubuntu:xenial test; sleep 5; lxc exec test -- host parts.snapcraft.io19:52
ali1234http://paste.ubuntu.com/24538636/19:53
ali1234it took a really long time to time out too19:54
ali1234hmm launchpad is syncing those repos now19:58
naccali1234: when you installed lxd, did you just take the defaults for the network config?19:58
ali1234and every time it imports one it retriggers the snap build, so now i am getting spammed with failed build logs19:58
ali1234nacc: i can't remember19:59
ali1234probably19:59
ali1234i can't think of a reason why i would change it19:59
ali1234unless there was a question that says "do you want networking to actually work?" if so i would have said yes19:59
naccstgraber: default on 16.04 w/o backports is lxdbr0?19:59
stgraberali1234: can you pastebin "lxc info"?20:00
ali1234is it safe to pastebin that certificate?20:00
stgrabernacc: yeah which if unconfigured gives you just link-local ipv620:00
stgraberali1234: yes, it's just the public half of the cert20:00
ali1234http://paste.ubuntu.com/24538661/20:01
naccstgraber: right20:01
stgraberali1234: can you pastebin /etc/default/lxd-bridge?20:03
ali1234http://paste.ubuntu.com/24538672/20:03
ali1234okay i told launchad that the repos are git repos, now the builder says "error: cannot run ssh: No such file or directory"20:12
ali1234Command '['git', 'clone', '--recursive', 'lp:~a-j-buxton/sigrok-snap-test/+git/libserialport', '/build/sigrok/parts/libserialport/src']' returned non-zero exit status 12820:12
stgraberali1234: ok, your network is unconfigured20:17
stgraberali1234: run dpkg-reconfigure -p medium lxd20:17
stgraberali1234: using the default values it gives you should be fine20:17
ali1234how do i get rid of all the containers that i made while debugging this?20:19
ali1234lol it still doesn't work20:19
ali1234but now the error is the exact same as the one i got from docker half an hour ago!20:19
ali1234'ascii' codec can't encode character '\u29f8' in position 35: ordinal not in range(128)20:19
ali1234apparently it is in a different position now20:20
ali1234\u29f8 is ⧸ which looks a lot like / but isn't20:22
ali1234Bug #160701520:23
mupBug #1607015: 'ascii' codec can't encode character '\u29f8' in position 19: ordinal not in range(128) <eco-team> <Snapcraft:Won't Fix> <https://launchpad.net/bugs/1607015>20:23
ali1234i see this is a well known problem20:25
Chipacaouh, i missed it20:27
ali1234so the problem here is that you put the parts in a wiki, and the wiki turned / into BIG SOLIDUS because it's written by web designers not programmers?20:27
ali1234looks like cleanbuild is finally workin20:28
ali1234hmm noe20:29
ali1234oh wait i've finally got to the point where i need to figure out the build-packages:20:29
stgraberali1234: good, sounds like the LXD side of things is fixed at least. You can use "lxc delete" to remove all the containers you created ("lxc list" to list them)20:42
ali1234yeah it's working now, thanks20:43
ali1234everything compiled, it got to the copy plugin, then couldn't find the file i asked it to copy20:44
iceyjdstrand: might be easier to talk about rg here too :)21:11
jdstrandicey: hi :) note we are following a specific voting process for things like auto aliases so the discussion should really be in the forum. see https://forum.snapcraft.io/t/process-for-reviewing-aliases-and-auto-connections/45521:25
ali1234okay i need to build a qt5 app, but it uses cmake for the build system so i can't use the cmake plugin21:25
iceyah, no worries jdstrand  :)21:26
ali1234what packages do i need to pull in to get it to build?21:26
iceywell jdstrand I want to get the actual maintainer to own the snap but he was lukewarm about including the snapcraft.yaml in tree21:26
iceyhe did make the merge but I don't want to push him too fast :)21:26
lazyPowerHow long does it take to get a name approved for the snapstore? I submit a registration for lazy-dex a little over 6 days ago, seems like its stuck in the process somewhere. No feedback that I'm aware of21:27
lazyPowericey: nice :)21:27
lazyPowerthats progress right?21:27
jdstrandicey: that is worth mentioning in the forum. note that upstream taking over maintaining the snap is not a requirement, it's just a data point21:27
iceylazyPower: yeah :) I have another PR up on another project21:27
jdstrandit is progres :)21:27
iceyjdstrand: I did reply on the forum as well :-D21:27
jdstrandprogress even :)21:27
jdstrandok, cool21:28
iceylazyPower: I've done some community work on rust snaps :)21:28
lazyPoweri fear the commitment to rust21:29
iceyhaha lazyPower21:29
lazyPower:D21:29
iceylazyPower: spare time :) (except the work on the plugin)21:29
lazyPowerI'm still bummed i cant push my snap :S21:29
* lazyPower is doing charm work with resources :S21:29
iceylazyPower: most let me push pretty quickly21:29
lazyPowericey: do you just get the ack or what? i submit a request for a non-top-level name last week, i'm still waiting ot hear back21:30
lazyPoweror do you just not register or?21:30
iceylazyPower: I registered both alacritty and ripgrep21:30
iceyboth are currently in --edge21:30
lazyPowerOH MY GOODNESS21:31
lazyPoweri didn't even need to request registration21:31
lazyPoweri can just snapcraft push21:31
lazyPowerwelp nothing to do here then *whistles*21:31
iceyI think it only matters for "reserved" names lazyPower  :)21:31
iceyglad I could help lazyPower :-P21:31
lazyPowerthat'll teach me for assuming stuff i guess21:31
lazyPoweri hit the dashboard and saw the "new snap" button and followed that process21:32
lazyPowernever again will i follow the rules21:32
iceyhaha lazyPower21:32
iceyif you try to upload 'lynx' (or other popular? program) it will refuse you21:32
lazyPowerwell i didn't want to own the dex snap until its complete so i figured prefix with my handle is a good starting place21:34
lazyPoweri think others have done that based on snapcraft search results21:34
iceylazyPower: with ripgrep and alacritty, I'm working to push them upstream :)21:34
lazyPowericey: dont make this about you :|21:34
lazyPower<321:34
iceyso I pushed them and published to --edge, you can always transfer ownership as well21:34
lazyPowernice21:34
lazyPoweri doubt coreos is going to jump on maintaining any of their tech in snaps21:34
lazyPowerwho knows though they might21:35
iceytouche21:35
iceyas jdstrand mentioned above, being maintained upstream isn't a requirement :) I liek using the --edge channel until a snap is "done" and then for dev style builds21:35
iceys/liek/like21:35
lazyPowerooo spiffy21:38
lazyPowerhttps://dashboard.snapcraft.io/dev/snaps/7608/21:39
lazyPowernot sure if that link will work for you21:39
lazyPowerbut i'm sorted and in edge21:39
iceynah, can't see it :-/ those pages aren't public, not sure if there's a really good place to show a snap that's up21:39
icey+1 for somebody making that ^^21:39
lazyPowericey: good plan. I'm not sure how to move forward with this until i've had more time to talk with the team about ownership21:39
iceybut congrats lazyPower !21:39
lazyPowerbecause i cant be a single point of failure. i'd rather CI own it tbh21:40
lazyPowerthat way anyone can push button release the snap and sip tea21:40
iceylazyPower: yeah, there's ways to setup travis to build / publish into --edge21:40
lazyPowerwe're using jenkins for the k8s stuff so it'll live in there, but all the same, yeah.21:40
iceyor you can use build.snapcraft.io21:40
lazyPowerthe one thing i've had an issue with is that the builders dont support github orgs yet21:41
iceyyea21:41
lazyPowerso we're kinda doing an alternative impl that we're not crazy about but it gets the job done21:41
ali1234bug #165008721:47
mupBug #1650087: [Tour] 20-PARTS-PLUGINS/01-reusable-part: missing g++ dependency <bitesize> <tour> <Snapcraft:Fix Released by kyrofa> <https://launchpad.net/bugs/1650087>21:47
ali1234hmm21:48
mupPR snapcraft#1293 closed: recording: record stage packages installed in the snap <Created by elopio> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/1293>21:51
mupPR snapd#3278 closed: store, daemon, client, cmd/snap: handle PASSWORD_POLICY_ERROR <Created by chipaca> <Merged by zyga> <https://github.com/snapcore/snapd/pull/3278>22:08
mupPR snapd#3280 opened: configstate: return error if patch is invalid <Created by kyrofa> <https://github.com/snapcore/snapd/pull/3280>22:33
mupPR snapd#3045 closed: interfaces: add random interface <Created by femdom> <Merged by zyga> <https://github.com/snapcore/snapd/pull/3045>23:10
cjwatsonali1234: so I would agree that we ought to make the lp: alias work by default in LP snap builds, one way or another, but you should just change lp: to https://git.launchpad.net/ so that your snapcraft.yaml isn't dependent on specific git configuration23:29
ali1234and that works?23:30
cjwatsonali1234: and cloning from github in LP snap builds works too, as long as you use https:// and not git://23:30
cjwatsonyes23:30
ali1234i mean, ideally i would just clone from upstream, but the builders don't see to be able to resolve hostnames23:31
cjwatsonI bet you're using git://23:31
ali1234yes, upstream only has git://23:31
cjwatsonso, I have a patch in review to fix that23:31
ali1234okay23:31
ali1234also i keep getting spammed with failed builds, any idea about that?23:32
ali1234it keeps on trying to build it over and over, but i am not pushing anything to the repo with snapcraft.yaml, which is not an import23:33
cjwatsonnot right now, about to go to sleep23:33
ali1234i got it to build locally in cleanbuild so that's something23:34
naccali1234: nice, sorry it was such a pain to get to that point23:35
cjwatsoncan have a look tomorrow if you give me a link or something23:35
ali1234https://code.launchpad.net/sigrok-snap-test23:35
naccali1234: i mean, it appears to have tried 4 times so far to build?23:36
ali1234i have 7 failure reports23:37
ali1234i did delete the project a couple of times though23:38
ali1234and one was a manual build23:38
ali1234it seems like it triggered a rebuild each time it finished importing a repo23:39
ali1234but rate limited23:39
ali1234pushing the fixed build deps + https URLs... lets see if it triggers a build or not23:44
ali1234hey its building :)23:45
ali1234cloning is working23:49
ali1234i think this might work :)23:49
diddledanhas anyone come across snapcraft complaining on a .desktop file containing non-ascii characters? specifically it dies with a message "'ascii' codec cannot decode byte 0xec at position 224: ordinal not in range (128)" which is a rather cryptic message not really telling us that the desktop file contains non-ascii chars23:59

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