-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Low
-
None
-
Affects Version/s: 9.4.26
-
Component/s: System Administration - Audit Logs
-
None
-
1
-
Severity 3 - Minor
-
4
Issue Summary
Following an upgrade to Bitbucket 9.4.x (specifically reported in 9.4.26), the atlassian-bitbucket.log is flooded with WARN messages from AbstractSchedulerService. These warnings indicate that the scheduler is attempting to run jobs for which no runner is registered.
WARN [Caesium-1-4] c.a.s.core.AbstractSchedulerService Job 'BatchNotificationJobRunner' completed with non-success outcome: outcome=UNAVAILABLE durationMs=11 message='Job runner key 'com.atlassian.stash.internal.notification.batch.BatchNotificationJob$BatchNotificationJobRunner' is not registered' WARN [Caesium-1-4] c.a.s.core.AbstractSchedulerService Job 'com.atlassian.bitbucket.internal.audit.AuditCleanupJobRunner' completed with non-success outcome: outcome=UNAVAILABLE durationMs=9 message='Job runner key 'com.atlassian.bitbucket.internal.audit.AuditCleanupJobRunner' is not registered'
Steps to Reproduce
- Have a Bitbucket instance.
- Upgrade the instance to Bitbucket 9.4.26.
- Observe the atlassian-bitbucket.log.
Expected Results
Obsolete jobs should be automatically cleaned up during the upgrade process, or the scheduler should not log warnings for known legacy Atlassian jobs.
Actual Results
The logs are filled with "not registered" warnings, creating unnecessary noise for administrators and support teams.
The below exception is thrown in the atlassian-bitbucket.log file:
WARN [Caesium-1-4] c.a.s.core.AbstractSchedulerService Job 'BatchNotificationJobRunner' completed with non-success outcome: outcome=UNAVAILABLE durationMs=11 message='Job runner key 'com.atlassian.stash.internal.notification.batch.BatchNotificationJob$BatchNotificationJobRunner' is not registered' WARN [Caesium-1-4] c.a.s.core.AbstractSchedulerService Job 'com.atlassian.bitbucket.internal.audit.AuditCleanupJobRunner' completed with non-success outcome: outcome=UNAVAILABLE durationMs=9 message='Job runner key 'com.atlassian.bitbucket.internal.audit.AuditCleanupJobRunner' is not registered'
Workaround
Manually delete the stale rows from the database:
DELETE FROM bb_clusteredjob WHERE job_id IN ('BatchNotificationJobRunner', 'com.atlassian.bitbucket.internal.audit.AuditCleanupJobRunner');