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

=== JoshStrobl is now known as JoshStrobl|zzz
=== akash_ is now known as akash
=== clemensv__ is now known as clemensv
=== psftw_ is now known as psftw
=== DedSec__ is now known as DedSec_
mupBug #1721676 opened: implement errno action logging in seccomp for strict mode with snaps  <Snappy:In Progress by tyhicks> <linux (Ubuntu):Fix Released by tyhicks> <linux (Ubuntu02:18
mupXenial):In Progress by tyhicks> <linux (Ubuntu Zesty):In Progress by tyhicks> <linux (Ubuntu Artful):Fix Released by tyhicks> <https://launchpad.net/bugs/1721676>02:18
mupPR snapcraft#1585 closed: lxd: pass SNAPCRAFT_PARTS_URI through into container <bug> <Created by kalikiana> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/1585>02:24
mupPR snapd#4009 opened: tests: adding test for network-manager interface <Created by sergiocazzolato> <https://github.com/snapcore/snapd/pull/4009>02:45
mupPR snapcraft#1593 opened: catkin tools plugin: add catkin tools support <Created by cratliff> <https://github.com/snapcore/snapcraft/pull/1593>03:39
zyga-fedorao/06:43
zyga-fedoratests are sad today06:43
zyga-fedoratravis has some issues06:43
kalikianao/07:12
zyga-fedorahey kalikiana07:15
mupPR snapcraft#1484 closed: lxd: configure user in container <Created by kalikiana> <Closed by kalikiana> <https://github.com/snapcore/snapcraft/pull/1484>07:24
mupPR snapd#4010 opened: tests: do not use http://canihazip.com/ which appears to be down <Created by mvo5> <https://github.com/snapcore/snapd/pull/4010>07:30
ackkhi, I'm getting these errors when running snapd tests in master: http://paste.ubuntu.com/25684549/07:39
ackkthey take a long time to run and eventually hang07:39
__chip__ackk: you're needing some dependencies08:03
__chip__ackk: what system are you running the tests on?08:03
__chip__what distro i mean08:03
ackk__chip__, yakkety08:03
__chip__ackk: sudo apt build-dep ./08:03
ackk__chip__, thanks08:04
__chip__ackk: and ./run-checks might be more helpful than running go test by hand08:04
__chip__ackk: OTOH running go test by hand you can add a "-timeout 15s" :-)08:05
__chip__(go test's default timeout is 10 minutes i think?)08:05
__chip__ackk: that unit test is failing because KB vs KiB -- means you're using a different version of chegggaa's progress bar lib, there (but run-checks should sort that out for you08:07
mupPR snapd#4010 closed: tests: do not use http://canihazip.com/ which appears to be down <Created by mvo5> <Merged by zyga> <https://github.com/snapcore/snapd/pull/4010>08:12
ackk__chip__, thanks, running now08:13
__chip__ackk: run-checks will set the right gopath, then use govendor to get the right libs in place, etc08:13
__chip__via get-deps08:14
__chip__ackk: also it'll run some static checks08:14
ackkyeah, some shellcheck is failing here08:14
ackkmight be the different shellcheck version08:14
ackk__chip__, do you guys run it on xenial usually?08:14
__chip__ackk: your shellcheck is probably too old08:15
__chip__ackk: yes, xenial, but with shellcheck from zesty at least08:15
__chip__ackk: you can't just install the one from zesty, but you can rebuild the zesty one for yakkety)08:16
__chip__ackk: or, you can remove it and it won't complain -- it'll only run shellcheck if available08:16
ackkyeah I disabled the check08:18
ackktests are running now08:18
ackk__chip__, passed! thanks08:19
__chip__ackk: does the older shellcheck have a -V option?08:19
ackkyes08:20
ackk0.4.4 fwiw08:20
__chip__ackk: the deeper tests are run via spread, for which you'll need that and kvm08:20
__chip__ackk: hey, i've got 0.4.4 and last i checked they passed08:20
__chip__so maybe something snuck in08:20
__chip__i'll take a look08:20
__chip__ackk: 0.4.4 _should_ work (so i was wrong and it's the one from Y not Z that we use)08:20
__chip__ackk: WRT the spread tests, https://github.com/snapcore/snapd/blob/master/HACKING.md#running-the-spread-tests08:22
__chip__one thing it doesn't say is that that .spread directory is in from ~08:22
ackk__chip__, http://paste.ubuntu.com/25684673/08:22
__chip__gah08:23
__chip__ok, i'll fix08:23
ackkcheers08:23
ackkcool, tests pass in my branch too now :)08:25
zyga-fedoramvo: quiet day, how are you10:48
mvohey zyga-fedora10:49
mvozyga-fedora: I'm feeling a bit so-so, maybe getting a cold or something. looks quiet indeed10:49
ogra_mvo, i saw you answered on the DHCP thread, did you get any info out of your tests ?10:49
mvoogra_: I can reproduce it reliable using a similar setup as the report but thats all I did so far. I10:50
mvoogra_: I bet its possible to reproduce with classic as well but I have not spend time on that10:50
mvoogra_: did you find anything out? it bothers me a great deal10:51
ogra_yeah, i bet it is systemd-networkd and it simply isnt seen elsewhere because we only use it in core in xenial10:51
ogra_mvo, not really, which is why i was hoping xnox could give some hints what to look for ...10:52
ogra_(but he didnt like to :P )10:52
mvoogra_: right, it seems like hte issue is in a bit of a limbo10:53
xnoxogra_, i've requested steps to reproduce, logs, and /run state - i got nothing back in return. Also my work pipeline is full of customer work, and if you have things to escalate to foundations, it should be done via salesforce as it is done for all the other customer work.10:55
xnoxogra_, networkd is used on xenial on some cloud images in production10:55
xnoxbut cloud images typically have stable/non-changing dhcp10:55
ogra_xnox, well, customer or not ... it is an issue for eveyone (just that others dont use core in a way that triggers this bug)10:56
ogra_i dont see why a serious bug is any different if a customer reports it, a bug is a bug is a bug ;)10:57
jamespageo/11:00
jamespageany chance on the track setup detailed under https://forum.snapcraft.io/t/track-request-for-openstack-projects/2377 for the gnocchi snap - I'm working on testing that atm and installing from the default track is awkward for my charm11:00
ogra_100% sure, but i think it needs three)11:02
ogra_argh11:03
ogra_jamespage, i think that needs a third +1 first (not 100% sure, but i think it needs three)11:03
jamespageogra_: ack - anyone around who can do a third +1 ?11:03
=== JoshStrobl|zzz is now known as JoshStrobl
xnoxogra_, sure a bug is a bug.... but i have 4 srus of systemd in progress, all of which fix critical bugs for $cloud $another_cloud $this_person $that_person =)11:13
xnoxogra_, and this dhcp issue is incomplete, as i'm yet to receive "steps to reproduce, logs, /run state" as requested a few days back. Do you have that for me?11:13
ogra_did you ask for that in the bug ?11:14
xnoxwithout that, there is nothing i, or anybody on my team, can do, to start picking that bug up11:14
* ogra_ checks 11:14
xnoxogra_, i've asked that _from you_ when you first pinged me about it11:14
xnoxogra_, and again mvo11:14
xnoxogra_, harrasing customer around is not a good idea.11:14
ogra_no, you asked me to please turn the forum thread into a bug report11:14
ogra_which i asked the OP to do (and he did)11:14
xnoxogra_, but then it somehow escalated with multiple people pinging me and my manager.11:15
xnoxogra_, are you aware of the process for UA customers? and the use of salesforce?11:15
ogra_xnox, well, NCuralli pinged here first but got no reaction11:15
ogra_xnox, i dont care about customers if such a bug shows up, it is a serious issue no matter who was the original reporter11:16
ogra_xnox, if it is a customer request i would expect it to go through the dedicated business coontacts ... but this is a generic bug in one of your products and was generically reported11:18
xnoxogra_, i understand that. but my time is limited and it is prioritised within the work my team commits to fix.11:18
xnoxogra_, we do not drop everything on the floor and fix your issue.11:18
ogra_i dont expect that ...11:18
ogra_but after being asked to turn it into a proper bug report a one line comment on the bug that it was recognized would have been nice ... completely independent from any processes just by common sense11:20
xnoxogra_, for whatever reasons there were multiple people, managers and tams pressuring and pinging my manager to somehow escalate this particular issue11:20
xnoxogra_, i'm concerned why that has happened. have you been talking to anybody about this particular issue? somehow it was artficially inflated.11:20
NCuralli@ogra @xnox what could I make for you?11:25
nothalNCuralli: No such command!11:25
NCuralliogra_  xnox what could I make for yours?11:26
ogra_NCuralli, xnox wants "steps to reproduce, logs, and /run state" (quoting from above) ... but prhaps mvo can give that tooo since he can reproduce11:29
xnoxNCuralli, i am interested to see the journal and copies of /run/systemd/netif/ directory between all the leases are obtained/changed. as that directory has serialised state of lease files.11:31
xnoxNCuralli, comparing that, with logs, and server side leases logs - we can establish where things go wrong in terms of lease renewals and changes.11:31
mupPR snapcraft#1554 closed: store: handle revoked developers <enhancement> <Created by sergiusens> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/1554>11:31
NCuralliogra can mvo take care of xnox requests?11:36
NCuralliogra_ can mvo take care of xnox requests?11:36
NCuralliogra_ if mvo can not. I can take of xnox requests11:37
mvoNCuralli, xnox let me check, I can provide most, I'm not sure about /run/systemd/netif iirc that was not showing up on my pi2 but let me double check (it did show up in my x86 vm)11:37
NCurallimvo if you need something ping me11:39
xnoxmvo, it should if you are using networkd, if the device is using networkmanager it would not.11:40
xnoxmvo, i don't know which devices are affected.11:40
ogra_xnox, all11:40
ogra_xnox, and by default core uses netplan with networkd only ... no other method preinstalled11:40
xnoxmvo, and for networkmanager case it matters if isc-dhcp is installed or not; as networkmanager can either use isc-dhclient or use networkd's dhcp lease.11:40
xnoxogra_, that is not true =)))))) as i am aware of several core devices shipping with netowkrmanager backend11:41
xnoxof netplan11:41
ogra_xnox, well, i'm tallking about all our referenced images11:41
ogra_there are some customer setups using NM alongside, yes11:41
xnoxogra_, i am talking about the particular bug in question, have you reproduced it on the reference images yet and can provide logs?11:42
ogra_but they are custiom things ...11:42
ogra_xnox, not me, but michael11:42
ogra_xnox, and NCuralli too11:42
ogra_(also the bug description is pretty clear "we use the default network stack based on networkd + netplan." )11:43
zyga-fedorawooooooooooot12:40
zyga-fedoraman12:40
zyga-fedoraI'm  terrible12:40
zyga-fedora:)12:40
zyga-fedorabut I fixed it12:40
__chip__zyga-fedora: what did you woot fix?12:56
zyga-fedorajust small part of code I was working on13:08
zyga-fedorait's working now13:08
* zyga-fedora -> lunch13:49
wdouglassi'm trying to build a snap package using the snapcraft docker image under debian. When i run 'snapcraft', i get 404 not found for linux-libc-dev libdns-export, and libins-export. i've  tried doing 'apt-get update' in my docker container, what else should i try?14:06
ogra_where do these requirements come from ? your snapcraft.yaml ?14:08
wdouglassi guess python may need them? the package i'm building is a python program that uses the 'python2' build plugin14:09
ogra_(the latter lib doesnt exist at all in ubuntu, libdns-export has a versioned package name ... )14:09
wdouglasssorry, it's libdns-export16214:09
ogra_linux-libc-dev should simply be there14:09
ogra_and your docker container runs xenial ?14:10
ogra_(16.04)14:10
wdouglassyeah, snapcore/snapcraft, distributed by the snapcraft.io tutorial14:10
* ogra_ always only uses lxd ... so hard to tell whats wrong there ... theoretically it should work i guess 14:11
ogra_kalikiana, ^^^ any idea ?14:11
wdouglasshmmm. i guess i could try lxd, i'll bang my head against docker a bit more first14:11
kalikianawdouglass: does your container have ip4 networking? Somewhat random guess perhaps, but last week I was looking at an aws container that only had ip6 configured and some package downloads failed because of it14:16
wdouglassoh that's interesting, i'll look into that14:17
__chip__kyrofa: ping14:28
ppisati_ogra_: i guess you don't rebuild the LK bootloader in the dragonboard gadget, i mean, you reuse the binaries shipped by linaro14:32
__chip__kyrofa: I read something about you being saddened by having to use --prefix=/snap/yadda/current because it limited cross-distro portability -- but the snap you were talking about is strict, meaning that it doesn't14:35
__chip__kyrofa: because a strict snap always sees itself installed under /snap/14:35
wdouglasskalikiana: i needed to run apt update in my container, that was the problem. thanks to you and ogra_ for your help!14:36
ogra_ppisati_, i think one of ondra's recent changes actually started building two lk's  (one for mmc and one for sd) from source14:55
ondraogra_ ppisati_ no lk is taken from code there, as we do not need to rebuild or modify14:56
ondraogra_ ppisati_ though I have somewhere code to build it from code as well if needed14:57
ondraso if there is interest I can test it and push it as well14:57
ondraogra_ I did pull request with fix, since I got one extra dragoboard I could test on14:57
ogra_ondra, cool, i'll try to get to it before EOD14:58
ppisati_the patches to modify the bt address require a new property in the dtb, if that property is not present, the driver fails to initialize14:58
ondrappisati_ dtb is fine, that lives in kernel snap14:59
ppisati_so, before i commit this stuff, i need a new LK bootloader, else i break the bt on the dragonboard14:59
ondrappisati_ there shouldn't be need to rebuild lk for that14:59
ondrappisati_ new lk for changed dtb?14:59
ppisati_https://git.linaro.org/landing-teams/working/qualcomm/lk.git/commit/?h=release/LA.BR.1.2.7-03810-8x16.0&id=372982a4d4c4922e9214ff7d6aa5348aaba602a714:59
ppisati_yes, it requires this patch15:00
ppisati_and they havent' built a release since this stuff was committed15:00
=== longsleep_ is now known as longsleep
ondrappisati_ right15:02
ondrappisati_ so if needed we can update gadget and start building it15:02
ondrappisati_ shall I spin for you gadget with patch in the mean time?15:02
ogra_ppisati_, just compile it yourself and dd the resulting binary to  part 715:03
ogra_(for testing at least)15:04
ogra_lk lives in the "aboot" partition usually15:04
ppisati_ogra_: testing is already done, what i'm saying is "do you want to rebuild the gadget snap with that patch, or shall we wait for linaro to do another release, you pick the binaries and then i commit my stuff?"15:20
ppisati_ondra: ^15:20
kyrofa__chip__, interesting, even on fedora?15:22
__chip__kyrofa: _inside_ the snap, yes, everywhere15:22
__chip__kyrofa: of course it's still not ideal because it would break on rename15:23
kyrofaIndeed, but that's an improvement, certainly15:23
__chip__kyrofa: (you can test this with 'snap run --shell snap.app' on a fedora vm15:23
__chip__)15:23
__chip__kyrofa: devmode snaps also15:24
__chip__kyrofa: just classic is weird and different and terrible and sad15:24
kyrofa__chip__, amen15:24
ondrappisati_ we can then just update with new version15:48
ondrappisati_ if you are inpatient, we can start building it from source15:48
ondrappisati_ up to you, I can prepare the change15:49
ogra_ondra, well, there are customers that want to use BT with a proper MAC ... sho we should probably add the lk build to the gadget15:53
ogra_but thats something for next week IMHO15:53
ogra_ondra, thanks btw ... it didnt strike me that the magic number error was about the FIT format ...15:54
ppisati_ogra_: k, no rush15:56
ppisati_ondra: ^15:56
ondraogra_ yeah I missed that communication and when I was reading it today, I realised I only shared gadget snapd, but not kernel snap. So my bad15:57
ondrappisati_ ogra_ I'm sprinting next week, but if jet lag hits me I might as well prepare it :)15:58
ppisati_ondra: np16:01
__chip__mvo: dunno if you noticed but i pushed tests to the ansimeter pr16:09
__chip__mvo: an' they're all green and lovely-like16:09
elopiostgraber: is it possible now to use the lxd snap without sudo? Just the lxd group?16:15
stgraberelopio: it is16:21
* elopio tries in a clean machine. It doesn't work on mine, but mine is always crazy.16:29
elopionessita or cprov or somebody: can you please remind me the URL with the docs for store api errors?16:33
kyrofazyga-fedora, snapd is out of date on arch. Any idea who I poke about that?16:46
kyrofaLooks like it's been flagged, but it's considered an orphan package16:48
kyrofaelopio, curious what you think about https://github.com/snapcore/snapcraft/pull/1583#issuecomment-33462030716:52
mupPR snapcraft#1583: ament plugin: new plugin <Created by kyrofa> <https://github.com/snapcore/snapcraft/pull/1583>16:52
zyga-fedorakyrofa: hey16:55
zyga-fedorakyrofa: we know, we are working on resolving this16:55
zyga-fedorakyrofa: for now we are trying to get a person with commit access16:55
kyrofazyga-fedora, very good, thank you :)16:58
* __chip__ ~> EOW17:01
kalikianaelopio: leaving now, will be idling later, feel free to ping  in case I'm needed17:16
mvoChipaca: I have not noticed, I was digging into this ipv4 problem17:28
=== JanC_ is now known as JanC
=== ShalokShalom_ is now known as ShalokShalom
cprovelopio: https://dashboard.snapcraft.io/docs/18:42
elopiothanks cprov18:43
=== JanC is now known as Guest38427
=== JanC_ is now known as JanC
wdouglasshey, i'm trying to package a python program, which works fine on my machine. For some reason in my snap, it can't import numpy.core.multiarray19:03
wdouglassi've got 'python-numpy' in my stage-packages list19:03
wdouglasswhat else should I be looking at?19:04
naccwdouglass: is your app python2 or python3?19:11
wdouglasspython219:11
naccwdouglass: snapcraft.yaml link?19:11
wdouglasshold on...i'll paste it up19:11
wdouglasshttps://pastebin.com/xuc9fZfb19:12
naccwdouglass: i would suggest dropping into your snap's shell (snap run --shell <app>) and then taking a look around19:13
naccwdouglass: specifically, at that point, run the interpreter and see what sys.path is pointing at19:13
naccwdouglass: and perhaps see if the numpy modules showed up19:14
wdouglasssounds like a good idea! this is my first day using snappy... thanks for the direction!19:14
naccwdouglass: np, gl19:15
wdouglasshmmm...python2 isn't installed. I thought it would be an automatic dependancy becuase 'python-version: python2', but apparrently not. there's the problem. thanks again nacc19:15
naccwdouglass: hrm, it's not in your snap at all? it might be in the core snap19:16
wdouglasscan't get to it from the shell....just python219:16
wdouglassi mean just python319:16
naccwdouglass: that's odd (to me)19:17
wdouglassyerp, adding python2.7 as a stage-package fixed it. thanks again19:21
naccwdouglass: interesting, that feels sort of like a bug19:28
wdouglassyeah, seems like that should be in core19:28
naccwdouglass: or definitely already there if you installed with the python2 plugin19:29
naccwdouglass: is 'python' available?19:29
wdouglassnow that i added 'python2.7' as a stage-package it is, but not by default with the python2 plugin19:30
naccwdouglass: hrm ok19:30
zyga-fedorajdstrand: hey19:38
zyga-fedorajdstrand: I saw your feedback on 400819:38
=== Eleventh_Doctor is now known as Pharaoh_Atem
zyga-fedorajdstrand: do you want me to freeze them for the update process then?19:38
zyga-fedorajdstrand: or what else should we do?19:38
zyga-fedorajdstrand: I'm trying to make a roadmap in landable chunks19:38
wdouglassdoes stage-packages include dependancies?19:45
wdouglassor do i have to list them all manually?19:46
kyrofawdouglass, dependencies of the stage-packages are included19:47
wdouglassthanks kyrofa19:48
jdstrandzyga-fedora: not in 4008. yes in the PR when you perform the mount20:06
mupPR core#60 opened: Fix handling of secondary addresses <Created by mvo5> <https://github.com/snapcore/core/pull/60>20:18
mvoogra_, zyga-fedora (or anyone interessted). if you are still around I would appreciate a review for the above -^20:18
kyleNI'm trying a build a pi3 image -  it fails with "error: cannot find snap "pi2-kernel": snap not found". This used to work on amd64 laptop and on pi3 itself. Now, neither. Is this a known issue, or has someting changed?20:32
kyleNon pi3, "snap find pi2-kernel" does find it, but still image build fails with that message20:33
naccsergiusens: classic snap, that is calling gpg. gpg on Artful fails (possibly elsewhere) because it is linked against libreadline6, which may or may not exist on the host21:00
naccsergiusens: http://paste.ubuntu.com/25688146/21:01
naccsergiusens: i'm not sure if i need to somehow exec into the core snap so taht works, but someone is reporting affecting them from running within the classic snap21:01
nacckyrofa: --^ or is that nother case of, if on classic, i really need to build gpg as well?21:02
naccseems like a real pain that a classic snap can't rely on using anything from the core snap, if so21:05

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