[opensuse-buildservice] Build fails because of wrong timezone on OBS buildhost?
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I experienced this problem several times in the past and always assumed, that my local clock is not perfectly in sync as usually, a rebuild trigger solves it. However, since it just happened again, I checked my local clock (perfectly in sync to the second due to NTP) and therefore investigated the logs more closely: Result: At least some build hosts on OBS apparently have the wrong timezone. Here are some log snippets: The build was started around 14:59 *MESZ*, (not UTC!), but - according to the build log - it started at 14:59 *UTC* which is clearly in the past. Note: The uploaded tarball is auto-generated on my Jenkins-CI and auto-committed to OBS following a successful local build. Therefore, the timestamps in the tarball are quite current. === Start of build on build02 Using BUILD_ROOT=/var/cache/obs/worker/root_6/.mount Using BUILD_ARCH=i586:i486:i386 Doing xen build in /var/cache/obs/worker/root_6/root build02 started "build wsgate.spec" at Mon Jun 11 14:59:50 UTC 2012. Building wsgate for project 'home:felfert' repository 'SLE_11_SP1' arch 'i586' srcmd5 '0aeba73255941d3fef6bcfde89bd42f9' processing specfile /var/cache/obs/worker/root_6/.build-srcdir/wsgate.spec ... [...] === Later in that build: + /usr/bin/gzip -dc /usr/src/packages/SOURCES/wsgate-1.0.0.tar.gz + tar -xf - tar: wsgate-1.0.0/webroot/js: time stamp 2012-06-11 14:58:28 is 316.234112878 s in the future tar: wsgate-1.0.0/webroot/css: time stamp 2012-06-11 14:58:28 is 316.232706758 s in the future [...] === Finally autoconf's sanity check fails: checking whether build environment is sane... configure: error: newly created file is older than distributed files! Check your system clock error: Bad exit status from /var/tmp/rpm-tmp.29510 (%build) So: Is it possible to fix the TZ of the build hosts or otherwise improve accuracy by using NTP? Thanks -Fritz -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk/WE1IACgkQboM4mAMyprDIqwCfb3UVjH1NW1UY0SESOZDA8R55 V9AAn0I5CvHDWd76BpFKbOF4W+Z+msNk =g//q -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On 11.06.2012 17:48, Fritz Elfert wrote:
Is it possible to fix the TZ of the build hosts or otherwise improve accuracy by using NTP?
The accurancy is not the problem, but the timezone within the VM is wrong. Greetings, Stephan -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
participants (2)
-
Fritz Elfert
-
Stephan Kulow