Prevent orphaned build steps
[?]
Oct 26, 2016, 12:42 PM
OBOTGFG63VKMKWE7AGSTNPDCJ42FGFDIVY6XYLJLS275Y7OE3FSQCDependencies
- [2]
7LWB2J2ZPeriodically clear orphaned build steps - [3]
MHVIT4JYSplit hydra-queue-runner.cc more - [4]
UNVMKJV5Unify build and step status codes - [5]
NTEDD7T4Provide a plugin hook for when build steps finish - [6]
BRAESISHWarn if PostgreSQL appears stalled - [7]
BG6PEOB2Make the output size limit configurable - [8]
FITVNQ2SKeep track of the time we spend copying to/from build machines - [9]
HH3LID6LRe-implement log size limits
Change contents
- edit in src/hydra-queue-runner/builder.cc at line 111
printError("marking step %d of build %d as orphaned", stepNr, build->id); - edit in src/hydra-queue-runner/builder.cc at line 180
assert(stepNr); - edit in src/hydra-queue-runner/builder.cc at line 201
assert(stepNr); - edit in src/hydra-queue-runner/builder.cc at line 300
/* For standard failures, we don't care about the errormessage. */if (result.stepStatus != bsAborted)result.errorMsg = ""; - edit in src/hydra-queue-runner/builder.cc at line 311
- edit in src/hydra-queue-runner/builder.cc at line 326
break; - edit in src/hydra-queue-runner/builder.cc at line 328
if (indirect.empty() && stepFinished) break; - edit in src/hydra-queue-runner/builder.cc at line 337[3.10807]→[3.10807:10910](∅→∅),[3.10910]→[3.2749:2801](∅→∅),[3.795]→[3.11177:11220](∅→∅),[3.2801]→[3.11177:11220](∅→∅),[3.11177]→[3.11177:11220](∅→∅)
/* For standard failures, we don't care about the errormessage. */if (result.stepStatus != bsAborted)result.errorMsg = ""; - replacement in src/hydra-queue-runner/builder.cc at line 350
if (result.stepStatus != bsCachedFailure)if (result.stepStatus != bsCachedFailure && !stepFinished) {assert(stepNr); - edit in src/hydra-queue-runner/builder.cc at line 354
}