On 08/12/2019 08:24 AM, Tom Stellard wrote:
On 08/12/2019 05:54 AM, Bruno Goncalves wrote:
> On Mon, Aug 12, 2019 at 2:39 PM Petr Šplíchal <psplicha(a)redhat.com> wrote:
>>
>> Hi Tom,
>>
>> as far as I know the timeout in the Fedora CI pipeline is hardcoded to 4 hours
and I don't think there is currently a way how this default can be configured. Bruno,
can you confirm this?
>>
>
> Correct, this is hardcoded in the pipeline, we currently don't have a
> way to dynamically change it. We didn't expect any test playbook to
> take longer than 4hrs to execute. Would be possible to split the test
> in separate tests*.yml playbook? As each tests*.yml would run in a
> clean environment and each one would have 4hrs as timeout.
>
I will try splitting the test out into a separate playbook.
This wasn't enough to get me under the limit. I'm trying to
do a mockbuild of the llvm package for one of the tests
which is what is taking so long. I'm not even sure
if the suggested 6 hour timeout would be enough.
Is there some other change that can be made to accommodate
doing mockbuids as CI tests? Like maybe a specific mockbuild
test type? I am interested in adding more of these types of
tests for testing clang and they could be useful for other compilers,
like gcc, golang, rust, etc.
In addition to extra timeout these tests often need extra memory too
(which I am currently requesting using the provision.fmf) and maybe
extra cores (which might help with the timeouts).
I do plan on attending the first 30 minutes of the CI SIG tomorrow
and can discuss this more at the meeting if needed.
-Tom
On brew it takes 1.5
hours to do a build on a 6 core machine. Is there
Thanks,
Tom
> Bruno
>
>> The duration attribute you mention is not implemented yet (see the status field).
It is part of the L1 metadata proposal which is still work in progress. On the Flock last
week we've just presented the first PoC implementing L1 & L2 metadata.
>>
>> psss...
>>
>> On Thu, 8 Aug 2019 at 18:35, Tom Stellard <tstellar(a)redhat.com> wrote:
>>>
>>> Hi,
>>>
>>> I've tried to increase the test timeout for the llvm package by adding
>>> a duration.fmf file to my tests/ directory.
>>>
>>> The file contents look like this:
>>>
>>> [tstellar@pkg tests]$ cat duration.fmf
>>> ---
>>> duration: 6h
>>>
>>>
>>> This did not seem to work for the latest test run:
>>>
https://jenkins-continuous-infra.apps.ci.centos.org/job/fedora-rawhide-pr...
>>>
>>>
>>> Is this the correct way to specify a timeout?
>>>
>>> -Tom
>>> _______________________________________________
>>> CI mailing list -- ci(a)lists.fedoraproject.org
>>> To unsubscribe send an email to ci-leave(a)lists.fedoraproject.org
>>> Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
>>> List Guidelines:
https://fedoraproject.org/wiki/Mailing_list_guidelines
>>> List Archives:
https://lists.fedoraproject.org/archives/list/ci@lists.fedoraproject.org
> _______________________________________________
> CI mailing list -- ci(a)lists.fedoraproject.org
> To unsubscribe send an email to ci-leave(a)lists.fedoraproject.org
> Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines:
https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives:
https://lists.fedoraproject.org/archives/list/ci@lists.fedoraproject.org
>