public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [Patch 1/1] .azurepipelines/templates: Update max pipeline job time to 2 hours
@ 2021-11-24  0:44 Michael D Kinney
  2021-11-24  0:48 ` [edk2-devel] " Michael Kubacki
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Michael D Kinney @ 2021-11-24  0:44 UTC (permalink / raw)
  To: devel; +Cc: Sean Brogan, Bret Barkelew, Liming Gao, Michael Kubacki

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3750

Large patches that modify a large number of files(e.g uncrustify)
take longer to process through CI checks such as ECC.  Increase
the max job time from 1 hour to 2 hours to accommodate larger patch
series.

Cc: Sean Brogan <sean.brogan@microsoft.com>
Cc: Bret Barkelew <Bret.Barkelew@microsoft.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Michael Kubacki <michael.kubacki@microsoft.com>
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
---
 .azurepipelines/templates/pr-gate-build-job.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.azurepipelines/templates/pr-gate-build-job.yml b/.azurepipelines/templates/pr-gate-build-job.yml
index d5b16c127f58..244cffdbfaba 100644
--- a/.azurepipelines/templates/pr-gate-build-job.yml
+++ b/.azurepipelines/templates/pr-gate-build-job.yml
@@ -17,7 +17,7 @@ parameters:
 jobs:
 
 - job: Build_${{ parameters.tool_chain_tag }}
-
+  timeoutInMinutes: 120
   #Use matrix to speed up the build process
   strategy:
     matrix:
-- 
2.32.0.windows.1


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [edk2-devel] [Patch 1/1] .azurepipelines/templates: Update max pipeline job time to 2 hours
  2021-11-24  0:44 [Patch 1/1] .azurepipelines/templates: Update max pipeline job time to 2 hours Michael D Kinney
@ 2021-11-24  0:48 ` Michael Kubacki
  2021-11-24  0:54   ` Michael D Kinney
  2021-11-24  2:02 ` Michael Kubacki
  2021-11-26 15:51 ` Sean
  2 siblings, 1 reply; 6+ messages in thread
From: Michael Kubacki @ 2021-11-24  0:48 UTC (permalink / raw)
  To: devel, michael.d.kinney
  Cc: Sean Brogan, Bret Barkelew, Liming Gao, Michael Kubacki

Hi Mike,

Is the plan to keep it at a 2 hour limit indefinitely (not just for 
these large series currently outstanding)?

Thanks,
Michael

On 11/23/2021 7:44 PM, Michael D Kinney wrote:
> REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3750
> 
> Large patches that modify a large number of files(e.g uncrustify)
> take longer to process through CI checks such as ECC.  Increase
> the max job time from 1 hour to 2 hours to accommodate larger patch
> series.
> 
> Cc: Sean Brogan <sean.brogan@microsoft.com>
> Cc: Bret Barkelew <Bret.Barkelew@microsoft.com>
> Cc: Liming Gao <gaoliming@byosoft.com.cn>
> Cc: Michael Kubacki <michael.kubacki@microsoft.com>
> Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
> ---
>   .azurepipelines/templates/pr-gate-build-job.yml | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/.azurepipelines/templates/pr-gate-build-job.yml b/.azurepipelines/templates/pr-gate-build-job.yml
> index d5b16c127f58..244cffdbfaba 100644
> --- a/.azurepipelines/templates/pr-gate-build-job.yml
> +++ b/.azurepipelines/templates/pr-gate-build-job.yml
> @@ -17,7 +17,7 @@ parameters:
>   jobs:
>   
>   - job: Build_${{ parameters.tool_chain_tag }}
> -
> +  timeoutInMinutes: 120
>     #Use matrix to speed up the build process
>     strategy:
>       matrix:
> 

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [edk2-devel] [Patch 1/1] .azurepipelines/templates: Update max pipeline job time to 2 hours
  2021-11-24  0:48 ` [edk2-devel] " Michael Kubacki
@ 2021-11-24  0:54   ` Michael D Kinney
  2021-11-24  2:01     ` Michael Kubacki
  0 siblings, 1 reply; 6+ messages in thread
From: Michael D Kinney @ 2021-11-24  0:54 UTC (permalink / raw)
  To: Michael Kubacki, devel@edk2.groups.io, Kinney, Michael D
  Cc: Sean Brogan, Bret Barkelew, Liming Gao, Michael Kubacki

Hi Michael,

I would like to see some optimization work applied to the ECC tool to see if
we can reduce the time that tool requires.  If we find some easy improvements
that allow larger patch series to complete in 60 minutes, then I am in favor
of reducing back down to 60 minutes.

Unless we actually see jobs running more than 60 minutes or hitting the 120
minute timeout, I do not see this patch causing problems.  We can do an audit
of PRs once is a while to see what the job execution times are.

If we do want to reduce, it will have to be a separate patch after uncrustify
set of PRs is applied.

Mike

> -----Original Message-----
> From: Michael Kubacki <mikuback@linux.microsoft.com>
> Sent: Tuesday, November 23, 2021 4:49 PM
> To: devel@edk2.groups.io; Kinney, Michael D <michael.d.kinney@intel.com>
> Cc: Sean Brogan <sean.brogan@microsoft.com>; Bret Barkelew <Bret.Barkelew@microsoft.com>; Liming Gao
> <gaoliming@byosoft.com.cn>; Michael Kubacki <michael.kubacki@microsoft.com>
> Subject: Re: [edk2-devel] [Patch 1/1] .azurepipelines/templates: Update max pipeline job time to 2 hours
> 
> Hi Mike,
> 
> Is the plan to keep it at a 2 hour limit indefinitely (not just for
> these large series currently outstanding)?
> 
> Thanks,
> Michael
> 
> On 11/23/2021 7:44 PM, Michael D Kinney wrote:
> > REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3750
> >
> > Large patches that modify a large number of files(e.g uncrustify)
> > take longer to process through CI checks such as ECC.  Increase
> > the max job time from 1 hour to 2 hours to accommodate larger patch
> > series.
> >
> > Cc: Sean Brogan <sean.brogan@microsoft.com>
> > Cc: Bret Barkelew <Bret.Barkelew@microsoft.com>
> > Cc: Liming Gao <gaoliming@byosoft.com.cn>
> > Cc: Michael Kubacki <michael.kubacki@microsoft.com>
> > Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
> > ---
> >   .azurepipelines/templates/pr-gate-build-job.yml | 2 +-
> >   1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/.azurepipelines/templates/pr-gate-build-job.yml b/.azurepipelines/templates/pr-gate-build-job.yml
> > index d5b16c127f58..244cffdbfaba 100644
> > --- a/.azurepipelines/templates/pr-gate-build-job.yml
> > +++ b/.azurepipelines/templates/pr-gate-build-job.yml
> > @@ -17,7 +17,7 @@ parameters:
> >   jobs:
> >
> >   - job: Build_${{ parameters.tool_chain_tag }}
> > -
> > +  timeoutInMinutes: 120
> >     #Use matrix to speed up the build process
> >     strategy:
> >       matrix:
> >

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [edk2-devel] [Patch 1/1] .azurepipelines/templates: Update max pipeline job time to 2 hours
  2021-11-24  0:54   ` Michael D Kinney
@ 2021-11-24  2:01     ` Michael Kubacki
  0 siblings, 0 replies; 6+ messages in thread
From: Michael Kubacki @ 2021-11-24  2:01 UTC (permalink / raw)
  To: Kinney, Michael D, devel@edk2.groups.io
  Cc: Sean Brogan, Bret Barkelew, Liming Gao, Michael Kubacki

I wouldn't expect it to extend past 1 hour that often either. An 
occasional audit sounds good though.

Do you think a BZ could be filed to track the ECC optimization work? I 
didn't see anything obvious with a quick search.

Thanks,
Michael

On 11/23/2021 7:54 PM, Kinney, Michael D wrote:
> Hi Michael,
> 
> I would like to see some optimization work applied to the ECC tool to see if
> we can reduce the time that tool requires.  If we find some easy improvements
> that allow larger patch series to complete in 60 minutes, then I am in favor
> of reducing back down to 60 minutes.
> 
> Unless we actually see jobs running more than 60 minutes or hitting the 120
> minute timeout, I do not see this patch causing problems.  We can do an audit
> of PRs once is a while to see what the job execution times are.
> 
> If we do want to reduce, it will have to be a separate patch after uncrustify
> set of PRs is applied.
> 
> Mike
> 
>> -----Original Message-----
>> From: Michael Kubacki <mikuback@linux.microsoft.com>
>> Sent: Tuesday, November 23, 2021 4:49 PM
>> To: devel@edk2.groups.io; Kinney, Michael D <michael.d.kinney@intel.com>
>> Cc: Sean Brogan <sean.brogan@microsoft.com>; Bret Barkelew <Bret.Barkelew@microsoft.com>; Liming Gao
>> <gaoliming@byosoft.com.cn>; Michael Kubacki <michael.kubacki@microsoft.com>
>> Subject: Re: [edk2-devel] [Patch 1/1] .azurepipelines/templates: Update max pipeline job time to 2 hours
>>
>> Hi Mike,
>>
>> Is the plan to keep it at a 2 hour limit indefinitely (not just for
>> these large series currently outstanding)?
>>
>> Thanks,
>> Michael
>>
>> On 11/23/2021 7:44 PM, Michael D Kinney wrote:
>>> REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3750
>>>
>>> Large patches that modify a large number of files(e.g uncrustify)
>>> take longer to process through CI checks such as ECC.  Increase
>>> the max job time from 1 hour to 2 hours to accommodate larger patch
>>> series.
>>>
>>> Cc: Sean Brogan <sean.brogan@microsoft.com>
>>> Cc: Bret Barkelew <Bret.Barkelew@microsoft.com>
>>> Cc: Liming Gao <gaoliming@byosoft.com.cn>
>>> Cc: Michael Kubacki <michael.kubacki@microsoft.com>
>>> Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
>>> ---
>>>    .azurepipelines/templates/pr-gate-build-job.yml | 2 +-
>>>    1 file changed, 1 insertion(+), 1 deletion(-)
>>>
>>> diff --git a/.azurepipelines/templates/pr-gate-build-job.yml b/.azurepipelines/templates/pr-gate-build-job.yml
>>> index d5b16c127f58..244cffdbfaba 100644
>>> --- a/.azurepipelines/templates/pr-gate-build-job.yml
>>> +++ b/.azurepipelines/templates/pr-gate-build-job.yml
>>> @@ -17,7 +17,7 @@ parameters:
>>>    jobs:
>>>
>>>    - job: Build_${{ parameters.tool_chain_tag }}
>>> -
>>> +  timeoutInMinutes: 120
>>>      #Use matrix to speed up the build process
>>>      strategy:
>>>        matrix:
>>>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [edk2-devel] [Patch 1/1] .azurepipelines/templates: Update max pipeline job time to 2 hours
  2021-11-24  0:44 [Patch 1/1] .azurepipelines/templates: Update max pipeline job time to 2 hours Michael D Kinney
  2021-11-24  0:48 ` [edk2-devel] " Michael Kubacki
@ 2021-11-24  2:02 ` Michael Kubacki
  2021-11-26 15:51 ` Sean
  2 siblings, 0 replies; 6+ messages in thread
From: Michael Kubacki @ 2021-11-24  2:02 UTC (permalink / raw)
  To: devel, michael.d.kinney
  Cc: Sean Brogan, Bret Barkelew, Liming Gao, Michael Kubacki

Reviewed-by: Michael Kubacki <michael.kubacki@microsoft.com>

On 11/23/2021 7:44 PM, Michael D Kinney wrote:
> REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3750
> 
> Large patches that modify a large number of files(e.g uncrustify)
> take longer to process through CI checks such as ECC.  Increase
> the max job time from 1 hour to 2 hours to accommodate larger patch
> series.
> 
> Cc: Sean Brogan <sean.brogan@microsoft.com>
> Cc: Bret Barkelew <Bret.Barkelew@microsoft.com>
> Cc: Liming Gao <gaoliming@byosoft.com.cn>
> Cc: Michael Kubacki <michael.kubacki@microsoft.com>
> Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
> ---
>   .azurepipelines/templates/pr-gate-build-job.yml | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/.azurepipelines/templates/pr-gate-build-job.yml b/.azurepipelines/templates/pr-gate-build-job.yml
> index d5b16c127f58..244cffdbfaba 100644
> --- a/.azurepipelines/templates/pr-gate-build-job.yml
> +++ b/.azurepipelines/templates/pr-gate-build-job.yml
> @@ -17,7 +17,7 @@ parameters:
>   jobs:
>   
>   - job: Build_${{ parameters.tool_chain_tag }}
> -
> +  timeoutInMinutes: 120
>     #Use matrix to speed up the build process
>     strategy:
>       matrix:
> 

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [edk2-devel] [Patch 1/1] .azurepipelines/templates: Update max pipeline job time to 2 hours
  2021-11-24  0:44 [Patch 1/1] .azurepipelines/templates: Update max pipeline job time to 2 hours Michael D Kinney
  2021-11-24  0:48 ` [edk2-devel] " Michael Kubacki
  2021-11-24  2:02 ` Michael Kubacki
@ 2021-11-26 15:51 ` Sean
  2 siblings, 0 replies; 6+ messages in thread
