Skip to content

[JENKINS-73845] end-of-life monitor shows wrong date #16562

@jenkins-infra-bot

Description

@jenkins-infra-bot

We have Jenkins masters on Ubuntu 20.04. They started showing end-of-life monitor alerts yesterday. According to the data in https://github.com/MarkEWaite/jenkins/blob/master/core/src/main/resources/jenkins/monitor/OperatingSystemEndOfLifeAdminMonitor/end-of-life-data.json#L131-L132 that is generally correct, as it's exactly 6 months from now.

However, the alert being shown doesn't use the date from the JSON file, but rather the default date from the Java code (the field initialization value at https://github.com/MarkEWaite/jenkins/blob/master/core/src/main/java/jenkins/monitor/OperatingSystemEndOfLifeAdminMonitor.java#L76)


Originally reported by bananeweizen, imported from: end-of-life monitor shows wrong date
  • assignee: allan_burdajewicz
  • status: Closed
  • priority: Minor
  • component(s): core
  • label(s): 2.492.1-fixed
  • resolution: Fixed
  • resolved: 2024-10-29T16:27:41+00:00
  • votes: 0
  • watchers: 4
  • imported: 2025-11-24
Raw content of original issue

We have Jenkins masters on Ubuntu 20.04. They started showing end-of-life monitor alerts yesterday. According to the data in https://github.com/MarkEWaite/jenkins/blob/master/core/src/main/resources/jenkins/monitor/OperatingSystemEndOfLifeAdminMonitor/end-of-life-data.json#L131-L132 that is generally correct, as it's exactly 6 months from now.

However, the alert being shown doesn't use the date from the JSON file, but rather the default date from the Java code (the field initialization value at https://github.com/MarkEWaite/jenkins/blob/master/core/src/main/java/jenkins/monitor/OperatingSystemEndOfLifeAdminMonitor.java#L76)

  • environment: Ubuntu 20.04
3 attachments

Metadata

Metadata

Assignees

No one assigned

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions