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

mupIssue # closed: pc-amd64-gadget#20, pc-amd64-gadget#30, pc-amd64-gadget#36, pc-amd64-gadget#4103:39
mupPR pc-amd64-gadget#37 closed: Drop duplicate grub.cfg-* <Created by xnox> <https://github.com/snapcore/pc-amd64-gadget/pull/37>03:40
mupIssue # opened: pc-amd64-gadget#20, pc-amd64-gadget#30, pc-amd64-gadget#36, pc-amd64-gadget#4103:41
mupPR pc-amd64-gadget#37 opened: Drop duplicate grub.cfg-* <Created by xnox> <https://github.com/snapcore/pc-amd64-gadget/pull/37>03:41
exit70hi i found some snap packages are incorrectly marked as proprietary03:44
exit70https://snapcraft.io/sunwait03:44
exit70https://snapcraft.io/mgba03:44
=== faenil_ is now known as faenil
mupPR snapcraft#3029 closed: tests: speed up clean command unit tests <Created by sergiusens> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/3029>13:09
ijohnsoncmatsuoka: cachio_: could y'all take a look at https://github.com/snapcore/snapd/pull/8474 ?13:34
ijohnsonmaster seems to still be red13:34
mupPR #8474: tests: fix timeserver-control-test <⚠ Critical> <Created by stolowski> <https://github.com/snapcore/snapd/pull/8474>13:34
cmatsuokaijohnson: sure13:37
ijohnsonthanks13:38
cmatsuokaijohnson: done13:41
ijohnsonI will say it is nice that with github actions, it's nice that for spread runs on CI, we only end up racing with ourselves, so even if the rest of the world is having a bad day for CI, our queue is only affected by how many PR's we have open13:42
ijohnsonso on a quiet day like today, stuff runs instantly without any waiting13:43
cmatsuokaI almost locked myself out of my bank account because I was trying to use it with the ubuntu sso 2fa13:48
zygacmatsuoka, ijohnson: hey13:52
zygacan I interest you in https://github.com/snapcore/snapd/pull/848213:52
zygait fixes PRs for master13:52
mupPR #8482: tests: rewrite timeserver-control test <Created by zyga> <https://github.com/snapcore/snapd/pull/8482>13:52
cmatsuokazyga: hey zyga! checking that, thanks13:52
ijohnsonzyga: hmm, looks shiny13:52
zygaijohnson: it's surprisingly able to pass on 14.04+13:54
zygaand all systems13:54
ijohnsonthat is impressive13:55
ijohnsonI was going to just use pawel's PR to unbreak master but this does seem to be the better way to write the test13:55
ijohnsonI don't want to encourage working on Sunday nights though :-)13:55
cmatsuokaI love redef.sh13:56
zyga:D13:56
zygadid I write redef.sh?13:56
zygait was meant to be defer backwards :)13:56
cmatsuokaand the best use for tac I've seen this far13:56
cmatsuokarefed13:56
cmatsuokasorry, my dyslexia13:57
cmatsuokaI thought refed but I just typed redef automatically :D13:58
cmatsuokazyga: a good one to process in background: what could cause random processes to be killed on a single cpu vm but not when it's configured with a higher smp count?14:04
zygacmatsuoka: a linux process dies on a SMP=n vm that doesn't die otherwise?14:05
zygacmatsuoka: what is the process doing?14:05
cmatsuokasergio reported this behavior, apparently a set of processes including ssh is being killed only when n=114:06
zygahmm14:06
cmatsuokaand it happens when cpu usage hits 100%14:07
zygacmatsuoka: do we know any more, we should get a bug report with whatever kind of way to reproduce it14:07
cmatsuokacachio_: ^^, did I describe it correctly? do you have any further details?14:08
zygaplease report a bug if you can14:08
zygaI'll look14:08
zyga(I'm off today)14:08
cachiocmatsuoka, zyga I'll report a bug with the information about how we create the instance and how to run the tests so we can discuss it tomorrow14:10
zygasuper14:10
cmatsuokazyga: you're not very good at being off from what I see :)14:10
zygameanwhile I think master will not be red anymore and everyone can make some progress :)14:10
the-mentorhi zyga14:24
zygahi14:24
the-mentorany chance to get your help with something ?14:24
zygamaybe, what do you need?14:25
the-mentorzyga https://forum.snapcraft.io/t/vulkan-is-broken-on-snaps-when-using-nvidia-proprietary-drivers/1637814:25
the-mentorif you can take a look i will appreciate it14:28
zygahmmm14:29
zygathere are several things here14:30
zygathe-mentor: currently many snaps ship userspace hardware drivers14:30
zygathe-mentor: mesa and everything it pulls in14:30
zygathe-mentor: this is not scalable and we want to stop doing that at some point14:31
the-mentorzyga the snaps i'm building do not pull mesa or any userspace drivers14:31
zygathe-mentor: another thing is that userspace drivers are not just .so files, as you see here there are various data that are loaded from fixed locations14:31
zygathe-mentor: those are scattered all around the FS and are hard to support14:31
the-mentorI'm just trying to find a way to get vulkan to work14:32
zygathe-mentor: the presence of libvulkan_intel.so in your post seems to counter that14:32
zygathe-mentor: the last part is that nvidia handling is a special snowflake14:32
zygathe-mentor: it was never meant to last this long14:32
zygathe-mentor: we were supposed to replace it by now14:32
zygabut that didn't happen14:32
zyganow14:32
zygacan we do a one-off patch that addresses this specific failure somehow - perhaps14:32
zygabut that's not the replacement for the better system where we don't need to perpetually play catch-up14:33
zygathe-mentor: I cannot spare any cycles now. I know this is not what you want to hear sadly.14:33
zygathe-mentor: after 20.04 and core 20 ships14:33
zygathe-mentor: and we have a new allocation for roadmap items14:33
zygathe-mentor: we may be able to do it14:33
zygathe-mentor: unfortunately this is a huge chunk of work end-to-end14:34
the-mentorzyga I appreciate the feedback14:35
the-mentoralso i think you gave me a few pinpoints to look at14:35
zygathe-mentor: unofficially I made some snaps that provide nvidia userspace bits14:35
zygathe-mentor: but I didn't even reach vulcan testing14:35
zygathe-mentor: one thing that would be really useful14:35
zygais some kind of test payload14:36
zygaan app that you can use to verify that various bits work14:36
zyga(different versions of opengl, vulkan, etc)14:36
the-mentorzyga i think you are right about the snap shipping mesa since i have these so i'll try to remove them and see if it helps14:36
the-mentor      ## vulkan14:36
the-mentor      - libvulkan114:36
the-mentor      - mesa-vulkan-drivers14:36
zygathe-mentor: mesa, nvidia should be snaps14:37
zygathe-mentor: this would allow one to make a snap based on core1614:37
zygathe-mentor: build it once in 202014:37
zygathe-mentor: and then use it to run on future hardware in 202214:37
zygathe-mentor: without rebuilding on core18, core20 or core2214:37
the-mentorzyga make sense as a long term solution14:37
the-mentorI'm working on packaging a few wine based games and I see a lot of issues with nvidia which led me down this path14:39
zygaI appreciate you are showing us the limitations of our current system14:39
zygawe are well aware, I wish we I had the allocation to improvei t14:39
zyga*improve it14:39
the-mentorzyga i'm sure it will happen eventually14:41
the-mentori was hoping a can snap battle net :D but i guess i'll have to wait a little longer :D14:41
the-mentorsnaps are amazing and i'm really excited that they even exist14:42
zygathe-mentor: note, you could probably use a layout to put nvidia_icd.json in place14:44
zygathe-mentor: and that _might_ fix your particular case14:44
the-mentorI tried doing it but maybe i didnt do it properly14:44
zygathe-mentor: bind-file to /usr/share/vulkan/icd.d/nvidia_icd.json14:45
zygaand make sure that at runtime you see libGLX_nvidia.so.0 in $SNAP_LIBRARY_PATH (/var/lib/snapd/lib/gl/*)14:45
zygaor maybe /var/lib/snapd/lib/*14:45
zygaI forgot the details now14:45
the-mentorzyga this is what i tried based on a forum post somewhere https://pastebin.com/wXn4MuAC14:46
zygathe symlinks for libraries are not needed14:47
the-mentorcan you send me the right way if you dont mind ?14:47
zygatry with just what I said above14:47
zygajust the one item that gives you the json icd14:47
zygamake sure you can read if from snap run --shell14:47
the-mentorok i'll try it out and report back14:48
zygathat ought to give vulkan a way to know the soname to dlopen14:48
zygathen look if you can find that soname from the snap's point of view14:48
the-mentorim trying to first build the snap without mesa etc14:48
zygathe-mentor: I don't think that's useful for now14:49
zygathe-mentor: until the system is in place everyone bundles mesa14:49
the-mentori see14:49
the-mentorso just do the bind workaround ?14:49
zygayeah, put the icd file where vulkan wants to see it14:50
zygabut honestly, I don't remember the details anymore, you may need to jump through more hoops14:50
* zyga goes away14:51
zygaijohnson: it was already Monday, no? :-)15:06
ijohnsonmaybe in Australia :-)15:07
zygaI think I EODed after midnight15:08
zygaBut just slightly15:08
zygaThat test was interesting15:09
zygaijohnson: if you guys land one of the fixes subsequent master PRs should be more less green. There are few random issues still but I won’t touch more today15:12
ijohnsonzyga: sure I will land things in a bit, debugging uc20 things with cmatsuoka right now15:14
mupPR snapd#8482 closed: tests: rewrite timeserver-control test <Created by zyga> <Merged by sergiocazzolato> <https://github.com/snapcore/snapd/pull/8482>15:26
mupPR snapd#8473 closed: tests: when restoring chrony do not restart systemd-timesyncd <Test Robustness> <Created by mvo5> <Closed by sergiocazzolato> <https://github.com/snapcore/snapd/pull/8473>15:53
mupPR snapd#8474 closed: tests: fix timeserver-control-test <⚠ Critical> <Created by stolowski> <Closed by sergiocazzolato> <https://github.com/snapcore/snapd/pull/8474>15:53
mupPR snapd#8480 closed: tests: fix timeserver-control-test for 2.44 <β›” Blocked> <Created by stolowski> <Closed by sergiocazzolato> <https://github.com/snapcore/snapd/pull/8480>15:54
ijohnsonthanks cachio15:54
ijohnsoncachio: can you merge updated master into 8481?15:55
cachiosure15:59
cachioijohnson, 1 minutes15:59
mupIssue core20#37 opened: Missing mkfs.vfat, should have tests for mkfs.vfat and mkfs.ext4 existing <Created by anonymouse64> <https://github.com/snapcore/core20/issue/37>16:01
cachioijohnson, done16:02
* cachio lunch16:04
ijohnsonthanks cachio16:05
cmatsuokaijohnson: uhm, what was the command line to create a new focal image suitable for qemu-backed spread testing?16:09
ijohnsoncmatsuoka: it's in the HACKING.md16:09
ijohnsoncmatsuoka: `autopkgtest-buildvm-ubuntu-cloud -r focal`16:10
cmatsuokaah thanks, I knew I read it somewhere16:10
ijohnsonafaik it didn't change in focal16:10
mupPR snapd#8483 opened: snap-bootstrap: fix partition numbering in create-partitions <UC20> <Created by cmatsuoka> <https://github.com/snapcore/snapd/pull/8483>16:39
cmatsuokaijohnson: refactored it a bit more and created the PR above16:40
ijohnsonnice thanks16:40
ijohnsonwill take a look in a bit16:40
=== ijohnson is now known as ijohnson|lunch
=== ijohnson|lunch is now known as ijohnson
zygare18:06
zygaguys can you please make sure 2.44 passes tests?18:06
zygaa 8482 variant for 2.44 would be great18:06
zygacachio: not sure if this helps18:40
zygahttps://github.com/snapcore/snapd/pull/848418:40
zygacachio: I don't have spread 2 build18:41
mupPR #8484: tests: ignore user@12345.service hierarchy <Created by zyga> <https://github.com/snapcore/snapd/pull/8484>18:41
zygacan you check if that still fails with the test case you had please18:41
mupPR snapd#8484 opened: tests: ignore user@12345.service hierarchy <Created by zyga> <https://github.com/snapcore/snapd/pull/8484>18:41
cachiozyga, ahh, let see, but it seems to be ok18:41
cachiozyga, thanks!!18:42
zygasure, let me know if it passes please18:42
zygaI'm in the office for now, making the space tidy18:42
zygaso much dust everywhere18:42
cachiozyga, hhehe18:42
cachioI'll follow the execution18:42
mupPR snapcraft#3033 opened: build providers: do not print network test output for LXD <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/3033>18:55
mupPR snapd#8485 opened: cmd/snap/debug/boot-vars: add opts for setting dir and/or uc20 vars <Simple πŸ˜ƒ> <UC20> <Created by anonymouse64> <https://github.com/snapcore/snapd/pull/8485>20:12
mupPR snapd#8486 opened: bootloader, gadget, cmd/snap-bootstrap: misc cosmetic things <Simple πŸ˜ƒ> <Created by anonymouse64> <https://github.com/snapcore/snapd/pull/8486>20:15
mupPR snapd#8487 opened: [RFC] gadget, cmd/snap-bootstrap: hack some things into place to get rpi4 semi-working <UC20> <Created by anonymouse64> <https://github.com/snapcore/snapd/pull/8487>20:21
mupPR snapcraft#3030 closed: repo: drop _AptCache and add migrate to install_stage_packages() <Created by cjp256> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/3030>20:58
mupPR snapcraft#3033 closed: build providers: do not print network test output for LXD <Created by sergiusens> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/3033>20:58
mupPR snapcraft#3034 opened: repo: add initialize_snapcraft_defaults() to set default source lists <Created by cjp256> <https://github.com/snapcore/snapcraft/pull/3034>21:37
mupPR snapd#8486 closed: bootloader, gadget, cmd/snap-bootstrap: misc cosmetic things <Simple πŸ˜ƒ> <Created by anonymouse64> <Merged by cmatsuoka> <https://github.com/snapcore/snapd/pull/8486>22:00
mupPR snapd#8488 opened: bootloader: add efi pkg for reading efi variables <UC20> <Created by anonymouse64> <https://github.com/snapcore/snapd/pull/8488>22:54
mupPR snapcraft#3032 closed: plugins: introduce v2.MakePlugin with rebuilding <Created by sergiusens> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/3032>23:22

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