diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-11-12T12·56+0100 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-11-12T12·56+0100 |
commit | 5ef245313939b9e35ba977869700658201949d3a (patch) | |
tree | 0ea0d5afdee690b2774b849567c26016d0f46538 /scripts | |
parent | bab8d9b52a75276980fed9288573abf4eb7308f8 (diff) |
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).
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/build-remote.pl.in | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/build-remote.pl.in b/scripts/build-remote.pl.in index 5f0c72b663b8..dcf245d7d55f 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"; |