[MacPorts] #58800: Buildbot should wait until the clock catches up to the Portfiles
MacPorts
noreply at macports.org
Wed Aug 7 23:01:49 UTC 2019
#58800: Buildbot should wait until the clock catches up to the Portfiles
---------------------------+---------------------
Reporter: ryandesign | Owner: admin@…
Type: enhancement | Status: new
Priority: Normal | Milestone:
Component: buildbot/mpbb | Version:
Keywords: | Port:
---------------------------+---------------------
Apparently some of the buildbot workers' clocks run a little fast. This
has happened a few times: a buildbot worker goes down due to a power
outage or for some other reason needs to be restarted, and after it
restarts its clock re-syncs with the time server and now time has moved a
few minutes backwards. If builds were queued up and start immediately, the
[https://build.macports.org/builders/ports-10.13_x86_64-builder/builds/61386/steps
/install-port/logs/stdio builds fail with a message]:
{{{
Error: Portfile is from the future - check date and time of your system
}}}
It might be nice if the buildbot would wait until the clock catches up
with the timestamp of the Portfile before trying to build, though it needs
to check the timestamps of all dependencies to be truly effective. It's
probably simpler if we record the timestamp when we sync the ports tree
(by touching some file, or maybe there is already some file that gets
touched whose timestamp we can use), and then wait until the clock is
equal to or greater than that timestamp before allowing the build to
proceed.
--
Ticket URL: <https://trac.macports.org/ticket/58800>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list