History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: QB-2287
Type: Bug Bug
Status: Closed Closed
Resolution: Won't Fix
Priority: Minor Minor
Assignee: Robin Shen
Reporter: Alexey Shumkin
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
QuickBuild

Time displayed in build logs, "Audit log", "System Date and Time" differs from server log time and local timezone.

Created: 13/Jan/15 09:25 AM   Updated: 14/Jan/15 10:12 AM
Component/s: None
Affects Version/s: 5.1.39
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
Environment:
Server Information
System Date and Time 2015-01-13 13:07:17
Operating System Linux 3.13.0-32-generic, amd64
JVM OpenJDK 64-Bit Server VM 1.7.0_65, Oracle Corporation
QuickBuild Version 5.1.39 - Thu Nov 27 05:10:55 MSK 2014
Total Heap Memory 910,50 MB
Used Heap Memory 200,25 MB
Heap Memory Usage
21%
OS User Name quickbuild


 Description  « Hide
I have QB installed on Ubuntu 12.04.5 LTS
Local timezone is 'Europe/Moscow'.
Recently (on 26 Oct 2014), timezone for Moscow changed from GMT+04:00 changed to GMT+03:00.
But time for build, in audit log, server information (Server Date and Time) shows time with GMT+04:00, although server log records contain appropriate local time.

Here some cuts:

Audit log for build
    Show activities from to by
Time User Event Source Activity
..
Jan 13, 12:22:27, Tue me This configuration Build was requested.

Build summary
Summary
Id Status Begin Date Duration Triggered By #Dependents [Number of builds using this build as dependencies] #Dependencies [Number of dependency builds used by this build]
2332 Successful 2015-01-13 12:22:30 1 minute 58 seconds ashu (Shumkin Alexey) 0 builds 0 builds

Build log:
11:22:30,589 INFO - Executing pre-execute action...
11:22:30,589 INFO - Running step...
11:22:30,745 INFO - Checking step execute condition...
11:22:30,745 INFO - Step execute condition satisfied, executing...
11:22:30,917 INFO - Executing pre-execute action...
11:22:30,917 INFO - Running step...
11:22:30,917 INFO - Nothing to do in dummy step.
11:22:30,917 INFO - Executing post-execute action...
11:22:31,105 INFO - Checking step execute condition...
11:22:31,105 INFO - Step execute condition satisfied, executing...
11:22:31,136 INFO - Executing pre-execute action...
11:22:31,136 INFO - Running step...
11:22:31,167 INFO - Checking step execute condition...
11:22:31,167 INFO - Step execute condition satisfied, executing...
11:22:31,199 INFO - Executing pre-execute action...
11:22:31,230 INFO - Running step...
11:22:31,230 INFO - Checking out revision 'c52d8d9e6211879f2f89eb28b91fd52988ca91ce' of repository 'Git'...
11:22:31,230 DEBUG - Executing command: git checkout -f c52d8d9e6211879f2f89eb28b91fd52988ca91ce
11:22:31,230 DEBUG - Command working directory: ...
11:22:31,824 WARN - Previous HEAD position was aa980e6... fixed: server: wsdl is not shown on `/wsdl` action
11:22:31,886 INFO - HEAD is now at c52d8d9... fixed: examples: config for Apache 2.2
11:22:31,917 DEBUG - Executing command: git submodule update --init --recursive
11:22:31,917 DEBUG - Command working directory: ...
11:23:30,995 INFO - Getting changes of 'Git' since build '0.0.5.67'...

Server log:
2015-01-13 11:22:27,616 [pool-1-thread-13] INFO com.pmease.quickbuild.DefaultBuildEngine - Processing build request (configuration:..., request id:3af984e7-03a5-4e29-9b59-a339419fc2bd)
2015-01-13 11:22:27,684 [pool-1-thread-13] INFO com.pmease.quickbuild.DefaultBuildEngine - Checking build condition on node (address: drcis-2003:8811, ip: 172.20.140.143)...
2015-01-13 11:22:30,549 [pool-1-thread-13] INFO com.pmease.quickbuild.DefaultBuildEngine - New build version is calculated as '0.0.5.68'.
2015-01-13 11:23:31,380 [qtp898824134-60] INFO com.pmease.quickbuild.plugin.report.changes.generator.DefaultChangesRecorder - Deleting all old changesets and modifications ...
2015-01-13 11:23:31,382 [qtp898824134-60] INFO com.pmease.quickbuild.plugin.report.changes.generator.DefaultChangesRecorder - Saving all changesets for build 2332 in repository Git
2015-01-13 11:23:31,390 [qtp898824134-60] INFO com.pmease.quickbuild.plugin.report.changes.generator.DefaultChangesRecorder - Saving commit stats for build 2332

N.B. in Environment section of this issue:
System Date and Time 2015-01-13 13:07:17, although I've copied that at 12:07 MSK

 All   Comments   Work Log   Change History      Sort Order:
Robin Shen [14/Jan/15 12:23 AM]
Firstable please turn off "Detect Time Zone" option in system setting, and then restart QB server to see if the problem can be fixed.

Alexey Shumkin [14/Jan/15 07:45 AM]
Ops, I missed that option when I've searched for options that can affect to such a behaviour.
This option has been tuned off. I've turned it on and the issue has gone.
Thank you.