[Pki-devel] [PATCH] 546 Disabling subsystem on selftest failure.

Endi Sukma Dewata edewata at redhat.com
Wed Jan 28 19:46:48 UTC 2015


On 1/27/2015 1:09 AM, Fraser Tweedale wrote:
> ACK.

Thanks. Pushed to master.

> I tested it by hardcoding an ESelfTestException in one of the tests.

It can also be tested by shortening the validity range in one of the 
system cert profiles (base/ca/shared/conf/*.profile):

2.default.params.range=1
2.default.params.rangeUnit=minute

> Behaved as expected, but in selftests.log is says:
>
>      SelfTestSubsystem: The CRITICAL self test plugin called selftests.container.instance.CAPresence running at startup FAILED!
>      SelfTestSubsystem: All CRITICAL self test plugins ran SUCCESSFULLY at startup!
>
> Not sure if this is intended behaviour - it is possibly intended,
> but if so it is quite confusing.  But I don't think your patch
> causes this.

Right. I opened a ticket for this:
https://fedorahosted.org/pki/ticket/1249

-- 
Endi S. Dewata




More information about the Pki-devel mailing list