/srv/irclogs.ubuntu.com/2019/02/07/#snappy.txt

mupPR snapcraft#2462 closed: Release changelog for 3.1.1 <Created by sergiusens> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/2462>02:55
mborzeckimorning06:23
mborzeckimvo: hey07:03
mborzeckimvo: #6480 can land, right?07:03
mupPR #6480: release: 2.37.2 <Created by mvo5> <https://github.com/snapcore/snapd/pull/6480>07:03
mvomborzecki: good morning! yes, the changelog can land07:08
mupPR snapd#6480 closed: release: 2.37.2 <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/6480>07:10
=== pstolowski|afk is now known as pstolowski
pstolowskimornings08:10
pedronishello08:20
mvohey pstolowski and predronis08:20
mwhudsonmvo: should i (or someone) upload 2.37.2 to debian?08:22
mvomwhudson: that would be great, yes08:22
mvomwhudson: it fixes some small regressions around classic snaps and special users08:22
mwhudsonmvo: have you managed to import the debian packaging into snapd upstream?08:22
mvomwhudson: there is a PR for this https://github.com/snapcore/snapd/pull/6413 but it needs one more review08:23
mupPR #6413: packaging: import debian salsa packaging work, add sbuild test and use in spead <Created by mvo5> <https://github.com/snapcore/snapd/pull/6413>08:23
mvomwhudson: 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
mwhudsonmvo: would my uploading 2.37.2 the old way make your life harder?08:24
mvomwhudson: 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 address08:24
mwhudsonis it worth waiting for that to merge?08:24
mvomwhudson: just go ahead08:25
mwhudsonok08:25
mvomwhudson: I will just merge your changes08:25
mvomwhudson: 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 smooth08:25
pstolowskimvo: i've re-run smoke/install test on pi3 and it failed with same symptoms as yesterday08:30
pstolowskimvo: 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.yaml08:31
pstolowskimvo: and then https://pastebin.ubuntu.com/p/SFjvTQgghK/08:32
mvopstolowski: did you use a fresh image before the re-run?08:35
pstolowskimvo: no08:35
mvopstolowski: I think thats the issue, the test scrweed things up08:35
* mvo needs to be afk for ~10min08:35
pstolowskimvo: ah08:35
pstolowskimvo: ok, reflashing08:35
mwhudsonmvo: uploaded08:37
=== phoenix_firebrd is now known as murthy
mvomwhudson: thank you!08:54
=== murthy is now known as phoenix_firebrd_
mvopstolowski: 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 confused08:54
pstolowskimvo: sounds plausible08:56
mvopstolowski: don't get me wrong, we need to get to the bottom of it but its not an OMGnow priority :)08:58
pstolowskimvo: yes, of course, it's just a test helpers issue08:58
mvoexactly08:58
pstolowskimvo: 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
pstolowski*thought09:00
=== phoenix_firebrd_ is now known as murthy
pstolowskiah i made a typo, retrying..09:03
mvopstolowski: 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 this09:12
pstolowskimvo: nah, ignore it, doesn't work, it's probably an internal variable in the scripts09:21
pstolowskimvo: anyway, i re-run the two tests manually and they passed09:21
mvopstolowski: thank you!09:28
mvopstolowski: 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:29
pstolowskipedronis: re your comment about renaming/simplyfing RequestedSlotSpec, that could be a separate followup PR i think09:30
pedronispstolowski: yes, but we should probably agree a bit on what, anyway this PRs all need 2nd reviews09:30
pstolowskipedronis: indeed09:31
mvoI should have time for reviews today09:32
pstolowskimvo: do you think you could the 2 hotplug PRs?09:32
pstolowski*could review*09:32
mvoyeah, I looked at the rename one a bit this morning but need to look at the first one first09:33
pstolowskimvo: yeah, #6465 should land first, will make the rest smaller09:33
mupPR #6465: overlord/ifacestate: hotplug-add-slot handler <Hotplug 🔌> <Created by stolowski> <https://github.com/snapcore/snapd/pull/6465>09:34
pedronispstolowski: can we have a short HO about in 30 mins about the Spec stuff?09:58
pstolowskipedronis: yes09:58
pedroniscool09:59
mborzeckiChipaca: pushed some tweaks to snap connections10:12
mborzeckiChipaca: the help message is likely worse than it was in the beginning :) i'd love some input from you and degville on this10:13
degvillemborzecki: I'll take a look :)10:13
mborzeckidrat, i probably need to update the spread test now10:13
pstolowskipedronis: standup HO?10:30
pedronisyes10:31
mwhudson"failed mips build of snapd 2.37.2-1" oh noes10:35
* mwhudson goes to bed10:35
mvomwhudson: meh, do you have a link to the build log?10:36
mwhudsonmvo: it's really no concern, it has always failed on mips10:36
mvopedronis: do you think 6413 could land with only a single review? given that its mostly packaging and a little bit of tests?10:36
mvomwhudson: aha, ok10:37
mwhudsonalthough if you really want a look https://buildd.debian.org/status/package.php?p=snapd10:37
mwhudson-buildmode=pie not supported on linux/mips10:37
mvoI see10:37
mvothanks!10:37
mborzeckidegville: what do you think about this https://paste.ubuntu.com/p/5Znd8JZ7f2/ ?10:48
Chipacamborzecki: problem with that is that you don't clearly say that without a snap it lists all10:52
Chipacamborzecki: maybe the first sentence, ... between plugs and slots >for all snaps< in the system10:53
Chipacamborzecki: and to emphasize it, in the first example, Lists connected and unconnected plugs and slots ~for~ >limited to< the specified snap.10:54
Chipacaor something like taht10:54
mborzeckiChipaca: degville: how about this one https://paste.ubuntu.com/p/CfcwX7J2Qv/ ?11:03
Chipacamborzecki: winner11:03
degvilleyep!11:03
mborzeckiChipaca: degville: ok, updating the code, thanks for the help!11:05
degvillemborzecki: np!11:06
pedronisChipaca: degville: thanks for the review/inputs on that PR. I will try to my own pass over it later today11:22
Chipacapedronis: pstolowski: would it make sense to have (pre-)refresh hooks know the revision on both sides of the refresh?11:41
Chipacamultipass 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 two11:43
pstolowskiChipaca: imho - yes, that was brought a couple of times but never reached conclusion11:43
pstolowskiChipaca: could be snapctl enhancement, or in env11:44
pedronisChipaca: maybe, revisions are not a useful concept to code around tough11:58
Chipacapedronis: yeah, epochs would be better there :-)12:04
pedronisChipaca: well, but if they use epochs and express they can't go from here to ther12:07
pedronisthey can't never update12:07
pedronisunless we had a --foce12:07
pedroniss/had/add/12:07
pedronisheh, --force12:07
Chipacapedronis: 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:11
pedronisChipaca: yea, epochs don't quite fit that12:12
Chipacapedronis: https://forum.snapcraft.io/t/how-to-cause-a-snap-rollback/9848/8?u=chipaca12:13
pedronisyes, I'm aware of that forum post12:13
pedronisI haven't had brain cycle to more than skim it so far tough12:13
Chipaca:-) no worries12:13
sparkiegeekpopey: 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
sil2100mvo: 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
sil2100mvo: is it safe to release?12:20
=== phoenix_firebrd is now known as murthy
mvosil2100: it is ok, there is a new 2.37.2 available thought that fixes a rare corner case12:25
mvosil2100: I think I would slightly prefer 2.37.2 unless you need the update now12:26
mvosil2100: 2.37.2 is already in *-proposed12:26
sil2100mvo: it's fine, I'll wait for 2.37.2 then12:34
sil2100btw. it's not yet in -proposed, it's waiting for review o/12:34
mvosil2100: ups, thats what I meant, its waiting for -proposed13:34
mvosil2100: *nudge* *nudge* *wink* *wink* :P13:34
mvosil2100: (no worries, I will wait for the archive-admin of the day)13:34
sil2100I'll review it today in a bit hopefully (since it's my shift today ;p)13:36
mvosil2100: thank you13:39
mupPR snapd#6483 opened: image,cmd/snap:  simplify --classic-arch to --arch, expose prepare-image <Created by pedronis> <https://github.com/snapcore/snapd/pull/6483>13:45
pedronisChipaca: standup?14:01
Chipacapedronis: nah14:02
=== ricab is now known as ricab|lunch
mupPR core18#116 closed: Support arm64 with efi bootloader <Created by woodrow-shen> <Merged by sil2100> <https://github.com/snapcore/core18/pull/116>14:29
mupPR core18#113 closed: hook-tests: add more hook tests <Created by mvo5> <Merged by sil2100> <https://github.com/snapcore/core18/pull/113>14:30
mupBug #1576775 changed: Docs: missing command to check a service status and logs <snap-docs> <Snapcraft:Confirmed> <snapd:Fix Released> <https://launchpad.net/bugs/1576775>14:32
popeyhttps://forum.snapcraft.io/t/retroarch-help-with-issue-on-first-launch/986914:36
popeythat's a bit worrying. Something perhaps broke in 3.27?14:36
popeysorry, 2.37 :)14:36
pedronisChipaca: the prepare-image PR is https://github.com/snapcore/snapd/pull/648314:37
mupPR #6483: image,cmd/snap:  simplify --classic-arch to --arch, expose prepare-image <Created by pedronis> <https://github.com/snapcore/snapd/pull/6483>14:37
ijohnsonhey sil2100, do you have a rough idea of when the arm64 ubuntu server image for raspi will be officially released? Thanks!14:47
sil2100ijohnson: hey! It'll be out with the 18.04.2 point-release14:49
ijohnsonawesome, that's great news14:50
sil2100ijohnson: 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
sil2100It's all a bit fresh here right now14:50
ijohnsonsil2100: ack, thanks for the explanation14:51
mborzeckioff to pick up the kids14:57
mupPR snapd#6476 closed: cmd/snap: tweak man output to have no doubled up .TP lines <Simple 😃> <Created by chipaca> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/6476>15:25
=== ricab|lunch is now known as ricab
mupPR snapcraft#2448 closed: Swap yaml schema document with json equivalent <Created by diddledan> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/2448>15:27
diddledanYEY15:27
pstolowskimvo: doh.. https://pastebin.ubuntu.com/p/5bM7W4DQ96/15:31
mvopstolowski: oh, anything interessting on the serial console? I wonder why the read/connect failures15:36
pstolowskimvo: nothing there, just login prompt15:37
mvopstolowski: if you ssh to the machine, does that still work?15:38
pstolowskimvo: dammit.. my eth cable got loose :(15:39
pstolowskithat's why it had i/o errors15:40
mvopstolowski: heh - no worries, better that than something deeper15:40
pstolowskiindeed15:41
mvo6483 needs a second review (easy win)16:49
mvoalso 6481 (another easy win)16:49
pedronis6483 really needs Chipaca I think16:57
Chipacaon it16:57
Chipacagot sidetracked by some things in there16:57
Chipacabut on it16:57
pedronisit's fine16:57
pedronismy point was more than I wouldn't land it before your input16:57
pedronisI don't think is super urgent either16:58
=== pstolowski is now known as pstolowski|afk
Chipacapedronis: there17:03
pedronisChipaca: thanks,  you meant vertical space, when you wrote horizontal right?17:30
Chipacapedronis: maybe I had my laptop on its side17:30
pedronis:)17:30
Chipacapedronis: yeah17:30
oneguynickis 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 key17:34
Chipacapedronis: fwiw image already pulls in i18n ( image -> store  -> i18n, as well as via strutil and timeutil)17:36
Chipacaoneguynick: snapcraft key, or snap key?17:37
oneguynicksnapcraft list-keys17:37
pedronisChipaca: I'm sure it does, it used from cmd/snap anyway, my point is that package itself doesn't import/use it yet17:37
pedronisfor anything17:37
oneguynicksnap key doesnt appear to be a valid command17:37
Chipacapedronis: k17:38
pedronisChipaca: pushed btw if you want to look again17:38
Chipacaoneguynick: but then you use 'snap sign'?17:38
oneguynickcat box-model.json | sed s/%TIMESTAMP%/$TIMESTAMP/ | snap sign -k itbox > box.model17:38
oneguynickthis is the actual command being executed and failing17:38
Chipacapedronis: thank you17:39
oneguynickoutput is this on the return17:39
oneguynickerror: 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:39
Chipacaoneguynick: but this only fails sometimes, you say?17:40
oneguynickyeah i just ran it to build an imagine and it randomly functioned17:40
oneguynick*image17:40
Chipacaoneguynick: do you do the list-keys and the sign with the same user in the same vm / container / machine?17:42
oneguynickyes both running as my user17:43
oneguynicki only sudo for the ubuntu-image build17:43
Chipacaoneguynick: snapcraft list-keys calls 'snap keys --json' (and then does some processing on it)17:44
oneguynicksnap keys --json shows the key17:45
oneguynicksnapcraft list-keys lists the same one (as expected it seems)17:45
Chipacaoneguynick: 'snap sign' and 'snap keys' use the same logic to find keys17:46
Chipacaoneguynick: the same codepath mostly (except one is listing, the other is searching by name)17:46
oneguynickany idea why `snap keys` and `snapcraft list-keys` see the key, but not sign?17:46
Chipacaoneguynick: so far my only hypothesis is that you're inadvertently using it in different contexts, somehow17:47
Chipacaoneguynick: does it fail reliably?17:48
Chipacaoneguynick: if so, check that user's ~/.snap/gnupg17:48
oneguynickfailed at least 10-15 runs recently17:49
oneguynick`S.gpg-agent          S.gpg-agent.extra  openpgp-revocs.d   pubring.kbx   trustdb.gpg17:49
oneguynickS.gpg-agent.browser  S.gpg-agent.ssh    private-keys-v1.d  pubring.kbx~17:49
oneguynickcontents are there and ownership correct17:49
mupPR snapd#6481 closed: tests: run test snap as user in the smoke test <Simple 😃> <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/6481>17:50
Chipacaoneguynick: that's ~/.snap/gnupg ?17:51
oneguynickyes17:51
Chipacaoneguynick: 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:53
oneguynicklooks like the gpg is failing on no such key17:56
ograis there any reason you sign your assertion that often ? (you typically only do that once)17:57
oneguynicki am in the process of prototyping and rebuilding images18:02
mupPR snapd#6483 closed: image,cmd/snap:  simplify --classic-arch to --arch, expose prepare-image <Created by pedronis> <Merged by pedronis> <https://github.com/snapcore/snapd/pull/6483>18:30
oneguynickI went ahead and wiped out my keys and started again. Seems to be working better. No idea why19:08
oneguynickthanks @Chipaca for your help19:08
Chipacaoneguynick: I blame … evil hackers from Serbia.19:09
mupPR snapcraft#2464 opened: project_loader: use hardened flags by default <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/2464>19:09
Chipacafallback blame in case that one is unacceptable: Our POP server was kidnapped by a weasel.19:09
* Chipaca stops playing with 'bofh'19:10
oneguynickХвала вам19:10

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