OK, I now see what's going on specifically in my case. Definitely one of 
those stupid problems that I imagine there's no way Jenkins could account 
for it, so if I really care about fixing it I think I need to script a 
solution.

Here's the deal: it's all related to the build format migration that 
happened between 1.596 and 
1.597: https://wiki.jenkins-ci.org/display/JENKINS/JENKINS-24380+Migration, 
in combination with a system that's partially managed by puppet, and 
partially not.

The root cause of the builds in question showing the epoch is that their 
build.xml does not have a <timestamp> element.

In our case, the reason is this: during a normal patch cycle, jenkins was 
yum-updated to a newer version, and the migration described in that wiki 
page happened correctly. Then, sometime after, puppet ran, and our puppet 
at that time was configured to pin jenkins to 1.596, and so it downgraded 
jenkins. This cycle probably repeated one or two times (we simply didn't 
realize it).

And so now, in each job's builds directory, we have a mix of old and new 
format build.xml files. All the symlinks are correct, but the busted builds 
do not have a <timestamp> element.

It's good to at least know exactly what happened.

Marc

On Wednesday, December 23, 2015 at 1:23:26 AM UTC-5, Baptiste Mathus wrote:
>
> Just a small hint, in case it can help get you forward: the date you have 
> seems to match Epoch. 
> So I suppose at some point, the computed timestamp for the build is 0 (or 
> defaulted to).
>
> My 0.00002 cents.
>
> 2015-12-22 22:32 GMT+01:00 Marc Esher <marc....@gmail.com <javascript:>>:
>
>> Hey Steve, 
>>
>> I did not resolve this problem on 2 of the jenkinses. However, on a 3rd, 
>> I did a straight update from 1.596 to 1.625, and I did not experience this 
>> behavior, so I'm thinking that my original problem is not quite as 
>> described. It seems that the problem originated on the busted jenkinses in 
>> question during a previous update, from 1.596 to some other version, 
>> presumably in the 1.6 + range, but I'm just not sure. 
>>
>> On those busted servers, I have not figured out how to resolve the 
>> problem. The symlinks are all in tact, but Jenkins can't seem to figure out 
>> what to make of them.
>>
>> Sorry I can't be more helpful.
>>
>> On Tuesday, December 22, 2015 at 3:14:14 PM UTC-5, Steve K wrote:
>>>
>>>
>>> Marc,
>>>
>>> Did you ever resolve your problem?  I have a feeling that my current 
>>> upgrade HELL (just posted a plea for help on that) is related to changes in 
>>> format.
>>> If you haven't resolved it, sorry if I got your hopes up when you saw a 
>>> reply :-(
>>>
>>> Regards,
>>>
>>> Steve K.
>>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Jenkins Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to jenkinsci-use...@googlegroups.com <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jenkinsci-users/9bed974c-fec2-4c14-b883-0940228ea411%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/jenkinsci-users/9bed974c-fec2-4c14-b883-0940228ea411%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> Baptiste <Batmat> MATHUS - http://batmat.net
> Sauvez un arbre,
> Mangez un castor !
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/ae4f6ceb-3f68-4508-9132-ea0f20a21c56%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to