/srv/irclogs.ubuntu.com/2020/11/04/#snappy.txt

RingtailedFoxhttps://pastebin.com/GNiXtqE201:04
RingtailedFoxi don't know where the error is01:04
ijohnsonRingtailedFox: try `SKIP_GOFMT=1 ./run-checks`02:15
ijohnsonRingtailedFox: run-checks will also check gofmt using an old version of Go, so if you are using a new version of Go sometimes there is differences02:16
RingtailedFoxi think my version of go is up to date02:18
ijohnsonright that's the issue, run-checks is checking your code against an old version of gofmt02:20
RingtailedFoxthat one almost worked02:23
RingtailedFoxhttps://pastebin.com/h4Fc7giq02:24
RingtailedFoxi'm installing libseccomp now02:24
ijohnsonRingtailedFox: you need libseccomp-dev installed02:24
RingtailedFoxlessee if that works02:25
RingtailedFoxnow it's complaining about xfs/xqm.h...02:28
RingtailedFoxalso still whining about sys/capability.h02:28
ijohnsonRingtailedFox: what distro are you building on ?03:14
RingtailedFoxMageia Linux (the continuation of Mandrake/Mandriva)03:20
RingtailedFoxit uses RPM but only some fedora RPMS work with it03:21
RingtailedFoxmostly becuase mandrake split from fedora back during the Red Hat 5.2 days (around 1996)03:21
mupPR snapd#9567 closed: tests: using the nested-state tool in nested tests <Run nested> <Created by sergiocazzolato> <Merged by sergiocazzolato> <https://github.com/snapcore/snapd/pull/9567>03:41
mupPR snapd#9576 closed: [RFC] snap-bootstrap: be more robust for recover mode, ignore some errors <UC20> <Created by anonymouse64> <Closed by anonymouse64> <https://github.com/snapcore/snapd/pull/9576>05:06
zygahey mvo07:04
mvohey zyga07:04
zygahey mbeierl07:08
zygamborzecki,07:08
mborzeckimorning07:08
mborzeckizyga: heya07:09
mvogood morning mborzecki07:10
zygarainy morning07:10
mborzeckimvo: hey07:10
mborzeckizyga: indeed, fugly weather back again07:10
zygamborzecki, trump is going to win, ;-)07:10
mvozyga: wrong channel (seriously) for this kind of discussion07:12
zygamvo, sorry, I was referring to the weather as a joke07:12
zygabut I'll stop07:12
mvozyga: oh, ok, sorry, did not get the joke07:12
mvomborzecki: a second review for 9541 would be great07:12
mborzeckimvo: sure07:22
mvota!07:24
mborzeckimvo: can you take a look at https://github.com/snapcore/snapd/pull/9593 ? it's a simple one08:00
mupPR #9593: tests/lib/nested: enable snapd logging to console for core18 <Run nested> <Simple πŸ˜ƒ> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/9593>08:00
mvomborzecki: sure08:02
mvomborzecki: looks like test failures in there, should I restart?08:04
mborzeckimvo: restarted it just now08:05
mvota08:05
pstolowskimorning08:08
mvogood morning pstolowski08:11
pstolowskihey mvo08:11
zygahey pawel08:11
mvomborzecki: how does 9592 look - should I do a full review or does it need work anyway?08:37
mupPR snapd#9541 closed: osutil/disks: re-implement partition searching for disk w/ non-adjacent parts <Bug> <Run nested> <UC20> <Created by anonymouse64> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/9541>08:37
mborzeckimvo: imo it looks nice with the improvements i discussed yday with ian, but it'd be useful if you take a look and comment whether the approach is sound08:39
pstolowskiSaviq: hey09:20
mvomborzecki: aha, I see - you mean the new approach using the state machine? I think that is pretty neat indeed, feels very nice09:36
mvomborzecki: added some bikeshed comments09:43
mborzeckimvo: cool, let me see, i can address some and update the PR09:49
mvomborzecki: yeah, nothing deep except the meta question but I don't think we need to solve this one today :)09:52
mborzeckiwondering where this bits comes from: audit: type=1400 audit(1604471452.215:462): apparmor="DENIED" operation="capable" profile="/usr/lib/snapd/snap-confine" pid=413579 comm="snap-confine" capability=4  capname="fsetid"10:01
mborzeckii see it on opensuse and arch with 5.9 kernels10:01
=== ogra_ is now known as Guest75299
mvomborzecki: a good question, something implicit from a newer libc maybe?10:03
mborzeckimvo: idk, we don't allow fsetid for s-c in the aa profile, but it does not seem to break anything either10:04
mborzeckimvo: wish there was an ip address included in the log10:04
mborzeckis/ip/instruction pointer/ ofc10:05
mborzeckihmm no denial on groovy it seems10:10
mborzeckipstolowski: mvo: trivial PR https://github.com/snapcore/snapd/pull/959610:10
mupPR #9596: spread: use the official image for Ubuntu 20.10, no longer an unstable system <Simple πŸ˜ƒ> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/9596>10:11
mupPR snapd#9596 opened: spread: use the official image for Ubuntu 20.10, no longer an unstable system <Simple πŸ˜ƒ> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/9596>10:13
mvomborzecki: +110:16
mupPR snapd#9593 closed: tests/lib/nested: enable snapd logging to console for core18 <Run nested> <Simple πŸ˜ƒ> <Created by bboozzoo> <Merged by bboozzoo> <https://github.com/snapcore/snapd/pull/9593>11:08
Nemesishi everyone, is there a chance that someone here knows/understands about Routers/switchs/TCP and stuff like that, i need to rearange my home network and I cannot find on google what I need.. Please PM me. Thank you very much.11:09
pstolowskiSaviq: hey, any chance for full output of 'snap tasks 1627' wrt https://bugs.launchpad.net/snapd/+bug/1902230 ? I think tail -n20 stripped potentially interesting bits ;)11:31
mupBug #1902230: Tasks stuck if api.snapcraft.io not found <snapd:Triaged> <https://launchpad.net/bugs/1902230>11:31
pstolowskimvo: i think we may need to update our bugtriage calendar12:02
pstolowski(if you already did, then sorry, ignore me)12:03
mvopstolowski: yeah, it's on my list but haven't managed yet12:05
pstolowskinp12:05
mborzeckicachio: hi, can you take a look at https://github.com/snapcore/snapd/pull/9596 ? there's a bunch of failures, some are caused by missing packages,12:28
mupPR #9596: spread: use the official image for Ubuntu 20.10, no longer an unstable system <Simple πŸ˜ƒ> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/9596>12:28
mborzeckicachio: do we pre-install those packages in our images?12:28
Saviqpstolowski: sorry, it's gone now :/12:30
pstolowski:(12:31
SaviqBut, as far I could tell, there was nothing interesting there12:31
pstolowskiSaviq: i was hoping to see what tasks errored out and/or were undone. i  can make guesses but tasks list would clear any doubts. can you pastebin "snap debug timings 1627" (although I don't expect much info from there)12:36
cachiomborzecki, cheking12:47
cachioI need to manually create this image in our projecy12:48
cachioproject12:48
cachioI'll do it now12:48
mborzeckicachio: cool, thanks!12:54
cachioupdate is in progress12:55
cachiolets see12:55
mupPR snapd#9597 opened: gadget: correct sfdisk arguments <Created by xnox> <https://github.com/snapcore/snapd/pull/9597>13:03
Saviqpstolowski: that change is purged I'm afraid13:32
Saviqhere's some journal, but doubt that will help much… https://paste.ubuntu.com/p/s5Pc3JGDCP/13:34
pstolowskiSaviq: the change may be purged but debug timings may still be there13:37
jdstrandmborzecki: re fsetid, that is just noise. I fixed it once but then a refactor of snap-confine reintroduced it13:38
jdstrandmborzecki: I've always planned on fixing it, though at this point it will be a while13:39
mborzeckijdstrand: ah, that's fine, i'll prep something for master to silence that down13:39
jdstrandmborzecki: is it causing problems? it is serving as a reminder to fix it currently :)13:40
mborzeckijdstrand: afaict it's not, the topic where this came up was clearly opened because of other errors13:40
mborzeckijdstrand: also, ahven't noticed any issues on arch or opensuse, still a myster why it does not appear on grovvy, even though we are using the same policy13:41
jdstrandmborzecki: if you deny it, be sure to keep an eye on snaps in lxd. it shouldn't be an issue ime, but just keep an eye on it13:41
mborzeckijdstrand: ok, thanks for the tip, i'll look into it once i'm not knee deep in uc20 :/13:42
Saviqpstolowski: no, change not found13:42
jdstrandmborzecki: I don't have a lot of time to talk now, but recall that the kernel enforces rate limits on logging and with appamor, there is additional rate limiting with capabilities13:42
pstolowskiSaviq: hmm ok, thanks13:43
jdstrandmborzecki: so you're not always going to see it when it hits. also, the section of code that triggers it is very late and has to do with the sensitive ordering of things when priv dropping (caps, setgid, setuid, apparmor profile transition, nnp (that isn't the order!))13:44
jdstrandmborzecki: I'd have to look at the code, but on distros that aren't strict, you might not see it since everything might not be in play (though, I don't think that is the case)13:45
mborzeckijdstrand: interesting, so far it appears only on distros with aa, but not missing some features13:46
mborzeckihm need to drive the kids to a dentist for a checkup, bbl15:00
ijohnsonmvo: let me know what I can do to help with #9592, seems Maciej handled all of his comments left this morning15:07
mupPR #9592: many: implement degraded recover mode <Run nested> <UC20> <Created by anonymouse64> <https://github.com/snapcore/snapd/pull/9592>15:07
mvoijohnson: yeah, just having another look but I think once tests are finished this can go in15:08
mvoijohnson: but please also double check his changes15:08
mvo(if you haven't done already)15:08
ijohnsonmvo: just to be clear you mean the individual unit tests for each state transition ?15:08
ijohnsonmvo: yes I'm going through those changes now15:08
mvoijohnson: sorry I mean once the spread test run finished15:10
ijohnsonoh ok, right I will open up the individual unit tests for state transitions as a follow-up15:11
mvoijohnson: I think the individual unit tests can wait a little bit, ideally we would check with Samuele tomorrow if he wants to see bigger changes15:11
mvoijohnson: and if not then we can tackle those, how does that sound?15:11
ijohnsonmvo: ok that sounds good to me15:11
mvoijohnson: cool :)15:11
ijohnsonmvo: ah actually looking at Maciej's changes I think I am missing a unit test for degraded mode with no encryption setup15:12
ijohnsonmvo: should I push that up too after you're done looking ?15:13
ijohnsonor is that case ok to wait until this has landed too?15:13
mvoijohnson: I think it's ok as a followup, spread run will take ~1h :/15:14
ijohnsonok15:16
ijohnsonmvo: hmm seems some uc20 spread runs just failed in prepare but a few others passed, seems suspicious, but I am trying to reproduce now15:27
mvota15:31
mvoijohnson: more nitpicks but all followup material for 9592 I think (and in a meeting again :/16:17
ijohnsonmvo: thanks looking now16:17
ijohnsonmvo: well now that I read the log more clearly, the only uc20 spread runs that passed were the tests/lib/tools/suite/... which doesn't actually run inside uc20 :-/ so all the real uc20 runs failed, and I can reproduce locally16:21
ijohnsonmvo: I'm looking into it now16:21
mvoijohnson: uh ok16:30
ijohnsonyeah not good at any rate, it's unclear what's wrong since it worked locally for me in my VM16:31
ijohnsonperhaps my VM is magic16:31
mvoheh - ok. sorry for being so terse, in a meeting right now :/16:32
ijohnsonno worries16:32
mupPR snapd#9596 closed: spread: use the official image for Ubuntu 20.10, no longer an unstable system <Simple πŸ˜ƒ> <Created by bboozzoo> <Merged by bboozzoo> <https://github.com/snapcore/snapd/pull/9596>16:39
* cachio afk16:55
ijohnsonmvo I think I figured it out, will let you know if my hypothesis is correct16:57
mvota16:58
mupPR snapd#9524 closed: tests: new boot state tool <Created by sergiocazzolato> <Merged by sergiocazzolato> <https://github.com/snapcore/snapd/pull/9524>17:45
ijohnsonmvo: I have it fixed here, but unfortunately it's a bit more code :-/ there are two issues, one is simple to fix and the other requires a new function in snapd's secboot wrapper, which also necessitates some additional testing inside snapd's secboot17:45
ijohnsonmvo: I am wrapping up the testing here, do you think I should open a separate PR for the new secboot function to make it easier to review?17:45
zyga-mbphey ijohnson17:46
ijohnsonhello zyga-mbp17:47
zyga-mbpijohnson I must retract my earlier statement, new star trek has equally new plot!17:47
* ijohnson hasn't seen it, but just assumed it was the same :-)17:47
* zyga-mbp goes quiet to let ijohnson and mvo work on secboot17:48
* ijohnson hugs zyga-mbp 17:50
mvoijohnson: it's fine, just include it18:02
* mvo hugs zyga-mbp 18:02
ijohnsonmvo: ok I have it done will push in a minute18:02
mvoijohnson: ta18:04
mupPR snapd#9482 closed: bootloader/assets/grub: adjust fwsetup menuentry label <Run nested> <Created by xnox> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/9482>18:05
ijohnsonmvo: pushed18:07
ijohnsonmvo: I have another spread run going here, if something comes up I will let you know18:08
mvoijohnson: thank you, I check back a bit later then18:08
ijohnsonmvo: the last 3 commits are only 162 additional lines so hopefully not too bad18:11
ijohnsonI'm sure pedronis will opinions on naming tomorrow18:11
mvoijohnson: yeah, replied18:20
mvoijohnson: I wonder if I should wait with the merge until tomorrow, spread run will take ~1h so it will get late in my TZ :/18:20
mborzeckire18:31
ijohnsonmvo that sounds reasonable, if you are considering waiting til tomorrow, I think it might be wise to split up the changes into more manageable chunks if only to make it easier for pedronis to review tomorrow18:31
ijohnsonhey mborzecki18:31
mborzeckiijohnson: ah so we're waiting for pedronis then? sounds good to me18:32
mvomborzecki: mostly wondering if it's worth it to stay up late to do 2.4818:32
mvomborzecki: I mean, it will be at least +1h until spread finishes18:32
ijohnsonassuming no re-runs are necessary18:33
mvomborzecki: and then ~1-2h until the snapd/core builds are there18:33
mvohaha18:33
mvoyes18:33
mvomborzecki: wdyt?18:33
ijohnsonthe more we talk about it the more I think we need to have more than one mvo to do this sort of thing across timezones :-)18:33
mvoijohnson: splitting does sound good fwiw, if we wait18:33
mvoijohnson: haha - are you volunteering ;)18:33
mborzeckimvo: hm tbh approaching this tomorrow with clear and rested head sounds better than staying late today18:34
ijohnsonsome day maybe - probably not today18:34
mvoijohnson: but seriously, I think it's fine, we have enough to do :/18:34
mvoijohnson: yeah, exactly18:34
mvomborzecki: +118:34
mvoijohnson: I think it's settled, let's do it in the .eu morning. feel free to split but only if it's not too much trouble18:34
mborzeckimvo: we can sync with samuele in the morning18:34
mupPR snapcraft#3349 opened: cli: allow snap-id for validate <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/3349>18:35
mvomborzecki: yeah, sounds good to me18:35
zyga-mbpre mborzecki18:35
* zyga-mbp agrees that being overworked is not a good thing18:36
mborzeckimvo: then we'll ahve tomorrow and friday right?18:36
mvomborzecki: I think it's settled, let's call it a day18:36
mvomborzecki: yeah, totally fine for beta/candidate work18:36
mborzeckimvo: idk if cachio needs to supevise stuff, but then maybe some tests can run over the weekend18:37
mvomborzecki: yeah, that's a good point, I think it's mostly automatic18:38
mborzeckicool, so we're set then :)18:38
* mvo nod18:38
ijohnsonSounds good18:39
ijohnsonThanks mvo and mborzecki18:39
* mvo hugs ijohnson and mborzecki and heads out18:40
mborzeckime too, cu tomorrow18:40
mupPR snapcraft#3350 opened: [WIP] project loader: advanced grammar for build-environment <Created by cjp256> <https://github.com/snapcore/snapcraft/pull/3350>20:25
=== JanC_ is now known as JanC
mupPR snapcraft#3351 opened: storeapi: import sort with isort <Created by cjp256> <https://github.com/snapcore/snapcraft/pull/3351>20:55
mupPR snapcraft#3352 opened: tests: import sort with isort <Created by cjp256> <https://github.com/snapcore/snapcraft/pull/3352>20:55
mupPR snapcraft#3353 opened: tools: import sort with isort <Created by cjp256> <https://github.com/snapcore/snapcraft/pull/3353>20:55
mupPR snapcraft#3354 opened: cli: import sort with isort <Created by cjp256> <https://github.com/snapcore/snapcraft/pull/3354>21:00
mupPR snapd#9598 opened: secboot: add LockTPMSealedKeys() to lock access to keys independently <Simple πŸ˜ƒ> <UC20> <Created by anonymouse64> <https://github.com/snapcore/snapd/pull/9598>21:06
mupPR snapd#9599 opened: secboot: refactor Unlock...IfEncrypted to take keyfile + check disks first <UC20> <Created by anonymouse64> <https://github.com/snapcore/snapd/pull/9599>21:21
mupPR snapd#9600 opened: cmd/s-b/initramfs-mounts: refactor recover mode to implement degraded mode <Complex> <UC20> <Created by anonymouse64> <https://github.com/snapcore/snapd/pull/9600>22:06
mupPR snapd#9601 opened: tests: using systemd-run instead of manually create a systemd unit - part 1 <Created by sergiocazzolato> <https://github.com/snapcore/snapd/pull/9601>23:16

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