mup | PR snapcraft#3371 opened: snap: get legacy branch from local <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/3371> | 00:49 |
---|---|---|
mborzecki | morning | 06:49 |
mborzecki | re | 06:50 |
zyga | mborzecki: hello | 07:23 |
* zyga installed kubuntu and now wonders how to do stuff in kde :P | 07:23 | |
mborzecki | hahah | 07:23 |
mborzecki | zyga: hey | 07:23 |
zyga | I'm back on the x240 until the new one arrives, need to do some serial port things and I wanted to avoid doing it from window | 07:24 |
zyga | *windows | 07:24 |
zyga | how's uc20? | 07:24 |
mborzecki | zyga: it was moving, i was off for 2 days, but there's 2.48 branch, so things are looking good? | 07:40 |
zyga | mborzecki: ooh, new house time? | 07:41 |
mborzecki | zyga: nah, i mean uc20 was moving, albeit slowly ;) | 07:42 |
zyga | ohhh | 07:42 |
zyga | well, :) | 07:42 |
mup | PR snapd#9629 opened: spdx: update to SPDX license list version: 3.10 2020-08-03 <Simple 😃> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/9629> | 07:56 |
zyga | +1 | 08:03 |
zyga | though it remains to be seen if this can be merged | 08:03 |
pstolowski | morning | 08:03 |
zyga | hey pstolowski | 08:03 |
pstolowski | hey zyga | 08:03 |
mborzecki | pstolowski: hey | 08:07 |
mborzecki | no mvo today? | 08:07 |
zyga | I haven't seen him yet | 08:07 |
zyga | hey mvo :) | 08:09 |
mborzecki | mvo: hey, i see 2.48 is branched, yay! | 08:10 |
mvo | zyga: good morning | 08:10 |
mvo | mborzecki: yes! but one bug is being fixed right now, there is a open PR from ian | 08:10 |
mborzecki | pedronis: hi, i've updated the list of licenses, but iirc you mentioned that some store tooling may be affected, best if you take a look https://github.com/snapcore/snapd/pull/9629 | 08:11 |
mup | PR #9629: spdx: update to SPDX license list version: 3.10 2020-08-03 <Simple 😃> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/9629> | 08:11 |
mborzecki | wonder whether we should keep some of the osi approved identifies that are deprecated | 08:13 |
pedronis | mborzecki: it's timing question, let's chat in the standup about it | 08:13 |
mborzecki | eg the non deprecated ids have GPL-3.0-only instead of GPL-3.0 | 08:13 |
mborzecki | pedronis: sure | 08:14 |
pedronis | mvo: mborzecki: we have nested failures here: https://github.com/snapcore/snapd/pull/9626 | 08:14 |
mup | PR #9626: snap-bootstrap,secboot: call BlockPCRProtectionPolicies in all boot modes <Run nested> <UC20> <Created by chrisccoulson> <https://github.com/snapcore/snapd/pull/9626> | 08:14 |
pedronis | mvo: I think the PR your merged from sergio broke nested tested, that's fixed I think but was a bit annoying | 08:15 |
mvo | uh, sorry! | 08:15 |
pedronis | nested.sh itself uses systemd stuff | 08:15 |
mvo | pedronis: did https://github.com/snapcore/snapd/pull/9626/commits/39c2f79922cae157076784705deca45487144d79 fix it? | 08:15 |
pedronis | seems so, but we have other failures now | 08:15 |
pedronis | about gadget | 08:15 |
pedronis | stuff | 08:15 |
pedronis | that's why somebody should look | 08:16 |
mborzecki | [change 2 "Setup system for run mode" task] failed: cannot use gadget: gadget does not support encrypted data: volume "pc" has no structure with system-save role | 08:16 |
mborzecki | hmm | 08:16 |
pedronis | mvo: ah, but the fix is not quite right? I honestly didn't look at it | 08:17 |
pedronis | it was late | 08:17 |
mborzecki | i can take a look | 08:17 |
mborzecki | seems like it's not using the right helper to build the image | 08:17 |
mvo | 2020-11-12T04:33:57.7272622Z Nov 12 04:19:39 ubuntu snapd[1240]: taskrunner.go:271: [change 2 "Setup system for run mode" task] failed: cannot use gadget: gadget does not support encrypted data: volume "pc" has no structure with system-save role | 08:18 |
pedronis | mborzecki: 9628 has the same failure plus one more | 08:20 |
pedronis | might be order though | 08:20 |
mborzecki | pedronis: mvo: the test is setting NESTED_BUILD_SNAPD_FROM_CURRENT: false, which will not repack the gadget snap with ubuntu-save | 08:22 |
mborzecki | s/with/adding/ | 08:23 |
mvo | mborzecki: nice find | 08:23 |
pedronis | mborzecki: but I suppose it's intentional not to use the current snapd | 08:23 |
pedronis | so the fix is not just to flip it, no? | 08:23 |
pedronis | it seems we are mixing different stuff together | 08:24 |
mborzecki | pedronis: i think we can use 20/edge/next for the gaget snap | 08:24 |
mborzecki | or not, there's no 20/beta/next :/ | 08:25 |
mvo | mborzecki: let me check | 08:29 |
mvo | mborzecki: 20/edge/next | 08:30 |
mborzecki | mvo: so the test wats to switch between 20/beta and 20/edge, but none of those revisions can be used when encryption because it lacks ubuntu-save | 08:32 |
pedronis | why did it start failing only now though? | 08:35 |
* pedronis is missing something | 08:35 | |
pedronis | are we resuing the wrong vm? | 08:36 |
pedronis | those tests are not about encryption | 08:36 |
pedronis | mborzecki: we had passined nested tests yesterday, they started failing only late | 08:37 |
pedronis | after the systemd merge afaik | 08:37 |
mvo | pedronis: fwiw https://github.com/snapcore/snapd/pull/9606 was merged by sergio not me, I did approve it though | 08:38 |
mup | PR #9606: tests: Use systemd-run on tests part2 <Created by sergiocazzolato> <Merged by sergiocazzolato> <https://github.com/snapcore/snapd/pull/9606> | 08:38 |
pedronis | mvo: it has one review fwiw | 08:39 |
mvo | pedronis: yes, it was a premature merge :( | 08:39 |
pedronis | mvo: anyway I'm still quite confused what is going on | 08:39 |
mvo | pedronis: same here, just wanted to clarify that I did not hit merge on this one :) | 08:39 |
mvo | pedronis: and looking at the diff it seems largely unrelated to nested | 08:40 |
mborzecki | mvo: pedronis: the test would also be skippd if the revisions in beta & edge are the same, maybe something changed there? | 08:41 |
pedronis | https://github.com/snapcore/snapd/pull/9619 this passed with nested | 08:42 |
mup | PR #9619: cmd/snap-bootstrap,o/devicestate: use a secret to pair data and save <Run nested> <UC20> <Created by pedronis> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/9619> | 08:42 |
mvo | mborzecki: 20/beta 2020-09-02 and 20/edge 2020-10-21 seem to be not that :/ | 08:45 |
mvo | mborzecki: I mean, it looks like they have not recently changed | 08:45 |
pedronis | anyway I thought we run only a few tests with the tpm ? | 08:46 |
pedronis | and those are not part of it? or are they? | 08:46 |
pedronis | mborzecki: one question is what changed between 9169 and those prs | 08:47 |
pedronis | heh, 9619 | 08:47 |
mborzecki | hm we don't run tests after merging to master, do we? | 08:55 |
pedronis | not anymore I think | 08:57 |
mborzecki | pedronis: the test also runs with TPM expliciltly enabled, i suppose it is to catch the resealing scenarios too | 09:25 |
mborzecki | mvo: i think we should always run nested tests on 2.48 branch, they are skipped right now | 09:30 |
mvo | mborzecki: +1 | 09:32 |
mvo | mborzecki: let me know if I can help in any way btw, i.e. if it would help to have a 20/beta/next branch I could push that | 09:38 |
mborzecki | mvo: i'm running this spread test on release/2.48 now, but yeah we could poke xnox to publish a gadget with ubuntu-save to 20/beta/next maybe and then go a fix the test | 09:40 |
mvo | mborzecki: I can do that to if it unblocks us | 09:41 |
mvo | mborzecki: just say the word :) | 09:43 |
mborzecki | hmm `Nov 12 09:44:48 ubuntu snapd[1258]: taskrunner.go:271: [change 2 "Setup system for run mode" task] failed: cannot use gadget: gadget does not support encrypted data: volume "pc" has no structure with system-save role` on release/2.48 branch | 09:45 |
mvo | mborzecki: so it's broken everywhere and we don't know what/when :/ let's fix it :) | 09:48 |
mborzecki | mvo: mhm, poking xnox on mm | 09:48 |
mvo | mborzecki: if he does not reply I can also do a upload to pc into 20/beta/next | 09:49 |
mborzecki | mvo: mhm, in the meantime i'll look into having nested tests run on all pushes to release/** branches | 09:51 |
mvo | mborzecki: \o/ | 09:51 |
mvo | mborzecki: I have a pc gadget based on beta with ubuntu-save that we could use, I'm building it right now but lxd is a bit slow it seems | 10:05 |
mborzecki | mvo: that would work, is it just repacking the snap from 20/beta? | 10:07 |
mvo | mborzecki: correct, i took 20/beta and applied the diff from edge -> edge/next (which is just adding ubuntu-save) | 10:08 |
mborzecki | mvo: ok, that should be fine then | 10:08 |
mvo | mborzecki: released into 20/beta/next | 10:16 |
mborzecki | mvo: thanks, let me fix the test now | 10:16 |
mvo | xnox: I uploaded a new pc gadget into 20/beta/next that contains ubuntu-save, it's otherwise just a repack of 20/beta. this will unbreak our tests and just fyi, it's a branch so noone outside of our tests is affected | 10:17 |
mvo | xnox: hope you don't mind :) | 10:17 |
mborzecki | mvo: ok, trying with updated test now, wish we didn't have so much magic hardcoded in NESTED_* env variables | 10:33 |
mvo | mborzecki: :( yes | 10:35 |
xnox | mvo: that's fine! thanks. | 10:51 |
mborzecki | mvo: omg, heh | 11:02 |
mvo | mborzecki: hm? | 11:02 |
mborzecki | mvo: how can i get a revision of a snap from a branch? it's not shown in snap info | 11:02 |
mborzecki | mvo: and not downloading the snap :) | 11:05 |
mvo | mborzecki: the revision is 117 | 11:06 |
mborzecki | mvo: i know, the problem is that the tests uses snap info to find the revision of a snap :/ which does not work ofc | 11:06 |
mvo | mborzecki: oh, I see, yes, that is unfortunate :/ | 11:07 |
mvo | mborzecki: as a workaround you could download the pc snaps, they are small. or we use the store api directly, I don't think we have something currently for this :/ | 11:08 |
mvo | mborzecki: shall I have a look at store api? would that help you? | 11:08 |
mborzecki | mvo: hmm i'll come up with something | 11:09 |
pedronis | mborzecki: this works curl -s -H "Snap-Device-Architecture: amd64" -H "Snap-Device-Series: 16" -X POST -H "Content-Type: application/json" --data '{"context": [], "actions": [{"action": "install", "name": "pc", "channel": "20/beta/next", "instance-key": "1"}]}' https://api.snapcraft.io/v2/snaps/refresh|jq | 11:17 |
pedronis | mvo: mborzecki: I pushed my tweaks to https://github.com/snapcore/snapd/pull/9628#pullrequestreview-528983238, needs more reviews (but probably after Chris PR), also the state machine diagram is wrong again :/ | 11:19 |
mup | PR #9628: secboot,cmd/snap-bootstrap: fix degraded mode cases with better device handling <Needs Samuele review> <Run nested> <UC20> <Created by anonymouse64> <https://github.com/snapcore/snapd/pull/9628> | 11:19 |
pedronis | mvo: btw should we squash-merge things for 2.48 ? you added and removed the lable on 9628, same question for #9626 | 11:22 |
mup | PR #9626: snap-bootstrap,secboot: call BlockPCRProtectionPolicies in all boot modes <Run nested> <UC20> <Created by chrisccoulson> <https://github.com/snapcore/snapd/pull/9626> | 11:22 |
guiverc | `snap search libreoffice` (executing for a uf support query) gets error (403).. just an FYI https://api.snapcraft.io/v2/snaps/find?architecture=amd64&confinement=strict%2Cclassic&fields=base%2Cconfinement%2Ccontact%2Cdescription%2Cdownload%2Clicense%2Cprices%2Cprivate%2Cpublisher%2Crevision%2Csummary%2Ctitle%2Ctype%2Cversion%2Cwebsite%2Cstore-url%2Cmedia%2Ccommon-ids%2Cchannel&q=libreoffice | 11:25 |
guiverc | actually the error occurs on lots of queries (error on firefox..) | 11:26 |
mvo | guiverc: looks like the store has some trouble right now :/ | 11:32 |
guiverc | yep, thanks mvo, just saw popey tweet on #ubuntu-desktop | 11:33 |
mup | PR snapd#9630 opened: tests: fix nested tests <Run nested> <Simple 😃> <Created by sergiocazzolato> <https://github.com/snapcore/snapd/pull/9630> | 11:37 |
mup | PR snapd#9631 opened: cmd/snap: add snap debug connections/connection commands <Created by stolowski> <https://github.com/snapcore/snapd/pull/9631> | 11:37 |
mvo | pedronis, mborzecki I just looked at 9626 again - given that a) it got two reviews already b) we know why the nested test fails - I would like to merge it ? release/2.48 has the same test issue as this PR | 11:39 |
zyga | pstolowski: reviewed | 11:53 |
pstolowski | zyga: thanks! | 11:57 |
pstolowski | cachio_: hey, can you take another look at #9617? | 12:07 |
mup | PR #9617: tests: compare options of mount units created by snapd and snapd-generator <Created by stolowski> <https://github.com/snapcore/snapd/pull/9617> | 12:07 |
cachio | pstolowski, left a comment there | 12:12 |
cachio | it is quick to fix | 12:12 |
pstolowski | cachio: thx, updated | 12:12 |
mborzecki | mvo: something is not quite right, is it possible to tell which github rev is the snapd in beta? snap info show it's latest/beta: 2.47.1+git1221.ge4f8507 2020-11-11 (10106) | 12:13 |
cachio | pstolowski, +1 | 12:14 |
pstolowski | ty | 12:14 |
cachio | yaw | 12:14 |
mborzecki | mvo: i suspect it's missing the changes we added for luks/ext4 sizes | 12:15 |
mborzecki | hmmm | 12:20 |
mborzecki | w8, but we moved the keys to a new location right? | 12:20 |
mborzecki | and the kernel was not rebuilt with new initramfs, so there's only theold snap-bootstrap which expects keys at the old location, so it's not possible to get a bootable system with stuff from the store atm | 12:21 |
mborzecki | mvo: ^^ | 12:21 |
mborzecki | so even if i kinda made a part of the test work (it installs atm), the system does not go past initramfs | 12:22 |
mvo | mborzecki: about the revision, you can "git show e4f8507 " or checkout etc | 12:22 |
mvo | mborzecki: so this is broken until we rebuild the kernel? | 12:23 |
mvo | mborzecki: with 2.48? | 12:23 |
mborzecki | mvo: heh, i was searching in git log, but didn't find the rev, maybe had a typo there /o\ | 12:23 |
mvo | mborzecki: in this case we need to put it to manual and move on and enable it again | 12:23 |
mborzecki | mvo: yeah, i think so | 12:23 |
mvo | mborzecki: the leading "g" needs to be removed | 12:23 |
mvo | mborzecki: it's a bit confusing | 12:23 |
mborzecki | mvo: removed the 'g', nvm it's pebkac most likely | 12:24 |
mvo | could be a out-of-date local tree or something. anyway, given that we cannot fix this easily right now I will merge the branch from chris | 12:25 |
mvo | pedronis: do you want to review 9626 before it lands? ian had some questions. otherwise I land once tests have completed | 12:27 |
mborzecki | i suppose pc-kernel 20/beta is not built with snapd beta right? | 12:28 |
pedronis | mvo: I worked on it | 12:30 |
pedronis | mvo: anyway I addressed Ian comments | 12:31 |
pedronis | in fact | 12:31 |
pedronis | I mean about 9626 | 12:31 |
mborzecki | mvo: hmmm we may as well disable tpm/secure boot, so no encryption, but the test should work | 12:31 |
mborzecki | guess it's beter than disabling it completely | 12:31 |
pedronis | mborzecki: yes | 12:32 |
mup | PR snapd#9632 opened: tests/nested/manual/refresh-revert-fundamentals: temporarily disable secure boot <Run nested> <Simple 😃> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/9632> | 12:43 |
mup | PR snapd#9633 opened: github: run nested suite when commit is pushed to release branch <Run nested> <Simple 😃> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/9633> | 12:53 |
pstolowski | ijohnson: hey, can you take another lokk at #9617? i've added proxy support | 13:04 |
mup | PR #9617: tests: compare options of mount units created by snapd and snapd-generator <Created by stolowski> <https://github.com/snapcore/snapd/pull/9617> | 13:04 |
mborzecki | hmm: apparmor="DENIED" operation="exec" profile="snap.test-snapd-after-before-service.before-middle" name="/bin/systemd-notify" pid=342298 comm="start" requested_mask="x" denied_mask="x" fsuid=0 ouid=0 | 13:12 |
mborzecki | ehh, silly me | 13:12 |
ijohnson | pstolowski: yeah sure | 13:29 |
mborzecki | is the "service-control" task being used anywere? pstolowski, ijohnson any chance you remember? | 13:33 |
pstolowski | mvo: yes, in #8960 | 13:35 |
mup | PR #8960: o/snapstate,servicestate: use service-control task for service actions (9/9) <Needs Samuele review> <Services ⚙️> <⛔ Blocked> <Created by stolowski> <https://github.com/snapcore/snapd/pull/8960> | 13:35 |
pstolowski | ups, mborzecki ^ | 13:35 |
pstolowski | mborzecki: why? | 13:37 |
mborzecki | pstolowski: i'm looking at https://forum.snapcraft.io/t/use-of-before-and-after-keywords-to-define-the-start-order-of-snap-daemons/21082/5 i thought that snap start was fixed to use the right order, but it's not working | 13:40 |
mborzecki | pstolowski: and there's actually 2 places doing something similar, but not quite? one is servicestate.Control which gnerates some commands, and the other is servicemgr.doServiceControl | 13:42 |
pstolowski | mborzecki: are you looking at master? | 13:43 |
pstolowski | or my branch? | 13:43 |
mborzecki | pstolowski: master | 13:43 |
pstolowski | mborzecki: ok. my branch centralizes things around services. would be good to have a spread test with reproducer and then run it against 8960 | 13:44 |
pstolowski | mborzecki: i can look at this after standup | 13:45 |
pstolowski | seems like there is an example already | 13:45 |
pstolowski | on the forum | 13:45 |
mborzecki | pedronis: there, but it shows there's a bug somewhere | 13:48 |
mborzecki | this used to work iirc ;) | 13:49 |
pedronis | mborzecki: ? | 13:49 |
mborzecki | heh it's not fixed, found an unpushed commit from 2018 which does that | 13:59 |
mup | PR snapd#9634 opened: boot,dirs,c/snap-bootstrap: avoid InstallHost* at the cost of some messiness <UC20> <Created by pedronis> <https://github.com/snapcore/snapd/pull/9634> | 14:03 |
pstolowski | mborzecki: is that old fix for services large? does it have a spraed test already? i wonder if it makes sense to land it or if i should take over it and re-work on top of 8960 | 14:28 |
mborzecki | pstolowski: it's here https://github.com/bboozzoo/snapd/commit/3b5103daf07141d0fefa02f2d774a3f4869aa684 half done and imo it thousl be fixed in servicestate.Control() instead of this | 14:29 |
pstolowski | mborzecki: okay. probably makes sense to tackle it after 8960 as otherwise it would again delay landing of 8960 and possibly lead to annoying and confusing conflicts | 14:32 |
pstolowski | mborzecki: and i can start with a spread test | 14:32 |
mborzecki | pstolowski: hmm looking at 8960 again, this issue should be fixed there | 14:36 |
pstolowski | mborzecki: that would be great. i'm going to create a spread test anyway to verify | 14:37 |
* cachio lunch | 14:51 | |
mup | PR snapd#9630 closed: tests: fix nested tests <Run nested> <Simple 😃> <Created by sergiocazzolato> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/9630> | 14:53 |
mup | PR snapd#9626 closed: snap-bootstrap,secboot: call BlockPCRProtectionPolicies in all boot modes <Run nested> <UC20> <Created by chrisccoulson> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/9626> | 14:59 |
pedronis | ijohnson: thanks for answering to https://forum.snapcraft.io/t/configure-grub-with-ubuntu-core-20/20835 | 15:09 |
ijohnson | pedronis: yah no problem, there have been a few other folks asking questions on uc20 on the forum I have tried to keep up with and answer | 15:12 |
pedronis | #9628 needs reviews | 15:17 |
mup | PR #9628: secboot,cmd/snap-bootstrap: fix degraded mode cases with better device handling <Needs Samuele review> <Run nested> <UC20> <Created by anonymouse64> <https://github.com/snapcore/snapd/pull/9628> | 15:17 |
ijohnson | hmm pedronis not sure I agree with 898ade549228a6ae93f117f91c57fe5a1325cca3 there | 15:17 |
ijohnson | let me think about it a bit more, I'm concerned that by saving/observing m.isEncryptedDev we are giving too much meaning to that, when it could be false just by default | 15:17 |
ijohnson | i.e. we don't have a nice way to tell "we definitely saw an unencrypted disk before" and "we haven't yet seen any disk (encrypted or not) yet" | 15:18 |
ijohnson | but let me look a bit more maybe it's fine | 15:18 |
pedronis | ijohnson: I'm also checking that data is marked found | 15:19 |
pedronis | it's not that different from how the setUnlockStateWithFallbackKey uses that flag | 15:21 |
pedronis | in theory we could even push that check down (not sure it woudl be clearer code) | 15:21 |
ijohnson | yes I see that, I'm trying to think about if that's good enough yet | 15:21 |
ijohnson | sadly it's a bit difficult to reason about finding a counter-example where this logic is wrong | 15:21 |
pedronis | ijohnson: you need to look at all the places we set found for data, all those places make also a definitive decision about whether the device is encrypted | 15:22 |
pedronis | if we don't find data of course we don't have a decision | 15:23 |
mborzecki | mvo: looks like the unit test job failed in the spread run you mentioned https://github.com/snapcore/snapd/runs/1224993441 ? | 15:25 |
mvo | mborzecki: oh, maybe this was just coincidence, hold on | 15:25 |
mvo | mborzecki: this one is a better example https://github.com/snapcore/snapd/runs/1386207780 | 15:26 |
mborzecki | hmm `2020-11-11 16:40:13 Cannot allocate google:debian-9-64: google: read JWT from JSON credentials: 'type' field is "authorized_user" (expected "service_account")` | 15:27 |
mborzecki | mvo: aren't we using the same spread binary? | 15:28 |
ijohnson | pedronis: ok yeah I think you're right I can't find a counter-example of where the logic is wrong | 15:30 |
ijohnson | checking FindState is the right thing to do | 15:31 |
pedronis | ijohnson: tbh though, I don't want to poke at this more right now, but probably IsEncryptedDev should become a tristate Unknown,Encrypted,Unencrypted some checks/things would be clearer | 15:31 |
ijohnson | pedronis: yes that would be a nice thing to have, but agreed for now is fine to leave as-is | 15:32 |
mup | PR snapcraft#3372 opened: tests: make each static test available as a make target <Created by cjp256> <https://github.com/snapcore/snapcraft/pull/3372> | 15:46 |
ijohnson | pedronis: well regardless I looked over all your changes to 9628 and they all lgtm, so if/when that pr is green I think we should land it | 15:47 |
ijohnson | as you say we might need the nested test which disables the tpm/secureboot | 15:47 |
zyga | mvo: FYI: groovy's go has a bug in its internal IO loops | 16:11 |
zyga | I just spent a better part of the day wondering WTF is going on | 16:12 |
zyga | https://go-review.googlesource.com/c/go/+/232862/ is the fixed bug with details | 16:12 |
zyga | if you see funny errors in groovy, this _may_ be related | 16:12 |
zyga | also if you build with 1.14 | 16:12 |
mvo | zyga: oh, fun! thanks for letting me know | 16:14 |
zyga | mvo: I poked mwhudson but not sure if there's any priority to backport this | 16:17 |
zyga | 1.13 and 1.15 are okay | 16:17 |
mup | PR snapcraft#3373 opened: ci: migrate static checks from travis to github actions <Created by cjp256> <https://github.com/snapcore/snapcraft/pull/3373> | 16:31 |
Nemesis | Hello everyone, i can see there is still issue with snap packages for latested version of manjaro. Does someone know when the issue will be fixed? | 16:39 |
Nemesis | or some workaround known? | 16:39 |
zyga | Nemesis: what's the problem? | 16:42 |
Nemesis | zyga: since about 7-10 days all packages instelled on Manjaro (lateset version) does not work (when i start the pakache just showing loading and in 1-2 seconds disapears and nothing else happens). | 16:44 |
Nemesis | i had another issue with 1-2 programs which was able to open (they had squears insted of alphabets).. i read on internet that fonts might be a problem, i changed the font - dint help | 16:45 |
ijohnson | does manjaro use x11 or wayland ? | 16:46 |
zyga | Nemesis: can you open any of those apps from command line please | 16:48 |
pedronis | mvo: ijohnson: I'm going to force merge https://github.com/snapcore/snapd/pull/9632 , it affects only nested tests and those passed (in other tests we have store issues) | 16:48 |
mup | PR #9632: tests/nested/manual/refresh-revert-fundamentals: temporarily disable secure boot <Run nested> <Simple 😃> <UC20> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/9632> | 16:48 |
ijohnson | pedronis: ack sounnds good to me | 16:48 |
Nemesis | [martin@nemesis ~]$ loginctl show-session 2 -p Type | 16:48 |
Nemesis | Type=x11 | 16:48 |
Nemesis | I have most of the packages installed using flatpak/pacman or not installed at all. Give me 1 seconds to go install 2-3 new snap packages | 16:52 |
mup | PR snapd#9632 closed: tests/nested/manual/refresh-revert-fundamentals: temporarily disable secure boot <Run nested> <Simple 😃> <UC20> <Created by bboozzoo> <Merged by pedronis> <https://github.com/snapcore/snapd/pull/9632> | 16:54 |
ijohnson | cachio: I want to add a uc20 specific nested helper, should I add a function to nested.sh and expose it via the new nested-state binary? | 16:59 |
cachio | ijohnson, depends on the funtion | 17:00 |
cachio | if it is to manage the service/vm yes | 17:00 |
cachio | otherwise it should so directo to nested.sh | 17:00 |
zyga | ijohnson: if you can consume it exclusively from nested-state, it'd probably be okay to add to nested-state without adding to nested.sh | 17:01 |
ijohnson | the function is this | 17:01 |
ijohnson | https://www.irccloud.com/pastebin/H0orv42g/ | 17:01 |
Nemesis | zyga: http://ix.io/2DVd - there is one | 17:01 |
ijohnson | it's fairly simple but I need to do it many times in one specific uc20 nested test | 17:02 |
ijohnson | it's kinda managing the VM insofar as it is rebooting the VM and changing the state of it, etc. | 17:02 |
cachio | ijohnson, I'd add that to nested.sh | 17:02 |
cachio | I'll include that in the following pr to move that to the nested-state tool | 17:03 |
Nemesis | zyga: there is another: http://ix.io/2DVe | 17:03 |
ijohnson | cachio: ok, I will just add it to nested.sh in my PR and use it directly | 17:03 |
Nemesis | there was much more, just i already have them installed using another packages | 17:04 |
cachio | ijohnson, nice | 17:04 |
cachio | I'll take a look once it is ready | 17:04 |
ijohnson | thanks cachio | 17:09 |
ijohnson | I hope to have it open today | 17:09 |
mup | PR snapd#9634 closed: boot,dirs,c/snap-bootstrap: avoid InstallHost* at the cost of some messiness <UC20> <Created by pedronis> <Merged by pedronis> <https://github.com/snapcore/snapd/pull/9634> | 17:34 |
mvo | pedronis: thanks for mergning! I will get dinner and then review 9628 again | 17:35 |
mvo | (unless someone else beats me to it) | 17:35 |
mvo | and then we should be done, yes? | 17:35 |
pedronis | mvo: yes, I'm merging master into it, and adding a couple not urgent TODOs | 17:37 |
mup | PR snapcraft#3374 opened: [wip] ci: migrate spread tests github actions <Created by cjp256> <https://github.com/snapcore/snapcraft/pull/3374> | 17:41 |
ijohnson | gah | 17:48 |
ijohnson | pedronis: mvo: we need one more fix I just found writing a spread test | 17:49 |
ijohnson | copySafeDefaultData is wrong, it puts the complete file on /run/mnt/host/.../console-conf when it should be putting it on /run/mnt/data/.../console-conf/ | 17:49 |
ijohnson | shall I push the fix to 9628 ? or open a new PR? | 17:50 |
pedronis | ijohnson: push it to 9628 | 17:51 |
ijohnson | k, one moment | 17:51 |
pedronis | ijohnson: I just pushed there though, so you need to pull | 17:51 |
ijohnson | right | 17:51 |
pedronis | I merged master and tweaked a couple of things | 17:51 |
pedronis | ijohnson: ah, I see, it needs to match the dest part of the if stanze | 17:53 |
pedronis | stanza | 17:53 |
ijohnson | yes | 17:53 |
pedronis | boot.InitramfsDataDir | 17:53 |
ijohnson | yep precisely | 17:53 |
pedronis | so the test is also wrong? | 17:53 |
ijohnson | yeah | 17:53 |
pedronis | :/ | 17:53 |
ijohnson | this is why spread tests are good though | 17:53 |
pedronis | yes | 17:54 |
pedronis | but also why constant for dirs are a mixed bag | 17:54 |
pedronis | I'm starting to believe that unit test should try to actively spell directories more explictly/differnelty from code | 17:54 |
pedronis | anyway | 17:55 |
ijohnson | I was wondering if instead of using what you proposed in the SU which would be more work, if we instead had functions from boot that took as an argument the time in which they are being called (or otherwise figured out what time/mode they are being called from directly) | 17:55 |
ijohnson | then you would have for example DataDir(initramfs) or SeedFDEDir(initramfs) and BootFDEDir(install) | 17:55 |
pedronis | I don't think time is the only relevant variable here | 17:56 |
pedronis | there's also host vs not | 17:56 |
pedronis | for recover | 17:56 |
pedronis | as in your case here | 17:56 |
ijohnson | right but in this case it would be HostDataDir(intitramfs) vs DataDir(initramfs) | 17:57 |
ijohnson | I think the issue here is just that it is confusing that we have both a tpmfs "data" mount and the "host" data mount | 17:57 |
ijohnson | well one of many issues | 17:57 |
pedronis | ijohnson: it's still an unclear/growing family of functions | 17:59 |
pedronis | it might be better but is work, if we are going to do work maybe we should do the full work | 18:00 |
ijohnson | pedronis: ok, so side-stepping all that for a second to talk about one other thing I just found with your marker file impl | 18:00 |
ijohnson | I just noticed that if we fail to mount save at all, we treat data as not trusted, is that intentional | 18:00 |
pedronis | yes | 18:01 |
ijohnson | this means for example that if I just totally wipe ubuntu-save from the face of the earth and leave data normal, the marker file for ubuntu-save doesn't exist, and so data is treated as not trusted since we can't compare the marker files | 18:01 |
ijohnson | and as such we don't copy any data from ubuntu-data for i.e. logging in | 18:01 |
mup | PR snapcraft#3375 opened: [wip] ci: migrate spread tests github actions <Created by cjp256> <https://github.com/snapcore/snapcraft/pull/3375> | 18:01 |
pedronis | we could try to be more specific, but in general unless we are sure that there is no way to get to save after the fact | 18:02 |
pedronis | we can't trust data | 18:02 |
ijohnson | I guess you will still have your recover mode snaps that run which could try and do something | 18:02 |
ijohnson | I guess this is fine then, I guess I had it in my head that we only check the marker files if we have both partitions | 18:03 |
ijohnson | ok, nvm me then this is intentional, but unfortunate | 18:03 |
pedronis | we can do better, but it needs careful thinking | 18:04 |
pedronis | the worst scenario is save open but not mounted for some reason | 18:04 |
=== the-mentor0 is now known as the-mentor | ||
ijohnson | yeah I guess we could copy data if we know for sure that save is not unlocked or maybe if we know that data was unlocked not with the recovery key | 18:05 |
ijohnson | but I suppose those are improvements we could make later | 18:06 |
pedronis | ijohnson: if we would need to be sure that save is open and that we managed to lock the keys | 18:06 |
pedronis | sorry *save is not open* | 18:06 |
pedronis | right now the code isn't quite there | 18:06 |
pedronis | it would need more states | 18:06 |
pedronis | ijohnson: you can leave a todo somewhere if you want | 18:07 |
ijohnson | sure | 18:07 |
* pedronis goes to have dinner | 18:10 | |
ijohnson | pedronis: pushed | 18:11 |
=== ijohnson is now known as ijohnson|lunch | ||
=== the-mentor4 is now known as the-mentor | ||
=== ijohnson|lunch is now known as ijohnson | ||
* ijohnson goes to grocery store for ~ 2 hours | 19:09 | |
=== the-mentor5 is now known as the-mentor | ||
mup | PR snapd#9628 closed: secboot,cmd/snap-bootstrap: fix degraded mode cases with better device handling <Needs Samuele review> <Run nested> <UC20> <Created by anonymouse64> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/9628> | 20:15 |
=== the-mentor1 is now known as the-mentor | ||
mvo | merging master back into 2.48 caused a merge conflict, how did that happen :( | 20:33 |
mvo | anyway, had to open 9635 because of this, no ff possible | 20:33 |
mup | PR snapd#9635 opened: many: merge current master into 2.48 <Run nested> <Created by mvo5> <https://github.com/snapcore/snapd/pull/9635> | 20:35 |
* mvo lets the test run for a bit | 20:39 | |
mup | PR snapcraft#3376 opened: tests: add missing mock for rust unit tests <Created by cjp256> <https://github.com/snapcore/snapcraft/pull/3376> | 20:52 |
mup | PR snapcraft#3377 opened: launchpad tests: mock git source handler <Created by cjp256> <https://github.com/snapcore/snapcraft/pull/3377> | 23:03 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!