-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Low
-
None
-
Affects Version/s: 7.2.9, 8.1.8, 8.2.4, 8.0.9
-
Component/s: Agents, Dashboard, Elastic Bamboo, Logs
-
5
-
Severity 3 - Minor
-
1
Problem
Build timestamps in logs and on the server UI are inconsistent when Server and Agents have different TZs
Is it reproducible on Bamboo Data Center? ![]()
Environment
Bamboo 8
Steps to Reproduce
- Configure a Bamboo server with a timezone
- Configure a Bamboo agent with a different timezone from the Server
- Run a build on the Bamboo Agent
- Check the build logs for different timezones in the timestamps
- Check the build dashboard, it will always refer to the Agent TZ
The timezone can be either inherited from the operating system or forced by a Java user.timezone property
Expected Results
Bamboo should follow a single timezone on the UI and in the logs, preferably the one used on the server.
Actual Results
- On the build logs, different timezones will pop up on the same log file; being part from the server TZ and part from the agent TZ
Agent is Australia/Sydney, Server is Pacific/Honolulu
... simple 19-Jul-2022 17:25:13 Finished task 'Create tag' with result: Success simple 19-Jul-2022 17:25:13 Running post build plugin 'Docker Container Cleanup' simple 19-Jul-2022 17:25:13 Running post build plugin 'NCover Results Collector' simple 19-Jul-2022 17:25:13 Running post build plugin 'Build Results Label Collector' simple 19-Jul-2022 17:25:13 Running post build plugin 'Clover Results Collector' simple 19-Jul-2022 17:25:13 Running post build plugin 'npm Cache Cleanup' simple 19-Jul-2022 17:25:13 Running post build plugin 'Artifact Copier' simple 19-Jul-2022 17:25:13 Finalising the build... simple 19-Jul-2022 17:25:13 Stopping timer. simple 19-Jul-2022 17:25:13 Build DEF-BIG1-JOB1-2 completed. simple 18-Jul-2022 21:25:14 Running on server: post build plugin 'Build Hanging Detection Configuration' simple 18-Jul-2022 21:25:14 Running on server: post build plugin 'NCover Results Collector' simple 18-Jul-2022 21:25:14 Running on server: post build plugin 'Build Labeller' simple 18-Jul-2022 21:25:14 Running on server: post build plugin 'Clover Delta Calculator' simple 18-Jul-2022 21:25:14 Running on server: post build plugin 'Maven Dependencies Postprocessor' simple 18-Jul-2022 21:25:14 All post build plugins have finished ...
- On the Bamboo build dashboard, the shown timestamp will always refer to the Agent's timezone and may create confusion if showing a future date in case the Server TZ is way behind the server's.
E.g Both screenshots are for the same build, the Build result summary reports 18/07, whilst the Recently built dashboard reports 19/07
Workaround
Use the same timezone on both Bamboo Server and Agents
- mentioned in
-
Page Loading...