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

kyrofasergiusens, snapcraft#1717 armhf had network problems during one of the ROS tests... so that won't tell us anything. Waiting on arm6400:09
mupPR snapcraft#1717: catkin plugin: check for pip packages in part only <Created by kyrofa> <https://github.com/snapcore/snapcraft/pull/1717>00:09
* ikey is doing his last clean local builds ready for upload :300:41
ikeyso uhm01:03
ikeyPushing solus-runtime-gaming_0.0.0_amd64.snap [===========================] 100%01:03
ikey[1]    9686 segmentation fault  snapcraft push solus-runtime-gaming_0.0.0_amd64.snap01:03
ikeyidk what happened01:03
ikeyprocessing went kersplat01:03
ikeyand i believe thats because it never expected to need a manual review01:04
sergiusensikey it is python, I don't expect a segmentation fault but a traceback instead01:04
ikeypython is special01:04
sergiusensthis is much worse of a thing to track down I fear01:04
ikeyyeah01:05
sergiusensI will look into it01:05
ikeyso who manually reviews snaps? :D01:05
sergiusensikey among them is jdstrand01:05
ikeyoh ok01:05
ikeymy assumption is i can't actually upload my lsi snap until the base snap is in as it depends on it01:06
sergiusensikey so the one that failed to push is the one with a base decl?01:10
ikeyyeah01:10
ikey(NEEDS REVIEW) type 'base' not allowed lint-snap-v2_snap_type_redflag01:10
ikey 0 Warnings01:10
ikey 22 Passes01:10
sergiusenskyrofa the arm64 test might take for ever and ever01:11
ikeyfull error: https://hastebin.com/raw/vayobosulu01:11
ikeysetuid binaries won't be usable inside there anyway01:11
ikeyit also dislikes symlinks :p01:11
=== JoshStrobl is now known as JoshStrobl|zzz
* ikey will nuke them for the next build to clean it up01:14
ikeywtf i cant use bin in my snap01:23
ikeybin/linux-steam-integration.exec glxgears does not exist lint-snap-v2_command (glxgears)01:29
ikeyok the review system is dumb.01:29
ikeylike clinically stupid01:30
ikey    command: bin/linux-steam-integration.exec linux-steam-integration.settings01:31
ikeyit won't accept that01:31
* ikey is unable to upload snaps at all, woo.01:33
* ikey made a workaround ^^01:54
sergiusensikey we in snapcraft wrap those in scripts01:55
sergiusensthe `command`01:55
ikeyyeah i just made it do the same01:55
ikeyhttps://github.com/solus-project/runtime-snaps/commit/3cdf7f2d9f06187a76e26465551f470561be3de201:55
ikey"tada"01:55
sergiusensI don't think that review tool is geared toward reviewing base snaps01:55
ikeyoh that rejection was for LSI itself01:56
ikeyive now got LSI actually uploaded and accepted01:56
ikeybut yeah it hates base snaps and forbids them01:56
ikeyso the solus-runtime-gaming is still pending01:56
ikeyive cleaned up my base runtime for those other errors so im actually going to abandon the initial review and upload the cleaner guy01:57
* ikey is totally OCD01:57
ikeythere, rejected01:57
* ikey builds the new clean guy01:58
sergiusenskyrofa your arm64 adt run started!01:58
mupPR snapcraft#1736 closed: recording: pass the build info flag to the container <Created by elopio> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/1736>01:58
kyrofasergiusens, yeah you're right... still waiting on that :(01:58
kyrofaOh! Haha01:58
kyrofaWell that's good. Another four hours...01:58
sergiusenskyrofa I am going to go to bed though or I will be toast tomorrow01:59
kyrofasergiusens, yeah not worth it01:59
kyrofaWe'll pick it up again in the morning. Almost there01:59
sergiusenskyrofa I might wake up super early though01:59
sergiusensI forgot I need to prepare my presentation for pyconar this weekend too02:00
sergiusensoh, and Monday is a holiday02:00
sergiusensso many things to do, so little time02:00
kyrofaYeah I hear you!02:00
kyrofasergiusens, sleep well, talk tomorrow :)02:00
ikeyo wat dashboard has download stats02:00
ikeyi bet i could build a tiny bit of machinery for these lsi bits and have it automate a lot of stuff like the wrappers snapcraft style..02:02
* ikey creates more work for himself02:03
ikeyok linux-steam-integration rev3 is on edge now02:08
ikeydevmode02:08
mupPR snapcraft#1732 closed: tests: dotnet only works on 16.04 <Created by sergiusens> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/1732>02:13
sergiusenskyrofa I think you looked at the execution location incorrectly snapcraft#1717 armhf -> https://pastebin.ubuntu.com/25964709/ this might be a thing for elopio02:14
mupPR snapcraft#1717: catkin plugin: check for pip packages in part only <Created by kyrofa> <https://github.com/snapcore/snapcraft/pull/1717>02:14
=== chihchun_afk is now known as chihchun
ikeyi fixed the remaining issues with the solus-runtime-gaming, has 0 warnings now02:34
ikeyjust 1 error02:34
ikeyits a base snap02:34
ikeyand it requested review by itself02:34
elopiokyrofa: sergiusens: found it: https://github.com/snapcore/snapcraft/pull/1717/commits/b1768cc851adc1c94e08a063b2479269805a458003:31
mupPR snapcraft#1717: catkin plugin: check for pip packages in part only <Created by kyrofa> <https://github.com/snapcore/snapcraft/pull/1717>03:31
elopiosnappy-m-o autopkgtest 1717 xenial:armhf xenial:arm6403:31
snappy-m-oelopio: I've just triggered your test.03:31
kyrofasergiusens, elopio nooooooooooooo04:00
kyrofasergiusens, I didn't scroll back that far, just saw some errors in the middle of catkin tests04:01
kyrofaWell, should be done by morning-ish anyway04:02
kyrofaelopio, thanks for pushing a fix :)04:02
=== JanC_ is now known as JanC
=== JanC is now known as Guest70158
=== JanC_ is now known as JanC
=== JanC is now known as Guest67213
=== JanC__ is now known as JanC
=== JanC__ is now known as JanC
elopiosnappy-m-o autopkgtest 1717 xenial:armhf xenial:arm6405:00
snappy-m-oelopio: I've just triggered your test.05:00
elopiosnappy-m-o autopkgtest 1717 xenial:arm6406:41
snappy-m-oelopio: I've just triggered your test.06:41
zygao/06:46
zygamvo: hey, good morning; I'm just waking up here, any fires related to debian image update?07:04
mvozyga: good morning. all quiet on the debian image07:07
mvozyga: at least afaict, not many PRs since last night it seems07:07
mvozyga: but at least some from jamie that did succeed07:08
zygainteresting07:08
zygaI'll boot sid and see if anything was reverted07:08
zygalast night cachio helped me refresh the image so in theory we should be running apparmor now07:09
kalikianamoin moin07:09
mvozyga: cool07:10
mvozyga: yeah, I have some 2.30 tasks and need to chase why 2.29 is not in stable yet07:10
zygamvo: any fires there or just unknown?07:11
mvozyga: I'm trying to find this out now07:12
mvozyga: looks like it was a test that was giving unexpected results but upon re-testing its all good and the original traces of the issue are no longer available (which is slightly sad)07:16
jibelhi, vlc from stable is no installable. I reported bug 1732359 in LP but I am not sure it's the right place.07:24
mupBug #1732359: installation snap vlc / stable fails with: ERROR open /snap/vlc/7/meta/gui/vlc.desktop: no such file or directory <amd64> <apport-bug> <bionic> <third-party-packages> <VLC media player:New> <snapd (Ubuntu):New> <https://launchpad.net/bugs/1732359>07:24
jibelnot* installable07:24
mvojibel: thanks, looking07:26
mvojibel: and good morning :)!07:26
mvojibel: I can reproduce, its a broken symlink in the snap07:27
jibelGood morning mvo07:30
jibelit's weird it reached stable and no one noticed it is not installable07:30
mvojibel: yeah, also it seems like stable->edge all have the same revision of vlc07:32
mvojibel: version says "daily"07:32
mvojibel: I guess we need to reach out to them and suggest to use "daily" for "edge" and not stable :)07:32
zygamvo: note the revision, 7, meaning it's not daily07:32
zygamvo: unless they count days at pluto frequency07:33
mvozyga: why not?07:33
mvozyga: maybe they just started 7 days ago, I have no insight into this07:33
zygamvo: it was "daily" and ~5 in heildenberg07:33
mvo(I honestly don't know when they started to publish it)07:33
zyga(sorry for spelling that wrong)07:33
mvozyga: uhhhh, ok. so daily for a day long ago07:33
zygait's just "not actively maintianed"07:33
mvo:(07:33
zygahmm, debian seems to be working07:50
zygaI'll check if we get the right image for real07:50
zygaeh :)08:01
zygamvo: so cachio or gustavo mixed up the two08:01
zygamvo: and "sid" and "stretch" are swapped08:01
mvozyga: heh08:02
mvozyga: ok, mystery solved08:02
zygamvo: hmm, actually, it's the same old image08:02
zygamvo: I changed sources.list in both08:02
zygawe are not on the new images yet08:02
zygaI guess I'll just talk to cachio later today08:02
Son_Gokuzyga: so I feel slightly proud of myself08:09
Son_GokuI delved into the world of ELF deps and didn't drown08:09
Son_GokuI didn't really like messing around with ELF data, though :/08:09
mwhudsontop elf tip: alias readelf='readelf --wide'08:10
Son_Gokumwhudson: oh if only it were that simple08:12
Son_GokuI was using libelf directly08:12
mwhudsonah08:12
mwhudsoni actually quite like go's debug/elf08:13
Son_Gokuit doesn't support reading all the attributes, but it's a nice API08:13
zygaSon_Goku: what are you trying to do?08:14
Son_Gokudo you really want to know?08:14
zygayes08:14
zygaI like elf and things like tat08:14
Son_Gokuhttps://github.com/rpm-software-management/rpm/pull/36008:14
mupPR rpm-software-management/rpm#360: elfdeps: Add full multiarch deps support <Created by Conan-Kudo> <https://github.com/rpm-software-management/rpm/pull/360>08:14
zygathat08:14
zygais rpm going multiarch?08:15
Son_Gokuwell, rpm is going to support it08:15
Son_Gokuit's up to distributions if they want to do a multiarch scheme of some kind08:16
Son_Gokuelfdeps is actually the only bit of rpm that wasn't multiarch-safe already08:17
Son_Gokuas it predates rpm's own multiarch support08:17
zygathank you for pushing that in your spare time :)08:19
Son_Gokuthe only thing I'm not sure about is if this handles x32 properly08:21
zygaSon_Goku: I played with x32 lately, I'm actually very fond of this idea08:22
zygaSon_Goku: object size is very compact and you have all the instructions and registers08:22
Son_GokuI don't know what it looks like from ELF08:22
zygaSon_Goku: for vast majority of my work x32 is sufficient08:22
zygaSon_Goku: in which sense?08:22
Son_Gokuoh interesting08:23
Son_Gokuit comes up as x86-3208:23
Son_Gokuthat's probably not good08:23
zygaI think it's called x32 more often08:23
zygabut naming and off by one and so on :)08:24
Son_Gokuso here's the interesting bit08:24
Son_Gokuit is elfclass3208:24
Son_Gokubut machine is x86_6408:24
zygaright, because that probably defines various pointer sizes and what not08:25
Son_Gokuright08:25
zygaand I also suspect nobody thought of this when elf was designed08:25
Son_GokuI think that's a pretty safe assumption08:25
zygaas people thought it would just grow and grow08:25
Son_Gokuoh god, this means I need to special-case this08:25
zygaofftopic, meld and gnome look really amazing08:25
sergiusenssnappy-m-o autopkgtest 1717 xenial:arm6408:37
snappy-m-osergiusens: I've just triggered your test.08:37
Son_Gokuzyga: and now I added handling for x3208:38
zygaSon_Goku: given that an average consumer PC has 4GB of ram or less, I'd love to see windows use x3208:39
Son_Gokunot going to happen08:39
zygaSon_Goku: so that linux folks with their 32GB machines would notice08:39
zygaSon_Goku: never say never08:39
Son_GokuI probably should add support for x32 to the regular elfdeps mode08:39
zygaSon_Goku: microsoft is quite a surprise source lately08:39
Son_Gokusince I am touching that code...08:39
zygaSon_Goku: and on that sense it would also make sense in arm phone world08:40
Son_Gokuthere, absolutely08:40
zygaSon_Goku: and by extension in iot08:40
zyga512MB board with 64bit CPU running in x32-like mode08:41
=== JanC is now known as Guest41818
zygabrb08:42
mupPR snapd#4204 closed: store: enable "base" field from the store <Created by mvo5> <Merged by pedronis> <https://github.com/snapcore/snapd/pull/4204>09:19
mwhudsoneh all phone cpus just implement aarch32 still don't they?09:31
mwhudsonit seems noone can quite decide if arm64ilp32 is worth it yet09:31
zygamwhudson: I think the trend is clear for aarch64 being used by most now09:31
mwhudsonzyga: i mean, 64-bit phone cpus implement the old arm 32-bit instruction set as well09:32
mwhudsonthere are server cpus that don't but they also have gobs of ram09:32
zygamwhudson: yes, that's true09:32
ikey:( my base snap is already outdated and needs redoing09:45
mupPR snapd#4219 opened: snap/validate: extend socket validation tests <Created by albertodonato> <https://github.com/snapcore/snapd/pull/4219>09:46
ackkjdstrand, hi, just saw your messages from yesterday, I pushed ^^ with the changes you requested since the branch was merged already09:48
=== __chip__ is now known as Chipaca
Chipacai've just logged on to not miss out on anything, but i've got to go off to the doc's for a 10:3009:54
Chipacaso i won't be around until ~midday, assuming they're on time09:54
mvoChipaca: good luck!09:59
=== JoshStrobl|zzz is now known as JoshStrobl
mupPR snapd#4210 closed: many: add magic /snap/README file <Created by zyga> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/4210>10:51
sergiusenssnappy-m-o autopkgtest 1717 xenial:arm6410:53
snappy-m-osergiusens: I've just triggered your test.10:53
imexilHi, I thought to look at the yaml file of the new "official" pulsemixer snap. Anyone can point me where to find it. There isn't any kinf of docker hub equivalent website for snaps, is there?10:53
mupPR snapd#4217 closed: interfaces/browser-support: add shm path for nwjs <Created by jdstrand> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/4217>10:54
mupPR snapcraft#1735 closed: unit tests: reset log level after test <Created by kyrofa> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/1735>10:54
mupPR snapd#4207 closed: Flesh out NVIDIA support for biarch and multiarch systems <Created by ikeydoherty> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/4207>10:57
sergiusenssnappy-m-o autopkgtest 1717 xenial:i38611:03
snappy-m-osergiusens: I've just triggered your test.11:03
kalikianahrm, asciicasting is harder than it looks, when you make stupid mistakes like leaving a folder around after the dry run11:11
pedronismvo: is master broken? I got a couple of emails about it, though recent merges seemed innocent enough11:12
mvopedronis: yeah, it was a prepare problem that looked like a fluke but I just got the second error mail, I'm looking now11:20
mupPR snapd#4220 opened: snapd: allow hooks to have slots <Created by stolowski> <https://github.com/snapcore/snapd/pull/4220>11:21
mvopedronis: it looks like the opensuse repo has a hickup, I will disable opensuse for the moment I think11:21
mvo4214 needs a second review - should be easy peasy11:36
zygamvo: done11:38
mvozyga: \o/11:41
mupPR snapd#4214 closed: fakestore: add go-flags to prepare for `new-snap-declaration` cmd <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/4214>11:41
mvopedronis: I am updating the roadmap right now, anything I need to add to 2.29 from your side except "make --ignore-validation sticky"? (I was looking for tags "pedronis" :)11:54
pedronismvo: for 2.29 that's it, and some improvement bits on that are in 2.3011:55
mvopedronis: thank you11:55
mvoa bit of a meta question, it would be nice to have a way to tag topics from upcoming to "done" (or done-2.29) this would make writing the roadmap much simpler11:56
mvo(or "done", "2.29")11:56
mvo"upcoming" "2.29"11:56
pedronisinteresting, I tend to put in topic  "this will be avaliable in 2.xx+"   when things have landed, but not easy to search on that11:57
pedronismvo: in theory we (Gustavo) put stuff in the roadmap topic that we know will come11:58
pedronisbut there's often more/smaller stuff too11:58
pedronisalso don't know how that process will change11:58
pedronismvo: I would be ok to have further tags personnaly11:58
pedronismvo: I think I wrote already that I fell we have too many things in upcoming and is a bit unclear what is really upcoming (next 2 releases or so)11:59
pedroniss/fell/feel/11:59
mvopedronis: yes12:00
mvoChipaca: silly question, do we have a forum topic describing the new ansimeter?12:00
kalikianasergiusens: I sent you my gist. also note the bug I just found... I'll make a PR for it asap12:06
pedronismvo: btw there is something weird with  roadmap topic links,  many don't work for me but if I retype the last bits they work12:12
mvopedronis: I have the same problem, when I click on them directly they give me an error but when I open them in a new tab thinks work as expected12:13
pedronismvo: wonder if it's the syntax or something about perms we don't understand12:17
mvoChipaca, zyga, pstolowski please double check if https://forum.snapcraft.io/t/the-snapd-roadmap/1973 for 2.29 and 2.30 reflects reality or if I forgot anything (cc niemeyer :)12:17
mvopedronis: yeah, worth raising during the standup I think, maybe gustavo knows (he knows the software best afaict)12:18
niemeyerpedronis: It's okay to have further tags.. the main concern (mine, at least) is always that when it gets too fiddly in general it gets forgotten over time12:20
niemeyerpedronis: As long as we can stick to it, more metadata is good12:21
niemeyerpedronis: As long as it's useful as well, obviousy12:21
niemeyer... and on that note, I really need to get driving or we won't get there today12:23
niemeyero/12:23
pedronisyea, I tend to be ok with process (within reason), but yes unclear we follow already current process12:23
niemeyerAh, last note, per forum note, if you have some headshot/upper body pictures you're comfortable with (core team), please send it along so I can build a nice slide for the talk12:24
pedronismvo: this is also 2.30  https://forum.snapcraft.io/t/new-configure-snapd-task-and-reverting/2774 and needs more work ?12:33
mupPR snapcraft#1737 opened: cli: pass remote from container_config to clean method <Created by kalikiana> <https://github.com/snapcore/snapcraft/pull/1737>12:40
axinohi12:45
axinowould anyone know how to deal with https://paste.ubuntu.com/25967274/ ?12:46
zygaaxino: hey there12:49
ogra_did you manually tinker with the mount ?12:49
zygaaxino: it's a known bug, I looked at it extensively though I don't know if there's something simple that would work around it for you12:49
axinonot that I know of12:50
zygaogra_: it's a bug in 14.04 and inside containers12:50
ogra_ah, 14.04 ...12:50
axino(this is a xenial container yes)12:50
zygaogra_: this is a container here actually12:50
zygaaxino: not sure if this will help you, but:12:50
ogra_yes, i noticed the container12:50
zygaaxino: you can unmount those things manually (all the mounts in /snap/*/*)12:51
zygaaxino: then you should be able to: sudo mount --bind /snap /snap; sudo mount --make-rshared /snap;12:51
axinoFWIW I found I could "snap changes" and "snap abort" but it doesn't help12:51
zygaaxino: then you should be able to sudo systemctl start each of the mount units12:51
zygaaxino: and then it should recover12:51
zygaaxino: that's roughly what my in-progress fix is trying to do12:51
axinozyga: should I stop snapd first ?12:52
zygaaxino: you can but it doesn't (should not) matter12:52
axinozyga: now the core snap is broken :x12:55
zygaaxino: did you mount everything back?12:55
zygaaxino: ideally paste the steps you took12:55
zygaaxino: look at /etc/systemd/system and start all the mount units back (or mount them manually)12:56
axinozyga: https://pastebin.ubuntu.com/25967312/12:56
axino(what I used to start the mounts back)12:57
ikeywho can i beg or bribe for snap store review? :)12:57
axinoerr12:57
axinothe units I started are gone12:57
mvopedronis: yes12:57
mvopedronis: thank you12:57
zygaaxino: hmm12:57
zygaaxino: what is actually mounted?12:57
axinozyga: it was looking like this https://pastebin.ubuntu.com/25967315/12:57
zygano12:58
zygaI mean moubted12:58
zyganot what systemd things12:58
zygathinks*12:58
axinozyga: https://pastebin.ubuntu.com/25967318/12:58
mvoniemeyer: how would you feel about adding a "2.30" tag (and same for subsequent releases)? then we could tag topics as "upcoming", "2.30" and the roadmap would be slightly simpler to build12:58
zygaaxino: how about /proc/self/mountinfo12:58
axinozyga: https://pastebin.ubuntu.com/25967323/12:59
pedronismvo: he answered, I think he said ok if we manage to stick to it12:59
mvopedronis: aha, cool. sorry missed the reply12:59
zygaaxino: ok this looks good now13:00
zygaaxino: now go to /etc/systemd/system and look at the mount units you see13:00
mvoniemeyer: thanks about your reply for the tags13:00
zygastart the core one13:00
axinozyga: https://pastebin.ubuntu.com/25967332/13:01
axinoOK starting the last core one13:01
zygaaxino: ok, start each one one by one13:01
zygaaxino: then start snapd13:01
axinozyga: OK we're back in business13:01
zygaaxino: and that should work13:01
axinozyga: thanks o/13:01
zygaaxino: and my fix is doing essentially that, just working on some details13:01
axinook13:02
zygaaxino: thank you for testing this! :)13:02
axinozyga: will that impact every "snap remove" under LXD ?13:02
zygaaxino: no13:02
zygaaxino: well, the bug affects a lot of things13:02
zygaaxino: the fix I made is changing the mount sharing for /snap before the very first app ever runs on a given system/container13:02
zygaaxino: then it's all good13:02
axinook13:03
zygaaxino: what we did here was the more costly/complex recovery process13:03
Chipacamvo: i did not write about ansimeter13:04
mupPR snapcraft#1738 opened: unit tests: make the check for output less strict <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/1738>13:07
pedronisChipaca: did you see this: https://forum.snapcraft.io/t/do-not-print-the-progress-bar-when-running-snap-commands/2816 ?13:11
Chipacapedronis: i hadn't; commented13:13
zygajdstrand: around?13:26
cachiomvo, PR #421813:31
mupPR snapcraft#1739 opened: Lxd refresh remote <Created by kalikiana> <https://github.com/snapcore/snapcraft/pull/1739>13:31
mupPR #4218: tests: adding tests for time*-control interfaces <Created by sergiocazzolato> <https://github.com/snapcore/snapd/pull/4218>13:31
cachiothis is the new one13:31
cachioI closed the other one before more people look at it13:31
cachiomvo, https://travis-ci.org/snapcore/snapd/builds/302294954#L474013:32
cachiothis is the error I see in ubuntu core, with timezone = n/a13:32
pedronismvo: will you create the 2.30 2.31 tags ?13:32
sergiusenskalikiana how confident are you in your PRs?13:43
sergiusenskalikiana can you add notes on what you tested?13:44
kalikianasergiusens: I tested only from git - building snaps for testing takes a while... even if theoretically it shouldn't be relevant here, it seems best to check that13:44
kalikianalemme document what I did13:45
sergiusenskalikiana please check13:47
zygatea13:52
ackkjdstrand, updated the PR, thanks for the review14:07
om26erflexiondotorg: around ?14:15
jdstrandzyga: hey, yes14:34
jdstrandackk: thanks!14:34
zygajdstrand: I updated the secure-file PR14:40
Chipacapstolowski: what snap can i use to play with config?14:41
Chipacawas looking for 'test-snapd-conf*' but that's not it14:41
mvopedronis: sorry for the slow reply, I am still trying to figure out how to define new tags14:43
Chipacapedronis: where?14:43
Chipacaum14:43
Chipacamvo: where?14:43
Chipaca:-)14:43
pstolowskiChipaca, do you need something for a spread test?14:44
mvoChipaca: in the forum14:44
Chipacapstolowski: for playing with snnapshots14:44
Chipacamvo: you need admin14:45
Chipacai think14:45
mvoChipaca: I have this (I think) - maybe not enough of it14:45
Chipacamvo: what tag do you want to create? mind if i do it for you?14:45
mvoChipaca: sure, 2.3014:45
mvoChipaca: the tag should be "2.30", then we can tag topics as "upcoming", "2.30", "chipaca"14:45
mvoetc14:45
Chipacamvo: so, there isn't an explicit CRUD for tags; you create the tag when you use it14:47
Chipacamvo: is there anything i can tag for you?14:47
Chipacamvo: also: no dots in tags14:47
jdstrandzyga: I saw. it is on my list for today14:51
zygathanks!14:51
flexiondotorgom26er: Hello14:52
pstolowskiChipaca, ondra may have some examples for you. i think there are still very few of them. you can always package one of our tests/lib/snaps/ for local testing; if you only need to check that config is stored/restored, then you don't really need any logic in configure hook14:53
Chipacapstolowski: right, that's what i was asking: what in tests/lib/snaps is a good one to use for playing with config14:54
pstolowskiChipaca, any of those I guess - http://pastebin.ubuntu.com/25967995/ - probably those with empty configure will be best14:56
pstolowskiChipaca, and looks like config-versions spread test may be an inspiration?14:56
Chipacaok, i'll look, thank you14:57
om26erflexiondotorg: re my Android Studio snap, any update ?15:05
om26erhttps://forum.snapcraft.io/t/classic-confinement-for-android-studio/2634/915:06
pedronisChipaca: 2_30 then ? 2dot30 ?15:07
pedroniscan then start with a number?15:07
pedronis*they15:07
kalikianaHrm. `error: cannot refresh []: cannot refresh snap-declaration for "core": Get15:09
kalikiana       https://api.snapcraft.io/api/v1/snaps/assertions/snap-declaration/16/99T7MUlRhtI3U0QFgl5mXXESAiSwt776?max-format=2:15:09
kalikiana       dial tcp: lookup api.snapcraft.io on [::1]:53: read udp [::1]:35870->[::1]:53:15:09
kalikiana       read: connection refused`15:09
kalikianaThis is "snap refresh" in a LXD container15:09
elopiopopey: flexiondotorg: can you please review https://github.com/snapcrafters/vault/pulls15:09
pedronisChipaca: I'm confused, afaict you cannot create them on the fly15:10
zygakalikiana: is it just temporary?15:10
popeyelopio: looking now15:10
kalikianazyga: I've reproduced it a few times now.15:11
kalikianaI'm checking if it has anything to do with the particular server15:11
Chipacapedronis: you can't; I can15:11
Chipacapedronis: neener neener15:11
pedronisthat's good15:11
Chipacait's super dangerous, for fat-fingered me :-)15:12
Chipacapedronis: 2-30 would work15:12
pedronisChipaca: this for example would need 2.30:  https://forum.snapcraft.io/t/do-not-print-the-progress-bar-when-running-snap-commands/281615:12
pedronisChipaca: and the things in the roadmap under 2.3015:12
ChipacaI'll tag that one15:13
pedronisheh sorry15:13
pedronisI miscopied15:13
Chipaca2_30, or 2-30?15:13
pedronisChipaca: I meant this one: https://forum.snapcraft.io/t/new-configure-snapd-task-and-reverting/277415:13
pedronisChipaca: I'm partial to2_3015:13
Chipacaboom15:13
kalikianazyga: seems to be fine in one but not the other... now to wonder what's happening there15:17
kalikianazyga: now it works15:19
mvothanks Chipaca15:22
kalikianasergiusens: I documented my steps for both PRs. First one ran into network issues on Travis so tests re-triggered. Second one still pending.15:23
Chipacamvo: pedronis: ftr jdstrand can also do this15:23
kalikianaelopio: perhaps you could sanity-check my test code? snapcraft#1737 and snapcraft/pull/173915:26
mupPR snapcraft#1737: cli: pass remote from container_config to clean method <Created by kalikiana> <https://github.com/snapcore/snapcraft/pull/1737>15:26
mupPR snapcraft#1739: Lxd refresh remote <Created by kalikiana> <https://github.com/snapcore/snapcraft/pull/1739>15:26
Chipacamvo: and so can you! :-) heh15:27
Chipacamvo: and ev and noise15:27
Chipaca¯\_(ツ)_/¯15:27
mvoChipaca: oh, we can create tags now?15:28
Chipacamvo: you should've been able to do it before15:28
mvoChipaca: what is the magic to do it? I just create one on the fly?15:28
Chipacamvo: yes15:28
mvota15:31
* kalikiana tea break15:42
mupPR snapcraft#1738 closed: unit tests: make the check for output less strict <Created by sergiusens> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/1738>15:46
* sergiusens is having an excellent time with 39 Celsius and a power outage15:51
Chipacasergiusens: ffffffantastic15:52
ogra_i'd happily trade the 7°C for that15:57
Chipacaogra_: nuh uh15:58
Chipacaogra_: you can always put on more clothes15:59
Chipacaogra_: you can't get more naked than naked15:59
ogra_putting your feet into a bucket of water helps though ...15:59
Chipacaogra_: especially if the bucket is in a pool16:00
ogra_+116:00
zygaChipaca: have you seen that gallery with skinless ppl?16:00
Chipacazyga: i've had lunch in a museum with skinless people, does that count?16:00
Chipacaalso babies in formaldehyde16:01
kalikianaskinless sounds great for hot days16:03
zygaChipaca: does "cool" qualify as an answer?16:03
Chipacazyga: ¯\_(ツ)_/¯16:03
Chipacazyga: my secondary school was next to a medical science school that had a museum you could just walk into16:04
Chipacalots of weird stuff16:04
Chipacaanyhoo16:04
zygaChipaca: "do your homework or you end up in a barrel like the rest of exhibits" the biology teacher said ;-)16:05
Chipacapstolowski: config doesn't have the idea of per-user data, right?16:05
pstolowskiChipaca, correct16:05
zygaChipaca: per user snaps would be interesting but also hard16:13
Chipacazyga: yeah, i think i'm going to store snap's config only if i'm storing the system data, otherwise no16:14
Chipaca(there's a per-user aspect to snapshots, and a system aspect)16:14
Chipacamakes sense to me :-)16:14
sergiusensChipaca ogra_ I'll take the 7 Celsius any day of the year16:26
sergiusenspower just came back! \o/16:26
kyrofasergiusens, man we can't catch a break on snapcraft#171716:27
mupPR snapcraft#1717: catkin plugin: check for pip packages in part only <Created by kyrofa> <https://github.com/snapcore/snapcraft/pull/1717>16:27
kyrofasergiusens, why i386 though? I already got a local pass on amd6416:29
sergiusensjust to see if that log error showed up16:30
kyrofaAh okay. Well I noticed you merged the PR that's supposed to fix that16:30
kyrofaBut it looks like this needs to be merged with master first16:30
sergiusenskyrofa wait for it16:31
kalikianagrrr, network errors on pip on both PRs16:34
kalikianaFYI I need to hop on a train in a few minutes so I can't work late tonight- but I'll check back in for a bit later16:35
kyrofakalikiana, want me to run one locally?16:35
kyrofaAssuming it's for 2.3516:36
kalikianakyrofa: the first one passed on the second attempt, second one pending... so, it works, it's just a waste of time...16:36
kyrofaOkay16:36
kalikianakyrofa: this is concerning snapcraft#1737 and snapcraft/pull/1739 which are fixing an issue with remote lxd - if you can have a looksie that'd be appreciated16:37
mupPR snapcraft#1737: cli: pass remote from container_config to clean method <Created by kalikiana> <https://github.com/snapcore/snapcraft/pull/1737>16:37
mupPR snapcraft#1739: Lxd refresh remote <Created by kalikiana> <https://github.com/snapcore/snapcraft/pull/1739>16:37
kyrofakalikiana, sure thing, reviewing now16:44
* zyga made small progress on layouts :)16:45
mupBug #1732494 opened: Impossible to manage package after Trusty --> Xenial upgrade <apport-bug> <i386> <third-party-packages> <xenial> <Snappy:New> <snapd (Ubuntu):New> <https://launchpad.net/bugs/1732494>16:48
ppisatielopio: can you help me with the CLA check failing for this pull req?16:48
ppisatielopio: https://github.com/snapcore/snapcraft/pull/172016:48
mupPR snapcraft#1720: kernel plugin: introduce kernel-channel to select from which channel … <Created by piso77> <https://github.com/snapcore/snapcraft/pull/1720>16:48
kalikianakyrofa: Grand, thanks!16:48
ppisatielopio: i think you are the keeper of the 7 keys^W^W^W... i mean unit tests :)16:49
mvoppisati: heh, you just made me switch my music16:50
ppisatimvo: at least someone got the joke :)16:51
mvoppisati: :-D /me hums along16:52
Chipacahahahaha16:58
Chipacahhaa16:58
Chipacahqa16:58
Chipacadhe391edcf :flips table:16:58
elopioppisati: how weird, it shows no error. I hate this CLA check, like a year ago I asked if it would be possible to move to the github integrated CLA check, but nothing happened :(16:59
Chipacaso... golang on 32-bit archs can only see half of the users on the system16:59
Chipacaof all the *possible* users i mean16:59
elopioppisati: let me updated your branch, that at least will reduce the number of checks17:00
zygaChipaca: ?17:02
zygaChipaca: ??17:03
zygaChipaca: why is that?17:03
Chipacagetuid and co return an int17:03
Chipacauid_t and co are 32 bit unsigned17:03
mupPR snapd#4221 opened: tests: new test for interface network status <Created by sergiocazzolato> <https://github.com/snapcore/snapd/pull/4221>17:05
Chipacazyga: https://github.com/golang/go/issues/2273917:10
zygaChipaca: well that will show those 32 bit users ;)17:12
Chipacazyga: we are going to be using uids somewhere in that space17:12
Chipacafor our per-snap uids17:12
zygaChipaca: well, that ended quickly17:12
zygaChipaca: can we use negative integers? ;-)17:12
Chipacazyga: no, that's the problem17:13
Chipacasyscall.Getuid returns a negative number17:13
Chipacaand then that's looked up in /etc/passwd17:13
Chipacaguess how well that works17:13
Chipaca:-)17:13
kyrofaChipaca, oops17:14
diddledanI've got really weird behaviour. I have created a patch which I'm trying to apply in a snapcraft prepare script. Doing the steps manually works, but when I try to do it via snapcraft the git apply call just silently does nothing17:14
Chipacaand the reason you can't create a user with uid -1 is because that's a special flag value that means "don't change the uid"17:14
Chipaca(by -1 i mean 0xf...f obvs)17:14
diddledanmy prepare script is: git apply --stat $SNAPCRAFT_STAGE/unrar.patch17:15
diddledanI've confirmed the patch is at $SNAPCRAFT_STAGE/unrar.patch, and I've confirmed that I'm in the build folder with the source I'm trying to patch17:15
elopiopopey: one more, please https://github.com/snapcrafters/vault/pull/617:16
mupPR snapcrafters/vault#6: Update the grade to stable <Created by elopio> <https://github.com/snapcrafters/vault/pull/6>17:16
popeyelopio: done17:16
elopiothank you17:20
Chipacadiddledan: are you in the directory you think you are when you try to do that?17:21
diddledanyes, I've confirmed that17:21
diddledantrying to replicate it in a minimal build doesn't recreate the problem. It's only on my complex build that's failing17:24
kyrofadiddledan, which plugin?17:24
diddledanmake17:24
kyrofadiddledan, remember that the prepare scriptlet runs in the build dir, not the source dir17:26
diddledanit's this part that fails on my attempt to build calibre, but pulling it to it's own snapcraft.yaml doesn't fail:17:26
diddledanhttps://www.irccloud.com/pastebin/wqlPNJXA/17:26
diddledanthe patch is:17:27
diddledanhttps://www.irccloud.com/pastebin/Mv9VK6TH/17:27
kyrofaHmm, yeah I don't see anything wrong there17:28
diddledanfull calibre snapcraft.yaml which FAILS (the above parts don't fail when isolated like that) is:17:28
diddledanhttps://www.irccloud.com/pastebin/MTOl6x2y/17:28
kyrofadiddledan, dumb question: do you have git installed?17:28
kyrofa(it's not a build-package)17:28
mupPR snapd#4222 opened: tests: add new `fakestore new-snap-{declaration,revision}` helpers <Created by mvo5> <https://github.com/snapcore/snapd/pull/4222>17:30
kyrofaah, yeah that one will install git17:30
diddledansnapcraft installs git itself automatically. it doesn't need to be manually specified. even if it did need to be specified it's working enough that git is responding in both scenarios17:31
diddledanspecifically the behaviour is : when the parts are isolated, the `git apply` works. when in the calibre full yaml the `git apply` silently returns with exit code 0 indicating success but the source is not patched17:33
cachiojdstrand, https://paste.ubuntu.com/25968840/17:38
cachioRunning the test to check network-status interface17:38
cachiohttps://github.com/snapcore/snapd/pull/4221/files17:38
mupPR #4221: tests: new test for interface network status <Created by sergiocazzolato> <https://github.com/snapcore/snapd/pull/4221>17:38
cachiojdstrand, any idea why it could happening?17:38
kyrofadiddledan, and you're checking the source in the build dir, not the src dir?17:41
=== cachio is now known as cachio_afk
sergiusenselopio kyrofa I am beginning to thing that we should cut where we are; that test is breaking on i386 as well17:49
kyrofasergiusens, wait, no, that's the plainbox bug I logged17:50
kyrofaI thought I was only seeing it locally though17:50
kyrofaThis is the first time I've seen it in the real adt17:51
kyrofaI'll investigate now17:52
kyrofasergiusens, catkin tests look good there17:53
sergiusenskyrofa ok, thanks17:53
Chipacaok, EOD'ing17:54
kyrofaI think that PR is probably good, then17:54
sergiusenskyrofa please rebase so that other one can get in17:55
kyrofaOf course17:55
mupPR snapcraft#1717 closed: catkin plugin: check for pip packages in part only <Created by kyrofa> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/1717>17:56
mupPR snapcraft#1737 closed: cli: pass remote from container_config to clean method <Created by kalikiana> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/1737>17:59
sergiusenskyrofa you are in charge of the boat, I need to go to physiotherapy now... my dream is to see those last remaining PRs merged and the changelog branch updated ;-)17:59
kyrofasergiusens, you got it17:59
kyrofasnappy-m-o, autopkgtest 1739 xenial:i38618:14
snappy-m-okyrofa: I've just triggered your test.18:14
kyrofaelopio, I'm not clear on your comment-- do you feel like snapcraft#1739 needs to change?18:14
mupPR snapcraft#1739: lxd: refresh remote container <Created by kalikiana> <https://github.com/snapcore/snapcraft/pull/1739>18:14
kyrofaelopio, hmm.... don't the debian/tests/* scripts run as root?18:22
kyrofaWhich means /home/ubuntu/autopkgtest_tmp is owned by root?18:22
kyrofaAlthough you give it mode 777 I suppose18:22
elopiokyrofa: I'm happy if the message on 1739 is added later.18:23
elopioand yes, you wanred about that so it's 777 now.18:23
elopiowe could set the owner to ubuntu if there's any problem.18:23
kyrofaelopio, wondering if the plainbox issue traces back to that, poking now18:23
kyrofaThe message on 1739 being the one I mentioned as well?18:24
elopiokyrofa: yes.18:24
kyrofaAgreed18:24
elopiokyrofa: and this is what we do on integrationtests -> mkdir --parents /home/ubuntu/autopkgtest_tmp --mode 77718:24
=== rmescandon_ is now known as rmescandon
kyrofaelopio, oh man... see all the old snapcraft xenial:amd64 PRs running now...18:36
=== JoshStrobl is now known as JoshStrobl|Away
elopiokyrofa: now the bottleneck is our fault ::(18:45
kyrofaYeah that hurts18:46
kyrofaWhy can we not cancel these?!?!?!18:46
elopioturn it off and on again.18:46
zygaChipaca: around?18:48
kyrofaelopio, do you know how adt creates lxc containers?18:48
kyrofaIt must be special, because I'm getting confinement issues trying to run the plainbox test18:49
jdstrandcachio_afk: what is the specific apparmor denial?18:49
zygacan I get a quick +1 for a trivial: https://github.com/snapcore/snapd/pull/422318:49
mupPR #4223: cmd/snap-update-ns: misc cleanups <Created by zyga> <https://github.com/snapcore/snapd/pull/4223>18:49
mupPR snapd#4223 opened: cmd/snap-update-ns: misc cleanups <Created by zyga> <https://github.com/snapcore/snapd/pull/4223>18:49
kyrofaelopio, although looking at the config of the running container, doesn't look special at all. Looks default18:49
kyrofaAlright, plan B18:52
elopiokyrofa: this is the provisioner https://anonscm.debian.org/git/autopkgtest/autopkgtest.git/tree/virt/autopkgtest-virt-lxd#n13518:56
kyrofaelopio, interesting. Sucks, I can't reproduce the same error outside of the adt suite, so I've paired that suite down to only the single snapd test, but it still needs to run the units and build the deb, haha18:58
kyrofaThat's alright, I'll get there18:58
kyrofaBut yeah, that proves that there's nothing special about it18:59
* zyga is hyped by https://teletype.atom.io/19:01
Chipacazyga: for a little bit19:06
Chipacazyga: wassup19:06
zygaChipaca: can you please +1 https://github.com/snapcore/snapd/pull/422319:06
mupPR #4223: cmd/snap-update-ns: misc cleanups <Created by zyga> <https://github.com/snapcore/snapd/pull/4223>19:06
elopiokyrofa: my hack to do it faster is change setup.py. Also, use the ppa instead of building from source, but just if you are not changing the deb.19:06
zygaI'll merge it when green and push a feature PR on top19:06
zygaI just didn't want this noise in the same one19:06
kyrofaOh the setup.py, duh19:06
kyrofaelopio, okay, tests disabled. But how do I tell it to use the PPA?19:07
elopiokyrofa: that's what I'm working on now. I think I'm close: https://github.com/snapcore/snapcraft/pull/1643/files#diff-bc66fbdb036f79e9f15bcbf47a6bc67cR4419:08
mupPR snapcraft#1643: [WIP] tests: run daily autopkgtest in travis <Created by elopio> <https://github.com/snapcore/snapcraft/pull/1643>19:08
kyrofaAh yes, nice19:08
zygajdstrand: FYI: a formal +1 on https://github.com/snapcore/snapd/pull/4170 would help :)19:11
mupPR #4170: cmd/snap-update-ns: add planWritableMimic <Created by zyga> <https://github.com/snapcore/snapd/pull/4170>19:11
Chipacazyga: +1 (beyond the "silly wrapper is silly" comment)19:12
zygaChipaca: thanks, I just wanted to highligh the mocking aspect, I can reword that if you have ideas19:12
zygahighlight*19:12
Chipacazyga: i understood it purpose, but the wrapper isn't needed19:13
zygaoh?19:14
zygaaaah19:14
zygaI see now19:14
zygathanks, I'll do that19:14
zygaChipaca: seeing this brings back classmethodwrapper horrors19:14
Chipacambuahahaa19:15
jdstrandzyga: it is also on the list19:15
Chipacazyga: if it's any consolation, at least you're not fiddling with the glob table19:15
zygaChipaca: oh, about that19:15
zygaChipaca: a puzzle19:15
zygaChipaca: I failed, maybe you can do better19:16
zygahttps://twitter.com/fijall/status/93074428572873523219:16
zygaChipaca: ^19:16
zygajdstrand: thank you!19:16
zygaah, the answer is in the responses below now19:17
Chipacazyga: it's a hacky way of having a global that survives (re)imports19:18
Chipacae.g. if you do reload() or if you import it with two different paths19:18
zygaI was trying the two different paths idea19:18
zygaI must have remembered this wrong19:19
zygabut inter-package imports did something funky19:19
zygafrom .foo import bar19:19
zygavs from pkg.foo import bar19:19
zygawow, when did github start doing this: https://github.com/snapcore/snapd/blob/master/COPYING19:20
=== cachio_afk is now known as cachio
Chipacazyga: it's probably just reload() if the importer doesn't trip up19:22
Chipacazyga: or! it could be for re-exec19:22
cachiojdstrand, https://paste.ubuntu.com/25969363/19:22
cachiothese are the denials that I saw19:22
kyrofaDang, now adt is failing with that new error as well. I'm starting to hate plainbox19:25
kyrofaEither it or the way we're using it makes it such a moving target19:26
Chipacammm19:26
Chipacazyga: ¯\_(ツ)_/¯ can't make it work outside of a plain reload -- which might be enough19:26
Chipacasome apppservers reload() the modules of your app when you edit it19:27
zygaChipaca: I recall using reload but very rarely19:38
=== dontbeadick is now known as kennyloggins
* elopio <- lunch19:52
sergiusenskyrofa how are things going?19:59
kyrofasergiusens, tests still running. I'm having trouble reproducing plainbox all of a sudden as well19:59
kyrofaIt's a different error today :P19:59
kyrofa"cannot create freezer cgroup hierarchy for snap plainbox-simple"20:00
kyrofaResearching now20:00
kyrofaThat's coming from snap-confine20:01
kyrofazyga, any idea why I might be getting "cannot create freezer cgroup hierarchy for snap X" ?20:01
kyrofazyga, it's in a normal lxd container20:01
kyrofaAnd then it's so broken I can't remove it20:04
zygakyrofa: no,20:06
zygakyrofa: any denials?20:06
kyrofazyga, crap. Now it succeeded. What the heck...20:20
zygapost on the forum please20:21
kyrofaSoftware is so quantum. It does X until you look at it, then it does Y just because you're looking at it20:24
kyrofazyga, did you recently release a new core snap by any chance?20:31
zygayes20:32
zygatoday20:32
kyrofaYeah this was working yesterday20:32
kyrofaAnd it just happened again20:32
kyrofasergiusens, getting THAT error in adt now ^20:32
kyrofaI'll make a forum post20:32
mwhudsonzyga: do you have any ideas for the debian breakage yet?20:33
kyrofaThis is interesting: "kernel_os.go:192: cannot get boot vars: open /boot/grub/grubenv: no such file or directory"20:33
zygamwhudson: I didn't look after that, jjohansen needs to say if this is a bug that we should fix in debian or in the kernel20:36
mwhudsonok20:36
zygamwhudson: all I know is in the forum for that topic20:36
mwhudsoni guess it still makes sense to get 2.29.3.1 ready for uploading to debian even if it's not going to work for a while20:36
zygayes20:36
mwhudsonzyga: --enable-nvidia-multiarch, do we want that on debian?20:37
jjohansenzyga: sorry I haven't figured that out yet. I'm working on it20:37
mwhudsonzyga: also should we stop passing --disable-apparmor now?20:38
mupPR snapd#4220 closed: snapd: allow hooks to have slots <Created by stolowski> <Merged by zyga> <https://github.com/snapcore/snapd/pull/4220>20:38
zygajjohansen: thank you!20:38
zygamwhudson: I think so20:38
zygamwhudson: the core was ablt to handle that for some time now20:38
zygamwhudson: (since ~august)20:38
mwhudsonzyga: which of my two questions are you answering? :)20:39
* mwhudson acquires coffee20:40
zygamwhudson: <should we stop passing --disable-apparmor>20:41
zygamwhudson: as for nvidia, ... not sure, perhaps yes but I never tried it because debian doesn't (AFAIK) ship proprietary drivers20:42
zygamwhudson: probably doesn't hurt20:42
mwhudsonmm ok20:43
mwhudsonthere was a guy in the forum complaining about nvidia problems i think20:44
mwhudsonbut i don't understand how any of that works :)20:44
zygamwhudson: I can explain if you want20:44
kyrofasergiusens, scratch that... I'm getting that error on _every single_ snapd test20:44
* mwhudson considers if he cares20:45
mwhudsonzyga: i've used intel graphics for years and have no intention of changing any time soon :)20:45
zygamwhudson: fair enough :)20:50
zygaI think I should EOD, I'll check some PRs later and try to merge20:50
kyrofasnappy-m-o, autopkgtest 1719 xenial:i38620:55
snappy-m-okyrofa: I've just triggered your test.20:55
kyrofazyga, to be clear, you released to stable today?20:56
mwhudsonzyga: pushed something that might build to alioth20:58
mwhudsonzyga: now go to bed :)20:58
mwhudsonkyrofa: yes, stable was updated today, according to mvo in the forum20:58
mwhudsonkyrofa: https://forum.snapcraft.io/t/2-29-release-cycle-started/2562/920:59
diddledankyrofa: sorry, had to pop out. the source isn't patched ANYWHERE. neither the src directory nor the build directory. The git apply simply silently exits without patching any files, despite checking that there is a copy of that file in the directory it's executed within.21:01
diddledankyrofa: the point I've been trying to state is that the exact same bits work correctly when I pull them into their own snapcraft yaml21:02
zygakyrofa: not me personally but yes, we as a team pushed 2.29.3 to stable toda21:02
kyrofazyga, forum post published21:02
diddledanso I know that it works. it doesn't work when I use my full calibre build snapcraft yaml despite the parts being identical to those that work on their own21:03
zygakyrofa: thank you21:03
zygakyrofa: after lxd bug, which is close to being fixed, I will look at this21:03
kyrofaThanks zyga21:03
kyrofaelopio, can you think of any reason why I would get that error when running the test, but not when installing the snap by hand?21:09
diddledanin fact, even separated it doesn't patch anything, so I was wrong there21:09
diddledanthe following snapcraft.yaml doesn't patch anything21:12
diddledanhttps://www.irccloud.com/pastebin/5rktodoh/21:12
diddledansame patch as before: https://www.irccloud.com/pastebin/Mv9VK6TH/21:12
diddledanpatch lives in ./patches/unrar.patch and snapcraft.yaml lives in ./snap/snapcraft.yaml21:13
nacc"Instead of applying the patch, output diffstat for the input. Turns21:14
nacc           off "apply"."21:14
naccdiddledan: why are you passing --stat ?21:14
naccdiddledan: seems like user error to do so :)21:14
diddledanit doesn't work either way21:15
zygajdstrand: hey, just a word of caution: the tun/tap test is failing randomly21:15
zygajdstrand: we've seen it fail in lots of branches21:15
naccdiddledan: well, it definitley will not (and should not) do anything with --stat21:15
zygajdstrand: it goes away on retry sometimes, not sure if you can think of anything in particular that would be specific to that test21:15
diddledanhttps://www.irccloud.com/pastebin/MTOl6x2y/ is the full project which is failing21:16
naccdiddledan: but wait21:16
naccdiddledan: reading...21:16
naccdiddledan: (tbh, i fid it confusing to use a source that's not git with a git command)21:16
naccdiddledan: i don't think there's any guarantee provided that you actually have git21:17
naccdiddledan: it probably works in general, but just a note21:17
naccdiddledan: did you try to do the build interactively? e.g., stage patches, then try to stage unrar and see what happens?21:18
diddledanI don't know what you mean "do the build interactively"21:19
naccdiddledan: like you can run `snapcraft` and it will build all the steps of the snap (I recommend in a LXD or vm) or you can do `snapcraft stage <part>` and just ahve it stage that part21:22
naccdiddledan: so maybe stage patches, take look at hte stage directory21:22
naccdiddledan: then stage unrar and see what it does21:23
diddledanwithout --stat I get no feedback, which is expected. BUT the simplified testcase reverts to my assumption in that it works fine, but the complex calibre build fails21:23
diddledanit's the same damned part definition in both casess!21:23
naccdiddledan: do you have a repository i can clone?21:24
diddledanI can make one21:24
naccdiddledan: might be easier (although i'm not a snap expert myself -- i can at least try and recreat your issue)21:25
diddledanhttps://github.com/diddledan/calibre-snap21:26
naccdiddledan: so i'm not sure if i follow -- is there a simple snapcraft yaml that does show the issue?21:26
diddledanno21:26
naccok21:26
diddledanthe simplified testcase works fine21:26
diddledanwith the same bloomin part definitions!?!21:26
diddledanI'm bashing my head against a wall here :-(21:27
diddledanit doesn't make any sense whatsoever21:27
jdstrandzyga: it is only debian-unstable-64, right?21:30
sergiusenskyrofa subprocess.check_call by hand and see what happens21:31
sergiusenskyrofa why is adt running for snapcraft#1739 ?21:32
mupPR snapcraft#1739: lxd: refresh remote container <Created by kalikiana> <https://github.com/snapcore/snapcraft/pull/1739>21:32
kyrofasergiusens, I figured we wanted to get at least one pass on everything, no?21:32
sergiusenskyrofa travis already does that ;-)21:33
kyrofasergiusens, haha, feel free to merge if you're happy with it, but the number of problems we built up because of exactly that is, well, not good21:33
zygajdstrand: no, it also happened on 16.04-32 once21:59
zygajdstrand: mvo thinks it is a race21:59
zygajdstrand: or perhaps a sequence issue where earlier test is causing this one to fail22:00
mupPR snapd#4223 closed: cmd/snap-update-ns: misc cleanups <Created by zyga> <Merged by zyga> <https://github.com/snapcore/snapd/pull/4223>22:00
jdstrandzyga: if you want to disable the test and then assign me to fix it, I can look into it22:01
mupPR snapd#4224 opened: cmd/snap-update-ns: teach update logic to handle synthetic changes <Created by zyga> <https://github.com/snapcore/snapd/pull/4224>22:01
zygajdstrand: I think that's fine, I'll send a PR22:01
zygajdstrand: https://github.com/snapcore/snapd/pull/4224 is interesting, there are a few lines of changes there and lots of tests22:02
mupPR #4224: cmd/snap-update-ns: teach update logic to handle synthetic changes <Created by zyga> <https://github.com/snapcore/snapd/pull/4224>22:02
zygajdstrand: reading the description will make the context for other layout PRs richer22:02
naccdiddledan: sorry, but your yaml makes very little sense to me :)22:02
naccdiddledan: how woudl `git apply` work if you're not i na git repo?22:02
diddledanit works fine22:02
naccdiddledan: you are giving it a raw tarball and asking it to treat it as a git repo? you should be using patch22:02
jdstrandzyga: added to list22:02
naccdiddledan: i don't see how it can (in general) ... the source isn't a git repo22:03
diddledanexcept in this particular case. if I pull everything except the patches and the unrar parts it works correctly. it only fails in situ with the rest of the yaml22:03
naccdiddledan: if you just use patch, does it work?22:03
diddledangit apply doesn't require a git repo22:03
diddledanI've proven the concept works. it is only in that full yaml that it fails22:04
naccdiddledan: ok22:04
mupPR snapd#4225 opened: cmd/snap-update-ns: tweak changePerform <Created by zyga> <https://github.com/snapcore/snapd/pull/4225>22:05
zygajdstrand: https://github.com/snapcore/snapd/pull/4226 this is the tuntap test, please merge that when green22:08
mupPR #4226: tests: disable interfaces-network-control-tuntap <Created by zyga> <https://github.com/snapcore/snapd/pull/4226>22:08
mupPR snapd#4216 closed: interfaces/time*_control: explicitly deny noisy read on /proc/1/environ <Created by jdstrand> <Merged by zyga> <https://github.com/snapcore/snapd/pull/4216>22:08
mupPR snapd#4226 opened: tests: disable interfaces-network-control-tuntap <Created by zyga> <https://github.com/snapcore/snapd/pull/4226>22:08
mupPR snapcraft#1739 closed: lxd: refresh remote container <Created by kalikiana> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/1739>22:09
mupPR snapd#4202 closed: cmd: use a preinit_array function rather than parsing /proc/self/cmdline <Created by jhenstridge> <Merged by zyga> <https://github.com/snapcore/snapd/pull/4202>22:09
zygajdstrand: if you want to please collect logs from https://travis-ci.org/snapcore/snapd/builds/302045926?utm_source=github_status&utm_medium=notification22:10
zygajdstrand: this is where the test failed22:10
zygajdstrand: the sequence number could be useful for reproducing this22:10
zygajdstrand: once you collec that, please re-trigger the test22:11
zygaanother instance is here: https://travis-ci.org/snapcore/snapd/builds/302478451?utm_source=github_status&utm_medium=notification on ubuntu-core this time22:11
naccdiddledan: so i staged everythinng, actually tried ot build it, got an error22:11
diddledanbingo22:11
nacci went into the parts/unrar/src directory22:11
naccran `git apply ../../patches/install/unrar.patch` and it did nothing22:12
zygathe denial here is [Wed Nov 15 13:41:22 2017] audit: type=1400 audit(1510753282.329:205): apparmor="DENIED" operation="open" profile="snap.test-snapd-tuntap.tuntap" name="/dev/net/tun" pid=9534 comm="tuntap.py" requested_mask="wr" denied_mask="wr" fsuid=0 ouid=022:12
naccnot a snapcraft problem, afaict, git doesn't want to apply the patch22:12
naccdiddledan: patch works22:12
diddledannow, nuke the parts, stage and prime directories and try again with this yaml (which is the same yaml with everything except unrar and the patch removed):22:13
diddledanhttps://www.irccloud.com/pastebin/to0fUZYt/22:13
diddledanand your git apply command was missing a ../ which is why your manual apply failed22:14
naccdiddledan: no it wasn't?22:15
naccparts/patches/install/unrar.patch is what i wanted22:15
diddledanoh maybe not missing a ../ - you're using the one copied into parts/22:15
naccdiddledan: which is what snapcraft would be doing22:15
diddledannope, snapcraft is using the one in stage/22:15
naccwell, in this case the same file22:15
naccdiddledan: so, i'm going to say it one last time, because i've wasted way too much time on this22:16
naccdiddledan: i jsut did exactly what you said22:16
naccthe patch is also not applied22:16
naccthe parts happen to build22:16
naccbut http://paste.ubuntu.com/25970392/22:17
naccgit-apply fails to apply the patch22:17
naccpatch succeeds22:17
naccstop using git-apply :)22:17
diddledanseriously, git apply WORKS ON IT'S OWN!22:17
naccno, it doesn't22:17
nacclook at the above output22:18
diddledanffs22:18
naccdiddledan: please, just try with plain patch22:18
naccsee if it works22:18
naccdiddledan: if `git-apply` worked, i can provide another paste for this, thenn running git-apply, then running patch would result in patch reporting an error. It does not22:19
naccdiddledan: i will admite freely, i didn't know you could `git-apply` outside of a git repository. I don't know why you would want to, or what it gains you, but I am seeing a difference in behavior between git-apply and patch. I trust patch.22:20
kyrofa+1 on patch22:20
naccdiddledan: http://paste.ubuntu.com/25970412/ ... that's the paste i mentioned22:21
diddledanbecause you refuse to believe it works: https://paste.ubuntu.com/25970413/22:21
diddledanthat is using the tarball snapcraft downloads and the patch I'm trying to apply22:21
diddledanlike I said, it works damned fine until I put it in the calibre snapcraft.yaml22:22
naccdiddledan: is the patch actually applied?22:22
diddledanyes22:22
diddledanor rather it is once I remove the --check because that kills apply like --stat does22:23
diddledanfrom the source that I just applied the patch to which isn't in a git repo, and had the patch applied with git apply:22:24
diddledanhttps://www.irccloud.com/pastebin/mXdBs4WB/22:24
diddledanthat is what I want the patch to do, make those two lines look like that!22:24
* zyga looks at Nov 15 12:32:38 Pandora kernel: [15491.386617] audit: type=1400 audit(1510777958.562:790): apparmor="DENIED" operation="capable" namespace="root//lxd-brave-muskrat_<var-lib-lxd>" profile="/snap/core/3440/usr/lib/snapd/snap-confine" pid=28464 comm="snap-confine" capability=2 capname="dac_read_search"22:26
zygastgraber: (if around) does lxd/lxc do something special to systemd freezer cgroup?22:26
naccdiddledan: ok, i can see the bheavior you are seeing but I don't know why22:27
naccdiddledan: and i don't konw why in the snap directories, the same does not work22:27
diddledandon't use --check22:27
naccdiddledan: i would still be curious if just patch would work, if it's a weird thing with git (corner case)22:28
naccdiddledan: i wasn't22:28
naccdiddledan: if you really can't get it to work, just fork it on github and patch your source?22:28
diddledanoh frak me. I've just had a lightbulb and it's too damned bright it hurts22:29
naccdiddledan: what's that?22:29
diddledanmy snapcraft is in a git repo. git recurses to all your subdirectories. previous uses of git apply had been in their own git repo checked out by snapcraft which overrode the snapcraft repo. you're right in that it's because it's not a git repo, but not just that, it's because it's not a git repo and THEREFORE INSIDE MY SNAPCRAFT git repo22:30
naccdiddledan: ah22:31
naccdiddledan: so it seems like ither use a git repo as the source, or use patch?22:31
diddledanso because it detected the .git dir way back up the chain it decided "I don't care that you were in that subdir, I'm going to apply your patch to the top-level where .git is!"22:32
naccright22:32
nacci thikn that's configurable -- i wonder if that should be set by snapcraft when it invokes git22:32
naccsince it can non-git nested inside git22:32
naccshould be relatively easy to make a testcase that shows the issue22:33
diddledanthis looks to be the correct incantation for such an occurance: git apply --directory=. --unsafe-paths ../../../stage/unrar.patch22:42
diddledanor as you said, just use patch22:43
naccdiddledan: fun :)22:45
diddledanfudge me, that was confusing22:45
naccdiddledan: we were both right and wrong :)22:46
diddledanand of course it worked in my testcase because I made the testcase in a new dir that wasn't a git repo22:46
naccright22:46
mupBug #1732555 opened: Installing bad snap has snapd crashing <Snappy:New> <https://launchpad.net/bugs/1732555>22:51
mupPR snapd#4227 opened: tests: adding test for interface frame buffer <Created by sergiocazzolato> <https://github.com/snapcore/snapd/pull/4227>22:56
diddledanthat incantation doesn't work actually. reverting to patch :-)22:57
diddledanwow, I am glad I know what was happening now, but boy what an idiot was I!?! :-p22:58
diddledananywho, tis sleepytime methinks22:58
kyrofaelopio, do the bot subscriptions actually work for you? It never pings me on failures23:17
kyrofasnappy-m-o, github subscribe 171923:18
snappy-m-okyrofa: I'll send you a message if a test fails in the pull request #1719 (many: account for python shebang args in rewrite).23:18
mupPR #1719: firstboot: add firstboot assertions importing <Critical> <Created by mvo5> <Merged by zyga> <https://github.com/snapcore/snapd/pull/1719>23:18
kyrofaI'll try again anyway23:18
elopiokyrofa: it worked last time I tried, but haven't in a long time23:20
elopiokyrofa: please let me know if you don't receive it, and I'll debug.23:20
kyrofaelopio, will do23:21
kyrofaelopio, is it technically possible for it to ping me when it finishes, regardless of success, and TELL me whether it succeeded or not?23:22
kyrofaOr is there no trigger for that?23:22
kyrofa(totally don't know how the bot works)23:22
mupPR snapd#4226 closed: tests: disable interfaces-network-control-tuntap <Created by zyga> <Merged by zyga> <https://github.com/snapcore/snapd/pull/4226>23:26
elopiokyrofa: the bot doesn't know how many tests are running. It just sees when one finishes.23:30
elopioso to report success, you would have to give it the number of tests you expect. Or something more clever than that. Currenly, we have nothing like that.23:30
kyrofaelopio, you mean like the number of tests in a single adt run?23:31
* kyrofa makes a google code-in task to count all our tests23:31
elopiokyrofa: no, the number of tasks reported to the pr.23:31
kyrofaHaha, oh23:31
kyrofaelopio, so say I trigger both xenial:amd64 and xenial:i38623:32
elopiocurrently, what it does is to listen on the updates to the PR. If one is a failure, it will ping you. Or something like that, I don't remember all the details23:32
kyrofaRegardless of success or failure, will it get two reports back from adt?23:32
kyrofaIf so, I'd love to have it ping me twice, once with each result23:33
elopiokyrofa: well, you could subscribe also to successful results. Not implemented, but that is easy.23:34
elopiohttps://github.com/elopio/snappy-m-o/blob/master/plugins/snapcraft_github/snapcraft_github.py#L5723:34
kyrofaelopio, ah, nice! Now I can make PRs when I want stuff?23:34
elopiokyrofa: do you mean, PRs to the bot? Of course!23:35
kyrofaDefinitely23:36
kyrofaAnd it looks like it's a snap?23:36
kyrofagithub_build is an interesting looking function23:37
kyrofaelopio, how do you test this, though?23:38
kyrofaelopio, first PR made23:46
mupPR snapd#4228 opened: interfaces,tests: skip unknown plug/slot interfaces <Critical> <Created by zyga> <https://github.com/snapcore/snapd/pull/4228>23:51
mupPR snapd#4229 opened: interfaces,tests: skip unknown plug/slot interfaces <Critical> <Created by zyga> <https://github.com/snapcore/snapd/pull/4229>23:51
* zyga EODs23:52
sergiusenskyrofa elopio why have the tests restarted? Can you at least add notes to the PR?23:53
kyrofasergiusens, which ones? I didn't restart any23:54

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