Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-8968

Store/parse date in BuildUtils using consistent timezone (ie, UTC)

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Fixed
    • 3.2 M2, 3.2
    • None
    • None
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      Series of events:

      • Someone cuts a release of Bamboo in Australia, the time in BuildUtils.java is an Australian time, eg 14:00 AEST, or 04:00 UTC, or 21:00 the day before PST.
      • Studio consumes that release immediately, and commits the update
      • Studios Bamboo server attempts to build and run studio func tests
      • The date is parsed in BuildUtils.java, and is read in as 14:00PST, because the timezone of the build server is PST. Current time is 22:00PST the day before, so the build date is 18 hours in the future.
      • Studio has a 3 hour time bomb license, so the maintenance expiry date is 3 hours from now (22:00 PST), which is 01:00 PST, 13 hours before the date parsed from BuildUtils.java
      • Bamboo refuses to start saying the build is too new for the maintenance period. Studio team has to wait 13 hours before their build starts working again.

      Storing and parsing the date using the same time zone would fix this issue.

      Attachments

        Issue Links

          Activity

            People

              mgardias Marcin Gardias
              jroper James Roper [Atlassian]
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: