[Buildroot] [buildroot-test] scripts/autobuild-run: extend timeout from 120 to 180 minutes

Giulio Benetti giulio.benetti at benettiengineering.com
Sat Jan 1 20:43:30 UTC 2022


On 01/01/22 21:09, Thomas Petazzoni wrote:
> Hello,
> 
> On Sat, 1 Jan 2022 16:10:09 +0100
> Giulio Benetti <giulio.benetti at benettiengineering.com> wrote:
> 
>>> Please
>>> note that this HUNG_BUILD_TIMEOUT value is the per-step timeout: it
>>> verifies that one step of one particular package doesn't take more than
>>> 120 minutes.
>>
>> Ah, I thought the entire build, but that makes no sense since some build
>> can take way more than 2 hours.
> 
> There used to be a global timeout for the build, but we had false
> positives when really large configurations were built. Due to this,
> commit 86892c63f754b4f6c9a4a517fde30160127b3506 change to a more fine
> grained timeout: we monitor the file build-time.log (which gets
> appended everytime the step of a package starts or ends), and we time
> out after HUNG_BUILD_TIMEOUT minutes if that file hasn't changed;

Thank you for the explanation

>>> Did you identify that the python-uvloop and python-lxml packages really
>>> took more than 2 hours to build? I did see at
>>> http://autobuild.buildroot.net/?status=TIMEOUT those timeouts dating
>>> back from ~November. Did you reproduce the issue, and verified that the
>>> build indeed completes at some point? In general, if a simple package
>>> such as python-uvloop or python-lxml takes more than 2 hours to build,
>>> it means that the compiler (or linker) has gone crazy in an infinite
>>> loop, and the build will in fact never finish.
>>
>> It was only my suspicious as specified in commit log. I couldn't
>> reproduce it and I thought it was due to the autobuilder's host.
>>
>> And yes, now that I know it's a per-step timeout it doesn't make sense
>> at all for such little packages.
> 
> Yes, for such small packages, it clearly hints at a compiler/linker bug
> that stays stuck in an infinite loop.

Yes, that was the reason I was looking for in the beginning :-)

Best regards
-- 
Giulio Benetti
Benetti Engineering sas



More information about the buildroot mailing list