[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-release-team
Subject:    Re: Test execution for all of PIM
From:       Ben Cooksley <bcooksley () kde ! org>
Date:       2019-02-05 18:14:28
Message-ID: CA+XidOHrgXThThDr6wb4vtKWJtxWxJgCdG-5iLAM9AQt+xGgHg () mail ! gmail ! com
[Download RAW message or body]

On Wed, Feb 6, 2019 at 2:49 AM Daniel Vr=C3=A1til <me@dvratil.cz> wrote:
>
> On Sunday, February 3, 2019 6:37:49 PM CET David Faure wrote:
> > On vendredi 4 janvier 2019 20:26:53 CET Ben Cooksley wrote:
> > > Once again, akonadi_knut_resource had failed to exit as it should.
> >
> > I just had an idea about this. How about I make the knut resource commi=
t
> > suicide, 30 minutes after starting? We never need it for that long anyw=
ay.
>
> I'm pretty sure you can go lower than 30 minutes (even 10 minutes is
> generous). Ideally make be configurable through an env variable.
>
> The question is how to make sure the test is failed when the resource get=
s
> stuck.

In all the cases i've seen, the test executable itself has already
exited which means the test pass/fail criterion has already been
determined so it won't be possible to make it a hard failure i'm
afraid.

One thing I have observed though is that sometimes it isn't just the
knut_resource which is sticking around - in some cases it's the whole
akonadi_control / akonadiserver / knut_resource / mysqld combo.
Thoughts?

>
> > If I implement that, do you agree to re-enabling CI for kdepim?
> > It smells a bit like a workaround, but better than no CI.
>

Having it exit after a reasonable timeout period would solve the problem ye=
s.

Cheers,
Ben
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic