/srv/irclogs.ubuntu.com/2018/04/13/#snappy.txt

mupPR snapcraft#2066 closed: errors: feature flag error reports <Created by sergiusens> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/2066>02:33
mupPR snapcraft#2069 opened: Reports <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/2069>02:36
zygajjohansen: artful is also affected. I will give you more results today04:43
jjohansenzyga: ah good, I was going through the diff and going htf is artful not affected and bionic is :)04:44
zygaMainline is not affected or very little04:48
zygaLoading one profile over and over leaks very very quickly04:48
zygaMaybe some new table is not released?04:48
zygaI wrote some tests but went to sleep. I will keep looking today04:49
jjohansenmainline certainly has a leak05:03
jjohansenwhich kernel version for mainline are you not seeing it on?05:03
jjohansenzyga: ^05:03
zygajjohansen: I built mainline from yesterday, I was at e241e3f2bf9705:05
jjohansenokay, thanks05:05
zygajjohansen: when I say there was no leak I mean that loading a profile over and over (unchanged) ran for over 30 minutes with minimal memory bump (probably noise from other programs)05:06
zygajjohansen: at most 300MB05:06
zygajjohansen: on a affected kernel a few minutes of this would consume all my ram05:06
zygajjohansen: I will give you more data soon, sorry, yesterday I just collapsed05:07
zygajjohansen: this is the base64-encoded binary profile I was loading in a loop http://paste.ubuntu.com/p/Jfs3RRKcPw/05:08
zygajjohansen: on 4.13.16 inserting that 10K times leaks 440MB05:11
zyga(on amd64)05:11
zygajjohansen: perhaps other profiles we tested inside spread+snapd leaked more memory but I wanted to keep using one profile for experiments05:12
mborzeckimorning05:12
zygahey mborzecki, good morning05:13
mborzeckiany fires today?05:13
zygamborzecki: no, I think all is the same for now05:14
zygajjohansen: on xenial kernel the jump is from 946 all the way up to ~2GB05:31
zyga(this time using distribution kernel, not my build of the corresponding tag)05:31
zygajjohansen: xenial kernel is misleading, this was 4.13.0-3705:31
zygajjohansen: 4.4.0-119 on xenial is also affected but very slightly so, same profile, same count, 626MB->660MB05:35
zygajjohansen: I'll test intermediate kernels now05:35
zygajjohansen: 4.8.0-58 goes from 699M -> 773M05:40
zygajjohansen: 4.10.0-42 goes from 698M -> 723M05:42
zygajjohansen: so that feels like noise so far05:42
zygathe real jump is in 4.1305:42
zygawhere we drop significant amount of memory05:42
zygajjohansen: 4.15.0-13 goes from 640M to 1.61G05:48
zygajjohansen: so for all practical purpose the diff between 4.10 and 4.13 has introduced the major part of the leak05:50
zygajjohansen: but note that even on 4.4 there's some memory going somewhere, maybe that's just slab growing05:51
zygajjohansen: I'll introduce a variant that does 10M insertions to see if slab stabilizes05:51
mborzeckizyga: do you know if issue #3 'Memory use on minimal/constrained systems' had any further developments?06:12
zygajjohansen: on the xenial 4.4 kernel 10M insertions doesn't seem to actually leak memory, after some initial growth (of non-free memory) slab stabilises at 929M and just stays there06:12
zygamborzecki: no, I didn't focus on it06:12
mborzeckii know we said it's won'tfix for 18.04, but didn't see any messages that would indicate it was further discussed later yesterday06:13
zygamborzecki: sorry, I don't know more than that06:16
zygamvo: did you end up having the meeting with cloud guys?06:16
zygaI'll terminate testing 4.4., it's pretty much rock solid06:54
pedronismborzecki: hi, some of the things you worked on recently (autostart, timers? ) need to be added here https://forum.snapcraft.io/t/the-snap-format/698 ?06:55
mborzeckipedronis: thanks, will do06:56
pedronismborzecki: as usual we need put then version (2.xx+) where it starts working06:56
mvozyga, mborzecki yeah, we had a meeting yesterday. we will not do anything right now, its too risky, but we want to prepare so that we can provide a fix post-release asap06:58
zygajjohansen: 4.4 is rock solid, doesn't leak memory over extreme number of insertions, I'm looking at 4.10 now and it also looks good, memory use stops at ~1.03GB after 10s of thousands of insertions06:58
zygajjohansen: I'll keep it running for some more time and then try 4.13 where I suspect we really leak memory constantly06:59
zygamvo: sounds very godo06:59
zygagood06:59
mborzeckipedronis: mvo: one thing about exiting when idle, we don't have snap.refresh.timer anymore to wake us up, but we could schedule a command to run as a on-demand timer using systemd-run07:03
kalikianamoin moin07:04
mvozyga: nice findings on the kernel mem leak front07:07
mvomborzecki: indeed07:07
zygamvo: i hope we can find the leak soon enough :-)07:07
=== pstolowski|afk is now known as pstolowski
pstolowskigood morning07:13
pedronismborzecki: it depends what's the goal07:14
pedronismvo: is the plan to make exit on idle, generalized behavior?07:14
pedronismvo: did you discuss just timings or also a bit the goals?07:15
pedronismborzecki: is setting configuration with "set system"  landed?07:17
mborzeckipedronis: yes07:18
pedronisit's on edge but not 2.32 , right?07:18
mborzeckibut iirc it's in master only07:18
pedronisok07:18
pedronisbit unfortunate, but oh well07:19
mborzeckihm timer services are in egde too07:20
mborzeckibut not in 2.32.*07:20
pedronisah07:20
* pedronis admits to have lost track of things a bit (2.32 being so long lived)07:20
pedronismborzecki: anyway that's bit less of an issue07:21
pedronisthe issue with set core vs set system is that it must work before one installs core07:21
mvopedronis: gustavo preferes the wake up, do stuff, exit approach over not doing anything at all. but its still a bit undecided so worthwhile to have another meeting to discuss options. I personally still favour the "do as little as possible via units" approach07:21
mvopedronis: yeah, 2.32 is the new 2.33 :/ its a bit annoying07:21
pedronisso basically we need to document set core  and support it07:22
pedronisfor the life of bionic07:22
pedronis(more or less)07:22
pedronismvo: discussion for monday I suppose?07:23
mvopedronis: yeah, *maybe* today but I think gustavo is pretty busy today07:23
mborzeckipedronis: it's 2 small patches, should be easy to cherry-pick in case we want fixes in 2.3207:23
pedronisit's too late I think07:23
mvomborzecki: you can prepare a PR and target it so that *if* we need to rebuild we have it. but I'm with pedronis probably too late07:25
mborzeckimvo: sure07:25
pedronismvo: so I imagine we concluded that it's called 2.32.4 , not 2.33 ?07:26
mvopedronis: yes, I had a call with Adam about it, the amount of work to make it 2.33 is just too high at this point07:27
pedronisI don't think we have promised/enforced minor releases to be small or have no features07:28
pedroniswe try to07:28
pedronisin theory we have assumes , but seems they stay unused07:29
pedronis(anyway they are not relevant for the API, it's transparent)07:29
mupPR snapd#5044 opened: 'system' nickname for 'core' in snap get/set (2.32) <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/5044>07:33
pedronismvo: I'm going to merge my PRs about doMountSnap,  should I prepare cherry-picks?  or will you later?07:37
mupPR snapd#5036 closed: overlord/snapstate: allow to get an error from readInfo instead of a broken stub, use it in doMountSnap <Created by pedronis> <Merged by pedronis> <https://github.com/snapcore/snapd/pull/5036>07:40
* pedronis is clearly not rested enough07:45
Caelumzyga: I posted on opensuse-packaging, but it's a very low traffic list, will let you know if I get any replies07:56
mborzecki5038 failing on travis, works if i run it from host, cleaned the git tree but still07:59
mborzeckiand it's awkward, afaict all services are getting enabled by dh snippets in postinst, but the snapd.wakeup.service is disabled when the test starts08:00
mborzeckihttps://media1.giphy.com/media/12NUbkX6p4xOO4/giphy.gif probably08:01
zygaCaelum: perfect, thanks!08:04
mborzeckii really have packaging at times08:17
cwayneif only someone invented a simple way to package stuff!08:23
zygaslackware?08:23
mborzeckizyga: could you take another look at https://github.com/snapcore/snapd/pull/4989 later on?08:24
cwaynelol08:24
mupPR #4989: tests: add arch to CI <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/4989>08:24
zygamborzecki: sure08:24
Chipacamoin moin08:32
mvohey Chipaca08:33
Chipacamvo: do you remember why switch didn't have --devmode and etc?08:33
mvoChipaca: I think there is no reason, its a nice idea08:33
Chipacaalso what we agreed about --no-devmode08:33
Chipacaditto --classic vs --no-classic, etc08:33
mvoChipaca: iirc nobody asked that switch would have this capability but I think its a nice idea08:33
Chipacamvo: people have asked, we've just not been paying attention =)08:33
mvoChipaca: I had this problem too (wanting to swtich from strict to devmode and vice-versa)08:33
mvoChipaca: *cough*08:34
mvoChipaca: details ;)08:34
mvoChipaca: don't destroy my narative08:34
Chipacamvo: https://forum.snapcraft.io/t/refresh-into-devmode/4130 and https://forum.snapcraft.io/t/refreshing-snaps-in-devmode/494208:34
Chipacamvo: but also I remember niemeyer had a reason for not having --no-devmode etc, but I don't remember it08:35
Chipacaand I'm not sure it wasn't due to him confusing go-flags and flags, wrt --<boolean flag>=<boolean>08:35
zygamborzecki: https://github.com/snapcore/snapd/pull/4989/files#r18132136908:41
mupPR #4989: tests: add arch to CI <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/4989>08:41
mvoChipaca: sorry, I don't remember why we would not want --no-devmode etc08:43
zygamborzecki: after that +108:43
Chipacamvo: how do you get out of devmode?08:47
mvoChipaca: I think you need to refresh to a new revision for this right now, no?08:48
Chipacamvo: I think so yes08:52
zygathe memory leak was introduced in one of 144 patches08:56
zygaI will review them quickly and see if I can automate a test loop08:57
zygainterestingly this patch is in that list a7c3e901a46ff54c016d040847eda598a9e3e65309:02
mvozyga: nice09:02
mvozyga: bisect ftw09:02
zygait's not the bug yet though09:03
mupPR snapd#5039 closed: overlord/snapstate: use the readInfo in doMountSnap as a check only, undo if it errors <Blocked> <Created by pedronis> <Closed by pedronis> <https://github.com/snapcore/snapd/pull/5039>09:08
mupPR snapd#5040 closed: overlord/snapstate: poll for up to 10s if a snap is unexpectedly not mounted in doMountSnap <Created by pedronis> <Merged by pedronis> <https://github.com/snapcore/snapd/pull/5040>09:08
zygajdstrand: I didn't know we already supported loading arbitrary extended data into profiles!09:09
mvomborzecki: thanks for your review for 504309:11
mvomborzecki: I will dig a bit more in a bit but right now I think there is no way to disentangle --kill-who=main and KllMode=process09:11
Chipacamvo: so! what can i help with today?09:11
mvoChipaca: smart ideas about 5043 are in short supply right now :)09:12
mupPR snapd#5045 opened: overlord/snapstate:  poll for up to 10s if a snap is unexpectedly not mounted in doMountSnap (2.32) <Created by pedronis> <https://github.com/snapcore/snapd/pull/5045>09:13
pedronismvo:  ^ prepared the backport09:14
mvopedronis: \o/ thank you09:14
Chipacamvo: I hear good things about runit09:14
mvoChipaca: :-D09:14
Chipacamvo: :-)09:14
pedronisso things that appear described as unrelated are interacting in obscure ways and are not orthogonal :/09:15
Chipacamvo: so, if I understand the issue correctly, it's that if a daemon has refresh-mode=potato but does not hangle sigpotato and instead dies, then the whole service is killed?09:16
mvoChipaca: yeah, all processes in the cgroup will be killed, that is my understanding09:18
Chipacamvo: right09:18
Chipacamvo: but isn't a daemon not handling the signal it asks to be delivered on refresh a bug?09:19
mvoChipaca: from reading the source (my understaning is still a bit incomplete) I think what happens is that the main pid dies and that triggeres sigchld in systemd which notices that the main pid of the given unit died09:19
mvoChipaca: this makes the unit enter "stop state" and systemd will do what it needs to do when this state appears. which includes the cleanup of the cgroup (AIUI)09:19
mvoChipaca: in the sigterm case what we want is that the daemon restarts, I guess one could argue it should re-exec and use the same pid09:20
mvoChipaca: this would solve the problem but I think this is not how most apps deal with it :/09:20
Chipacamvo: what are we trying to accomplish? with refresh-mode=<foo>, when the snap refreshes, we do what? and the daemon does what? and systemd does what?09:22
Chipacawe=snapd there09:22
pstolowskizyga: have you seen jdstrand's comment to 5041?09:24
mvoChipaca: on snap refresh with --refresh-mode=sigterm what we want is that the main process of the unit in question gets a sigterm. but that the other processes in the cgroup are left alone and survive09:25
mvoChipaca: the use case is e.g. libvirt when it has a bunch of vms running that should not stop09:25
mvoChipaca: we tell systemd to do "systemctl kill --kill-who=main -s TERM snap.name.app"09:26
mvoChipaca: instead of the usual "systemctl stop snap.name.app"09:26
mvoChipaca: making sense so far?09:26
Chipacayes09:26
mvonow the problem seems to be that the option --kill-who=main is not orthogonal to KillMode= in a service file09:26
mvoChipaca: or it is but in a different way, there is some entanglement09:27
mvo(the enganglement I described above, main pid dies, systemd wants to cleanup)09:27
Chipacayes09:27
Chipacamvo: what do we _want_ systemd to do?09:28
mvoChipaca: on "systemctl kill --kill-who=main" we want it to kill the main pid and leave the rest alone09:29
mvoChipaca: on unit stop we want it to stop everything09:29
Chipacamvo: do we want it to restart the thing?09:30
Chipacaor _just_ kill it?09:30
mvoChipaca: do whatever is defined in Restart=09:30
mvoChipaca: it seems that this is a decision for the snap09:30
mvoChipaca: but normally it would be Restart=on-failure (which is our default)09:30
mvoChipaca: for a lot of things (SIGHUP) its a non-problem because the process will handle it and not die but sigterm is the problematic one09:31
mvoChipaca: still making sense :) ?09:31
Chipacarestart=on-failure does not restart the thing when killed with TERM09:31
Chipacamight this be the reason it's entering stop mode at all?09:32
mvoChipaca: I think I tested with "Restart=always"09:32
mvoChipaca: and it had no effect but I can do so again09:32
zygapstolowski: looking09:33
Chipacamvo: sigterm is like sighup, in that the process can catch it etc (sigkill is the uncatchable one)09:34
Chipacabut, ok09:34
mvoChipaca: I know09:34
mvoChipaca: but it seems the services we care about do not catch it09:34
Chipacamvo: a'ight09:34
mvoChipaca: we could argue they should and the problem would go away09:35
Chipacamvo: and AIUI the problem with using KillMode is that 'stop' will no longer work as expected?09:35
zygajdstrand: I replied to your comments on 504109:35
mvoChipaca: correct09:36
mvoChipaca: it will mean there are processes hanging around (potentially)09:36
Chipacamvo: and can ExecStop itself call systemctl?09:37
mvoChipaca: a good question, I think so, what do you have in mind?09:40
Chipacamvo: wondering whether we can manually use ExecStop to get the 'stop' behaviour we want09:40
Chipacamvo: as all the rest seems to be ok with the particular choice of restart/killmode09:42
mvoChipaca: hm, won't systemd just call ExitStop= in both cases? when kill was used and when stop was used?09:44
Chipacamvo: will it?09:50
mvoChipaca: it seems to be, I added "ExecStop=/bin/sh -c "echo foo >/tmp/foo"" and ran a kill (with Restart=always) and /tmp/foo with the content got created09:53
Chipacamvo: and is ExecStopPost _also_ run with kill?09:55
mvoChipaca: let me check09:59
mvoChipaca: yes, I also get a debug file with it10:00
Chipacamvo: it sounds to me like the lesser weevil is to document that if you use refresh-mode, systemctl stop will be weird10:01
mvoChipaca: yeah, and on remove do a extra kill --kill-who=all10:02
mvoChipaca: I can't figure another way but I can poke at it a bit more after lunch10:02
Chipacamvo: and do that on 'stop' itself also10:02
mvoChipaca: on snap stop service?10:02
Chipacaie 'snap stop' should work as expected even when systemctl stop doesn't10:02
mvoChipaca: thats a nice idea10:03
Chipacayeh10:03
mborzeckire10:44
zygajjohansen, jdstrand: I took the profile with a leak and started removing features from it; I want to see if any of the newly-added features may be responsible10:49
zygajjohansen, jdstrand: I also stress-tested all of the sysfs files in apparmorfs for extensive reading and can say that they are not a factor10:50
zyga(though I found one curious behaviour of the "revision" file, is that documented anywhere?10:51
jjohansenthe revision file's behavior is known and going to change10:55
zygajjohansen: that it "sleeps"10:58
zygajjohansen: loading an empty profile leaks as well10:58
zygajjohansen: https://github.com/zyga/apparmor-bug-leak11:03
zygaloading this is sufficient https://github.com/zyga/apparmor-bug-leak/blob/master/neutered-sample.aa11:04
zygaso it's not like a new optional feature is there and causes the leak11:04
zygamaybe something is not unref'd?11:04
mborzeckimvo: there's a failure in https://travis-ci.org/snapcore/snapd/builds/365982227?utm_source=github_status&utm_medium=notification in linode:debian-9-64:tests/main/snap-service-refresh-mode https://paste.ubuntu.com/p/cxTNbkBbtb/11:18
mvomborzecki: thanks, looking11:21
mborzeckimvo: just the paste, i've restarted the build11:22
mvomborzecki: thanks, I see it in the paste I will chase that11:22
mvomborzecki: looking into this area anyway currently11:23
mborzeckimvo: yup, that's what i thought :)11:23
zygajjohansen: I varied the test to insert a profile with ever-changing contents, I will check how that behaves across kernel versions11:27
zygajjohansen: I noticed that one of the things that differs between the broken and working kernels is the presence/absence of symlinks in apparmorfs/policy/profiles/$PROFILE/11:29
zygajjohansen, jdstrand: loading _different_ profiles forever on an affecter kernels doesn't leak memory11:40
zygamvo: as a workaround I can generate random garbage rule like /tmp/.snapd.bug.1234.$RANDOM r,11:41
zygamvo: and inject that into all profiles11:41
zygamvo: we will lose all caching but we will not leak11:41
mborzeckipstolowski: would you like to review https://github.com/snapcore/snapd/pull/5034 ? :)11:45
mupPR #5034: userd: set up journal logging streams for autostarted apps <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/5034>11:45
mborzeckipstolowski: it's based on 5024, so it's just the last 2 patches that are different 5034 specific11:46
zygamvo: more ideas on v11:47
zygahttps://forum.snapcraft.io/t/oom-for-interfaces-many-on-bionic-i386/4101/18?u=zyga11:47
zygajjohansen, jdstrand: I'm now looking at error recovery in aa_replace_profiles11:49
mvozyga: yay11:49
mvozyga: let me know if you have anything to test11:49
zygamvo: look at the options I gave11:50
zygamvo: 1 is simple but wasteful11:50
zygamvo: 2 should have no downsides but is complex11:50
zygamvo: I can prepare a test with .1 quickly11:50
mvozyga: if (1) is simple, we we just do it as an expeiment?11:50
zygasurte11:50
zyga*sure11:50
mvozyga: yeah, lets do it if it does not take much time on your side11:50
pstolowskimborzecki: sure11:57
zygamvo: after the break, now need to do stuff at home11:58
pstolowskiSon_Goku: hey! am i missing something, or copr.fedorainfracloud.org doesn't actually offer an option for uploading spec+srpm as advertised on the wiki?12:01
zygapstolowski: yes you are12:01
Son_Gokuyou can upload a srpm via the copr CLI tool12:01
Son_Gokuor you can upload it somewhere and tell the web ui to fetch it12:01
zygapstolowski: you should be able to from http://copr.fedorainfracloud.org/coprs/pstolowski/go-udev/packages/12:02
Son_Gokuah, and you can upload the srpm from the web ui too12:02
Son_Gokupstolowski: https://copr.fedorainfracloud.org/coprs/pstolowski/go-udev/add_build_upload/12:03
pstolowskiSon_Goku: ah, there! I was staring at the Packages -> Add New Package where you need to have git/svn12:04
pstolowskithanks12:04
mborzeckireminds me to drop my copr packages, they're quite old anyway12:24
mupPR snapd#5046 opened: snap, wrappers, tests: rename refresh-mode -> stop-mode, endure -> skip-refresh <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/5046>12:26
mborzeckimvo: ^^12:26
* kalikiana lunch12:36
zygare12:49
zygamvo: looking at that workaround now, it will be a moment, I'm almost done12:49
mvomborzecki: \o/12:52
mvozyga: yay12:52
mupIssue snapcraft#2028 closed: When asking to release to a branch that's too long, a traceback is printed that gives no hints as to the source of the error <bug> <Created by sergiusens> <Closed by sergiusens> <https://github.com/snapcore/snapcraft/issue/2028>12:55
mupPR snapcraft#2059 closed: storeapi: handle 500 error response when releasing snap <Created by kyrofa> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/2059>12:55
Chipacamborzecki: haven't we had a release with refresh-mode already?12:55
* Chipaca hunts for his headphones12:59
mborzeckiChipaca: yes, that's why i have some doubts about backwards compat12:59
mborzeckiChipaca: standup13:02
mupPR snapd#5047 opened: tests: removing linode-sru backend <Created by sergiocazzolato> <https://github.com/snapcore/snapd/pull/5047>13:06
mupPR snapd#5048 opened: tests: updating bionic version for spread tests on google <Created by sergiocazzolato> <https://github.com/snapcore/snapd/pull/5048>13:20
popeyIs it "known" that opengl apps on 18.04 on binary nvidia are broken?13:32
zygapopey: no13:33
popeyshotcut "could not initialize opengl" but works on intel13:33
zygapopey: on stable?13:33
popeyi am on beta13:33
popeybut i can go back to stable to test13:33
zygapopey: can you give us some more data, which hardware, which snaps, etc13:33
zygamborzecki: ^13:33
popeysure13:33
mborzeckipopey: after standup i'll reboot and check on bionic13:34
popeyfiling a bug to capture it13:34
mborzeckipopey: how does it fail? is there any log?13:34
popeyhttps://bugs.launchpad.net/snapd/+bug/176371713:35
mupBug #1763717: some opengl applications don't work on nvidia binary driver <snapd:New> <https://launchpad.net/bugs/1763717>13:35
mborzeckipopey: try to /usr/lib/snapd/snap-discard-ns <snap-name>, and then capture the log with SNAPD_DEBUG=1 SNAP_CONFINE_DEBUG=113:35
popeyok13:35
popeyadded to the bug13:37
mborzeckipopey: it's a classic snap13:37
kalikianare13:37
popeyIs that bad? :)13:38
mborzeckipopey: if it's a classic snap then it does not get any of the nvidia namespace setup treatment13:38
popey(I mean, we'd like it to not be classic)13:38
zygapopey: classic snaps don't have any support for that13:38
popeyso it should "just work" right?13:39
zygait depends on how it is made13:39
zygabut it's something for kalikana perhaps13:39
zygawe don't influence i13:39
zygawe don't influence it13:39
zygait probably doesn't work13:39
mborzeckipopey: shotcut snap right?13:39
popeyyes13:39
zygabecause 18.04 and 16.04 differ13:39
popeyits in the store13:39
zygahost's handling of nvidia changed13:40
zygathere's nothing we can do IMO13:40
mborzeckii'll probably fail on arch too, let me try13:41
mborzeckipopey: aborts on arch too https://paste.ubuntu.com/p/qPtZStGWth/13:42
popey:(13:42
ogra_you can surely do something about it in a wrapper script in the snap itself13:45
ogra_(hacks)13:45
mborzeckipopey: i've installed all dependecies and can run shotcut directly outside of snap13:52
popeyI'm at a loss what we suggest the developer does for a smooth experience installing snaps on multiple distros at different releases and have it work.13:54
ogra_do not use classic :)13:54
zygamvo: I'll take the dog out now but then I will be back to propose the workaround13:54
mvozyga: thank you13:54
zygapopey: you _can_ use nvidia but the snap needs some code for that13:54
zygapopey: talk to kalikana and sergiusens13:54
zygapopey: it's doable just nobody done it13:54
popeyok13:54
zygapopey: snapd is not preventing that13:55
zygapopey: it's just not enabling that (because it cannot)13:55
* zyga -> afk13:55
ogra_yeah ... as i said, wrapper hackery13:55
Chipacamvo: mborzecki: so...13:55
Chipacamvo: mborzecki: removing catalogrefresh from snapd drops it (with an ~empty state) from 25MB rss to 15MB rss on start13:56
Chipacapedronis: also ^13:56
pedroniscatalogrefresh is all kind of evil :)13:56
mborzeckiChipaca: so basically .text + .data + .bss size13:56
* Chipaca covers catalogrefresh's ears13:56
mvoChipaca: woah13:56
Chipacaall kinds of .bs13:57
pedronisthis is also because of bolt db code13:57
mborzeckiChipaca: heh ;)13:57
pedronisI suppose13:57
Chipacapedronis: that's my assumption, yes13:57
mborzeckiChipaca: with GOGC=1 RSS was 19MB13:57
mvoChipaca: nice, lets move it out into a separate helper13:57
mvoChipaca: thanks, thats a huge win13:57
Chipacamvo: now, or post-180413:57
pedronisthere are some issues around auth to move it out13:58
Chipacapedronis: why? i thought it didn't auth at all13:58
mvoChipaca: depends on your schedule for today, if you have free cycles I would say asap but does not have to be *now*13:58
pedronisChipaca: we need to talk with nessita, apparently /names can be per store13:58
pedronisI don't know if it is yedt13:58
mvooh13:58
mvook13:58
Chipacamvo: I'll check with nessita and work on it today13:59
mvomborzecki: I will merge your reresh-mode-endur-rename PR into my snap-rereshmode-fixes PR and work from that, ok?14:00
mvoChipaca: sounds good, thank you14:00
pedronismvo:  if we do a .5 we should consiser #504414:00
mupPR #5044: 'system' nickname for 'core' in snap get/set (2.32) <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/5044>14:00
pedronisI don't remember how risky it is14:01
mvopedronis: +1 (cc mborzecki if you have cycles you could prepare a backport)14:01
pedronisbut it would be good to have that in bionic from the start14:01
mvopedronis: iirc not risky14:01
pedronismvo: that is already the backport14:01
pedronisafaiu14:01
mborzeckimvo: sounds good14:03
mborzeckimvo: 5044 is a backport already14:03
mvomborzecki, pedronis: aha, excellet14:03
mborzeckimvo: or did you mean a backport of the rename pr?14:03
pedronismborzecki: he said he will merge the rename in his PR14:04
mvomborzecki: I meant the system one14:05
mborzeckimvo: ok, so 5044 is good then ;)14:05
mvomborzecki: yes!14:06
mvomborzecki: if you want you can look into a smarter way to do https://github.com/snapcore/snapd/pull/5043/files#diff-08088787360fb3ca74a0aed4c6103b22R31214:06
mupPR #5043: many: fix "refresh-mode: sig{term,hup,usr[12]}" via KillMode=process <Created by mvo5> <https://github.com/snapcore/snapd/pull/5043>14:06
jdstrandroadmr: hey, can you pull r1025? this turns on by default (but that doesn't matter with your django changes), improves the resquash error message for snapcraft 2.38 and fixes a typo in overrides.py14:07
mvomborzecki: i.e. what we want is to ensure that on remove everything in the unit gets killed eventually14:07
roadmrjdstrand: sure thing!14:07
jdstrandroadmr: thanks!14:07
mvomborzecki: so something like "check unit, anything in there left? if so send sigterm. poll for up to 5 (or 10) seconds and check every ~1s if there is anything left. then do a hard sigkill on the group14:08
mupPR snapcraft#2070 opened: extractors: support for setup.py <enhancement> <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/2070>14:13
mborzeck1gnome shell froze again :/14:14
zygaPharaoh_Atem: Hey14:14
zygaI will build a test snap on top of the14:14
=== mborzeck1 is now known as mborzecki
zygaFedora base snap this weekend14:14
zygaAnd I will try to publish your base14:15
mvomborzecki: did you got my last messages or shall I repaste?14:16
mborzeckimvo: repaste please14:16
pedronismvo: ah, I wondering if we should operate a bit more like systemd when we really try to kill the whole service14:16
mvomborzecki: so something like "check unit, anything in there left? if so send sigterm. poll for up to 5 (or 10) seconds and check every ~1s if there is anything left. then do a hard sigkill on the group14:16
mvopedronis: yeah, I think on remove we must be14:17
mvo<mvo> mborzecki: if you want you can look into a smarter way to do https://github.com/snapcore/snapd/pull/5043/files#diff-08088787360fb3ca74a0aed4c6103b22R31214:17
mupPR #5043: many: fix "refresh-mode: sig{term,hup,usr[12]}" via KillMode=process <Created by mvo5> <https://github.com/snapcore/snapd/pull/5043>14:17
mvo<mvo> mborzecki: i.e. what we want is to ensure that on remove everything in the unit gets killed eventually14:17
mvomborzecki: sorry, slightly out of order14:17
mborzeckithat's ok14:17
pedronisI left a comment there14:17
pedronisabout a code org question14:18
pedronisand John input14:18
pedronisChipaca: you should also look at #504314:18
mupPR #5043: many: fix "refresh-mode: sig{term,hup,usr[12]}" via KillMode=process <Created by mvo5> <https://github.com/snapcore/snapd/pull/5043>14:18
Chipacapedronis: I did, had a long chat with mvo about it this morning14:18
pedronisheh, ok14:19
popeyzyga: mborzecki I am not convinced this is a classic only issue. snap install mame --beta, that's not classic and doesn't work on 18.04/nvidia, but does on 16.04/intel.14:22
popeyI am certain this worked previously on 18.04/nvidia (because both I and Wimpress have tested it on that platform)14:23
zygaYes, It worked on 16.04 by accident14:23
zygaBut Ubuntu changed so it no longer does14:23
zygaIt probably still works on 16.0414:24
zygaChipaca can confirm as he has the right software and hardware14:24
Chipacai what now?14:25
popeyThis doesn't feel like an optimal response to "My snap worked and now it doesn't"14:25
mborzeckipopey: updating my bionic install now, i'll check in a minute14:25
Pharaoh_Atemzyga: ?14:26
mvopedronis: thank you, I have a look, I just added stop-mode and tweaked a bit but I need to add more tests and tweaks but I think the direction is nice14:29
mupPR snapd#5046 closed: snap, wrappers, tests: rename refresh-mode -> stop-mode, endure -> skip-refresh <Created by bboozzoo> <Closed by mvo5> <https://github.com/snapcore/snapd/pull/5046>14:29
Pharaoh_Atemzyga: before we publish anything, we need permission from Fedora Council and Server WG for usage of the name 'fedora'14:30
zygaPharaoh_Atem: that's a good point14:34
zygaPharaoh_Atem: how can we get that?14:34
Pharaoh_Atemprobably talk to sgallagh to see how to do that14:34
zygaPharaoh_Atem: can we can publish it as phedora for now?14:34
zygafor development14:34
zygabefore anyone can think it's ready for use14:34
Pharaoh_Atemfedora-release needs to be swapped for generic-release, and then we can call it whatever14:35
zygaPharaoh_Atem: that's nice14:35
zygaPharaoh_Atem: I'll make a test snap, if we agree on the name "phedora"14:36
zygaor something like thaT :)14:36
Pharaoh_Atemwith generic-release, the system identifies as Generic Linux :)14:36
Pharaoh_Atemhttps://src.fedoraproject.org/rpms/generic-release/blob/master/f/generic-release.spec#_136-15414:36
mborzeckipopey: ohmygiraffe works fine, trying out mame now, any roms you can recommend? :)14:36
zygamborzecki: did you play golden sun?14:36
zygamborzecki: I have it on an old Nintendo console, it's an amazing game14:37
zygaPharaoh_Atem: generic is ... too genric14:38
zygabut we can come up with something I'm sure14:38
mborzeckii'm a metal slug fan ;)14:38
popeymborzecki: yes, omg works, but that was built and never rebuilt a year ago.14:38
zygamborzecki: ah, I love that game too :) man I'm so old now that I think of it14:38
Pharaoh_Atemzyga: we can also fork generic-release and produce a <foo>-release package to brand as another distro that says "ID_LIKE=fedora"14:39
Pharaoh_Atemagain, fairly trivial stuff14:39
zygayeah, that's good14:39
popeymborzecki: Personally I like ghosts & goblins, r-type, r-type 2, rtype leo, scramble, nemesis, side arms and bomb jack - and I own the arcade boards so I'm (allegedly) legal ;)14:39
zygaI'll make some packages and stick it into copr14:39
Pharaoh_Atem;)14:39
zygapopey: _wow_14:39
Pharaoh_Atemzyga: you could even call it Ubuntu RPM Edition if you wanted :P14:40
mvopedronis: re https://github.com/snapcore/snapd/pull/5043#discussion_r181401324 - do you have a suggestion what place to use?14:40
mupPR #5043: many: add "stop-mode: sig{term,hup,usr[12]}{,-all}" instead of conflating that with refresh-mode <Critical> <Squash-merge> <Created by mvo5> <https://github.com/snapcore/snapd/pull/5043>14:40
zygaPharaoh_Atem: but then ubuntu trademark ;-)14:40
Pharaoh_Atemthough I think sabdfl would be a little bit peeved :P14:40
zygaPharaoh_Atem: I'll call it zygoonix14:40
Pharaoh_Atemhehe14:40
mvoPharaoh_Atem: hahaha14:40
mborzeckipopey: yeah, mame does not work, but the nvidia libs get mounted at the proper location, i'll check the wrapper script in case it's doing something silly14:40
popeyOrange Hat14:40
Pharaoh_Atem:D14:40
zygaOMG14:40
mvolol14:40
Pharaoh_Atemwhy not, eh?14:40
zygaorange is the new hat ;-)14:40
* zyga gets back to kernel bug fixing and workarounds14:41
popeymborzecki: I was using a manual launcher I made previously, I switched to desktop-glib-only14:41
Pharaoh_Atemif you want to have more fun, there's also a generic-logos package you can fork and make up some fun branding for14:41
pedronismvo: I think the helper should just return if the mode if for all or main?  and then wrappers picks process based on that14:41
mvopedronis: yes, that sounds good14:42
mvopedronis: I will change it this way14:42
Pharaoh_Atempopey: Purple Cap :P14:42
pedronismvo: thank you, is mostly for future readers, is a bit strange to be in snap14:42
mvopedronis: I will call it "KillEmAll()"14:42
mvopedronis: totally agreed, the wrong place14:42
zygamvo: how about SecureKillEmAll14:42
zygawe want to be safe, after all14:43
popeyPharaoh_Atem: I like!14:43
zygaI think I have a name14:43
zygabut I'll announce it later :P14:44
mborzeckipopey: strace shows it's not loading libGL from the right location14:44
Pharaoh_Atemzyga: now don't forget, we need logos and stuff too :P14:44
Chipacamvo: it looks like I won't be splitting catalog refresh today14:45
zygaPharaoh_Atem: and a boot up chime14:45
Pharaoh_AtemYES!14:45
zygaPharaoh_Atem: it can be "SCO LINUX" played backwards14:45
Pharaoh_Atemhaha14:45
Pharaoh_Atemit takes ~40 minutes to make your own branded derivative of Fedora, satisfying _all_ of the necessary trademark guidelines14:46
Pharaoh_Atemand with your derivative, you can do whatever you want14:46
mborzeckipopey: this is ld.so log from when it tries to load libGL https://paste.ubuntu.com/p/S5MyfKdyXT/ SNAP LIBRARY_PATH is not in LD_LIBRARY_PATH anymore14:48
mborzeckithat's why it does not pick up the right libGL14:49
zygamborzecki: can we inject that for classic snaps?14:50
popey(this isnt classic)14:50
zygaoh14:50
zygathen we can definitely influence that14:50
popeyso could I work around this by adding an environment stanza which prepends SNAP_LIBRARY_PATH to LD_LIBRARY_PATH?14:50
zygapopey: that's what snapcraft does14:52
mborzeckipopey: i'm looking into the wrappers now14:52
popeyok14:52
popeythanks14:52
Chipacahuh, I did apt purge snapd and now have two loopback devices hanging around14:53
zygaChipaca: can you run14:53
zygalosetup14:54
zygaand paste that14:54
ChipacaI can run, just not on open road just yet14:54
Chipacatoo hard on the back14:54
Chipacazyga: it lists two devices, both with "deleted"14:54
zygaChipaca: super interesting14:54
zygaso two snaps were removed but their loop devices were not cleaned up14:54
Chipacayes14:54
zygawhat are those14:54
Chipacaand I can mount them :-)14:54
zygasome experiments or regular things?14:55
Chipacacore and lxd14:55
zygaintersting14:55
zygamaybe related to what pedronis is chasing14:55
Chipacaand i can't detach them even though they're not mounted14:55
pedronisdo you have lxd containers running?14:55
Chipacapedronis: I don't think so, but how do i check?14:57
Chipacahuh, i do have lxd stuff running14:57
* zyga found one typo, closer to having a patch14:57
pedronisthat might explain why didn't go away14:57
pedronismaybe14:57
Chipacadbus, lxd itself, and dnsmasq14:58
Chipacathinking about it I manually removed the lxd snap yesterday14:58
zygaas in rm -f14:58
Chipacano, as in 'snap remove lxd'14:58
Pharaoh_Atemzyga, mvo, niemeyer: Flock 2018 is in Dresden, Germany: https://fedoramagazine.org/flock-2018-venue-announcement/14:58
zygaduring holidays14:59
zyganice14:59
zygamaybe I can come14:59
zygaeven totally unofficialy14:59
* pedronis is going to eow14:59
mborzeckizyga: does RPHAT have higher priority than LD_LIBRARY_PATH?15:03
mborzeckiRPATH15:03
zygamborzecki: thinking15:05
zygamborzecki: I don't know :/15:05
zygaI need to check spec for that15:05
sergiusensrpath that has lower precedence than the LD_LIBRARY_PATH environment variable15:05
sergiusensgoogled and memory recollection seems to align with that15:06
sergiusenself files can be disabled from looking at LD_LIBRARY_PATH though15:06
mborzeckisergiusens: zyga: this is what I see: https://paste.ubuntu.com/p/8mbNy545Z4/15:07
mborzeckiif i LD_PRELOAD then mame works15:07
mborzeckiand I can see the paths from LD_LIBRARY_PATH being used when searching for other libs15:07
mupPR snapd#5048 closed: tests: updating bionic version for spread tests on google <Created by sergiocazzolato> <Merged by sergiocazzolato> <https://github.com/snapcore/snapd/pull/5048>15:09
sergiusensmborzecki: don't you need to snap --shell run `mame` and set LD_LIBARARY_PATH in there?15:10
mborzeckisergiusens: i'm inside the snap ns15:11
mupPR snapd#5047 closed: tests: removing linode-sru backend <Created by sergiocazzolato> <Merged by sergiocazzolato> <https://github.com/snapcore/snapd/pull/5047>15:11
sergiusensoh, I read incorrectly15:12
sergiusenscan I see all of readelf's output?15:12
sergiusensbut will look shortly, need to do a pickup15:12
mborzeckisergiusens: http://paste.ubuntu.com/p/bGPHtsMHMs/15:15
mborzeckisergiusens: LD_DEBUG=all http://paste.ubuntu.com/p/Zm57vmQCwR/, at first it's only looking at RPATH, then around line 5217 it picks up LD_LIBRARY_PATH when it moves to loading deps of other libraries without RPATH15:21
mborzeckipff no clue what's happening, i could probably try to patch mame binary and strip/fixup rpath15:22
zygamvo: testing the fix now15:36
mvozyga: testing as in running spread with 18.04-32 ?15:36
zygayes15:36
mvocool15:37
zygamvo: I've added a constraint that runs this only on classic15:37
zygawe can further refine it to look for apparmor "feature" non-leaking kernel or something15:37
zygabtw, where did you get bionic 32 image15:39
zygaI had to use my hacky scripts to make one15:39
zygafor qemu15:39
mvozyga: autopkgtest-buildvm-ubuntu-cloud -r bionic -a i38615:40
zygayeah15:41
zygathat's what I do15:41
mvozyga: oh, and it did not work?15:41
zygano, I mean, I hoped we had a google image15:42
mvozyga: aha, not yet afaict15:43
mvoafaik15:43
zygamvo: quick pre-review?15:44
zygahttps://github.com/snapcore/snapd/compare/master...zyga:tweak/inject-random-profiles?expand=115:44
mvoChipaca, zyga 5043 is ready I think for a review, tests still running so maybe some tweaks needed but hopefully its ok15:44
zygaok, looking15:44
zygaholly molly15:45
zygathat's not a small change sadly15:45
zygabut let me read on15:45
zygajdstrand: hey15:55
zygajdstrand: if around, can you look at the link above please15:55
pedroniszyga: did you see jdstrand commented in the forum?15:55
zygachecking15:56
zygayeah, just saw15:56
mvozyga: fwiw, it looks reasonable - does it help? i.e. is the test working now?16:00
zygastill going for now16:00
zygait definitely does help in my simplified testing where I just insert random profile in a tight loop16:01
zygathat's stable over 100K insertions16:01
mvonice16:02
=== sergiusens_ is now known as sergiusens
* kalikiana wrapping up for the week o/16:58
ogra_jdstrand, [Apr13 16:23] audit: type=1400 audit(1523636600.835:36): apparmor="DENIED" operation="open" profile="snap-update-ns.classic" name="/dev/urandom" pid=1811 comm="3" requested_mask="r" denied_mask="r" fsuid=0 ouid=016:59
ogra_jdstrand, looks like the classic-support interface would like /dev/urandom support ;)17:00
zygasnap-update-ns.classic17:02
zygawhat would make it open /dev/urandom?17:02
zygaogra_: that profile is applied to a program that modifies snap namespaces, not to the program itself17:02
ogra_zyga, thats the classic (developer chroot) snap on a core system17:02
zygayes, but the denial is odd, this is not a profile for the application17:03
ogra_something inside tries to access urandom i guess17:03
zygait is a profile for the tool that constructs the execution environment17:03
zygait never should open /dev/urandom17:03
zygacan you tell me how to reproduce this?17:03
ogra_not really but i can try to proxy ... afaik ian only noticed it in his logs after working a day with his dragonboard17:04
zygain any case it should not cause any actual harm17:04
ogra_no, thats clear17:04
ogra_but i thought it was just missing device access in the classic-support interface17:04
mupIssue snapcraft#1920 closed: Design error reporting <Created by sergiusens> <Closed by sergiusens> <https://github.com/snapcore/snapcraft/issue/1920>17:08
mupPR snapcraft#1951 closed: repo: do not pull in libc6-dev by default for stage-packages <bug> <Created by sergiusens> <Closed by sergiusens> <https://github.com/snapcore/snapcraft/pull/1951>17:08
pedroniszyga: snap-update-ns might load bits of snapd  that try to use random generation17:09
zygaah, indeed17:09
zygaperhaps osutil does need it17:09
pedroniswe would need to investigate, it might not be something that snap-update-ns uses but some init of something linked might use it17:10
mupIssue snapcraft#2071 opened: patchelf to handle RUNPATH <Created by sergiusens> <https://github.com/snapcore/snapcraft/issue/2071>17:11
* cachio afk17:42
mvohrm, hrm, no travis slots, the typical friday evening problem after a busy week17:53
* mvo is slightly sad about this17:53
kyrofaroadmr, are there issues with the staging store right now?17:59
kyrofaroadmr, having trouble logging in, do you see any issues here? https://pastebin.ubuntu.com/p/KVXTxkYZBf/17:59
roadmrkyrofa: what's a 504?? hehe let me see18:02
kyrofaA timeout, indeed, that seemed odd to me as well18:03
roadmrweird18:03
roadmra sec18:03
mupIssue snapcraft#1918 closed: Add y/n support for sending errors back <Created by sergiusens> <Closed by kyrofa> <https://github.com/snapcore/snapcraft/issue/1918>18:06
mupPR snapcraft#2069 closed: Reports <Created by sergiusens> <Merged by kyrofa> <https://github.com/snapcore/snapcraft/pull/2069>18:06
roadmrkyrofa: I'm able to "snapcraft login" to staging just fine18:07
kyrofaroadmr, I actually had a success with another account as well-- any chance there could be an issue with a specific account?18:08
kyrofaEither that or it doesn't always happen18:08
kyrofaAlthough I got it twice in a row with the same account18:08
roadmrkyrofa: could be! can you authenticate with that account at login.staging.ubuntu.com?18:09
kyrofaLet me try18:09
roadmrkyrofa: hm, the URL that's timing out on you is actually in the staging store / dashboard. Incremented Retry for (url='/dev/api/account'): Retry(total=4, connect=None, read=None, redirect=None)18:10
roadmrkyrofa: when was this?18:10
kyrofaJust now18:11
roadmrkyrofa: ok, let me check whether any of the app servers are wonky18:11
roadmr(they were earlier today, that's why I asked "when")18:12
roadmrkyrofa: everything looks healthy :(18:14
roadmrkyrofa: I'm about to go lunch but you can ask in #snapstore, anyone there should be able to look at this18:14
kyrofaroadmr, note that I can indeed login to login.staging.ubuntu.com18:21
zygawooooot18:23
zygafirst thunderstorm of the season18:23
zyga!!!18:23
zygawaterfall from the sky18:23
popeyzyga: do you know if mb figured out what was breaking mame?18:25
popey(is there something i can do in the launcher?)18:25
zygapopey: sorry, I don't know18:25
popeyok18:25
popeyI'll ask next week18:25
zygaI'm looking at a kernel leak all day18:25
suebthey zyga, any news about the daemon thingy? :)18:27
zygasuebt: hey, no, I will try next week, sorry :/18:27
suebtok np18:28
=== devil is now known as Guest61956
mupPR snapd#5049 opened: interfaces/apparmor: workaround kernel memory leak <Created by zyga> <https://github.com/snapcore/snapd/pull/5049>18:38
roadmrkyrofa: yes, per my earlier comment, it's not a login.staging.u.c issue, but a dashboard.snapcraft.io one18:39
kyrofaAh, okay18:40
popeyjdstrand: I can't upload with snapcraft 2.40 - despite your thread suggesting 2.40 implements this -no-fragments thing18:40
popeyhttps://forum.snapcraft.io/t/automated-reviews-and-snapcraft-2-38/498218:40
popeyHang on, this is an electron application - built with electron-builder. Does that bake in something older than 2.40?18:41
roadmrkyrofa: just so we're clear, things are working well for you now, and you'll let me (or anyone in store team) know if you see this again, right?18:43
roadmrkyrofa: (just to avoid an expectation mismatch "I thought you were looking into it" "I thought you'd tell me if it broke again" :)18:43
kyrofaroadmr, no, something is wrong. I can definitely login with other accounts, but not this one. Ever18:46
kyrofaSame thing happens every time18:46
roadmrkyrofa: oh! ok, let's look at it from this angle then19:01
cprovkyrofa: oi oi19:05
kyrofaHey there cprov19:05
cprovkyrofa: the `account` endpoint (used on login to cache account-id, IIRC) is returning a lot more data in `snaps` and it's  undeniably slower, specially for crazy testing users we have in staging19:06
kyrofacprov, if you look at the snap names, we testing things like registration19:07
kyrofacprov, and then we never touch some again. Is there a way we can tell the store to toast them?19:07
cprovkyrofa: cleaning up snaps is not operational yet, for now the best suggestion I have is to create a new user19:07
kyrofaOuch19:07
kyrofaThis is all CI19:08
kyrofaCan we manuall clear out the snaps?19:08
kyrofamanually*19:08
cprovkyrofa: it's not that bad, a new user will be performing well up to 1000s snaps, which is weeks of testing19:08
cprovkyrofa: cleanup is too manual atm, via the UI one by one, we need come up with a script to do that properly19:10
kyrofacprov, okay. Is there a different endpoint we could be using that won't give us every single snap?19:12
cprovkyrofa: not yet, but what do you have in mind ?19:13
kyrofacprov, just seems silly to return a bunch of data we don't need19:13
kyrofaI don't want to create a new user every few weeks19:13
cprovkyrofa: why does it need the account/ on login ?19:14
cprovkyrofa: ftr, there are 4200 u1test* snaps in staging19:15
mvozyga: I see #5049 - did it survive ubuntu-18.04-32?19:17
mupPR #5049: interfaces/apparmor: workaround kernel memory leak <Created by zyga> <https://github.com/snapcore/snapd/pull/5049>19:17
kyrofacprov, no idea, do you think it shouldn't?19:20
kyrofaI can find out if you think it unnecessary19:21
cprovkyrofa: let me check the code, I don't see an obvious reason19:21
zygamvo: my workaround worked19:24
zygamvo: it failed on network on one test19:24
zygamvo: I restarted but it works19:24
kyrofacprov, _check_dev_agreement_and_namespace_statuses I think19:25
zygamvo: I get dinner now19:25
kyrofaWe check to ensure the account is properly setup with the dev namespace and whatnot19:25
cprovkyrofa: ah, I see19:25
mvozyga: nice19:27
mvozyga: I'm also waiting for tests19:27
mupPR snapcraft#2072 opened:  lifecycle: handle missing version correctly  <bug> <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/2072>19:36
=== devil is now known as Guest55708
jdstrandpopey: you said 'hold on'. I don't know if electron builder pins snapcraft in any way, but I can say the store queue is empty19:45
jdstrandpopey: make sure that schroot, lxd containers, your snaps, your debs, your git checkout, etc is using the latest snapcraft19:45
jdstrandpopey: if you refresh the review-tools snap, you can do 'snap-review /path/to/snap' and it will have better error reporting on the issue and can let you know if -no-fragments was used or not, or something else19:46
jdstrandpopey: you mentioned electron-- if you are using 'allow-sandbox: true' with a setuid chome sandbox, that will also cause it to fail this test (it will also fail *other* tests though too)19:48
sergiusensany ideas about: cannot change profile for the next exec call: No such file or directory19:48
sergiusenssnap-update-ns failed with code 1: No such file or directory19:48
sergiusensjdstrand, zyga: ^19:49
jdstrandpopey: but ultimately, you didn't give a store url so I can't look into it more19:49
sergiusensthat's when running corebird, previously working19:49
zygaYes19:49
zygaBut not debugged19:49
zygaWatching movie with family now19:50
mvozyga: enjoy. still no travis slot for me, I call it a day19:57
zygaBoo :/ sorry to hear that19:58
zygaTravis has a weekend mode19:58
jdstrandpopey: please see the forum20:07
mupPR snapcraft#2068 closed: states: track override scriptlets <Created by kyrofa> <Merged by kyrofa> <https://github.com/snapcore/snapcraft/pull/2068>20:31
popeyjdstrand: ok. i dont know how electron does it20:34
popeyjdstrand: there's none in the queue I guess because it never got to the store20:34
kyrofapopey, I believe they call mksquashfs themselves20:41
roadmrkyrofa: ah, nice! if that's true and electron-builder can be poked at, their mksquashfs call can be made to conform to what Jamie suggested20:41
kyrofaNo, I lied: https://forum.snapcraft.io/t/snapcraft-push-error-keyerror-architectures/4056/920:44
kyrofaSounds like they use snapcraft pack20:44
kyrofaBut what version?20:44
roadmraha :)20:45
kyrofaThey have a docker image, I bet it hasn't been respun20:46
kyrofaThough I can't pretend to understand fully how it works20:49
roadmrtheir instructions ask to install snapcraft as a deb20:50
roadmr2.40 is available for xenial, artful and bionic, and from this I understand it'd use the deb installed on the system... which popey said was 2.4020:51
kyrofaInteresting20:52
popeyit looks like e-b manually does some unsquashfs / mksquashfs, but I'm not a developer, so I am going by what I think i see on github20:52
popeyhttps://github.com/electron-userland/electron-builder/blob/7800ce1301154281564a23b5707e9a79bf3aa52d/scripts/snap-template.sh#L820:52
kyrofaI saw that too... but it looked more like a test20:54
popeylooks like the node module electron-builder-lib20:56
popeyI don't understand this :(20:57
popeyone for monday.20:57
mupPR snapcraft#1911 closed: Add support enable configurable runtime version for .NET Core applications <enhancement> <Created by rakeshsinghranchi> <Merged by kyrofa> <https://github.com/snapcore/snapcraft/pull/1911>20:58
cachioniemeyer, there?20:59
niemeyercachio: Here, but still in the conference21:05
cachioniemeyer, nice, just 1 quick question21:06
cachioI am working with the amazon image21:07
cachioit is working but still trying to resize it21:07
cachioI read it is not possible to shrink xfs filesystems21:07
cachioand it is using an xfs21:07
cachioI see 2 alternatives21:07
cachioI could create a snaller partition and copy the fs to there21:08
cachioor leave it with the same size and make a change in spread to skip setting the size of the disk when it is defined in the sprad.yaml21:09
cachioniemeyer, do you see other alternatives?21:09
cachiowhat do you prefer?21:09
niemeyercachio: What happens if you set the image to exactly 10GB? I hope it won't try to resize it21:14
niemeyercachio: We shouldn't change the nature of the image though.. shouldn't be a different filesystem for example21:15
cachioniemeyer, you mean if I truncate the image to 10GB?21:15
niemeyercachio: Worst case we can have a setting in spread to preserve the image size21:15
cachioniemeyer, yes, that was the other alternative21:16
cachioI can try to resize the partition but we could loose data21:17
cachioIf you agree I could make a PR in spread to preserve the image size i¿21:18
cachioniemeyer, in that case we can use the amazon image which it already uploaded21:19
mupIssue snapcraft#2064 closed: Support for set-grade <Created by kyrofa> <Closed by sergiusens> <https://github.com/snapcore/snapcraft/issue/2064>21:22
mupPR snapcraft#2067 closed: many: add snapcraftctl set-grade <Created by kyrofa> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/2067>21:22
mupPR snapcraft#2073 opened: meta: validate extracted and scriptlet metadata <Created by kyrofa> <https://github.com/snapcore/snapcraft/pull/2073>21:25
niemeyercachio: Yeah, I think that's fine.. we can use "preserve" as a value, that internally sets the value to zero, and we interpret it as such22:42
niemeyercachio: Actually, zero won't work as that's the default in which we want to resize as what most cases need.. preserve could set it to -1 though23:16
cachioniemeyer, ok23:16
cachioI'll try it23:17
cachiothanks23:18

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