Hello Chrsitian,
That is Remi that has such access rights, for the HIPP.
He is back from his vacations, so do not hesitate to see with him ;)
Your solution a) seems a good point. I didn’t know that it exists. Well done.
Regards
Céline
De : papyrus-rt-dev-bounces@xxxxxxxxxxx [mailto:papyrus-rt-dev-bounces@xxxxxxxxxxx]
De la part de Christian Damus
Envoyé : mardi 4 octobre 2016 21:12
À : papyrus-rt developer discussions <papyrus-rt-dev@xxxxxxxxxxx>
Objet : Re: [papyrus-rt-dev] Multiple Papyrus-RT-Master-Product builds for each merged commit
Yes, it’s a problem that we have the downstream Product build running once for each completion of its multiple upstreams.
There are plug-ins that can help this. Hudson Plugin Central has at least two that address this situation:
·
join: triggers a job after a group of other jobs finish. It’s the simplest implementation,
and I think would be suitable for our case (I have seen reports that it doesn’t work well when parallel job chains to be joined are more than 1 job long)
·
build-pipeline-plugin: a visual configuration of complex pipelines of jobs
I don’t have admin privilege on our HIPP to see which, if any, of these plug-ins might already be available for us to use. Nor do I know the process
for requesting to install new plug-ins, if that’s a thing that we can do for our own HIPP should we decide to do so.
And, yes, a change in core should not trigger both the Core and Tooling builds but Core only, because it will kick off Tooling as a downstream
anyways. That much is easy to address; I can take care of that.
Christian
On 4 October, 2016 at 12:04:34, Peter Cigéhn (peter.cigehn@xxxxxxxxx) wrote:
I am not sure I understand the proposed change. Currently the product build is triggered by the component builds, core, tooling and so on. I assumed
that the reason for the product build to be triggered by the component builds was due to that the product build used the output from the component builds in some way.
But now you are saying that the product build can be triggered "on its own", which I interpret as if it does not really depend on the component builds
have been run at all. Is that correct? Then what is the purpose of the individual component builds? I am bit confused here...
And when you say each 30 minutes, I assume that you mean that the product build should check if there has been an SCM change, i.e. a commit being merged,
each 30 minutes. But why should that be check only be made each 30 minutes? That I assume could be checked each 15 minutes as for the component builds. Otherwise you can theoretically have to wait for 30 minutes before the build is triggered (in case the merge
is committed right after the last SCM poll) and then the build that takes 17-20 minutes, i.e. up to 50 minutes.
Sure, that is much better than the current situation where you need to wait up to 15 minutes for the SCM poll on the component builds, then build core and tooling in parallell (I assume a few minutes), then build product for up to 24 minutes, in parallel with
the second tooling build,, and then the second product build (triggered by the second tooling build) for 24 minutes more, which adds up to more than an hour. Still not sure if I can use the first product build or if I need to wait for the second one.
I thought that the triggering of builds could be made a bit more intelligent, i.e. if it is concluded that a commit impacts both core and tooling,
then skip triggering tooling and only trigger core, since you know that core in its turn will trigger the build of tooling. That would avoid the double builds of tooling and product.
On 4 October 2016 at 17:45, Céline JANSSENS <celine.janssens@xxxxxxxxxxx> wrote:
Hi Peter,
As far as I remember, The Core build triggers Tooling and Codegen jobs. Codegen and Tooling jobs both trigger the Product job.
So you are right, every time a modification is done on the core, then tooling and codegen jobs are triggered. And both trigger the Product job.
It has been whished that the Product should be up to date at least every 15 minutes. That is why, Core, Tooling and Codegen Build check for modification every 15 minutes.
Product job is based on Core, Tooling and Codegen sub-repos as it builds the “releng” Target platform.
A solution would be not to trigger the product directly from the Components builds, but on a regular basis, 30 minutes seem reasonable.
In addition, the RCPTT is being extract from the Product Build to decrease the time of the Product Build to 17-20 minutes.
Any remarks on this suggestion ?
Regards
Céline
![](jpgdg4s5ZjspG.jpg)
De :
papyrus-rt-dev-bounces@xxxxxxxxxxx [mailto:papyrus-rt-dev-bounces@xxxxxxxxxxx]
De la part de Peter Cigéhn
Envoyé : mardi 4 octobre 2016 17:19
À : papyrus-rt developer discussions <papyrus-rt-dev@xxxxxxxxxxx>
Objet : [papyrus-rt-dev] Multiple Papyrus-RT-Master-Product builds for each merged commit
I have a question regarding the new build system. I find a bit confusing knowing when it is safe to start upgrading and testing a merged commit. Almost all the latest commits that I have been merged and which I wanted
to test, and for which I then I have checked the builds when they are finished, have been triggering the final Papyrus-RT-Master-Product to be built (at least) twice.
I guess that it is related to that a commit contains changes, e.g. for both core and tooling, which triggers both these builds (in parallell). When these are finished, they trigger the final product build. And then
when the core is finished that triggers yet another tooling build, which in its turn triggers a product build again. In more or less all cases I have seen, the second product build has gotten stuck in the queue also since you cannot build two product builds
in parallell.
Is it safe to test already after the first product build have finished, or do I always have to wait for the second one to finish? More or less always having to wait for two product builds feels pretty time consuming
(since each takes up to half an hour to complete).
Is the setup of the build system really correct? Why is both core and tooling triggered at the first step? If you only trigger building core, which then triggers tooling, which finally triggers product, then you
don't have tooling and product building twice.
Any comments? Is this just how it is supposed to work? And that I (to be on the safe side) always needs to wait for the second (or whatever number the final will be) build before I can upgrade safely?
_______________________________________________
papyrus-rt-dev mailing list
papyrus-rt-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/papyrus-rt-dev
_______________________________________________
papyrus-rt-dev mailing list
papyrus-rt-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/papyrus-rt-dev
|