[JIRA] (JENKINS-61972) Time is wrongly displayed on running Jobs

23 views
Skip to first unread message

dag.wieers@gmail.com (JIRA)

unread,
Apr 20, 2020, 6:33:02 AM4/20/20
to jenkinsc...@googlegroups.com
Dag Wieers created an issue
 
Jenkins / Bug JENKINS-61972
Time is wrongly displayed on running Jobs
Issue Type: Bug Bug
Assignee: Unassigned
Attachments: Screenshot from 2020-04-20 11-43-45.png, Screenshot from 2020-04-20 11-47-00.png, Screenshot from 2020-04-20 11-48-41.png
Components: core
Created: 2020-04-20 10:32
Environment: Jenkins ver. 2.204.1
Priority: Minor Minor
Reporter: Dag Wieers

It appears there is an issue with Jenkins displaying time. I have suffered from two issues of which the second is more problematic.

When I started using Jenkins at $NEW_COMPANY I had configured my timezone to be Europe/Brussels (CEST). And while Jenkins reported time as CEST, the actual time shown was UTC.

The below job was started at 11:36 CEST !

I assumed there was a timezone/time misconfiguration on the Jenkins server itself. After reporting we started to play around with the settings. I believed when changing my user timezone to Etc/UTC I would see a reported time with 2 hours behind. But lo and behold, the UTC time was the same (and correctly so) reported as UTC.

So no problem for people living in a UTC timezone. However when going back to timezone Europe/Brussels, now the behavior was different:

On initial refresh of the page all times were correct displaying the correct timezone. However a second later the time is updated using UTC time and CEST reported as timezone.

So I experienced 2 problems, of which the second is worse as there appears no corrective action.

  • After initially setting up the correct timezone, all reported times where UTC while reporting the (user configured) CEST timezone (so 2 hours behind real time)
  • When switching to UTC and back to CEST, only the running jobs are showing UTC time with a report CEST timezone
Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)
Atlassian logo

dag.wieers@gmail.com (JIRA)

unread,
Apr 20, 2020, 6:38:04 AM4/20/20
to jenkinsc...@googlegroups.com
Dag Wieers updated an issue
Change By: Dag Wieers
Attachment: Screenshot from 2020-04-20 12-36-36.png

dag.wieers@gmail.com (JIRA)

unread,
Apr 20, 2020, 6:40:03 AM4/20/20
to jenkinsc...@googlegroups.com
Dag Wieers commented on Bug JENKINS-61972
 
Re: Time is wrongly displayed on running Jobs

I can actually reproduce this issue on ci.jenkins.io !

https://ci.jenkins.io/job/Infra/job/jenkins.io/job/PR-3084/

The below job was started at 12:31 AM CEST, and it was reported correctly and quickly replaced with the wrong UTC time.

dag.wieers@gmail.com (JIRA)

unread,
Apr 20, 2020, 7:17:04 AM4/20/20
to jenkinsc...@googlegroups.com

I recorded a small video with the issue happening when reloading the page.

[^Screencast from 20-04-20 13:14:37.webm]

dag.wieers@gmail.com (JIRA)

unread,
Apr 20, 2020, 7:18:02 AM4/20/20
to jenkinsc...@googlegroups.com

I recorded a small video with the issue happening when reloading the page.

[^Screencast from 20-04-20 131437.webm]

dag.wieers@gmail.com (JIRA)

unread,
Apr 20, 2020, 7:18:02 AM4/20/20
to jenkinsc...@googlegroups.com
Dag Wieers updated an issue
Change By: Dag Wieers
Attachment: Screencast from 20-04-20 131414.webm

dag.wieers@gmail.com (JIRA)

unread,
Apr 20, 2020, 7:19:02 AM4/20/20
to jenkinsc...@googlegroups.com
Dag Wieers updated an issue
Change By: Dag Wieers
Attachment: Screencast from 20-04-20 131437.webm

dag.wieers@gmail.com (JIRA)

unread,
Apr 20, 2020, 7:19:03 AM4/20/20
to jenkinsc...@googlegroups.com
Dag Wieers updated an issue
Change By: Dag Wieers
Comment:
I recorded a small video with the issue happening when reloading the page.

[^Screencast from 20-04-20 13:14:37.webm]

dag.wieers@gmail.com (JIRA)

unread,
Apr 20, 2020, 7:19:03 AM4/20/20
to jenkinsc...@googlegroups.com
Dag Wieers updated an issue
Change By: Dag Wieers
Attachment: Screencast from 20-04-20 131414.webm

dag.wieers@gmail.com (JIRA)

unread,
Apr 20, 2020, 7:19:03 AM4/20/20
to jenkinsc...@googlegroups.com
Dag Wieers updated an issue
Change By: Dag Wieers
Attachment: Screencast from 20-04-20 131437.webm

dag.wieers@gmail.com (JIRA)

unread,
Apr 20, 2020, 7:20:02 AM4/20/20
to jenkinsc...@googlegroups.com
Dag Wieers updated an issue
Change By: Dag Wieers
Comment:
I recorded a small video with the issue happening when reloading the page.

[^Screencast from 20-04-20 131437.webm]

jglick@cloudbees.com (JIRA)

unread,
Apr 24, 2020, 5:22:02 PM4/24/20
to jenkinsc...@googlegroups.com

nate@nathangrubb.io (JIRA)

unread,
Apr 25, 2020, 10:29:03 AM4/25/20
to jenkinsc...@googlegroups.com

Dag Wieers Can you confirm that if you disable your user time zone setting if everything works as expected? I think when I initially developed this feature I was testing with Jenkins using UTC time but in hindsight that wasn't a very good idea as that's the easiest case. I will look into improving this feature.

dag.wieers@gmail.com (JIRA)

unread,
Apr 26, 2020, 3:58:03 PM4/26/20
to jenkinsc...@googlegroups.com

I already confirmed this in my examples.

Reply all
Reply to author
Forward
0 new messages