/srv/irclogs.ubuntu.com/2016/11/15/#snappy.txt

jdstrandit is that the sandbox doesn't have a way to express "setpriority for myself or children"00:00
Trevinhomh, can't be something apparmor could be instructed to do?'00:00
jdstrandneither apparmor nor seccomp have that ability, so you could set the priority of any other process to higher than your own00:00
Trevinhomh, ok00:00
jdstrandsure it could, that is just dev work and there is other stuff before that00:01
Trevinhosure, sure... Just to give an idea :-)00:01
ahoneybunbladernr`: yea the issue is that it's not looking at $SNAP/share/00:01
Trevinhoif it was feasible or not...00:01
ahoneybun  /share/pithos00:01
ahoneybunmhall119: any ideas?00:01
ahoneybunhttp://pastebin.ubuntu.com/23477531/00:01
Trevinhojdstrand: and... since you're here... is there anything going on for https://bugs.launchpad.net/snap-confine/+bug/1620442 ?00:01
mupBug #1620442: snap fails because XDG_RUNTIME_DIR is set to /run/user/1000 <snapd-interface> <Snappy Launcher:Triaged by zyga> <https://launchpad.net/bugs/1620442>00:01
jdstrandit should be. process-control will be there for while it isn't implemented00:01
jdstrandit might be possible with PRIO_PGRP. it'll need investigating00:02
Trevinhocool, let me know if there's somethiung possible... Otherwise maybe looking for procs coming from the snap as the possible targets would be maybe easier... dunnow00:04
jdstrandTrevinho: as for auto-connecting process-control-- that is possible via snap declarations and the store. a reviewer can say 'sure this developer is trusted so I'll let this snap auto-connect process-control'00:04
Trevinhoah, cool00:05
jdstrandok, I need to have some dinner00:05
jdstrandTrevinho: see you later! :)00:05
Trevinhojdstrand: as I was trying some electron apps... and well, the hack there is to just use browser-support plug, but... in theory once they've setpriority everything else would be unneed.00:05
Trevinhojdstrand: sure, enjoy it!00:05
jdstrandre https://bugs.launchpad.net/snap-confine/+bug/1620442, I've commented in the bug but haven't worked on it yet00:06
mupBug #1620442: snap fails because XDG_RUNTIME_DIR is set to /run/user/1000 <snapd-interface> <Snappy Launcher:Triaged by zyga> <https://launchpad.net/bugs/1620442>00:06
jdstrandI'll add that to my current policy work trello card00:07
jdstrandTrevinho: ^00:08
jdstrandok, gone for real00:08
Trevinhojdstrand: :-). Thanks.00:08
Pharaoh_Atemmhall119: CentOS 6 uses upstart01:18
Pharaoh_Atemmhall119: specifically, upstart 0.6.501:22
=== chihchun_afk is now known as chihchun
mupPR snapd#2254 closed: docs: fix path for source files location in HACKING.md <Created by jdstrand> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/2254>07:13
foxmaskbonjello07:21
liuxgzyga, ping07:50
dholbachhey hey08:01
mupPR snapd#2250 closed: store: use range requests if partial files are available <Created by chipaca> <Closed by mvo5> <https://github.com/snapcore/snapd/pull/2250>08:27
zygaliuxg: hey08:34
zygaliuxg: how can I help you08:34
liuxgzyga, thanks for your reply. today, I tried to duplicate your "reboot" interface. However, I did not find it after I successfully build the snapd following your instructions.08:35
zygaliuxg: can you tell me more about the target device, did you perform all development locally?08:36
liuxgzyga, your article at http://www.zygoon.pl/2016/08/creating-your-first-snappy-interface.html is very informative. I am now trying it on Ubuntu Destkop 16.04. I want to understand how an interface/slot is implemented.08:37
zygaok08:37
zygaliuxg: did you use refresh-bits to run snapd on your system?08:37
liuxgzyga, I read yoru blog, and my reboot.go is like "http://paste.ubuntu.com/23479268/". is this correct?08:37
liuxgzyga, yes, I followed your instructions at http://www.zygoon.pl/2016/06/making-your-first-contribution-to-snapd.html08:38
liuxgzyga, after successfully build the code, but I did not see the "reboot" interface there.08:38
zygaliuxg: ok, can you do two things please, first, pull new devtools, I made some improvements that I just pushed now08:39
zygaliuxg: second, please pastbin your diff against master in snapd, that will help me to figure out what may be the problem08:39
liuxgzyga, http://imgur.com/a/QCzcB, this the result08:39
zygaliuxg: I suspect it might be related to the base asserrtion (maybe)08:39
zygaliuxg: are you developing against master or against a particular tagged release?08:40
liuxgzyga, ok.. thanks. I  will pull the latest devtool. By the way, reh previous ./restore-bit restore cannot revert back to the previous snapd. My colleauge also got this problem.08:41
liuxgzyga, I am developing against the master08:41
mupBug #1641869 opened: openvswitch interface <snapd-interface> <Snappy:New> <https://launchpad.net/bugs/1641869>08:44
zygaliuxg: ah, this is a known issue, it's related to the fact that snapd migrates the state format08:50
mupPR snapd#2212 closed: spread tests: fix snap mode check <Created by stolowski> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/2212>08:50
liuxgzyga, so, do you have fix for it?08:50
zygaliuxg: no, I don't know what the fix should be yet, backing up and restoring the state might be a simple start but it is hardly sufficient08:51
zygaliuxg: snapd might grow support for reverting to older patch level (data format)08:51
liuxgzyga, currently, I have to reinstall the snapd every time.08:52
mupPR snapd#2065 closed: interfaces/builtin: use udev to export GPIOs to userspace <Blocked> <Reviewed> <Created by zyga> <Closed by zyga> <https://github.com/snapcore/snapd/pull/2065>08:53
=== chihchun is now known as chihchun_afk
didrockszyga: jailmode not working with snap try or snap install in snapd   2.16ubuntu3 is a known issue?09:12
didrocksI have a snap in devmode, installed it in jailmode and it's still allowed do listen to network or do similar things09:12
didrocksmvo: any idea? ^09:16
zygadidrocks: can you report a bug with all the details09:16
zygadidrocks: and snap list output at the end please09:17
didrockszyga: I would like to have confirmation, but I can report a bug09:17
didrocksas it's just a question of having a snap in devmode, install it with --jailmode09:17
didrocks(and yeah, snap list confirms it's in jailmode)09:17
zygadidrocks: hmm, can you look at /var/lib/snapd/apparmor/profiles/09:18
zygadidrocks: and look at the head of the relevant profiles of the app09:18
zygadidrocks: if you pastebin that I will have confirmation09:18
didrockszyga: http://paste.ubuntu.com/23479407/09:19
mupPR snapd#2260 closed: tests: add test that ensures the right content for /etc/os-release <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/2260>09:19
mupPR snapd#2205 closed: snap, image: fix `snap download` and `snap prepare-image` running as user <Created by mvo5> <Closed by mvo5> <https://github.com/snapcore/snapd/pull/2205>09:20
mupPR snapd#2207 closed: store: check hash in store.Download() (if we have a hash) <Created by mvo5> <Closed by mvo5> <https://github.com/snapcore/snapd/pull/2207>09:20
zygadidrocks: confirmed09:20
zygaprofile "snap.chuck-norris-webserver.node-service" (attach_disconnected,complain) {09:20
zyga"complain" is the devmode trigger09:20
zygadidrocks: can you report a bug with instructiosn on how to reproduce, I will fix it09:20
mupPR snapd#2222 closed: tests: do not hardcode the size of /dev/ram0 <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/2222>09:21
didrockszyga: with some tests I hope for not regression again :p09:21
zygadidrocks: obviously09:21
zygaogra_: he09:22
zygaogra_: hey :)09:22
zygaogra_: do you happen to have a gadget/kernel snap for beagle bone black?09:22
mupBug #1641885 opened: jailmode doesn't work with snap try or snap install <Snappy:New> <https://launchpad.net/bugs/1641885>09:26
=== chihchun_afk is now known as chihchun
didrockszyga: ^09:27
zygadidrocks: thanks, I already triaged it09:31
zygatvoss: experimenting now09:34
zygatvoss: I hope to reproduce the issues you saw first09:35
tvosszyga: thanks09:35
mupPR snapcraft#904 opened: WIP: Use pylxd instead of lxd command line (LP: #1641520) <Created by kalikiana> <https://github.com/snapcore/snapcraft/pull/904>09:54
shuduohello, i'm helping one customer to migrate their kernel snap from u-d-f to ubuntu-image. now we always meet timeout error as below:09:56
shuduosudo /snap/bin/ubuntu-image -c beta --image-size 4G --extra-snaps ./bubblegum96-gadget_0.1.0_arm64.snap --extra-snaps ./bubblegum96-kernel_3.10.0_arm64.snap -o bubblegum96.img bubblegum96.model09:56
shuduoerror: cannot fetch and check prerequisites for the model assertion: Get https://assertions.ubuntu.com/v1/assertions/account-key/6PVAOu6V-pOb7bCSIB9W0WRSnVZwySqShrne8zWWWhIh6oW65o1ynHD4XoT3wSzF?max-format=0:09:56
shuduonet/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)09:56
shuduoCOMMAND FAILED: snap prepare-image --channel=beta --extra-snaps=./bubblegum96-gadget_0.1.0_arm64.snap --extra-snaps=./bubblegum96-kernel_3.10.0_arm64.snap bubblegum96.model /tmp/tmpk_f88lrl/unpack...subprocess.CalledProcessError: Command '['snap', 'prepare-image', '--channel=beta', '--extra-snaps=./bubblegum96-gadget_0.1.0_arm64.snap', '--extra-snaps=./bubblegum96-kernel_3.10.0_arm64.snap',09:56
shuduo'bubblegum96.model', '/tmp/tmpk_f88lrl/unpack']' returned non-zero exit status 109:56
shuduois it a store problem or something mistake in command line of ubuntu-imag? thanks09:56
liuxgzyga, this is the difference http://paste.ubuntu.com/23479536/ http://paste.ubuntu.com/23479540/ is there anything I missed?10:03
liuxgzyga, Just now, I tried it again. I found that I missed the changes in the all.go, which was not mentioned in your blog. Here are all of the changes http://paste.ubuntu.com/23479617/. thanks for your help.10:27
jamespageis there a good howto on writing and testing a new interface for snapd/snappy?10:31
jamespagenm found http://www.zygoon.pl/2016/08/creating-your-first-snappy-interface.html10:35
jamespagepointed me to my error10:35
zygajamespage: hey10:46
zygajamespage: :-)10:46
jamespagezyga, got me going in the right direction - I'd missed the addition to the implicit slots array10:46
zygajamespage: that's great, I'm planning on writing something new along the path there10:47
zygajamespage: suggestions on what would help are very much welcome10:47
zygaliuxg: hey, I'm glad you sorted that out10:47
liuxgzyga, yeah, I spent some time to figure it out. Frankly, I am not familar with the snapd design. Your blog is great!10:48
jamespagezyga, I just need to figure out why openvswitch startup is trying to use systemctl :-)10:50
liuxgzyga, I just tried the interface, and it truly rebooted my computer :)10:50
=== JanC is now known as Guest44518
=== JanC_ is now known as JanC
mupPR snapd#2274 opened: interfaces: use sysd.{Disable,Stop} instead of sysd.DisableNow() <Created by mvo5> <https://github.com/snapcore/snapd/pull/2274>10:55
mupPR snapcraft#902 closed: Snap revision prune <Created by seawaywen> <Closed by seawaywen> <https://github.com/snapcore/snapcraft/pull/902>11:00
mupPR snapcraft#905 opened: Snap revision prune <Created by seawaywen> <https://github.com/snapcore/snapcraft/pull/905>11:09
wililupyQuestion: Is it possible to make a snap auto-connect to slots? For example, my snap automatically consumes the network and network-bind slots, but I have to manaully connect network-observe and network-control.11:11
didrockswililupy: if you are a device owner, you can do that through assertions11:23
didrocksbut not on other devices, as those interfaces are considered privileges and not connected automatically on purpose11:23
didrockshttp://snapcraft.io/docs/reference/interfaces for the list11:24
tsdgeosis this expected? http://paste.ubuntu.com/23479868/11:28
tsdgeosor is it bad packaging?11:28
tsdgeosshouldn't it be using the libs from the snap and not from / ?11:28
didrockstsdgeos: for base packages, if you don't ship them, it's using the system ones11:30
didrockslike libc, opensll…11:30
didrocksssl*11:30
ExquisitusHello, I have a problem publishing my snap11:31
ExquisitusThere has been a problem while analyzing the snap, check the snap and try to push again.11:31
Exquisitusit is really too vague11:31
Exquisituswhat could be the problem?11:31
Exquisitusthanks11:31
didrocksExquisitus: hey, that's the only message you are getting?11:31
didrocks(mind doing a screenshot?)11:31
tsdgeosdidrocks: ok11:32
tsdgeosdidrocks: how is that going to work once those libraries get ABI changes? one won't be able to use the same snap in xenial and say zesty?11:36
didrockstsdgeos: in order to protect yourself against those, you need to stage them in your snap, indeed11:37
didrocks(like the libc breakage we got between 15.04 and series 16)11:37
Exquisitusyes it is11:39
Exquisitusexquisitus@paponfix ~/P/iri-snapcraft> snapcraft push iri_1.1.0_amd64.snap  Uploading iri_1.1.0_amd64.snap. Uploading iri_1.1.0_amd64.snap [                                                                                                   ]   0% Uploading iri_1.1.0_amd64.snap [===================================================================================================] 100% Error while processing...|11:40
ExquisitusThere has been a problem while analyzing the snap, check the snap and try to push again.11:40
ExquisitusI already tried to push 5 times11:41
Exquisitus...11:41
didrocksah, I guess sergiusens's branch will help getting more debug output11:41
didrocksbut I think you shuld see it as well on the web server11:41
didrockshttps://myapps.developer.ubuntu.com11:41
didrocksdo you have moreinfo there?11:41
didrocks(I guess you created your snap with snapcraft snap?)11:42
mupPR snapd#2275 opened: interfaces/builtin: allow additional shared memory for webkit <Created by zyga> <https://github.com/snapcore/snapd/pull/2275>11:42
Chipacajdstrand: poke11:46
Exquisitusdidrocks: exactly I did everything command line11:48
didrocksExquisitus: ok, so have a look at the web interface, it should give you more detailed information11:48
sergiusensExquisitus check your email, you will have a link to the failure11:49
didrockssergiusens: is that something your new branch will fix as well? Like you are getting more info from the store?11:49
mupPR snapd#2276 opened: Add openvswitch-support interface <Created by javacruft> <https://github.com/snapcore/snapd/pull/2276>11:50
Exquisitusah thanks11:54
Exquisitushttps://myapps.developer.ubuntu.com/dev/click-apps/6305/rev/1/11:54
didrocksExquisitus: only you have access to it11:54
Exquisituslol11:55
Exquisituspackage contains external symlinks: usr/lib/jvm/java-8-openjdk-amd64/jre/lib/security/cacerts lint-snap-v2_external_symlinks11:55
Exquisitusthat's the error.11:55
didrocksso, you have your answer :)11:55
didrocksyou have symlinks pointing outside of your snap, which isn't allowed11:55
sergiusensdidrocks which branch? The store needs to provide more information first :-)11:56
didrockssergiusens: the one you pointed to me last thursday11:57
sergiusensdidrocks I am so lost; sorry11:57
Exquisitusoook... how I'm supposed to fix this? Jesus11:57
sergiusensExquisitus I don't think Jesus will help, we can though11:58
sergiusensExquisitus for the part adding this add a new entry `snap: [-usr/lib/jvm/java-8-openjdk-amd64/jre/lib/security/cacerts]`11:58
mupBug #1641631 changed: Raspberry Pi images do not support boot from USB <Snappy:Invalid> <https://launchpad.net/bugs/1641631>12:00
sergiusensthere's a bug for this too LP: #161729612:02
mupBug #1617296: The JDK plugin results in a dangling symlink <Snapcraft:New for gnuoy> <https://launchpad.net/bugs/1617296>12:02
Exquisitus@sergiusens: thanks a lot , you are better than Jesus12:06
nothalExquisitus: No such command!12:06
ExquisitusThanks sergiusens, you are better than Jesus12:07
ExquisitusXD12:07
Exquisitussergiusens: only a thing, where actually I'm supposed to add snap: [-usr/lib/jvm/java-8-openjdk-amd64/jre/lib/security/cacerts]?12:07
didrocksExquisitus: you need to add it in the part shipping this file12:12
mupPR snapd#2255 closed: tests: improve refresh-undo test <Created by mvo5> <Closed by mvo5> <https://github.com/snapcore/snapd/pull/2255>12:15
mupPR snapd#2248 closed: tests: make refresh-undo wait a bit for the output of the restarted v1 service <Created by mvo5> <Closed by mvo5> <https://github.com/snapcore/snapd/pull/2248>12:16
Exquisitusyou mean in the yaml?12:18
didrocksyes, in your snapcraft.yaml12:19
Exquisitussource: https://github.com/iotaledger/iri.git     plugin: maven     snap: [-usr/lib/jvm/java-8-openjdk-amd64/jre/lib/security/cacerts]12:20
Exquisitusthat way?12:20
Exquisitussorry for bad formatting12:20
didrockswell, I can't say if yes or no, but if snap: is at the same level than plugin:, yes12:21
didrockssergiusens: if the file is coming from the maven plugin, shouldn't be that one handle those symlinks and ignoring them?12:21
mupPR snapd#2158 closed: many: remove unnecessary snap name parameter from buying endpoint <Created by pete-woods> <Merged by pete-woods> <https://github.com/snapcore/snapd/pull/2158>12:23
Exquisitusexactly the symlink comes from maven that has the jdk dependency12:27
sergiusensdidrocks hence the bug12:29
didrockssergiusens: oh, I did miss your line about the bug, sorry, seeing it now12:30
didrocksExquisitus: do you mind opening another bug on lack of information from the store on snapcraft push?12:30
Exquisitushttps://github.com/snapcore/snapcraft/pull/76112:46
mupPR snapcraft#761: Remove dangling symlink from JDK plugin <Created by gnuoy> <Closed by sergiusens> <https://github.com/snapcore/snapcraft/pull/761>12:46
Exquisitusthanks it worked now12:46
didrocksExquisitus: do you mind opening the bug I asked about above? (the one about lack of information on snapcraft push)12:48
didrockshappy that it's working now!12:48
Exquisitusok shall I open it on github?12:52
Exquisitusbecause there's already one: https://github.com/snapcore/snapcraft/pull/76112:53
mupPR snapcraft#761: Remove dangling symlink from JDK plugin <Created by gnuoy> <Closed by sergiusens> <https://github.com/snapcore/snapcraft/pull/761>12:53
Exquisitusdidrocks: sorry where should I open the bug? happy to do it12:54
didrocksExquisitus: https://launchpad.net/snapcraft12:54
didrocksthx! :)12:54
didrocksand not the JDK plugin bug12:54
didrocksbut the other one, what you came for first: "no information on snapcraft push on why it failed"12:54
sergiusensdidrocks we have a bug for push already12:58
sergiusensdidrocks LP: #160209512:59
mupBug #1602095: Uploading a snap that requires a manual review shows an error that's not great <store> <Snapcraft:New> <Software Center Agent:New> <https://launchpad.net/bugs/1602095>12:59
didrockssergiusens: thanks you!12:59
didrocksExquisitus: no need then ^12:59
Exquisitusah ok13:00
sergiusensdidrocks OLS just needs poking ;-)13:20
didrockssergiusens: they don't look at bugs? :p13:23
ogra_zyga, bbb and linux-generic-bbb in the store ...13:23
ogra_zyga, and http://people.canonical.com/~ogra/snappy/all-snaps/stable/current/ for the image13:24
* ogra_ goes back into vacation mode13:24
mupPR snapcraft#906 opened: indicators: support TERM=dumb <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/906>13:36
=== chrisccoulson_ is now known as chrisccoulson
=== ben_r_ is now known as ben_r
zygaogra_: thank you! woot :)13:41
zygaogra_: do you have one for beagle c4?13:41
ogra_nope13:41
ogra_(the kernel should work for the C4, i think there is a dtb for it in linux-generic)13:41
mupPR snapd#2277 opened: snap: add new `snap prepare-image --devmode` option <Created by mvo5> <https://github.com/snapcore/snapd/pull/2277>13:48
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
jdstrandmvo: hey, so bug https://bugs.launchpad.net/snappy/+bug/1638656 is rather annoying for me. for various reasons, I am doing snappy development in an lxd container, but the snapd testsuite fails14:17
mupBug #1638656: snapd testsuite fails when run inside an lxd container <Snappy:New> <https://launchpad.net/bugs/1638656>14:17
jdstrandmvo: which means I run tests manually, which leads to the issues in the avahi-observe PR. do you have a feeling for when that might be fixed if at all?14:19
mupBug #1641958 opened: The Cliqz snap will not run from either menu or CLI <Snappy:New> <https://launchpad.net/bugs/1641958>14:19
jdstrandmvo: what is interesting about those failures is that they are all failing in /tmp14:19
jdstrandmvo: and I know that lxd sets up a /tmp like snappy does. /me wonders if he can make lxd not do that as a workaround14:20
jdstrand(I also don't know if that is the cause, it is just 'interesting')14:20
mvojdstrand: let me have a look14:22
mupBug #1641960 opened: Unable to locate package snapd in Debian RPi <Snappy:New> <https://launchpad.net/bugs/1641960>14:22
mvojdstrand: this rings a bell14:22
ypwongIs it possible to put firmware in gadget snap? Because driver is already in kernel snap but firmware is not.14:41
Cameron_I have a question14:44
willcookezyga, yo!  The Armbian guys are going to get a beta kernel with apparmour in for testing.  Will ping you as soon as I get it14:49
willcookezyga, @ OPi Zero ^14:49
zygawillcooke: are you aiming for core or classic first?14:49
zygawillcooke: and thanks for pinging back! exciting stuff14:50
willcookezyga, classic first, because they've done pretty much all the work already14:50
zygaok14:50
zygayeah, seems sensible14:50
Elleois there a way I can get the original $HOME value from within a snap (not the modified ~/snap/<snapid>/ version?)15:03
zygatvoss: is the util-linux SRU done?15:10
zygatvoss: I see  *** 2.20.1-5.1ubuntu20.11 015:10
zygatvoss: from your PPA15:10
jdstrandmvo: thanks! let me know if you want me to test something. I'd love to be able to run ./run-tests :)15:20
jdstrandmvo: err, run-checks15:20
tvosszyga: in flight, whatever is in my ppa is going to be SRU'd though, plus version bump :)15:27
zygak15:29
zygatvoss: a big :'-( for not having nsenter tehre15:30
tvosszyga: not sure I'm following :)15:30
tvossoh, in util-linux15:30
zygatvoss: yes15:30
zygait's invaluable as an analysis tool15:31
tvosszyga: okay, time for another sru then15:31
zygayeah, no worries :)15:31
mupPR snapd#2147 closed: asserts: validate optional account username <Created by emgee> <Merged by pedronis> <https://github.com/snapcore/snapd/pull/2147>15:42
mupPR snapcraft#907 opened: readme: rocket instead of irc <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/907>15:45
=== chihchun is now known as chihchun_afk
mvojdstrand: ha! fun (or not), I created an lxd container and couldn't reproduce15:58
mvojdstrand: but I think I did not follow the instructions correctly, let me try again15:58
jdstrandjdstrand: hmmm. that is 'fun' :)15:58
jdstrandmvo: fyi, I am using the lxd snap15:58
mvojdstrand: I think I can lxc as root15:59
mvojdstrand: ohhhhh15:59
mvojdstrand: I'm using the package15:59
mvojdstrand: let me try with the snap15:59
jdstrandmvo: http://paste.ubuntu.com/23481011/16:04
qenghoI'm looking for a migration path to config hook from old handmade config file. Can a configure hook call "snap set" safely? Assume the condition changes that makes it call snap-set in the first run, like config file moved aside and not detected thereafter.16:22
qenghoOh, maybe it should be calling "snapctl set"?!16:23
didrocksqengho: yeah, your configure script can only call snapctl, not snap16:25
didrocks(and you don't need the snap name in snapctl)16:25
=== JanC_ is now known as JanC
mupPR snapcraft#903 closed: store: download without login <Created by sergiusens> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/903>16:33
shuduoslangasek: hi16:47
jdstrandzyga: hey, ok, spread-test added to https://github.com/snapcore/snap-confine/pull/181 but it doesn't run due to something in the test infrastructure (see my comment in the PR)16:58
mupPR snap-confine#181: add compatibility architectures for supported architectures (LP: #1592022) <Created by jdstrand> <https://github.com/snapcore/snap-confine/pull/181>16:58
zygajdstrand: looking17:00
zygajdstrand: ah I saw this myself17:00
zygajdstrand: I'll update packaging to take account of the merged patches17:00
mupPR snapd#2278 opened: tests: add test that ensures that we do not garbage collect the core snap <Created by mvo5> <https://github.com/snapcore/snapd/pull/2278>17:00
zygajdstrand: I'll take a quick break and be back soon17:00
jdstrandzyga: ok. note, this isn't an emergency PR. fine to pick it up tomorrow afaic17:01
slangasekshuduo: hello17:09
shuduoslangasek: hi, i notice you have reported a netowrk issue of store https://lists.ubuntu.com/archives/snapcraft/2016-October/001355.html17:11
shuduoslangasek: i wonder if the issue is still exist or already fixed17:11
slangasekshuduo: those snaps are on the stable channel now17:12
slangasekshuduo: so that problem no longer exists17:12
shuduoslangasek: i'm helping a customer to migrate their kernel snap from u-d-f to ubuntu-image and encounter network time out issue17:13
shuduosudo /snap/bin/ubuntu-image -c beta --image-size 4G --extra-snaps ./bubblegum96-gadget_0.1.0_arm64.snap --extra-snaps ./bubblegum96-kernel_3.10.0_arm64.snap -o bubblegum96.img bubblegum96.model17:13
shuduoerror: cannot fetch and check prerequisites for the model assertion: Get https://assertions.ubuntu.com/v1/assertions/account-key/6PVAOu6V-pOb7bCSIB9W0WRSnVZwySqShrne8zWWWhIh6oW65o1ynHD4XoT3wSzF?max-format=0:17:13
shuduonet/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)17:13
shuduoCOMMAND FAILED: snap prepare-image --channel=beta --extra-snaps=./bubblegum96-gadget_0.1.0_arm64.snap --extra-snaps=./bubblegum96-kernel_3.10.0_arm64.snap bubblegum96.model /tmp/tmpk_f88lrl/unpack...subprocess.CalledProcessError: Command '['snap', 'prepare-image', '--channel=beta', '--extra-snaps=./bubblegum96-gadget_0.1.0_arm64.snap', '--extra-snaps=./bubblegum96-kernel_3.10.0_arm64.snap',17:13
shuduo'bubblegum96.model', '/tmp/tmpk_f88lrl/unpack']' returned non-zero exit status 117:13
slangasekshuduo: that thread is not about a network timeout issue at all.  If you are trying to do an offline snap prepare-image, I'm afraid that's not something I have knowledge about17:14
shuduoslangasek: sorry just found Luke Williams reported a http 500 error. sorry my mistake17:15
zygatvoss: more green :)17:30
zygatvoss: I just pushed a few trivial patches back17:31
zygatvoss: I'll get some tea and see how this unfolds17:32
=== pmcg1 is now known as pmcgowan
zygatvoss: I will also go over the diff and fix any small things I was thinking about17:32
jdstrandmvo: note though that I have a complete setup in bug #1638656 where I was able to reproduce in an lxd container from a deb17:41
mupBug #1638656: snapd testsuite fails when run inside an lxd container <Snappy:New> <https://launchpad.net/bugs/1638656>17:41
mupPR snapd#2225 closed: Implement lxd-client interface exposing the lxd snap (LP: #1634880) <Created by kalikiana> <Merged by jdstrand> <https://github.com/snapcore/snapd/pull/2225>17:58
zygatvoss: not fully green but greener18:09
tvossHi18:37
tvosszyga: sounds promising, I'll grab a quick bite, with you after that18:38
zygatvoss: so according to https://travis-ci.org/snapcore/snapd/builds/176117575 the only task that failed is *restore* on     - linode:ubuntu-14.04-64:tests/upgrade/basic18:46
zygatvoss: there are some faliures to prepare on other releases that need to be investigated and fixed18:47
zygatvoss: the restore failure is E: Packages were downgraded and -y was used without --allow-downgrades.18:47
zygatvoss: I think that's some of the assumption that doesn't hold in the ppa case18:47
zygatvoss: in any case, I think we are super close18:47
zygatvoss: I'm actually EOD now but I'll continue tomorrow18:48
zygatvoss: with my service tweak and small apparmor change it looks like everything really works now18:48
zygatvoss: I'll check which tasks are disabled on 14.04 and see if we can re-enable them, if any18:48
tvossZyga, ack sounds good, I'll take a look at the upgrade failurr, have a good idea why it is failing18:57
mupPR snapcraft#907 closed: readme: rocket instead of irc <Created by sergiusens> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/907>18:57
mupPR snapd#2279 opened: interfaces: add alsa (LP: #1598309) <Created by jdstrand> <https://github.com/snapcore/snapd/pull/2279>19:23
mterryWhen I build a snap locally with snapcraft, I will see a more extensive LD_LIBRARY_PATH in its command-*.wrapper files than I see with a snap build in an LP bileto silo.  Is that simply becuase I'm not using cleanbuild and snapcraft is stuffing bits of my local environment in there?20:02
mterry(and if so, is there a way to stop it doing that without doing the bother of cleanbuild?)20:05
balloonska20:08
balloonskalikiana_, happy to see the interface landed :-)20:08
ahoneybunmhall119: anyway to force a snap to look for a file somewhere>20:18
ahoneybunGLib.Error: g-file-error-quark: Failed to open file '/share/pithos/pithos.gresource': open() failed: No such file or directory (4)20:19
ahoneybunI think it needs to look in $SNAP/share/pithos/ for it20:19
mupPR snapd#2280 opened: interfaces: miscellaneous policy updates (LP: #1639988, 1614269, 1639614, 1605216, 1629996, et al) <Created by jdstrand> <https://github.com/snapcore/snapd/pull/2280>20:23
sergiusensmterry mind logging a bug for that?20:24
mterrysergiusens: sure20:25
mterrysergiusens: https://bugs.launchpad.net/ubuntu/+source/snapcraft/+bug/164204120:35
mupBug #1642041: LD_LIBRARY_PATH values are inconsistent when working with others <snapcraft (Ubuntu):New> <https://launchpad.net/bugs/1642041>20:35
sergiusensmterry meh, not an Ubuntu bug! Those we sort of not keep track of ;-)20:35
sergiusensmterry much less when we make snapcraft a snap :-)20:36
mterrysergiusens: then close that bug tracker down20:36
mterrymove it where ya like20:36
mterryI guess you can't close down an ubuntu tracker20:37
sergiusensmterry I can't we use it for SRU bugs :-)20:37
sergiusensmterry I'll make sure I move the bug20:37
mterrysergiusens: ubuntu is where I get my snapcraft binary...20:37
sergiusensmterry thanks for it!20:37
sergiusensmterry yeah, but we have no one triaging ubuntu bugs20:37
sergiusensso it sort of gets lost20:38
mterrywell. ok20:38
sergiusensand we have no elegant way to close them as our debian/changelog only mentions the SRU bug per agreement with the release team20:38
mhall119ahoneybun: it depends on the code how to tell it that20:52
mupPR snapcraft#889 closed: cache: snap revision caching on 'push' <Created by squidsoup> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/889>21:09
mupPR snapcraft#893 closed: Add a script to retry autopktests <Created by elopio> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/893>21:15
ahoneybunmhall119: the yaml file you mean?21:28
ahoneybunhttp://pastebin.ubuntu.com/23482554/21:28
mupPR snapd#2281 opened: dirs,interfaces,overlord,snap,snapenv,test: export per-snap XDG_RUNTIME_DIR per user (LP: #1620442) <Created by jdstrand> <https://github.com/snapcore/snapd/pull/2281>23:09
mupBug #1620442 opened: snap fails because XDG_RUNTIME_DIR is set to /run/user/1000 <snapd-interface> <Snappy Launcher:In Progress by jdstrand> <Snappy:In Progress by jdstrand> <https://launchpad.net/bugs/1620442>23:16
flexiondotorgsergiusens, Yo23:25
flexiondotorgIs there an environment variable I can rely on being set to determine snapcraft is doing the build?23:25
flexiondotorgI am adding some logic to one of my Python projects setup.py.23:26
flexiondotorgSo that is can be pip installed for non-snap users.23:26
flexiondotorgBut also not fail during the build step when being built on Launchpad as a snap.23:27
mupBug #1642082 opened: Timestamp error when we try to sign a model assertion <Snappy:New> <https://launchpad.net/bugs/1642082>23:41
liuxg_hi23:49

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