IRC logs for #buildstream for Thursday, 2018-08-30

gitlab-br-botbuildstream: merge request (chandan/pypi-badge->master: WIP: README.rst: Add status badges for PyPI release and Python versions) #719 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/71900:31
*** tristan has joined #buildstream04:36
*** ChanServ sets mode: +o tristan04:37
gitlab-br-botbuildstream: merge request (tristan/reduce-filter-tests->master: tests/plugins/filter.py: Don't run redundant tests) #753 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/75306:04
gitlab-br-botbuildstream: merge request (tristan/reduce-filter-tests-1.2->bst-1.2: tests/plugins/filter.py: Don't run redundant tests) #754 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/75406:06
*** leopi has joined #buildstream06:21
gitlab-br-botbuildstream: merge request (tristan/reduce-filter-tests-1.2->bst-1.2: tests/plugins/filter.py: Don't run redundant tests) #754 changed state ("merged"): https://gitlab.com/BuildStream/buildstream/merge_requests/75406:34
gitlab-br-botbuildstream: merge request (tristan/reduce-filter-tests->master: tests/plugins/filter.py: Don't run redundant tests) #753 changed state ("merged"): https://gitlab.com/BuildStream/buildstream/merge_requests/75306:36
gitlab-br-botbuildstream: merge request (tristan/538-reenable-ostree-test->master: tests/frontend/mirror.py: Reenable test_mirror_fetch_upstream_absent[ostree]) #755 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/75506:39
gitlab-br-botbuildstream: merge request (tristan/538-reenable-ostree-test-1.2->bst-1.2: tests/frontend/mirror.py: Reenable test_mirror_fetch_upstream_absent[ostree]) #756 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/75606:41
*** alatiera_ has joined #buildstream06:42
gitlab-br-botbuildstream: merge request (tristan/538-reenable-ostree-test->master: tests/frontend/mirror.py: Reenable test_mirror_fetch_upstream_absent[ostree]) #755 changed state ("merged"): https://gitlab.com/BuildStream/buildstream/merge_requests/75507:06
gitlab-br-botbuildstream: merge request (tristan/538-reenable-ostree-test-1.2->bst-1.2: tests/frontend/mirror.py: Reenable test_mirror_fetch_upstream_absent[ostree]) #756 changed state ("merged"): https://gitlab.com/BuildStream/buildstream/merge_requests/75607:07
*** tristan has quit IRC07:10
valentindbochecha, that was jonathanmaw who made those fixes.08:02
*** tristan has joined #buildstream08:05
gitlab-br-botbuildstream: merge request (Qinusty/cyclic-variable-backport->bst-1.2: Backport cyclic variable fix) #757 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/75708:06
*** ChanServ sets mode: +o tristan08:09
*** toscalix has joined #buildstream08:11
*** toscalix has quit IRC08:13
*** toscalix has joined #buildstream08:15
*** rdale has joined #buildstream08:23
coldtomDoes buildstream remember the url pulled artifacts came from?08:26
valentindI do not think so.08:26
coldtomI'm trying to test if freedesktop is reproducible, but it just re-pulls from the cache rather than rebuilding locally, despite me removing the cache from project.conf08:26
valentindHave you configured it in .config/buildstream.conf?08:27
coldtomi can't find the location of my buildstream.conf, so i assume it's still the default08:29
qinustyIt'll say in the cli output?08:30
qinustyPulling <element> <- <URL>08:31
coldtomqinusty: it's pulling from the freedesktop cache, but it's not configured in my project.conf08:31
qinustyerrrrrrrrrrrrrrrrrrrrrrm08:31
coldtomso i pulled to get a cache08:31
coldtomremoved the `artifacts: ` from project.conf08:31
coldtomattempt to rebuild, but it still pulls08:31
qinustyso project.conf doesn't reference the cache either?08:31
coldtomit does not08:32
tpollardI think I've seen that behaviour before08:32
gitlab-br-botbuildstream: merge request (Qinusty/cyclic-variable-backport->bst-1.2: Backport cyclic variable fix) #757 changed state ("merged"): https://gitlab.com/BuildStream/buildstream/merge_requests/75708:33
gitlab-br-botbuildstream: issue #600 ("Devours memory and stack traces when recursive variables defined") changed state ("closed") https://gitlab.com/BuildStream/buildstream/issues/60008:33
qinustyhmmm08:33
*** tiagogomes_ has joined #buildstream08:35
gitlab-br-botbuildstream: issue #616 ("timed activities sometimes balanced with WARNING in place of FAILURE, when task retries are enabled") changed state ("opened") https://gitlab.com/BuildStream/buildstream/issues/61608:36
*** tiagogomes__ has joined #buildstream08:36
gitlab-br-botbuildstream: merge request (tristan/source-mirroring-changes->master: Minor code changes revolving around source mirroring) #758 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/75808:46
gitlab-br-botbuildstream: merge request (valentindavid/post_tracking_errors->master: Report processing errors from tracking) #747 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/74708:46
qinustySo coldtom, your local cache is full so that when you pull from a remote during a build, it isn't locally cached?08:46
coldtomqinusty: my cache is populated, but not full (i think i'm still configured to have infinite cache space)08:48
coldtomif a cache key has changed it'll still cache it locally08:49
qinustySo your script changes the cache key before the build?08:49
coldtomnope, it keeps the cache key but manually removes the ref and object from the cache08:49
*** awacheux[m] has quit IRC08:49
*** pro[m] has quit IRC08:50
*** abderrahim[m] has quit IRC08:50
*** cgmcintyre[m] has quit IRC08:50
*** oknf[m] has quit IRC08:50
*** alatiera has quit IRC08:50
*** theawless[m] has quit IRC08:50
*** jjardon[m] has quit IRC08:50
*** connorshea[m] has quit IRC08:50
*** Demos[m] has quit IRC08:50
*** dineshdb[m] has quit IRC08:50
*** segfault3[m] has quit IRC08:50
*** asingh_[m] has quit IRC08:50
*** doras[m] has quit IRC08:50
*** kailueke[m] has quit IRC08:50
*** rafaelff[m] has quit IRC08:50
*** inigomartinez has quit IRC08:50
*** ssssam[m] has quit IRC08:50
*** albfan[m] has quit IRC08:50
*** m_22[m] has quit IRC08:50
*** waltervargas[m] has quit IRC08:50
*** tlater[m] has quit IRC08:50
*** mattiasb has quit IRC08:50
*** krichter[m] has quit IRC08:50
gitlab-br-botbuildstream: merge request (valentindavid/post_tracking_errors->master: Report processing errors from tracking) #747 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/74708:50
*** m_22[m] has joined #buildstream08:50
coldtombuildstream knows it isn't cached locally, as the bst show bit before a build has "fetch needed"08:52
gitlab-br-botbuildstream: merge request (tristan/source-mirroring-changes-1.2->bst-1.2: Minor code changes revolving around source mirroring) #759 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/75908:54
tristancoldtom, it's impossible to disable currently, short of workspacing the freedesktop-sdk-junction.bst and disabling *it's* cache server there08:57
tristannice pipeline qinusty https://gitlab.com/BuildStream/buildstream/pipelines/29021229, only 20 min !09:09
qinustyindeed! So much better :D09:10
tristanqinusty, since you were talking about UI docs... I think that describing the message types as I did today here https://gitlab.com/BuildStream/buildstream/issues/616, would be prime docs material09:10
tristanwhat do you think ?09:10
* qinusty takes a look09:11
qinustyFu nfact09:11
qinustyfun fact, this confused me for a while when looking into the whole retry behaviour09:12
gitlab-br-botbuildstream: merge request (tristan/source-mirroring-changes->master: Minor code changes revolving around source mirroring) #758 changed state ("merged"): https://gitlab.com/BuildStream/buildstream/merge_requests/75809:12
qinustyIt is indeed raised as a FAIL. But converted to WARNING during retries https://gitlab.com/BuildStream/buildstream/blob/master/buildstream/_scheduler/jobs/job.py#L404 https://gitlab.com/BuildStream/buildstream/blob/master/buildstream/_scheduler/jobs/job.py#L51209:13
tristanyeah I bumped into that today while looking into https://gitlab.com/BuildStream/buildstream/issues/612#note_9781339209:14
tristanand noticed that when a source mirror fails and it rolls over to the next one, it said WARNING (wtf??)09:14
tristanqinusty, I find it interesting that you added SKIPPED in _messages.py to the task related things, but then implemented it in cascache.py as just sending a message manually09:15
tristanI agree with the former, not the latter09:15
tristanAnd I think we have a follow up issue for it I filed yesterday ?09:16
qinustyYeah I noticed after the merge during some other work that I had placed the MessageType.SKIPPED value below the timed activity messages09:16
qinustyIt was unintentional and the intent of the implementation was a special kind of info message to be clearer.09:17
tristanI think basically, CasCache should be printing an INFO message based on whether it did or did not find an artifact, and in the case that all artifact servers did *not* find the artifact, it should then just `raise Skip("No artifact found")`09:17
gitlab-br-botbuildstream: merge request (tristan/source-mirroring-changes-1.2->bst-1.2: Minor code changes revolving around source mirroring) #759 changed state ("merged"): https://gitlab.com/BuildStream/buildstream/merge_requests/75909:17
qinustyThe problem there is, the logic for pushing to remotes currently pushes to all remotes on one job09:18
tristanqinusty, because SKIPPED has already a very specific meaning, which is the bookkeeping in the job queues, IMO a timed activity by itself cannot be SKIPPED, only the complete task can be SKIPPED, and it will be in the summary and status bar09:18
qinustyagreed, but I haven't thought about this too much regarding how to implement this nicely09:19
tristanThen, we just handle the `Skip()` exception in job.py, and in *that case only*, we print a SKIPPED message instead of SUCCESS/FAIL, and place the element in the skipped list09:19
tristanWe can also take the custom exception text from the Skip exception, and use it as `detail` in the SKIPPED message which closes the START09:19
tristani.e. a START message is *always* terminated by either SUCCESS/FAILURE or SKIPPED09:20
qinustySo when is a task SKIPPED09:20
qinustyin terms of at the bottom09:20
qinustyAs far as I can tell, they never happen09:21
tristanWhat do you mean ?09:21
qinustyIf START happens, it isn't skipped09:21
tristanqinusty, that's what I'm saying, currently a START message is terminated by SUCCESS or FAILURE only (and I consider it a bug that it can be terminated with WARNING)09:22
qinustyWhen I run `bst build .....` and I see `Fetch Queue: processed 0, skipped 3, failed 0`09:22
tristanYes09:22
qinustyThose skipped jobs, never happen. They're never `START`ed. So there's never a case for the SKIPPED message there09:22
qinustyUnless we want to start and skip them09:23
tristanThose skippings of tasks never have messages09:23
qinustyto be more clear to the user09:23
tristanand they never have START either09:23
tristanqinusty, basically, your introducing a SKIPPED messages, acknowledges the fact that a task can plausibly be skipped in mid processing09:24
tristanIf the Queue could not determine before hand that it could be skipped09:24
qinustyYes, but not necessarily the whole task... See cascache.py where individual remotes are skipped but they are all one job09:24
*** jonathanmaw has joined #buildstream09:25
tristanqinusty, if a pull task has not pulled anything at all, is it processed, skipped or failed ?09:25
tristanI mean, in the abstract, what *should* it be09:25
qinustyI'd say skipped09:25
tristanqinusty, if we agree that it should still be considered *processed*, then I would insist we remove the SKIPPED messages entirely, and only report these things through INFO messages09:26
qinustyI see your point now. You're saying that we shouldn't inform the user of a remote being skipped. But end the task with SKIPPED if all remotes were skipped09:26
qinustyor both09:26
qinustyyes09:26
tristanRight, and timed activities can *ONLY* end with SUCCESS/FAILURE/SKIPPED, while other messages can *NEVER* print START/SUCCESS/FAULIRE/SKIPPED09:27
tristanthat disambiguation is paramount to me09:27
qinustySorry when I say both09:27
qinustyI mean INFO <REMOTE> has been skipped09:28
tristanright09:28
qinustyended with SKIPPED Push09:28
qinustyetc09:28
tristanAnd that needs to be an exception basically09:28
qinustyI agree, I see what you mean now09:28
tristanbecause if it's skipped, it needs to be bookkept as skipped09:28
tristanright09:28
qinustyI do think perhaps it'd be nice to have the tasks skipped in the initial queue logged though09:29
qinustyit's a bit confusing when you see skipped <n> and you're like.... whaaaat09:29
tristanThat would be extremely verbose for no benefit, though09:30
tristanI mean, over verbosity factor certainly outweighs that, IMO09:30
tristanjonathanmaw, please help me with https://gitlab.com/BuildStream/buildstream/issues/612#note_9772197709:32
tristanjonathanmaw, I need a solve before friday09:32
tristanjonathanmaw, I've been tinkering and investigating this, and have an idea with the following comment09:33
tristanqinusty, I do see your meaning though; it would be nice if every queue status count had a matching message, although it's already a big step up if at least every START terminator is represented by a queue's element status09:38
tiagogomes_tristan why can't max-jobs be set? freedesktop-sdk is setting this variable09:38
*** tiagogomes__ has quit IRC09:39
tristantiagogomes_, that is illegal09:39
tristantiagogomes_, what are they setting it to, 1 ?09:39
tiagogomes_1 or 209:39
tristantiagogomes_, it's a mistake that we let it happen, it's what notparallel is for09:40
valentindtiagogomes_, where did you see that?09:40
valentindAh. on some elements?09:40
tiagogomes_elements/desktop/llvm6.bst:        max-jobs: 209:40
tiagogomes_elements/desktop/shared-mime-info.bst:  max-jobs: 109:40
tristanif they set it to 2, they are working around a resource issue in a nasty way that we should not be allowing; it was never supposed to be settable09:40
valentindllvm6.bst is because of the memory usage.09:40
tristanright, see that is a nasty workaround09:41
valentindThere is no alternative.09:41
tristanthat should just be notparallel, and accept it being a bit slower09:41
tristanvalentind, ^^^^09:41
tristannotparallel is what we have exposed for this purpose09:41
valentindNo llvm is also very big.09:41
tristanvalentind, resource balancing is a much more tricky thing09:41
valentindSo making it bit slower... that makes actually the whole thing a lot slower.09:42
tristanvalentind, llvm compiles in like 24 minutes on my laptop09:42
tristanYes09:42
tristanvalentind, I really don't care: that is an unsolved problem09:42
valentindYes I agree. It is unsolved.09:42
tristanwhat resources are available on your build machine, is *NOT* project data09:42
valentindBut setting it to notparallel is not solving it either.09:42
tristanvalentind, yes it is09:42
tristanvalentind, it builds, it doesnt fail09:43
tristanI mean, that is your workaround09:43
tristanmax-jobs should be illegal09:43
tristanthe only reason it's there, is to put it in environment-nocache, to allow the automated number to get picked up09:43
* paulsher1ood wonders why tristan thinks max-jobs should be illegal, but patch files aren't :-)09:44
tristanpaulsher1ood, I wonder why apples are red or green, but oceans are wet09:44
paulsher1oodheh09:44
paulsher1oodwhy should max-jobs be illegal, given "we don't dictate terms"09:45
paulsher1ood(you said yesterday)09:45
tristanpaulsher1ood, max-job is an API detail, it's not meant to be written, only read09:46
tristanIf you set max-jobs to 5, or 4, or 1, it will *not* effect the cache key of your element, assuming that you are using standard plugins09:46
tristanthat is exactly what notparallel is for09:47
tristanthe number of jobs is either forced to 1 (by notparallel), or it is a number that is not controlled by project data09:47
paulsher1oodhmmm. so no way for user to specify number of jobs?09:48
valentindYes, but in this case we do not care about the cache key. There are things that build incorrect in parallel. But this is not the case. LLVM builds correctly in parallel. It might fail. But not build incorrectly.09:48
tristanExactly, the user may only specify that the sources cannot handle parallelism, or not09:48
paulsher1oodtristan: are you sure that bst will make the right decision about njobs in all cases?09:49
paulsher1oodi understand the parallel vs notparallel point09:49
tristanpaulsher1ood, No, but tying this to project configuration data is not the answer09:49
tristanYour project does not dictate whether it will be built on a small or big machine09:49
paulsher1oodok, so how is njobs actually decided?09:50
tristanI.e., that is an unsolved problem, but abusing the API is not the answer09:50
valentindIt is going to be abused until solved.09:51
tristanpaulsher1ood, currently with an automated guess of cpu_count(), recently you commented on the issue where jjardon made it behave more like YBD09:51
tristanvalentind, No, it will be abused until we issue an error at startup because someone abused the API09:51
tristanvalentind, then it will will be lived with, and a better solution will have to be found09:52
tristanThis wont be the first time, last time it was using "../outside/path" to refer to stuff that is considered project data09:53
tristanWe had to correct that09:53
valentindWe still use local plugin for the bootstrap phase. We just moved it within the project.09:54
valentindI do not mind, if you force use not to use max-jobs. But we will call ninja with 2 job queues for llvm.09:55
tristanvalentind, this is the issue to track and work on: https://gitlab.com/BuildStream/buildstream/issues/18509:55
tristanvalentind, That is an acceptable hack, better than overwriting an automatic variable; that should result in an error09:56
tristanStill it's an unsolved problem, but having a well defined / strict API is important09:57
valentindYes. For sure, this isIt is unsolved.09:57
valentindHow is max-job going to be calculated?10:00
tristanvalentind, the way it is currently calculated10:00
tristan_project.py: output.base_variables['max-jobs'] = str(min(len(os.sched_getaffinity(0)), 8))10:00
valentindOK.10:01
valentindI think on our 96 core machines, this is a problem.10:01
tristanvalentind, note min()10:02
valentindAh ok10:02
tristanvalentind, there is a related comment around there too10:02
valentindWas it always like that?10:02
tristanNo it wasnt10:02
valentindAh. MAybe we can test without max-jobs then.10:02
tristanjjardon, recently improved it (see backlog, we are just discussing that)10:02
valentindjjardon, do you remember the issue with llvm? Was it a problem because of the number of cores on the builders?10:03
tristanvalentind, that's a good idea to test that... it will *still* be an unsolved problem, because it can still happen10:03
tristanof course, max-jobs calculation has to change with remote execution10:03
* tristan looks at juergbi and jmac_ 10:03
qinustytristan, can you think of any other urgent issues which need addressing prior to release? I was looking into https://gitlab.com/BuildStream/buildstream/issues/609 but can't really continue without reproducing this...10:04
tristanand winks10:04
valentindMaybe a better hack (but still a hack) is on the element to query for how much memory the machine has and use an heuristics to lower down the number if needed.10:04
tristanqinusty, my top priority right now is to discuss 612 with jonathanmaw10:04
tristanvalentind, I dont know, it could be indeed doable because an element has knowledge of the shape of it's resource consumption, while BuildStream does not10:05
tristanvalentind, on the other hand, a way to add metadata for an element to communicate that shape to BuildStream might be an avenue to pursue in the future10:06
tristanmegabytes per processor is one attribute, but then it is also not a constant throughout the build10:07
tristan(usually it is only the final link stage which causes the computer to explode)10:07
persiaIO bandwidth is a third part of the triad: if we're doing resource sizing, all three should be considered (and they are indeed variable over the course of the build)10:08
juergbimablanch: I don't see where this issue comes from, can you please provide steps to reproduce?10:12
valentindIs it possible to do checkpointing? I see docker does it.10:13
valentindBut it does it for the whole container. Not really what we want.10:15
mablanchjuergbi: It was working with HEAD of juerg/wip pointing at 3c9db7d93a2d04be45ca378b02f6e17873ae3bed (just tested again).10:17
gitlab-br-botbuildstream: issue #618 ("Buildstream pulls from remote cache, even when configuration removed") changed state ("opened") https://gitlab.com/BuildStream/buildstream/issues/61810:18
juergbimablanch: thanks for verifying. pretty odd error based on the diff10:19
tristanqinusty, looking at lists, I think all the horrible stuff is either out of the way or invalidated...10:20
mablanchjuergbi, I'm using BuildStream from the jmac/remote_execution_client branch, bst-artifact-server from that same branch, BuildGrid from the mablanch/68-bots-multi-endpoints branch and BuildBox from juergbi/wip and building the autotool example from BuildStream documentation (with tweaks for remote-execution).10:21
tristanlemme check the board for a moment10:21
qinustyhttps://gitlab.com/BuildStream/buildstream/issues/609 seems pretty bad, I just had the same issue with a PULL, indicating that prehaps cascache.py is the issue rather than casserver.py10:21
mablanchjuergbi, That's probably not easy to reproduce :) Maybe I can try to send you my CAS content + the BuildGrid command line it's running?10:22
juergbiyou mean buildbox?10:22
tristanvalentind, can you finish up with https://gitlab.com/BuildStream/buildstream/merge_requests/747 please ?10:22
mablanchjuergbi, sorry yes...10:22
valentindOh ok10:22
juergbimablanch: if that's possible, that would be great10:22
jonathanmawtristan: AIUI the problem is that GitSource instantiates its SourceFetchers at fetch-time. This means validating those URLs doesn't happen until fetching, and not at all if tracking.10:23
jonathanmawI think it would make sense if the SourceFetchers were instantiated at configure-time.10:23
jonathanmawThis is complicated by GitSource being able to discover more submodules at fetch-time, though as said because they won't have aliases, we don't need them to be SourceFetchers presented in get_source_fetchers().10:23
jonathanmawI wonder if an appropriate solution would be to have git.py have two different kinds of SourceFetcher: a MainSourceFetcher, which owns the GitMirror for the top-level URL, and GitMirrors for any submodules discovered that aren't part of config; and a SubmoduleSourceFetcher, which owns the GitMirror for a specific submodule.10:23
jonathanmawI suppose at that point the tricky part is making sure that we update the GitMirrors for the SourceFetchers when update_submodules() is called.10:23
tristanqinusty, this one, would be good to know if it's valid, and is currently unassigned: https://gitlab.com/BuildStream/buildstream/issues/55110:24
qinustyWoah, I just received like 5 messages from jonathan insatntly10:24
tristanqinusty, which you already worked on10:24
tristanqinusty, jonathanmaw types really fast10:24
jonathanmawqinusty: yep, I tried to keep my thoughts in order before pasting into IRC10:24
qinustyAh, thought you were seeing network troubles :D10:24
qinustyI'll check tristan, last time I checked it seemed pretty real and inconsistent10:25
tristanqinusty, if we cannot solve 551, it can be nice to do https://gitlab.com/BuildStream/buildstream/issues/61610:25
tristanwhich we were discussing earlier, at least stop making WARNING appear for failed tasks which are going to be retried10:25
tristanqinusty, and then maybe the other thing that is related, the Skip exception idea; having logging much more consistent by those two things is low risk and high value10:26
gitlab-br-botbuildstream: merge request (valentindavid/post_tracking_errors->master: Report processing errors from tracking) #747 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/74710:27
gitlab-br-botbuildstream: merge request (tpollard/591->master: buildstream/_project.py: Report if project.conf is missing name) #680 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/68010:27
* tristan turns his attention to jonathanmaw :)10:27
gitlab-br-botbuildstream: merge request (tpollard/483->master: plugins/git.py: Warn if ref is not in given track) #564 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/56410:28
tristanjonathanmaw, the approach you suggest afaics, will introduce redundant fetching behaviors for unaliased urls, which might be discovered in track (added submodules)10:29
tristanjonathanmaw, i.e.; If we instantiate all the fetchers at configure time; we will still use *those* instantiated fetchers during Source.__do_fetch()10:29
tristanjonathanmaw, and so if one of them is responsible for fetching multiple urls, and fails one, they will all be retried on the next10:30
*** abderrahim has joined #buildstream10:30
jonathanmawtristan: ah, yes.10:30
tristanjonathanmaw, otherwise, I diskile instantiating them once at configure time, and then strangely allowing them to differ from the originals10:30
tristan(i.e. we should only list them once)10:31
tristanI think that for one, we still need to document Source.get_source_fetchers() to return an iterable, and explain that it will be dynamically called at fetch time10:32
*** abderrahim has quit IRC10:32
tristani.e. it is currently documented to return a list, which git.py breaks with valentind's patch which fixes it's bug10:32
tristanjonathanmaw, So the approach that I was thinking is to *mandate* that Source.mark_download_url() be called on every URL in the element configuration10:33
tristanjonathanmaw, we could do that by keeping a list around, but unfortunately it would be a late BUG10:33
tristanthen again, it would not be so bad because it would be a BUG, and it would only need to be fixed once, for a misbehaving plugin10:34
mablanchjuergbi, Does buildbox download the input data to it's local cache before executing the command? (ie. to you need the remote CAS content or the local one?)10:35
tristanjonathanmaw, i.e.; After configure, we seal this list of known user inputted urls discovered at `Plugin.configure()` time, and then later we assert that urls passed to translate_url and mark_download_url on the same source are in that list10:35
tristanjonathanmaw, or at least, for the ones which have an alias10:35
juergbimablanch: it currently only downloads on demand. everything up to the point of error might be local10:35
*** abderrahim has joined #buildstream10:37
tristanvalentind, asides from https://gitlab.com/BuildStream/buildstream/merge_requests/747, are there any merge requests pending from you that I need to think about for 1.2 ?10:37
tristantiagogomes_, I think there was a fairly simple one from you that I commented on... trying to remember what it was10:38
tiagogomes_was it the protected variables stuff?10:38
tristanAhhh yeah maybe it was that10:39
tristantiagogomes_, the only other one I can think of atm is the rather complex reworking of the scheduler10:39
tristanjonathanmaw, a separate subject; I merged this this morning: https://gitlab.com/BuildStream/buildstream/merge_requests/75310:41
jonathanmawtristan: okay, so we end up with two kinds of warning: 1) In configure, mark_download_url or translate_url were called on a URL without an alias, an error on the .bst writer's part. 2) Later, mark_download_url or translate_url was called on an aliased URL that hasn't been registered in configure, an error on the plugin author's part10:41
valentindtristan, No other merge request. I see you merged 748.10:41
tiagogomes_I don't think that we should land the protected variables just before the release, as it will break fdsdk10:41
tristanjonathanmaw, can you think of any reason why those filter tests should have to loop over every source kind ?10:41
tristantiagogomes_, yeah... but then I still want to land it in 1.2.1; post fixing freedesktop-sdk10:42
tristanIt's not an API change, but it's an enforcement of expected behavior10:42
toscalixtow new pages structure merged. 1.2 feature page is next10:43
toscalixs/tow/two10:43
tristanjonathanmaw, well, the warning in configure is the reason we noticed that we are not seeing all the relevant data in `Plugin.configure()`10:43
tiagogomes_toscalix can you make sure it builds in the CI?10:43
tristanjonathanmaw, but yeah, that warning will eventually be added... and what you list as (2), will not be a warning, it will be an `assert` directly in the code; with a custom message10:44
mablanchjuergbi, How should I send you this?10:44
*** awacheux[m] has joined #buildstream10:45
*** theawless[m] has joined #buildstream10:45
*** waltervargas[m] has joined #buildstream10:45
gitlab-br-botbuildstream: merge request (valentindavid/roundtripping_only_when_modified-1.2->bst-1.2: Disable round-tripping when element is not modified) #760 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/76010:45
*** tlater[m] has joined #buildstream10:45
*** ssssam[m] has joined #buildstream10:45
tristanjonathanmaw, something like `assert marked_alias in self.__expected aliases "Plugin did not call translate_url() on all input URLs at configure time"`10:45
toscalixtiago, no, I can't. I am unfamiliar with setting Gitlab CI. Can you point me to some docu to see if I have time to learn before the release?10:45
*** rafaelff[m] has joined #buildstream10:45
*** albfan[m] has joined #buildstream10:45
*** abderrahim[m] has joined #buildstream10:45
*** asingh_[m] has joined #buildstream10:45
*** mattiasb has joined #buildstream10:45
*** cgmcintyre[m] has joined #buildstream10:45
*** kailueke[m] has joined #buildstream10:45
*** krichter[m] has joined #buildstream10:45
*** jjardon[m] has joined #buildstream10:45
*** segfault3[m] has joined #buildstream10:45
*** connorshea[m] has joined #buildstream10:45
*** pro[m] has joined #buildstream10:45
*** dineshdb[m] has joined #buildstream10:45
*** oknf[m] has joined #buildstream10:45
juergbimablanch: depends on how big it is, i guess. if it's small email otherwise maybe on fs (CT) or a public file upload site10:46
tristanjonathanmaw, the result of that will be a BUG message, indicating that the plugin in question has a bug. As I mentioned before, I don't like that the bug can happen late like this; but on the bright side, it only needs to be fixed once for a misbehaving plugin and should never happen after that10:47
toscalixtiagogomes_: I see two folders: current pages and pages10:48
toscalixI see that pages has an extra line included title: xxxx10:48
tristanjonathanmaw, there also needs to be an error at load time for a URL that refers to an undefined alias10:48
toscalixI mean, the pages inside the folder pages10:48
toscalixare those the ones you render?10:48
valentindtiagogomes_, have you asked for SSL certificates for the website?10:49
tiagogomes_toscalix The CI is already in place. Pages needs to go in the pages folder and have at least a "title:" attribute. The tool used to generate those is Pelican10:49
tristanjonathanmaw, but that's rather orthogonal to the subject, it's only relevant because we need to ensure all data has been seen at Plugin.configure() time10:49
tristanjonathanmaw, in order to ensure we fail early for things we can fail early for10:49
toscalixtiagogomes_: I would like to avoid having two folders, pages and current pages. Should I move all the content to pages and erase current_pages folder ?10:50
tristantoscalix, you trigger CI by creating a merge request10:50
tristanAh, so you have some weird temporary setup it seems, while the stuff toscalix added gets added to the generated website10:51
toscalixMR for changes in pages folder?10:51
jonathanmawtristan: looking at the filter tests now, I can't see any reason to use different source kinds. wrt the URL errors, acknowledged.10:51
* tristan returns to "keeping his nose out of this website stuff" :)10:51
tiagogomes_toscalix I will move the pages from current pages to pages10:51
toscalixand erase the current_pages folder please10:52
tristantoscalix, yes, iiuc; in any case looks like tiagogomes_ will take care of that for you10:52
tristantoscalix, and in the future, always creating a merge request ensures that CI passes before merge10:52
toscalixon pages folder, got it10:52
tristantoscalix, even if it's a merge request that you self approve, doesnt matter10:52
toscalixtiagogomes_: you will have to add the title attribute to the pages I have created10:53
tiagogomes_I know10:53
tiagogomes_Btw this is a thing http://buildstream.build/ .  I am working on https10:53
toscalixtiagogomes_: I will give you the sitemap end of today10:54
valentindtiagogomes_, I see that links on the page have full urls, and it redirects to buildstream.gitlab.io. This is maybe something you want to look at at some point.10:54
mablanchjuergbi, Ok, I've emailed it, it's quite small if I don't include the remote cache content.10:54
tristanvalentind, nice spot10:55
paulsher1oodtiagogomes_: i evolved devcurmudgeon.com and trustable.io from that template, and they look better imo. you'd be welcome to take my tweaks from either of those projects10:55
gitlab-br-botbuildstream: issue #619 ("Fail messages without logfile set cause traceback") changed state ("opened") https://gitlab.com/BuildStream/buildstream/issues/61910:56
juergbimablanch: ta10:57
tristanvalentind, thanks for backporting https://gitlab.com/BuildStream/buildstream/merge_requests/760 :)10:57
valentindtristan, I think !747 is ready.11:00
tiagogomes_Can some one approve https://gitlab.com/BuildStream/website/merge_requests/7 I can't merge without approval11:02
*** tpollard has quit IRC11:02
gitlab-br-botbuildstream: merge request (valentindavid/roundtripping_only_when_modified-1.2->bst-1.2: Disable round-tripping when element is not modified) #760 changed state ("merged"): https://gitlab.com/BuildStream/buildstream/merge_requests/76011:03
jonathanmawtristan: is there more that needs to be discussed for #612?11:05
tristanjonathanmaw, right, just stepped out for a sec11:06
tristanjonathanmaw, so; I guess we have a decent approach ? Just... since we use the first input from `Source.translate_url()` as input to later be used at track time, regardless of the presence of SourceFetchers, do you think the plan will work well ?11:07
tristanjonathanmaw, Have any other ideas which don't require adding even more API surface ?11:07
tristanjonathanmaw, On my part, I think I'm satisfied with the solution, I guess we just need to document it well11:08
tristanjonathanmaw, beyond that, I think I can try to do it tomorrow, but the only thing which really blocks the release is documenting the API contract that will work11:08
jonathanmawtristan: hm, I think it would require the SourceFetcher to have access to the Source's list of previously-marked URLs, and we don't currently mandate that SourceFetchers have the Source11:08
tristanjonathanmaw, how so ?11:09
tristanjonathanmaw, So just to make sure we're on the same page; I'm going to basically document that "A source plugin *must* call either Source.mark_download_url() OR Source.translate_url() on ALL urls that are present in the Source's configuration during the Plugin.configure()` method"11:10
toscalixpaulsher1ood: we will have a look, thianks. We will need all the help we can get when it comes to contents and design11:10
tristantoscalix, tiagogomes_; btw, not sure where this fits into the design of the site; but I think this will be useful for the site11:11
tristantoscalix, tiagogomes_: <object data="https://buildstream.gitlab.io/buildstream/_static/release.svg" type="image/svg+xml"/>11:11
tristantoscalix, tiagogomes_: <object data="https://buildstream.gitlab.io/buildstream/_static/snapshot.svg" type="image/svg+xml"/>11:12
tristanLatest release badge, and latest development snapshot badge11:12
tristanAlways up to date from BuildStream CI11:12
jonathanmawtristan: the SourceFetchers have access to aliased URLs, and call their own mark_download_url() method. SourceFetchers are not required to be instantiated in configure(), so if the plugin author is being lax then URLs that are only used in SourceFetchers may not have been checked in configure()11:12
tristanUsing <object/> is very important, if you use <img/> then you dont get the link encoded in the SVG11:12
tristanjonathanmaw, Exactly, that's why we hold on to them in the Source at configure time, and make the assertion, later raising a BUG11:13
toscalixtristan: included here: https://gitlab.com/BuildStream/website/issues/311:14
jonathanmawtristan: by "them" do you mean the URLs or the SourceFetchers?11:14
tristanjonathanmaw, So, during configure, not only do we hold onto the first Source.mark_download_url() url, we hold on to a list of ALL of them, and for any of them which had an alias, we assert that in the core later, when a SourceFetcher calls SourceFetcher.mark_download_url()11:14
tristanjonathanmaw, I mean the URLs11:15
tristanjonathanmaw, So basically, we don't assert for non-aliased URLs, they can be dynamically discovered; but for anything with an alias at least; we issue a BUG (by assert statement), and force that plugin to not be lax11:15
jonathanmawtristan: okay, though if the source is holding on to the list of all urls marked during configure, then SourceFetcher must be able to access that list, i.e. it must have access to the Source11:16
juergbimablanch: please try again with updated branch11:16
jonathanmawwhich we don't currently ensure, AIUI11:16
jonathanmawa minor API change that SourceFetcher.__init__() now includes "source" in the arg, and that SourceFetcher authors are expected to chain up with a passed-in source should be sufficient, I think11:19
tristanjonathanmaw, Ah, but under the hood that is quite a trivial implementation detail11:19
tristanjonathanmaw, there need not be any change to the API for this, and the Plugins should not see that11:19
tristanjonathanmaw, although, while there is not really much reason to deny it from the API, there is neither any need to introduce it (it can be SourceFetcher._set_source() under the hood)11:20
tristanjonathanmaw, Ohhh, you mean the SourceFetcher() instantiation is active and not passive !11:20
mablanchjuergbi, Tests all pass and building a simple example works fine! Cheers!11:21
*** jonathanmaw_ has joined #buildstream11:21
juergbithanks for confirming11:21
jonathanmawokay11:21
*** jonathanmaw has quit IRC11:21
*** jonathanmaw_ is now known as jonathanmaw11:22
tristanjonathanmaw, Indeed, the Git source actually calls the mark_download_url() from there... *however*, it can still be asserted11:22
tristanI guess we need not modify that11:22
tristanjonathanmaw, we can still make the assertion after instantiating the SourceFetcher, and checking what URL it was marked with against our list11:23
tristanjonathanmaw, around this line: https://gitlab.com/BuildStream/buildstream/blob/master/buildstream/source.py#L87311:24
jonathanmawtristan: ah, I see11:24
jonathanmawIt sounds like I've been an effective rubber duck, if nothing else11:26
tristanjonathanmaw, Well, it's your area; I need someone who is confident in "owning source mirroring" to bounce ideas off of for this11:27
tristanthat person is currently you :)11:28
toscalixtiagogomes_: can you track your work on the website here, please? https://gitlab.com/BuildStream/website/issues/911:28
jonathanmawtristan: a bouncy rubber duck! even better!11:28
toscalixtiagogomes_: add in the description the main tasks, so the next person that takes over the web responsibility knows what you did?11:29
gitlab-br-botbuildstream: merge request (coldtom/strip-rules->master: WIP: Upstream freedesktop-sdk strip rules) #750 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/75011:30
tiagogomes_ok11:31
tristanvalentind, ah I didnt notice !747, indeed, seems gitlab didnt say "this line of code changed" so the discussion page remained uneffected by your changes11:35
gitlab-br-botbuildstream: issue #533 ("Warning instead of error when failing to write tracking results") changed state ("closed") https://gitlab.com/BuildStream/buildstream/issues/53311:36
gitlab-br-botbuildstream: merge request (valentindavid/post_tracking_errors->master: Report processing errors from tracking) #747 changed state ("merged"): https://gitlab.com/BuildStream/buildstream/merge_requests/74711:36
tristanvalentind, please backport https://gitlab.com/BuildStream/buildstream/merge_requests/747 to 1.2 and merge :)11:36
tristanNice... it's all coming together !!!11:37
gitlab-br-botbuildstream: merge request (coldtom/strip-rules->master: WIP: Upstream freedesktop-sdk strip rules) #750 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/75011:37
gitlab-br-botbuildstream: issue #620 ("Adjust Source / SourceFetcher API contract") changed state ("opened") https://gitlab.com/BuildStream/buildstream/issues/62011:44
tristanjonathanmaw, I will take care of https://gitlab.com/BuildStream/buildstream/issues/620 tomorrow11:45
tristanAnd will release over the weekend, as we agreed - the actual release happens end of this week; and the post release shinanigans of officialness and websity promotional charades happen on Sept 511:46
juergbijonathanmaw: don't know whether you're already aware but cache_size write is not atomic, which constantly breaks things here on master11:54
tristanvalentind, you are the winner so far at 19 minutes and 5 seconds (https://gitlab.com/BuildStream/buildstream/pipelines/29033000)11:54
tristanEeek11:54
tristanjuergbi, Would utils.save_file_atomic() make sense for it ? or must it use a lock I guess ?11:55
juergbisave_file_atomic would definitely fix the biggest issue11:56
juergbiI'm not familiar enough with how it's implemented to know whether lock file would be required for proper operation11:56
juergbiright now I get parser errors, presumably due to the file being written and read concurrently11:57
tristanjuergbi, from my abstract understanding of it, it gets written when the cache grows; and that can happen concurrently - which means that if two processes just use save_file_atomic(), added bytes will be missed11:57
juergbiFAILURE Size '' parsed from '.../.cache/buildstream/artifacts/cache_size' was not an integer11:57
tristanSo we would need to read/add/write atomically11:58
juergbiyes, that could well be the case. however, right now it's unusable while save_file_atomic() would at least make a proper fix less urgent11:58
tristanjuergbi, definitely agree11:58
tristanOk so... does someone already have a patch for this or shall I shove one into master and bst-1.2 ?11:59
tristanSomehow looking at that line of code, I feel like I already commented on this requiring utils.save_file_atomic()12:00
juergbiI don't have a patch yet. have gone back to older version as stop gap12:00
tristanwell, whatever12:00
tristanI'll push an MR pronto12:00
juergbitahnks12:01
gitlab-br-botbuildstream: merge request (tristan/atomic-cache-size-file->master: _artifactcache/artifactcache.py: Write the cache_size file atomically) #762 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/76212:04
juergbioh, and that's actually stored as failed build, so I have to explicitly retry12:06
gitlab-br-botbuildstream: merge request (valentindavid/post_tracking_error-1.2->bst-1.2: Report processing errors from tracking) #761 changed state ("merged"): https://gitlab.com/BuildStream/buildstream/merge_requests/76112:10
gitlab-br-botbuildstream: merge request (tristan/atomic-cache-size-file-1.2->bst-1.2: _artifactcache/artifactcache.py: Write the cache_size file atomically) #763 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/76312:11
tristanjuergbi, fyi, it would be good if you could take a look at this: https://gitlab.com/BuildStream/buildstream/issues/61512:13
tristanjuergbi, I expect it doesnt happen frequently, but when it does we fail badly and hang around for hours12:13
juergbihm, maybe bad handling of connection issues12:15
valentindtristan, I have had this problem as well. There was one artifact that was taking much time to download. Though not hours. But like 10 minutes. I expected it to be done in few seconds.12:15
juergbiprobably need to figure out how to simulate this in a test case12:15
tristanjuergbi, yeah not sure; it looks like it's stuck in a very forgiving retry loop, where maybe something actually timed out12:16
valentindAh this one does not exit? Interesting.12:16
tristanvalentind, yeah it's not the performance issue; that is separate it seems12:17
tristanjuergbi, on a side note about simulation and CI... I've been wondering "What is the plan for CI of remote execution ?"12:18
tristanjuergbi, just throwing that out on the table, I won't be thinking of it for another week or so hehe12:18
* tristan has to run now... but think we did very well this week !12:18
juergbiit's not completely clear yet. we have relatively contained tests for most of the individual components. I mentioned this as open point for the remote execution client MR12:19
juergbia test environment is being setup, but we'll have to see how we can integrate this with CI12:19
tristanI think we definitely need some kind of end-to-end tests; but I don't know how they will work on GitLab12:19
tristanyeah12:20
tristanWe'll also need OSX and Windows runners for those other issues12:20
*** tristan has quit IRC12:24
gitlab-br-botbuildstream: issue #601 ("PermissionError when calling `vdirectory.import_files()`") changed state ("closed") https://gitlab.com/BuildStream/buildstream/issues/60112:27
gitlab-br-botbuildstream: merge request (tristan/atomic-cache-size-file->master: _artifactcache/artifactcache.py: Write the cache_size file atomically) #762 changed state ("merged"): https://gitlab.com/BuildStream/buildstream/merge_requests/76212:27
gitlab-br-botbuildstream: merge request (tristan/atomic-cache-size-file-1.2->bst-1.2: _artifactcache/artifactcache.py: Write the cache_size file atomically) #763 changed state ("merged"): https://gitlab.com/BuildStream/buildstream/merge_requests/76312:32
gitlab-br-botbuildstream: merge request (mac_fixes->master: WIP: Resolve "os.sched_getaffinity() not supported on MacOSX Blocks #411") #726 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/72612:36
gitlab-br-botbuildstream: merge request (mac_fixes->master: WIP: Resolve "os.sched_getaffinity() not supported on MacOSX Blocks #411") #726 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/72612:38
valentindGitlab is giving me a captcha for anything I am doing now.12:42
coldtomme too, valentind12:43
coldtomi had to do 2 captchas for checking some items on a checklist earlier12:43
gitlab-br-botbuildstream: merge request (mac_fixes->master: WIP: Resolve "os.sched_getaffinity() not supported on MacOSX Blocks #411") #726 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/72612:45
gitlab-br-botbuildstream: merge request (mac_fixes->master: WIP: Resolve "os.sched_getaffinity() not supported on MacOSX Blocks #411") #726 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/72612:56
*** xjuan has joined #buildstream13:25
gitlab-br-botbuildstream: merge request (mac_fixes->master: WIP: Resolve "os.sched_getaffinity() not supported on MacOSX Blocks #411") #726 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/72613:28
*** alatiera_ has quit IRC13:32
gitlab-br-botbuildstream: merge request (bzr_fix->master: Replacing string 'bzr' with value from host tools) #764 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/76413:41
Nexuscan someone give https://gitlab.com/BuildStream/buildstream/merge_requests/764/ a quick look please? it already got approval from tristan earlier https://gitlab.com/BuildStream/buildstream/merge_requests/726#note_97629122 but it'd be nice just o have a quick look before it can be merged13:43
*** finn has joined #buildstream13:43
gitlab-br-botbuildstream: merge request (bzr_fix->master: Replacing string 'bzr' with value from host tools) #764 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/76413:45
*** finn has quit IRC13:45
*** finn_ has quit IRC13:46
*** finn has joined #buildstream13:46
gitlab-br-botbuildstream: merge request (jmac/remote_execution_client->master: WIP: Remote execution client) #626 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/62613:58
gitlab-br-botbuildstream: merge request (mac_fixes->master: WIP: Resolve "os.sched_getaffinity() not supported on MacOSX Blocks #411") #726 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/72614:10
*** mohan43u has quit IRC14:18
flatmushAny ideas what could be causing this obscure error in a docker runner for a repository that builds fine locally?14:32
flatmushhttps://gitlab.com/trustable/distros/minimal-distro/-/jobs/9341186114:32
gitlab-br-botbuildstream: merge request (mac_fixes->master: WIP: Resolve "os.sched_getaffinity() not supported on MacOSX Blocks #411") #726 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/72614:33
*** alatiera has joined #buildstream14:34
*** alatiera is now known as alatiera_14:36
*** dtf has joined #buildstream14:48
qinustyI'm unable to run my test sequence locally with my setup. I'm not sure what's going on but I seem to get my pytest/pylint combo working for like 2-3 days before it breaks again14:53
toscalixtiago, can we have a short talk today to sync up?14:53
toscalixtiagogomes_: ^14:54
qinustyNow I'm getting issues _pytest.python cannot import Package. Apparently related to the use of __init__.py files within test directories (e.g. like in our test plugins)14:54
*** xjuan has quit IRC14:55
qinustyHa14:55
qinustyversion flatmush14:55
qinustycoldtom will like this one14:55
flatmush1.1.714:55
qinustyYou've got a recursive variable14:55
qinustyWe detect and prevent them in 1.2. But if you look at your "long path"14:56
qinustylib/debug/tools/lib/debug/tools/lib/debug/tools......14:56
flatmushwhat would that look like? I'm making a minimal distro based on definitions, so I doubt I introduced that variable14:56
qinustyUm, coldtom saw the issue when modifying the prefix variable14:57
flatmushI assume it's somewhere in here: https://gitlab.com/trustable/distros/minimal-distro/blob/master/elements/gnu-toolchain/stage1-gcc.bst14:57
qinustyBasically it happens when variable a substitues a variable with "%{a}" in it14:57
flatmushin a bst file presumably?14:58
qinustyyup, lemme try building with 1.214:59
qinustyIt'll flag it14:59
flatmushalso, it builds fine with 1.1.7 in a vm locally15:00
qinustyWeird one15:00
qinustyit definitely looks like a recursive problem. To some extent, its a very repetitive path15:00
flatmushI imagine it's an issue with my docker image, but I don't know where to start figuring out what could cause it15:00
flatmushI was assuming something weird with symlinks, but the recursive variable thing is another possible15:01
qinustyWhat're you building flatmush? which element15:01
coldtomqinusty: gnu-toolchain/stage1-gcc.bst15:02
*** mohan43u has joined #buildstream15:05
flatmushseems like the issue is in project.conf15:08
flatmushbut that's just copied from definitions with no changes15:08
qinustyWhere does the debugdir variable come from?15:08
coldtomflatmush: i think the strip-binaries command is somehow defining debugfile recursively?15:08
coldtomdebugdir is a buildstream default15:08
qinustySo it is15:09
coldtomthat's not recursively defined though15:10
qinustyyup15:10
qinustyit is15:10
qinustywell...15:10
qinustydebugfile is `debugfile="%{install-root}%{debugdir}/$(basename "$1")"`15:11
flatmushthat's not a definition though, it's part of a bash command15:11
flatmushunless I'm reading wrong15:11
qinustyhmmm15:11
qinustydebugdir: "%{libdir}/debug"15:11
coldtomthat should (and does) resolve correctly, as you can see in the logs15:11
coldtomdebugdir resolves to /tools/lib/debug15:12
qinustyExpands to `/buildstream-install/usr/lib/debug/$(basename "$1")15:13
*** noisecell has quit IRC15:14
gitlab-br-botbuildstream: merge request (mac_fixes->master: WIP: Resolve "os.sched_getaffinity() not supported on MacOSX Blocks #411") #726 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/72615:19
qinustycoldtom, x220 isn't liking building gcc15:33
gitlab-br-botbuildstream: issue #594 ("pull step reported a SUCCESS even if the a artifact was not found in the cache server") changed state ("closed") https://gitlab.com/BuildStream/buildstream/issues/59415:35
gitlab-br-botbuildstream: merge request (Qinusty/skipped-rework->master: Add SkipError for indicating a skipped activity) #765 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/76515:39
qinustybenschubert, I picked up something from a discussion with tristan without looking at any issue. Submitting my MR, I've looked through issues and found https://gitlab.com/BuildStream/buildstream/issues/614 which is assigned to you and mostly covered by my MR. I hope I've not just pushed into your work D:15:39
qinustyCould you take a look at the MR and let me know what you think? https://gitlab.com/BuildStream/buildstream/merge_requests/76515:39
gitlab-br-botbuildstream: merge request (bzr_fix->master: Replacing string 'bzr' with value from host tools) #764 changed state ("merged"): https://gitlab.com/BuildStream/buildstream/merge_requests/76415:47
gitlab-br-botbuildstream: merge request (mac_fixes->master: WIP: Resolve "os.sched_getaffinity() not supported on MacOSX Blocks #411") #726 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/72615:57
gitlab-br-botbuildstream: merge request (Qinusty/retries-should-fail->master: Retries log as failures) #766 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/76616:06
gitlab-br-botbuildstream: merge request (Qinusty/retries-should-fail->master: Retries log as failures) #766 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/76616:07
tiagogomes_toscalix do still want that talk16:11
toscalixtomorrow morning16:11
tiagogomes_ok16:11
gitlab-br-botbuildstream: merge request (mac_fixes->master: WIP: Resolve "os.sched_getaffinity() not supported on MacOSX Blocks #411") #726 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/72616:12
qinustyAny luck figuring out the problem flatmush?16:14
qinustyAnyone fancy reviewing https://gitlab.com/BuildStream/buildstream/merge_requests/766?16:20
benschubertqinusty: that seems good! No worries, I was going to look at it tomorrow. You can assign yourself to the issue :)16:20
benschubertThe only thing I would do differently is https://gitlab.com/BuildStream/buildstream/merge_requests/765/diffs#1fbe2f0374c772cfd0b9ec5d4df332f28be9910e_410_409 where I would except the two exceptions separately :)16:21
qinustyhmmm, you're probably right there it's around to same number of lines to print the message within it's own except16:22
qinustyand readability etc16:23
toscalixtiagogomes_: one important point will be how to create ToC with pelican16:25
toscalixif we can use a plugin, fine. If not, we will need to use HTML syntax for titles16:25
tiagogomes_I think the codethink website is mostly html16:25
gitlab-br-botbuildstream: merge request (Qinusty/skipped-rework->master: Add SkipError for indicating a skipped activity) #765 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/76516:26
gitlab-br-botbuildstream: merge request (Qinusty/skipped-rework->master: Add SkipError for indicating a skipped activity) #765 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/76516:32
toscalixtiagogomes_:  if you can investigate and find out, it might save us some effrt next week16:33
toscalixtables do not see to have borders either16:33
toscalixanother point to investigate how to do them or if there is a plugin we can use16:34
toscalixotherwise... html16:34
gitlab-br-botbuildstream: issue #621 ("Unhandled exception when terminating failed build") changed state ("opened") https://gitlab.com/BuildStream/buildstream/issues/62116:35
tiagogomes_toscalix which  license would you like for the website16:56
*** xjuan has joined #buildstream16:59
adds68Where are config.log files stored?17:13
*** rdale has quit IRC17:17
toscalixtiagogomes_: I need to discuss that with tristan to ensure the user docu and the website does not have incompatible licenses17:35
toscalixI do not see license file in the docu17:36
toscalixit has copyright but no license, which is nt good17:38
toscalixtiagogomes_: needs a discussion17:39
*** jonathanmaw has quit IRC17:40
toscalixI would like to go for a FSF one for docu, rather than CC one, so code-docu is easier to handle17:40
*** bochecha has quit IRC17:42
toscalixtiagogomes_: https://gitlab.com/BuildStream/website/merge_requests/11 if I merge it... I call it a day17:52
*** toscalix has quit IRC18:01
jjardontoscalix there is an old MR to add a license to the docs: https://gitlab.com/BuildStream/buildstream/merge_requests/33618:43
gitlab-br-botbuildstream: merge request (tpollard/591->master: buildstream/_project.py: Report if project.conf is missing name) #680 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/68019:14
*** leopi has quit IRC19:28
*** bochecha has joined #buildstream19:56
*** bochecha has quit IRC19:58
*** bochecha has joined #buildstream19:59
*** bochecha has quit IRC20:20
*** bochecha has joined #buildstream20:20
*** alatiera_ has quit IRC20:35
gitlab-br-botbuildstream: merge request (tpollard/591->master: buildstream/_project.py: Report if project.conf is missing name) #680 changed state ("merged"): https://gitlab.com/BuildStream/buildstream/merge_requests/68020:52
*** bochecha has quit IRC20:57
*** bochecha has joined #buildstream20:57
gitlab-br-botbuildstream: issue #591 ("Missing required key on project.conf causes wrong provenance file name on error message") changed state ("closed") https://gitlab.com/BuildStream/buildstream/issues/59121:29
*** bochecha has quit IRC21:50
*** bochecha has joined #buildstream22:13
*** bochecha has quit IRC23:43
*** bochecha has joined #buildstream23:50

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