I updated the source of a package of mine last night. The upstream is on Github, and I use the %forgemeta macro for an easy spec file. When I tried to run "fedpkg build" though, it failed - the build system rejected the build because it was expecting an SRPM with a release string including 20230507, but instead got one with 20230506.
I submitted a bug against redhat-rpm-config; the forge macro code calls "date" with -u (for UTC), so that shouldn't happen. But then I thought: unless somehow there's a clock wrong? Like maybe something thinks the hardware clock is UTC but it accidentally is local time? That seems rather unlikely, but wondered if somebody might could check.
For now, I just explicitly defined the date string to use, and that worked, but it's still weird.
On Sun, May 07, 2023 at 07:59:26AM -0500, Chris Adams wrote:
I updated the source of a package of mine last night. The upstream is on Github, and I use the %forgemeta macro for an easy spec file. When I tried to run "fedpkg build" though, it failed - the build system rejected the build because it was expecting an SRPM with a release string including 20230507, but instead got one with 20230506.
I submitted a bug against redhat-rpm-config; the forge macro code calls "date" with -u (for UTC), so that shouldn't happen. But then I thought: unless somehow there's a clock wrong? Like maybe something thinks the hardware clock is UTC but it accidentally is local time? That seems rather unlikely, but wondered if somebody might could check.
All the builders are using chrony and seem to be pretty close, so I don't think thats it. :)
bkernel01.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000016721 seconds fast of NTP time bkernel02.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000057395 seconds fast of NTP time buildhw-a64-01.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000023128 seconds fast of NTP time buildhw-a64-02.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000009491 seconds fast of NTP time buildhw-a64-19.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000041435 seconds fast of NTP time buildhw-a64-20.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000013835 seconds slow of NTP time buildhw-a64-21.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000036066 seconds fast of NTP time buildhw-a64-22.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000030034 seconds fast of NTP time buildhw-a64-23.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000043248 seconds fast of NTP time buildhw-a64-24.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000089656 seconds fast of NTP time buildhw-x86-01.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000008626 seconds slow of NTP time buildhw-x86-02.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000042159 seconds fast of NTP time buildhw-x86-03.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000026831 seconds fast of NTP time buildhw-x86-04.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000033699 seconds fast of NTP time buildhw-x86-05.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000003187 seconds slow of NTP time buildhw-x86-06.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000076764 seconds fast of NTP time buildhw-x86-07.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000015736 seconds fast of NTP time buildhw-x86-08.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000045039 seconds fast of NTP time buildhw-x86-09.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000008005 seconds fast of NTP time buildhw-x86-10.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000015852 seconds fast of NTP time buildhw-x86-11.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000030141 seconds fast of NTP time buildhw-x86-12.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000013258 seconds slow of NTP time buildhw-x86-13.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000015233 seconds fast of NTP time buildhw-x86-14.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000063164 seconds fast of NTP time buildhw-x86-15.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000044154 seconds fast of NTP time buildhw-x86-16.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000016616 seconds fast of NTP time buildvm-a32-01.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000021820 seconds fast of NTP time buildvm-a32-02.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000004996 seconds slow of NTP time buildvm-a32-03.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000079043 seconds slow of NTP time buildvm-a32-04.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000006696 seconds slow of NTP time buildvm-a32-05.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000017671 seconds fast of NTP time buildvm-a32-06.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000093440 seconds fast of NTP time buildvm-a32-07.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000042250 seconds fast of NTP time buildvm-a32-08.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000045861 seconds fast of NTP time buildvm-a32-09.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000030027 seconds fast of NTP time buildvm-a32-10.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000029591 seconds fast of NTP time buildvm-a32-11.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000046429 seconds fast of NTP time buildvm-a32-12.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000041767 seconds fast of NTP time buildvm-a32-13.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000093498 seconds fast of NTP time buildvm-a32-14.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000046197 seconds fast of NTP time buildvm-a32-15.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000022704 seconds fast of NTP time buildvm-a32-16.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000017911 seconds fast of NTP time buildvm-a32-17.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000072384 seconds fast of NTP time buildvm-a32-18.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000011112 seconds fast of NTP time buildvm-a32-19.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000070537 seconds slow of NTP time buildvm-a32-20.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000000901 seconds fast of NTP time buildvm-a32-21.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000063635 seconds fast of NTP time buildvm-a32-22.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000070221 seconds slow of NTP time buildvm-a32-23.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000034653 seconds slow of NTP time buildvm-a32-24.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000050641 seconds fast of NTP time buildvm-a32-25.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000205508 seconds slow of NTP time buildvm-a32-26.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000069820 seconds fast of NTP time buildvm-a32-27.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000016006 seconds slow of NTP time buildvm-a32-28.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000033698 seconds fast of NTP time buildvm-a32-29.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000029373 seconds fast of NTP time buildvm-a32-30.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000001999 seconds fast of NTP time buildvm-a32-31.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000132650 seconds fast of NTP time buildvm-a32-32.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000062498 seconds fast of NTP time buildvm-a32-33.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000051954 seconds slow of NTP time buildvm-a64-01.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000020710 seconds slow of NTP time buildvm-a64-02.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000059436 seconds slow of NTP time buildvm-a64-03.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000018353 seconds fast of NTP time buildvm-a64-04.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000050531 seconds slow of NTP time buildvm-a64-05.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000041967 seconds fast of NTP time buildvm-a64-06.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000013907 seconds fast of NTP time buildvm-a64-07.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000005362 seconds fast of NTP time buildvm-a64-08.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000080738 seconds fast of NTP time buildvm-a64-09.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000042407 seconds slow of NTP time buildvm-a64-10.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000036106 seconds fast of NTP time buildvm-a64-11.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000013940 seconds fast of NTP time buildvm-a64-12.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000017988 seconds fast of NTP time buildvm-a64-13.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000045629 seconds slow of NTP time buildvm-a64-14.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000024061 seconds slow of NTP time buildvm-a64-15.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000000158 seconds fast of NTP time buildvm-a64-16.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000007334 seconds slow of NTP time buildvm-a64-17.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000007971 seconds fast of NTP time buildvm-a64-18.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000008327 seconds slow of NTP time buildvm-a64-19.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000042631 seconds slow of NTP time buildvm-a64-20.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000033431 seconds slow of NTP time buildvm-a64-21.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000016657 seconds fast of NTP time buildvm-a64-22.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000039493 seconds slow of NTP time buildvm-a64-23.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000058311 seconds fast of NTP time buildvm-a64-24.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000000625 seconds slow of NTP time buildvm-a64-25.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000032870 seconds slow of NTP time buildvm-a64-26.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000008542 seconds fast of NTP time buildvm-a64-27.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000035948 seconds fast of NTP time buildvm-a64-28.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000014849 seconds fast of NTP time buildvm-a64-29.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000066927 seconds fast of NTP time buildvm-a64-30.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000000844 seconds slow of NTP time buildvm-a64-31.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000063056 seconds fast of NTP time buildvm-a64-32.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000028698 seconds fast of NTP time buildvm-a64-33.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000018758 seconds slow of NTP time buildvm-a64-34.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000051715 seconds fast of NTP time buildvm-a64-35.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000025125 seconds fast of NTP time buildvm-a64-36.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000043028 seconds fast of NTP time buildvm-a64-37.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000055804 seconds fast of NTP time buildvm-a64-38.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000043801 seconds fast of NTP time buildvm-a64-39.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000039213 seconds fast of NTP time buildvm-a64-40.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000011530 seconds fast of NTP time buildvm-ppc64le-01.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000079487 seconds slow of NTP time buildvm-ppc64le-02.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000024265 seconds slow of NTP time buildvm-ppc64le-03.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000126575 seconds slow of NTP time buildvm-ppc64le-04.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000010809 seconds slow of NTP time buildvm-ppc64le-05.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000142208 seconds fast of NTP time buildvm-ppc64le-06.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000088172 seconds slow of NTP time buildvm-ppc64le-07.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000027399 seconds slow of NTP time buildvm-ppc64le-08.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000133834 seconds slow of NTP time buildvm-ppc64le-09.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000150795 seconds fast of NTP time buildvm-ppc64le-10.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000009947 seconds fast of NTP time buildvm-ppc64le-11.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000091972 seconds slow of NTP time buildvm-ppc64le-12.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000063516 seconds slow of NTP time buildvm-ppc64le-13.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000019893 seconds slow of NTP time buildvm-ppc64le-14.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000003646 seconds slow of NTP time buildvm-ppc64le-15.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000084070 seconds slow of NTP time buildvm-ppc64le-16.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000029182 seconds slow of NTP time buildvm-ppc64le-17.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000033118 seconds fast of NTP time buildvm-ppc64le-18.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000122839 seconds slow of NTP time buildvm-ppc64le-19.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000101246 seconds fast of NTP time buildvm-ppc64le-20.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000041359 seconds slow of NTP time buildvm-ppc64le-21.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000053892 seconds fast of NTP time buildvm-ppc64le-22.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000096903 seconds fast of NTP time buildvm-ppc64le-23.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000034209 seconds slow of NTP time buildvm-ppc64le-24.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000012123 seconds slow of NTP time buildvm-ppc64le-25.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000052477 seconds fast of NTP time buildvm-ppc64le-26.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000000448 seconds fast of NTP time buildvm-ppc64le-27.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000037212 seconds slow of NTP time buildvm-ppc64le-28.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000022856 seconds fast of NTP time buildvm-ppc64le-29.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000001602 seconds fast of NTP time buildvm-ppc64le-30.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000026062 seconds slow of NTP time buildvm-ppc64le-31.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000165522 seconds slow of NTP time buildvm-ppc64le-32.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000087784 seconds slow of NTP time buildvm-ppc64le-33.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000000056 seconds fast of NTP time buildvm-ppc64le-34.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000016088 seconds fast of NTP time buildvm-ppc64le-35.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000010211 seconds slow of NTP time buildvm-ppc64le-36.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000010123 seconds fast of NTP time buildvm-ppc64le-37.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000058966 seconds slow of NTP time buildvm-ppc64le-38.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000114743 seconds fast of NTP time buildvm-ppc64le-39.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000026310 seconds slow of NTP time buildvm-ppc64le-40.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000045274 seconds slow of NTP time buildvm-ppc64le-41.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000104070 seconds slow of NTP time buildvm-s390x-01.s390.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000114776 seconds fast of NTP time buildvm-s390x-02.s390.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000020400 seconds slow of NTP time buildvm-s390x-03.s390.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000019490 seconds slow of NTP time buildvm-s390x-04.s390.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000121002 seconds slow of NTP time buildvm-s390x-05.s390.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000059271 seconds slow of NTP time buildvm-s390x-06.s390.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000045833 seconds slow of NTP time buildvm-s390x-07.s390.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000016927 seconds slow of NTP time buildvm-s390x-08.s390.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000024929 seconds slow of NTP time buildvm-s390x-09.s390.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000054221 seconds fast of NTP time buildvm-s390x-10.s390.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000006890 seconds slow of NTP time buildvm-s390x-11.s390.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000148017 seconds fast of NTP time buildvm-s390x-12.s390.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000042209 seconds slow of NTP time buildvm-s390x-13.s390.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000000026 seconds fast of NTP time buildvm-s390x-14.s390.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000019651 seconds slow of NTP time buildvm-s390x-15.s390.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000019849 seconds slow of NTP time buildvm-s390x-16.s390.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000080267 seconds slow of NTP time buildvm-s390x-17.s390.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000001597 seconds fast of NTP time buildvm-s390x-18.s390.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000003724 seconds slow of NTP time buildvm-s390x-19.s390.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000063951 seconds slow of NTP time buildvm-s390x-20.s390.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000083435 seconds slow of NTP time buildvm-s390x-21.s390.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000164913 seconds slow of NTP time buildvm-s390x-22.s390.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000115350 seconds slow of NTP time buildvm-s390x-23.s390.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000091105 seconds slow of NTP time buildvm-s390x-24.s390.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000070619 seconds slow of NTP time buildvm-s390x-25.s390.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000048010 seconds slow of NTP time buildvm-s390x-26.s390.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000166604 seconds slow of NTP time buildvm-s390x-27.s390.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000052565 seconds slow of NTP time buildvm-x86-01.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000029127 seconds fast of NTP time buildvm-x86-02.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000028650 seconds fast of NTP time buildvm-x86-03.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000000024 seconds slow of NTP time buildvm-x86-04.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000051177 seconds fast of NTP time buildvm-x86-05.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000026671 seconds fast of NTP time buildvm-x86-06.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000010864 seconds fast of NTP time buildvm-x86-07.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000008629 seconds fast of NTP time buildvm-x86-08.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000040731 seconds slow of NTP time buildvm-x86-09.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000053100 seconds fast of NTP time buildvm-x86-10.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000024876 seconds slow of NTP time buildvm-x86-11.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000045446 seconds fast of NTP time buildvm-x86-12.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000121195 seconds fast of NTP time buildvm-x86-13.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000024730 seconds slow of NTP time buildvm-x86-14.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000031445 seconds fast of NTP time buildvm-x86-15.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000024899 seconds fast of NTP time buildvm-x86-16.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000025479 seconds slow of NTP time buildvm-x86-17.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000006660 seconds slow of NTP time buildvm-x86-18.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000000225 seconds fast of NTP time buildvm-x86-19.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000021675 seconds fast of NTP time buildvm-x86-20.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000028297 seconds slow of NTP time buildvm-x86-21.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000043732 seconds slow of NTP time buildvm-x86-22.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000027087 seconds slow of NTP time buildvm-x86-23.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000022670 seconds fast of NTP time buildvm-x86-24.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000037002 seconds slow of NTP time buildvm-x86-25.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000046855 seconds fast of NTP time buildvm-x86-26.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000002353 seconds fast of NTP time buildvm-x86-27.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000017658 seconds slow of NTP time buildvm-x86-28.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000018075 seconds fast of NTP time buildvm-x86-29.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000006043 seconds fast of NTP time buildvm-x86-30.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000035313 seconds fast of NTP time buildvm-x86-31.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000021841 seconds slow of NTP time buildvm-x86-32.iad2.fedoraproject.org | CHANGED | rc=0 | (stdout) System time : 0.000045922 seconds fast of NTP time
Once upon a time, Kevin Fenzi kevin@scrye.com said:
All the builders are using chrony and seem to be pretty close, so I don't think thats it. :)
It was pretty much grasphing at straws, but I do appreciate the quick check.
It's weird; the forge macro Lua support is definitely using UTC when it gets the date from the file... I'm wondering if something else is actually setting the "date" macro first (the Lua support code only sets it if is isn't already set), and using some different logic that may be missing UTC for example.
Chris Adams wrote:
I updated the source of a package of mine last night. The upstream is on Github, and I use the %forgemeta macro for an easy spec file. When I tried to run "fedpkg build" though, it failed - the build system rejected the build because it was expecting an SRPM with a release string including 20230507, but instead got one with 20230506.
Could it be that you built the package over midnight UTC, so the SRPM was still built with 20230506, but when the build happened, it was already 20230507?
Kevin Kofler
There ought to be a doc on "lifecycle of a timestamp".... I'm willing to help if we don't already have one.
Tldr there are various levels of abstraction when it comes to representing time. Developers overlook the details until something like this happens.
System clocks don't know about locales, dates and timezones. So the discrepancy may be due to the config of whatever container was doing the logging.
On Sun, May 7, 2023, 12:49 PM Kevin Kofler via devel < devel@lists.fedoraproject.org> wrote:
Chris Adams wrote:
I updated the source of a package of mine last night. The upstream is on Github, and I use the %forgemeta macro for an easy spec file. When I tried to run "fedpkg build" though, it failed - the build system rejected the build because it was expecting an SRPM with a release string including 20230507, but instead got one with 20230506.
Could it be that you built the package over midnight UTC, so the SRPM was still built with 20230506, but when the build happened, it was already 20230507?
Kevin Kofler
devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-leave@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
Once upon a time, Kevin Kofler kevin.kofler@chello.at said:
Chris Adams wrote:
I updated the source of a package of mine last night. The upstream is on Github, and I use the %forgemeta macro for an easy spec file. When I tried to run "fedpkg build" though, it failed - the build system rejected the build because it was expecting an SRPM with a release string including 20230507, but instead got one with 20230506.
Could it be that you built the package over midnight UTC, so the SRPM was still built with 20230506, but when the build happened, it was already 20230507?
It wasn't that, I tried it several times. Also, the forge macro is using the timestamp of the source file, not the wall clock (so the system clock being wrong wouldn't have caused it either).
On Sun, May 7, 2023 at 4:59 PM Chris Adams linux@cmadams.net wrote:
Once upon a time, Kevin Kofler kevin.kofler@chello.at said:
Chris Adams wrote:
I updated the source of a package of mine last night. The upstream is on Github, and I use the %forgemeta macro for an easy spec file. When
I
tried to run "fedpkg build" though, it failed - the build system rejected the build because it was expecting an SRPM with a release string including 20230507, but instead got one with 20230506.
Could it be that you built the package over midnight UTC, so the SRPM
was
still built with 20230506, but when the build happened, it was already 20230507?
It wasn't that, I tried it several times. Also, the forge macro is using the timestamp of the source file, not the wall clock (so the system clock being wrong wouldn't have caused it either).
It uses the timestamp of the source file, but are those timestamps the same? When you download from the forge, the timestamp on the file will be the time that you downloaded it. When you upload to the lookaside cache, the timestamp will be for when it was put there, but your local file has not changed. When fedpkg or koji download from the lookaside cache, it will copy the timestamp from it for reproducibility.
However, if the file already exists, fedpkg won't touch it. I suspect if you delete the tarball and have fedpkg download it again, everything will appear consistent again.
On Sun, May 7, 2023 at 11:11 PM Elliott Sales de Andrade quantum.analyst@gmail.com wrote:
On Sun, May 7, 2023 at 4:59 PM Chris Adams linux@cmadams.net wrote:
Once upon a time, Kevin Kofler kevin.kofler@chello.at said:
Chris Adams wrote:
I updated the source of a package of mine last night. The upstream is on Github, and I use the %forgemeta macro for an easy spec file. When I tried to run "fedpkg build" though, it failed - the build system rejected the build because it was expecting an SRPM with a release string including 20230507, but instead got one with 20230506.
Could it be that you built the package over midnight UTC, so the SRPM was still built with 20230506, but when the build happened, it was already 20230507?
It wasn't that, I tried it several times. Also, the forge macro is using the timestamp of the source file, not the wall clock (so the system clock being wrong wouldn't have caused it either).
It uses the timestamp of the source file, but are those timestamps the same? When you download from the forge, the timestamp on the file will be the time that you downloaded it. When you upload to the lookaside cache, the timestamp will be for when it was put there, but your local file has not changed. When fedpkg or koji download from the lookaside cache, it will copy the timestamp from it for reproducibility.
However, if the file already exists, fedpkg won't touch it. I suspect if you delete the tarball and have fedpkg download it again, everything will appear consistent again.
Yeah, the way the forge macros determine "snapshot date" is a bit broken / produces inconsistent results. It uses the source file *modification time* ("mtime"), which might or might not be consistent in all environments ... it's also an attempt to get the "date the snapshot was taken" (not the "date the specified commit was committed") which always seemed a bit misguided to me, but what do I know :)
Anyway, those are the reasons why - back in the days when I did more Go packaging - I added a way to override the date with a fixed value to make the "Release" tag reproducible when using the %forge macros.
(Side note: The %forge macros don't even follow the new Versioning guidelines for snapshots - i.e. using caret and tilde - which puts the snapshot info into the "Version" tag instead of the "Release" tag ... but I'm not sure if anybody is still around who could fix that.)
Fabio
* Fabio Valentini:
Yeah, the way the forge macros determine "snapshot date" is a bit broken / produces inconsistent results. It uses the source file *modification time* ("mtime"), which might or might not be consistent in all environments ... it's also an attempt to get the "date the snapshot was taken" (not the "date the specified commit was committed") which always seemed a bit misguided to me, but what do I know :)
fedpkg-minimal uses curl -R (--remote-time) to get the timestamp from the lookaside cache. But maybe the lookaside cache servers are not guaranteed to provide Last-Modified: headers? The public view appears to be okay, though.
It would be interesting to see the timestamps the server returned (curl -v output).
But maybe it's something else entirely and the build manages the modify the tarball somehow.
Thanks, Florian