[05:19] morning [05:55] good morning [05:55] mborzecki: last week of school [05:55] any "holiday" plans? [05:56] yeah, i'm taking 2 weeks off in the beginning on july [05:56] and your kids/ [05:56] we're going away for a while together [05:56] nice [05:58] good morning mvo [05:58] hey zyga [05:58] zyga: good morning [05:58] damn, my emacs setup fell apart :( [05:58] mvo: hey [05:58] mborzecki: good morning to you as wlel [05:58] mvo: when does school finish for your family? [05:58] well [05:58] mborzecki: what happened with your emacs? [05:59] zyga: updated spacemacs and not it complains that there's no gocode, godef et al, probaly PATH messed up, or something special about zsh env files zshenv/zshrc [05:59] zyga: this is the last week - but its different for the different regions in germany, some finish later [06:04] yay, turns out i had to fix the spacemacs init file only :) [06:06] PR snapd#5330 closed: snapstate: support restarting snapd from the snapd snap on core18 [06:07] getting a second review for 5324 would be great! it has one review already [06:13] mvo: looking now [06:14] mvo: we should discuss what to do today, should I finish the work on system or is that premature and it needs more review and discussion [06:15] zyga: a good question, I would love to see it but maybe worthwhile to wait until the meeting after the standup [06:16] mvo: sounds good, I have other things I can finish meanwhile [06:16] mvo: if you merge it with your WIP branch and disable tests in ifacestate you can perhaps run spread and see how "far" it can go [06:17] zyga: cool idea, with 5324 I think I can almost propose a spread PR, I think there is just one trivial change for core18 left to get very basic spread working [06:17] zyga: and yeah, will be fun to run the entire thing :) [06:18] zyga: part of the challenge will be to review the tests to see which really need core and which just pull it in for no good reason [06:18] currently core is pre-installed before tests run [06:18] so most tests just blindly assume core [06:19] but yeah, it will be interesting to review tests to see what we ought to get [06:19] * mvo nods [06:19] I also wonder if we want to have tests/main be tests/main-on-core [06:19] that is, shall we specialise some suites for a given core [06:19] I don't know honestly [06:33] zyga: quick question about 5250 - do you think it needs an extra review? it has two +1 now, so we can (squash)merge it I think. I'm a little bit nervous about it but it looks very good and solves a real problem [06:34] hmm mhmm it's a tricky one [06:34] maybe ask someone from foundation that knows udev for a last look [06:34] zyga: yeah, I have the same feeling, tricky [06:34] zyga: good idea! [06:35] mvo: or, just ask lennart [06:35] xnox: if we needed to ask a udev expert in foundations for a review, what would be your recommendation? we would love to get a high level review of #5250 [06:36] PR #5250: interfaces/udev,misc: only trigger udev events on input subsystem as needed [06:36] zyga: *cough* you are joking, right? [06:36] no, really [06:36] just ask a direct question, "is this and this sequence of udev calls" a safe thing to do [06:59] mvo: reviewed === pstolowski|afk is now known as pstolowski [07:03] mornings [07:05] zyga: yay, thank you [07:05] pstolowski: good morning [07:06] pstolowski: hey [07:08] zyga: I like your idea, very nice, will do that now [07:12] zyga: hm, with the change the glob becomes a bit useless, right? snap-confine.core.111* basicly? but no issue as we just write a single file anyway [07:12] zyga: right? [07:12] hmm, let me look [07:14] yeah, the glob would just match that one fine [07:14] *file [07:14] zyga: the change makes the test much nicer to read [07:14] zyga: good stuff [07:14] zyga: i.e. all this crazy "strings.Replace("/", ".") etc is gone [07:14] yeah [07:15] it's more obvious what is going on [07:17] zyga: hm, but the glob needs to be something else or than snap-confine.core.111* because .111* also matches .1111 which we don't want [07:17] the glob doesn't need to use * [07:17] zyga: aha, nice [07:17] it can be literally the name of the file you want to create [07:17] the glob is there in case we want to "own" a namespace [07:17] since (AFAIK, correct me if I'm wrong) we also have a bit of code that cleans those up when a snap is removed [07:17] ... or do we? [07:18] zyga: yeah, we clean those up [07:18] zyga: and we have tests for that [07:28] https://paste.ubuntu.com/p/j3g5RqxFPZ/ iirc Chipaca saw something similar [07:29] error: e-book-client-error-quark[2] Conflicting UIDs found in added contacts, hmmm [07:29] address book persists between runs? [07:31] mvo: are you sure we can use * for revision? [07:31] this means that a setup for snapd 123 will remove profiles for snapd.122 [07:32] as the system will find a file matching the glob that is not described by the content map [07:32] zyga: yes, that is was we are currently doing [07:33] zyga: its not a regression but its not great either [07:33] mmm, I see [07:33] let's do it and see [07:33] zyga: its not ideal, we need to think how to improve it [07:34] zyga: I was also thinking it might be racy because we update the current symlink and then when snap run runs it will not yet have profiles for snap-confine [07:34] zyga: but fortunately the system-key fixes this, i..e we have code in snap run that waits for profile re-generation on system key mismatch [07:35] I agree, ultimately I think the profile ought to be removed only when the snap is removed [07:35] since for various reasons it can persist longer, even while the snap is inactive [07:36] zyga: +1 [07:36] zyga: I will do a followup with this [07:47] * zyga breakfast [08:01] moin moin [08:01] good day to you sir, on this lovely morning [08:01] finally got a test run that failed with econnreset with the new extra debug yesterday [08:01] if anybody's interested [08:02] :) [08:02] also didn't get more than a couple of hours of sleep last night, so i'm not seeing straight right now [08:03] Chipaca: I am interessted [08:03] mvo: I'll send you my paypal address [08:04] mvo: https://api.travis-ci.org/v3/job/393403309/log.txt [08:04] i also have a local copy of that if it goes away [08:05] Chipaca: the latest theory of cachio is that this happens when there is a "snap userd" leftover from previous tests [08:06] Chipaca: then "kill $(pidof snap)" fails [08:06] maybe killall instead of kill? [08:06] I mean, that might be one source of failures [08:06] but it's not this one [08:06] this one is definitely the 'no match' error [08:06] what I would really like is my measure patches to spread [08:06] so that we could put up walls around each test to ensure it doesn't leak [08:07] Chipaca: aha, looking [08:10] hm #5353 looking good so far, 5 runs, all but one green, that one was unrelated though (eds thing i pasted above) [08:10] #5335 [08:11] PR #5335: tests: fix for the download of the big snap [08:14] Chipaca: hm, this log does not (yet) contain the output of "ls -lh test-snapd-huge_*", right? or am I just missing it? [08:15] mvo: it does not contain output of that sort, no [08:15] mvo: where was that added? [08:15] Chipaca: thats slightly sad, it would be nice to know if the download simply finished, this is not logged yet, is it? [08:16] mvo: it does contain logs that say what it did though [08:16] mvo: yes it does say when it's finished [08:16] let me get that [08:17] Chipaca: is where the partial file output got added [08:17] Chipaca: https://github.com/snapcore/snapd/pull/5333 [08:17] PR #5333: tests: show status of the partial test-snapd-huge snap in econnreset test [08:17] mvo: that's on master, and i merged that master into thsi pr [08:17] mvo: so maybe i was wrong and it does include the ls [08:17] didn't see it tho [08:17] Chipaca: I don't see it [08:18] Chipaca: it would be good to know if the download finished successfully, I think this is what happend [08:20] Chipaca: oh nooooo [08:20] Chipaca: we have two debug: | in the test now [08:20] mvo: given it doesn't start downloading the assertion until the download is finished, I'd say you are correct [08:20] Chipaca: must be a double merge, this is why the debug output is missing [08:21] Chipaca: let me push a PR [08:22] mvo: I might add to that PR :) but yes [08:22] mvo: in any case: assertion download doesn't start unless snap download succeeded [08:23] so, fastly is _too_ good :) [08:23] * Chipaca wants to make it clear that this is not a complaint [08:23] Chipaca: haha [08:23] it's downloading 500MB in less than .1 seconds [08:23] Chipaca: maybe - or iptables is really slow appying the filter [08:23] Chipaca: I push something that adds more timestamps [08:24] Chipaca: we could make another episode of "speed" with this [08:24] mvo: I think it's time to add a slow writer debug thing [08:24] e.g. have a SNAPD_DEBUG_HTTP value of 8 mean 'be slow' [08:24] hmmm [08:25] PR snapd#5336 opened: tests: remove double debug: | entry in tests and add more checks [08:26] Chipaca: lets see if the times add up. I saw 50mb/sec download speed in tests so far but that means (even if it becomes more speedy) that the download will take ~10sec, even if its actually only 5sec but still a bit strange. so I would love to see logs [08:27] Chipaca: maybe we can even add a log in httpclient "fetched %q with size %v in %v seconds" or something? [08:27] Chipaca: anyway, a fun test issue to track down :) [08:28] ❝fun❞ [08:28] mvo: I asked this last week but I think I missed the response if any [08:28] what is inside that 1GB snap? [08:28] is it 1GB of random data? [08:29] zyga: I think so [08:29] zyga: I don't remember, let me check [08:29] what's the name? [08:29] zyga: I think /dev/urandom because otherwise it compresses too well [08:29] zyga: test-snapd-huge [08:30] thanks [08:30] fetching now [08:30] hm 536MB [08:30] I"m getting ~8MB/s [08:30] is it an electron app? :) [08:31] mborzecki: just the splash screen featuring 4K video [08:31] zyga: haha wish that technology exited in the 90s :P [08:32] offtopic, I recall my Samsung times when the Samsung website, when viewed in Korea, would display a 1080P full screen feed as the _background_ [08:32] the huge snap is actually 0.5GB as mborzecki noted [08:34] hmm my tiny user service for tmux was supposed to remain on logout, i guess it didn't :/ [08:38] zyga: so 0.5gb is not huge enough ;) [08:40] PR snapd#5324 closed: snap: run snap-confine from the re-exec location [08:41] mvo: should I go ahead with the limiting writer? [08:41] PR core18#27 closed: run-snapd-from-snap: start snapd after seeding [08:42] that is, having httputil's logger client slow things down for us [08:44] Chipaca: I would say lets wait a tiny bit to see what logs with timestamps show, i.e. I'm keen to learn what is going on, if e.g. ipstables takes 10s to run. or if it runs and then just does nothing for whatever reason to the running tcp stream [08:45] mvo: [08:45] 2018/06/18 08:44:37.358695 logger.go:82: DEBUG: < "HTTP/1.1 200 OK\r\nContent-Length: 536875008\r\nAccept-Ranges: bytes\r\nAccept-Ranges: bytes\r\nAge: 43918\r\nCache-Control: max-age=86400\r\nConnection: keep-alive\r\nContent-Disposition: attachment; filename=YVl7fwoQCPqOE2PGt5wxZnhu1lSJhvki_1.snap\r\nContent-Type: application/octet-stream\r\nDate: Mon, 18 Jun 2018 08:44:37 GMT\r\nEtag: cee7a99d-0a0d-4981-b2d6-563c667c332c\r\nLast-Modified: Sun, 17 [08:45] Jun 2018 20:32:12 GMT\r\nServer: TwistedWeb/14.0.2\r\nStrict-Transport-Security: max-age=2592000\r\nVary: Accept-Encoding\r\nVia: 1.1 varnish\r\nVia: 1.1 varnish\r\nX-Bzr-Revision-Number: 7463\r\nX-Cache: MISS, HIT\r\nX-Cache-Hits: 0, 0\r\nX-Request-Id: WybFTH8AAQEAAC3@nDwAAAB61\r\nX-Served-By: cache-lcy19224-LCY, cache-iad2645-IAD\r\nX-Timer: S1529311477.354131,VS0,VE1\r\n\r\n" [ 58ms; 9.26GB/s] [08:45] ^^^ 9 YIGAWATTS [08:45] Chipaca: wuuuut? [08:45] Chipaca: thats crazy [08:45] mvo: so, er, that's faster than we'll see if we blink [08:45] also, hot damn, i'm moving to wherever this is :) [08:46] Chipaca: sounds like we need a limiting writer :) [08:46] (it's probably in the USA so heck no) [08:46] Chipaca: well, I'm sure this is fastly inside GCE [08:46] Chipaca: but even then, *amazing* [08:46] mvo: here's hoping it's not fastly from somebody's garage [08:46] Chipaca: I will rent that garage [08:46] Chipaca: I'm sure they make apples there [08:47] Chipaca: anyway, nice find! that is amazing [08:47] I'll push a PR that adds those two bits of info, as it's useful to have [08:47] hm, maybe together with the limiting writer [08:47] Chipaca: aha, I was wondering where it comes from [08:47] Chipaca: did you try this in a gce machine? [08:47] mvo: yes, this is in gce [08:48] this is not my home network [08:48] i don't even get that speed from the switch [08:48] Chipaca: so "snap download test-snapd-huge" in a fresh machine? [08:48] mvo: yes [08:48] Chipaca: amazing [08:48] Chipaca: thanks, I think we have the answer then to the conundrum [08:48] mvo: it's s till up if you want me to try anything further [08:49] * mvo hugs Chipaca and hands him the hero-of-the-day medal [08:49] Chipaca: any chance our CDN is in google? [08:49] so two box spawn on the same rack because google updated the Borg with some AI [08:49] Chipaca: you could download some other big snaps just for fun [08:49] and then then RDMA some memory across [08:49] Chipaca: firefox, some electron apps [08:50] zyga: fastly.cdn.snapcraft.io is at least 3 hops away, on a different ip range [08:50] wow [08:50] then wow :) [08:50] zyga: still 18ms end to end [08:50] mtr thinks it's 5 hops [08:51] (18 ms ping, that is) [08:57] mmmmmm, maybe i was too hasty [08:57] mvo: ^ [08:57] i'm printing the response before reading the body :-( [08:57] * Chipaca needs a brown paper bag, now [08:57] Chipaca: so google doesn't have transwarp internet links? [08:58] zyga: disappointed [08:59] drat [08:59] Chipaca: heh :) [08:59] shoudl've used my head [08:59] Chipaca: I think you mentioned earlier you didn't sleep enough, I would hand you a cup of tea now in a real office :) [09:00] 'time' says snap download takes ~15s [09:00] Chipaca: hm, that *should* be plenty of time [09:00] Chipaca: same if you run it again? [09:00] Chipaca: I mean after "rm *.snap" [09:00] mvo: if I run it again, _without_ removing the snap, it takes 7s [09:01] Chipaca: hm, hm, even that should be enough [09:01] * mvo scratches his head [09:01] tcpdump [09:01] and see what happens [09:01] it takes ~3s to heck the hash [09:02] wow [09:02] HDD IO slow? [09:02] are we checking the hash in-flight? [09:02] zyga: not for the 'already there' case [09:02] zyga: when downloading, yes [09:02] mhm [09:09] * zyga zeroes on another layout fix [09:09] brace for a simple but boring review (large diff) [09:09] well, *test* diff [09:09] actual diff not large :) [09:15] 2018/06/18 09:15:36.223438 store.go:1546: DEBUG: Download succeeded in 5.264175609s ( 102MB/s). [09:15] mvo: ^ a little bit more believable [09:17] Chipaca: yeah, thank you [09:17] Chipaca: still really fast [09:17] i still want that 9GB/s world tho [09:19] heh, indeed [09:35] this is an interesting failure [09:35] https://travis-ci.org/snapcore/snapd/builds/393533806 [09:35] "network availability confirmed" [09:36] then bzzzt and silence [09:38] mvo, zyga, did you guys see the last post on https://forum.snapcraft.io/t/missing-information-in-the-documentation/5969 [09:38] that looks very weird [09:39] (given he is root ... ) [09:39] I replied [09:39] thx [09:39] but I won't look for a while, need to focus [09:39] ogra_: looks like they installed lxd, have running vms, and trying to 'apt remove' everything without uninstalling lxd first [09:40] ah ! [09:40] on the other hand that's just a guess, because they're not telling us what they did [09:40] yeah, it would have helped if he has kept the package names in the paste [09:40] they purposely have edited the output of some stuff, and are hiding or altering info without saying [09:40] *had [09:40] so it's not worth my time to debug further [09:40] * Chipaca might be particularly short of patience today [09:41] also, what, the 'apt remove snapd' produced no output at all? [09:41] it reads like a bad work of fiction [09:42] :shrug: [09:46] PR snapd#5337 opened: store: log a nice clear "download succeeded" message [09:49] Chipaca: would love to see those YB/s downloads [09:50] mborzecki: from quantity.go: // zetta and yotta are me being pedantic: maxuint64 is ~18EB [10:15] PR snapd#5337 closed: store: log a nice clear "download succeeded" message [10:20] mvo, niemeyer hey, I have a school meeting today, perhaps I'll arrive a bit late to the standup [10:21] cachio: ok [10:30] PR snapd#5338 opened: interfaces: move assertions around for better failure line number [10:32] pstolowski: ^ quick ack please [10:33] +1 [10:33] thnx [10:40] opensuse failed twice on zypper network operation [10:43] mborzecki: small conflicts in https://github.com/snapcore/snapd/pull/5314 [10:43] PR #5314: many: rename snap.Info.Name() to snap.Info.InstanceName(), leave parallel-install TODOs [10:50] PR snapd#5339 opened: tests: initial core18 spread image building [10:58] mvo: ^ reviewed [10:59] 2nd review for simple https://github.com/snapcore/snapd/pull/5315 [10:59] PR #5315: cmd/snap-update-ns: introduce mimicRequired helper [11:00] PR snapd#5338 closed: interfaces: move assertions around for better failure line number [11:01] Wimpress: Skype segfaults on startup on my Ubuntu 18.04 Wayland install but there's no clear place to report the bug given in the `contact` field of `snap info skype`? [11:01] *segfaults GNOME Shell [11:02] ads20000: does it work under x? [11:02] (so it plonks me back to the login screen) [11:02] I'll give it a go :) [11:02] I'm going to be a git and say if an app crashes your wayland (or x11), it's a wayland (or x11) bug [11:08] popey: seems to be OK on X, was crashed back to GDM once but I wonder if it's the Polari Flatpak... journalctl didn't seem too clear on that one [11:08] ads20000: you can file a bug now you have it running :) [11:08] ads20000: I had the same symptom with skype on wayland, and no Polari involved [11:08] Help -> Report a problem. [11:09] ah nice thanks popey! :) [11:09] np :) [11:09] but I agree with Chipaca that this is surely a gnome-shell/wayland/something bug (either exclusively, or in addition) [11:10] ah right I can't see those messages since I was logged out [11:10] until they're logged in a couple of hours... [11:10] pstolowski: maybe you again, pretty please: https://github.com/snapcore/snapd/pulls/zyga [11:10] https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/1760487 but expired for lack of requested info [11:11] the first one there [11:11] mimic required, green [11:11] Bug #1760487: Shell crashes when I start skype under Wayland session [11:11] * tomwardill -. lnch [11:12] ads20000: maybe you could follow the instructions in the bug above? I do have a crash from a few days ago but am not completely sure that it was from trying to start skype and I don't want to nuke my session right now ... [11:12] zyga: woah, that was quick :) [11:13] here's my log https://paste.ubuntu.com/p/K8KK65ftbk/ submitted via the form in Skype :) [11:14] reporting to Skype isn't the same as reporting the bug in Xwayland, though [11:14] you should hopefully have a .crash file in /var/crash/ that you can report as per the bug above [11:14] (it may not be a skype bug at all ...) [11:15] cjwatson: on it :) [11:15] great [11:25] PR snapd#5340 opened: cifs-mount-control interface (discussed in snapcraft.io forum post 5689) [11:27] cjwatson: please can you mark yourself as affected by https://bugs.launchpad.net/bugs/1777425 ? I've linked back to it in the other bug report :) [11:27] Bug #1777425: Skype snap segfaults GNOME Shell on Wayland [11:28] ads20000: done [11:31] ty [11:31] PR snapd#5315 closed: cmd/snap-update-ns: introduce mimicRequired helper === Son_Goku is now known as Conan_Kudo === Conan_Kudo is now known as Son_Goku [11:35] that skype taking down wayland bug is awfully like the slack thing on fedora [11:35] pedronis: hey, added a comment to your gadget PR [11:35] PR snapd#5336 closed: tests: remove double debug: | entry in tests and add more checks [11:49] pstolowski: they are a sort of auto-connection, we can also store the gadget flag in conns, if it will help in the future keeping this under control [11:51] Wimpress: Hi! Need review on https://github.com/snapcrafters/android-studio/pull/28 -- its mostly inspired by your similar pull request for sublime. [11:51] PR snapcrafters/android-studio#28: Embed autodownloads [11:51] PR snapd#5341 opened: cmd/libsnap-confine-private: intoduce helpers for validating snap instance name and instance key [11:52] zyga: ^^ [11:52] yeah, looking [11:53] queued, I'll do it soon [11:55] zyga: thanks [11:55] any PRs in need of a 2nd review? [12:01] mborzecki: I don't think so, though I'm working on one more [12:01] (at least not mine) [12:01] PR snapd#5081 closed: interfaces/apparmor: add chopTree [12:01] I suspect there are some things to review around [12:02] Mornings [12:04] mvo, pedronis, zyga: Our core18 meeting in 2h today is atop a weekly cross-team one.. same time tomorrow is empty atm [12:04] (every week) [12:04] ok [12:04] I should break for dog/lunch [12:05] pstolowski: I commented in the PR too, let me know what you think [12:08] mborzecki: there are again conflicts with #5314, it's looking good otherwise [12:08] PR #5314: many: rename snap.Info.Name() to snap.Info.InstanceName(), leave parallel-install TODOs [12:09] pedronis: yep, i saw that, thanks; why not single flags then and treat by-gadget appropriately? is it important to know it was coming from gadget at a later time? [12:09] pstolowski: you just said it is, to do the right thing with reconnect, no? [12:10] pedronis: thanks, pushed again, it should merge cleanly now [12:14] mborzecki: made a small comment now and before answered some of yours, overall +1 [12:14] pedronis: no, if there was no auto flag in conns on reconnect we would apply regular connect policy (which is what we want for these gadget connections). but if we decide to set auto on these connections then i think we need what you suggest about having 'by-gadget' in conns [12:17] pedronis: to summarize, i thinkfor gadget connections we need to either 1) set auto+bygadget in conns or 2) not set auto in conns [12:17] 1 sounds cleaner and more explicit [12:18] yea, given that the want most of the behavior of "auto" and it is a kind of "autoconnection" from the POV of the user [12:18] that seems the best [12:19] pedronis: thanks! [12:20] mborzecki: it's not a blocker, but we need to discuss the snap-name == app-name case though (it has influences also on aliases checks/rules later) [12:23] pedronis: yes, it's a bit confusing, i think i'd go with short app name only iff snap-name == instance-name, leaving others with snap-name.app-name [12:25] pedronis: damn, instance-name == store-name [12:26] names everywhere [12:26] I read snap-name as store-name [12:34] ok, break time, see you at the standup [12:36] niemeyer: thank you, I push it tomorrow then [12:46] mvo: there's again an overlap for Gustavo, a new meeting [12:48] PR snapd#5335 closed: tests: fix for the download of the big snap [12:52] pedronis: aha, let me check with his calendar [12:53] pedronis: I pushed it 30min later and we can shorter it to 30min [12:53] pedronis: maybe we can talk about the model assertion question (how to specificy channels in there) during the standup [12:54] mvo: yes, though I don't think we want channels as such, but I understand about tracks [12:58] brb, getting tea [13:35] PR snapd#5342 opened: tests: shellchecks part 4 [13:57] I have an interview with a temping agency using Skype so hopefully it doesn't crash _crosses fingers_! xD [14:10] mvo: related to the issue we discussed I created this: https://forum.snapcraft.io/t/evolving-prepare-image-syntax/5988 based on an old mail thread [14:13] pedronis: thank you [14:28] cachio: pardon my ignorance but is there a way to see the console of a machine in GCE? I pushed 5339 which runs a core18 spread test. this works locally when I run the qemu backend but for some reason it seems to not make it past the reboot and I wonder if the console gives any clues [14:28] mvo, yes [14:29] mvo, go to https://console.cloud.google.com/compute/instances [14:29] select the instance you want [14:29] hi. when using 'stage-packages' how do you indicate what distro/release will be used ? [14:29] cachio: cool, looking [14:29] thne you can see -> Serial port 1 (console) [14:29] Hallo. Installed the snap package "Ktube Media Downloader". it doesn't start. is this the right place for help? [14:31] and my second question.. when i try to build snap via https://build.snapcraft.io/user/smoser snapcraft.io says 'the snapcraft.yaml can't be used because it isnt valid.' [14:31] cachio: its jun181349-260204 I will try to find it in the dashboard [14:32] but local testing is fine. [14:32] cachio: hm, hm: " You do not have sufficient permissions to view this page. " [14:32] https://console.cloud.google.com/compute/instancesDetail/zones/us-east1-b/instances/jun181349-260204?project=computeengine&authuser=0&organizationId=888541318771&supportedpurview=project [14:32] branch is https://github.com/smoser/pdftk/tree/snap/snap [14:32] smoser, curretly you can only use 16.04 [14:33] (for stage-packages that is) [14:33] mvo, https://paste.ubuntu.com/p/4PmfrHnZ8W/ [14:33] cachio: looks like I have no permissions, is that something that gustavo can fix? [14:33] ogra_: ok... thanks i thought i had heard somewhere that you could use something else. i wanted to be specific though in my snapcraft. [14:33] cachio: thank you, reading the pastebin [14:33] er... snap.yaml [14:33] smoser, yeah, base snap support is in full flow atm [14:33] mvo, yes gustavo is the right person [14:34] but stage packages isn't really realted to base snap [14:34] that will allow you to get 18.04 or fedora or whatever as the backing release for the stage-packages [14:34] or maybe i'm misunderstanding how that works (quite likely) [14:34] i thoguht it essentially just grabbed a bunch of binaries and actted as if you had built all those things and then collected them up. [14:34] cachio: hm, this looks good, I wonder if there is an issue with the network, maybe the netplan config does not match for whatever reason, do you happen to have the "ifconfig" output on a gce system? [14:35] mvo, no [14:35] well, stage-packages currently pull in from the archive your build host uses ... but then your snap binary will run on top of the core snap (or later the base snaps) ... so your libc and stuff needs to match [14:35] ie, i should be able to pull a bunch of debs from bionic and run it on core snap of xenial. no ? [14:35] this is where the connection between base and stage-packages lives [14:35] mvo, which config do you need? [14:36] mvo, perhaps we can get it from other side [14:36] ogra_: ok. i can see that. [14:36] cachio: the ifconfig output (the output from the comand). I wonder if maybe the machine does not get network [14:36] cachio: aha, nevermind, found some info [14:36] mvo, you can log in and see it if you want [14:37] do you have the credentials for that? [14:37] ogra_: do you see an obvious thing i've done wrong in https://github.com/smoser/pdftk/blob/snap/snap/snapcraft.yaml such that snapcraft.io github build stuff would say 'isnt valid' (it gives no other info) [14:37] * zyga dreams of air conditioning [14:37] zyga, so ameriacn of you [14:37] ogra_: is that a good thing or a bad thing [14:38] smoser, whats that first part supposed to do (it looks like a complete no-op) [14:38] ogra_: it is. :) [14:38] also i'm not sure you can have a toplevel "parts:" twice at all [14:38] if its not necessary, i can remove it. followed https://larry-price.com/blog/2016/12/07/creating-a-snap-from-existing-deb-packages/ [14:39] oh. well yeah... ok that makes sense. i didn't realize i had [14:39] i guess thats the thing the validator chockes on [14:39] and yeah, that is undefined behavior [14:39] in yaml [14:39] right [14:39] funny that it works locally [14:39] should be the same validator that runs [14:41] hm.. [14:41] it worked fine on xenial [14:41] are you using the snapcraft snap or the deb ? [14:41] but it coudl be that arbitrary differences make my local "find" the second 'parts' [14:41] and on the build server it does the first [14:41] (i'd use the snap since thats guaranteed to be the same version everywhere) [14:41] the yaml.load() [14:42] i installed snapcraft from deb [14:42] mborzecki: could you add a note the parallel install topic about the "postgres_foo" installing the "postgres_foo" app ? [14:42] the snap is typically more up to date since it doesnt need to go through the whole SRU cycle [14:42] yeah.. i didn't even think of that [14:42] (using the snap for snapcraft) [14:43] (and you can quickly switch to the beta or edge channel and back in case you need some upcoming feature in your build) [14:43] thanks ogra_ i'm all settled now. [14:43] :) [14:47] cachio: I think I don't have permissions for login at this point, especially since I would have to log into a running core18 that has no netowrk - at least that is my theory. its very strange, core16 and core18 use the same kernel snap and same gadget and yet it looks like core16 loads the virtio kernel module and core18 does not for some reason [14:48] mvo, ohhh [14:49] mvo, let me check if I can login from the page [14:50] mvo, the last thing I see in the console output is "Press enter to configure" [14:51] cachio: yeah, maybe its just cloud-init missing [14:51] it is like netplan didn't run yes [14:51] yet [14:52] PR core18#28 closed: Fix the UID/GID mapping [14:53] PR core18#29 opened: hooks: add cloud-init [14:54] cachio: yeah, it looks like there is no network interface, the kernel output of core18 has no ens4 but classic has that. I will add cloud-init and see if that helps (we need this anyway I think) [14:57] Hallo. trying it again. Installed the snap package "Ktube Media Downloader". it doesn't start. is this the right place for help? OS: Ubuntu mate 18.04 x64. [14:57] where to report bugs for a specific snap package? [14:58] snap is from snapcraft.io [14:58] mvo, are we going to unify the snap names to avoid having jq and jq-core18? [14:59] cachio: I suggested to use 18 track for that [14:59] cachio: yeah, using a track seems to make sense [14:59] zyga, good [14:59] maybe use the track that matches the base [15:00] so core18 rather than core [15:00] would help with some f29 work we need to do this cycle [15:03] well, i guess i'm not all set... [15:03] ogra_: http://paste.ubuntu.com/p/dfZm7xDjwV/ the snapcraft.io build failed to publish, but it looks incorrect to me. [15:03] PR core18#30 opened: hooks: clenup /etc/{passwd,shadow,group,gshadow}.orig [15:03] (thanks for your help... sorry to pester you) [15:04] smoser: silly question, will cloud-init help with network module (kernel) loading? I am working on core18 right now and it looks like on GCE I don't get a virtio-net based network-interface but core18 has no cloud-init yet [15:05] mvo: can you add me as a co-developer of core18 [15:05] zyga: sure [15:09] Skype for Linux didn't work - didn't pick up my webcam, but not sure the Deb does either. Had to do it on my mum's Win10 PC... [15:09] mvo: cloud-init doesn't intenrally help at all with kernel module loading. [15:09] mvo: you're saying our kernel on gce does not recognize virtio nics ? [15:09] that is possible... but i thought that on gce nics provided *were* virtio [15:10] smoser: thats what it looks like which is very odd because its pretty much the same kernel works on core16 [15:10] so.. that'd imply that it was busted out of the gate. which is not the case (our cloud images do work there) [15:10] smoser: yeah, I think its virtio based networking that is used there [15:10] smoser: they work with 4.4-130.156 as well? [15:11] oh. [15:11] xenial i think doesn't use ga (-generic) kernel there. [15:11] i think theres is something esle. [15:11] i'd have to check to be sure [15:11] launch a gce and look [15:11] but bionic is going to use 4.15 i'd expect (but would have to check that for sure) [15:11] smoser: aha, thank you. no worries, I will dig some more [15:11] smoser: yeah, support for installing 4.15 is not there yet [15:12] smoser: and I think we also don't have kernels snaps :/ [15:13] virtio is probably in an -extra kernel package [15:13] so.. check if you have it installed [15:15] smoser, well, the build looks fine to me ... not sure why it would fail to upload ... thats a store team question i guess [15:17] well, it gives that error about a danling symlink [15:17] (which surely does not appear dangling to me) [15:17] er... extrenal. which still doesn't seem to be the case. [15:17] it dangles outside of the snap [15:17] no [15:18] but i dont think that will prevent the upload, it creates a snap after all [15:18] so the build finishes successfully [15:18] right it says [15:18] That sort of thing is usually due to missing build-packages: [15:18] Build failed to release: [15:18] Error:package contains external symlinks: usr/lib/security/classpath.security [15:19] And I think the reviewer tools do reject on dangling symlinks [15:19] aha [15:19] Yes, that [15:19] but the link is present ... didn't i show that clearly ? [15:19] the target too ? [15:19] its *not* dangling, nor outside the root [15:19] at least readlink -f agrees with me [15:19] so it points to something inside the snap ? [15:19] (not n core or the rootfs) [15:19] If you're certain it's not external, then a bug on click-reviewers-tools, I'd guess [15:20] http://paste.ubuntu.com/p/dfZm7xDjwV/ [15:20] mvo: did that check PR land? [15:20] I could use the diffs now [15:20] see lines 10 -> 22 [15:20] (ignore the confusing paste fail on line 17) [15:21] smoser: ls -l /mnt/var/lib/security/classpath.security ? [15:21] just to check [15:27] -rw-rw-r-- 1 root root 2489 Jun 18 14:53 /mnt/var/lib/security/classpath.security [15:28] zyga: unfortunately no [15:28] no worries, thank you for the PRs [15:28] I'll keep using my 27" screen to spot the diffs ;) [15:29] PR core18#29 closed: hooks: add cloud-init [15:30] interestingly enough, there *are* danling and outside symlinks [15:30] http://paste.ubuntu.com/p/ft8FBgZxj6/ [15:31] smoser: I am not sure how you're getting the results you claim. I downloaded your snap from the link on https://launchpad.net/~build.snapcraft.io/+snap/5f9c9f30f64adbeb1aed583265f7c8ae-xenial/+build/252508, looked at it, and it's clearly wrong. [15:31] but the one it complained about is not one of them. [15:31] $ ls -l /mnt/usr/lib/security/classpath.security [15:31] lrwxrwxrwx 1 root root 36 Feb 11 2016 /mnt/usr/lib/security/classpath.security -> /var/lib/security/classpath.security [15:31] huh. [15:31] smoser: I think you're checking a different snap than the one that LP built. [15:31] i am [15:31] i tested the locally built one [15:31] smoser: Which supports my theory that this is due to missing entries in build-packages. [15:31] smoser: This is usually a matter of finding the package that delivers /var/lib/security/classpath.security and adding that to build-packages, so that snapcraft can copy the contents into the snap. [15:33] cjwatson: how did you download ? [15:33] smoser: wget [15:33] is there a link ? i dont see that in build.snapcraft.io ur [15:33] ui [15:33] smoser: I gave the link above [15:34] smoser: The first line of the build log is a URL to the LP +build page [15:34] smoser: And on that there's a "Built files" section [15:34] ah. [15:34] yeah. ok. i didn't look at closely at the build logs orry. [15:35] I wish BSI just linked to the LP page but there's a bit of a religion going on about not having that expose the implementation [15:38] Hello. I cannot start my rocketchat-server with systemctl and snap logs reports that it sudenly started to look for configs in rocketchat-serve and not rocketchat-server... I did not intentionally renamed that and I cannot easily find any references anywhere in the config trees on my system. Do you know what to look for by that hint from logs? How to recover? I don't think the apt-get {dist-,}upgrade in the [15:38] meantime made it. I'm on Ubuntu 18.04 with kernel 4.15.0-23-generic and snap 2.32.9 :-( [15:39] P4 you can always "snap revert" to get to the previous revision (and blacklist this one). I would suggest that you get in touch with rocket chat people as well [15:39] I made backupdb and even started to symlink things, eh. [15:39] I don't think we changed anything that would cause this [15:39] can you get me some error logs you referred to? [15:40] thanks, zyga. will try [15:41] cannot revert "rocketchat-server": no revision to revert to :( but how come it got renamed hmpf. [15:42] hmm [15:42] can you look at snap changes [15:42] and see if there was anything related to that snap? [15:44] I'm pretty new to snappy. I believe I should look with git somewhere around /var/snap/rocketchat-server/current [15:44] no, don't look there [15:44] look at what snapd did [15:44] that is stored internally and exposed as "snap changes" and "snap tasks NNN" (where NNN is the number of the change) [15:46] oh [15:46] the CLI! <3 [15:46] still there are no changes found [15:47] P4: what's the output of 'snap list' (pastebin it) [15:47] P4: also, 'snap version' [15:48] it's https://paste.debian.net/1029731/ [15:49] P4: which snaps log say it's started looking for 'rocketchat-serve'? [15:50] P4: also please pastebin 'snap info rocketchat-server' [15:56] cachio: its jun181349-035780 this time, if you could paste me the dmesg output that would be great [15:57] mvo, no instance with this name [15:57] mvo, is it alive? [15:59] cachio: ups, typo jun181539-035780 [15:59] cachio: and yes, should be alive [15:59] mvo, https://paste.ubuntu.com/p/Bghqq5KCQF/ [16:05] * cachio lunch [16:05] Chipaca: https://paste.debian.net/1029735/ there in the logs [16:07] cachio: thank you [16:10] maybe it is worth to mention that I was trying to change the listening port by adding Environment=PORT=80 in the /etc/systemd/system/snap.rocketchat-server.rocketchat-server.service file with some comments. then issued dist-upgrade and rebooted OS finding the problem. and now commenting out the line does not help. :| will try to run it by hand for a test [16:13] oh my god, the /etc/systemd/system/snap.rocketchat-server.rocketchat-server.service defined indeed ExecStart=/usr/bin/snap run rocketchat-serve and that looks totally like a user mistake... must be that. how come I oversaw it! :|||| === pstolowski is now known as pstolowski|afk [16:17] darn, I'm sorry about the rumour. Thank you very much for your reactions, zyga && Chipaca. You are all amazing supporing great things the great way here on IRC. Thanks <33 [16:17] P4 good luck :) [16:17] Chipaca: so, question to you sir [16:17] shall snapd use ensureDirState-like functionality for services and mount units? [16:18] we could _at leats_ warn (hint hint) about discrepancy [16:18] and offer a way to "snap amend" it [16:18] how do you feel about that? === mborzeck1 is now known as mborzecki [17:03] snaps in strict confinement can open files in ~user right ? (ie, /home/smoser) ? [17:06] smoser, only if using the home interface [17:06] itneed home plug. [17:06] yeah. [17:06] thanks kyrofa [17:06] smoser, of course [17:11] I need a break, back to apparmor rules after a shower [17:49] I actually am terrible at any break taking business [17:54] * cachio afk [18:09] really afk [18:31] <_b_b> hi [18:31] <_b_b> i would like to test auto connection of gtk-theme [18:32] <_b_b> i've posted a question on the forum but i don't got any anwser about it [18:32] <_b_b> is it testable for now ? [18:33] <_b_b> https://forum.snapcraft.io/t/supporting-desktop-themes-via-the-content-interface/4122/6?u=b_b [18:34] back with my nickname :) [18:40] zyga: could be [18:40] zyga: your 'snap amend' is probably just 'snap disable && snap enable' [18:41] Yes. I think so [18:41] Although with ensure directory state we could tell the user about the fixes [18:42] zyga: 'snap fsck' [18:43] P4: glad you figured it out, and happy to have been of assistance in getting you there! [18:44] and now i think i'm eod, nothing is on fire etc etc (well my local snapd is panic()ing but that's me breaking it :) ) [18:54] hey guys is there a comprehensive list of the $SNAPCRAFT_PART_BUILD/INSTALL etc variables? [19:08] also are there updated docs for the snapcraft syntax? It seems a lot of things are deprecated (like install:) in favor of override-build etc === gurmble is now known as grumble [20:18] Hi [20:19] I am still having trouble creating a snap of the anki desktop client. Thank you to those who have taken a look at this thread already. I have recently updated it (https://forum.snapcraft.io/t/help-required-packaging-anki-desktop-client-as-a-snap/5950) with more details. [20:20] I am having some trouble understanding how to inspect the container environment that is created by snapcraft. [20:21] I don't particularly understand what shell you get from snap run --shell and how to get more detailed debugging or logging information from snapcraft and when you run your snap [20:23] Thanks in advance for any help or assistance. Sorry if this appears to be a desperate nag, however I do really want to snap this app. [20:28] binarycreations: hey [20:28] you get regular /bin/bash [20:28] but running inside the sandbox [20:28] so enforced permissions apply [20:34] PR snapd#5343 opened: tests: adding extra check to validate journalctl is showing current test data [20:50] zyga: Thanks - what seems odd is the dir I get [20:51] I think I found my issue - only found the desktop launch and other desktop support [20:52] Under the "Languages" section you might want to consider having a desktop or GUI application section [20:54] Or even a different section [20:54] I have been shooting down the wrong alley for a while now [21:04] zyga: I have updated the forum post again. Now I am stuck with getting libgl1-mesa-dri to install when running snapcraft. [21:04] I feel one step closer [21:05] I need some sleep so will catch up with the forum later [21:05] I'm having problems with snapcraft handling of command line arguments containing non-ascii chars. From my research, it seems related to snap's use of "click" [21:06] How should I handle command-line arguments in a Py3 script without getting "surrogates not allowed" errors? [21:06] Should I set "LANG" in the snapcraft.yaml? [21:15] As per the instructions on http://click.pocoo.org/5/python3/, print(sys.argv[1].encode('utf-8')) does not work either...