From: Sean @ 2021-11-26 15:51 UTC (permalink / raw)
  To: devel, michael.d.kinney
  Cc: Sean Brogan, Bret Barkelew, Liming Gao, Michael Kubacki

Reviewed-by: Sean Brogan <sean.brogan@microsoft.com>

On 11/23/2021 4:44 PM, Michael D Kinney wrote:
> REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3750
> 
> Large patches that modify a large number of files(e.g uncrustify)
> take longer to process through CI checks such as ECC.  Increase
> the max job time from 1 hour to 2 hours to accommodate larger patch
> series.
> 
> Cc: Sean Brogan <sean.brogan@microsoft.com>
> Cc: Bret Barkelew <Bret.Barkelew@microsoft.com>
> Cc: Liming Gao <gaoliming@byosoft.com.cn>
> Cc: Michael Kubacki <michael.kubacki@microsoft.com>
> Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
> ---
>   .azurepipelines/templates/pr-gate-build-job.yml | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/.azurepipelines/templates/pr-gate-build-job.yml b/.azurepipelines/templates/pr-gate-build-job.yml
> index d5b16c127f58..244cffdbfaba 100644
> --- a/.azurepipelines/templates/pr-gate-build-job.yml
> +++ b/.azurepipelines/templates/pr-gate-build-job.yml
> @@ -17,7 +17,7 @@ parameters:
>   jobs:
>   
>   - job: Build_${{ parameters.tool_chain_tag }}
> -
> +  timeoutInMinutes: 120
>     #Use matrix to speed up the build process
>     strategy:
>       matrix:
> 

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-11-26 15:51 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-11-24  0:44 [Patch 1/1] .azurepipelines/templates: Update max pipeline job time to 2 hours Michael D Kinney
2021-11-24  0:48 ` [edk2-devel] " Michael Kubacki
2021-11-24  0:54   ` Michael D Kinney
2021-11-24  2:01     ` Michael Kubacki
2021-11-24  2:02 ` Michael Kubacki
2021-11-26 15:51 ` Sean

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox