[jbosstools-issues] [JBoss JIRA] (JBIDE-22244) BZ-JIRA job configuration does not take timezones into account

Nick Boldt (JIRA) issues at jboss.org
Wed Apr 27 12:16:00 EDT 2016


    [ https://issues.jboss.org/browse/JBIDE-22244?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13197958#comment-13197958 ] 

Nick Boldt commented on JBIDE-22244:
------------------------------------

Suspect the reason I don't see this is that I live in the same timezone as the Eclipse Bugzilla server. :D

So, I've bumped the value of HOURS = 6 to HOURS = 8, which should give 5 or 6 timezones (daylight savings) of offeset from UTC + 2 hrs of overlap to ensure we grab everything.

Also kicked the job again to refresh the last 250 hours, just in case anything was missed. 

I could spend time making the script run in UTC instead of local TZ, but we have more pressing matters.

> BZ-JIRA job configuration does not take timezones into account
> --------------------------------------------------------------
>
>                 Key: JBIDE-22244
>                 URL: https://issues.jboss.org/browse/JBIDE-22244
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 4.3.1.Final
>            Reporter: Xavier Coulon
>            Assignee: Max Rydahl Andersen
>
> it seems like the default {{HOURS}} value ('2') for the job that copies bugzilla issues into JIRA (in the ERT project) is not enough to catch the changes. This might be due to the timezones, since the script run by the job and the job itself do not use the same timezone. 
> for example: 
> - I created an issue in BZ: https://bugs.eclipse.org/bugs/show_bug.cgi?id=492420 on 2016-04-26 03:07:04 EDT
> - I then manually kicked the job with the {{HOURS}} value set to {{2}} (Build #2073 - Apr 26, 2016 3:19:03 AM). (I assume the TZ is EDT here, too.)
> - The script output contains the following lines:
> {{code}}
> 03:19:10 [DEBUG] Current datetime: 2016-04-26 07:19:09.521272 (UTC)
> 03:19:10 [DEBUG] xmlrpc post: {'status_whiteboard': 'RHT', 'last_change_time': '2016-04-26 04:19'}
> 03:19:10 [DEBUG] buglist get: https://bugs.eclipse.org/bugs/buglist.cgi?status_whiteboard=RHT&chfieldfrom=2016-04-26+04:19
> 03:19:10 [DEBUG] Found 0 bugzillas to process
> {{code}} 
> In the mean time, setting the {{HOURS}} value to '6', I was able to get the issue created in JIRA.
> https://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/jbosstools-jiralint-bzira/



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jbosstools-issues mailing list