autobuild, CI broken by unix epoch > 1700000000

Douglas Bagnall douglas.bagnall at catalyst.net.nz
Wed Nov 15 01:00:02 UTC 2023


On 15/11/23 13:31, Martin Schwenke wrote:
> On Wed, 15 Nov 2023 13:22:14 +1300, Douglas Bagnall via samba-technical
> <samba-technical at lists.samba.org> wrote:
> 
>> To get a unique OID in a test, we have
>>
>> governs_id = f'1.3.6.1.4.1.7165.4.6.2.9.{self.timestamp[-8:]}.{suffix}'
>>
>> which would have been fine for most of the last 90000000 seconds, but it
>> turns out that an OID field can't start with zero.
>>
>> Today at 11:13:20 NZ time the epoch flipped over to 1700000000, which
>> means `self.timestamp[-8:]` now starts with a number of zeros.
>>
>> We will need to backport to 4.19.
> 
> Awesomely well found!
> 
> For completely unrelated reasons, I noticed this morning that epoch
> had rolled past 1700000000 and wondered if that might break
> something...  :-)

It certainly helped that someone had pointed the change out earlier in 
the day.

https://bugzilla.samba.org/show_bug.cgi?id=15520
https://gitlab.com/samba-team/samba/-/merge_requests/3389

I haven't done a CI build for the whole 4.19, but it passes locally.

Douglas




More information about the samba-technical mailing list