[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
286/376: build-remote.pl.in: Add some more trace messages
From: |
Ludovic Courtès |
Subject: |
286/376: build-remote.pl.in: Add some more trace messages |
Date: |
Wed, 28 Jan 2015 22:05:40 +0000 |
civodul pushed a commit to tag 1.8
in repository guix.
commit 5ef245313939b9e35ba977869700658201949d3a
Author: Eelco Dolstra <address@hidden>
Date: Wed Nov 12 13:56:01 2014 +0100
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 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/scripts/build-remote.pl.in b/scripts/build-remote.pl.in
index 5f0c72b..dcf245d 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";
- 266/376: doc: fixed nix-instantiate --find-file, (continued)
- 266/376: doc: fixed nix-instantiate --find-file, Ludovic Courtès, 2015/01/28
- 282/376: download-from-binary-cache.pl: Fix flushing of stderr, Ludovic Courtès, 2015/01/28
- 256/376: Merge pull request #372 from wmertens/patch-4, Ludovic Courtès, 2015/01/28
- 280/376: Typo, Ludovic Courtès, 2015/01/28
- 281/376: nix-store --gc: Don't warn about missing manifests directory, Ludovic Courtès, 2015/01/28
- 161/376: Restructuring the Nix manual, Ludovic Courtès, 2015/01/28
- 271/376: Revert "Revert "Temporarily disable darwin builds while hydra's darwin is borked"", Ludovic Courtès, 2015/01/28
- 299/376: Remove Hydra scheduling priorities, Ludovic Courtès, 2015/01/28
- 285/376: Make ~DerivationGoal more reliable, Ludovic Courtès, 2015/01/28
- 277/376: nix-daemon: Get peer credentials on Mac OS X, Ludovic Courtès, 2015/01/28
- 286/376: build-remote.pl.in: Add some more trace messages,
Ludovic Courtès <=
- 288/376: Add functors (callable attribute sets)., Ludovic Courtès, 2015/01/28
- 236/376: nix-env: Add regular expression support in selectors, Ludovic Courtès, 2015/01/28
- 261/376: Improve printing of ASTs, Ludovic Courtès, 2015/01/28
- 269/376: Update release notes, Ludovic Courtès, 2015/01/28