/srv/irclogs.ubuntu.com/2019/08/26/#snappy.txt

zygagood morning06:27
zygahey pedronis :)06:32
pedronishi06:59
mvohey pedronis07:02
=== pstolowski|afk is now known as pstolowski
pstolowskimornings07:07
mvohey pstolowski07:09
mupPR snapd#7329 opened: snap: explicitly forbid trying to parallel install from seed <Created by pedronis> <https://github.com/snapcore/snapd/pull/7329>07:13
pedronismvo: ^ pstolowski: ^07:14
pedronispstolowski: hi07:14
mvopedronis: ta07:14
pstolowskiok07:15
zygamvo: what about https://github.com/snapcore/snapd/pull/732107:19
mupPR #7321: tests: restore dpkg selections after upgrade-from-2.15 test <Simple πŸ˜ƒ> <Created by zyga> <https://github.com/snapcore/snapd/pull/7321>07:19
zygaI'm not sure how many reviews we need now07:19
mupPR snapd#7328 closed: tests: pass --remove to userdel on core <Simple πŸ˜ƒ> <Created by zyga> <Merged by zyga> <https://github.com/snapcore/snapd/pull/7328>07:20
mvozyga: its fine from my POV, its not perfect07:25
zygamvo: yeah, I'd like to land it07:25
mvoI mean, you pointed out that the tool has flaws07:25
mvobut its fine IMO07:25
zygamvo: yeah07:25
zygamvo: do we need zero, one or two reviews on top of this state?07:25
mvozyga: so far this has zero reviews… :( let me review it07:28
mvozyga: having one review from !us would be nice I think07:28
zygayeah, I feel the same way07:29
zygait's unclear what the rules say when two people work on something and agree07:29
mvozyga: lets not fuss too much, its a tiny PR and affects only tests. I'm sure if e.g. pstolowski can have a quick look it can land :)07:29
zyga+107:30
pstolowskiseems i missed my 2 minute window to review this ;)07:32
pstolowskiah, it wasa about 7321, looking at it07:38
zygabrb07:44
pstolowskione comment there, +107:46
zygare07:51
zygapstolowski: replied07:51
pedronismvo: I archive 2.40 and created the 2.42 lane, I also made cards for the UC20 things I'm working on07:52
mupPR snapd#7321 closed: tests: restore dpkg selections after upgrade-from-2.15 test <Simple πŸ˜ƒ> <Created by zyga> <Merged by zyga> <https://github.com/snapcore/snapd/pull/7321>07:54
mvopedronis: excellent, thank you07:58
Chipacaullo ullo08:38
Chipacai just popped in to make sure y'all were aware today's a bank holiday so that's why i'm not here08:39
pstolowskipedronis, zyga: when we optimize apparmor backend to load multiple profiles in one go we're going to loose the granularity of error handling we have now for the apparmor_parser invocation. at the moment regenerateAllSecurityProfiles just logs an error for a given snap and carries on with the rest (we can still have such per-snap policy for intermediate errors before aa parser is invoked). any toughts on that?08:39
pstolowskihey Chipaca08:39
pstolowskipedronis, zyga unless we run apparmor parser with --vebose flag and go into business of parsing it's output ('Replacement succeeded for "snap....' gets printed for every successfull profile)08:42
abeatomvo, morning! would it be possible to merge https://github.com/snapcore/snapd/pull/7252 now? Also, what about https://github.com/snapcore/snapd/pull/7173 ? Is retriggering the tests needed there?08:51
mupPR #7252: interfaces/network-manager: allow using org.freedesktop.DBus.ObjectManager <Created by alfonsosanchezbeato> <https://github.com/snapcore/snapd/pull/7252>08:51
mupPR #7173: interfaces: support Tegra display drivers <Created by alfonsosanchezbeato> <https://github.com/snapcore/snapd/pull/7173>08:51
mvoabeato: in a meeting, will check in ~1h when they are over08:52
abeatomvo, ack, thanks08:52
zygapstolowski: interesting08:55
zygapstolowski: on failure, we can re-run per profile and see what really failed08:55
pstolowskizyga: yeah but we need to find out which one failed (for which snap), just log this snap and don't consider entire operation as failed08:58
zygapstolowski: yeah but when the batch fails you can re-try non-batch to reliably get information about those that really failed09:02
zygapstolowski: alternatively09:02
zygapstolowski: we can batch only inside one snap09:02
zygapstolowski: that's less generic but better in terms of our understanding what to do09:03
zygapstolowski: because when things fail, we need to change at the snap-granularity anyway09:03
pstolowskizyga: we already pass all profiles of given snap to aa parser (if that's what you mean). but re-trying one-by-one is an interesting idea09:04
zygapstolowski: if it's already per-snap then retrying is not of much use09:05
zygapstolowski: because it partially failed anyway09:05
zygapstolowski: another idea: do it in stages: first compile then load09:05
zygapstolowski: if compilation failed nothing in the system is broken09:05
zygapstolowski: it's easier to reason about the state09:05
zygapstolowski: you can pass a flag to the parser to let it just compile all profiles09:06
zygapstolowski: then you can pass a different flag to ask it to just load binary profiles09:06
pstolowski -d, --debug09:08
pstolowski           Given once, only checks the profiles to ensure syntactic correctness.09:08
pstolowskizyga: ^ yeah, interesting09:08
zygapstolowski: rather than debug I'd try something like --skip-kernel-load09:11
pstolowskizyga: aha! thanks09:11
zygapstolowski: you can use other options to capture the compiled profile into memory09:11
zygapstolowski: or to disk09:11
niemeyerMorning all09:26
mvohey niemeyer ! welcome back09:30
niemeyerThanks! Glad to be back09:30
niemeyerHow're things going?09:30
mupPR snapd#7252 closed: interfaces/network-manager: allow using org.freedesktop.DBus.ObjectManager <Created by alfonsosanchezbeato> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/7252>09:38
mvoniemeyer: going well, thank you!09:40
niemeyerI see mup is still going strong09:40
mvoniemeyer: some annoying test hickups that we are fighting but its getting better09:41
mvoniemeyer: yeah, mup was doing great last week iirc09:41
mvomup: hey, still fine?09:41
mupmvo: I apologize, but I'm pretty strict about only responding to known commands.09:41
* mvo hugs mup09:41
niemeyerNice09:42
zygamvo: found the bug :)10:33
zygamvo: whee10:33
zygacore is good10:33
mvozyga: tell me more!10:33
zygamvo: the logic in reset_all_snap was silly wrong10:33
zygaI'll send a PR in a moment10:34
mvozyga: ta10:34
zygamvo: two bugs actually10:45
zygain other news, shell is tricky10:45
ograpfft10:52
zygafired one more run to be sure, brb11:14
zygamvo: tl;dr; grep -w is a deception11:14
zygamvo: - is a word separator11:14
zygamvo: dont-remove-this-snap-core18 matches against grep -w core1811:14
mvozyga: woah, nice find11:25
zygamvo: https://github.com/snapcore/snapd/pull/733011:32
mupPR #7330: tests: fix removal of snaps on ubuntu-core <Created by zyga> <https://github.com/snapcore/snapd/pull/7330>11:32
mupPR snapd#7330 opened: tests: fix removal of snaps on ubuntu-core <Created by zyga> <https://github.com/snapcore/snapd/pull/7330>11:32
mupPR snapd#7331 opened: tests: move interfaces-contacts-service to /tmp <Test Robustness> <Created by mvo5> <https://github.com/snapcore/snapd/pull/7331>11:38
zygaohh, a new PR label11:40
mupPR snapd#7332 opened: tests: remove trailing spaces from shell scripts <Simple πŸ˜ƒ> <Created by zyga> <https://github.com/snapcore/snapd/pull/7332>11:40
abeatomvo, it looks like tests for https://github.com/snapcore/snapd/pull/7173 finally passed :)11:41
mupPR #7173: interfaces: support Tegra display drivers <Created by alfonsosanchezbeato> <https://github.com/snapcore/snapd/pull/7173>11:41
zygaI need to do some reviews while tests are churning11:41
mupPR snapd#7333 opened: tests: fix system version check on listing test for external backend <Created by sergiocazzolato> <https://github.com/snapcore/snapd/pull/7333>11:49
zygawow, only one test not passing cleanly in main on core16!11:51
zygaand a simple one at that11:51
zygaunit test failure?12:15
zygahttps://www.irccloud.com/pastebin/AQb5iDB8/12:15
zygaand another one on snap_daemon user12:15
zygahttps://www.irccloud.com/pastebin/5rYhzSZG/12:15
zygamvo: is that still expected?^12:15
zygaor should I get more recent master12:15
mupPR snapd#7334 opened: tests: remove locally installed revisions of core <Test Robustness> <Created by zyga> <https://github.com/snapcore/snapd/pull/7334>12:32
=== ricab is now known as ricab|bbl
mvozyga: the daemon-user in tumbleweed?12:38
zygamvo: that is 16.0412:38
zygamvo: not TW12:38
zygamvo: group removal failed because there's a user using it as primary group12:38
mvozyga: let me check12:39
zygamvo: offtopic: core18 does not leak any more mount points as far as my tests are showing12:39
zygamvo: I'm running a more complete pass but this is fantastic, it's not buggy anymore :12:39
zygamvo: this means both core and classic are clean, only two PRs to review to get there12:40
mvozyga: cool12:42
mvozyga: where is the userdel failure?12:42
mvozyga: I mean, what PR failed ? I want to check the log12:43
zygamvo: I restarted it already12:43
zygamvo: sorry, :/12:43
=== pedronis_ is now known as pedronis
jameshand then the test suite will be 100% robust? :-)12:43
zygajamesh: no :)12:45
zygajamesh: but that aspect will12:45
zygajamesh: so my test that measures it can be enabled again12:45
zygajamesh: without acting like a mount leak detector12:46
jameshzyga: fyi, I'm in Greece for GUADEC until Thursday (and then flying home until Friday evening).  So I may be slow to respond to activity on my PRs12:47
zygajamesh: enjoy Guadec, I'd love to visit Greece for one :)12:48
zygaI'm doing a pass over older PRs, including many that you sent, sorry for the enormous lag12:48
jameshzyga: no problem.  At some point I'd like to go over the work I need to complete for 20.0412:49
jameshdbus activation is still the big one (which hopefully is getting close to unblocked)12:50
jameshthere will probably be some xdg-desktop-portal related changes too though12:50
zygajamesh: any interesting portal work that would be of interest for us to integrate with?12:50
* zyga has some back pain today, should move to laptop12:50
jameshzyga: mostly things that were brainstormed almost a year ago12:51
zygajamesh: as in, they are coming now?12:51
zygaafter a year of being under development?12:51
jameshI want to give xdg-desktop-portal more information about snaps, which will probably involve adding a hidden "snap" command that takes a pid for a confined app and spits out some machine readable data about the snap12:52
jamesha year of having other priorities12:52
zygajamesh: oh neat12:52
zygajamesh: would it be like snap info --pid=12312:52
zygathat then matches that pid to a snap and gives you that kind of information12:52
zygajamesh: my question is mainly: do you need more than what snap info would say12:52
jameshin particular, I want snap name, desktop file ID, possibly presence of network plug12:53
jameshmaybe some information about readable/writable paths12:53
zygammm12:53
zygajamesh: what kind of writable paths do you mean? precise rules or something high-level?12:53
jameshzyga: the main use would be to identify cases where files do not need to be proxied through xdg-document-portal12:54
zygaoh, I see12:54
jameshso it's alright if it isn't complete12:54
zygajamesh: would it be ok if it was just a query per path?12:54
zygajamesh: snap internal is-accessible --pid=123 /path/to/file12:55
jameshzyga: perhaps.  I need to get up to speed with that code base again12:55
zygaok12:55
zygathanks for sharing, this is interesting12:55
jdstrandpstolowski: ime you don't want to run apparmor_parser so much on all profiles as much as run it only once at the end12:56
jameshzyga: also: what is the best cross platform way to detect if a pid is a snap app?12:57
jameshzyga: the current code is checking AppArmor labels, but that obviously doesn't work for the non AA distros12:57
jdstrandpstolowski: ie, snap.foo.bar has 3 interfaces. apparmor_parser it once after all 3 interfaces are connected instead of each time after one is connectedc12:57
jameshthe aim is to have something quick to check before shelling out to the "snap internal" command we eventually write12:57
jdstrandjamesh: the freezer cgroup atm12:58
zygajamesh: that's a good question12:58
zygajamesh: I'd like that to be an API of snapd, not something that is determined externally12:58
zygajamesh: because e.g. the freezer or apparmor are internal implementation detail12:58
zygajamesh: and that will change12:58
zygajamesh: unless we can come up with a robust way to make that without making any problems12:58
jameshzyga: the flatpak method is to check for a special file in the root directory of the process's mount namespace12:58
zygajamesh: perhaps /proc/PID/root/meta/snap.yaml presence?12:58
zygajamesh: that would be reliable today (except for classic snaps)12:59
jdstrandand yes, we should have an api12:59
zygajdstrand: ^ I might even be happy with that being a stable way to check12:59
zygaregardless of an API12:59
jameshzyga: treating classic snaps as unconfined is fine for the purposes of xdg-desktop-portal12:59
jameshthey effectively are anyway12:59
pstolowskijdstrand: right. this is kind of already done for auto-connect on install (landed recently, edge only atm)12:59
jdstrandpstolowski: the same goes for snap-seccomp13:00
* zyga goes to a meeting13:00
jdstrandpstolowski: oh! 'kind of'?13:00
pstolowskijdstrand: the case i'm trying to cover now is where we regenerate all profiles on startup when system key or templates changed13:00
pstolowskijdstrand: 'kind of' in a sense that it's only for auto-connect, not connect in general13:00
jdstrandpstolowski: but that includes auto-connect via snap decl too, right?13:01
jdstrand(it would be weird if it didn't, but thought I'd ask)13:01
jdstrandpstolowski: what about app snap refresh?13:02
pstolowskijdstrand: yes, precisely that - when you install a snap, and slots get automatically connected13:02
jdstrandpstolowski: is refresh a special case for install?13:02
pstolowskiotp13:03
jdstrandpstolowski: feel free to ping me after13:03
mupPR snapd#7331 closed: tests: move interfaces-contacts-service to /tmp <Test Robustness> <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/7331>13:07
pstolowskijdstrand: yes, refresh as well, it's special case for install indeed13:11
pstolowskijdstrand: but there is atm no improvement if you manually snap connect multiple plugs/slots in one go. this could benefit from similiar optimization (as you suggested; and similiar to auto-connect), the framework for that is already in place and we can tackle it at some point13:15
jdstrandpstolowski: oh, I didn't know you could do more than one in one go :) indeed, that could be done. I think the key is once per command, not per snap or per batch of snaps and then you get reasonable optimizing with good error reporting13:16
jdstrandpstolowski: doing more than one profile at a time only saves you a fork/exec/tiny overhead which is probably not worth losing the error handling13:17
jdstrandat least note atm13:17
jdstrandnot*13:17
jdstrandpstolowski: and this was done for snap-seccomp too?13:17
pstolowskijdstrand: yes, this was done on higher level than specific backends, we basically run setup-profiles just once at the right moment13:19
jdstrandpstolowski: woo nice! :)13:19
pstolowskijdstrand: hmm re apparmor parser, my tests on pi3 suggest we will benefit a lot (3x faster) by running aa parser once over multiple snaps' profiles, did i miss something? see https://forum.snapcraft.io/t/apparmor-parser-performance-on-pi3/1290913:21
pstolowski(re error handling i'm sure we can overcome this, per zyga's suggestions)13:22
jdstrandpstolowski: so apparmor can do some parallelizing and things for sure... but it seems your --cache-loc is wrong13:23
jdstrandpstolowski: it should be /var/cache/apparmor, not /etc/apparmor.d/cache13:24
jdstrandthe cache's should be invalidated13:24
jdstrand(though)13:24
jameshjdstrand: I'll be talking to the freedesktop-sdk folk tomorrow.  Is there anything newer than what you wrote at https://forum.snapcraft.io/t/base-runtime-freedesktop-sdk-runtime-19-08/11153/40?u=jamesh that I should be aware of?13:24
jdstrandjamesh: unfortunately not. since the work is unplanned, it is falling behind some other stuff that is planned13:25
jameshfair enough13:25
jdstrandjamesh: but, there is a clear path forward13:26
jdstrandit's 'just work'13:26
jameshgetting to that point is half the battle :-)13:26
jdstrand(in terms of implementaion. there are a few process details to sort out, but that isn't a big deal)13:26
jdstrandjamesh: ha, yes :)13:26
zygamvo: FYI https://github.com/snapcore/snapd/pull/7316#pullrequestreview-27958684013:27
mupPR #7316: tests: add unit tests for cmd_whoami <Created by ardaguclu> <https://github.com/snapcore/snapd/pull/7316>13:27
* zyga goes to rest to avoid the back pain13:28
mvozyga: thanks, looking13:28
mvozyga: nice, thank you!13:31
jdstrandpstolowski: your use of snap.* is not accounting for snap-update-ns.*, no? did you find those aren't getting regenerated with ifacemgr?13:32
mupPR snapd#7173 closed: interfaces: support Tegra display drivers <Created by alfonsosanchezbeato> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/7173>13:32
pstolowskijdstrand: indeed, looks like i used the wrong cache path. anyway, that shouldn't matter for the test due to --skip-read-cache, as i was testing the pessimistic scenario only13:33
pstolowskijdstrand: and you're right i haven't tested snap-update-ns* profile (it is covered by snapd code, so code is fine)13:34
jdstrandI think what is happening here is with the single call you are benefiting from parallel processing13:35
jdstrandwhereas otherwise it is completely serial13:35
jdstrandgimme a second and I can confirm that13:36
mupPR snapd#7330 closed: tests: fix removal of snaps on ubuntu-core <Test Robustness> <Created by zyga> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/7330>13:36
jdstrandright, a pi3 has 4 cpus that can be used13:37
jdstrandand so apparmor will used -j413:37
jdstrandright, if I use --max-jobs=1 then I get roughly the same performance as serial13:39
mupPR snapcraft#2684 closed: meta: decouple DesktopFile logic <Created by sergiusens> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/2684>13:39
jdstrand33s vs 35s on amd6413:39
pstolowskijdstrand: ah, that means it would help on faster machines (originally the problem was reported with fast pc & lots of snaps https://forum.snapcraft.io/t/snapd-causing-lengthy-boot-time/10466), but not on low-end ones that some customers have...13:43
jdstrandpstolowski: I commented: https://forum.snapcraft.io/t/apparmor-parser-performance-on-pi3/12909/213:44
jdstrandps13:45
pstolowskijdstrand: thank you, that's useful feedback13:45
jdstrandpstolowski: let me dig up one more tidbit. I recall we had perf bugs in Ubuntu when we took all the CPUs and choked boot13:46
zygamvo: another failure, daemon user present, test failed to add it13:46
ograon actual single core HW you will also see I/O saturation that you wont if you use a multicore device and just limit cores13:47
jdstrandpstolowski: also, you may find this handy: getconf _NPROCESSORS_ONLN13:47
ijohnsonjdstradn, pstolowski: fwiw the big problem I remember from a customer device about this is that it takes _ages_ on a low-end ARM CPU to finish the first boot because there's a lot of snaps and a lot of service/commands with a lot of plugs13:49
mvozyga: yeah, I pushed a pr to get to the bottom of this13:49
ijohnsonjdstrand: sorry ^13:49
mvozyga: its very strange13:49
jdstrandpstolowski: right, I remember now. we could make the parser even faster by using a -j value higher than _NPROCESSORS_ONLN, and that was the problem. In Ubuntu, we use _NPROCESSORS_ONLN. *maybe* you want to use _NPROCESSORS_ONLN-1? (you'd want to measure, etc)13:49
ijohnsonnote that device only has one CPU core13:50
jdstrandijohnson: that is already going to be helped tremendously by what pstolowski already did. run the parser once per command rather than once per interface per command13:50
pstolowskijdstrand: interesting. we may try to be conservative and paranoid there to start with13:50
ijohnsonright okay, I missed part of this conversation so I wasn't sure what was being discussed right now :-) I'm sure they will be happy to hear that13:51
jdstrandbtw13:51
* jdstrand hugs pstolowski :)13:51
jdstrandpstolowski: ok cool. I forgot that the rpi3 had so many cores. parallelizing defintely helps with more cores :)13:52
ograwe should really measure on actual HW that was designed as single core though ... faking it like that will make you miss a lot of aspects13:54
abeatoijohnson, yes, I am happy to hear that :D13:55
ogra(though if the focus is really only on CPU processing thats probably okay ... but for overall performance mesuaring IO should also come into play)13:55
pstolowskijdstrand: thanks for looking at this!13:55
jdstrandogra: well, note, on a single core it defaults to -j1. apparmor will use -jNUMBER OF CORES by default. My question is do we want to make that 'minus 1' or something13:57
jdstrandno one is suggesting a -j higher than the number of cores (I advocated agaisnt it :)13:57
ograwhat would minus 1 achieve ? dynamic picking ?13:57
jdstrandno no13:57
ograoh, you mean "one less"13:58
jdstrandI'm saying 1 core, -j1. 2 cores, -j1, 3 cores, -j2, etc13:58
ograyeah13:58
jdstrandyes13:58
ogragot it, sorry, slow today13:58
jdstrandie, leave at least one for other stuff13:58
jdstrandwhich is probably quite reasonable for a refresh core scenario13:59
ograif we can we should surely do that since we might have something running in parallel (we have no real control about systemd here  i guess)13:59
jdstrandbut I'll let others decide13:59
abeatojdstrand, or maybe change the nice value for the process, as another option?14:00
jdstrandoh, we can do that. calculate the cores (see aforementioned getconf command), add --max-jobs14:00
jdstrandabeato: that is an available option as well14:00
* zyga has lots of back pain and stops to do any reviews too14:08
zygasorry folks, need to break and get better somehow14:08
* ijohnson relocates, back in ~15 min14:12
pedronismvo: I got this:  https://api.travis-ci.org/v3/job/576683798/log.txt  do I need to merge master again?14:12
mupPR snapd#7334 closed: tests: remove locally installed revisions of core <Test Robustness> <Created by zyga> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/7334>14:13
mvopedronis: no, this is still under investigation :(14:14
mvopedronis: its strange, let me add some more debug14:14
cachiomvo, hey14:18
mvohey cachio14:18
cachiomvo, taking a look to the error on core18 I see this14:18
cachiohttps://paste.ubuntu.com/p/9hzczyDQjf/14:18
cachio2.41. instead of 2.41~14:18
cachiois it a bug?14:18
cachioor we will use dot14:19
cachiojust to see if I need to change the script14:19
mupPR snapd#7336 opened: tests: add debug section to interfaces-contacts-service <Created by mvo5> <https://github.com/snapcore/snapd/pull/7336>14:19
mvocachio: thats a bug14:19
mvocachio: the edge is the correct version14:19
mvocachio: its just the version number though that is wrong in beta, its the right snapd14:20
mvocachio: with the next beta/candidate the version shoud be fine14:20
cachiomvo, perfect14:20
cachiothanks!14:20
mvocachio: once you are happy with the beta I can push a new version. but we need to make sure of course that it includes all fixes you have for 2.4114:21
cachiomvo, sure, I'll push a fix now14:22
cachiomvo, that + the fix for listing test should be enough14:22
cachiothen I have another one but so far I cound't reproduce it14:22
mvocachio: thanks, let me tag the listing one as 2.4114:25
mupPR snapd#7332 closed: tests: remove trailing spaces from shell scripts <Simple πŸ˜ƒ> <Created by zyga> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/7332>14:25
zygaThank you mvo14:25
mupPR snapd#7337 opened: tests: re-enable mount-ns test on classic <Created by zyga> <https://github.com/snapcore/snapd/pull/7337>14:31
zygamvo: all stuff fails on travis14:39
zygaE: Failed to fetch http://apt.postgresql.org/pub/repos/apt/dists/xenial-pgdg/main/binary-i386/Packages  Writing more data than expected (788347 > 787357)14:39
zyga26914:39
mvozyga: yeah, I noticed - I don't think we can do much, this is in the travis setup itself14:39
zygacorrect :/14:39
mvozyga: I wonder if #travis is a thing to report issues14:39
mvozyga: but I guess nowdays #twitter is the thing :P14:40
zygaI'm sure  they know14:40
zygayeah14:40
zygawhere the kids and crazy world leaders (or is that that same thing) are14:40
zygamvo: random simple patch from my pile https://github.com/snapcore/snapd/pull/733814:40
mupPR #7338: tests: move restore-project-each code to existing function <Simple πŸ˜ƒ> <Created by zyga> <https://github.com/snapcore/snapd/pull/7338>14:40
mupPR snapd#7338 opened: tests: move restore-project-each code to existing function <Simple πŸ˜ƒ> <Created by zyga> <https://github.com/snapcore/snapd/pull/7338>14:40
mupPR snapd#7339 opened: tests: don't look for lxcfs in mountinfo <Created by zyga> <https://github.com/snapcore/snapd/pull/7339>14:42
zygamvo: cna we unblock  https://github.com/snapcore/snapd/pull/719614:45
mupPR #7196: packaging: use passthrough for type:snapd <β›” Blocked> <Created by stolowski> <https://github.com/snapcore/snapd/pull/7196>14:45
=== ricab|bbl is now known as ricab
pstolowskicachio: https://github.com/snapcore/snapd/pull/7110 is green and can land?15:32
mupPR #7110: tests: new test to check the output after refreshing/reverting core <Created by sergiocazzolato> <https://github.com/snapcore/snapd/pull/7110>15:32
zygapstolowski: please hold on15:36
pstolowskiok15:36
mupPR snapd#7340 opened: tests: adding support for arm devices on ubuntu-core-device-reg test <Simple πŸ˜ƒ> <Created by sergiocazzolato> <https://github.com/snapcore/snapd/pull/7340>15:36
zygapstolowski: I asked two questions there15:37
zygacachio: can you please check those out?15:37
cachiozyga, sure15:38
zygaThanks15:38
zygaI'm mainly after avoiding network IO15:39
cachiopstolowski, yes15:39
cachio:)15:39
cachiopstolowski, first let me check the questions15:40
cachiozyga, answered15:45
cachiozyga, thanks for the review, I didn't know about those questions15:45
zygacachio: no worries, I just asked them a moment ago15:46
* cachio lunch15:49
zygacachio: replied again, sorry for being persistent about this15:49
mvozyga: anything new in the twitter sphere about travis :) ?15:49
zygamvo: sadly no15:50
zygamvo: no status on travis website15:50
zygaas in, all is green there15:50
mvobooo15:51
zygaI'm still in bed so if I don't respond it's me trying to re-orient to get less painful layout15:51
mvozyga: no worries, was just curious16:04
zygaoh, mvo is gone  :)16:07
zygahttps://paste.ubuntu.com/p/Pdx9qmqbdH/16:07
zygasome unexpected stuff here16:07
zygabut I should break now16:07
=== pstolowski is now known as pstolowski|afk
cachiozyga, ok, let me see how could be changed that16:22
cachiozyga, do you know which test is installing a local version of the snap?16:26
cachioI found some but in most of the cases we are building the snap as part of the test16:26
zygacachio: I don't remember from the top of my head, I recall seeing some that were installing a snap over itself but it was from "snap pack"16:26
zygayeah16:26
cachiozyga, what do you suggest in this case?16:29
zygasnap install /var/lib/snapd/snap/core_$rev.snap16:30
cachiozyga, ah, ok16:30
zygarev is read from readlink /snap/core/current16:30
cachioI'll try that16:31
* zyga eod16:38
cachiozyga, updated16:42
cachio:)16:42
mupPR snapd#7341 opened: many: introduce package seed and seedtest <Created by pedronis> <https://github.com/snapcore/snapd/pull/7341>17:32
zygatravis is back to normal17:51
ardaguclu_Hi, there are some FIXME comments in various places, is it ok handling some of them. For instance, "// FIXME: this really should be TypeCore" in the types package17:56
zygaardaguclu_: hey17:56
zygaardaguclu_: yeah, though it's best to try asking first as some are harder or more tricky than others17:56
zygaardaguclu_: but we 100% welcome all participation so please feel welcome :-)17:56
ardaguclu_zyga: thanks17:59
ardaguclu_creating unit tests and fixing bugs are the best ways to understand snapd codebase efficiently18:01
ardaguclu_that's why, I am really happy working these stuff :)18:01
zygaThere is always something to improve :-)18:02
zygaI’m working on making the integration test suite more robust18:02
zygaMainly by writing tools that detect misbehavior and adjusting tests not to do bad stuff18:03
ardaguclu_zyga: you are right, they are definitely not bad stuff.18:07
arnatiousHey all - I'm trying to run the code-insiders snap in an 18.04 lxd container and I'm just getting "dropping privs did not work"19:18
arnatiousThat look like a snap error or should I look elsewhere?19:19
kyrofaarnatious, it's definitely snap-related (comes from snap-confine if I remember correctly), just not sure what might be causing it. It's not a privileged container, is it?19:26
arnatiouskyrofa nope19:27
kyrofaHmm. zyga, any idea there? ^19:27
arnatiousIt has nesting enabled, and is being run from `lxc shell --user 1000 --env SHELL=/bin/bash -- sh -c /bin/bash`19:28
kyrofaarnatious, nesting shouldn't need to be enabled19:31
mupPR snapd#7342 opened: fixme: rename ubuntu*architectures to dpkg*architectures <Created by ardaguclu> <https://github.com/snapcore/snapd/pull/7342>19:41
mupPR snapcraft#2686 opened: New app handler (command-chain and no wrappers if command allows for it) <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/2686>19:52
mupPR snapcraft#2679 closed: colcon plugin: add ability to ignore packages in workspace <Created by danielwangksu> <Closed by kyrofa> <https://github.com/snapcore/snapcraft/pull/2679>19:58
mupPR snapcraft#2687 opened: colcon plugin: add ability to ignore packages <Created by kyrofa> <https://github.com/snapcore/snapcraft/pull/2687>19:58
mupPR snapd#7343 opened: tests: moving tests to nightly suite <Created by sergiocazzolato> <https://github.com/snapcore/snapd/pull/7343>21:50
mupPR snapcraft#2688 opened: Build base types <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/2688>22:43

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