/srv/irclogs.ubuntu.com/2016/09/22/#snappy.txt

liuxgdoes anyone know how to use snapweb?00:40
mupPR snapd#1969 opened: Update HACKING.md <Created by niedbalski> <https://github.com/snapcore/snapd/pull/1969>02:01
mupBug #1626359 opened: Cannot authorise quotactl syscall <snapd-interface> <Snappy:New> <https://launchpad.net/bugs/1626359>02:24
=== JanC is now known as Guest5754
=== JanC_ is now known as JanC
mupPR snapd#1970 opened: Adds ptrace capabilities to the system_trace interface <Created by niedbalski> <https://github.com/snapcore/snapd/pull/1970>03:09
tachyonsHow do I replicate same error message in snap store in local snap review ?03:31
tachyonsIn automated review in store , I got follwing error03:32
tachyonspackage contains external symlinks: gems/ruby-2.3.1@global, rubies/default lint-snap-v2_external_symlinks03:32
tachyons 0 Warnings03:32
tachyons 31 Passes03:32
tachyonsBut this error is not appearing in local when I run snap review03:32
elopiotachyons: install click-reviewers-tools, and then run click-review03:47
tachyonselopio: already done , But this error is not coming in my local system03:47
elopiotachyons: then probably the reviewers tool used in the store is not the same version03:48
elopiotachyons: I think that error means that in your snap you have a symlink to a path outside.03:49
tachyonselopio: which version should I try , I tried the version in 16.04 as well as trunk in bzr03:49
elopioyou can ls -l in the prime directory to search for the links.03:49
elopiotachyons: I don't know what's the right version.03:50
tachyonselopio: yes there are symlinks , but those are not outside snap package03:51
elopiotachyons: can you paste the ls -l of those two files?03:51
tachyonswait03:54
tachyonstotal 803:54
tachyonslrwxrwxrwx 3 tachyons tachyons   86 Sep 21 21:02 default -> /home/tachyons/projects/snappy-playpen/hello-ruby/parts/ruby/install/rubies/ruby-2.3.103:54
tachyonsdrwxrwxr-x 6 tachyons tachyons 4096 Sep 21 21:03 ruby-2.3.103:54
tachyonsdefault is symlinked to ruby-2.3.103:55
tachyonselopio: Is that fine ?03:57
elopiotachyons: I think it should be a relative path, not an absolute one.03:59
elopiowhen you mount that snap in a system, it will try to find /home/tachyons.03:59
tachyonselopio: Means I have to write a script to convert absolute path to relative path in build script?04:01
elopiotachyons: yes. Some other plugins are probably doing the same, but kyrofa is our link man and he's EOD.04:02
elopioyou can send an email to the list.04:02
tachyonsEOD means?04:03
elopioend-of-day. He's sleeping.04:04
mupPR snapd#1971 opened: interfaces/builtin: add rcvfrom for client connected plugs to mir interface <Created by kgunnfront> <https://github.com/snapcore/snapd/pull/1971>04:07
tachyonselopio: Thanks , https://github.com/snapcore/snapcraft/blob/master/snapcraft/plugins/go.py#L120 Is this what you meant ?04:09
tachyonsI don't have much idea about python stuff04:10
elopiotachyons: more like this, I think: https://github.com/snapcore/snapcraft/blob/97742500ac64d44f9251983a7ac93b128901fdfa/snapcraft/plugins/dump.py#L6204:11
elopioI don't have much idea of this part of snapcraf.t04:12
tachyonselopio: Thanks :-) , Let me try04:15
mupBug #1598657 changed: No error id for username/password error returned from snapd <Snappy:Fix Released by chipaca> <gnome-software (Ubuntu):Fix Released> <https://launchpad.net/bugs/1598657>04:40
mupPR snapd#1969 closed: Update HACKING.md <Created by niedbalski> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/1969>05:51
mupPR snapd#1972 opened: tests: increase timeout for key generation in create-key test <Created by mvo5> <https://github.com/snapcore/snapd/pull/1972>06:12
dholbachgood morning06:37
zygagood morning06:55
=== hikiko is now known as hikiko|bbiab
=== braderhart is now known as techntoke
=== techntoke is now known as braderhart
=== braderhart is now known as techntoke
mvoogra_: good news everyone! we have what lookds like a working "loadkeys"08:07
tachyonselopio: Thanks , it is working for files , but directories are not being copied correctly08:15
tachyonsIt shows empty directory instead08:15
mvoogra_: total cost is ~3mb it seems, not great, not too terrible either08:18
=== hikiko|bbiab is now known as hikiko
didrocksmvo: hey, have you seen fgimenez's issue today? It seems that $HOME isn't anymore $SNAP_USER_DATA, but real $HOME, am I correct?08:28
didrocks(maybe when people adds the home plug?)08:29
mvodidrocks: I did not see that, that sounds like a regression08:32
didrocksmvo: yeah, I guess fgimenez can show you an easy reproducer08:33
didrocks(desktop-launch is using ~/.something) and ~ is expanded to /home/<user>/08:33
fgimenezdidrocks, mvo yep, is in the test snap used in this in progress branch https://github.com/snapcore/snapd/compare/master...fgimenez:spread-gsettings?expand=1, the commands try to open files on ~/08:34
mvofgimenez: is that with master?08:35
didrocksmvo: I did get the issue on a released snapd version on my side08:35
mvodidrocks: what version?08:35
didrocksmvo: ah, sorry, I'm wrong, I still have your ppa version :)08:36
didrockssnapd   2.14.2~16.04+ppa227-108:36
didrocksthe one with revert --devmode08:36
mvodidrocks, fgimenez: https://github.com/snapcore/snapd/blob/master/snap/snapenv/snapenv.go#L91 looks correct, let me add a spread test08:36
didrocksmvo: so, basically, we have here: command: desktop-launch <something>08:37
didrocksand desktop-launch is doing cat ~/.something08:37
didrocksand we can see (with the home slot plugged, don't know without that), that ~ is expanded to /home/user08:37
ogra_mvo, hmm, thats a lot, but you didnt use the d-i bits, right ? just the normal desktop packages08:42
ogra_i guess using the bits from the udeb would be a lot less08:42
mvoogra_: yeah, just the regular packages08:43
mupPR snapd#1973 opened: tests: ensure HOME is also set correctly <Created by mvo5> <https://github.com/snapcore/snapd/pull/1973>08:43
mvodidrocks: -^ for you08:44
didrocksfgimenez: ^08:45
didrocksmvo: don't you think we could have some special expansion as the use case is slightly different (~ expansion from a command line application wrapped, but started from another shell?)08:45
fgimenezmvo, didrocks cool thanks a lot08:46
fgimenezdidrocks, in the previous version of the test snap we were exporting HOME and pointing it to SNAP_USER_DATA in the launcher script https://github.com/snapcore/snapd/commit/358fcd544b059fc864cef93af67e7d1e7c3be40c#diff-e2c74cafe2ea8aff71bac730ee1bf0f9R10, wouldn't that have the same effect as HOME being set up from snapd?08:49
mvoogra_: hm, just had a quick look, killing python would be huge if we want to reduce the size08:49
mvoogra_: vim.tiny is also 1mb, systemd-analyize, perl08:50
didrocksfgimenez: yeah, but that's not needed, mvo confirms that HOME should already point to SNAP_USER_DATA08:50
morphis__mvo, ogra_: did you guys release a new beta OS snap?08:50
didrocksbut as we are using ~ expansion, I really wonder if the mvo's test makes sense08:50
ogra_morphis__, not that i'm aware08:50
morphis__mvo, ogra_: saw it changing from 526 to 65808:50
mupPR snapd#1974 opened: snapd: kmod backend <Created by stolowski> <https://github.com/snapcore/snapd/pull/1974>08:51
ogra_mvo, killing python would get us 10MB snaps :P08:51
didrockszyga: see you are approving, but did you read above? ^08:51
ogra_(yes, i'm exaggerating ... but it would freee a lot)08:51
mvoogra_: I think we can kill libstdc++6 from the image, its only needed by apt afaik08:51
morphis__ogra_: snap prepare-image --channel beta .. gives me 658 now where edge has 69508:52
mvoogra_: hm, no, sorry08:52
mvoogra_: silly me, we would still have to include it for classic08:52
ogra_yeah08:52
mvoogra_: /usr/share/local/* might be worth a shot08:53
morphis__mvo, ogra_: any a snap refresh --beta ubuntu-core on my desktop gives me 66008:54
mvomorphis__: same architecture?08:54
ogra_mvo, we purge the lcle package at the end of the build08:55
ogra_*locale08:55
ogra_that should only be empty dirs08:55
ogra_ugh08:55
morphis__mvo: ah right08:56
* ogra_ shakes fist at maintainer scripts08:56
morphis__mvo: but that still doesn't explain why the armhf one goes from 526 to 65808:56
ogra_ogra@bbb:~$ du -hcs /usr/share/locale/08:56
ogra_7.2M/usr/share/locale/08:56
ogra_woah08:56
morphis__mvo: can you check in the store what should be the latest for the beta channel?08:57
* ogra_ is just looking08:58
ogra_656-661 are in bet08:58
ogra_a08:58
morphis__beginning of last week I got 526 and now 65808:58
morphis__ogra_: you see when they were published?08:59
ogra_well, i didnt release anything to beta ... regarding the date ... http://people.canonical.com/~ogra/ubuntu-core-builds/ (unless they were mnul builds they will show up theere)09:00
mupPR snapd#1975 opened: tests: add test benchmark script <Created by fgimenez> <https://github.com/snapcore/snapd/pull/1975>09:01
ogra_hmm, looks like thery were manual :/09:01
ogra_but i'd say 19th09:01
ogra_yeah, the store says "2016-09-19 12:25 - 2 days, 20 hours ago"09:01
morphis__ogra_: wait, we released an upgrade beta snap after the beta announcement?09:01
ogra_ask mvo ... he handles the beta releases ... but why wouldnt we09:02
morphis__ogra_: as it breaks stuff09:02
ogra_well, thts indeed bad, but there is no reason to not release  beta if it doesnt :)09:03
ogra_whaat does it break ?09:03
morphis__ogra_: there is no reason against that but you easily miss that if you nowhere get an announcement for that or so09:04
morphis__ogra_: however, console-conf seems to be updated and now doesn't work anymore with our manually put in place ifupdown config09:04
morphis__mwhudson: ping09:05
ogra_oh ? are you sure ?09:05
ogra_you mean you define a fixed IP and dont get that IP ?09:05
ogra_or what does not work ?09:06
ogra_(note that the device comes up automatically before console-conf ... systemd-networkd default to try DHCP)09:06
ogra_*defaults09:06
morphis__ogra_: address assignment works well, the box gets the IP via dhcp and is manged by ifupdwon but console conf still complains that "network cofngiuration failed"09:06
morphis__it shows the detected IP configuration which ifupdown put in place09:07
morphis__ogra_: no networkd here,09:07
mvomorphis__: it breaks stuff?09:07
morphis__mvo: console-conf has a regression somewhere09:08
mvomorphis__: right, thats (obviously) bad did you talk to mwhudson about it yet?09:09
morphis__and actually I was expecting beta to stay the same until we have the next announcement for an updated beta release or so09:09
morphis__mvo: just ping'ed him09:09
mwhudsonhi09:09
mvomorphis__: there was an anncounement: https://lists.ubuntu.com/archives/snapcraft/2016-September/001166.html09:10
morphis__oh ...09:10
morphis__my bad then that I missed that .. sorry :-)09:10
mvono worries09:11
morphis__mwhudson: hey!09:11
mwhudsoner is it possible to figure out the console-conf versions in the good and bad versions?09:11
morphis__mwhudson: let me first explain the problem I see right now09:11
mvomorphis__: I'm keen to learn more why this makes you concerned. it seems the fact that we spot the regression is a reaosn to release betas more often so that we find the bugs sooner (rather than later). but lets talk after the console-conf issue got debugged09:12
morphis__mvo: my only conern was because I missed the announcement09:12
morphis__so releasing to beta more often to fix bugs is fine for me09:12
morphis__mwhudson: so the problem I have right now is the following:09:13
morphis__mwhudson: we can't really use networkd here as it just fails badly on our 3.4 kernel09:13
morphis__mwhudson: to workaround this (its just a proof-of-concept) we put a config file into /etc/network/interfaces.d which configures the ethernet port via dhcp09:13
mwhudsonmorphis__: 3.4!!09:14
morphis__mwhudson: with the previous beta release console-conf was ok with accepting whatever ifupdown assigned to the interface and just let us go through the process09:14
morphis__mwhudson: now with the second beta release it shows the IP address ifupdown assigned but fails with "Network configuration failed; please verify your settings" when trying to proceed with the wizard09:15
morphis__mwhudson: yeah, 3.409:15
mwhudsonmorphis__: ok, hm, so i'm not really sure why that would have changed, but i can't remember how old the old beta was09:16
mwhudsonmorphis__: can you get at the logs by pulling an sd card or activating a debug shell or something?09:16
morphis__mwhudson: yes, I am already doing that09:16
mwhudsonmorphis__: pastebin /var/log/console-conf/subiquity-debug.log pls09:17
mwhudson(filename might not be quite right)09:17
morphis__mwhudson: hm, there is no console-conf log09:18
mwhudsonmorphis__: nothing in /var/log/console-conf at all?09:19
morphis__nothing09:19
mwhudsonspecial09:19
morphis__https://paste.ubuntu.com/23215029/09:19
mwhudsonmorphis__: initramfs?09:19
morphis__yeah, can't get into the system otherwise09:19
mwhudsonoh right09:19
morphis__this is flashed on the internal flash memory09:20
mwhudsonthat doesn't look like a system that's booted a snappy image?09:20
mwhudsondoes it?09:20
mwhudsonmaybe, i can't remember how all this works09:20
morphis__ah09:21
morphis__mwhudson: my fault, found the log file09:21
mwhudsonmorphis__: isn't it going to be /root/writable/system-data/... or something?09:21
morphis__https://paste.ubuntu.com/23215037/09:21
morphis__09/22 09:10 subiquitycore.utils:130 run_command returning: {'err': 'Error in network definition //etc/netplan/00-snapd-confi09:22
morphis__g.yaml line 9 column 6: p2p0: No access points defined\n', 'status': 1, 'output': ''}09:22
mwhudsonoh09:22
mwhudsoni've fixed that bug09:22
mwhudsonmorphis__: can you try edge ubuntu-core?09:22
morphis__so console-conf does not put any configuration in place and then netplan fails to apply that09:22
morphis__mwhudson: sure09:22
mwhudsoni misunderstood a bit what netplan accepted09:23
mupPR snapd#1944 closed: many: validate refreshes against validation assertions by gating snaps <Critical> <Created by pedronis> <Merged by pedronis> <https://github.com/snapcore/snapd/pull/1944>09:24
morphis__mwhudson: ah :-)09:24
morphis__mwhudson: and another one where I saw a crash of netplan: https://paste.ubuntu.com/23215041/09:24
mwhudsonmorphis__: looks like the same thing on first blush09:26
morphis__mwhudson: see the: AttributeError: 'BackgroundProcess' object has no attribute 'proc'09:27
mwhudsonmorphis__: oh, i fixed that too09:28
mwhudson(without really understanding it :/)09:28
morphis__great :-)09:28
morphis__lets see how edge goes09:28
morphis__mwhudson: ah, works again!09:30
mwhudsonmorphis__: hooray, sorry for the bugs09:31
morphis__mwhudson: no problem :-)09:33
mupPR snapd#1976 opened: tests: skip some tests on non-amd64 architectures <Created by mvo5> <https://github.com/snapcore/snapd/pull/1976>09:35
morphis__mvo: is there an easy way how I can programatically determine the OS snap revision in a channel?09:36
morphis__mvo: or via the snap command09:37
ogra_only the installed snap version09:40
ogra_and for the non-manually built snaps you can look up the info at http://people.canonical.com/~ogra/ubuntu-core-builds/09:41
ogra_(i havent added manifests and changelogs yet ... that a weekend project)09:41
ogra_*that's09:41
morphis__:-)09:42
pedronismorphis__: there's no command for that atm, you can query the store directly though09:42
morphis__looks like I can abuse snap download --edge ubuntu-core for that09:42
morphis__pedronis: you have a link to the store API?09:43
ogra_i think you can also just check for upgradeability ...09:43
pedronismorphis__: https://wiki.ubuntu.com/AppStore/Interfaces/ClickPackageIndex#Details09:43
morphis__thanks09:43
ogra_snap refresh --list09:44
ogra_that shows if there is a newer core09:44
ogra_"snap refresh --list --beta" actually :)09:45
pedronis--list doesn't take channels atm09:46
pedronisI think09:46
ogra_ogra@bbb:~$ snap refresh --beta --list09:47
ogra_error: --list does not take mode nor channel flags09:47
ogra_yeap ... looks like you know the error msg :)09:47
pedronismorphis__: something like this:  curl -H "X-Ubuntu-Series: 16" -H "X-Ubuntu-Architecture: amd64" https://search.apps.ubuntu.com/api/v1/snaps/details/ubuntu-core?channel=edge09:48
ogra_but if the image is baseed on beta it will show the beta channel snaps i suppose09:48
morphis__pedronis: thanks!09:48
pedronisogra_: yes09:49
pedronisis just that if things are up-to-date09:49
pedronisit will just say they are up to date09:49
ogra_yeah09:49
ogra_but you could turn off auto-refresh ... and then have a script to check with the above command before you decide to upgrade09:50
ogra_(and first look up the changelog before you decide upgrdaing wont break your hacked up setup ;) )09:51
ogra_thats probably better than having it auto-refresh over night and being greeted with a bricked device :)09:52
mupPR snapd#1972 closed: tests: increase timeout for key generation in create-key test <Created by mvo5> <Merged by niemeyer> <https://github.com/snapcore/snapd/pull/1972>10:04
=== mup_ is now known as mup
pittiogra_: did you strace -tt console-conf --help? does python3 --help also take that long?10:14
pittiogra_: i. e. is that really just python itself, or something specific to console-conf?10:14
pitti(some expensive import or what not)10:14
ogra_pitti, sorry, i had a ton of distracting things today, u'll get to the strase soon10:14
pittiI cannot imagine that python takes an effing 20 seconds to start -- the hardware can't be *that* slow10:14
ogra_*i'll get to the strace ...10:15
pittiogra_: no hurry, just overheard it on the ML10:15
pittiit was more like curiosity/disbelief10:15
pittiI cannot imagine that this can just  be attributed to hw slowness; there must be some bug somewhere10:15
pittimaybe the RNG hits again :)10:15
ogra_pitti, it has always been like that on embedded arm if you say python in a channel wheer mebedded people work you get laughed at ... single core arm and python have never gone well together10:16
* pitti saw several long startup delays due to that recently, like bug 162289310:16
mupBug #1622893: NetworkManager takes very long to start, or times out, blocked on RNG <amd64> <apport-bug> <bootspeed> <regression-release> <yakkety> <Auto Package Testing:Fix Released by pitti> <gnutls28 (Ubuntu):Triaged> <network-manager (Ubuntu):New> <https://launchpad.net/bugs/1622893>10:16
pittiogra_: well, we've run apport on arm stuff for a long time, and while that's certainly expensive, it didnt take multiple seconds to start..10:17
ogra_(this is why micropython exists)10:17
ogra_pitti, we have always disable apport on devices like this ... we use apport on desktop class devices like phones, sure ... but on the old arm images it has always been disabled10:18
ogra_(we never ran long-running python processes on the arm devboard images)10:18
ogra_technically what we'd want would be https://micropython.org/ packaged in ubuntu-core ... instead of python310:19
ppisatiwhere can i open a bug against ubuntu-image?10:25
ogra_https://bugs.launchpad.net/ubuntu-image10:25
frederikkunzeHello, i tried to flash Snappy on a Raspberry 3 but it ended in being stuck in the gpu-check screen of the raspi. I did read that the problem exists since a few month is there any solution for it? I could not find any.10:35
Son_Gokumorning all10:56
mupPR snapd#1977 opened: interfaces/builtin: add netplan-observe interface <Created by morphis> <https://github.com/snapcore/snapd/pull/1977>11:04
mupPR snapd#1965 closed: asserts: support for maps in assertions <Created by pedronis> <Merged by pedronis> <https://github.com/snapcore/snapd/pull/1965>11:18
zygadidrocks: didrocks I'm sorry, was this about $HOME?11:39
ppisati$ cat pi2-tvoss.model | grep kernel11:49
ppisatikernel: ubuntu-raspi2-kernel11:49
ppisati$ sudo /snap/bin/ubuntu-image --extra-snaps ./ubuntu-raspi2-kernel_4.4.0_armhf.snap -c beta -o pi2-tvoss.img pi2-tvoss.model11:50
ppisati$ unsquashfs -l ubuntu-raspi2-kernel_4.4.0_armhf.snap11:50
ppisati...11:50
ppisatisquashfs-root/lib/modules/4.4.19-xenial_raspi2+/modules.dep11:50
ppisatisquashfs-root/lib/modules/4.4.19-xenial_raspi2+/modules.dep.bin11:50
ppisati...11:50
ppisatinotice the version: 4.4.19-xenial_raspi2+11:51
didrockszyga: correct11:51
ppisati$ unsquashfs -l /media/flag/writable/system-data/var/lib/snapd/snaps/ubuntu-raspi2-kernel_x1.snap11:52
ppisati...11:52
ppisatisquashfs-root/lib/modules/4.4.16-xenial_raspi2+/modules.builtin11:52
ppisatisquashfs-root/lib/modules/4.4.16-xenial_raspi2+/modules.order11:52
ppisati...11:52
ppisati4.4.1611:53
ppisatiso it's using a different kernel, and not the one i'm passing on the command line11:53
ppisatican anyone explain why?11:53
Mirvare you all on Rocket chat too or should I generally use IRC more?12:01
Son_Gokuzyga: ping12:03
MirvMr. Newbie just has stupid questions12:04
zygaSon_Goku: hello12:07
zygaSon_Goku: what's up?12:07
Son_Gokuyou're alive!!!12:07
Son_GokuI've not heard from you nearly all month12:07
zygaSon_Goku: yes, though my back hurts all day lately :/12:07
Son_Goku:(12:07
Son_Gokuwhat happened?12:07
zygaSon_Goku: back? just the way it is, weather, more work12:08
zygaSon_Goku: test-snapd-tools12:08
zygahmm12:08
zygahttps://plus.google.com/+ZygmuntKrynicki/posts/fPj5PaDFbgk12:08
zygathat's better12:08
zygathat's why I was quiet for a while12:08
zygaremember that "small thing I need to do in snap-confine", well that too NaN minutes to do12:08
Son_Gokujeez12:09
zygaSon_Goku: I could use a hand with designing one thing12:09
Son_Gokuhm?12:09
zygaSon_Goku: we'll have to release snapd once again (hopefully today) before this is doable12:10
zygaSon_Goku: but I could use a hand with /snap migration12:10
Son_Gokuyes12:10
zygaSon_Goku: I realized that this is more tricky than initially assumed12:10
zygaSon_Goku: all snap services need to be stopped12:10
zygaSon_Goku: all units unmounted12:10
Son_Gokuoh dear12:10
zygaSon_Goku: all units adjusted12:10
zygaSon_Goku: all units renamed as systemd requires that the file name matches the internal path12:10
Son_Gokuit's essentially the same as doing an offline update12:10
zygaSon_Goku: totally12:10
zygaSon_Goku: and it's very explosive, I was just wondering how to even attempt that and test it sensibly12:11
* Son_Goku has flashbacks to UsrMove12:11
zygaSon_Goku: my current plan is to use VM snapshots12:11
zygaSon_Goku: and just code this defensively12:11
zygaSon_Goku: and iterate a while until I feel it's good12:11
Son_Gokuprobably an okay idea12:11
zygaSon_Goku: this is obviously just for COPR12:11
zygaSon_Goku: but it has to be there first12:11
zygaSon_Goku: once copr is moved the rest is easy12:12
Son_Gokuwell, for copr, it might not be as horrible as you think12:12
zygaSon_Goku: if you have a VM handy I could use you do do some reviews and test migrations12:12
Son_Gokuyou can move everything, and just create a symlink to /snap -> new location12:12
zygaSon_Goku: ohhhh12:12
zygaSon_Goku: hmm D:12:12
zygawell, see, why didn't I think of that :D12:12
Son_Gokuthat's what we did for UsrMove12:12
zygaso still stop-the-world12:13
zygado a symlink12:13
Son_Gokuyep12:13
zygaperhaps rewrite state.json (need to check)12:13
zygaand bring it up12:13
* zyga ponders12:13
zygabut how is the symlink useful then?12:13
Son_Gokuand I *think* this can also be conditionalized as a %pretrans that occurs only if older versions of snapd are detected12:13
zygaapart from, maybe, just $PATH being still valid12:13
zyganah, thats irrelevant, I would keep this in COPR forever and stop updating it12:13
Son_Gokuah12:14
zygaSon_Goku: all subsequent updates would be in the repo12:14
Son_Gokuright12:14
Son_Gokuso you'd probably still want to apply a migration to all units and whatnot12:14
zygayes, I have to12:14
zygaeverything12:14
zygaactually12:14
zygait might be easier to say this12:14
zygathe migration removes all snaps12:14
zygaand re-installs them12:14
zygakeeping data (that could be a hack)12:14
zygawell, no I still need12:14
zygaman this is complex12:14
zyga...12:15
zygalots of moving parts12:15
Son_Gokuno one ever thought this might be a problem, which is extraordinarily surprising, given Ubuntu's upstream?12:15
zyga?12:15
zygamoving stuff around is hard when it is live12:16
Son_Gokuthe /snap path is a violation of Debian Policy12:16
zygathat's why I'd rather not do it but that cat is out of the bag12:16
Son_Gokuso I was surprised that you guys even did it that way to begin with12:16
zygawell, /magic would be too because that's a new thing. doesn't mean that policy is set in stone :)12:16
Son_Gokuwell, it tends to be12:16
zygaif that were the case /etc would still ship executables12:17
Son_GokuI've not seen Debian Policy change significantly in the last decade or so12:17
zygaand we'd be using vms or something12:17
Son_Gokuhaha12:17
zygawell, back to earth, I'll draft a migration script and share it12:17
Son_Gokuright12:17
zygaI'm coming back to the light, I hope :)12:17
Son_GokuI hope so too12:17
Son_Gokuwe were nearing the "DEADREVIEW" state for all the stuff12:18
zyga(yesterday, when I had to do some stuff away from home office I obviously had to break all of yakkety)12:18
Son_Goku:)12:18
Son_Gokumass rebuilds are good for the soul12:21
mupPR snapd#1978 opened: interfaces/builtin: network-manager: allow access to netplan conf files <Created by morphis> <https://github.com/snapcore/snapd/pull/1978>12:37
mupPR snapd#1979 opened: assertions: add system-user assertion <Created by mvo5> <https://github.com/snapcore/snapd/pull/1979>12:46
=== hikiko is now known as hikiko|lm
=== hikiko|lm is now known as hikiko|ln
ogra_ppisati, have you tried -c edge instead ?13:03
sergiusensMirv the snapcraft team is on rocket, the snapd team isn't that is why you see kyrofa sometimes on or off13:32
kyrofaHahaha13:32
sergiusensMirv that said, I am the only snapcraft person dedicating day and night to it ;-)13:32
Mirvok :)13:34
=== hikiko|ln is now known as hikiko
ogra_Mirv, all teams are kind of on IRC though13:50
ogra_(reply times are sometimes slow since we started fragmenting everything across all possible chat tools though)13:50
Harshilhello13:59
HarshilI have a lenovo x20113:59
Harshilwhich has a touch screen13:59
Harshildoes ubuntu 16 support touch screen?13:59
ppisatiogra_: uhm nope14:01
ppisatiogra_: i'll give it shot14:01
ppisatiogra_: btw, where does the board dtb resided these days? kernel or gadget snap?14:02
ppisati*reside14:02
ogra_ppisati, you can pick ...14:02
ogra_(and if LP wouldnt 503 on me i could show you an example :P )14:03
Harshilis there any way i can  use tuch screen on ubuntu?14:04
ogra_ogra@anubis:~/datengrab/devel/branches/snappy-systems$ grep device-tree beagleblack/meta/gadget.yaml14:04
ogra_device-tree: am335x-boneblack14:04
ogra_device-tree-origin: kernel14:04
ogra_ppisati, device-tree-origin: is either kernel or gadget ... with gadget being the default if you dont specify it at all14:05
ogra_if it is gadget you need to ship it in /dtbs/ inside the gadget14:05
=== chihchun is now known as chihchun_afk
ogra_Harshil, you mean snappy ? the snappy images do not have support for graphics yet ... and snappy on classic simply uses the input setup from the classic install for which you get support in #ubuntu14:06
morphis__cyphermox: ping14:15
cyphermoxmorphis__: hi14:18
morphis__cyphermox: I was wondering if there are any patches you did for network-manager to support config files generated from netplan14:19
cyphermoxyeah, they're the few last I ever applied to NM14:20
cyphermoxto be able to read files in /run and /var/lib14:20
morphis__cyphermox: ah, great14:20
morphis__cyphermox: so https://git.launchpad.net/network-manager/tree/debian/patches/Read-config-from-run.patch and https://git.launchpad.net/network-manager/tree/debian/patches/Read-system-connections-from-run.patch ?14:21
cyphermoxthat looks about right14:23
cyphermoxlook through that same upload there may be more patches from pitti that go along with that14:24
morphis__cyphermox: ok14:25
morphis__cyphermox: thanks14:25
qenghoIs RPi2+ just impossible right now? My old image didn't survive upgrade, and the 6-Sept images are (I heard) broken.14:37
balloonsjdstrand, ping14:38
ogra_they shouldnt be ... but nontheless there are sep 19 images :)14:38
ogra_the sep. 6th images had an issue on the pi3 which is why we withdrew it ... pi2 was faine though14:38
ogra_*fine14:38
qenghoOh. My Pi3 won't work, I gues.14:39
oparozCan we still whitelist single syscalls in snapcraft.yaml?14:40
ogra_qengho, that would surprise me ... the sept. 19 images should surely work on all arches we released for14:40
ogra_(which includes pi3)14:40
balloonszyga, just poking again about the snap-confine SRU. Did you get stuck trying to make one?14:41
ppisatiuhm14:43
qenghoogra_: I'm dumb. Where are those images?14:43
ppisatii'm pretty sure at this point that ubuntu-image caches the --extra-snap that you pass to it14:43
zygaballoons: it's in progress14:43
zygaballoons: I broke yakkety but we've learned and a new set of small releases will fix it today14:43
ogra_qengho, http://cdimage.ubuntu.com/ubuntu-snappy/xenial/current/14:43
ppisatiand if you pass two times two different snap (but with the same)14:43
zygaballoons: and hopefully eventually reach xenial14:44
balloonszyga, wonderful to hear!14:44
balloonszyga, ohh, nothing is in queue for xenial yet?14:44
ppisatithe image will be created using *always* the first snap with that name14:44
balloonsthat's where I need it14:44
mupBug #1590219 changed: misleading error when the wrong command is passed with a flag <Snappy:Fix Released> <https://launchpad.net/bugs/1590219>14:44
ogra_ppisati, probably time for a bug14:45
ppisatiogra_: let me do another test14:48
jdstrandballoons: hey14:50
balloonsjdstrand, howdy. I'm curious about your current thoughts on https://bugs.launchpad.net/snappy/+bug/1590767.14:50
mupBug #1590767: Support snap installed completion scripts <snapd-interface> <Snappy:New> <https://launchpad.net/bugs/1590767>14:50
balloonsjdstrand, it's the bash completion question :-) I know you had an idea that maybe it wasn't as crazy as it sounded for snaps14:51
jdstrandballoons: all my ideas are captured in the bug. I'm not actively working on it14:51
jdstrandballoons: I think it is probably possible, but it would need to be designed14:52
jdstrand(not necessarily by me)14:52
ppisatiand while creating an image for rpi2/3, the dtbs aren't copied to the boot directory14:55
ppisatiso the gadget one are kept around14:55
ppisati...14:55
balloonsjdstrand, so it still needs design / proof of concept then. Sounds like the proposed idea of a confined helper to feed strings is the most promising then14:57
qenghojdstrand: in case this was below your attention: "personality" syscall on armhf. https://bugs.launchpad.net/snappy/+bug/161426914:59
mupBug #1614269: tor package on ARMHF crashes on filtered syscall "personality" <snapd-interface> <Snappy:New> <https://launchpad.net/bugs/1614269>14:59
qenghoI don't know what the argument to that syscall was, but I don't think we support more discrete filters anyway.15:00
jdstrandqengho: I saw the bug. I have a feeling that you'd run into other problems, but maybe not. we do support seccomp argument filtering in snap-confine these days, but nothing is using it yet (I plan to change that as soon as I get through other high priority work)15:06
jdstrandqengho: what happens if you add 'personality' to /var/lib/snapd/seccomp/profiles/snap.tor-middle-relay...15:07
qenghojdstrand: I whitelist "personality" with "sudo -e" and it works great. No complaints.15:07
jdstrandqengho: can you mention that in the bug. I suspect it is setting persona to 0xffffffff then15:08
qenghoI will15:09
jdstrandthanks!15:09
mupPR snapcraft#820 closed: Fixed bug LP: #1607294 snapcraft search returns results in different order <Created by clobrano> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/820>15:10
zygamvo: how do you feel about https://github.com/snapcore/snapd/pull/1847#pullrequestreview-115106415:13
SamYaplehmmm sergiusens bit of an issue with the python plugin15:13
mupPR snapd#1847: many: discard preserved namespace after removing snap <Blocked> <Created by zyga> <https://github.com/snapcore/snapd/pull/1847>15:13
sergiusensSamYaple what issue?15:13
zygamvo: I'd like to land it and do another release as this breaks people15:13
SamYaplesergiusens: it appears that its not installing some things and im not sure why. just discovered it15:14
SamYaplesergiusens: in a standard virtualenv on your machine, run `pip install dogpile.cache` youll notice it has more files than installing that in the snap15:14
SamYaplespecifically in the snap 'lib/python2.7/site-packages/dogpile' does not contain an __init__.py15:15
mvozyga: I would love to have niemeyer review on this branch too15:15
SamYapleand that is needed15:15
mvozyga: but once its landed we can do a hotfix for yakkety15:15
niemeyermvo: Which one is that?15:15
niemeyer#1847?15:15
mvoniemeyer: yes15:15
sergiusensSamYaple what if you `pip install --user dogpile.cache`?15:15
niemeyermvo: Looking15:15
balloonsmvo, might you be able to help out on getting a newer snap-confine into xenial? I've been poking zyga, but I don't think he has upload rights15:16
zygamvo, niemeyer: understood, thank you15:16
balloonsmvo, specifically the xenial version has the LXD issue which breaks juju, conjure-up, etc15:16
sergiusensSamYaple and second question since I am mad troubleshooting something else, does the upstream provide that __init__.py?15:17
mvoballoons: what bit exactly do you need? there is a pending update but its a bit delicate because it requires a new snapd and lock-step updates15:18
SamYaplesergiusens: indeed it does (as well as other files, __init__.py missing is simply blocking the import)15:18
mhall119nessita: are you on the Ubuntu rocket.chat ?15:18
SamYaplesergiusens: i can't --user in a virutalenv. stil ltesting that15:18
balloonsmvo, https://bugs.launchpad.net/snap-confine/+bug/161384515:18
mupBug #1613845: Juju snap can no longer interact with LXD in devmode <conjure> <Snappy Launcher:Fix Released by zyga> <snap-confine (Ubuntu):Fix Released> <snap-confine (Ubuntu Xenial):In Progress> <https://launchpad.net/bugs/1613845>15:18
nessitamhall119, I'm not, how can I help you?15:19
balloonsmvo, the PR is linked in there if you wanted to cherry-pick. But I was assuming 1.0.40 (and now 1.0.41) would come back to xenial directly15:19
mhall119nessita: Mirv had a question there about the new content interface and the store, let me copy it here15:19
sergiusensSamYaple I am guessing virtualenv does some __init__.py magic (I saw the code for virtualenv, it is full of weird things to help you out)15:19
SamYaplesergiusens: nah, its there with --user as well15:20
SamYaplesergiusens: but like i said, there are other missing files too, like api.py15:20
mhall119is there any recent documentation or examples on the content interface? I tried to add a similar slot configuration to geany-plugins to my package: https://github.com/ubuntu/snappy-playpen/blob/geany/geany-plugins/snapcraft.yaml - but when uploading to store I got "unknown attribute 'content' for interface 'content' (slots) lint-snap-v2_slots_attributes"15:20
SamYaplespecific to dogpile.cache15:20
mhall119nessita: ^^ that was it15:20
sergiusensSamYaple hmph, can you log a bug, I will look at it later15:20
SamYaplesergiusens: sure. im still digging into it15:21
mvoballoons: right, if we do a new snap-confine we need to also do a new snapd with a branch that is not even in master yet, I'm just saying if this is urgent a cherry-pick might be easier15:21
balloonsmvo, ack, makes sense. I would really appreciate a cherry-pick in that regards. I'm happy to help verify the SRU15:22
mvoballoons: ok, I will keep that in mind, if the branch lands soon and we can unblock the current snapd sru the full release is probably a better option. but its two *ifs* in there15:23
mvopitti: silly question, snapd  2.15.2ubuntu1  is in xenial-proposed since ~21h but I  have not seen a autopkgtest run for it, is that expected? also not in the queue or anything. how is that scheduled?15:24
nessitamhall119, hum, I don't have the details of each interface, let me see who can help you15:25
nessitamhall119, the store until runs the click-reviewers-tools15:25
nessitawe don't have the logic of the checks themselves15:25
nessitajdstrand, hi, would you know what the error that mhall119 printed above means: "unknown attribute 'content' for interface 'content' (slots) lint-snap-v2_slots_attributes"15:26
mhall119click-reviewers-tools is used against snaps as well?15:26
nessitamhall119, what app is this, so I look for it in the store?15:26
nessitamhall119, yers15:26
nessitayes*15:26
pittimvo: ah, we had a ginormous amount of cloud breakage again, I'll just kick it15:26
pitti(to re-run again)15:26
mhall119nessita: not sure, Mirv didn't share links to his files15:27
mvota15:27
pittimvo: note that it fails in y (http://people.canonical.com/~ubuntu-archive/proposed-migration/update_excuses.html#snapd)15:27
nessitamhall119, do you know the snap name?15:27
pittimvo: (so is stuck in -proposed anyway)15:28
niemeyerzyga: Btw, if you are in a hurry, revert the changes15:28
niemeyerzyga: We don't want to rush this in15:28
niemeyerzyga: You are touching on the foundation of every single snap, and apparently there are issues.. let's take the time to do it right15:29
zyganiemeyer: ack15:29
mhall119nessita: I don't, sorry, and Mirv might be gone for the day already15:30
mhall119I can't find his developer account in the store either15:30
Mirvmhall119: nessita yes EOD but a quick link https://myapps.developer.ubuntu.com/dev/click-apps/5974/ -> 4 had the failure, in 5 the line is removed (and a new unrelated part added)15:32
Mirvsorry must go15:32
niemeyerzyga: review submitte15:32
niemeyerd15:32
mhall119thanks Mirv15:33
mvopitti: that is fallout from a bad snap-confine version but yeah15:33
nessitaMirv, checking15:33
mvopitti: I'm keen on the autopkgtest output because the upload targets the failures specifically, I'm keen to learn if my fixe(s) are good enough15:33
mhall119Mirv: looks like rev 5 passed, does that mean you've resolved it, or just reverted the changes from rev 4?15:34
jdstrandnessita: I do. 'content' isn't an attribute of the content interface per https://github.com/snapcore/snapd/blob/master/docs/interfaces.md. the attributes should be read, write or target15:35
jdstrand(depending on if slot or plug. in this case it is slot side so should be 'read' or 'write')15:35
mhall119jdstrand: according to my understanding of the interface, the "content" attribute is needed to make sure the plug and the slot are both talking about the same thing15:37
jdstrandthere is no content attribute based on the docs15:37
jdstrandlet me look at the yaml15:37
jdstrandjeez this thing is 400M15:38
* jdstrand really wishes that the store showed the snap.yaml...15:38
* jdstrand knows that is planned15:39
mupBug #1626617 opened: console-conf does not allow to set up dns for static ip <Snappy:New> <subiquity (Ubuntu):New> <https://launchpad.net/bugs/1626617>15:39
mhall119jdstrand: https://github.com/snapcore/snapd/blob/941e06e4f0eaece96e357b561013c8b7363e0068/tests/lib/snaps/content-slot/meta/snap.yaml lists a content parameter15:40
mhall119maybe it's something planned but not implemented yet15:40
mhall119https://github.com/snapcore/snapd/blob/941e06e4f0eaece96e357b561013c8b7363e0068/tests/lib/snaps/content-plug/meta/snap.yaml being the plug side15:41
SamYaplesergiusens: the import problem still exists, however the missing __init__.py is not the problem. the file difference was due to different versions of dogpile.cache15:41
SamYaplesergiusens: the fact remains that it is still an import problem and i dont know why15:42
oparozDo we still need to "connect" something if we whitelist a syscall?15:43
zygamhall119: hey, I need to skip the call as I have a conflict on sprint planning15:44
mhall119zyga: no worries, we had the upstreaming work call earlier, we found some blockers that will get passed on to you or jdstrand but not much15:45
mhall119jdstrand: who are you waiting for on the dbus interface review?15:45
jdstrandmhall119: niemeyer15:46
jdstrandmhall119: as for the content interface, just drop 'content: qt-ubuntu'15:46
mhall119niemeyer: a number of desktop apps are waiting on the dbus interface, do you know when we'll have that available?15:47
jdstrandmhall119: I checked the code and there is nothing in it that I can see that would honor the content attribute15:47
mupPR snapd#1976 closed: tests: skip some tests on non-amd64 architectures <Created by mvo5> <Closed by mvo5> <https://github.com/snapcore/snapd/pull/1976>15:47
mhall119Mirv: ^^ see jdstrand's fix above, it seems the 'content' parameter isn't used15:48
jdstrandmhall119: your question to niemeyer isn't phrased quite right15:48
niemeyermhall119: After I get over the critical tasks for the impending deadlines15:48
niemeyermhall119: I don't know what the status of this is, to be honest.. we discussed that long ago15:48
jdstrandmhall119: as you know, it was deprioritized for other high prioirty interfaces. that work is done, I came back around to it to get it in reviewable shape this week. now niemeyer and I need to iterate15:48
niemeyerAh, nice, so jdstrand is on top o fit15:49
mhall119jdstrand: thanks, I didn't know it was deprioritized (though I did know other work was above it)15:49
jdstrandniemeyer: yeah-- we can start iterating again-- but I gave a long answer and I suspect you'll want to give it a careful read and ponder15:49
jdstrandmhall119: that is what I meant about deprioritized15:50
niemeyermhall119: It was not consciously deprioritized.. it was naturally deprioritized because we have way too much to do on not enough time15:50
balloonsshould ~/snap/snapname/current exist? I only see ~/snap/snapname/buildnumber15:51
jdstrandmhall119: again, it is difficult when everything is critical priority-- nothing is. it was behind other stuff. that other stuff is mostly done, but dbus-app got picked up again and we are moving forward as best we can considering the deadlines (as niemeyer indicated)15:51
jdstrandmhall119: fyi, you are a subscriber to the trello card and I keep it up to date. not sure if those updates are getting filtered15:52
mhall119jdstrand: I saw the update, but not the detail of who had the next task on it or when it might be done15:53
tachyonssuccessfully uploaded first ruby snap to store15:53
jdstrandthe next task is in the PR15:53
mupPR snapd#1980 opened: tests: more debug around the create-key test <Created by mvo5> <https://github.com/snapcore/snapd/pull/1980>15:53
jdstrandI don't have a timeline since we need to iterate and other deadlines are there15:53
jdstrandmhall119: note that devmode is still an option to unblock people. I realize that doesn't help with the stable channel.15:54
mhall119yeah, it also doesn't let them work on building their snap "the right way" until they know what that right way is going to be15:55
mhall119but I'm glad it's still active and getting near the top of the priority list now15:55
mupPR snapcraft#821 opened: Make copies of remote parts to avoid ordering issues <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/821>16:22
Guillaume__hello16:25
Guillaume__when they say "Try Ubuntu Core running on bare metal x86 devices" does it mean that it can run on any computer ???16:26
ogra_sure, you can dd the amd64 or i386 image onto a USB stick and should e able to boot it from there16:28
mhall119as long as the hardware doesn't prevent you from booting a different OS, yes16:29
ogra_indeed ...16:29
mhall119sergiusens: can you do 1400 utc tomorrow to talk about cmake/cpack and snaps?16:30
mhall119should only take 30 minutes16:30
Guillaume__is there a recommanded hardware or limitation ? for example, does it run on any NUC ?16:34
Guillaume__on bare metal, is there a recommanded hardware or limitation ? for example, does it run on any NUC ?16:37
Pharaoh_Atemzyga: so have you figured out the migration step yet?16:38
SamYaplesergiusens: oh. when did that get added? the problem is we are stripping the pth files16:40
SamYaplesergiusens: we should absolutely not be doing that16:40
zygaPharaoh_Atem: I think so, I need to setup some representative env for testing though and script it all the way16:41
zygaPharaoh_Atem: though still working on https://github.com/snapcore/snapd/pull/184716:41
mupPR snapd#1847: many: discard preserved namespace after removing snap <Blocked> <Created by zyga> <https://github.com/snapcore/snapd/pull/1847>16:41
SamYaplesergiusens: https://github.com/snapcore/snapcraft/pull/765 tsk tsk tsk it was you!16:42
mupPR snapcraft#765: Use a recursive iglob for filesets <Created by sergiusens> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/765>16:42
jdstrandniemeyer: hey, is there a way to retrigger travis checks? https://github.com/snapcore/snapd/pull/1968 failed for something unrelated to the PR16:47
mupPR snapd#1968: interfaces: adjust bluetooth-control to allow getsockopt (LP: #1613572) <Created by jdstrand> <https://github.com/snapcore/snapd/pull/1968>16:47
niemeyerjdstrand: Yeah, if you click on the "Details" link you'll see the three jobs.. some of them will likely have passed16:48
jdstrandyes, two of the 3 did16:48
niemeyerjdstrand: If the spread one failed, please restart just that one by clicking on it first16:48
niemeyerjdstrand: That sounds like a real failure then.. doubt a restart will make it work16:49
jdstrandok, it was the one. it is tests/main/create-key16:49
niemeyerjdstrand: Please note we have a low tolerance for flakiness.. if there's a test that is failing on and off, we need to fix it or remove it16:49
niemeyerjdstrand: Ah, yeah, that's exactly this case then :)16:50
jdstrand2016/09/21 22:25:37 Failed tasks: 216:50
jdstrand- linode:ubuntu-16.04-32:tests/main/create-key16:50
jdstrand- linode:ubuntu-16.04-64:tests/main/create-key16:50
niemeyerjdstrand: mvo has been trying to stabilize this one16:50
jdstrandok, cool16:50
jdstrandso if I click it, it might pass16:50
niemeyerjdstrand: Yeah16:50
* jdstrand notices PR 1980 is being worked on16:50
mectorsHow does the serial-port interface work when I want to use a snap that connects to a USB device? Do I add a slot with the usb-x parameters and what do I have to do with snap connect?16:50
niemeyermvo: any news on create-key?16:51
jdstrandniemeyer: I think I'm clicking the wrong thing. if I click 'it' or the big 'x', it just shows me the log16:52
jdstrandmaybe I need to sign in16:52
niemeyerjdstrand: It's a circular thing, and there's a label next to it at the top16:53
niemeyerjdstrand: Yes, it needs to know who you are before it allows restarting a jbo16:53
mupBug #1626652 opened: ~/snap/<name>/current/ is missing <Snappy:New> <https://launchpad.net/bugs/1626652>16:54
jdstrandniemeyer: ok, it took a while after I logged in before it should me the 'Restart build' button, but I clicked it. stuff seems to be happening :) thanks!16:58
jdstrandshowed*16:58
niemeyerjdstrand: np.. again, if you click this thing too often, please let us know.. create-key we're already aware and are working on it17:02
mupBug #1626656 opened: something isn't quoting <bold>things</bold> <Snappy:New> <https://launchpad.net/bugs/1626656>17:03
mupBug #1626656 changed: something isn't quoting <bold>things</bold> <Snappy:Invalid> <https://launchpad.net/bugs/1626656>17:06
jdstrandniemeyer: yep. I figure I'd always ask17:10
sergiusensSamYaple you the content of the .pth be correct in any case?17:15
sergiusensSamYaple we need some code that would normalize it17:15
modprobe_Is there an easy way to include packages from a PPA in my snap? I'm trying to package an app which deps Qt 5.717:17
SamYaplesergiusens: i dont understand the question17:18
sergiusensSamYaple hmm, I fail to see why we filter those out now17:21
sergiusensSamYaple disregard me, I entered firefighting mode since I woke up today :-)17:22
* sergiusens skipped breakfast and lunch, and wondering if a late lunch would be a good idea17:22
SamYaplesergiusens: ok i responded in the github comment, but im going to submit a patch to remove that filtering and see if anyone complains17:25
SamYaplei really dont know why its filtered either17:25
sergiusensSamYaple please do17:27
sergiusensSamYaple oh, if possible in demos/snaps_tests it would be good to add a py package that maks use of pth files17:33
* qengho has trouble with first startup of published pi3 image. Four CPU fruits on black, timeout to black. Heartbeat light still blinks. numlock key toggles light! and ctrl-alt-delete reboots. Weird.17:34
SamYaplesergiusens: without digging around, dogpile.cache does. ill see about adding that17:35
qenghoOnly weird thing in text before starting kernel is "Unable to read uEnv.txt".17:35
ogra_slangasek, ok, seems live-build is the bad guy here and removes *.pyc on all our images at build time with the exception of ubuntu-server and ubuntu-cpc ... i wonder why nobody ever sumbled over this17:35
sergiusensogra_ slangasek I am so happy it is not snapcraft :-)17:36
SamYaplesergiusens: demos in the snapcore/snapcraft repo?17:37
ogra_slangasek, since quantal actually ...17:37
sergiusensSamYaple yeah, those get built AND their `apps/*/commands` run if specific to under snaps_tests as a real snap17:38
sergiusensSamYaple which wouldn't be the case if adding an integration test17:38
ogra_hmm, probably even longer ... cjwatson added the exception for ubuntu-server in quantal17:38
sergiusensSamYaple if it is too much trouble that's ok17:38
slangasekogra_: probably because before now, "not ubuntu-server and not ubuntu-cpc" meant desktop, and the desktop live images were used on x86, and the byte compile penalty wasn't enough there to notice17:39
SamYaplesergiusens: not to much trouble, just something new. ill look into it right now17:39
ogra_slangasek, well, but that could explain why armhf has always been slow :) we always insisted to use the official build tools for our images :)17:40
* slangasek chuckles17:40
mupPR snapcraft#822 opened: Don't filter .pth files in python plugin <Created by SamYaple> <https://github.com/snapcore/snapcraft/pull/822>17:40
slangasekogra_: will you make the change to live-build to fix this, then?17:40
ogra_slangasek, i'll just add ubuntu-core to the exception code in livecd-rootfs for now17:41
slangasekogra_: wfm17:41
sergiusensogra_ mind if I reply with a short summary to the list?17:41
qenghomodprobe__: No, there isn't.  Maybe add what you think it should look like in your yaml. https://bugs.launchpad.net/snapcraft/+bug/160467117:41
mupBug #1604671: snapcraft doesn't support arbitrary PPAs or apt sources <Snapcraft:New> <https://launchpad.net/bugs/1604671>17:41
ogra_but we should probably consider simply ripping out that bit completely17:41
ogra_slangasek, sure, go ahead, though i first want to see if that actually improves much :)17:42
ogra_before i make a statement myself17:42
sergiusensogra_ oh, people say pyc is needed for this to improve, let's get them those pycs ;-)17:42
ogra_sergiusens, yeah, there i'm not even a size-nazi  :P17:43
sergiusensogra_ riiiiight17:43
sergiusensogra_ also, check telegram ;-)17:44
sergiusensogra_ there is a treat for you17:44
ogra_LOL17:44
ogra_ohmy !17:44
ogra_thats an oooold pic17:44
sergiusenssnappy fixed it ;-)17:44
ogra_not yet :)17:45
ogra_oh man , i look so slim ...17:45
zygaogra_: snaps make everything ... compressed ;-)17:47
ogra_ hahaha17:47
modprobe__qengho: Thanks, I've done that. :)17:57
mupPR snapd#1981 opened: tests: add a test for core about device initialization and device registration and auth <Created by pedronis> <https://github.com/snapcore/snapd/pull/1981>18:01
qenghoI'm filing image bugs in snappy/snapd bug tracker. Hope that's okay.18:35
ogra_well, filing them on the project is desired ...18:35
ogra_(see topic)18:35
ogra_dont file them against snapd though ... unless it is actually a snapd prob18:36
mupPR snapd#1971 closed: interfaces/builtin: add rcvfrom for client connected plugs to mir interface <Created by kgunnfront> <Merged by jdstrand> <https://github.com/snapcore/snapd/pull/1971>18:44
dobeyogra_: unless it's a problem in the app itself, isn't it always a snapd problem? i thought that was the whole point of snapd and forcing everything to go through it19:02
ogra_well, a snappy image consiste of a lot more than snapd .. running a snap on a classic system uses snap-confine, ubuntu-core-launcher etc etc19:03
ogra_*consists19:03
kyrofadobey, if it's image-related though, it could be ubuntu-image or a number of other things19:03
ogra_and even on classic it can be a lot more19:03
kyrofaDefinitely19:03
kyrofaThere are a lot of pieces associated with snaps beyond just snapd19:04
ogra_that is why we have the snappy project as catch-all bugtracker ...19:04
mupPR snapd#1956 closed: many: show snap name before the download progress bar <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/1956>19:10
pmcgowanogra_, hey, cant get my dragonboard to boot of the sd I made, will it work with a 2GB card?19:20
mupPR snapcraft#821 closed: Make copies of remote parts to avoid ordering issues <Created by sergiusens> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/821>19:22
ogra_pmcgowan, i havent tried, but at least the dailies should not be to big for a 2G card19:30
ogra_(the smallest i have ever tested was 4G)19:31
pmcgowanogra_, it errored when it reached the end of the card, when I insert it and boot I get the default android on mmc19:32
pmcgowanI did change the dip switch to sd19:33
ogra_pmcgowan, ah, well, the beta images are 3.8G ... they wont fit19:33
pmcgowanoh19:33
ogra_http://people.canonical.com/~ogra/snappy/all-snaps/daily/current/19:33
ogra_grab one from there19:33
ogra_thats 300MB19:33
ogra_(uncompressed)19:33
pmcgowangreat thanks will try it19:34
pmcgowanogra_, btw whats the difference in the images besides the size19:41
pmcgowanor is this just new and improved19:41
mupPR snapcraft#823 opened: plainbox-provider plugin: rewrite python shebangs <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/823>19:43
sergiusensSamYaple any luck with the test?19:44
ogra_pmcgowan, mine are untested daily builds from the edge channel (latest stuff and latest breakage) ... the cdimage ones are tested beta images19:45
pmcgowanogra_, will beta images get smaller? or do I need to buy a card19:46
ogra_both ? :)19:46
pmcgowanheh19:46
ogra_i'm using ubuntu-image trunk whihc builds images only as big as their content19:46
ogra_once trunk is released the beta ones will also be small19:47
pmcgowangot it thanks19:47
mupPR snapd#1981 closed: tests: add a test for core about device initialization and device registration and auth <Created by pedronis> <Merged by pedronis> <https://github.com/snapcore/snapd/pull/1981>19:49
sergiusensmhall119 I can do one hour after or one hour before19:58
=== drizztbsd is now known as timothy
zygajdstrand: hey20:05
=== drizztbsd is now known as timothy
zygajdstrand: I wrote a small branch for snap-confine that I plan to cherry-pick into the release20:06
zygajdstrand: https://github.com/snapcore/snap-confine/pull/15120:06
mupPR snap-confine#151: Make snap-discard-ns fail gracefully <Created by zyga> <https://github.com/snapcore/snap-confine/pull/151>20:06
ogra_slangasek, http://paste.ubuntu.com/23217393/ ... not much improvement20:14
ogra_(and it wastes 5MB on the image)20:14
slangasekogra_: strace itself is doing a lot of I/O, I'd be more interested in 'time console-conf --help' + strace output :)20:14
slangasekogra_: is that 5MB of .snap size or within the filesystem?20:15
slangasekanyway20:15
ogra_the core snap got 5MB bigger20:15
slangasekstrace output please, so we can see what it's spending time on now that it's *not* spending it on byte compilation20:15
ogra_(which is = filesystem size in our case)20:16
ogra_slangasek, http://paste.ubuntu.com/23217404/20:17
slangasekta!20:17
ogra_without strace the time output varies ...20:17
ogra_between 12 and 5 secs20:17
ogra_thats is noticeable better ...20:18
ogra_i'll do a full install run with tomorrows image ... curious how that will turn out now20:18
slangasekindeed20:19
ogra_also interesting that it looks for the en_* locales ... the suystem has C.UTF-8 hardcoded20:21
slangasekhuh20:21
slangasekogra_: how's the entropy on the bbb?20:22
ogra_oh ... LANGUAGE is actually unset20:22
slangasekI notice the getrandom() in there20:22
ogra_plain SW iirc20:22
ogra_hmm, probably i'm wrong20:24
ogra_ogra@bbb:~$ lsmod|grep rng20:24
ogra_omap_rng               16384  020:24
slangasekogra_: also it looks like we're missing .pyc for subiquity itself, and that will be a packaging bug on our side:      0.001296 stat64("/usr/share/subiquity/subiquitycore/ui/__pycache__", 0xbeecbe10) = -1 ENOENT (No such file or directory) <0.000174>20:24
slangasekcyphermox, mwhudson: ^^20:24
slangaseknot sure if that's enough files to matter20:25
* ogra_ vanishes into the night20:35
SamYaplesergiusens: im still going on it, got other work pulling me away at the moment20:41
cyphermoxslangasek: interesting, but I'm not overly surprised, I had all kinds of issues with packaging this20:50
zygaslangasek: hmm21:08
zygaslangasek: is that confined?21:08
zygaslangasek: AFAIR there's a silent deny rule for __pycache__ in apparmor somewhere21:08
zygaslangasek: (in the base template)21:08
slangasekzyga: this was a problem of files actually missing from the image21:08
zygaslangasek: ah, I see21:08
slangasekand if they're there, no denial21:08
zygajdstrand: updated https://github.com/snapcore/snap-confine/pull/151 as requested21:20
mupPR snap-confine#151: Make snap-discard-ns fail gracefully <Created by zyga> <https://github.com/snapcore/snap-confine/pull/151>21:20
mupPR snapd#1982 opened: tests: disable broken create-key test <Created by niemeyer> <https://github.com/snapcore/snapd/pull/1982>21:20
mupPR snapd#1968 closed: interfaces: adjust bluetooth-control to allow getsockopt (LP: #1613572) <Created by jdstrand> <Merged by zyga> <https://github.com/snapcore/snapd/pull/1968>21:28
mwhudsonslangasek: subiquity missing .pycs is not in the same league as missing them for the stdlib, i'd hazard21:41
zygawoah21:42
zyga"python slow"21:42
zygagentoo level21:42
mwhudsonheh funroll-loops.info seems to have died22:19
mupPR snapd#1982 closed: tests: disable broken create-key test <Created by niemeyer> <Merged by kyrofa> <https://github.com/snapcore/snapd/pull/1982>23:23

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