Truncate the log just before starting the remote build
[?]
Oct 26, 2016, 11:39 AM
4NU5JJFDZMFKY23OFDQ43ZGBNOOMNEI3UPPFNLOKYROZTYMSNFCACDependencies
- [2]
XCDTFZUYhydra-queue-runner: Fix build - [3]
5AIYUMTBBasic remote building - [4]
DIEY5USNKeep better bytesReceived/bytesSent stats - [5]
BYVRA54QTemporarily disable machines on any exception, not just connection failures - [*]
GS4BE6TBAsynchronously compress build logs
Change contents
- edit in src/hydra-queue-runner/build-remote.cc at line 138[3.87]→[3.3335:3336](∅→∅),[2.553]→[3.3335:3336](∅→∅),[3.3335]→[3.3335:3336](∅→∅),[3.3336]→[2.554:574](∅→∅)
logFD = -1; - edit in src/hydra-queue-runner/build-remote.cc at line 223[3.3310][7.511]
/* Truncate the log to get rid of messages about substitutionsetc. on the remote system. */if (lseek(logFD.get(), SEEK_SET, 0) != 0)throw SysError("seeking to the start of log file ‘%s’", result.logFile);if (ftruncate(logFD.get(), 0) == -1)throw SysError("truncating log file ‘%s’", result.logFile); - edit in src/hydra-queue-runner/build-remote.cc at line 232[7.512][3.3311]
logFD = -1;