/srv/irclogs.ubuntu.com/2017/12/12/#snappy.txt

SamYaplewililupy: you can do that at the kernel level00:01
wililupySamYaple: You have a link to a document/howto to configure this?00:03
SamYapleta00:04
SamYaplemoment00:04
SamYaplewililupy: http://www.linuxtopia.org/online_books/linux_kernel/kernel_configuration/re46.html00:05
wililupySamYaple: Thanks. I'll research this and see if it works.00:08
SamYaplei use it to isolate cores for dpdk myself, but its there to basically block the default scheduling unless you specifically set the process to run on that core00:09
=== chihchun_afk is now known as chihchun
mupPR snapcraft#1802 opened: metadata: extract metadata from appstream <Created by elopio> <https://github.com/snapcore/snapcraft/pull/1802>06:20
benccis it possible to reload instead of restart when upgrading a snap package?06:45
benccfor example when the package is nginx web server06:45
mborzeckimorning07:02
bshahHello, I am trying to build the 1.31 target on top of xenial base and I am hitting following error : /usr/bin/ld: cannot find -lsnapd-qt07:09
bshah(snapd-glib)07:09
bshahhttps://paste.kde.org/p9aqhbib5 is relevant part07:10
kalikianasnappy morning, folks08:03
mvohey kalikiana, good morning!08:06
SamYaplebencc: /win 708:17
SamYapleoops sorry, ignore08:17
* kalikiana coffee08:37
ackksergiusens, hi, can https://github.com/snapcore/snapcraft/pull/1617 be merged now that the snapd change is in 2.30?08:41
mupPR snapcraft#1617: Add options to configure applications socket activation <Created by albertodonato> <https://github.com/snapcore/snapcraft/pull/1617>08:41
mupPR snapd#4390 opened: tests: change interfaces-fuse_support to be debug friendly <Created by mvo5> <https://github.com/snapcore/snapd/pull/4390>08:44
mborzeckimvo: there's a conflict in #410308:44
mupPR #4103: snapstate: auto install default-providers for content snaps <Created by mvo5> <https://github.com/snapcore/snapd/pull/4103>08:44
mvomborzecki: thanks, I fix it08:47
mborzeckibtw. our tests could be used as a source of entropy for /dev/random08:50
mborzeckihttps://paste.ubuntu.com/26168835/, tar: /var/lib/snapd: file changed as we read it08:52
mborzeckipstolowski mvo, would you fancy reviewing #4373 ?09:00
mupPR #4373: snap: app startup after/before validation <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/4373>09:00
mvomborzecki: where do you see that tar issue?09:01
mvomborzecki: we need to figure out what is causing this, it happens very sporadically. is this 14.04? or a different release/distro?09:03
mborzeckimvo: https://github.com/snapcore/snapd/pull/4285#partial-pull-merging09:05
mupPR #4285: tests, spread: add Arch Linux to CI systems <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/4285>09:05
mborzeckimvo: i think we need to add some logging to spread09:10
mborzeckispecifically, log the label of the node that the task is running on09:10
pstolowskimborzecki, sure09:18
popeydiddledan: seen https://github.com/snapcrafters/corebird/issues/20 ? Suspect it might be wayland issue?09:26
mborzeckimvo: do you know if we require CONFIG_USER_NS ?09:35
sborovkovHi. Is there some snaps api that allows me to restart my snaps? Same with systemctl restart...09:37
mborzeckisborovkov: snap restart <service-name>09:39
mborzeckisborovkov: systemctl restart snap.<snapname>.<app> should do the trick as well, eg. systemctl restart snap.lxd.daemon09:42
sborovkovyeah but I meant with permissions. Something I can call from my own python code.09:43
sborovkovinside the snap09:43
sborovkovI want to be able to restart some of my own services if some health check failed for instance09:44
pstolowskisborovkov, yes, it's coming with new snapd release. snaps can call snapctl start/stop/restart ... for own services09:45
sborovkovnice09:45
sborovkovthanks09:45
pstolowskisborovkov, this should become available at any moment now with 2.30.x09:46
=== __chip__ is now known as Chipaca
pedronismvo: do spread tests pass sometimes?   I'm getting timeouts all the time10:00
Chipacapedronis: linode, or the tests themselves?10:02
pedronisChipaca: travis timeouts, tests taking 49mins+10:03
Chipacaaw :-(10:03
kalikianapedronis: for snapcraft we had to restructure and split the test suite more than once to get around those timeouts10:07
kalikianait'd be impossible to run in one go10:07
mvopedronis: they do pass sometimes but things are not going well currently10:08
kalikianaAlthough I'd like to think it has one benefit, which is that we can retry individual steps, it is somewhat forced10:08
mvopedronis: let me check if I can see anything10:08
mvomborzecki: I don't know about CONFIG_USER_NS, sorry10:08
kalikiana(where we really means elopio)10:09
mborzeckimvo: we could split travis into subjobs10:09
kalikianamvo: this is what we've got now https://github.com/snapcore/snapcraft/blob/master/.travis.yml10:09
mvomborzecki: yeah, that might help10:09
mvokalikiana: aha, interessting10:10
mborzeckimvo: pack each distro into a separate job10:10
* mvo looks at the logs why things are so slow10:11
mborzeckimvo: i can look into splitig travis jobs if you're busy10:14
pedroniswe had more jobs at some point but Gustavo argued against that, so far we have just usually thrown more machines at the problem10:19
sergiusenskalikiana morning. Mind dedicating some time to review snapcraft#1793 ?10:24
mupPR snapcraft#1793: project: refactor storeapi <Created by daniellim2000> <https://github.com/snapcore/snapcraft/pull/1793>10:24
sergiusenspedronis mvo you could also rearchitecture spread so it calls back to github through a webhook with pass/fail and keep travis as the triggering mechanism only10:25
sergiusensor even trigger it through a webhook10:26
sergiusensif you do that, we will migrate to spread completely :-)10:26
sergiusensmore machines when you can only run 5 instances at a time is not really going to scale10:27
sergiusenspopey not sure you saw, but snapcraft#1801 would solve the docker problem10:27
mupPR snapcraft#1801: lifecycle: detect docker to auto setup core <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/1801>10:27
popeysergiusens: it was less that the issue exists, and more that we have hidden magic environment variables that are undocumented that concerned me10:28
kalikianasergiusens: morning! I'm in the middle of a branch merge. Will check it in a few minutes when that's sorted10:29
mupPR snapd#4391 opened: travis, run-checks: split travis job into build matrix <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/4391>10:30
mborzeckilittle experiment ^^10:31
mupPR snapd#4392 opened: many: refresh with appropriate creds <Created by pedronis> <https://github.com/snapcore/snapd/pull/4392>10:32
mvomborzecki: heh :)10:45
mvomborzecki: the unit test job takes a long time, the other ones are really fast10:45
mvomborzecki: but I would like to understand better why we are so slow10:46
mvomborzecki: definitely an interessting PR10:46
mborzeckimvo: the upside is that if one distro fails whatever reason, you don't have to restart everything10:48
mborzeckiand we tend to fail on the little things like this one https://paste.ubuntu.com/26169351/10:48
mvomborzecki: the other upside is that we know exactly what distro caused the timeout10:48
mvomborzecki: I like it10:48
mvomborzecki: *if* we move to this model, we need to adjust the number of parallel travis runs we allow. currently it is limited to three runs because we need so many machines. if we go matrix we can increase this limit quite a bit11:01
* kalikiana short coffee break11:12
mborzeckimvo: 14.04 pushing it to 46 minutes with 13 tests still left11:16
mborzeckimvo: ideally, if unit tests are taking too long, we could split them into a separate job11:17
mvomborzecki: yeah, the unit tests are interessting, they take ~10min but we want to run them in spread so that we validate the unit tests on each arch/release11:36
mvomborzecki: also interessting to get the pre-distro/release breakout of the times11:39
mborzeckimvo: what i meant is that tests/unit could be put on a job run by spread, separately from other tests under tests/main or tests/regressions11:39
mvomborzecki: before that was difficult to get11:39
mvomborzecki: yeah, worth a shot for sure11:40
mvomborzecki: do you think you could do a separate PR so that we can see the results?11:40
mborzeckisure11:41
mvomborzecki: thank you11:41
mvomborzecki: also the output is much easier to read (i.e. failures easier to find). I like this more and more :)11:42
cachiomvo, hey, I'll be 5 minutes late today11:52
mvocachio: no worries11:56
mborzeckimvo: is there a way to exclude tests in spread command line?11:56
Chipacamborzecki: not afaik, but imho there should be11:59
Chipacamborzecki: you need to list them all ( spread $( spread list linode: | grep -v yadda ) )12:00
Chipaca-list, not list12:00
mborzeckii'd like to run all jobs for linode:ubunt-16.04-64 but exclude tests/unit, ideally something like `spread linode:ubuntu-16.04-64 -tests/unit`12:02
* Chipaca nods12:02
Chipacamborzecki: but, if it's that level, you could iterate one level down12:03
Chipacamborzecki: i mean, there's three things at that level12:03
Chipacaoh, maybe some more12:03
Chipacamborzecki:  linode:ubuntu-16.04-64:tests/{main,completion,upgrade,regression}/... should do it12:08
mborzeckiChipaca: thanks12:08
Chipaca¯\_(ツ)_/¯12:08
Chipacamborzecki: i charge in reviews of gnarly code with obfuscated names12:09
ackksergiusens, hi, did you see my message above?12:11
sergiusensackk yeah, is 2.30 widespread already?12:12
ackksergiusens, IDK that12:13
sergiusensackk according to this, it seems to have only been tagged, https://forum.snapcraft.io/t/2-30-release-cycle-started/299712:13
ackksergiusens, I see. although until that feature lands in snapcraft it's hardly going to be testable in pre-releases12:15
sergiusensackk it should be by building from the branch; this is what I am worried about and it has already happened... if during testing something proves need changes and we release a snapcraft.yaml with what is now considered broken we need to keep that feature forever12:21
ackkI see12:22
sergiusensI understand that testing the feature using some build system might be a bit more complex, but it is not untestable entirely12:22
mupPR snapd#4393 opened: travis: separate unit tests into separate build matrix jobs <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/4393>12:35
greybackCan I get a hand with running snapd's unit tests? Under artful, running ./run-checks --unit fails (this issue: https://forum.snapcraft.io/t/snap-seccomp-fails-tests-on-artful-is-it/2263/4)12:57
mborzeckimvo: #4393 should be running with unit tests in a separate job12:57
mupPR #4393: travis: separate unit tests into separate build matrix jobs <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/4393>12:57
mvomborzecki: cool, looking12:58
greybackIf I run tests in a xenial chroot, I fail with a different error: http://pastebin.ubuntu.com/26169908/12:58
greybackhow are people running these tests?12:59
mvogreyback: usually just ./run-check - that should pull in things, let me look at the poastine12:59
mvogreyback: and we have a meeting now, so we will be a bit slow replying12:59
mborzeckigreyback: make sure you have these dependencies installed https://github.com/snapcore/snapd/blob/master/tests/lib/pkgdb.sh#L34713:01
greybackmvo: ack. I've always used ./run-check first, that does grab dependencies. But fails at same place in the unit tests13:02
jdstrandgreyback: guessing here: did you 'sudo apt-get build-dep snapd'?13:03
greybackjdstrand: yep13:03
jdstrandgreyback: do you have libc6-dev-i386 installed?13:04
jdstrand$ dpkg -S /usr/include/sys/cdefs.h13:05
jdstrandlibc6-dev-i386: /usr/include/sys/cdefs.h13:05
greybackjdstrand: no, just the amd64 version. I'll try the i386 but will be mystified if it works13:05
jdstrandgreyback: I installed gcc-multilib and it pulled in a few things13:06
jdstrandgreyback: ./packaging/ubuntu-16.04/changelog:    - snap-seccomp: run secondary-arch tests via gcc-multilib13:06
greybackjdstrand: aha ok. The dependency grabber will need updating to reflect that13:07
jdstrandgreyback: if 'apt-get build-dep snapd' isn't getting you there, look in packaging/ubuntu-<your version>/debian/control and see if there are missing build deps that you need to install13:07
jdstrandgreyback: I think the dep grabber is mostly about go deps. I'll let mvo comment further on all of this, but hopefully you are unblocked13:08
greybackjdstrand: I think I am, tests have progressed beyond the usual error point13:08
greybackthanks for that13:08
jdstrandcool13:09
jdstrandgreyback: so, apt-get build-dep is quite handy and can usually get you there, the problem is it doesn't know about new changes to debian/control that might not be reflected in the archive for the deb-src lines you have configured13:10
greybackjdstrand: sure, I know that, I just trusted the run-checks script to pull in its dependencies13:10
Chipacajdstrand: greyback “apt build-dep ./” works13:10
jdstrandoh, that's handy13:11
greybackChipaca: oh taht's handy13:11
jdstrandChipaca: hehe13:11
* mvo wrote that some years ago :-D13:11
Chipacajdstrand: greyback: hug mvo for that one13:11
* greyback hat-tips mvo13:11
* jdstrand hugs mvo for that one13:11
jdstrand:)13:11
* mvo hugs greyback and jdstrand 13:11
jdstrandgreyback: re run-checks> yeah, it doesn't do that I suspect because it doesn't use sudo for things13:13
jdstrandgreyback: run-checks could certainly be made friendlier though13:14
jdstrandor the README could say: be sure to have all the distro dependencies installed. For example, on Ubuntu run 'sudo apt-get build-dep ./' :)13:15
mvojdstrand: +113:15
jdstrandmvo: actually, that brings up a question I have. I had trouble building trusty the other day. I moved debian/ aside and copied packaging/ubuntu-14.04 to debian/, but it still didn't work. what should I do?13:17
jdstrandmvo: now that I say that, I didn't do 'apt-get build-dep ./' in the chroot13:17
jdstrandjust the dpkg-buildpackage13:17
* jdstrand tries13:17
jdstrandI see it is a symlink13:18
jdstrandanyway, I'll play and reask13:18
mvojdstrand: thanks, let me know how it goes13:18
jdstrandhmm, trusty's apt-get doesn't seem to like that13:22
mvojdstrand: yeah, its old and crufty. try gdebi ./debian/control13:22
sergiusenselopio did you see my comment from yesterday about the integration tests not running from the snapcraft snap?13:25
roadmrsergiusens: good morning! hey is there still time to fix bugs for snapcraft 2.37 before it goes out to stable?13:31
sergiusensroadmr what is the problem?13:32
sergiusensroadmr 2.37 is already released, if there is a blocker it will just not go to stable and to stay in beta/candidate instead13:32
sergiusensthat said, there is still time to make it into 2.38 :-)13:33
roadmrsergiusens: interesting... https://bugs.launchpad.net/snapcraft/+bug/1737571 is the problem (I want a poop emoji in my description dammit!)13:33
mupBug #1737571: stack trace when description or summary contain non-ascii characters <Snapcraft:New> <https://launchpad.net/bugs/1737571>13:33
sergiusensinteresting that popey has not discovered that ;-)13:33
roadmrsergiusens: I bet he uses only snoflake emojis, which mysteriously work fine13:34
* kalikiana time for lunch! hopefully including a massive salad13:36
Chipacahmmmmmmmm13:39
* Chipaca needs to open a snap in a context where it's not been validated yet13:39
Chipacabut! but, i don't need to do anything dangerous with it -- it's only open in the sense that i call snap.Open() on it -- i then just need to look at its contents, a la listdir13:40
mvoChipaca: hm, will you call unsquashfs -ls on it?13:42
Chipacamvo: yes, or (*os.File).Readdir if it's a snapdir13:42
mvoChipaca: *nod*13:43
Chipacamvo: should I add knowledge of what's safe and what's unsafe to snap containers?13:43
mvoChipaca: my gut feeling is yes13:43
Chipacamine as well13:44
Chipacabut it does feel like a separate branch13:44
jdstrandmvo: I'm in an up to date trusty schroot. I ran gdebi ./debian/control then DEB_BUILD_OPTIONS=nocheck dpkg-buildpackage and it fails. it seems like GOPATH/etc isn't setup right, but I would've expected debian/rules to do that...13:44
Chipacajdstrand: did you ./generate-packaging-dir?13:44
mvoChipaca: I am also a tiny bit uneasy about unsquashfs on untrusted content as its C and the snap comes from a user and snapd will validate it as root. or will we do the validation enitrely in snap itself at first?13:44
jdstrandChipaca: no, I updated the symlink manually13:45
jdstrandlet me try that13:45
Chipacamvo: gnome-software would have to do it separately if it were client-side13:45
jdstrandsame thing13:45
Chipacajdstrand: yeah all that does is update the symlink13:45
Chipaca:-/13:45
Chipacajdstrand: did you add proposed and the ppa?13:45
jdstrandno13:46
* jdstrand does that13:46
Chipacajdstrand: look in tests/lib/prepare-restore.sh, if you look for ppa you'll find yourself in a 14.04 bloock13:46
mvoChipaca: indeed, good point13:46
Chipacamvo: but, agreed13:46
Chipacamvo: in which case i can only do this check rather late (post validation)13:47
mvoChipaca: tricky, I wonder if we could confine it?13:47
mvoChipaca: \o/13:47
mvoChipaca: thats fine then13:47
Chipacamvo: OTOH I can do it earlier for local files13:47
Chipacaso that should get rid of the most egregious whoopsies13:47
mvoChipaca: sounds good13:48
Chipacak13:48
Chipacajdstrand: I don't know how much of that is necessary (i'm sure it was at some point), but i know that with all that it builds13:49
Chipaca(as i was going over that repeatedly last week)13:49
mvojdstrand: re trusty> one slightly tricky thing is that you need the go-deps in vendor/ to build the package and for that you need the GOPATH so that govendor can update your vendor/ subdir13:56
mvojdstrand: does that make sense?13:56
mvojdstrand: this makes building a deb from git slightly harder as it expects to be in a valid GOPAHT13:57
pedronisChipaca: where do you need to open a snap? we are very careful about where we do that or not?14:01
Chipacapedronis: yes, we are14:01
pedronisChipaca: I don't see the win or opening an unvalidated snap to check if the exec bits are right14:01
pedroniswe should assume the store the did job no? so if we are late it's wrong well too bad (it should be rare)14:02
Chipacapedronis: it's late enough that it ends up in errors.u.c14:02
Chipacapedronis: but, i can run it earlier for local snaps14:02
pedronisChipaca: do we really send to errors.u.c  for local snap?14:02
pedronismaybe that is the problem14:02
Chipacapedronis: so that's good enough (that's what i concluded from the discussion with mvo)14:02
Chipacapedronis: yes we do14:02
pedronisseems wrong14:03
pedroniswe should stop to do that14:03
Chipacapedronis: perhaps :-)14:03
Chipacai'm trying to not branch this branch any further though :-)14:03
Chipacai'll look into that next, then14:03
mupPR snapd#4386 closed: release: 2.30.rc3 <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/4386>14:05
Chipacapopey: is there a snap in the store you know of with the wrong permissions bug?14:12
popeyno, it's a private snap14:20
mupPR snapd#4394 opened: snap: give the snap.Container interface a Walk method <Created by chipaca> <https://github.com/snapcore/snapd/pull/4394>14:20
Chipacaok i split the checker into the walker (^^) and the snapstate thing that uses this. Still adding tests to the latter, and it splits cleanly.14:20
Chipacapopey: ah well, nm14:20
jdstrandChipaca, mvo: ok, so the issue seemed to be that I didn't have the trusty build directory down in GOPATH and I needed to run 'govendor sync'. I was surprised that I needed to do that-- I was thinking it would act like 'apt-get source snapd ; cd snapd-* ; dpkg-buildpackage"14:27
mvojdstrand: unfortunately not from a git checkout as we do not store all the vendor/ deps in git14:27
jdstrandah14:27
Chipacajdstrand: the go devs are aware how nasty it is that go needs this faffing around and intend to fix it someday14:28
Chipacathey haven't said if that comes before or after generics :-)14:28
jdstrandmvo: so the fact that I ran govendor sync within a trusty chroot (but shared HOME), is that going to mess with my normal xenial schroot builds (that uses the same GOPATH in HOME)?14:28
jdstrandI think I'll just make a note to rm -rf $GOPATH/pkg and govendor sync after to be 100% sure14:32
om26er@popey Hey! mind taking a look at https://github.com/snapcrafters/android-studio/pull/9 ?14:35
mupPR snapcrafters/android-studio#9: Ship packages required to run emulator <Created by om26er> <https://github.com/snapcrafters/android-studio/pull/9>14:35
mvojdstrand: it should not mess up your pkgdir because it should only install into ./vendor14:35
jdstrandmvo: ah, good to know14:36
Chipacajdstrand: ps GOPATH is a path... "${GOPATH%%:*}/pkg" if you're putting that in a script14:36
jdstrandChipaca: ack14:37
kalikianare14:38
sergiusenspopey flexiondotorg where is the repo for vscode?14:40
sergiusensor the snapcraft.yaml that makes the vscode of today a thing14:40
flexiondotorghttps://code.launchpad.net/~flexiondotorg/+junk/snap-vscode14:40
flexiondotorgNew version pushed to edge yesterday,14:41
mupPR snapd#4395 opened: update HACKING.md for distro build dependencies <Created by jdstrand> <https://github.com/snapcore/snapd/pull/4395>14:41
jdstrandmvo, greyback: fyi, ^14:41
popeyom26er: looking14:41
jdstrandI didn't do anything for trusty there14:42
jdstrandjust the apt-get build-dep ./ bit14:42
Chipacajdstrand: apt-get doesn't have build-dep ./14:43
Chipacajdstrand: that's apt14:43
jdstrandit worked here14:43
Chipaca… oh14:43
* Chipaca looks14:43
jdstrandI just tested it in a xenial chroot14:43
* jdstrand tries again14:43
Chipacadang14:43
Chipacayes, it works with apt-get14:43
Chipacawichcraft14:43
jdstrandheh14:44
mvojdstrand: thanks for this14:45
jdstrandmvo: fyi, I passed along 'apt-get build-dep ./'. that is super cool :)14:49
jdstrandit's the little things in life...14:49
sergiusensflexiondotorg oh, launchpad, that's why I couldn't find it :-)14:49
sergiusensflexiondotorg I want to test getting rid of your LD_LIBRARY_PATHS in there14:49
sergiusenswith the latest snapcraft in beta14:49
mvojdstrand: thanks!14:50
flexiondotorgOK, So if I push the current edge to stable we cam play in edge?14:50
flexiondotorgWe'll also need to feed this back up to the ISVs creating classic snaps, right?14:50
elopiosergiusens: I think we lost somewhere the SNAPCRAFT_FROM_INSTALLED=1 env var. Do you want to add it in your PR, or should I do one just for that?15:10
sergiusenselopio might have been lost since that refactor, please create a PR, also remove the installation of requirements.txt and all the apt dependencies15:11
sergiusensunless they are needed to satisfy requirements-devel for the test runner15:12
elopiosergiusens: ah, no, not true. It's just hardcoded a little deep: https://github.com/snapcore/snapcraft/blob/master/tools/travis/run_lxd_container.sh#L5615:12
elopiosergiusens: from the log of your execution: snapcraft 2.37+git5.65eb587 installed. That's the right commit. And the call that fails is ['snapcraft', '-d', 'prime']15:22
elopiowe are not installing the sources anytime. And the container doesn't have the snapcraft deb preinstalled.15:23
elopioare you sure the only way this could fail is if snapcraft is not being run from the snap built from the pr?15:23
mvojdstrand: if you have a moment for 4381 that would be great. its hopefully super trivial to review15:41
jdstrandmvo: done15:45
mvojdstrand: ta15:45
mupPR snapd#4381 closed: interfaces: add /proc/partitions to system-observe <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/4381>15:46
sergiusenselopio http://pastebin.ubuntu.com/26170868/, I will add that to the debug line, if it False, we are certainly not running from the snap15:48
mupBug #1636540 changed: please support creating pipes via mknod <snapd-interface> <Snappy:Fix Released by jdstrand> <https://launchpad.net/bugs/1636540>15:55
mupBug #1617275 changed: the home interface doesn't allow access to $HOME/snap-confine <snapd-interface> <Snappy:Fix Released by jdstrand> <https://launchpad.net/bugs/1617275>16:10
mupBug #1725208 changed: missing interface to exec cc <snapd-interface> <Snappy:Won't Fix> <https://launchpad.net/bugs/1725208>16:22
mupBug #1612759 changed: fchown system call is blocked by seccomp under confinement <snapd-interface> <Snappy:Fix Released> <https://launchpad.net/bugs/1612759>16:25
mupBug #1636229 changed: getpwnam() and parsing /etc/passwd gives wrong value for HOME to snaps <snapd-interface> <Snappy:Invalid> <https://launchpad.net/bugs/1636229>16:28
pstolowskioh my, just fixed all the ifacestate tests for autoconnect changes hoping that's mostly it, but snapstate tests have 10x more failures :/. fun16:34
Saviqhmm is there known outage of the store services? my `snapcraft push` times out after trying to process the delta for 60s)16:39
* Saviq clears cache to force a full upload16:43
daniellimwshi16:48
Chipacadaniellimws: hi16:48
elopioroadmr: hey, I'm looking at bug #1737571.  Sergio said you might be working on it, is that true? I don't want to duplicate your work :)16:49
mupBug #1737571: stack trace when description or summary contain non-ascii characters <Snapcraft:New> <https://launchpad.net/bugs/1737571>16:49
kyrofaHey there daniellimws, thanks for joining!16:49
daniellimwsthanks for inviting :)16:49
kyrofasergiusens, elopio there's your man ^16:50
roadmrelopio: oh no :) I just filed it16:52
roadmrelopio: I filed it because we found it while tinkering with metadata but I think it's something unrelated, because it happens when building a snap with weird chars in the snapcraft.yaml16:53
roadmrelopio: there was also a unicode-related bug in the store (https://bugs.launchpad.net/snapstore/+bug/1737566) but we have a fix for that16:53
roadmrelopio: so tl;dr not really working on it, sorry :( if you could that'd be swell16:53
elopioroadmr: I will try to fix it this week.16:56
roadmrthanks elopio!16:56
elopiodaniellimws: hey, I am wondering if you are ready for a new task, I have one that might interest you16:56
daniellimwsyea i think my current one should be done soon16:56
Chipacasnapd#4394 is green, if anybody is looking for something to poke at16:56
mupPR #4394: snap: give the snap.Container interface a Walk method <Created by chipaca> <https://github.com/snapcore/snapd/pull/4394>16:56
elopiothe problem is that it's abandoned, and I don't know how to recover it. kyrofa do you know?16:56
daniellimwsrunning the test cases now16:56
daniellimws*running them locally16:57
kyrofaelopio, huh. Let me look16:57
elopiokyrofa: https://codein.withgoogle.com/dashboard/task-instances/6180198217154560/16:57
cachiomvo, we have 2.30 in candidate16:57
daniellimwsah i wanted to work on this but couldnt find it16:57
elopiowell, actually it's better that it's blocked. That way nobody can take it while we review your current PR16:58
kyrofaDangit this codein site is so annoying... it keeps taking my primary account, and doesn't support switching. sergiusens I think that's why google has been broken for us lately16:58
daniellimwselopio: haha that's great. and I still have a beginner task to spare16:58
elopiodaniellimws: here's the description: http://paste.ubuntu.com/26171261/ Please let me know if it sounds fun to you16:58
elopiosergiusens: who's our travel authorizer? Mark?16:59
daniellimwselopio: i recall there was also a task about snapcraft stats, but its not there now. Has anyone done it?16:59
elopiodaniellimws: yes, the one about stats is done: https://github.com/elopio/random-scripts/pull/117:00
mupPR elopio/random-scripts#1: Add gathering data from github <Created by DeniskaMazur> <https://github.com/elopio/random-scripts/pull/1>17:00
kyrofaelopio, we can add another instance easily17:00
kyrofaelopio, but you're right, let's wait until daniellimws is ready17:00
kalikianakyrofa: sergiusens: elopio: shared the minutes. I decided to go for fairly verbose in a couple of sections, which I hope you find useful, though if you think it's too much detail just let me know what you'd prefer17:06
kalikianahey daniellimws!17:08
kalikianaI see you already saw my comments on #1793 - I'm wrapping up for the day, but I'll give it another look in the morning (for me it's dinner time)17:09
mupPR #1793: asserts: initial support to generate/sign snap-build assertions <Created by caio1982> <Merged by niemeyer> <https://github.com/snapcore/snapd/pull/1793>17:09
kalikianabah17:09
kalikianaI meant snapcraft#179317:09
mupPR snapcraft#1793: project: refactor storeapi <Created by daniellim2000> <https://github.com/snapcore/snapcraft/pull/1793>17:09
daniellimwskalikiana alright thanks. I'll push soon once I fix all the test errors.17:10
kalikianadaniellimws: Awesome!17:11
* kalikiana out for today, o/17:16
mvocachio: yay! thank you17:35
cachiomvo, yaw17:36
sergiusenselopio https://travis-ci.org/snapcore/snapcraft/jobs/315458083 -> "snapcraft from snap: False; so patchelf set to 'patchelf'"18:14
sergiusenselopio kyrofa the fact that the 'snapcraft-parser' tests work at all is telling me that it is running from the venv18:21
elopiosergiusens: the things is to find where is that venv being set up18:22
elopiosergiusens: can you add which snapcraft to that debug execution?18:25
sergiusenselopio it is horrible18:33
sergiusensI just pushed a fix18:33
sergiusensto make this deterministic18:33
sergiusenskyrofa will be there in a bit18:33
kyrofaOkay18:33
mupPR snapcraft#1803 opened: ci: correctly run from snap <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/1803>18:34
wililupyIf I want to add isolcpus=2,3 to the grub CMDLINE value "the correct way" how do I do that?18:44
wililupyI modified the /boot/grub/grub.cfg and added the line in the set cmdline variable and it works, but I fear that if there is an update to the device it will revert back to original settings and would like this permanent across grub-update(s).18:55
mvowililupy: you can test this via "snap refresh --candidate core" for example, currently grub.cfg should be safe iirc. I think longer term we want to add support for grub.cfg settings via the "snap set core " configuraton options18:56
wililupymvo. I"ll give that a test, but that sounds amazing!18:57
mvowililupy: if things look good you can "snap refresh --stable core" to get back to the stable core19:00
mvowililupy: you could also try to update the gadget and the kernel just to be on the safe side19:01
wililupymvo: cool I'll give it a shot and see. I'll keep you posted.19:02
mvothanks19:03
wililupymvo so updating core snap keeps the grub config, so that good. Testing kernel and gadget next.19:04
mvowililupy: yeah, iirc it should work until we implement gadget assert updates but then we will also implement a core config options for that I think. feel free to open a topic on forum.snapcraft.io about your use-case, then we can discuss how to best implement grub.cfg manipulation via snap set19:10
wililupymvo cool. I will take it to the forum :)19:10
kyrofaIs it just me, or does my rpi2 take a LOT longer to boot and start running services if it's not connected to a network?19:18
kyrofaDoes it have a 60 second IP address timeout or something?19:18
cachiomvo, I am working in a test for system-trace interface, I was wondering if it is ok to use the bcc snap for that or it should be better to create a test one19:19
cachiomvo, what do you think?19:19
mvocachio: I think its ok to use bcc, we nowdays send a header to the store when a snap is under testing19:25
cachiomvo, great19:25
cachiotx19:26
mvocachio: I need to double check if that is also true for e.g. external: tests that where we don't build snapd ourself, but even then we can probably do something. and worst case we just fork bcc19:26
mvocachio: could you talk to apw tomorrow/in the next days about snapd 2.29.4.2 for -updates? afaict all remaing autopkgtest issues are some network hickups or similar19:27
cachiomvo, sure19:27
cachioI'll see that tomorrow19:28
mvocachio: thank you! yeah, thats fine19:28
cachiomvo, anjoy your vacations19:28
cachioenjoy19:28
mvocachio: thank you, appreciated! I will be a around a little bit longer, I want to finish my current task but then I do look forward to take a break :)19:29
kyrofacachio, have you noticed Core taking longer to come up without network?19:36
cachiokyrofa, the one in candidate?19:37
cachiokyrofa, I'll check that, where sis you see that?19:37
kyrofaNo, I guess I'm using stable these days19:37
cachiokyrofa, ok, I'll check it19:38
kyrofacachio, I'm running a rpi2 based on the edge image, but refreshed core to stable after an update got hung up19:38
cachiokyrofa, ok, I don't use edge image, I'll try to reproduce it19:41
cachiokyrofa, the hung was after the reboot? or before?19:41
kyrofacachio, I wrote about the hung update here (although this was a while ago, I doubt it's related to the fact that the boot seems to take longer when it has no network): https://forum.snapcraft.io/t/raspberry-pi-2-edge-core-snap-seems-broken/3061/419:42
cachiokyrofa, in this change -> Setup snap "core" (3443) security profiles (phase 2)19:44
cachioit usually takes like 5~10 minutes19:44
cachiokyrofa, how long did it take when you raised that issue? do you remember that?19:45
kyrofaReally? Ouch, I probably didn't give it enough time then. I needed my interface connected!19:45
kyrofa5-10 minutes of downtime for an automatic refresh that prevents me from doing anything is too much19:46
benccis it possible to reload a snap on upgrade instead of restart19:47
benccuseful for nginx web server in a snap to keep connections19:47
Chipacabencc: i presume nginx is smart about that sort of thing? but sadly no, that would imply one revision of a snap doing ipc with another revision of the same snap19:48
cachiokyrofa, agree, it is too much19:53
cachiokyrofa, you can manually reboot it as workaround19:53
kyrofacachio, which, as it happens, is exactly what I did! Haha19:53
cachiokyrofa, hehe, I do the same19:53
kyrofacachio, how can a reboot make 5-10 minutes of work not necessary?19:53
kyrofaWhat's happening there?19:53
cachiokyrofa, the reboot is scheduled for 10 minutes after the refresh is done19:54
cachiokyrofa, during that time the setup is done19:56
mupPR snapcraft#1804 opened: meta: split the meta module <Created by elopio> <https://github.com/snapcore/snapcraft/pull/1804>20:41
=== Eleventh_Doctor is now known as Pharaoh_Atem

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