-
Bug
-
Resolution: Unresolved
-
Critical
-
None
-
Parameterized Scheduler 0.6.3
jenkins 1.164.3
openjdk8, ubuntu 16.04
Hi
we have jobs scheduled via parametrized scheduler not started sometimes
2019-06-06 07:36:06.705+0000 [id=77] FINE o.j.p.p.Cron#checkTriggers: cron checking somejob1 2019-06-06 07:36:06.706+0000 [id=77] FINE o.j.p.p.ParameterizedTimerTrigger#checkCronTabsAndRun: checking and maybe running at java.util.GregorianCalendar[time=1559806566705,areFieldsSet=true,areAllFieldsSet=true,lenient=true,zone=sun.util.calendar.ZoneInfo[id="Etc/UTC",offset=0,dstSavings=0,useDaylight=false,transitions=0,lastRule=null],firstDayOfWeek=1,minimalDaysInFirstWeek=1,ERA=1,YEAR=2019,MONTH=5,WEEK_OF_YEAR=23,WEEK_OF_MONTH=2,DAY_OF_MONTH=6,DAY_OF_YEAR=157,DAY_OF_WEEK=5,DAY_OF_WEEK_IN_MONTH=1,AM_PM=0,HOUR=7,HOUR_OF_DAY=7,MINUTE=36,SECOND=6,MILLISECOND=705,ZONE_OFFSET=0,DST_OFFSET=0] 2019-06-06 07:36:06.713+0000 [id=77] FINE o.j.p.p.Cron#checkTriggers: cron checking somejob2 2019-06-06 07:36:06.713+0000 [id=77] FINE o.j.p.p.ParameterizedTimerTrigger#checkCronTabsAndRun: checking and maybe running at java.util.GregorianCalendar[time=1559806566713,areFieldsSet=true,areAllFieldsSet=true,lenient=true,zone=sun.util.calendar.ZoneInfo[id="Etc/UTC",offset=0,dstSavings=0,useDaylight=false,transitions=0,lastRule=null],firstDayOfWeek=1,minimalDaysInFirstWeek=1,ERA=1,YEAR=2019,MONTH=5,WEEK_OF_YEAR=23,WEEK_OF_MONTH=2,DAY_OF_MONTH=6,DAY_OF_YEAR=157,DAY_OF_WEEK=5,DAY_OF_WEEK_IN_MONTH=1,AM_PM=0,HOUR=7,HOUR_OF_DAY=7,MINUTE=36,SECOND=6,MILLISECOND=713,ZONE_OFFSET=0,DST_OFFSET=0] 2019-06-06 07:38:13.530+0000 [id=73] FINE o.j.p.p.Cron#checkTriggers: cron checking somejob1 2019-06-06 07:38:13.530+0000 [id=73] FINE o.j.p.p.ParameterizedTimerTrigger#checkCronTabsAndRun: checking and maybe running at java.util.GregorianCalendar[time=1559806693530,areFieldsSet=true,areAllFieldsSet=true,lenient=true,zone=sun.util.calendar.ZoneInfo[id="Etc/UTC",offset=0,dstSavings=0,useDaylight=false,transitions=0,lastRule=null],firstDayOfWeek=1,minimalDaysInFirstWeek=1,ERA=1,YEAR=2019,MONTH=5,WEEK_OF_YEAR=23,WEEK_OF_MONTH=2,DAY_OF_MONTH=6,DAY_OF_YEAR=157,DAY_OF_WEEK=5,DAY_OF_WEEK_IN_MONTH=1,AM_PM=0,HOUR=7,HOUR_OF_DAY=7,MINUTE=38,SECOND=13,MILLISECOND=530,ZONE_OFFSET=0,DST_OFFSET=0]
It seems that problem is the following
plugin schedule triggers check by bitwise match via "PeriodicWork" check that is supposed to be on each minute.
But from above log snapshot it is observable that for 07:37 there are no records for any checks, so it any of jobs scheduled to start at 07:37 it will misfire