I noticed that in st/subunit I have the wrong time in various places:
> testsuite: samba.tests.samba_tool.user_edit(fl2000dc:local)
> progress: push
> time: 2022-09-01 11:55:09.700146Z
> time: 2022-09-01 23:55:09.708647Z
> test: samba.tests.samba_tool.user_edit.create_test_user(fl2000dc:local)
The real UTC time here is 2022-09-01 23:55:09.708647Z. Local time is 2022-09-02 11:55 -- that is a DAY ahead of the time reported by perl.
It is as if perl is double applying the local -> utc conversion, which is -12 hours in this case.
Dumping the environment at this point shows nothing that seems relevant.
I don't know if this actually causes any problems, or whether the perl line can just be removed. We already have timestamps everywhere.
This bug was referenced in samba master: