/srv/irclogs.ubuntu.com/2018/12/05/#snappy.txt

=== chihchun_afk is now known as chihchun
mborzeckimorning06:10
zygaGood morning07:04
mborzeckizyga: hey07:21
mborzeckizyga: do you know who controls strace-static snap?07:21
mborzeckiis it only mvo?07:22
zygaI believe so07:22
zygaWhat do you need?07:22
mborzeckiwell, it doesn't work on fedora, something about unexpected wait status value, i believe it's the recent kernel that's causing this07:23
mborzeckithe edge version is 4.23 and stil not good enough07:23
mborzeckifedora ships strace 4.24 and that one works07:23
mborzeckii've worked around it in the spread suite, but we'll need to update the snap at some point07:23
zygaMmm07:27
zygaIs 4.24 compatible with other distributions?07:28
mborzeckizyga: we'll see when we end up using it in the spread suite07:32
mborzeckizyga: fwiw i have 4.25 in arch07:32
mborzeckione last spread run and i'll be opening a PR with Fedora 2907:34
zygaOk07:50
zygaI will be around in 30 minutes07:51
zygaAs usual, worked late last night07:53
=== pstolowski|afk is now known as pstolowski
pstolowskiheyas08:12
mborzeckipstolowski: hey08:20
zygaback now08:35
zygagood morning pawel08:35
zygahow are you guys?08:36
zygasorry for being sleepy, I was pushing some things last night08:39
zygaare we still affected by the issue where our logs are too long for travis?08:40
mupPR snapd#6264 opened: spread, tests: add Fedora 29 <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/6264>08:45
zygamborzecki: what is your stance on the repackaging issue?08:47
zygaI have not read the PR yet so if it is stated there please refer me instead08:47
mborzeckizyga: imo it's benign as long as we don't reexec on those system, i think we could easily not repack the core snap on such systems08:50
zygawhy is it related to reexec?08:50
zygalike it happened with snap-device-helper, some things are always used from core08:50
mborzeckizyga: oh, w8, it's not, right reexec would still pull the libs from host so that's fine08:51
zygaor am I mistaken, that the issue was that repackaged, incompatible script was used08:51
pstolowskizyga: the spread test for dns error (#6222) is driving me crazy.. been trying a couple of tweaks yesterday evening. sounds crazy, but it looks like iptables-save+restore on debian doesn't actually restore the rules sometimes - some other test fails and when poking around in the system after failure i see the rule is active..08:51
mupPR #6222: cmd/snap: handle DNS error gracefully <Created by stolowski> <https://github.com/snapcore/snapd/pull/6222>08:51
mborzeckizyga: so it's probably only snapctl at this point08:51
mborzeckiwhich we could easily build statically08:51
zygamborzecki: would the issue also surface on future ubuntu 20.04 distribution testing a core16 snaps?08:52
zygapstolowski: can you dump the rules to compare them in text form?08:52
zygamborzecki: when snap-confine, reexecuting, is linked to libc not present in core1608:53
mborzeckizyga: afaict only tools that are executed inside snap mount ns would be affected, those are snapctl and snap-device-helper, snap-update-ns (but that's already linked statically)08:54
zygaindeed08:54
zygathat's a good observation08:54
mborzeckisnapctl can be linked statically, it's go :)08:54
zygaas other tools will still execute on the outside08:55
zygathanks08:55
mborzeckizyga: that shebang being rewritten from #!/bin/sh to #!/usr/bin/sh is probably some usr-merge thing again08:57
zygayes08:58
pstolowskizyga: iptables-save dumps them in txt form; let me actually inspect that when some other test fails08:58
zygapstolowski: yeah, just dump them in prepare and restore08:58
zygaand compare what we get08:58
zygaguys, I'm almost convinced there's something seriously broken08:58
zygaso consider, when inspecting magic failures, that set -e is indeed not working08:58
zygaso perhaps something failed earlier on and the script nonetheless advanced08:59
zygathough I still don't grasp the details08:59
mborzeckipstolowski: silly thought, maybe we should start our own dns server for that test09:04
pstolowskimborzecki: hmm but we would need to modify the test environment anyway, so potentially effect something else?09:04
pstolowskimborzecki: it seems like a primitive approach with just iptables -I .., followed by iptables -D ... works. or maybe i'm just lucky.09:05
mborzeckihehe :) if it works then it's fine09:05
pstolowskimborzecki, zyga: ha, reproduced. run all spread tests. a radom test failed (not the one that messes up with iptables). the rules dump file created by iptables-save is empty, but iptables has the dns reject rule09:15
zygaintriguing, how do you save and observe the tables?09:16
zygaand where do you store the dump?09:16
pstolowskimborzecki, zyga grr, ignore me. the rules should be empty :D09:16
zygaah09:16
pstolowskimborzecki, zyga apparently iptables-restore didn't work or wasn't invoked09:16
pstolowskihmm, ok, not even that. rules dump is empty (as completely empty), but it should actually have some iptables-save noise09:19
pstolowskiweird...09:19
zygahow do you dump the rules?09:19
mborzeckipstolowski: were there any rules in place when iptables-save was called?09:20
pstolowskimborzecki: no (and in such case iptables-save creates a kind empty file with empty chains)09:22
zygais the file overwritten somewhere?09:23
mborzeckipstolowski: hm empty? shouldn't there be a timestamp and a list of all chanins (all empty)09:23
pstolowskimborzecki: yes09:24
pstolowskizyga: interesting theory09:24
pstolowskitrying without iptables save/restore now, if it works i'm gonna leave it like that09:25
mborzecki#6264 is green :)09:30
mupPR #6264: spread, tests: add Fedora 29 <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/6264>09:30
mborzeckidamn, hitting unrelated errors in the PRs09:45
mborzeckiappstream-id, refresh-all :/09:45
mborzeckiand mount thing obviously too09:45
zygayes09:50
zygabane of random failures09:50
zygaeh :/09:50
zygaI really encourage everyone to attack them09:50
zygathey are crippling our ability to make progress09:50
=== chihchun is now known as chihchun_afk
mborzeckipstolowski: can you take a look at https://github.com/snapcore/snapd/pull/6261 ?10:09
mupPR #6261: tests/lib/prepare: make sure that SELinux context of repacked core snap is controlled <Simple 😃> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/6261>10:09
mborzeckiit's finally green10:09
pstolowskik10:10
mborzeckizyga: about that xdg-desktop-portal: https://paste.ubuntu.com/p/nkFc5FJ3Qc/10:17
zygammm10:18
mborzeckibut i don't see what requires that really10:18
=== chihchun_afk is now known as chihchun
zygawe require it10:18
mborzeckizyga: well, it's not listed anywhere in the spec10:19
zygahmm10:20
zygaperhaps I was mistaken10:20
pstolowski#6222 green as well; kicking it again to double check10:20
zygabut I recall something like that10:20
mupPR #6222: cmd/snap: handle DNS error gracefully <Created by stolowski> <https://github.com/snapcore/snapd/pull/6222>10:20
zygapstolowski: ack10:21
mborzeckizyga: https://paste.ubuntu.com/p/Yf3bRmcjBr/10:21
zygapstolowski: is it safe to merge or do you anticipate tests breaking in the future?10:21
zygahm10:21
zygamborzecki: then I have no idea10:21
* zyga -> tea10:22
pstolowskizyga: the test is dead simple and doesn't shouldn't have any side-effects, but you never know. i'll give it one more run to see. if it causes problem in the future i'll disable it10:24
zygaok10:24
mborzeckizyga: heh i can actually remove xdg-desktop-portal and none of snapd components are removed10:25
mupPR snapd#6261 closed: tests/lib/prepare: make sure that SELinux context of repacked core snap is controlled <Simple 😃> <Created by bboozzoo> <Merged by bboozzoo> <https://github.com/snapcore/snapd/pull/6261>10:42
mborzeckipstolowski: if you could do this one too: https://github.com/snapcore/snapd/pull/626010:49
mupPR #6260: spread, tests: use checkpoints when dumping audit log <Simple 😃> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/6260>10:50
mborzeckizyga: no clue what's happening with dependencies there, left a note in the PR for now10:51
zygasounds good10:51
pstolowskirandom mount failure on 6222 -  Mount snap "test-snapd-tools_instance" (7) ([start snap-test\x2dsnapd\x2dtools_instance-7.mount] failed with exit status 1: Job for snap-test\x2dsnapd\x2dtools_instance-7.mount failed.10:57
mborzeckiheh10:58
zygaon whihc system?11:01
zyga*which system11:01
zygamoved downstairs to the office11:01
zygasorry, I don't feel well today11:01
pstolowskizyga:  google:ubuntu-18.04-64:tests/main/refresh-all11:08
zyga18.0411:08
zygammm11:08
zygahas anyone seen this on 18.10?11:08
mupPR snapd#6265 opened: cmd/snap: attempt to restore SELinux context of snap user directories <SELinux> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/6265>11:20
mupPR snapd#6260 closed: spread, tests: use checkpoints when dumping audit log <Simple 😃> <Created by bboozzoo> <Merged by stolowski> <https://github.com/snapcore/snapd/pull/6260>11:21
mborzeckipstolowski: thanks!11:24
cachiozyga, hey, I tested the systemd fix but still failing11:27
pstolowskiyw11:27
cachiothere is a test interfaces-hostname-control11:27
cachiowhich found that error11:28
cachiowhich still fail11:28
zygacachio: can you report on the SRU bug please11:29
zygacachio: and talk to xnox about the details11:29
cachiosure11:29
zygathank you11:29
cachiozyga, np11:29
cachioI have a branch with the change I did to check that11:29
ackkhi, is there a "hook" to do stuff like push files/configs to the multipass VM snapcraft uses?11:29
cachioif you want to take a look just tell me11:29
zygacachio: that's fine, unless you want me to11:31
cachiook, I'll explain more during the standup11:32
pstolowski#6222 is green again, merging11:51
mupPR #6222: cmd/snap: handle DNS error gracefully <Created by stolowski> <https://github.com/snapcore/snapd/pull/6222>11:51
mupPR snapd#6222 closed: cmd/snap: handle DNS error gracefully <Created by stolowski> <Merged by stolowski> <https://github.com/snapcore/snapd/pull/6222>11:52
zygajdstrand: 6244 is read11:53
zyga*ready11:53
zygapstolowski: https://github.com/snapcore/snapd/pull/6251 needs a 2nd review11:53
mupPR #6251: cmd/snap-confine: refactor calling snapd tools into helper module <Created by zyga> <https://github.com/snapcore/snapd/pull/6251>11:53
zygamborzecki: https://github.com/snapcore/snapd/pull/6149 needs a partially second review11:54
mupPR #6149: cmd/snap-confine: capture initialized per-user mount ns <Per-user mount ns  🐎> <Created by zyga> <https://github.com/snapcore/snapd/pull/6149>11:54
mborzeckik, looking11:54
zygathank you :)11:54
zygamborzecki: any action needed on F29 PR in light of the weak dependency fact?11:56
mborzeckizyga: i'm running the fix under spread right now11:57
zygaok11:57
mborzeckithat umask thing keeps popping up12:01
zygahmmm12:01
zygatests leaking12:01
zygaor something else?12:01
mborzeckizyga: the test that passed on travis and locally before failed right now12:02
* cachio afk12:04
zygaI'm back to debugging set -e bug12:04
zygawaaat?!!?12:11
jameshzyga: would it be possible to get this change merged? https://code.launchpad.net/~jamesh/snappy-hub/test-snapd-dbus-service/+merge/360118 -- this test package isn't currently used in snapd master, and I needed to update it a bit for the new version of the dbus activation changes12:17
zygalooking12:17
zygaif this is merged and published to the store, would snapd tests be affected straight away?12:18
zygaI mean, would any tests that used to pass start to fail?12:18
jameshzyga: there is no reference test-snapd-dbus-service in the tests/ directory of snapd master12:19
zygaok12:19
jameshit originates from mvo's old abandoned PR12:20
zygajdstrand: is there a merge service running against that BZR branch?12:22
zygaer12:22
zygajamesh: ^12:22
zygasorry, bad tab completion12:22
jameshzyga: I don't think so.12:23
zygaok, I'll merge it manually then12:23
jameshthank you.  I think I'm getting close to being able to remove that "WIP" tag from my PR12:24
jamesh(and I understand it might take a while to get reviewed)12:24
zygahopefully more reviews will resume next week12:25
jameshI'm sure there's still problems to discover once my spread tests run on all distros12:26
zygahmm12:32
* zyga doesn't recall bzr specific weirdness12:32
zygajamesh: I _think_ it is merged12:32
zygayep12:33
zygamborzecki: can you re-review https://github.com/snapcore/snapd/pull/6259/files12:43
zygathe set -e mystery is solved12:43
mupPR #6259: tests: reduce verbosity around package installation <Simple 😃> <⚠ Critical> <Created by zyga> <https://github.com/snapcore/snapd/pull/6259>12:43
zygaI was so stuck looking at why dpkg-query failure was ignored12:43
zygait was not12:43
zygait was never executed12:43
zygathe exit above made sure of that12:43
zygaso the test would fail but it was returning early12:43
mborzeckizyga: something fishy about tests, i have no idea how that fedora 29 pr is green12:58
zygahaha12:58
zygain which sense12:58
zygamaybe it is manual?12:58
mborzeckiomg, damn, it is12:59
mupPR snapd#6250 closed: data: set KillMode=process for snapd <Created by mvo5> <Merged by zyga> <https://github.com/snapcore/snapd/pull/6250>13:03
zygaadvice welcome on https://github.com/snapcore/snapd/pull/619013:06
mupPR #6190: overlord/configstate,features: expose features to snapd tools <⛔ Blocked> <Created by zyga> <https://github.com/snapcore/snapd/pull/6190>13:06
zygais that good as is13:06
zygaor should I iterate on some aspect13:06
zygashould I split some parts out to land quicky13:06
mupPR snapd#6259 closed: tests: reduce verbosity around package installation <Simple 😃> <⚠ Critical> <Created by zyga> <Merged by zyga> <https://github.com/snapcore/snapd/pull/6259>13:31
mupPR snapd#6266 opened: tests: make security-device-cgroups-{devmode,jailmode} work on arm devices <Created by sergiocazzolato> <https://github.com/snapcore/snapd/pull/6266>13:31
zygaupdated https://github.com/snapcore/snapd/pull/6149#discussion_r23905830813:34
mupPR #6149: cmd/snap-confine: capture initialized per-user mount ns <Per-user mount ns  🐎> <Created by zyga> <https://github.com/snapcore/snapd/pull/6149>13:34
zygamborzecki: do you mean to make F29 non-manual in https://github.com/snapcore/snapd/pull/626413:42
mupPR #6264: spread, tests: add Fedora 29 <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/6264>13:42
mborzeckizyga: yes, running with the latest batch of fixes, i'll label the PR as blocked for now13:43
zygathank you13:43
mupPR snapd#6267 opened: overlord: move Conf interface to configstate/config to avoid cyclic imports <Simple 😃> <Created by zyga> <https://github.com/snapcore/snapd/pull/6267>13:43
zygamborzecki, pstolowski:  I pushed a very simple PR to shrink my other feature PR, could you guys please look ^13:43
zygapstolowski: need a 2nd review on https://github.com/snapcore/snapd/pull/6149  :)13:51
mupPR #6149: cmd/snap-confine: capture initialized per-user mount ns <Per-user mount ns  🐎> <Created by zyga> <https://github.com/snapcore/snapd/pull/6149>13:51
zygafeel that this is finally moving forward :)13:51
pstolowskizyga: ok, will do13:53
mborzeckizyga: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2018-ba8845b83b14:16
zygaxnox: hey, what going to happen now that the SRU verification of https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1778936 is failed?14:24
mupBug #1778936: please re-add Support-system-image-read-only-etc.patch <patch> <verification-needed> <verification-needed-bionic> <systemd (Ubuntu):Fix Released> <systemd (Ubuntu Bionic):Fix Committed> <systemd (Ubuntu Cosmic):Fix Released> <https://launchpad.net/bugs/1778936>14:25
cachiozyga, https://github.com/sergiocazzolato/snapd/tree/tests-validate-lp-177893614:30
zygacachio: can you add a note to that bug please, that explains how to reproduce the results of that test14:30
zygacachio: specifically how to build a system image with core18 which contains systemd from proposed14:31
cachiook14:31
zygathank you :)14:31
zygacachio: I'm not sure how what you changed there tests systemd form proposed14:32
zygasince our testing process doesn't involve unpacking systemd into the repackaged core18 snap14:32
zygacachio: so you would still get the vanilla core18 from the store14:32
zygawhich has systemd from stable14:32
zyga(well, from the archive)14:32
zygacachio: may I ask how you checked the version of systemd that you observed?14:33
zygacachio: in the effective image built with ubuntu-image?14:34
cachiowhen the test fails14:34
cachiozyga, it is possible to check systemd version in a debug session14:34
zygamhm14:34
zygaand what is the version you saw?14:34
cachio 237-3ubuntu10.1014:35
zygaand how does that relate to the version in main and in proposed?14:35
cachioin main is 237-3ubuntu10.714:35
cachioirrc14:35
zygathe version that is mentioned in the bug report as containing the fix is different14:35
zygait is 239-7ubuntu714:36
cachiobasically, what I do it to enable proposed and refresh systemd during the project preparation14:36
zygaor 237-3ubuntu10.8 in bionic14:36
cachioAccepted systemd into bionic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/systemd/237-3ubuntu10.1014:36
zygacachio: but that changes the starting throwaway image14:36
zyganot the core18 image you build14:36
zygaI don't see how the changes you did affect the core18 _snap_ that is used to build the image where tests execute14:37
zygait may be that this is correct14:37
zygabut I don't understand it yet14:37
zygaand I want to since the verification failed and this is an urgent issue14:37
cachiolet me create a debug session14:38
cachiozyga, perhaps it works14:38
cachioto understand better14:38
zygayou can create one but can you argument how this is expected to  work14:38
zygaI want to see how the proposed package ends up in the core18 snap14:38
=== chihchun is now known as chihchun_afk
cachioso, we build core18 snap we use the deb snapd.deb we already created14:40
zygahow do we build the core18 snap? can you show me please?14:41
cachiozyga, sure, 1 sec14:41
zygathanks14:41
zygajdstrand: https://github.com/snapcore/snapd/pull/6244 is ready, if you have some time to look at the last patch I would love to land that and have that bug fixed :)14:42
cachiohttps://github.com/snapcore/snapd/blob/master/tests/lib/prepare.sh#L33914:42
mupPR #6244: release: detect too old apparmor_parser <Created by zyga> <https://github.com/snapcore/snapd/pull/6244>14:42
cachiozyga, ~14:42
zygacachio: looking14:42
zygaso14:43
zygawe unpack the _snapd_ snap14:43
zygaright?14:43
cachioyes14:43
zygadoes the snapd snap contain systemd?14:43
zygaAFAIK systemd is inside the core18 snap14:44
zygaunless we are repackaing that one elsewhere, and based on the package from the host14:44
zygaI don't see how this was testing proposed14:44
cachiozyga, what I did is to enable proposed on this instance14:45
cachioand add a dependency on snapd.deb to the package on proposed14:46
zygaSorry, in which instance?14:46
cachioso then if we build the image based on out .deb14:46
cachioinstance is the ubuntu-18.04-64 that we use to create the image14:46
zygaThe test was checking snapd on core18 or on Ubuntu 18.04?14:46
cachiozyga, the test checks on core 18 instance14:47
cachiowhich is build on the fly using a ubuntu bionic image14:47
zygaSo explain how the choice of the host instance affects the system image built with Ubuntu image that is eventually tested?14:47
zygaMy understanding is that the core18 snap is coming from the store14:48
zygaAnd that it contains systemd14:48
jlorenzokenvandine: oSoMoN: hi guys! a mozilla employee found an odd behavior regarding assertions (even though he installed the snap with `--dangerous`). He left more details in https://bugzilla.mozilla.org/show_bug.cgi?id=1297531. Would you know who would be suited to help him out?14:49
zygaAnd because we do not alter it in the test, that is the core18 snap is as-is from the store then the changes ran against the same systemd version as before14:49
cachiommm, I see in the code that we modify the snapd snap to use what we have in the snapd.deb14:49
zygaYes14:49
zygaBut snapd snap does not contain systemd14:49
kenvandinehey jlorenzo14:49
oSoMoNhey jlorenzo14:51
oSoMoNreading that bug14:51
cachioI though that by setting a dependency for the snapd.deb to use the systemd from proposed is enough to force the image gets this systemd14:51
cachiobut based on the code I am not 10% sure14:51
cachio100%14:51
zygaIt would if this was using apt14:52
zygaBut we unpack just snapd.deb14:52
zygaStill14:52
zygaI believe you saw the right version of systemd14:52
zygaCan you tell me which channel of core18 was used in the test14:52
zygaWas it edge?14:53
zygaAnd is core18 edge using main or proposed?14:53
cachiowe use edge14:53
zygaPerhaps you tested the SRU despite making changes that have no effect on the produced image14:53
kenvandineoSoMoN: thanks14:53
zygaCan you please check the core18 edge snap recipe14:54
zygaIt should have this information14:54
cachiosure14:54
zygaThank you :-)14:54
oSoMoNjlorenzo, no need for an assertion, for local tests the browser-support interface can be manually connected, I'll comment on the bug to explain14:56
diddledanwho can kick the store review thingy for me? gog-galaxy-wine revision 62 is stuck14:59
cachiozyga, at least core is not built from proposed15:01
cachiozyga, I can't see the recipy for core1815:01
jlorenzooSoMoN: got it! thank you very much for the help :)15:02
oSoMoNjlorenzo, you're welcome15:03
cachiozyga, so, I'll try to build a snapd.snap with systemd from proposed15:03
cachiozyga, that should work right?15:03
zygare15:06
zygacachio: no, build core18 with systemd from proposed15:06
zygacachio: snapd.snap version is irrelevant15:06
zygacachio: can  you ask foundations for help, they should be able to point you to the recipe15:07
cachiozyga, great, thanks15:07
cachioI'll try that15:07
zygasure, let me know if you cannot find the recipe, I can look as well15:07
zygacachio: and please add a comment to the bug report that testing is still ongoing15:08
zygaso that xnox doesn't take action on incomplete information15:08
cachiozyga, sure, comment left15:11
zygasuper, thank you15:11
cachiozyga, thanks for the help15:11
xnoxcachio, if you give me something i can boot in a VM, i'm happy to validate things =)15:23
xnoxw.r.t. etc-writable stuff.15:23
zygaxnox: who builds the core18 images now, is that foundations?15:29
zygasorry, I was imprecise, I meant core18.snap15:29
zygaxnox: looking at the core18 snap in edge, it ships with systemd 23715:31
zygabut it doesn't have a manifest that I can look at15:31
cachioxnox, still trying to build the correct image, I'll let you know when the image is ready for validation15:31
cachiozyga, I searched on launchpad and couldn't find it15:32
cachioat least in our projects15:32
cachioso, foundations should be creating it, or mvo in same place15:33
cachiozyga, the last core18 images which I tested were share by mvo15:33
cachiozyga, I see this in the store -> core18 – Shared by canonical (snaps@canonical.com)15:35
cachioso foundations should be creating them15:35
zygaI found this repository: https://launchpad.net/snap-core1815:35
zygabut not sure if that's used15:35
zygasil2100: hey15:36
zygasil2100: can you shed some light on core18 snap15:36
cachiohttps://code.launchpad.net/~ubuntu-core-service/+snap/core1815:36
zygado you know where the source repository is and where the build recipe is (if it is built with a snap recipe)?15:37
zygacachio: nice, looking15:37
zygahttps://code.launchpad.net/~ubuntu-core-service/+snap/core18 says it is using primary archive for ubuntu15:37
zygaso that doesn't look like it uses proposed15:37
zygaand the publised snap goes to beta and edge15:38
zygathis is using the updates pocket15:38
zygaso not proposed15:38
zygaso we need to repeat the test15:38
zygacloning that recipe15:38
cachiozyga, is it possible to unpack core18 and manually replace systemd?15:38
zygacachio: yes but for correctness we should just rebuild it with different archive15:38
zygathat's supposedly easy15:38
zygacjwatson: hey, could you please help us with one thing, we'd like to build https://code.launchpad.net/~ubuntu-core-service/+snap/core18 but switch the archive to proposed15:39
zygawhat's the easiest way to do that?15:39
zygawe don't need to upload it to the store (though uploading to edge is ok)15:40
zygaideally edge could be out of proposed for real but we are after one-off test15:40
cjwatsonzyga: I'm on holiday today and tomorrow.  You should be able to work that one out from the apidoc though, I think15:45
zygathanks, looking!15:45
zygaenjoy the holidays and don't worry :)15:45
xnoxzyga, cachio - even if foundations build it, it's not built with proposed on..... i don't think.....15:47
xnoxbut it is not I =/15:48
zygaxnox: yeah, I checked, it's built with updates15:48
zygaxnox: trying to build it now15:48
cachiozyga, do you have a way to build it?15:54
zygayes, I think so15:54
zygabuilding now15:54
zygaI will share what I did if this works15:54
cachiozyga, great, thanks15:57
zygacachio: ok, I have a core18 now16:00
zygacachio: can you try this locally please:16:00
mupPR snapd#6268 opened: overlord/ifacestate: helpers for serializing hotplug changes <Hotplug 🔌> <Created by stolowski> <https://github.com/snapcore/snapd/pull/6268>16:01
zygagit clone -b master https://git.launchpad.net/snap-core1816:01
zygased -i -e 's/current/pending/g' Makefile16:02
zygause snapcraft from the debian pacakge16:03
zyganot from the snap:16:03
zygasudo snapcraft16:03
zygaonce built you can use that core18 snap to build an image16:03
zygaafter building you inspect the file dpkg.list found in /usr/share/snappy/dpkg.list16:05
zygafor me it contains:16:05
zygaii  systemd                    237-3ubuntu10.10        amd64        system and service manager16:05
zygathis corresponds to the proposed update that xnox wanted tested16:05
zygaxnox: ^ can you please confirm that systemd 237-3ubuntu10.10 is the version that is under SRU?16:05
zygacachio: using that snap just build and boot a KVM image16:05
zygacachio: then you can run a test against that16:06
cachionice16:08
cachioon that16:08
zygaexcellent, thank you!16:09
zygasergiusens: question about snapcraft the deb vs the snap16:09
zygaI got a failure where snapcraftctl was not on PATH and the build failed16:09
zygais that expected with 3.x?16:09
zygashould I file that as a bug16:09
zygathe snap in question is core18 from the repository mentioned above16:09
cachiozyga, in the building logs I see systemd is downloading from proposed16:13
cachioso far no errors16:13
cachioit is still building16:13
zygacachio: you can verify the manifest to be sure as well16:14
cachiozyga, yes,16:14
zygapstolowski: some failures on that  hotplug PR16:19
zygahttps://www.irccloud.com/pastebin/vcIZiRRm/16:19
zygahttps://github.com/snapcore/snapd/pull/626816:19
mupPR #6268: overlord/ifacestate: helpers for serializing hotplug changes <Hotplug 🔌> <Created by stolowski> <https://github.com/snapcore/snapd/pull/6268>16:19
pstolowskizyga: ok, interesting, looking16:19
zygapstolowski: if you can please review https://github.com/snapcore/snapd/pull/626716:21
mupPR #6267: overlord: move Conf interface to configstate/config to avoid cyclic imports <Simple 😃> <Created by zyga> <https://github.com/snapcore/snapd/pull/6267>16:21
pstolowskizyga: will do; just finishing 625116:21
zygathanks :)16:21
cachiozyga, ii  systemd                    237-3ubuntu10.10        amd64        system and service manager16:21
zygacachio: great16:21
zygathat's the new version16:21
zygaright?16:22
cachioyes16:22
cachiothanks16:22
cachioI am running the test now16:22
cachiousing the core18 snap just built16:22
cachiozyga, it is gonna take time because it needs to upload 47 MB16:22
zygalet me know if you have issues16:23
zygaI can probably build a kvm image and test locally16:23
zygapstolowski: can you explain what you meant on https://github.com/snapcore/snapd/pull/6251#discussion_r239132132 ?16:32
zygaah16:33
mupPR #6251: cmd/snap-confine: refactor calling snapd tools into helper module <Created by zyga> <https://github.com/snapcore/snapd/pull/6251>16:33
zygaI see it on the 3rd comment :)16:33
zygathanks, I'll add an explanation of SNAPD_DEBUG=x :)16:33
pstolowskizyga: sorry :)16:33
zyganothing to be sorry about :)16:33
zygathank you16:33
zygapstolowski: more errors16:38
pstolowskizyga: uhm, thanks, checking16:38
zygahttps://www.irccloud.com/pastebin/Bg0hqSL4/16:38
zygapstolowski: if you can review https://github.com/snapcore/snapd/pull/6149 before EOD it would make my day,16:39
zygamore progress on user mounts than all of last week :)16:39
mupPR #6149: cmd/snap-confine: capture initialized per-user mount ns <Per-user mount ns  🐎> <Created by zyga> <https://github.com/snapcore/snapd/pull/6149>16:39
zygajdstrand: hey16:40
zygajdstrand: not sure if you are sprinting this week, I just need a quick look at https://github.com/snapcore/snapd/pull/6244/commits/29301fca5a7a465305421e4633b9488b64942adc which I believe implements spirit of what you asked for in https://github.com/snapcore/snapd/pull/6244#discussion_r23867753216:40
mupPR #6244: release: detect too old apparmor_parser <Created by zyga> <https://github.com/snapcore/snapd/pull/6244>16:40
pstolowskiinteresting it doesn't panic locally, yet clearly its missing locking16:42
zygahuh16:42
zygathat's odd16:42
zygathat lock panic should be deterministic?16:42
zygaare you missing anything from master?16:42
pstolowskiyes, if this code was not hit then the asserts around order would fail at the end of the test16:43
pstolowskianyway, pushed a fix16:43
zygathanks16:44
zygapstolowski: https://github.com/snapcore/snapd/pull/6262 needs a 2nd review16:44
zygasmall trivial branch from jamie16:44
mupPR #6262: apparmor: allow snap-update-ns access to common devices <Simple 😃> <Created by jdstrand> <https://github.com/snapcore/snapd/pull/6262>16:44
zygaand I'd love a review on this one https://github.com/snapcore/snapd/pull/626716:45
mupPR #6267: overlord: move Conf interface to configstate/config to avoid cyclic imports <Simple 😃> <Created by zyga> <https://github.com/snapcore/snapd/pull/6267>16:45
zyga+9,-5 :)16:45
pstolowski6149 +116:45
zygawoot, thanks16:45
pstolowskireviewed it yesterday and forgot to conclude16:45
mupPR snapd#6149 closed: cmd/snap-confine: capture initialized per-user mount ns <Per-user mount ns  🐎> <Created by zyga> <Merged by stolowski> <https://github.com/snapcore/snapd/pull/6149>16:45
mupPR snapd#6262 closed: apparmor: allow snap-update-ns access to common devices <Simple 😃> <Created by jdstrand> <Merged by stolowski> <https://github.com/snapcore/snapd/pull/6262>16:46
zygawe'll  be at 39 PRs soon16:47
* cachio lunch16:54
xnoxzyga, yes.17:02
zygaxnox: great17:02
zygaxnox: cachio is confirming this, we should get the result today17:02
xnoxzyga, whoop whoop17:02
zyga:-)17:02
=== pstolowski is now known as pstolowski|afk
ackkhi, I'm hitting an issue with the python plugin. I have a dependency in the requirements.txt which is pulled from a git repo. so pip complains about finding stuff in the src/ dir, which I so far had workarounded with "rm -rf $SNAPCRAFT_STAGE/../src/*" in override-pull. This doesn't seem to work anymore when building in multipass as the srcdir is in a different location. is there a way to handle both cases?17:18
kyrofaContent interface question: can the default provider include a specific track?17:34
kyrofa(zyga I suppose that's a question for you)17:35
zygakyrofa: I don't think so, it's not as unified yet17:47
zygaI'm afk now (grocery) but I can check for sure later17:47
kyrofaThanks zyga17:47
zygakyrofa: seems sensible to say default-provider: foo=edge17:47
zygaor something like that17:47
zygawe have that syntax (new syntax) in one place and will probably grow it17:48
kyrofaOr foo/edge ;)17:48
kyrofaYeah... I know17:48
zygano, the syntax is really foo=edge17:48
zyganot foo/edge17:48
kyrofaHaha, I know17:48
zygaok :)17:48
cachiozyga, works17:57
cachio:)17:57
cachiohttps://paste.ubuntu.com/p/z4Vjz2jYYG/17:57
cachioxnox, hey, I confirm that the fix works17:58
cachioI'll add steps to reproduce the test in the lp17:58
xnoxcachio, cool, state so / comment on the bug report, including the version number of systemd that is included in your self-built core18 snap.17:59
xnoxcachio, sru team want that there.17:59
cachioxnox, good, already adding that info18:00
cachiothanks18:00
cachioxnox, please tell me if it is ok the validation steps which I added18:05
cachioxnox, now I am gonna run the whole test suite to check there are no regressions18:16
pitfdjoin /galliumos18:51
zygaThank you cachio!19:26
cachiozyga, np19:26
sergiusenszyga we do not support the Deb anymore. Maintenance mode only, do not expect new features there. I was off today and will be off tomorrow too so light weight answers is what you get 😂20:27
katamoha, so I'm feeling defeated today trying to move from the dump plugin to the proper python plugin. Error complains the executable in the bin/ directory does not exist20:52
zygasergiusens: cool, thank you for sharing that21:08
mupPR snapd#6251 closed: cmd/snap-confine: refactor calling snapd tools into helper module <Created by zyga> <Merged by zyga> <https://github.com/snapcore/snapd/pull/6251>21:09
zygajdstrand: hello21:12
zygajdstrand: I saw the feedback, thank you :)21:12
zygajdstrand: I left some ideas for discussion21:15
zygajdstrand: hey, pushed again, I think this time is it :)23:46
zygait is it :)23:46
zyganow we clarly differentiate things with 0 features from not having things23:48

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