[02:55] PR snapcraft#2462 closed: Release changelog for 3.1.1 [06:23] morning [07:03] mvo: hey [07:03] mvo: #6480 can land, right? [07:03] PR #6480: release: 2.37.2 [07:08] mborzecki: good morning! yes, the changelog can land [07:10] PR snapd#6480 closed: release: 2.37.2 === pstolowski|afk is now known as pstolowski [08:10] mornings [08:20] hello [08:20] hey pstolowski and predronis [08:22] mvo: should i (or someone) upload 2.37.2 to debian? [08:22] mwhudson: that would be great, yes [08:22] mwhudson: it fixes some small regressions around classic snaps and special users [08:22] mvo: have you managed to import the debian packaging into snapd upstream? [08:23] mwhudson: there is a PR for this https://github.com/snapcore/snapd/pull/6413 but it needs one more review [08:23] PR #6413: packaging: import debian salsa packaging work, add sbuild test and use in spead [08:24] mwhudson: with this the packaging updates would be super trivial because we can just keep in sync this way and we (upstream) detects any dependency issues very early, we even could have a real "debian" branch so that the release is literally just "gbp" [08:24] mvo: would my uploading 2.37.2 the old way make your life harder? [08:24] mwhudson: I initially imported with all history from salsa but there is a bad commit in there that breaks something, iirc gbp because of an invalid email address [08:24] is it worth waiting for that to merge? [08:25] mwhudson: just go ahead [08:25] ok [08:25] mwhudson: I will just merge your changes [08:25] mwhudson: and then once its in our master I plan to take the salsa one, merge our master, fix the conflicts and then things should be super smooth [08:30] mvo: i've re-run smoke/install test on pi3 and it failed with same symptoms as yesterday [08:31] mvo: this is probably relevant: snapmgr.go:247: cannot read snap info of snap "core" at revision 6351: cannot find installed snap "core" at revision 6351: missing file /snap/core/6351/meta/snap.yaml [08:32] mvo: and then https://pastebin.ubuntu.com/p/SFjvTQgghK/ [08:35] pstolowski: did you use a fresh image before the re-run? [08:35] mvo: no [08:35] pstolowski: I think thats the issue, the test scrweed things up [08:35] * mvo needs to be afk for ~10min [08:35] mvo: ah [08:35] mvo: ok, reflashing [08:37] mvo: uploaded === phoenix_firebrd is now known as murthy [08:54] mwhudson: thank you! === murthy is now known as phoenix_firebrd_ [08:54] pstolowski: I think the issue is (I saw that in another test) that the restore is doing something wrong sometimes, I saw that there was a "core" snap in the state but not on disk so things got confused [08:56] mvo: sounds plausible [08:58] pstolowski: don't get me wrong, we need to get to the bottom of it but its not an OMGnow priority :) [08:58] mvo: yes, of course, it's just a test helpers issue [08:58] exactly [09:00] mvo: hmm, i though i could request individual tests with SPREAD_TESTS=... env when running run_external_device.sh, but it doesn't seem to be the case. is there a way to run the script and have device prepared and only run specific tests? [09:00] *thought === phoenix_firebrd_ is now known as murthy [09:03] ah i made a typo, retrying.. [09:12] pstolowski: aha, nice, I was not aware of this option! when I retried so far I was doing it by hand (which is a bit cumbersome). thanks for this [09:21] mvo: nah, ignore it, doesn't work, it's probably an internal variable in the scripts [09:21] mvo: anyway, i re-run the two tests manually and they passed [09:28] pstolowski: thank you! [09:29] pstolowski: I had the same the other day (not the same test but same error and symtoms and re-run on a clean image made it pass) [09:30] pedronis: re your comment about renaming/simplyfing RequestedSlotSpec, that could be a separate followup PR i think [09:30] pstolowski: yes, but we should probably agree a bit on what, anyway this PRs all need 2nd reviews [09:31] pedronis: indeed [09:32] I should have time for reviews today [09:32] mvo: do you think you could the 2 hotplug PRs? [09:32] *could review* [09:33] yeah, I looked at the rename one a bit this morning but need to look at the first one first [09:33] mvo: yeah, #6465 should land first, will make the rest smaller [09:34] PR #6465: overlord/ifacestate: hotplug-add-slot handler [09:58] pstolowski: can we have a short HO about in 30 mins about the Spec stuff? [09:58] pedronis: yes [09:59] cool [10:12] Chipaca: pushed some tweaks to snap connections [10:13] Chipaca: the help message is likely worse than it was in the beginning :) i'd love some input from you and degville on this [10:13] mborzecki: I'll take a look :) [10:13] drat, i probably need to update the spread test now [10:30] pedronis: standup HO? [10:31] yes [10:35] "failed mips build of snapd 2.37.2-1" oh noes [10:35] * mwhudson goes to bed [10:36] mwhudson: meh, do you have a link to the build log? [10:36] mvo: it's really no concern, it has always failed on mips [10:36] pedronis: do you think 6413 could land with only a single review? given that its mostly packaging and a little bit of tests? [10:37] mwhudson: aha, ok [10:37] although if you really want a look https://buildd.debian.org/status/package.php?p=snapd [10:37] -buildmode=pie not supported on linux/mips [10:37] I see [10:37] thanks! [10:48] degville: what do you think about this https://paste.ubuntu.com/p/5Znd8JZ7f2/ ? [10:52] mborzecki: problem with that is that you don't clearly say that without a snap it lists all [10:53] mborzecki: maybe the first sentence, ... between plugs and slots >for all snaps< in the system [10:54] mborzecki: and to emphasize it, in the first example, Lists connected and unconnected plugs and slots ~for~ >limited to< the specified snap. [10:54] or something like taht [11:03] Chipaca: degville: how about this one https://paste.ubuntu.com/p/CfcwX7J2Qv/ ? [11:03] mborzecki: winner [11:03] yep! [11:05] Chipaca: degville: ok, updating the code, thanks for the help! [11:06] mborzecki: np! [11:22] Chipaca: degville: thanks for the review/inputs on that PR. I will try to my own pass over it later today [11:41] pedronis: pstolowski: would it make sense to have (pre-)refresh hooks know the revision on both sides of the refresh? [11:43] multipass snapshots live VMs on refresh, and the snapshot format isn't compatible between 16 and 18, so they need to block a refresh if a vm is alive and it's trying to go between those two [11:43] Chipaca: imho - yes, that was brought a couple of times but never reached conclusion [11:44] Chipaca: could be snapctl enhancement, or in env [11:58] Chipaca: maybe, revisions are not a useful concept to code around tough [12:04] pedronis: yeah, epochs would be better there :-) [12:07] Chipaca: well, but if they use epochs and express they can't go from here to ther [12:07] they can't never update [12:07] unless we had a --foce [12:07] s/had/add/ [12:07] heh, --force [12:11] pedronis: issue for them is that you could, all you need to do is stop your vms (or know they'll be stopped for you?) [12:12] Chipaca: yea, epochs don't quite fit that [12:13] pedronis: https://forum.snapcraft.io/t/how-to-cause-a-snap-rollback/9848/8?u=chipaca [12:13] yes, I'm aware of that forum post [12:13] I haven't had brain cycle to more than skim it so far tough [12:13] :-) no worries [12:20] popey: just watching your Snapcraft live - are you familiar with being able to run 'less /path/to/foo.snap' to see what's in there? easy way of peeking to see what's there (maybe don't need to unsquashfs at ~29:00) [12:20] mvo: hey! Is the snapd 2.37.1 for cosmic good? I mean, you mentioned that the bionic-visible regression did not affect cosmic, right? [12:20] mvo: is it safe to release? === phoenix_firebrd is now known as murthy [12:25] sil2100: it is ok, there is a new 2.37.2 available thought that fixes a rare corner case [12:26] sil2100: I think I would slightly prefer 2.37.2 unless you need the update now [12:26] sil2100: 2.37.2 is already in *-proposed [12:34] mvo: it's fine, I'll wait for 2.37.2 then [12:34] btw. it's not yet in -proposed, it's waiting for review o/ [13:34] sil2100: ups, thats what I meant, its waiting for -proposed [13:34] sil2100: *nudge* *nudge* *wink* *wink* :P [13:34] sil2100: (no worries, I will wait for the archive-admin of the day) [13:36] I'll review it today in a bit hopefully (since it's my shift today ;p) [13:39] sil2100: thank you [13:45] PR snapd#6483 opened: image,cmd/snap: simplify --classic-arch to --arch, expose prepare-image [14:01] Chipaca: standup? [14:02] pedronis: nah === ricab is now known as ricab|lunch [14:29] PR core18#116 closed: Support arm64 with efi bootloader [14:30] PR core18#113 closed: hook-tests: add more hook tests [14:32] Bug #1576775 changed: Docs: missing command to check a service status and logs [14:36] https://forum.snapcraft.io/t/retroarch-help-with-issue-on-first-launch/9869 [14:36] that's a bit worrying. Something perhaps broke in 3.27? [14:36] sorry, 2.37 :) [14:37] Chipaca: the prepare-image PR is https://github.com/snapcore/snapd/pull/6483 [14:37] PR #6483: image,cmd/snap: simplify --classic-arch to --arch, expose prepare-image [14:47] hey sil2100, do you have a rough idea of when the arm64 ubuntu server image for raspi will be officially released? Thanks! [14:49] ijohnson: hey! It'll be out with the 18.04.2 point-release [14:50] awesome, that's great news [14:50] ijohnson: just have in mind that we'll still be improving the experience, with an aim to have a really solid product (hopefully) with disco (19.04) [14:50] It's all a bit fresh here right now [14:51] sil2100: ack, thanks for the explanation [14:57] off to pick up the kids [15:25] PR snapd#6476 closed: cmd/snap: tweak man output to have no doubled up .TP lines === ricab|lunch is now known as ricab [15:27] PR snapcraft#2448 closed: Swap yaml schema document with json equivalent [15:27] YEY [15:31] mvo: doh.. https://pastebin.ubuntu.com/p/5bM7W4DQ96/ [15:36] pstolowski: oh, anything interessting on the serial console? I wonder why the read/connect failures [15:37] mvo: nothing there, just login prompt [15:38] pstolowski: if you ssh to the machine, does that still work? [15:39] mvo: dammit.. my eth cable got loose :( [15:40] that's why it had i/o errors [15:40] pstolowski: heh - no worries, better that than something deeper [15:41] indeed [16:49] 6483 needs a second review (easy win) [16:49] also 6481 (another easy win) [16:57] 6483 really needs Chipaca I think [16:57] on it [16:57] got sidetracked by some things in there [16:57] but on it [16:57] it's fine [16:57] my point was more than I wouldn't land it before your input [16:58] I don't think is super urgent either === pstolowski is now known as pstolowski|afk [17:03] pedronis: there [17:30] Chipaca: thanks, you meant vertical space, when you wrote horizontal right? [17:30] pedronis: maybe I had my laptop on its side [17:30] :) [17:30] pedronis: yeah [17:34] is there any reason after a snapcraft key creation that it would periodically work? snapcraft list-keys shows it and i can see its active, but executing the snap sign states no key [17:36] pedronis: fwiw image already pulls in i18n ( image -> store -> i18n, as well as via strutil and timeutil) [17:37] oneguynick: snapcraft key, or snap key? [17:37] snapcraft list-keys [17:37] Chipaca: I'm sure it does, it used from cmd/snap anyway, my point is that package itself doesn't import/use it yet [17:37] for anything [17:37] snap key doesnt appear to be a valid command [17:38] pedronis: k [17:38] Chipaca: pushed btw if you want to look again [17:38] oneguynick: but then you use 'snap sign'? [17:38] cat box-model.json | sed s/%TIMESTAMP%/$TIMESTAMP/ | snap sign -k itbox > box.model [17:38] this is the actual command being executed and failing [17:39] pedronis: thank you [17:39] output is this on the return [17:39] error: cannot sign assertion: cannot sign using GPG: /usr/bin/gpg --personal-digest-preferences SHA512 --default-key INSERTFAKEKEYINFOHERESINCEITSCUT_N_PASTE --detach-sign failed: exit status 2 ("gpg: signing failed: No such file or directory\ngpg: signing failed: No such file or directory\n") [17:40] oneguynick: but this only fails sometimes, you say? [17:40] yeah i just ran it to build an imagine and it randomly functioned [17:40] *image [17:42] oneguynick: do you do the list-keys and the sign with the same user in the same vm / container / machine? [17:43] yes both running as my user [17:43] i only sudo for the ubuntu-image build [17:44] oneguynick: snapcraft list-keys calls 'snap keys --json' (and then does some processing on it) [17:45] snap keys --json shows the key [17:45] snapcraft list-keys lists the same one (as expected it seems) [17:46] oneguynick: 'snap sign' and 'snap keys' use the same logic to find keys [17:46] oneguynick: the same codepath mostly (except one is listing, the other is searching by name) [17:46] any idea why `snap keys` and `snapcraft list-keys` see the key, but not sign? [17:47] oneguynick: so far my only hypothesis is that you're inadvertently using it in different contexts, somehow [17:48] oneguynick: does it fail reliably? [17:48] oneguynick: if so, check that user's ~/.snap/gnupg [17:49] failed at least 10-15 runs recently [17:49] `S.gpg-agent S.gpg-agent.extra openpgp-revocs.d pubring.kbx trustdb.gpg [17:49] S.gpg-agent.browser S.gpg-agent.ssh private-keys-v1.d pubring.kbx~ [17:49] contents are there and ownership correct [17:50] PR snapd#6481 closed: tests: run test snap as user in the smoke test [17:51] oneguynick: that's ~/.snap/gnupg ? [17:51] yes [17:53] oneguynick: can you prepend the snap sign with «strace -e '!select,pselect6,_newselect,clock_gettime' -f -D -vv -o /tmp/sign.trace» and try again until it fails? [17:56] looks like the gpg is failing on no such key [17:57] is there any reason you sign your assertion that often ? (you typically only do that once) [18:02] i am in the process of prototyping and rebuilding images [18:30] PR snapd#6483 closed: image,cmd/snap: simplify --classic-arch to --arch, expose prepare-image [19:08] I went ahead and wiped out my keys and started again. Seems to be working better. No idea why [19:08] thanks @Chipaca for your help [19:09] oneguynick: I blame … evil hackers from Serbia. [19:09] PR snapcraft#2464 opened: project_loader: use hardened flags by default [19:09] fallback blame in case that one is unacceptable: Our POP server was kidnapped by a weasel. [19:10] * Chipaca stops playing with 'bofh' [19:10] Хвала вам