IRC logs for #buildstream for Monday, 2020-04-06

*** tristan has quit IRC01:16
*** tristan has joined #buildstream07:22
*** ChanServ sets mode: +o tristan07:27
*** benschubert has joined #buildstream07:31
*** phildawson has joined #buildstream07:53
*** rdale has joined #buildstream08:00
juergbitristan: !1845 makes build-uid/gid optional to replace the inconsistent 'tainted artifact' approach to support sandboxes that don't allow custom uid/gid, in case you want to review08:15
gitlab-br-botMR !1845: Improve sandbox configuration handling https://gitlab.com/BuildStream/buildstream/-/merge_requests/184508:15
*** santi has joined #buildstream08:16
*** tpollard has joined #buildstream08:24
*** phoenix has joined #buildstream08:43
*** lachlan has joined #buildstream08:53
*** phoenix has quit IRC08:57
tristanjuergbi, ok... I am in the middle of a huge proposal email :-S09:08
* tristan will try to reduce :(09:08
*** tristan has quit IRC09:22
*** lachlan has quit IRC09:28
*** tristan has joined #buildstream09:35
*** ChanServ sets mode: +o tristan09:36
* tristan curses starbucks wifi... people sneak in some kind of ugly which blocks you from essentials, like IRC09:36
*** lachlan has joined #buildstream09:39
juergbiI'd suggest using an SSH proxy or VPN09:40
*** mohan43u has quit IRC09:53
*** mohan43u has joined #buildstream10:04
tristanHmmm yeah maybe I can switch on my VPN10:36
*** tristan has quit IRC10:36
*** tristan has joined #buildstream10:53
*** tristan_ has joined #buildstream10:54
*** ChanServ sets mode: +o tristan_10:54
* tristan_ will try to figure out how to connect to the vpn later...10:55
tristan_old creds don't work anymore :-S10:55
*** lachlan has quit IRC11:03
douglaswinshipI just found some weird behaviour with the overlap-whitelist. I was trying to put "/etc/issue.net" in to the overlap whitelist for an element, and I was still getting an overlap warning, even though I'd white-listed it. Eventually found out that the leading slash was the problem.11:12
douglaswinship"- etc/issue.net"  <-- works11:12
douglaswinship"- /etc/issue.net" <-- doesn't work.11:12
douglaswinshipis that expected behaviour?11:12
douglaswinshipit's unfortunate, imho, because it means I can't really use the project variables like %{sysconfdir} and %{datadir}. They generally start with slashes.11:13
coldtomdouglaswinship this is fixed in 1.4.2 thanks to abderrahim[m]11:15
coldtomhttps://gitlab.com/BuildStream/buildstream/-/merge_requests/184111:15
douglaswinshipaha! good to hear.11:15
douglaswinshipexcellent work abderrahim[m]11:16
abderrahim[m];)11:17
*** lachlan has joined #buildstream11:17
*** lachlan has quit IRC11:23
juergbiabderrahim[m]: do you have time to get !1837 over the line? it would be good to get that in as it also blocks !1843 (for regression test)11:26
gitlab-br-botMR !1837: _artifact.py: don't consider an artifact cached if public data is missing https://gitlab.com/BuildStream/buildstream/-/merge_requests/183711:26
gitlab-br-botMR !1843: Fix handling of missing blobs in `ArtifactCache.pull()` https://gitlab.com/BuildStream/buildstream/-/merge_requests/184311:26
*** lachlan has joined #buildstream11:27
abderrahim[m]I'll try to do it today11:27
juergbigreat, thanks11:31
*** lachlan has quit IRC11:41
*** lachlan has joined #buildstream11:56
*** lachlan has quit IRC11:59
* tristan_ takes a look at https://gitlab.com/BuildStream/buildstream/-/merge_requests/184512:01
tristan_juergbi, cphang... I'd really like to get an implementation going to actually solve the junctioning issue we discussed sunday (actually I was itching to start banging out code on sunday)12:03
tristan_But apparently it needs more discussion to get on the same page, maybe you can provide different insights and help me to see the problem differently12:04
tristan_Anyway I have a proposal on the list, call it a strawman or not a strawman, I think it's a plausible proposal still12:04
tristan_I'm mostly keen on the scenario where "Projects are maintained by different organizations" and "Products generally junction in various stacks of software from different providers, but need to CI these regularly, and the UX for this should be top notch"12:06
tristan_Anyway when you get the chance to look at the proposal, I'd recommend glancing over the implementation, and consider reading the PS12:07
juergbitristan_: regarding junction name-based coalescing, I would not be happy with project name-based coalescing either (even ignoring the loader issue)12:08
juergbithere are some use cases where you may actually want to have the same project twice in the build graph12:08
tristan_juergbi, project name would be a start, from there one could build out something explicit for same-project-twice12:09
juergbiproject name would actually be worse than junction name for these use cases12:09
tristan_With the coalesce on element name, it just seems to be very confusing12:09
juergbias with junction name you can actually include the same project twice12:10
juergbi(by using a different junction name)12:10
tristan_Yes yes, you clearly cannot do something you could do before12:10
juergbii.e., I don't think we should go there without having at least a clear plan how to handle those cases12:10
tristan_That I get - but the project name is unique, and telling people to name their elements a certain way is really weird12:11
tristan_Right12:11
juergbias I mentioned, it's not like I'm really happy with the implicit junction name-based coalescing either12:11
tristan_juergbi, The main reason I raised this is because I think it is orthogonal to the issue at hand12:11
tristan_I mean, if we go there, I think the project name is the *right* thing to use to identify a project12:11
tristan_And if one wants to explicitly have two of them, that should probably be a feature12:12
tristan_Well, it could be done different ways, but for the regular case, the project name is safest, you cannot accidentally do the wrong thing12:12
tristan_FWIW, I was unable to find a git submodules feature which allows you to override the sha1 of a sub-submodule without forking the direct submodule (and I'm quite unattracted to this approach, as outlined in the PS)12:15
tristan_But, again, maybe there is something I'm not seeing, and maybe I should be seeing things differently, I'm just not convinced now12:15
juergbicoalescing: it could be orthogonal but I think it's not so clear cut. imo, it does make sense to keep both aspects in mind12:20
juergbitristan_: git submodules: I meant the buildstream git config for submodules12:20
*** tristan_ has quit IRC12:20
*** tristan has joined #buildstream12:30
*** cs-shadow has joined #buildstream12:34
*** tristan has quit IRC13:12
*** lachlan has joined #buildstream13:23
*** lachlan has quit IRC13:42
*** lachlan has joined #buildstream13:47
WSalmonif you have --no-strict on then bst will let you update a dep to a newer version without triggering a rebuild, but if you dont already have a element that can match the weak key will it ever go and get a artifact from a remote server based on a weak key?13:51
WSalmon* a rebuild of all intermediate dependencies13:52
abderrahim[m]WSalmon: yes13:52
abderrahim[m]that's the point of the weak keys13:53
WSalmonbenschubert, juergbi ^13:53
juergbiWSalmon: yes to the first question but I'm not quite sure what you mean with the second message/correction13:57
WSalmoni get this for local work as the you probaly just built something similar so matching agents time is fair, but how dose the server decide which version to match the week key agenst?13:58
juergbiWSalmon: it simply gets the latest artifact that matches the weak key14:00
juergbibut only if a perfect match (strict key) is not available14:00
juergbii.e., every artifact push will replace any potential previous artifacts on the server with the same weak key14:01
WSalmonso some one could have just pushed a experemintal build with a major version bump but the same weak key and it will go and blindly get that as its the latest thing pushed, wow, i though we didnt have weak pulling for this reason, sorry abderrahim[m] i had got it in my head that we didnt do this, clearly i was wrong14:03
*** lachlan has quit IRC14:04
*** tristan has joined #buildstream14:04
abderrahim[m]the "experimental" build would then cause a build failure later on, and we would have to trigger a strict build to fix it14:05
abderrahim[m]we've been using non-strict build for about a year now in gnome-build-meta, and we know the advantages and pitfalls ;)14:05
juergbiWSalmon: the weak key still only matches the exact same source/version14:08
juergbiit allows major changes / version bumps in build dependencies but yes, that's the clear pitfall14:09
valentindjuergbi, I updated the docker image with your branch for the BlobNotFound. But now I get FileNotFoundError.14:22
valentindhttps://gitlab.com/freedesktop-sdk/freedesktop-sdk/-/jobs/50029990314:22
valentind(It is not the branch exactly, but the branch rebased on the last tag in master)14:24
juergbivalentind: haven't seen that before. my initial thought would be casd expiring files that are part of the running bst session, but it shouldn't do that14:27
abderrahim[m]juergbi: !1837 should be ready now14:30
gitlab-br-botMR !1837: _artifact.py: don't consider an artifact cached if public data is missing https://gitlab.com/BuildStream/buildstream/-/merge_requests/183714:30
abderrahim[m]valentind: can you try adding this fix too ^14:30
juergbivalentind: btw: I don't consider snapshots more stable than master. I would generally not backport. that said, I can't think of a recent change that would make a difference here14:31
* abderrahim[m] should rewrite the description14:31
juergbiabderrahim[m]: thanks, will take a look14:31
juergbivalentind: have you already updated buildbox casd to 0.0.7?14:31
valentindjuergbi, No, I was on 0.0.6.14:32
valentindabderrahim[m], I think I already have those patches in the docker image.14:34
valentindAh no, maybe not one of them.,14:34
valentindRight I am missing 1ede315ca55a3b0d7bc2cdaf15d94b2143f15a34. ANd I can update buildbox14:35
abderrahim[m]valentind: I think that's it. Someone (maybe bschubert) mentioned seeing the logs being expired too early and leading to a push error14:37
*** BeatriceFer has joined #buildstream14:37
abderrahim[m]or maybe that's not enough, and we need to also check for logs in `cached()` too?14:40
*** BeatriceFer has quit IRC14:41
*** lachlan has joined #buildstream14:50
valentindabderrahim[m], Maybe you can verify I have all the needed patches: https://gitlab.com/freedesktop-sdk/infrastructure/freedesktop-sdk-docker-images/-/merge_requests/9714:51
valentindAnd then approve.14:51
*** lachlan has quit IRC14:56
*** lachlan has joined #buildstream15:14
juergbiabderrahim[m]: passes the test case in my branch. I've commented with a slight tweak15:17
juergbiwith that the code changes look fine to me. however, we should run our benchmark, as mentioned earlier15:17
juergbican you do this or shall I?15:18
abderrahim[m]juergbi: btw, there is one more thing: it seems bst will push logs unconditionally, but doesn't check that logs are cached as part of the artifact (there is a separate `cached_logs` function, but it isn't called outside of  `bst artifact log` AFAICT). Could you please take a look?15:19
juergbigood point, at least for now I'd suggest that we simply push logs only if they exist locally15:21
juergbihm, but also artifact pulling requires logs right now15:21
juergbiwe either have to make them optional there as well or always check for logs15:22
juergbithe latter is another potential performance issue, though15:22
abderrahim[m]juergbi: pushed the suggested fix, for the benchmark please do15:23
juergbiok15:23
*** lachlan has quit IRC15:25
*** lachlan has joined #buildstream15:53
*** lachlan has quit IRC15:53
*** lachlan has joined #buildstream15:54
*** lachlan has quit IRC15:58
*** phoenix has joined #buildstream16:01
*** lachlan has joined #buildstream16:11
*** lachlan has quit IRC16:23
*** tristan_ has joined #buildstream16:25
*** lachlan has joined #buildstream16:32
*** lachlan has quit IRC16:47
*** lachlan has joined #buildstream16:49
*** tpollard has quit IRC17:01
*** lachlan has quit IRC17:03
*** santi has quit IRC17:19
*** santi has joined #buildstream17:20
*** lachlan has joined #buildstream17:23
*** santix has joined #buildstream17:36
*** santi has quit IRC17:36
*** santix has quit IRC17:37
*** lachlan has quit IRC17:49
*** lachlan has joined #buildstream17:58
*** lachlan has quit IRC18:04
*** lachlan has joined #buildstream18:08
*** lachlan has quit IRC18:14
*** cs-shadow has quit IRC20:33
*** rdale has quit IRC21:17
*** benschubert has quit IRC21:24
*** phoenix has quit IRC23:03

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