Fix build
[?]
Jun 23, 2020, 11:43 AM
YSZQ3ORRQ6ELPGEQMXO4IEVD5BT2JRXUPJ44K52DLDFTAJLHKQVACDependencies
- [2]
ID7GJFGIhydra-queue-runner: sleep 5s after handling an exception - [3]
DKR2GXSAUpdate libpqxx usage to move away from deprecated API interactions. - [4]
VUYJ47EVhydra-eval-jobs: Parallelize - [5]
U55WNIDPAbort unsupported build steps - [6]
KS7NNPQWBleh Automake - [7]
EJJCY263Account steps with preferLocalBuild as a separate system type - [8]
MB3TISH2Rate-limit the number of threads copying closures at the same time - [9]
GH4S4AWMRename file - [10]
IKJBYIGYUpdate to reflect BinaryCacheStore changes - [11]
ZK76B5ZZLoad the queue in order of global priority - [12]
WV4SSAIYBuild against nix-master - [13]
N4IROACVMove buildRemote() into State - [14]
B2L4T3X6Sync with Nix - [15]
BAFICF73Support hydra-build-products on binary cache stores - [16]
XCDTFZUYhydra-queue-runner: Fix build - [17]
PLOZBRTRAdd command ‘hydra-queue-runner --status’ to show current status - [18]
FULDVXE2Periodically dump/log status - [19]
CNLNT3T4Allow only 1 thread to send a closure to a given machine at the same time - [20]
DIEY5USNKeep better bytesReceived/bytesSent stats - [21]
BG6PEOB2Make the output size limit configurable - [22]
V6H6BWMKSync with Nix - [23]
3YSJ3LYKRemove finally.hh - [24]
GTUZLZRHAdd an S3-backed binary cache store - [25]
XV4AEKJChydra-queue-runner: Handle status queries on the main thread - [26]
X6FOUYFJint2String -> std::to_string - [27]
HTDANBLNMerge pull request #730 from NixOS/flake - [28]
HJOEIMLRRefactor - [29]
FS3HUMVUFix Makefile.am - [30]
EFWDY2V7Support testing build determinism - [31]
X4KYZJBQUse latest nixUnstable - [32]
ED4M6GSCTypo - [33]
SODOV2CMAutomatically reload $NIX_REMOTE_SYSTEMS when it changes - [34]
73YR46NJhydra-queue-runner: Write directly to a binary cache - [35]
WCXHTOWHDisable deprecation warnings - [36]
RGCPOSHYhydra-queue-runner: Ensure regular status dumps - [37]
A2GL5FOZMoar stats - [38]
BYVRA54QTemporarily disable machines on any exception, not just connection failures - [39]
DKJFD6JNProcess Nix API changes - [40]
MHVIT4JYSplit hydra-queue-runner.cc more - [41]
IE2PRAQUhydra-queue-runner: Send build notifications - [42]
NAYQT2GThydra-queue-runner: Use cmdBuildDerivation - [43]
LE4VZIY5More stats - [44]
3ECTCHKLMake queue runner internal status available under /queue-runner-status - [45]
NQPGIRXXRevert "hydra-eval-jobs -> nix eval-hydra-jobs" - [46]
XVZTWOTADisable deprecation warnings - [47]
T2EIYJNGOn SIGINT, shut down the builder threads - [48]
B7ENVLRShydra-queue-runner: Make build notification more reliable - [49]
IZOT24A3Don't spam the journal with hydra-queue-runner status dumps - [50]
2GRQJZT6hydra-queue-runner: Support running in a NixOS container - [51]
YHP5DSOOImprove parsing of hydra-build-products - [52]
LVQXQIYAKill active build steps when builds are cancelled - [53]
VQISTKOPhydra-queue-runner: Use substitutes - [54]
W4G5MZZShydra-evaluator improvements - [55]
G7KWXSFMDistinguish build step states - [56]
WHULPA6SHandle failure with output - [57]
MQNJPMCUFix bad format string - [58]
LENA4O2VPeriodically close RemoteStore connections - [59]
O3NM62IZSupport multiple machines files - [60]
YTJBED7GFix build - [61]
EBJP3MNABuild against nix-master - [62]
6TY4LNHHFinish copyClosure - [63]
24BMQDZAStart of single-process hydra-queue-runner - [64]
YNO7CQ6Phydra-queue-runner: More accurate memory accounting - [65]
5MVWRWHThydra-evaluator: Don't use the "timeout" command - [66]
6LIYTMFUFix build failure on GCC 5.4 - [67]
FJEK6FVUFix build - [68]
SL3WSRAChydra-queue-runner: Limit memory usage - [69]
7LWB2J2ZPeriodically clear orphaned build steps - [70]
H46LUUZYhydra-queue-runner: don't try to distribute builds on localhost - [71]
5AIYUMTBBasic remote building - [72]
4YCF3KBGConcurrent hydra-evaluator - [73]
OCZ4LSGGAutomatically retry aborted builds - [74]
T5BIOVJEAdd support for tracking custom metrics - [75]
7VQ4ALFYUpdate "make check" for the new queue runner - [76]
2PQPKMG7S3BinaryCacheStore: Use disk cache - [77]
N2NKSKHSRefactor local binary cache code into a subclass - [78]
YR2IM6Y5Temporarily disable machines after a connection failure - [79]
7LU6ECB5Don't spam the journal with hydra-queue-runner status dumps
Change contents
- replacement in src/hydra-eval-jobs/Makefile.am at line 4
hydra_eval_jobs_LDADD = $(NIX_LIBS) -lnixrusthydra_eval_jobs_LDADD = $(NIX_LIBS) - replacement in src/hydra-eval-jobs/hydra-eval-jobs.cc at line 475
drv.outputs.insert_or_assign("out", DerivationOutput(outPath.clone(), "", ""));drv.outputs.insert_or_assign("out", DerivationOutput {.path = outPath,.hashAlgo = "",.hash = ""}); - replacement in src/hydra-evaluator/hydra-evaluator.cc at line 143
throw SysError(format("executing ‘%1%’") % args.front());throw SysError("executing ‘%1%’", args.front()); - edit in src/hydra-queue-runner/Makefile.am at line 6
hydra_queue_runner_LDADD = $(NIX_LIBS) -lpqxx -lnixrust - resurrect zombie in src/hydra-queue-runner/Makefile.am at line 6
hydra_queue_runner_CXXFLAGS = $(NIX_CFLAGS) -Wall -I ../libhydra -Wno-deprecated-declarations - edit in src/hydra-queue-runner/Makefile.am at line 6
hydra_queue_runner_LDADD = $(NIX_LIBS) -lpqxx - edit in src/hydra-queue-runner/Makefile.am at line 8[6.59]→[6.770:826](∅→∅),[6.59]→[6.770:826](∅→∅),[6.826]→[6.92:186](∅→∅),[6.368]→[6.92:186](∅→∅),[6.368]→[6.92:186](∅→∅)
hydra_queue_runner_LDADD = $(NIX_LIBS) -lpqxx -lnixrusthydra_queue_runner_CXXFLAGS = $(NIX_CFLAGS) -Wall -I ../libhydra -Wno-deprecated-declarations - resolve order conflict in src/hydra-queue-runner/Makefile.am at line 8[6.186]
- replacement in src/hydra-queue-runner/build-remote.cc at line 111
if (!present.count(*i)) missing.insert(i->clone());if (!present.count(*i)) missing.insert(*i); - replacement in src/hydra-queue-runner/build-remote.cc at line 113
printMsg(lvlDebug, format("sending %1% missing paths") % missing.size());printMsg(lvlDebug, "sending %d missing paths", missing.size()); - replacement in src/hydra-queue-runner/build-remote.cc at line 142
if (!logFD) throw SysError(format("creating log file ‘%1%’") % result.logFile);if (!logFD) throw SysError("creating log file ‘%s’", result.logFile); - replacement in src/hydra-queue-runner/build-remote.cc at line 190
throw Error(format("protocol mismatch with ‘nix-store --serve’ on ‘%1%’") % machine->sshName);throw Error("protocol mismatch with ‘nix-store --serve’ on ‘%1%’", machine->sshName); - replacement in src/hydra-queue-runner/build-remote.cc at line 193
throw Error(format("unsupported ‘nix-store --serve’ protocol version on ‘%1%’") % machine->sshName);throw Error("unsupported ‘nix-store --serve’ protocol version on ‘%1%’", machine->sshName); - replacement in src/hydra-queue-runner/build-remote.cc at line 206
throw Error(format("cannot connect to ‘%1%’: %2%") % machine->sshName % s);throw Error("cannot connect to ‘%1%’: %2%", machine->sshName, s); - replacement in src/hydra-queue-runner/build-remote.cc at line 225
inputs.insert(step->drvPath.clone());inputs.insert(step->drvPath); - replacement in src/hydra-queue-runner/build-remote.cc at line 228
inputs.insert(p.clone());inputs.insert(p); - replacement in src/hydra-queue-runner/build-remote.cc at line 235
inputs.insert(i->second.path.clone());basicDrv.inputSrcs.insert(i->second.path.clone());inputs.insert(i->second.path);basicDrv.inputSrcs.insert(i->second.path); - replacement in src/hydra-queue-runner/build-remote.cc at line 285
writeStorePaths(*localStore, to, singleton(step->drvPath));writeStorePaths(*localStore, to, {step->drvPath}); - replacement in src/hydra-queue-runner/build-remote.cc at line 309
result.errorMsg = (format("%1% on ‘%2%’") % readString(from) % machine->sshName).str();result.errorMsg = fmt("%s on ‘%s’", readString(from), machine->sshName); - replacement in src/hydra-queue-runner/build-remote.cc at line 475
printMsg(lvlInfo, format("will disable machine ‘%1%’ for %2%s") % machine->sshName % delta);printMsg(lvlInfo, "will disable machine ‘%1%’ for %2%s", machine->sshName, delta); - edit in src/hydra-queue-runner/build-result.cc at line 17
auto outputs = drv.outputPaths();StorePathSet closure; - replacement in src/hydra-queue-runner/build-result.cc at line 20
store->computeFSClosure(singleton(output), closure);store->computeFSClosure(singleton(output), closure);store->computeFSClosure(output, closure); - edit in src/hydra-queue-runner/build-result.cc at line 25
if (outputs.count(path)) res.size += info->narSize; - resolve order conflict in src/hydra-queue-runner/build-result.cc at line 25
- edit in src/hydra-queue-runner/build-result.cc at line 40
auto outputS = store->printStorePath(output);Path failedFile = outputS + "/nix-support/failed"; - edit in src/hydra-queue-runner/build-result.cc at line 46
Path productsFile = outputS + "/nix-support/hydra-build-products"; - edit in src/hydra-queue-runner/build-result.cc at line 75
product.name = product.path == store->printStorePath(output) ? "" : baseNameOf(product.path); - edit in src/hydra-queue-runner/build-result.cc at line 94
product.path = store->printStorePath(output.second.path); - edit in src/hydra-queue-runner/build-result.cc at line 97
product.name = output.second.path.name(); - edit in src/hydra-queue-runner/build-result.cc at line 101
throw Error("getting status of ‘%s’", product.path); - edit in src/hydra-queue-runner/build-result.cc at line 109
auto p = store->printStorePath(output) + "/nix-support/hydra-release-name"; - edit in src/hydra-queue-runner/build-result.cc at line 119
auto metricsFile = store->printStorePath(output) + "/nix-support/hydra-metrics"; - replacement in src/hydra-queue-runner/builder.cc at line 143
buildDrvPath = build->drvPath.clone();buildDrvPath = build->drvPath; - replacement in src/hydra-queue-runner/hydra-queue-runner.cc at line 190
throw SysError(format("getting stats about ‘%1%’") % machinesFile);throw SysError("getting stats about ‘%s’", machinesFile); - replacement in src/hydra-queue-runner/hydra-queue-runner.cc at line 222
printMsg(lvlError, format("reloading machines file: %1%") % e.what());printMsg(lvlError, "reloading machines file: %s", e.what()); - replacement in src/hydra-queue-runner/hydra-queue-runner.cc at line 807
printMsg(lvlError, format("cleaning orphaned step %d of build %d") % step.second % step.first);printMsg(lvlError, "cleaning orphaned step %d of build %d", step.second, step.first); - replacement in src/hydra-queue-runner/hydra-queue-runner.cc at line 816
printMsg(lvlError, format("cleanup thread: %1%") % e.what());printMsg(lvlError, "cleanup thread: %s", e.what()); - replacement in src/hydra-queue-runner/hydra-queue-runner.cc at line 832
printMsg(lvlError, format("connection flush thread: %1%") % e.what());printMsg(lvlError, "connection flush thread: %s", e.what()); - replacement in src/hydra-queue-runner/hydra-queue-runner.cc at line 848
printMsg(lvlError, format("main thread: %1%") % e.what());printMsg(lvlError, "main thread: %s", e.what()); - replacement in src/hydra-queue-runner/queue-monitor.cc at line 120
newBuildsByPath.emplace(std::make_pair(build->drvPath.clone(), id));newBuildsByPath.emplace(std::make_pair(build->drvPath, id)); - replacement in src/hydra-queue-runner/queue-monitor.cc at line 405
step = std::make_shared<Step>(drvPath.clone());step = std::make_shared<Step>(drvPath); - replacement in src/hydra-queue-runner/queue-monitor.cc at line 419
steps_->insert_or_assign(drvPath.clone(), step);steps_->insert_or_assign(drvPath, step); - replacement in src/hydra-queue-runner/queue-monitor.cc at line 431
step->parsedDrv = std::make_unique<ParsedDerivation>(drvPath.clone(), *step->drv);step->parsedDrv = std::make_unique<ParsedDerivation>(drvPath, *step->drv); - replacement in src/hydra-queue-runner/queue-monitor.cc at line 462
DerivationOutput(i.second.path.clone(), std::string(i.second.hashAlgo), std::string(i.second.hash)));DerivationOutput { i.second.path, i.second.hashAlgo, i.second.hash }); - replacement in src/hydra-queue-runner/queue-monitor.cc at line 475
localStore->querySubstitutablePathInfos(singleton(i.second.path), infos);localStore->querySubstitutablePathInfos({i.second.path}, infos); - replacement in src/hydra-queue-runner/queue-monitor.cc at line 499
copyClosure(ref<Store>(localStore), destStore, singleton(i.second.path));copyClosure(ref<Store>(localStore), destStore, {i.second.path}); - replacement in src/hydra-queue-runner/queue-monitor.cc at line 524
finishedDrvs.insert(drvPath.clone());finishedDrvs.insert(drvPath); - replacement in src/hydra-queue-runner/state.hh at line 211
Step(nix::StorePath && drvPath) : drvPath(std::move(drvPath))Step(const nix::StorePath & drvPath) : drvPath(drvPath) - edit in src/hydra-queue-runner/token-server.hh at line 10
MakeError(NoTokens, Error); - replacement in src/hydra-queue-runner/token-server.hh at line 42
throw NoTokens(format("requesting more tokens (%d) than exist (%d)") % tokens % ts->maxTokens);throw NoTokens("requesting more tokens (%d) than exist (%d)", tokens, ts->maxTokens);