[00:47] PR snapcraft#1533 closed: demos: update the name of the remote mqtt part [01:44] PR snapcraft#1534 closed: jhbuild plugin: fix UnboundLocalError for chmod_path === chihchun_afk is now known as chihchun [03:37] PR snapd#3872 opened: preserve TMPDIR and HOSTALIASES across snap-confine invocation (LP: #1682308) === chihchun is now known as chihchun_afk [05:54] PR core#56 opened: Remove ~ubuntu* instead of cutting after the first "~" [05:55] PR core#54 closed: Use io.snapcraft.Launcher instead of com.canonical.SafeLauncher [05:57] good morning === chihchun_afk is now known as chihchun [06:09] PR snapd#3873 opened: interfaces: add udev netlink support to hardware-observe [06:10] PR snapd#3874 opened: interfaces: add netlink kobject uevent to hardware observe (2.28) [06:11] PR snapd#3875 opened: interfaces: add udev netlink support to hardware-observe (2.27) [06:12] hey zyga-suse, good morning [06:12] PR snapd#3873 closed: interfaces: add udev netlink support to hardware-observe [06:13] mvo: good morning, thank you for the fixes! [06:13] mvo: I edited the description on github so that it shows up in merge commits [06:13] mvo: today is the only day my kids go to school at 8:00 :/ [06:13] PR snapd#3854 closed: corecfg: mock "systemctl" in all corecfg tests [06:13] mvo: I don't suppose there is any chance of getting the last polkit PR into the 2.28 release? [06:14] jamesh: let me check [06:14] jamesh: has that landed in master already? [06:14] mvo: the only open issue from niemeyer's review was scope of the polkit action ID [06:14] mvo: no [06:15] here it is, for reference: https://github.com/snapcore/snapd/pull/3797 [06:15] PR #3797: daemon: allow polkit authorisation to install/remove snaps [06:15] jamesh: yeah, I think if that makes it before the weekend there is a chance, it seems like its very low risk and the benefit is (imo) huge [06:16] jamesh: could you please nudge niemeyer to do a second pass on 3797? and if it goes in ideally it should be squash-merged in the commit so that it can easily be cherry-picked for 2.28 [06:16] mvo: how is the 2.27.6 release looking? [06:17] mvo: on the forum, niemeyer said he wouldn't be around for the next few days, so I don't know how that affects things [06:18] zyga-suse: waiting for tests right now, i.e. the PR for hardware-observe [06:18] zyga-suse: once that is green I will continue with that [06:18] mvo: do you want to wait for anything else or just release ASAP [06:18] jamesh: meh, indeed, thats slightly sad [06:18] PR snapd#3858 closed: snap-confine,snap-update-ns: add -no-pie to fix FTBFS on ppc64el [06:18] zyga-suse: I am not aware of anything else - are you? [06:18] no, just asking if there's more [06:19] * zyga-suse has bad debian day [06:19] gpg: /home/zyga/snapd_2.27.5-1.dsc: error 58: Invocation of gpgme_op_verify [06:19] what? [06:19] well, there are updates to gpg, let's see [06:21] zyga-suse: yeah, it should be just those two PRs (one from me, one from jamie) [06:21] PR snapd#3773 closed: snap-repair: execute the repair and capture logs/status [06:39] PR snapd#3870 closed: interfaces/network-{control,observe}: allow receiving kobject_uevent() messages for 2.27 [06:43] PR snapd#3857 closed: tests: fix lxd test for external backend [07:05] ikey: hey, I noticed that you ship 2.27.0, do you plan on updating snapd to 2.27.5 or .6 later today? [07:20] FAIL: cmd_watch_test.go:44: SnapSuite.TestCmdWatch [07:20] cmd_watch_test.go:84: [07:20] c.Check(string(buf), testutil.Contains, "\rmy-snap 50.00 KB / 100.00 KB") [07:20] ... container string = "\rmy-snap 0 B / 100.00 KB 0.00%\r\x1b[K" [07:20] ... elem string = "\rmy-snap 50.00 KB / 100.00 KB [07:21] I have seen a couple of times [07:22] PR snapd#3856 closed: overlord: introduce Mock which enables to use Overlord.Settle for settle in many more places [07:24] mo'in [07:24] pedronis: I have as well, that looks like ansi escape [07:25] Chipaca: hey, thank you for the epic feedback :D [07:25] what does? [07:25] zyga-suse: epic feedback? [07:25] launchpad must adopt not only markdown [07:25] but greek statue images [07:25] hehe [07:25] (or was it roman?) [07:25] zyga-suse: https://en.wikipedia.org/wiki/Facepalm [07:26] was going to point you to the image directly, but this way is funnier [07:26] ogra_: you around already? [07:28] zyga-suse: so to answer your actual question, french (turn-of-the-(20th)-century) [07:32] mvo: after I dput and get the ACCEPTED email (I did :), how can I track the package further? [07:39] mvo: remind me, when is the cut-off for 2.29? [07:49] Chipaca: after the rally afaict [07:50] that's nearly two months after 2.28's cut-off [07:50] (granted we weren't very good at cutting off at that particular cut-off) [07:50] ? [07:51] 2.28 was Sept 4 [07:51] oh wait, got my dates wrong [07:51] i thought i read aug 11 [07:51] but it's sep 11 [07:51] that's fine then [07:52] (i'd understood 2.28 to be already forked) [07:52] pedronis: Sep 4? github has it wrong then [07:54] * zyga-suse reads https://github.com/snapcore/snapd/pull/3852/ [07:54] PR #3852: hooks: commands for controlling own services from snapctl [07:56] * zyga-suse looks at https://ci.debian.net/packages/s/snapd/unstable/amd64/ and :/ === LarreaMikel1 is now known as LarreaMikel [08:02] zyga-suse: https://packages.qa.debian.org/s/snapd.html might be a good place [08:02] Chipaca: in ~3 weeks time 2017-10-02 [08:02] mvo: right, I managed to find that now, I wish it was more real-time tho :-) [08:03] mvo: a'ight [08:03] mvo: and 2.28 is already cut, right? [08:03] (just checking) [08:03] Chipaca: correct, fixes and low-risk things only [08:03] zyga-suse: yeah, there is a bit of latency in the debian archive [08:04] * zyga-suse looks at https://bugs.debian.org/cgi-bin/pkgreport.cgi?src=snapd&archive=no&pend-exc=pending-fixed&pend-exc=fixed&pend-exc=done&sev-inc=important&sev-inc=normal&repeatmerged=no [08:04] mvo: s/and low-risk things // [08:04] mvo: :) [08:04] Chipaca: *cough* yes! === LarreaMikel1 is now known as LarreaMikel [08:04] I need to recall how to reply to those bugs [08:04] zyga-suse: email? [08:05] I guess I need to stand on my right leg, curl up my right feet behind my back and pick my nose while typing with my ear [08:05] zyga-suse: or do you mean "lis'n 'ere mate"? [08:05] Chipaca: right but don't forget plain text and the magic first-few-line headers [08:05] zyga-suse: how could I forget [08:05] zyga-suse: pretty much https://wiki.debian.org/HowtoUseBTS [08:05] something that I never knew [08:05] :-D [08:05] * zyga-suse hugs mvo [08:06] * Chipaca actually might have known once, but has forgotten not only the knowledge, but also the knowledge of knowing [08:06] in alternate universe debian has a web-based bug tracker with a "reply" button not using mailto:// an ubuntu is geeky and built from source [08:07] zyga-suse: and we're all using something written by djb as pid 1 [08:07] * zyga-suse stops looking at the BTS and then goes back to stuffing sharp items under his fingernails [08:12] PR snapd#3875 closed: interfaces: add udev netlink support to hardware-observe (2.27) [08:13] https://forum.snapcraft.io/t/introducing-overlord-mock/2028 [08:18] Chipaca: your PR had the funniest of runs, everything failed _except_ xenial-ppc64el [08:18] pedronis: :-D [08:18] ikr [08:18] pedronis: i've got a typo (catalog -> catalogue, apparently) [08:19] but I disagree [08:19] I don't know why that's considered a typo [08:19] it's US american vs UK [08:19] nope [08:19] “In both the US and Canada, both catalog and catalogue are used, with catalogue commonly used in government and traditional institutions and catalog commonly used in informal, business, retail, and computing contexts.” [08:19] it's pretentious [08:20] PR snapd#3876 opened: debian: update trusted account-keys check on 14.04 packaging [08:21] Chipaca: that sentence doesn't say anything about the UK [08:21] PR snapd#3877 opened: debian: update trusted account-keys check on 14.04 packaging [08:21] pedronis: ah, i read you backwards [08:21] why are we checking our spelling against british english agian? [08:21] again?* [08:21] oxford says catalague is UK spelling [08:21] *catalogue [08:22] * Chipaca goes with catalgae [08:22] Chipaca, i am now [08:22] next it's going to object to Color vs Colour [08:22] ogra_: /var/cache/snapd, how much work is it to make it happen? [08:22] ogra_: good morning! had your coffee yet? here have some writable-paths nightmares instead [08:23] Chipaca, one deb upload and an edge rebuild [08:23] ogra_: deb upload + sru, or ppa? [08:23] PPA [08:23] ogra_: any objection to doing it? [08:24] none at all ... apart from "whatch it closely after the change and before committing to beta/candidate" [08:24] -h [08:24] pedronis: if we're using british spelling, then I'm fine with it (my local tools will be happier) [08:24] pedronis: if it's using US spelling, then it's just being pretentious [08:24] ogra_: could you do it, please? [08:25] ogra_: (not urgently) [08:25] Chipaca: I have no clue [08:25] pedronis: check for footprints [08:25] Chipaca, mind if i do it in https://github.com/snapcore/core-build/pull/17 (same change other dir) ? [08:25] PR core-build#17: switch /etc/systemd/system to "synced" mode [08:25] is there an official choice for ubuntu? [08:25] * Chipaca wonders what was in his coffee [08:26] (would you approve that) [08:26] Chipaca: I just discovered I left extra lines in my just merged branch, this by looking at the diff I posted to the forum :/ [08:27] Chhmm, are you sure its /var/cache, not /var/lib ? (i thought you are talking about #3807 ) [08:27] ogra_: I don't mind! and should I approve it before or after the change [08:27] PR #3807: cmd/snap-confine,packaging: import snapd-generated policy [08:27] after [08:27] Is it possible to make a branch from edge? And if so, why? :-) [08:27] pedronis: fun! [08:27] Chipaca: there's always the next PR [08:28] ogra_: /var/cache/snapd, for #3866 [08:28] PR #3866: many: implement fetching sections and package names periodically [08:28] Chipaca: we are using github.com/client9/misspell/cmd/misspell don't know if there's a way to enforce a dictionary [08:28] Chipaca, then i'll do cache and lib in that PR as well, that will help zyga-suse's issue [08:28] at least to avoid getting UK one place and US another [08:29] pedronis: https://github.com/client9/misspell/#locale [08:29] :-) [08:29] Chipaca, i assume you want "synced" as well ? [08:30] ogra_: well, it could be 'temporary' [08:30] (or is "copy readonlöy once and never again" enough ?) [08:30] Chipaca: ok, now pick your poison and change run-checks [08:30] ogra_: but if temporary means in-memory, then maybe something else [08:31] (one of the files that'll land there might be a couple of megs) [08:31] Chipaca, i have two ooptions, one copies the content from the readonly dir once on first mount (transition), the other constantly updates if new stuff shows up in the readonly partition (synced) [08:31] ogra_: you have three :-) what does temporary do? [08:32] well temporary won't survive reboots [08:32] one would think [08:32] Chipaca, its like /run ... [08:32] right, what pedronis said [08:33] it'll be recreated on boot (if there's network), but ok, sure, umm... 'synced'! [08:33] and we could ship a default sections file :-) [08:33] Chipaca, it will be created on boot in any case, not just with network ... but it will come up empty [08:33] ogra_: i meant the files [08:34] ah [08:34] snapd creates them on startup [08:34] ok [08:34] but, make it synced [08:34] will do [08:34] i don't want these on tmpfs on little devices [08:34] and if we feel like it we can ship a pre-loaded cache [08:34] sounds like a win [08:37] Chipaca, ogra_: please no changes to the ppa right now, we need to push a new 2.27.6 [08:37] later is fine, but not just now [08:37] mvo, only doing the PR, i'll wait fo you PR approval there ;) [08:37] ogra_: ta [08:38] Chipaca, hmm, the dir doesnt exist by default, does it ? [08:38] ogra_: currently it doesn't [08:38] ogra_: is that a problem? do we need to change the snapd packaging first? [08:38] right, then i need to create it too (no mountpoint, no bind mount) [08:38] right [08:41] mmg, no change was fine, copy-pasting from terminal issue [08:42] gah, why is spellcheck _still_ not part of the static checks :-( [08:42] zyga-suse: congrats on your upload :) [08:42] shellcheck* [08:42] (also, i should run the static checks locally more often, tut tut) [08:43] meh, gccgo build failure on xenial/powerpc with master: https://launchpadlibrarian.net/336142278/buildlog_ubuntu-xenial-powerpc.snapd_2.27.5+git360.71a180c~ubuntu16.04.1_BUILDING.txt.gz - looks conistent [08:44] Chipaca: should that dir comes from snapd.dir ? [08:44] *dirs [08:45] mvo: yay! [08:45] pedronis: which dir? [08:45] /var/cache/snapd ? [08:45] pedronis: /var/lib/snapd? [08:45] pedronis: i think so yes [08:45] mwhudson: if you have any ideas, I would be very happy. fwiw, I worked around the ppc64el issue succesfully [08:45] mwhudson: thanks for adding the ACLs! [08:45] i can created it from core-config as well if you want ... your choice [08:45] *ceate [08:45] mwhudson: I think there are some bugs to address, some low hanging fruit there [08:46] mwhudson: man pages and such [08:46] mvo: how did you manage that -extldflags -no-pie? [08:46] mvo: well the test is hanging [08:46] dammit, i'd _fixed_ this GOPATH issue :-( [08:46] Chipaca: we need on classic and we need it also on core reexec fwiw [08:47] pedronis: yes [08:47] mwhudson: https://github.com/snapcore/snapd/pull/3858/files is what I did for -no-pie [08:47] PR #3858: snap-confine,snap-update-ns: add -no-pie to fix FTBFS on ppc64el [08:47] stating the obvious just in case [08:47] yeah, then creating it from snapd is the better move [08:47] pedronis: not sure where core reexec comes into it [08:47] so you also need a mkdir [08:47] mwhudson: yeah, it is hanging but apparently only on powerpc (gccgo), I have a look in a bit [08:47] or debian/dirs [08:47] ogra_: both \o/ [08:47] :) [08:47] Chipaca: even if it's dirs or core , you still need to create it on classic because your code might be running before you got the new deb [08:48] mvo: ah i guess that works [08:48] pedronis: ah, yes [08:48] i'll be tweaking that code [08:48] mvo: you can also pass -ldflags=-extldflags=-no-pie to go install [08:48] mvo: my enthusiasm for debugging gccgo issues is, erm, low [08:48] want to have it in dirs, created on boot via initramfs-tools, created on ensure, and skipping the download entirely if unable to create [08:48] i think that covers it enough [08:49] but also, who reverted the GOPATH%%:* change :-( [08:49] * Chipaca curses [08:49] PR snapd#3878 opened: tests: disable opensuse 2.28 as their infrastructure is having issues [08:49] mwhudson: aha, thanks for this hint! [08:49] mwhudson: gccgo> yeah, its pita that we still need to support powerpc [08:50] mvo: i guess i should really SRU the fix i linked into zesty but my enthusiasm for that is not very high either :) [08:50] Chipaca: anyway double checked, seems indeed packages tend to put their /var/cach/pkg dir into .dirs [08:51] PR snapd#3878 closed: tests: disable opensuse 2.28 as their infrastructure is having issues [08:51] pedronis: awesome, thank you for checking that [08:52] pedronis: i think that makes dpkg clean it up on purge [08:52] mwhudson: no worries [08:52] pedronis: https://www.debian.org/doc/manuals/maint-guide/dother.en.html#dirs [08:52] mwhudson: the workaround is ok for now [08:52] PR core#56 closed: Remove ~ubuntu* instead of cutting after the first "~" [08:53] mvo: i don't glean anything very much from that traceback of the hanging test [08:53] it looks like it's just sitting there doing nothing [08:53] but it's hard to be sure of course [08:53] Chipaca: that seems what we want, no? remove on purge? [08:53] pedronis: yes [08:54] so... which english do we use? [08:54] mvo? [08:54] US or UK? is behaviour wrong, or is catalog wrong? :-) [08:59] Chipaca: UK is closer to me [09:00] Chipaca: what is complaining ? spellcheck? [09:00] mvo: misspell, but yes [09:00] for some reason i thought we were using US [09:01] but we've managed to be neutral so far :-) [09:01] except for one word in CONTRIBUTING.md [09:01] :-) [09:01] mwhudson: nevermind, I will dive into it [09:01] I'll change it to Catalogue then [09:02] Chipaca: lets stick with uk and solve the problem via po/en_US.po [09:02] mvo: it's a variable name [09:02] :-) [09:03] *pffff* ok [09:04] interestingly, without telling misspell which locale to use, it seems to use a mixture? [09:04] * Chipaca puzzled [09:05] * Chipaca facepalms [09:06] * Chipaca is dumber by the day [09:06] * Chipaca doesn't get any better by night either [09:07] it wasn't catalogue vs catalog [09:07] it was "cataloge" [09:07] * Chipaca <- dumbarse [09:08] * mvo hugs Chipaca === JoshStrobl is now known as JoshStrobl|zzz [09:09] can we add shellcheck from zesty to our ppa? [09:12] why to the PPA ? [09:19] ogra_: how else do you get shellcehck from zesty everywhere? [09:20] i mean everywhere xenialish [09:20] although i guess we could just make sure we run the static checks on zesty [09:20] or artful even [09:22] Chipaca, where exactly do you want to run shellcheck ? [09:23] ogra_: if shellcheck is installed, the static checks use it [09:23] (do we have anything that has the PPA enabled where we use it ?) [09:23] ogra_: but maybe running it on artful is good enough [09:24] what i mean is that typically our travis tests run shellcheck already ... before a package hits a PPA [09:26] ogra_: our travis checks don't run shellcheck [09:27] ogra_: if they did, they'd be red [09:27] oh [09:27] mine all do :) === JanC is now known as Guest49554 === JanC_ is now known as JanC [09:42] ogra_: I left one comment on the core PR [09:43] zyga-suse, already answred ;) [09:43] thanks! [09:45] Chipaca: are you looking into classic revert now ? [09:45] pedronis: yes [09:46] Chipaca: did you see #3852 ? [09:46] PR #3852: hooks: commands for controlling own services from snapctl [09:47] pedronis: uh, yes [09:47] didn't i submit that review? [09:47] i'll look again in a sec [09:47] you commented but I don't see a code review there [09:48] from you [09:49] mvo: did you see the comment from jdstran-d about adding bind to harward-observe ? [09:52] pedronis: yes, I think I did that, let me double check [09:52] you did [09:52] github confused me [09:52] pedronis: my bad, I force pushed [09:52] pedronis: to make the cherry-pick easier [09:53] pedronis: sorry for that, it was an exception [09:53] yea, now I noticed [09:54] mvo: any reason not to merge #3864 ? [09:54] PR #3864: interfaces: add udev netlink support to hardware-observe [09:55] pedronis: thanks, merged now [09:55] PR snapd#3864 closed: interfaces: add udev netlink support to hardware-observe [09:57] PR snapd#3867 closed: interfaces/network-{control,observe}: allow receiving kobject_uevent() messages [09:58] PR snapd#3879 opened: release: merge release 2.27.6 [09:59] mvo: now that we run unit tess on more places, SnapSuite.TestCmdWatch seems to fail randomly but often enough to be annoying, haven't looked at it yet [09:59] *tests [10:01] pedronis: thanks, I have no looked either yet, there are some build issues in the edge ppa that I wanted to look at next, once these are under control I can have a look (until you beat me to it of course :) [10:01] s/until/unless/ [10:02] * zyga-suse needs to pick up his daughter in 10 minutes [10:02] why does it have to rain all week :/ [10:03] PR snapd#3880 opened: tests: add trivial canonical-livepatch test to ensure we do not break it [10:03] mvo: I looked at it briefly now, I don't understand the failure mode at all [10:04] might also be different versions of pb ? [10:04] pedronis: could be, we recently changed the import [10:05] debian-unstable seems one place where it fails [10:05] but not always [10:05] but I have seen also some autopkgtests [10:05] not sure [10:06] * zyga-suse sighs [10:06] Pharaoh_Atem: that shell replacement for that ruby replacement of just using go build [10:06] ... [10:07] ikey: would you like if I could co-maintain snapd in solus? [10:08] Pharaoh_Atem: this is gobuild :-( http://pastebin.ubuntu.com/25483256/ [10:08] PR snapd#3869 closed: interfaces/network-{control,observe}: allow receiving kobject_uevent() messages for 2.28 [10:10] PR snapd#3876 closed: debian: update trusted account-keys check on 14.04 packaging [10:16] * zyga-suse goes into the rain, ttyl [10:16] pedronis: it looks like https://launchpad.net/~snappy-dev/+archive/ubuntu/edge/+build/13346641 panics in snapstate_test.go:77 which indicates that maybe 5s for settle is not enough on arm/arm64 - do you mind if I try with 10s? [10:18] pedronis: same error on powerpc it seems, anyway, I do a test build with 15s and see if that helps [10:21] mvo: the pb import change did not change the code imported at all fwiw [10:21] mvo: I don't mind, it's there to be able to change it [10:22] slow infra is slow [10:22] pretty sure that library has buggy (== wall clock dependent) unit tests all of its own [10:25] does it have wall clock dependent behavior as well? [10:28] PR snapd#3881 opened: snapstate: give snapmgrTestSuite.settle() more time to settle [10:40] mvo: o/ [10:41] mvo: completer snippet creation support, I thought that was in 2.27.2+, with 2.27.5 having the fix for not doing it on core [10:41] mvo: but it's not! how did I become confused? [10:44] mvo: (I looked at git's release tags for this information) [10:50] pedronis: maybe? [10:51] there's a REFRESH_RATE [10:51] so I suspect it is [10:51] re [10:51] which means that test is very optimistic [10:52] I'm surprised it didn't fail more often [10:52] mwhudson: hey, mind if I do .6 as well? [10:52] zyga-suse: not at all [10:52] mwhudson: I need to re-learn the BTS insanity and reply to bug mail there [10:53] mwhudson: I'll look at doing manual page for snapctl so that we can close that one [10:53] zyga-suse: debian bts sure is its own special snowflake [10:53] mwhudson: how does new packages sponsorship look like? [10:53] zyga-suse: you know the bts(1) command line tool? [10:53] mwhudson: if, say, I packaged the gettext thing, could you sponsor it? [10:53] zyga-suse: yes [10:53] mwhudson: no, checking [10:53] uploads to NEW can't be source only and can't be done by a DM [10:54] mwhudson: does it require an operational mail server locally? [10:54] mwhudson: ah, debian still does binary uploads? [10:54] * Chipaca murders pstolowski, review-style [10:54] mwhudson: but anyway that is fine, I just want to reduce the number of patches [10:54] Chipaca: ohh? [10:55] * zyga-suse is grumpy because his daughter had no lunch at school today [10:55] * Chipaca whistles innocently and cleans his blade [10:55] zyga-suse: it requires something, i have mstmp which is not exactly "an operational mail server" [10:55] zyga-suse: what? [10:55] school ends at 12:30 but lunch is served at 15:00, who made this schedule again? [10:55] zyga-suse: your daughter is hungry, and you get angry? that's dad-level hangry right there [10:55] lol [10:55] zyga-suse: and oh yes debian still does binary uploads :) [10:55] Chipaca: just polish school crappiness and induced stress [10:55] zyga-suse: if it's at 15:00 it's not lunch! [10:55] mvo: I fear that test needs a couple of Sleep in it [10:55] maybe not for many more years though [10:56] mwhudson: what're you doing awake dude [10:56] Chipaca: on top of that she had to attend the religion classes again; even though we clearly stated we didn't approve of that [10:56] Chipaca: it's only 2300! [10:56] but yes i should go to bed [10:56] mwhudson: have a great rest man! [10:57] * zyga-suse looks at bts(1) and laughs at [10:57] ``The abbreviation "it" may be used to refer to the last mentioned bug number, so you could write: % bts severity 95672 wishlist , retitle it "bts: please add a --foo option"`` [10:58] zyga-suse: sounds like something somebody used to writing Perl would do [10:58] debian, where web-based bts is not an option but we parse `it` in sentences [10:58] Chipaca: yes, that's a very good bet [10:58] (Perl expands your awareness of contextual information, meaning you end up thinking these sort of thoughts) [10:59] (15 years later I still don't know if that's a good thing) [10:59] anaphoric macros come to mind [10:59] * Chipaca doesn't put no macros in no amphorae [11:00] * zyga-suse finally found this: https://github.com/openSUSE/golang-packaging/blob/master/golang.sh#L118 [11:00] Chipaca: : https://en.wikipedia.org/wiki/Anaphoric_macro [11:00] yes, reading that [11:01] today is being educational :-) [11:01] ah [11:01] I used that without knowing this term [11:01] * zyga-suse used to write proprietary lisp stuff back in the days [11:03] I should learn lisp beyond being able to edit .emacs [11:03] some day [11:03] anyway, where was i [11:04] * Chipaca got context-switched to hell [11:04] sorry [11:04] * Chipaca notices it's lunch time [11:04] pedronis: you weren't the one plopping things on my stack :-) [11:04] well, maybe that last anaphorensic one was [11:04] ok, fine, take a little blame [11:04] FINE [11:04] * Chipaca lunch [11:05] also PS https://github.com/pts/pts-line-bisect/ is awesome [11:05] * Chipaca cleaning up browser tags pre-lunch [11:07] Chipaca: I'll keep that tab for you [11:08] zyga-suse: the biggest problem is that _we don't need it_ :-) [11:08] our files are small enough for it not to matter [11:09] bah, should probably benchmark on the bbb [11:09] mvo: do you remember which test timed out of Settle ? [11:09] I'm asking because when I was finishing the branch they were all fast except the one you added recently [11:11] ikey, hello ;) [11:11] Chipaca, using hexchat now [11:13] pedronis: the TwoCores one, let me look for the exact name [11:13] pedronis: fwiw, now only powerpc is having issues, even 30s is not enough for that it seems :( [11:13] ok, then something else is going on [11:13] pedronis: TestInstallWithoutCoreTwaoSnapsWithFailureRunThough [11:13] pedronis: including typos [11:14] pedronis: the tests are ok on the other arches, however powerpc is the only gccgo based arch left so maybe it is something else indeed [11:14] mvo: 30s is not reasonable [11:14] we can still use a local settle ofr a couple of tests [11:14] with a larger timeout [11:15] mvo: ppc is a big big pain :/ [11:15] pedronis: yeah, I'm running another test build on ppc now to see how things look [11:15] pedronis: yes it is! [11:15] mvo, is the real "ppc" arch? [11:15] pedronis: I should have results in ~20min or so [11:15] mvo, or something more recent [11:15] zyga-solus: this is powerpc [11:15] mvo, I ask because ... I happen to have one ppc box [11:16] * zyga-solus looks elsewhere to avoid eye contact [11:16] huh ? isnt powerpc dead ? [11:16] i thought we only do ppc64el now [11:16] ogra_: its a zombie [11:16] ogra_: its alive in xenial [11:16] oh my [11:16] ogra_: so we need to care [11:16] :/ [11:16] shall I boot it? [11:16] do we really ? [11:16] (well, boot and install) [11:17] ogra_: maybe not [11:17] ogra_: but the default is that we do :) [11:17] zyga-solus: wait a little bit please, I run one more test on the builder and then I will check if its a generic gccgo issue [11:17] mvo: here TestInstallWithoutCoreTwoSnapsWithFailureRunThrough takes 6.5 seconds [11:17] yeah, but given it will be dead and there will likely also not be snaps anyway ... [11:17] so definitely 5s is low for it [11:17] mvo, sure - I *really* don't want to [11:17] ogra_: yeah, I would love to burry it for good [11:17] zyga-solus: heh [11:17] pedronis: thanks for double checking! [11:17] just offering to help if last resort [11:18] man, solus is really good [11:18] mvo, we should start a forum discussion and if nobody complains just let it die [11:18] but 30+ seems a more serious problem [11:18] mvo: after that I have TestInstallWithoutCoreTwoSnapsRunThrough 0.161s [11:18] all the rest is fast [11:18] pedronis: woah, that looks like its worth invesitgating why the other one takes so long, I wonder if it does some retries [11:19] pedronis: I need to get some lunch now, lets talk in a bit, I shall have results from another test run then [11:20] mvo: I suspect it might be new behavior related to the prereq task but not sure [11:21] anyway, yes it's a slow test, would be good to understand/cut runtime if possible [11:22] pedronis, is it an io-bound test? [11:23] ? [11:23] that test you are discussing [11:23] is it slow because of CPU, fake sleeping or IO? [11:23] maybe worth measuring with SNAPD_UNSAFE_IO=1 [11:24] doubt that but we can try [11:24] more likely som retries [11:25] Hi everyone. Is there any possibility for a name-based virtual host layer for snaps? The idea being that multiple snaps could "bind" to port 80 and the virtual-host layer would direct to the correct one based on the requested name? That way it would be possible to run, say, the nextcloud snap and a separate server app [11:26] mcphail, hey, that's pretty interesting but we don't have anything doing that at the moment [11:26] OK. Cheers zyga-solus [11:27] it blurs a bit the distinction with other container approaches, otoh when we allow to install the same snap multiple times we might have to think about that [11:27] zyga-solus: no, that env var doesn't change anything for that test [11:29] pedronis, thank you for checking [11:30] overlord.Mock doesn't write state to disk [11:33] anyway, I think I have also been context-switched to hell as John put it at this point [11:46] pedronis: hm, even brute force 120s is not enough on powerpc, so something else must be going on [11:50] * ogra_ waits for pedronis and mvo to cross the 1h mark for the test :P [11:51] mvo: we should understand why it takes so long on non ppc I suppose [11:51] it might it why it doesn't work at all on ppc [11:51] s/it might it/it might hint/ [11:51] pedronis: precisely [11:52] mvo: #3877 can be merged [11:52] PR #3877: debian: update trusted account-keys check on 14.04 packaging [11:53] PR snapd#3882 opened: debian: improve package description [11:53] thanks pedronis [11:54] PR snapd#3871 closed: tests: fix regex to check core version on snap list [11:54] PR snapd#3874 closed: interfaces: add netlink kobject uevent to hardware observe (2.28) [11:54] PR snapd#3877 closed: debian: update trusted account-keys check on 14.04 packaging === alan_g is now known as alan_g|lunch [11:57] mvo: now that settle is more than do Ensure 50 times, that test look strange [12:00] mvo: we don't need the for loops around settle anymore [12:02] doesn't reduce runtime, mind [12:06] pedronis: it looks like the outer loop is the problem, if I remove it I get runtimes of 0.8s [12:06] pedronis: eh, 0.08 [12:06] well I'm saying the inner loop is not needed [12:06] but both this consideration will not solve the ppc problem [12:09] mvo: there's no relation between the outer loop and settle timeout, we settle many times per outer loop, though as I said one settle is enough [12:10] mvo: we don't have a ppc box we can access? this is not going to be fun to debug just through autopkgtest runs [12:12] pedronis: I could set one up and open access for you but not sure if it will work, it's an ancient-ish mac mini [12:13] pedronis: we could also try a qemu box [12:13] pedronis: note that ensure loop prune also often fails on ppc so it feels like golang behaves different wrt scheduling there for whatever reason [12:14] mvo: this is my local diff, debugging prints included: http://pastebin.ubuntu.com/25483699/ [12:15] it works fine here with those changes [12:15] run time is just 10 times whatever it takes for one loop [12:22] settle doesn't use timers fwiw [12:30] pedronis: thanks, I poke at it some more now too [12:33] PR snapd#3882 closed: debian: improve package description [12:43] PR snapcraft#1535 opened: jhbuild plugin: remove dependency on pkgconf [12:45] mvo: xenial-ppc64el auotpkgtest are passing though, are the failures in the PPA? or somewhere else? me is confused [12:47] pedronis: yeah, in hte ppa during build [12:47] pedronis: one sec, I give you a link [12:47] what's different there? though [12:48] pedronis: https://launchpad.net/~snappy-dev/+archive/ubuntu/edge/+packages [12:48] pstolowski: o/ [12:48] pstolowski: I was trying to think how to explain what i meant about simplifying it, but can't find an easier way (for me) than code [12:48] pedronis: its a different build environment, I'm not sure about the details sbuild vs the autopkgtest env. I'm not sure how different hw/virtualisation is [12:48] mvo: ah, this is powerpc, not ppc64 el ? [12:48] pedronis: correct [12:48] pstolowski: would you mind if i wrote it and pointed you at it? [12:48] pedronis: powerpc (32bit) [12:48] pstolowski: i wish i were better at explaining :-/ [12:49] pedronis: I'm still working on the 2.28~rc2 test build, once that is done this gets my attention again [12:49] Chipaca, sure [12:51] pedronis: I'm also curious if running the tests with gccgo makes a difference [12:51] mvo: well we do run them [12:51] on other archs [12:51] so many moving parts [12:51] mvo: we have a spread test about that [12:52] pedronis: hm, good point [12:52] probably me having made a panic is also not great [12:52] given that then it ges covered by the lock panics [12:54] mvo: I can try to make a cleanup PR, might be a better baseline to investigate [12:54] from [12:54] pedronis: sure, that is welcome! [12:59] PR snapd#3883 opened: overlord/snapstate: cleanup settle and its uses [12:59] mvo: done ^ [13:00] pedronis: thanks a lot! [13:00] mvo, joining a bit late [13:00] cachio: no problem [13:02] ogra_: hmm, is there a way to tell ubuntu image to grab one of snaps from other channel? I want to build image from stable... but psplash is devmode so it can only be beta/edge === alan_g|lunch is now known as alan_g === rumble is now known as grumble [13:09] and if I build it as an extra snap locally I won't be able to update/remove it :-( [13:10] sborovkov, i'll have to talk to jdstrand at some point about having an interface that has all bits the splash needs [13:10] currently the --extra-snaps way is the best way i think ... [13:11] pstolowski: note i haven't tested that code! I think the main thing you might've been missing is that info.Apps is already a map (and that info.Services() exists) [13:11] sborovkov, though why do you use the userspace bit, i thought you start some UI anyway ... the gadget splash should be sufficient for that [13:11] Chipaca, yes, exactly, I missed those [13:12] Chipaca, thanks! [13:12] ogra_: well I wanted to have something to show if our service is restarted [13:13] so that we don't show login page [13:14] sborovkov, would "black" be enough ? i think you can tinker with the vt.handoff= value in cmdline.txt for that (just have it come out at a vt that doesnt have login) [13:15] i'd use the psplash snap only fo systems that dont have graphical bits at all, switching between the splash and your UI will likely be a "flashy" experience [13:15] hmm I guess so, since restart does not happen often and would take couple of seconds [13:15] I just was not sure if I need it to show up on the first boot when keys are generated and so on [13:15] though that's a separate issue I guess [13:16] yeah, kind of ... [13:16] for that step you would still have the gadget splash in place anyway [13:16] (it only goes away once the login prompt comes up) [13:17] yeah but on the first boot after login promt comes up it takes like 5 minutes of it doing stuff in background. so gadget splash would not be helpful. On the other hand it's not like I can change the image used by psplash on the first boot and later boots. [13:18] oh wait, psplash does not work on the first boot [13:18] so it's not gonna help anyway [13:18] nvm [13:22] sborovkov, huh ? the gadget psplash definitely works on every boot [13:23] and it only goes away once the "please press enter to configure" message comes up... i.e. when console-conf starts [13:23] by then all device keys should have long been created [13:25] PR snapcraft#1536 opened: repo: implement :target suffix for package names [13:27] ogra_: oh I was talking about psplash snap [13:27] sborovkov, hmm, after the login pompt comes up yoou have an additional delay ? [13:28] that sounds like a bug actually ... all keys should be generated once the prompt shows up [13:28] (and psplash from the gadget actually only stops if something takes over the tty (i.e. getty for login) [13:28] ) [13:35] mvo: I downloaded ppc xenial iso [13:35] I can find that box and hit the install [13:38] ogra_: console-conf is disabled [13:38] on our image [13:38] zyga-solus: I have access to a porter box but no rapt installed there nor go so I can't do much [13:40] mvo: I'll make lunch and try to install it [13:40] mvo: worst case it doesn't work [13:40] sborovkov, well, you culd try with the gadget splash and setting vt.handoff=0 ... that will keep the screen up and not show a login prompt at all ... the question is if your UI can then take over [13:40] mvo: best case I have something you can ssh into by evening [13:40] mvo: and I get the geek card back [13:41] sborovkov, your UI might need a chvt call ... [13:43] alright I will try that, going to try to apply splash screen changes from pi2 to my pi3 gadget snap repo [13:43] first [13:43] sborovkov, https://github.com/snapcore/pi3-gadget/pull/13 and i also added a gadget snap for pi3 to the bug [13:43] PR pi3-gadget#13: add splash support [13:44] (though you got custom changes i guess) [13:44] mvo: I found it [13:44] pedronis: good news, I can reproduce the error with go-6 here apparently [13:44] ogra_: ah cool will use that then, yeah, but I just need to merge it then [13:45] yeah ... me too (once i get a second review :) ) [13:45] zyga-solus: found the ppc? [13:45] mvo: on master or the simplified PR ? [13:45] zyga-solus: maybe it is not needed, it looks like I can reproduce it with go-6 [13:45] pedronis: master currently, trying your branch next [13:50] mvo: yes [13:50] mvo: ok [13:58] pedronis: with your branch it shows a proper error (but still panics on the lock) - its not converging. I will poke more, its good to be able to reproduce it [13:59] * zyga-solus breaks for food [13:59] mvo: I'm burning the ppc iso - just in case it is needed [14:07] Urgh, forum stealing / [14:10] pedronis: looks like the loop is the problem - runtime with loop 1: 0.3s 2: 0.7s, 3: 1.4s 4: 2.1s 5: 3.2s 6: 4.4s 7: forever. very strange [14:10] * mvo digs further [14:12] sborovkov, so i just tested here ... setting vt.handoff=0 to keep the splash and then later calling "sudo chvt 1" via ssh works for me ... so your UI startup script would have to do that chvt 1 call to take over the console and yoou should be fine (*if* confinement doesnt bloock chvt here) [14:12] davidcalle, I need to add a deprecation notice to https://snapcraft.io/docs/deprecation-notices, but have forgotten where that code is hosted. Help? [14:13] I thought it was https://github.com/canonical-websites/snapcraft.io [14:13] ogra_: ah, so this way until everything is done it will show black screen? or splash? And when my UI starts I just should use chvt then? [14:13] sborovkov, splash [14:14] and the chvt makes your UI take ooover the screen [14:14] oh ok, cool [14:14] * ogra_ wonders whats up with his keyboard and all these duplicated/triplicated chars [14:15] first need to figure out why after I applied PR with splash screen my images stopped booting, I merged all other changes to my branch first. It booted. Applied splash screen PR and changed the image - it stops at PI logos above, no output from uboot at all [14:15] weird, the Pr doesnt change any output settings for uboot [14:16] you should definitely still get the loading of kernel, initrd and such ... as well as the autoboot countdown [14:17] Ah ha! https://github.com/CanonicalLtd/snappy-docs [14:17] sborovkov, you dont happen to have dtoverlay=vc4-kms-v3d set in your config.txt i hope [14:17] (if thats the case there is more to do) [14:18] ogra_: ah, it boots actually. But does not show splash. My image is not getting in. It went from rapsberries at top straight to my snap [14:18] are there any requirements on image used? [14:18] and that one in config.txt is disabled [14:18] sborovkov, do you use dtoverlay=vc4-kms-v3d ? (i.e. GLES) [14:19] ok [14:19] nah [14:19] we dont [14:19] out qt app is not working with it [14:19] not sure on details, but there is a comment where it's commented out [14:19] right, mir uses it though ... [14:19] if your Qt app dooesnt use GLES we're fine on that level [14:20] I mean it's using egl [14:20] welll, then you actually need vc4 enabled ... which the dtoverllay above does [14:21] no, it does not work with it [14:21] if you do "lsmod | grep drm" on a booted board, does that return anything ? [14:22] one minute I need to boot another image for that, I don't have assertion for local stuff I build [14:22] pedronis: ok, so the issue appears to be that the MockPrerequisitesRetryTimeout is too short, the taskrunner will always try to run a preprequite task next but that will see that there is a core snap task running and will trigger a retry but because the time is too short it always retries the prepreq task and never runs the core link snap task [14:22] (i wonder how you would use EGL without vc4) [14:23] ogra_: also, is the boot image going to be resized? Boot splash is 1080p. But since I connect my display via HDMI->DVI it boots at lower resolution. Can this be the reason splash is not shown on boot? [14:24] PR snapd#3879 closed: release: merge release 2.27.6 [14:24] lsmod | grep drm does not find anything [14:24] hmm, ok [14:24] ogra_: unfortunately I have no idea on implementation details. Qt is just using FB on the rpi I think [14:24] sborovkov, hmm, the splash should adapt to the screen size... [14:24] right, that should be fine [14:24] ok, I am using SRGB 8 bit [14:24] image [14:25] which should be fine I guess [14:25] i just wanted t make sure vc4 isnt turned on while in the initrd [14:25] theoreticallly that should be fine [14:25] ok, actually let me try to boot with your vanilla splash screen [14:26] you should in any case get at least a white screen [14:26] even if the image would be broken, the bg color should change [14:26] mvo: ah, I wondered about that, makes some kind of sense [14:28] sborovkov, your cmdline.txt has the "splash" keyword set i hope (the splash checks for that) [14:28] mvo: theorically we could implement something just using immidiate retries and SetBlocked, but it needs quite a bit of state tracking and the checks would be costly [14:29] ogra_: yes your patch applied cleanly [14:29] just to make sure :) [14:29] it has vt.handoff=2 quiet splash at the end [14:30] ok [14:30] i still wonder why you dont see any uboot messages [14:31] pedronis: yeah, in practise with retry of 30s it should not be a problem, I pushed an update to 3881 and test build that now [14:32] ogra_: not sure... stdout=serial, lcd... SO it should show something [14:32] yeah and the splash PR doesnt touch anything in that area [14:32] it only chnages bits that happen a lot later in the boot [14:32] mvo: we probably don't need the global settle change, I would just do an explicit Settle in that test [14:33] mvo: we need to combine 3881 and #3883 somehow [14:33] PR #3883: overlord/snapstate: cleanup settle and its uses [14:33] pedronis: yes, makes sense [14:33] pedronis: I can fix that, I can also merge yours into mine [14:33] that works for me [14:34] pedronis: but first I want to test build to see if my box actually is close enough to the ppc [14:34] * mvo prepares an upload [14:34] fearing the ppa is even much slower ? [14:34] we could bump it to 100 ms but check arch ? [14:34] I mean bump only conditionally [14:36] * zyga-solus breaks for a few hrs to work on kids stuff [14:44] pedronis: merged your branch into mine and resolved the conflicts [14:47] thanks, let's see how it goes [14:49] PR snapd#3883 closed: overlord/snapstate: cleanup settle and its uses [14:49] mvo: I closed mine [14:50] pedronis: ta [14:52] PR snapcraft#1537 opened: project_loader: aliases are deprecated [15:07] api.snapcraft.io has a hiccup? [15:19] ogra_: meh, no, issue is not in the image. tried clean build as well just in case. Unlike old behavior where I'd get login page while everything is configured. And then my snap would show up. All I see is raspberries on the top until our snap takes over. No splash screen though :-( [15:19] sborovkov, even with my gadget snap ? [15:20] ogra_: hmm, I am not sure, let me try vanilla snap. [15:20] but the only difference from previous described behavior is your PR merged [15:21] and it works fine if you just revert it ? [15:22] the PR really only puts an additional file in place and adds an extra load command ... there is nothing it could do to actually make the ooutput before anythiing loads disappear [15:23] alright, I am going to revert it and try it again. Also try vanilla snap as well, but tomorrow I guess, will tell you if I succeed [15:26] i'm around [15:27] sborovkov, you guys dont happen to come to our rally in new york, do you ? [15:27] (would perhaps be helpful to work face to face and with the HW in front of us) [15:42] ogra_, hey [15:43] ogra_, I am testing the 2.27.6 and I see it is failing on dragonboard [15:43] mvo: any news if it's fixing stuff? [15:43] no space left [15:43] ogra_: don't think so [15:43] ogra_, It was running on testflinger [15:44] cachio, resized propely ? [15:44] I'm trying to reproduce it on my dragonboard [15:45] ogra_: alright i want to bang my head against the wall. During our image creation something image is mounted to loop0 and loop1. So I was getting the freaking same image for a last hour *facepalm* [15:45] oh my ! [15:45] because it did not unmount [15:45] :) [15:45] during one of the builds [15:48] ogra_, which command line do you use to flash your db? [15:49] cachio, i use the same everywhere ... xzcat /path/to/image| sudo dd of=/dev/sdc bs=32M [15:49] cachio, after explicitly running "sudo umount /dev/sdc1; sudo umount /dev/sdc2" [15:50] (my SD reader shows up as sdc obviously) [15:50] ogra_, ok, I'll do the same [15:50] I am umounting always [15:50] good [15:56] ogra_, /dev/mmcblk1p9 546M 378M 128M 75% /writable [15:56] sigh [15:56] ogra_, after I flashed it [15:56] ogra_, where are the logs? [15:57] after the first boot ? [15:57] (or is that still in your PC) [15:57] ogra_, after the first boot [15:57] the log is in /run/initramfs [15:58] and you are 100% sure nothing automounted the SD after you unmounted it ? [15:58] befor you dd'ed [15:58] yes [15:58] I checked that [15:58] (smeone said this week that kde always remoounts it apparnetly) [15:59] ogra_, I ran sudo umount [15:59] and then checked that [15:59] he did as well ... [15:59] * ogra_ tries to remember who that was ... [16:00] ogra_, the weird think is that I ran in test flinger and it failed in 4 different dbs as well [16:00] with the same issue === chihchun is now known as chihchun_afk [16:00] cachio, well, nothing changed in months in the resize code [16:01] so i'm surprised it doesnt resize [16:01] https://paste.ubuntu.com/25484632/ [16:01] * ogra_ glares at "open: No such file or directory while opening " [16:02] but that message is even after it resized already [16:02] re [16:02] back for 40 min, then one more school meeting [16:02] ~fun [16:05] mvo: any luck with that ppc bug? [16:06] ogra_, do you need any other log? [16:07] cachio, no, and i have absolutely no idea, that code has last changed in april and has not caused issues sice (at least federico never told me) so i'm a bit idea-less [16:08] (actually even long before april) [16:08] ogra_, are you able to reproduce it? [16:08] let me try an install but i have never has resize issues since the code landed [16:08] *had [16:09] ogra_, perhaps the diff is how we are building the image [16:09] ogra_, I am using this script to create the image https://github.com/sergiocazzolato/validator/blob/master/create.sh [16:10] I ran it using CHANNEL=beta [16:11] yeah, not different to what i use here, though i'm still on the ubuntu-image deb [16:12] so it might be the snap has changed something that breaks the partition table ... but i wouldnt expect that [16:12] * ogra_ flashes todays daily [16:13] cachio, oh, dont forget when unmounting, the dragoboard uses sdc8 and 9 [16:15] ok, booting here [16:17] ogra_, yes === JanC_ is now known as JanC [16:18] zyga-solus: I think its fixed [16:19] ogra@localhost:~$ df -h /writable [16:19] Filesystem Size Used Avail Use% Mounted on [16:19] /dev/mmcblk1p9 57G 384M 54G 1% /writable [16:19] cachio, ^^^ [16:19] :/ [16:20] so i cant reproduce it here [16:20] mvo: great, I can trash this old junk then :) [16:20] ogra_, which image are you using? [16:21] cachio, http://people.canonical.com/~ogra/snappy/all-snaps/daily/current/ubuntu-core-16-dragonboard-410c.img.xz [16:21] (got that locally here) [16:21] uses edge ... but beyond that shouldnt differ [16:21] ogra_, could you try with to generate the image with the snapd from beta? [16:24] zyga-solus: I will know for sure once 3881 is in [16:24] cachio, sure, but the initrd in both should be indentical ... (teh initrd is what does the resize) [16:25] ogra_, tx, I am gonna try with the one you used [16:25] * ogra_ dd's beta ... [16:27] Hey all, it seems snapctl -h broke [16:27] It requires a cookie [16:29] Makes it difficult to figure out how to use [16:29] cachio, http://paste.ubuntu.com/25484910/ this is how it shoudl look like ... (there is an extra message on the tty console about the GPT not defininig the fulll disk size (which is fine), this is copy/paste from serial) [16:30] cachio: how are the tests looking so far? all green? [16:30] ogra_, ok, I'll check with the image that worked for you [16:30] mvo, yes, but strugling with hte dragonboard [16:30] mvo, it is failing on first boot to resize [16:31] * zyga-solus managed to install 14.04 on the ppc junk [16:31] cachio: autsch, i remember you had this issue before, right? [16:31] it fails in testflinger for the 4 dbs [16:31] and in my db [16:31] cachio, oh wow! [16:31] ogra@localhost:~$ df -h /writable [16:31] Filesystem Size Used Avail Use% Mounted on [16:31] /dev/mmcblk1p9 546M 378M 128M 75% /writable [16:31] ogra_, well [16:31] ogra_, with beta? [16:32] * ogra_ checks if the kernel snap is any different between beta and edge [16:32] yes [16:32] ogra_: the ancient ppc mac has the same amount of ram as raspi3 today, isn't that silly? [16:32] mvo, well, now ogra_ could reproduce the error [16:32] mvo, the rest is ok [16:33] cachio, aha ! seems the kernel in beta has an issue [16:33] there are two different snaps [16:33] ppisati, sitll around ? [16:33] cachio, edge is on rev 33 [16:33] beta on 34 [16:34] ogra_, well, that's possitive, now we know the reason [16:34] they have the same version string, so i guess beta and candidate were a rebuild [16:35] why is stzable so old on the dragonboard btw [16:35] thats really behind (rev 27) [16:37] cachio, is it urgent ? then i can re-release 33 into beta [16:39] ogra_, yes [16:39] ogra_, it is a fix that should be fully tested today [16:40] ogra_, to go to candidate [16:40] tomorrow [16:40] cachio, ok, 33 is in beta and candidate now ... you shoudl be able to rebuild [16:42] ogra_, [16:42] * ogra_ does the same [16:42] nice [16:42] ogra_, tx [16:43] but looking at the build log of the kernel snap i dont see anything wrong [16:43] very weird [16:45] mvo, I'll restart the testing [16:48] ogra@localhost:~$ df -h /writable [16:48] Filesystem Size Used Avail Use% Mounted on [16:48] /dev/mmcblk1p9 57G 380M 54G 1% /writable [16:48] cachio, back to normal here [16:48] err [16:48] o not [16:49] ogra@localhost:~$ snap list [16:49] No snaps are installed yet. Try "snap install hello-world". [16:49] crap [16:49] ogra_, :( [16:49] the rebuild was actually to fix the broken clock setting [16:49] so 33 wont work [16:50] * ogra_ switches edge to 32 and does an edge build [16:53] ogra_, is it ready? [16:53] let me test first [16:53] sure [16:57] sigh [16:57] ogra@localhost:~$ snap list [16:57] No snaps are installed yet. Try "snap install hello-world". [16:57] ogra@localhost:~$ [16:58] * ogra_ switches edge back to 31 ... [16:58] resize was fine btw ... but that doesnt help [17:01] ogra_, :( [17:01] booting with 31 [17:05] ogra@localhost:~$ snap list [17:05] No snaps are installed yet. Try "snap install hello-world". [17:05] :((( [17:09] * ogra_ goes to rev 30 [17:15] ogra_ sorry did not get to it, but will test that cm3 tomorrow morning [17:16] ondra, all fine as long as you are aware ... i'm not in a hurry [17:16] ogra_ yeah, it's on my list :) [17:17] * Chipaca shakes fist at stuff [17:17] anyway, EOD for me [17:17] * ogra_ joins Chipaca [17:18] yeah! [17:18] * Chipaca shakes some more [17:19] * ogra_ hopes this boot will finally work ... i had an appointment 20min ago :( === JoshStrobl|zzz is now known as JoshStrobl [17:20] ogra@localhost:~$ snap list [17:20] No snaps are installed yet. Try "snap install hello-world". [17:20] ogra@localhost:~$ [17:20] RAAAAAAAAAAAAAAAAAAAAAAAAAAAHHHHHHHHHHHHHHHHHHHHHHHH!!!!!!!!!!!!!!!!!!!!!!!!! [17:21] ogra_, the one we used in the previous beta was working [17:21] cachio, cant be [17:21] ogra_, could we use that one? [17:21] do you knwo which one that was ? [17:22] no [17:22] I don't [17:22] i just switched edge to what was in stable (rev 27) and run another test now [17:22] ok [17:27] ogra@localhost:~$ df -h /writable/ [17:27] Filesystem Size Used Avail Use% Mounted on [17:27] /dev/mmcblk1p9 57G 384M 54G 1% /writable [17:27] ogra@localhost:~$ snap list [17:27] Name Version Rev Developer Notes [17:27] core 16-2.28~rc2 2853 canonical core [17:27] dragonboard 16.04-0.18 32 canonical gadget [17:27] dragonboard-kernel 4.4.0-1063.68 27 canonical kernel [17:27] ogra@localhost:~$ [17:28] PHEW [17:28] cachio, ok, i released rev 27 to all channels [17:32] ogra_, great [17:32] tx [17:32] cachio, oh, crap and i think i know what the issue is, zyga-solus added a massive amount of quoting to all initrd scripts, i bet something now spits out a wrong number [17:33] there looking at the diff orf the initrd scripts (specifically resize) there is a gazillion pointless doublequotes now [17:34] if in doubt, quote [17:34] quote, quote and then quote again [17:34] -device_size="$(($(cat $syspath/size)/2))" [17:34] -sum_size="$(($(grep $(basename $device)[a-z0-9] /proc/partitions|\ [17:34] +device_size="$(($(cat "$syspath"/size)/2))" [17:34] +sum_size="$(($(grep "$(basename "$device")[a-z0-9]" /proc/partitions|\ [17:34] tr -s ' '|cut -d' ' -f4|tr '\n' '+'|sed 's/+$//')))" [17:34] when you think you've quoted enough quote some more :-p [17:34] i bet that grep doesnt return anymore what it did before [17:35] is there a unit testing framework anywhere in the world for shell scripts? (I feel there should be at least one attempt) [17:36] yes, that is what got us the breakage [17:36] apt install shellcheck [17:36] ;) [17:36] and it will make aou add quotes in a lot of pointless places [17:37] quote all the things! [17:37] " [17:37] as long as your quotes aren't imbalanced, you'll be fine" [17:38] don't forget to quote your quotes or else you'll get randomness" [17:39] the one I really hate with shell scripts is that quotes in variables are interpreted when they're included in another line [17:39] thing* [17:39] variables aren't treated really like other languages, they're expanded BEFORE the command is parsed [17:40] FOO="something with 'quotes'" do_something_with $FOO; echo "probably didn't do quite what you expected, did it?!" [17:41] maybe we should kill bash :-p [17:41] or kill -9 bash [18:37] Hello everyone. [18:37] Hey there SXX [18:37] I looking for some advice. I want snap-packaged application to use assets from /usr/share/ inside snap as it's usually do on main system. [18:38] https://gist.github.com/ArseniyShestakov/6814ddf6085eb1a798281e31d8d30737 [18:39] Assets I need are found inside /snap/vcmi/x3/usr/share/vcmi. [18:39] Though I feel that app while running via snap trying to read /usr/local/share of the main system which obviously prevented by apparmor [18:40] Do I need to specify some special CMake prefix while building for snap? [18:42] ogra_: alright, nice, at least I got some progress. Seems like I get no output about services that are starting. Just uboot messages showing up until my snap takes over. [19:15] Should I somehow use $SNAP prefix in my app code? === ShalokShalom_ is now known as ShalokShalom [19:47] Installed Discord via the Snap package (from the Software Center) and get this when trying to run Discord http://ix.io/zFu Any ideas? (17.10 Artful) [19:51] snapd 2.27.5+17.10 [19:59] PR snapd#3884 opened: store: simplify api url config [20:04] jdstrand: hey [20:04] jdstrand: not sure if you did but a kind request to look at the child profile for snap-update-ns that I wrote [21:05] SXX, sorry for the delay, I was in a meeting [21:05] morning [21:05] Morning mwhudson! [21:06] SXX, yeah, you need to somehow use $SNAP there, since snaps aren't chroots [21:06] kyrofa: i already find out snap actually able to rewrite paths for assets in /usr/share [21:06] SXX, how you do that depends on the application. Apache has a config file that allows use of environment variables. Others have cli flags for redirecting it [21:06] SXX, or you can use the preload part, is that what you're talking about? [21:07] I still have a problem that our applications need to be able execute each other. [21:07] E.g we have 3 apps: launcher, game client and server [21:11] Sure [21:11] What is the issue there? [21:12] They use absolute path and desktop-launcher doesn't override that. [21:12] I mean desktop-launch. [21:13] SXX: you control your app, though -- so don't use absolute paths? [21:13] True, I just looking what best practice is. [21:14] SXX: I think hardcoded non-snap-aware paths are not best practice for snaps :) [21:15] Yes, but it's code that works for Linux in general and I suppose there no better way to handle it other than hardcoding. [21:16] nacc: so I suppose the right solution would be to getenv SNAP and prepend it to our internal paths? [21:17] SXX: so, e.g., in my snap, which is classic, i have application wrapper scripts that set PATH appropriately for applications to be found (that are packaged by my snap) [21:17] SXX: all of my applications are actually just these wrapper scripts that setup the env correctly and then exec the actual application [21:20] nacc: thanks! [21:21] SXX: that's admittedly just my way of doing it -- but I think that's also roughly what snapcraft does for classic snaps using plugins (I'm using the dump one currently) [21:23] Am I getting it right that with some newer snapd if I have app like "vcmi.vcmiclient" it's will automatically get alias of vcmiclient? [21:24] Or it's will always require user interaction to set alias? === Eleventh_Doctor is now known as Pharaoh_Atem [21:25] SXX: i think vcmi.vmci will become vmci [21:25] yeah that I know [21:26] I read on forums before it's was possible to manually add aliases, but it didn't work anymore. [21:27] SXX: https://forum.snapcraft.io/t/improving-the-aliases-implementation/18?source_topic_id=905 [21:28] SXX: so i think it's now store thing [21:29] SXX, yeah, best practice is to just write code that is flexible. Not all linux distros follow the same rules for where things go, either. When you find yourself writing an absolute path, add a cli flag or config file property for it, and you can _default_ to the absolute path [21:30] kyrofa: Do you know how long does it take for reserved names to be reviewed / granted? [21:31] SXX, I'm afraid not, that's in the store team's domain. But if you find it taking an inordinate amount of time, create a forum post in the store category and ask about it [21:32] kyrofa: no problem, I just sent request so not big deal. I just wonder about that since I not sure if I should wait until it's granted or register temporary name for testing. [21:32] SXX, I do know that it's a manual process. If you're blocked on it, register it as something else. Heck, the store folks might even be able to rename the temporary one you use [21:33] SXX so I say go ahead and register -sxx or whatever and use that for now [21:33] Thanks! [21:33] kyrofa: for the paths we expose way to set custom binary / lib / data paths in our CMake. So other distributions can really use what they want. [21:34] SXX, ah, indeed. Snaps work best when the application is relocatable [21:34] Though we still need absolute paths by default since that way it's easier to make sure development builds not conflict with installed system-wide. [21:35] kyrofa: wait, do you mean it's make sense to just make it single-dir windows-like install for snap? [21:35] SXX, hmm... I don't quite understand what you mean [21:36] kyrofa, I added monolithic install support since I initially wanted to try ship it with Steam Runtime. [21:37] kyrofa, my attempt is failed since runtime is horrible piece of tech, but I can still just dump game in single directory so it's use relative paths. It's what I use for my development builds so I can run several different builds side-by-side. [21:40] Yeah that sounds promising [21:44] kyrofa: thanks for your time! I'll still need to solve problem with boost::interprocess somehow, but I have some better understanding what I need to do. [21:44] hmm [21:44] zyga@mini:~$ snap version [21:44] snap unknown [21:44] snapd unknown [21:44] series 16 [21:44] ubuntu 16.04 [21:44] kernel 4.4.0-93-powerpc-smp [21:44] we're not setting version on the powerpc build? [21:44] SXX of course, any time [21:44] this is vanilla snapd on powerpc [21:44] zyga-solus, where on earth did you get a ppc machine? :P [21:45] kyrofa: it was in my attic [21:45] Mac? [21:45] kyrofa: I can also say our xenial install media is broken, the trusty one is ok though [21:45] kyrofa: yep, my mac mini G4 [21:45] aaaancient [21:45] Wow, crazy [21:46] zyga-solus: I left voluminous comments in the PR yesterday [21:46] zyga-solus: and hi :) [21:47] jdstrand: excellent, thank you [21:48] jdstrand: I'll check it out tomorrow and iterate [21:48] cool [21:48] zyga-solus: note, tomorrow is a half day for me (working my morning) [21:48] aha, noted [21:57] jdstrand: all the comments are (as always) very detailed and sensible, thank you, I will iterate on this tomorrow morning, hopefully by the time you're up it would be something you could re-review [22:00] hmm [22:00] zyga@mini:~$ sudo snap install core [22:00] error: snap "core" not found [22:00] and mvo worries about ppc test suite [22:00] it's just totally broken [22:01] kyrofa: do we build core for ppc? [22:02] zyga-solus, ubuntu-core is [22:02] zyga-solus, not sure about core [22:02] why ubuntu-core and not core? [22:02] ah [22:02] I see [22:02] I think it's rather terribly broken [22:02] I wonder how anything passes [22:03] zyga-solus, you're sure you're on ppc64el and not ppc64le or whatever other magical combinations there are? [22:04] I'm on ppc [22:04] that's the 32bit powerpc running in big-endian mode [22:04] and there's snapd preinstalled (xenial) [22:04] * zyga-solus builds 2.27.6-1 for debian [22:05] Just because snapd is preinstalled doesn't mean it's an arch the store supports [22:05] mwhudson: hey, in case you are around, I'll dput this soon [22:05] kyrofa: my point is that mvo looses grey hair over ppc (precisely that arch) [22:05] zyga-solus: cool [22:05] kyrofa: and the elephant in the room is that it's totally broken [22:05] mvo is LOSING hair now? [22:05] zyga-solus: the ubuntu / debian architecture name is 'powerpc' :) [22:05] Isn't he like 30 or something? [22:06] mvo? [22:06] heh [22:06] zyga-solus: I can't guarantee I'll be able to get to it tomorrow-- my mornings are typically dominated by reacting to forum, email, irc, etc, but it will certainly remain at the top of the queue [22:06] * zyga-solus always writes that word wrng [22:06] jdstrand: ack [22:06] thank you! [22:07] so, to complete the "hardware from hell" I need the big iron [22:08] np [22:09] zyga-solus: doesn't look like ubuntu-core or core exist for powerpc [22:09] mwhudson: yeah [22:09] mwhudson: *oops* [22:10] not that I care but what does snapd do on that arch there [22:10] so i guess i agree that building the snapd package there is a bit pointless :) [22:10] then [22:10] if we must support it then ogra_ should arrange a build [22:10] and if not we should stop building the package and remove it from the distro and the isos [22:10] i wonder if lp can even build snaps for powerpc [22:10] I'm curious how we got the "unknown" versions though [22:10] mwhudson: not without core for sure [22:11] mwhudson: but I bet it can since it can build packages [22:11] i guess we can build for s390x which similarly only has devirt builders [22:12] ogra_: still up? [22:13] mwhudson: are you on ubuntu now? [22:13] zyga-solus: i am on ubuntu always [22:14] mwhudson: can you check if 2.27.5 has version? [22:14] as in snap --version [22:14] my ubuntu laptop is closed now so just more convenient to ask [22:14] zyga-solus, it does [22:14] zyga-solus: i'm on 17.10 [22:15] http://paste.ubuntu.com/25486607/ [22:15] I wonder how 2.27.5 has such a weird version [22:15] zyga-solus: ah haha i have a test build i made for that pr installed :) [22:15] thanks nacc [22:15] zyga-solus: np (taht's the output from `snap --version`) [22:15] and not that I see 2.27.5 in apt-cache policy, not -1 inherited from debian in some way [22:16] mwhudson: FYI the 2.27.6 merge was clean, I just copied the changelog from xenial [22:16] mwhudson: sbuilding now, will dput if green [22:16] zyga-solus: yeah fair enough [22:16] zyga-solus: oh yeah, changelog [22:16] zyga-solus: i think i've been bringing the ubuntu changelog entries over into the debian one [22:16] like the reverse of what happens when ubuntu has a delta from debian [22:17] dpkg-mergechangelogs dtrt i think [22:17] hmmm, I never tried that [22:17] but it's not very important [22:17] will it break where debian version is non-native and ubuntu is native? [22:17] so every other version will flip? [22:18] no, that will make something (dpkg-source? dch?) complain at you but otherwise it's fine [22:18] native/non-native is mostly controlled by debian/source/format anyway :) [22:18] also the ubuntu package really shouldn't be native but ehhh [22:18] yes I agree strongly [22:18] it would help with silly releases that just fix debian (xenial really) packaging [22:19] * zyga-solus install sbuild on ppc xenial [22:19] let's rebuild this weird snapd [22:19] and see what we get [22:22] mwhudson: build passed, pushing to alioth and then dput [22:23] done [22:24] zyga-solus: \o/