IRC logs for #buildstream for Monday, 2022-12-12

*** tristan <tristan!tristan@223.62.219.133> has joined #buildstream01:39
*** ChanServ sets mode: +o tristan01:39
*** tristan <tristan!tristan@223.62.219.133> has quit IRC01:54
*** tristan <tristan!tristan@223.62.219.133> has joined #buildstream01:54
*** ChanServ sets mode: +o tristan01:54
*** tristan <tristan!tristan@223.62.219.133> has quit IRC02:47
*** tristan <tristan!tristan@223.62.219.216> has joined #buildstream03:10
*** ChanServ sets mode: +o tristan03:10
*** tristan <tristan!tristan@223.62.219.216> has quit IRC03:19
*** tristan <tristan!tristan@223.62.219.216> has joined #buildstream03:24
*** ChanServ sets mode: +o tristan03:24
*** tristan <tristan!tristan@223.62.219.216> has quit IRC03:30
*** tristan <tristan!tristan@223.62.219.216> has joined #buildstream05:36
*** ChanServ sets mode: +o tristan05:36
juergbinanonyme: FUSE capture optimization requires FUSE xattr to work but that's supported in the kernel for many years, as far as I know. I'm not aware of it being possible to be disabled. except via a seccomp filter but that would be very odd07:11
*** tristan <tristan!tristan@223.62.219.216> has quit IRC08:08
nanonymeNot really my area of expertise08:25
*** tristan <tristan!tristan@223.62.203.218> has joined #buildstream09:41
*** ChanServ sets mode: +o tristan09:41
*** tristan <tristan!tristan@223.62.203.218> has quit IRC10:07
*** tpollard <tpollard!tompollard@167.98.27.226> has joined #buildstream10:14
*** CTtpollard <CTtpollard!tompollard@167.98.27.226> has joined #buildstream10:29
*** tpollard <tpollard!tompollard@167.98.27.226> has quit IRC10:30
*** CTtpollard <CTtpollard!tompollard@167.98.27.226> has quit IRC10:37
*** CTtpollard <CTtpollard!tompollard@167.98.27.226> has joined #buildstream10:37
*** CTtpollard <CTtpollard!tompollard@167.98.27.226> has quit IRC10:57
*** tristan <tristan!tristan@223.62.172.42> has joined #buildstream12:55
*** ChanServ sets mode: +o tristan12:55
*** tristan <tristan!tristan@223.62.172.42> has quit IRC13:37
*** tristan <tristan!tristan@223.62.172.42> has joined #buildstream13:37
*** ChanServ sets mode: +o tristan13:38
*** tristan <tristan!tristan@223.62.172.42> has quit IRC16:33
*** tristan <tristan!tristan@223.62.172.42> has joined #buildstream16:34
*** ChanServ sets mode: +o tristan16:34
*** tristan <tristan!tristan@223.62.172.42> has quit IRC17:06
nanonymejuergbi: could I somehow with a simple command validate if FUSE xattr doesn't work? Would implication of it be that files would be missing sha256 xattr in sandbox?19:11
nanonymeWould it silently fallback to hardlinks if fuse was not available at all?19:16
juergbinanonyme: checking the sha256 xattr in the sandbox (for a staged, unmodified file) would be sensible for validation, yes19:20
juergbiif FUSE isn't available, it would fallback to full file copies (hardlinks are only used if casd runs as a different user)19:21
nanonymejuergbi: was there some simple command line I can run or do I need to write some Python command?19:45
juergbinanonyme: getfattr --name=user.checksum.sha256 FILE19:46
juergbiif getfattr is available19:46
juergbiit's part of the attr package19:46
nanonymeLooks like attr.bst should be in bootstrap-import.bst19:46
nanonymeSo it should be enough to bst shell bootstrap-import.bst -- getfattr --name=user.checksum.sha256 /usr/bin/bash19:48
nanonymejuergbi: right, I get user.checksum.sha256="961064b5726d4bc1692f1c61ad1a3ebb44f3d8e4151f3443175b6714fc543156" so that's sufficient proof that the problem is not missing xattr19:50
nanonymeI am next trying to disable storage service to see if it does anything20:01
nanonymeIt should not since all the artifacts are already local at this point20:01
nanonymeBut who knows20:03
nanonymejuergbi: to be honest, we don't actually need storage service. It would be more useful to have something like `bst build --cached` that would not pull cached things unless they are build dependencies20:06
nanonymeOr rather, that would fulfill the requirements we are currently fulfilling with a storage service20:08
nanonymedoras: FYI looks like your hunch may have been correct20:27
nanonymeOr is this a red herring. aarch64 flatpak repo was now 3 min 34 seconds. But I don't yet have number on x86_64 although it seems considerable slower than aarch64 (which is probably expected)20:32
nanonymeOr maybe aarch64 was faster all along?20:52
nanonymeWe need to test! :D20:52
nanonymeYeah, okay, I'm pretty sure it does absolutely nothing for x86_64 flatpak_repo performance21:30
nanonymeMmm, looks like there's nested batching happening with flatpak_repo21:57
nanonymeThis is entirely not what script itself dodes22:03
nanonymeDoes even22:03
nanonymeEven more curious is why aarch64 was fast once but it no longer reproduces!22:34
nanonymejuergbi: when we set root read-only, does it affect only root or also the laid out flatpak images?22:46

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!