Univention Bugzilla – Bug 36160
99check_log_files should ignore some warnings
Last modified: 2014-11-26 06:54:31 CET
The following warnings should be ignored by 99check_log_files: * Failed to load license information: 'univentionLicenseKeyID' * Failed to load license information: [Errno 2] No such file or directory: '/etc/machine.secret' * W: failed to convert the username messagebus to the uid * Configure /usr/lib/univention-install/02univention-directory-notifier.inst Starting Univention Directory Notifier daemon. warning: univention-directory-notifier: unable to open supervise/ok: file does not exist failed.
(In reply to Stefan Gohmann from comment #0) > The following warnings should be ignored by 99check_log_files: > > * Failed to load license information: 'univentionLicenseKeyID' > > * Failed to load license information: [Errno 2] No such file or directory: > '/etc/machine.secret' Those two I believe should be ignored as long as there is no installation profile (/etc/univention/installation_profile) via check_installation_profile() and extend_log_ignore_definitions() functions. I'll have a look at the next Jenkins job output. > * W: failed to convert the username messagebus to the uid > * Configure /usr/lib/univention-install/02univention-directory-notifier.inst > Starting Univention Directory Notifier daemon. > warning: univention-directory-notifier: unable to open supervise/ok: file > does not exist Added: r54348: * Bug #36160: 00_base/check_log_files_definitions.py: ignore few more warnings/error messages. > failed. Is that exactly a single-word pattern we'd like to ignore? (i.e. string 'failed' should match?)
(In reply to Dmitry Galkin from comment #1) > > failed. > > Is that exactly a single-word pattern we'd like to ignore? (i.e. string > 'failed' should match?) See above, the message contains these lines: ------------------------------------------------------------------ Starting Univention Directory Notifier daemon. warning: univention-directory-notifier: unable to open supervise/ok: file does not exist failed. ------------------------------------------------------------------
(In reply to Stefan Gohmann from comment #2) > (In reply to Dmitry Galkin from comment #1) > > > failed. > > > > Is that exactly a single-word pattern we'd like to ignore? (i.e. string > > 'failed' should match?) > > See above, the message contains these lines: > ------------------------------------------------------------------ > Starting Univention Directory Notifier daemon. > warning: univention-directory-notifier: unable to open supervise/ok: file > does not exist > failed. > ------------------------------------------------------------------ Perhaps, not the most elegant solution, but preserves the original approach of the test: r54643: * Bug #36160: 00_base/99check_log_files: check extra case if a line == 'failed.' 00_base/check_log_files_definitions.py: extra ignore patterns added.
(In reply to Stefan Gohmann from comment #0) OK: Failed to load license information: OK: W: failed to convert the username messagebus to the uid > > * Configure /usr/lib/univention-install/02univention-directory-notifier.inst OK: Starting Univention Directory Notifier daemon. OK: warning: univention-directory-notifier: unable to open supervise/ok: file does not exist > failed. OK: r54348,r54643
UCS 4.0-0 has been released: http://docs.univention.de/release-notes-4.0-0-en.html http://docs.univention.de/release-notes-4.0-0-de.html If this error occurs again, please use "Clone This Bug".