From 5ef245313939b9e35ba977869700658201949d3a Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 12 Nov 2014 13:56:01 +0100 Subject: [PATCH] build-remote.pl.in: Add some more trace messages This allows hydra-build to keep track of the actual build time (so excluding time required to copy closures around). --- scripts/build-remote.pl.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/build-remote.pl.in b/scripts/build-remote.pl.in index 5f0c72b66..dcf245d7d 100755 --- a/scripts/build-remote.pl.in +++ b/scripts/build-remote.pl.in @@ -259,11 +259,13 @@ close UPLOADLOCK; # Perform the build. print STDERR "building ‘$drvPath’ on ‘$hostName’\n"; +print STDERR "@ build-remote-start $drvPath $hostName\n" if $printBuildTrace; writeInt(6, $to) or die; # == cmdBuildPaths writeStrings([$drvPath], $to); writeInt($maxSilentTime, $to); writeInt($buildTimeout, $to); my $res = readInt($from); +print STDERR "@ build-remote-done $drvPath $hostName\n" if $printBuildTrace; if ($res != 0) { my $msg = decode("utf-8", readString($from)); print STDERR "error: $msg on ‘$hostName’\n";