Re-implement log size limits
[?]
Oct 6, 2015, 3:35 PM
HH3LID6L4WJZV6NEDVCLPCO6KF2NLUUV3VJPFNJUQZCIESK3JYSQCDependencies
- [2]
MHVIT4JYSplit hydra-queue-runner.cc more - [3]
AUMIJSEOFix remote building on Nix 1.10 - [4]
AF74AH2SRemove localhost hack - [5]
NAYQT2GThydra-queue-runner: Use cmdBuildDerivation - [6]
N4IROACVMove buildRemote() into State - [7]
IK2UBDAURevive jobset scheduling - [8]
VZKB5CIEWorkaround for RemoteStore not supporting cmdBuildDerivation yet - [9]
OCZ4LSGGAutomatically retry aborted builds - [10]
5AIYUMTBBasic remote building - [*]
HJOEIMLRRefactor - [*]
J5UVLXOK* Start of a basic Catalyst web interface. - [*]
UQQ4IL55Add a error type for "unsupported system type" - [*]
24BMQDZAStart of single-process hydra-queue-runner - [*]
IK53RV4V - [*]
HHOMBU7Ghydra-queue-runner: Implement timeouts - [*]
6KIJX24RGet rid of unnecessary [%- and -%] tags - [*]
T6KISLR6Fix indentation - [*]
N22GPKYT* Put info about logs / build products in the DB. - [*]
BD3GRK4B* Get rid of "positive failures" and separate log phases. - [*]
JGLE5BRNAdd separate build step status codes for cached failures and timeouts
Change contents
- edit in src/hydra-queue-runner/build-remote.cc at line 158
unsigned int remoteVersion; - replacement in src/hydra-queue-runner/build-remote.cc at line 161
to << SERVE_MAGIC_1 << SERVE_PROTOCOL_VERSION;to << SERVE_MAGIC_1 << 0x202; - replacement in src/hydra-queue-runner/build-remote.cc at line 167
unsigned int version = readInt(from);if (GET_PROTOCOL_MAJOR(version) != 0x200)remoteVersion = readInt(from);if (GET_PROTOCOL_MAJOR(remoteVersion) != 0x200) - replacement in src/hydra-queue-runner/build-remote.cc at line 170
if (GET_PROTOCOL_MINOR(version) >= 1)if (GET_PROTOCOL_MINOR(remoteVersion) >= 1) - replacement in src/hydra-queue-runner/build-remote.cc at line 242
to << cmdBuildPaths << PathSet({step->drvPath}) << maxSilentTime << buildTimeout;to << cmdBuildPaths << PathSet({step->drvPath}); - replacement in src/hydra-queue-runner/build-remote.cc at line 244
to << cmdBuildDerivation << step->drvPath << basicDrv << maxSilentTime << buildTimeout;// FIXME: send maxLogSize.to << cmdBuildDerivation << step->drvPath << basicDrv;to << maxSilentTime << buildTimeout;if (GET_PROTOCOL_MINOR(remoteVersion) >= 2)to << 64 * 1024 * 1024; // == maxLogSize - edit in src/hydra-queue-runner/builder.cc at line 303
result.status == BuildResult::LogLimitExceeded ? bsLogLimitExceeded : - edit in src/hydra-queue-runner/builder.cc at line 308
result.status == BuildResult::LogLimitExceeded ? bssLogLimitExceeded : - replacement in src/hydra-queue-runner/builder.cc at line 317
result.status == BuildResult::TimedOut)result.status == BuildResult::TimedOut ||result.status == BuildResult::LogLimitExceeded) - edit in src/hydra-queue-runner/state.hh at line 33
bsLogLimitExceeded = 10, - edit in src/hydra-queue-runner/state.hh at line 44
bssLogLimitExceeded = 10, - edit in src/root/build.tt at line 62
[% ELSIF step.status == 10 %]<span class="error">Log limit exceeded</span> - edit in src/root/common.tt at line 209
[% ELSIF buildstatus == 10 %]<img src="[% c.uri_for("/static/images/warning_${size}.png") %]" alt="Log limit exceeded" class="build-status" /> - edit in src/root/common.tt at line 240
[% ELSIF buildstatus == 10 %]<span class="error">Log limit exceeded</span> - edit in src/sql/hydra.sql at line 198
-- 10 = log limit exceeded - edit in src/sql/hydra.sql at line 270[14.1090][22.1051]
-- 10 = log limit exceeded