pki-bot / pki-issues-final

0 stars 0 forks source link

Too generic selftest error messages #1318

Closed pki-bot closed 4 years ago

pki-bot commented 4 years ago

This issue was migrated from Pagure Issue #1328. Originally filed by edewata (@edewata) on 2015-03-26 00:28:42:


If an error happens in SelfTestSubsystem initialization, the code will generate a generic error message without describing what's actually considered "invalid".

[22/Mar/2015:06:45:10][main]: CMS:Caught EBaseException
The self test plugin named selftests.container.logger.class contains a value com.netscape.cms.logging.RollingLogFile which is invalid.
    at com.netscape.cmscore.selftests.SelfTestSubsystem.init(SelfTestSubsystem.java:1422)
    at com.netscape.cmscore.apps.CMSEngine.initSubsystem(CMSEngine.java:866)
    ...

Ideally the code should describe the error, throw the original exception, or chain the exception.

pki-bot commented 4 years ago

Comment from edewata (@edewata) at 2015-03-26 00:33:34

pki-edewata-0561-Fixed-generic-error-message-in-SelfTestSubsystem.patch pki-edewata-0561-Fixed-generic-error-message-in-SelfTestSubsystem.patch

pki-bot commented 4 years ago

Comment from mharmsen (@mharmsen) at 2015-03-30 20:27:15

Per CS/DS Meeting of 03/30/2015: Dogtag 9.0.x

pki-bot commented 4 years ago

Comment from edewata (@edewata) at 2015-12-02 00:48:11

This will help investigating selftest failures such as ticket 1697.

pki-bot commented 4 years ago

Comment from edewata (@edewata) at 2015-12-02 03:26:01

Fixed in master: 6a9990784b3a5ff18a800a288e8d1af173c7ae6e

pki-bot commented 4 years ago

Comment from mharmsen (@mharmsen) at 2016-01-27 00:02:34

Ticket has been cloned to Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1302134

pki-bot commented 4 years ago

Comment from edewata (@edewata) at 2017-02-27 14:12:22

Metadata Update from @edewata: