Build against nix-master
[?]
Dec 30, 2019, 9:49 PM
EBJP3MNAC4CRYGMJJHMKUYWTXP3N4WMMORRLDSDHQVF5ZLOTIENQCDependencies
- [2]
OJFOBJKFAdd FIXME - [3]
YE6LD6MFhydra-queue-runner: Recycle finishedDrvs - [4]
6LIYTMFUFix build failure on GCC 5.4 - [5]
3YSJ3LYKRemove finally.hh - [6]
DRC26KFBhydra-queue-runner: Fix a race keeping cancelled steps alive - [7]
RNJILKTWUpload log files to the right location - [8]
XZYFFHLQhydra-queue-runner: Set a thread title for the builder threads - [9]
FJCKDJKBAcquire the send lock only while actually sending - [10]
LENA4O2VPeriodically close RemoteStore connections - [11]
SGFLU2VSUSER -> LOGNAME for consistency - [12]
INVXGPNKFix root creation when the root already exists but is owned by another user - [13]
WDQJRLNAHandle derivations with system type 'builtin' - [14]
QAPR72LXAdd some debug code - [15]
XVZTWOTADisable deprecation warnings - [16]
2GRQJZT6hydra-queue-runner: Support running in a NixOS container - [17]
3V7ZPMGKUpdate flake.lock - [18]
3BKPZ52CDisambiguate "marking build as succeeded" message - [19]
PIMGMGAFRename hydra_eval_jobs to hydra-eval-jobs - [20]
T5BIOVJEAdd support for tracking custom metrics - [21]
BYVRA54QTemporarily disable machines on any exception, not just connection failures - [22]
MHVIT4JYSplit hydra-queue-runner.cc more - [23]
6LB22PZNAdd a NixOS container to demo Hydra - [24]
GTUZLZRHAdd an S3-backed binary cache store - [25]
HAJZXVXRUse nixFlakes in devShell - [26]
5LBMP7GAFix remote building - [27]
7VQ4ALFYUpdate "make check" for the new queue runner - [28]
6TY4LNHHFinish copyClosure - [29]
5N7LVAJNKeep track of requiredSystemFeatures in the machine stats - [30]
BRAESISHWarn if PostgreSQL appears stalled - [31]
6EO3HVNAMerge remote-tracking branch 'origin/master' into binary-cache - [32]
OKEMZJLSBump Nix - [33]
YXYXJDMBhydra-queue-runner: Write GC roots for outputs paths - [34]
7LB6QBXYKeep track of the number of build steps that are being built - [35]
CCPSI3TPAdd flake.nix - [36]
EYR3EW6JKeep stats for the Hydra auto scaler - [37]
CNLNT3T4Allow only 1 thread to send a closure to a given machine at the same time - [38]
EHXF2IXDUpdate flake.lock - [39]
A63IHCMX* Register GC roots properly. - [40]
DKJFD6JNProcess Nix API changes - [41]
M3A5PZIHhydra: Clarify the dependency on BDW-GC. - [42]
BAFICF73Support hydra-build-products on binary cache stores - [43]
SODOV2CMAutomatically reload $NIX_REMOTE_SYSTEMS when it changes - [44]
BUEWVH2MRemove signing parameter (nix#f435f82) - [45]
UYUVQWXQFix hydra-queue-runner --build-one - [46]
XCDTFZUYhydra-queue-runner: Fix build - [47]
UVQJBDHNMove log compression to a plugin - [48]
N4IROACVMove buildRemote() into State - [49]
OKQLN5AGSet proper charset on log files - [50]
J5LTAHYVUpdate flake.nix - [51]
TTBLPQAJKeep track of wait time per system type - [52]
KS7NNPQWBleh Automake - [53]
SL3WSRAChydra-queue-runner: Limit memory usage - [54]
24BMQDZAStart of single-process hydra-queue-runner - [55]
EANSNASYUpdate to latest Nix and fix compilation - [56]
B2L4T3X6Sync with Nix - [57]
7CCLJLW7Remove superfluous "has" function - [58]
KMQAEXZ2Build using the nix flake - [59]
DYVETV7Lhydra-queue-runner: Allow multiple concurrent daemon connections - [60]
JGWFBGDIUpdate flake.nix - [61]
ACBS7C6Qhydra-queue-runner: Detect changes to the scheduling shares - [62]
FJ5H26J6Fix building against nix master - [63]
LSUX6IQRUpdate to latest nixUnstable - [64]
D6VR5FYG* Fix hydra_eval_jobs. - [65]
PW4TLMWSSync with latest Nix - [66]
N2NKSKHSRefactor local binary cache code into a subclass - [67]
77VF5TC6* For ease of use during debugging, don't require --gc-roots-dir. - [68]
FV2M6MOThydra: use autoconf/-make - [69]
4GTOWRFWhydra-eval-jobs: Fix build - [70]
25MFPBZVKeep track of time required to load builds - [71]
HJOEIMLRRefactor - [72]
IK2UBDAURevive jobset scheduling - [73]
MB3TISH2Rate-limit the number of threads copying closures at the same time - [74]
A2GL5FOZMoar stats - [75]
F57YJP5PBuild against latest Nix - [76]
OG3Z3QGCNamespace cleanup - [77]
L2IBPED2Typo - [78]
VQISTKOPhydra-queue-runner: Use substitutes - [79]
IWB3F4Z6Fail builds with previously failed steps early - [80]
YTAYNN7VQueue monitor: Bail out earlier if a step has failed previously - [81]
O3NM62IZSupport multiple machines files - [82]
HUUZFPPKFix race between the queue monitor and the builder threads - [83]
RND7XFNHgetQueuedBuilds(): Periodically stop to handle priority bumps - [84]
GH4S4AWMRename file - [85]
OBOTGFG6Prevent orphaned build steps - [86]
WE5Q2NVIAllow build to be bumped to the front of the queue via the web interface - [87]
2DNPZFPNStep cancellation: Don't use pthread_cancel() - [88]
PQFOMNTLhydra-queue-runner: More stats - [89]
GS4BE6TBAsynchronously compress build logs - [90]
UNVMKJV5Unify build and step status codes - [91]
YNO7CQ6Phydra-queue-runner: More accurate memory accounting - [92]
FHVJYJFEUpload build logs to the binary cache - [93]
4ZJIJCVFSlight cleanup - [94]
XIFDDTXZDon't lock the BuildSteps table when inserting - [95]
V6H6BWMKSync with Nix - [96]
G7KWXSFMDistinguish build step states - [97]
NSBNNM77Add hydra.conf option "nar_buffer_size" to configure memoryTokens limit - [98]
46ADBTMQStart steps in order of ascending build ID - [99]
HVHW3XPJUpdate flake.lock - [100]
IKJBYIGYUpdate to reflect BinaryCacheStore changes - [101]
4YCF3KBGConcurrent hydra-evaluator - [102]
NJJ7H64SVery basic multi-threaded queue runner - [103]
EPWEMRI2Allow determinism checking for entire jobsets - [104]
XQLVYZFMBump flake dependencies - [105]
EJJCY263Account steps with preferLocalBuild as a separate system type - [106]
KBZHIGLGRecord the machine used for a build step - [107]
WHULPA6SHandle failure with output - [108]
ZK76B5ZZLoad the queue in order of global priority - [109]
GFT3FABQUpdate lock file - [110]
MSIHMO45Tweak build steps - [111]
HHOMBU7Ghydra-queue-runner: Implement timeouts - [112]
73YR46NJhydra-queue-runner: Write directly to a binary cache - [113]
5AIYUMTBBasic remote building - [114]
7LWB2J2ZPeriodically clear orphaned build steps - [115]
LVQXQIYAKill active build steps when builds are cancelled - [116]
YR2IM6Y5Temporarily disable machines after a connection failure - [117]
FS3HUMVUFix Makefile.am - [118]
IGLIPGT6Make maxLogSize configurable - [119]
YHP5DSOOImprove parsing of hydra-build-products - [120]
LE4VZIY5More stats - [121]
KNLKTCDMUse pkgconfig to find Nix - [122]
NAYQT2GThydra-queue-runner: Use cmdBuildDerivation - [123]
UVNTWTWGPrevent download of NARs we just uploaded - [124]
WDGARQ76Reuse build products / metrics stored in the database - [125]
BG6PEOB2Make the output size limit configurable - [126]
H7SZRHUBUse nix::willBuildLocally() - [127]
4NU5JJFDTruncate the log just before starting the remote build - [128]
62MQPRXCPass null values to libpqxx properly - [129]
M32RT6PSUpdate flake.{nix,lock} - [130]
5T54V3EYUpdate flake.lock - [131]
2PQPKMG7S3BinaryCacheStore: Use disk cache - [132]
EFWDY2V7Support testing build determinism - [133]
ZVSHXE3KAllow setting GC_INITIAL_HEAP_SIZE for hydra-eval-jobs - [134]
UQQ4IL55Add a error type for "unsupported system type" - [135]
32KJOERMTurn hydra-notify into a daemon - [136]
DIEY5USNKeep better bytesReceived/bytesSent stats - [137]
6EAXKZCUUse the overlay from the nix flake - [138]
5CNQUQ77Bump Nix - [139]
FITVNQ2SKeep track of the time we spend copying to/from build machines - [140]
NKQOEVVPGet rid of "will retry" messages after "maybe cancelling..." - [*]
4N5APGRG* Start of a helper tool to evaluate job expressions efficiently.
Change contents
- replacement in flake.lock at line 7
"narHash": "sha256-ZzR2l1dovxeZ555KXxz7SAXrC72BfaR4BeqvJzRdmwQ=","narHash": "sha256-HKuPcp/pBpKNBOnDlrSzObee5eB0LdzhI0RpRjTVxik=", - replacement in flake.lock at line 9
"url": "github:edolstra/nixpkgs/d37927a77e70a2b3408ceaa2e763b6df1f4d941a""url": "github:edolstra/nixpkgs/03f3def66a104a221aac8b751eeb7075374848fd" - replacement in flake.lock at line 12
"narHash": "sha256-zfFjX4SmTKGponLg7X1Lc4XHOUNEDz3czSjGaZTHXOk=","narHash": "sha256-wiOmdFFMhuBGEcAURvj7c1LAcVbO82QjcFr+5WjuNzM=", - replacement in flake.lock at line 14
"url": "github:NixOS/nix/2c1e05ae9389742dac637a6f051f718397eff2db""url": "github:NixOS/nix/c7866733d7ce2836fbb43de90dd64d17b0d20753" - replacement in flake.lock at line 18
"narHash": "sha256-ZzR2l1dovxeZ555KXxz7SAXrC72BfaR4BeqvJzRdmwQ=","narHash": "sha256-HKuPcp/pBpKNBOnDlrSzObee5eB0LdzhI0RpRjTVxik=", - replacement in flake.lock at line 20
"url": "github:edolstra/nixpkgs/d37927a77e70a2b3408ceaa2e763b6df1f4d941a""url": "github:edolstra/nixpkgs/03f3def66a104a221aac8b751eeb7075374848fd" - replacement in src/hydra-eval-jobs/Makefile.am at line 4
hydra_eval_jobs_LDADD = $(NIX_LIBS)hydra_eval_jobs_LDADD = $(NIX_LIBS) -lnixrust - replacement in src/hydra-eval-jobs/hydra-eval-jobs.cc at line 118
Path root = gcRootsDir + "/" + baseNameOf(drvPath);if (!pathExists(root)) localStore->addPermRoot(drvPath, root, false);Path root = gcRootsDir + "/" + std::string(baseNameOf(drvPath));if (!pathExists(root))localStore->addPermRoot(localStore->parseStorePath(drvPath), root, false); - replacement in src/hydra-queue-runner/Makefile.am at line 6[18.45]→[18.322:368](∅→∅),[5.59]→[18.322:368](∅→∅),[18.65]→[18.322:368](∅→∅),[18.67]→[18.322:368](∅→∅),[18.75]→[18.322:368](∅→∅),[18.83]→[18.322:368](∅→∅),[18.91]→[18.322:368](∅→∅),[18.104]→[18.322:368](∅→∅),[18.112]→[18.322:368](∅→∅),[18.122]→[18.322:368](∅→∅),[18.161]→[18.322:368](∅→∅),[18.229]→[18.322:368](∅→∅),[18.322]→[18.322:368](∅→∅)
hydra_queue_runner_LDADD = $(NIX_LIBS) -lpqxxhydra_queue_runner_LDADD = $(NIX_LIBS) -lpqxx -lnixrust - replacement in src/hydra-queue-runner/build-remote.cc at line 85[9.78]→[18.1349:1406](∅→∅),[18.171]→[18.1349:1406](∅→∅),[18.183]→[18.1349:1406](∅→∅),[18.1349]→[18.1349:1406](∅→∅)
FdSource & from, FdSink & to, const PathSet & paths,FdSource & from, FdSink & to, const StorePathSet & paths, - replacement in src/hydra-queue-runner/build-remote.cc at line 88
PathSet closure;StorePathSet closure; - replacement in src/hydra-queue-runner/build-remote.cc at line 97
to << cmdQueryValidPaths << 1 << useSubstitutes << closure;to << cmdQueryValidPaths << 1 << useSubstitutes;writeStorePaths(*destStore, to, closure); - replacement in src/hydra-queue-runner/build-remote.cc at line 103
auto present = readStorePaths<PathSet>(*destStore, from);auto present = readStorePaths<StorePathSet>(*destStore, from); - replacement in src/hydra-queue-runner/build-remote.cc at line 107
Paths sorted = destStore->topoSortPaths(closure);auto sorted = destStore->topoSortPaths(closure); - replacement in src/hydra-queue-runner/build-remote.cc at line 109
Paths missing;StorePathSet missing; - replacement in src/hydra-queue-runner/build-remote.cc at line 111
if (present.find(*i) == present.end()) missing.push_back(*i);if (!present.count(*i)) missing.insert(i->clone()); - replacement in src/hydra-queue-runner/build-remote.cc at line 135
string base = baseNameOf(step->drvPath);string base(step->drvPath.to_string()); - replacement in src/hydra-queue-runner/build-remote.cc at line 221
PathSet inputs;BasicDerivation basicDrv(step->drv);StorePathSet inputs;BasicDerivation basicDrv(*step->drv); - replacement in src/hydra-queue-runner/build-remote.cc at line 225
inputs.insert(step->drvPath);inputs.insert(step->drvPath.clone()); - replacement in src/hydra-queue-runner/build-remote.cc at line 227
for (auto & p : step->drv.inputSrcs)inputs.insert(p);for (auto & p : step->drv->inputSrcs)inputs.insert(p.clone()); - replacement in src/hydra-queue-runner/build-remote.cc at line 230
for (auto & input : step->drv.inputDrvs) {Derivation drv2 = readDerivation(input.first);for (auto & input : step->drv->inputDrvs) {Derivation drv2 = readDerivation(*localStore, localStore->printStorePath(input.first)); - replacement in src/hydra-queue-runner/build-remote.cc at line 235
inputs.insert(i->second.path);basicDrv.inputSrcs.insert(i->second.path);inputs.insert(i->second.path.clone());basicDrv.inputSrcs.insert(i->second.path.clone()); - replacement in src/hydra-queue-runner/build-remote.cc at line 245
copyClosure(ref<Store>(localStore), destStore, step->drv.inputSrcs, NoRepair, NoCheckSigs);copyClosure(ref<Store>(localStore), destStore, step->drv->inputSrcs, NoRepair, NoCheckSigs); - replacement in src/hydra-queue-runner/build-remote.cc at line 252
printMsg(lvlDebug, format("sending closure of ‘%1%’ to ‘%2%’") % step->drvPath % machine->sshName);printMsg(lvlDebug, "sending closure of ‘%s’ to ‘%s’",localStore->printStorePath(step->drvPath), machine->sshName); - replacement in src/hydra-queue-runner/build-remote.cc at line 277
printMsg(lvlDebug, format("building ‘%1%’ on ‘%2%’") % step->drvPath % machine->sshName);printMsg(lvlDebug, "building ‘%s’ on ‘%s’",localStore->printStorePath(step->drvPath),machine->sshName); - replacement in src/hydra-queue-runner/build-remote.cc at line 283
if (sendDerivation)to << cmdBuildPaths << PathSet({step->drvPath});elseto << cmdBuildDerivation << step->drvPath << basicDrv;if (sendDerivation) {to << cmdBuildPaths;writeStorePaths(*localStore, to, singleton(step->drvPath));} else {to << cmdBuildDerivation << localStore->printStorePath(step->drvPath);writeDerivation(to, *localStore, basicDrv);} - replacement in src/hydra-queue-runner/build-remote.cc at line 390
printMsg(lvlInfo, format("outputs of ‘%1%’ substituted or already valid on ‘%2%’") % step->drvPath % machine->sshName);printMsg(lvlInfo, "outputs of ‘%s’ substituted or already valid on ‘%s’",localStore->printStorePath(step->drvPath), machine->sshName); - replacement in src/hydra-queue-runner/build-remote.cc at line 406
PathSet outputs;for (auto & output : step->drv.outputs)outputs.insert(output.second.path);auto outputs = step->drv->outputPaths(); - replacement in src/hydra-queue-runner/build-remote.cc at line 410
to << cmdQueryPathInfos << outputs;to << cmdQueryPathInfos;writeStorePaths(*localStore, to, outputs); - replacement in src/hydra-queue-runner/build-remote.cc at line 426
printMsg(lvlDebug, format("copying outputs of ‘%s’ from ‘%s’ (%d bytes)")% step->drvPath % machine->sshName % totalNarSize);printMsg(lvlDebug, "copying outputs of ‘%s’ from ‘%s’ (%d bytes)",localStore->printStorePath(step->drvPath), machine->sshName, totalNarSize); - replacement in src/hydra-queue-runner/build-remote.cc at line 441
printMsg(lvlError, format("warning: had to wait %d ms for %d memory tokens for %s")% resMs % totalNarSize % step->drvPath);printMsg(lvlError, "warning: had to wait %d ms for %d memory tokens for %s",resMs, totalNarSize, localStore->printStorePath(step->drvPath)); - replacement in src/hydra-queue-runner/build-remote.cc at line 444
to << cmdExportPaths << 0 << outputs;to << cmdExportPaths << 0;writeStorePaths(*localStore, to, outputs); - replacement in src/hydra-queue-runner/build-result.cc at line 17
PathSet outputs;for (auto & output : drv.outputs)outputs.insert(output.second.path);PathSet closure;auto outputs = drv.outputPaths();StorePathSet closure; - replacement in src/hydra-queue-runner/build-result.cc at line 20
store->computeFSClosure(output, closure);store->computeFSClosure(singleton(output), closure); - replacement in src/hydra-queue-runner/build-result.cc at line 24
if (outputs.find(path) != outputs.end()) res.size += info->narSize;if (outputs.count(path)) res.size += info->narSize; - replacement in src/hydra-queue-runner/build-result.cc at line 40
Path failedFile = output + "/nix-support/failed";auto outputS = store->printStorePath(output);Path failedFile = outputS + "/nix-support/failed"; - replacement in src/hydra-queue-runner/build-result.cc at line 46
Path productsFile = output + "/nix-support/hydra-build-products";Path productsFile = outputS + "/nix-support/hydra-build-products"; - replacement in src/hydra-queue-runner/build-result.cc at line 75
product.name = product.path == output ? "" : baseNameOf(product.path);product.name = product.path == store->printStorePath(output) ? "" : baseNameOf(product.path); - replacement in src/hydra-queue-runner/build-result.cc at line 94
product.path = output.second.path;product.path = store->printStorePath(output.second.path); - replacement in src/hydra-queue-runner/build-result.cc at line 97
product.name = storePathToName(product.path);product.name = output.second.path.name(); - replacement in src/hydra-queue-runner/build-result.cc at line 101
throw Error(format("getting status of ‘%1%’") % product.path);throw Error("getting status of ‘%s’", product.path); - replacement in src/hydra-queue-runner/build-result.cc at line 109
Path p = output + "/nix-support/hydra-release-name";auto p = store->printStorePath(output) + "/nix-support/hydra-release-name"; - replacement in src/hydra-queue-runner/build-result.cc at line 119
Path metricsFile = output + "/nix-support/hydra-metrics";auto metricsFile = store->printStorePath(output) + "/nix-support/hydra-metrics"; - replacement in src/hydra-queue-runner/builder.cc at line 21
setThreadName("bld~" + baseNameOf(reservation->step->drvPath));setThreadName("bld~" + std::string(reservation->step->drvPath.to_string())); - replacement in src/hydra-queue-runner/builder.cc at line 42
printMsg(lvlError, format("uncaught exception building ‘%1%’ on ‘%2%’: %3%")% reservation->step->drvPath % reservation->machine->sshName % e.what());printMsg(lvlError, "uncaught exception building ‘%s’ on ‘%s’: %s",localStore->printStorePath(reservation->step->drvPath),reservation->machine->sshName,e.what()); - replacement in src/hydra-queue-runner/builder.cc at line 65
printMsg(lvlInfo, format("will retry ‘%1%’ after %2%s") % step->drvPath % delta);printMsg(lvlInfo, "will retry ‘%s’ after %ss", localStore->printStorePath(step->drvPath), delta); - replacement in src/hydra-queue-runner/builder.cc at line 100
Path buildDrvPath;std::optional<StorePath> buildDrvPath; - replacement in src/hydra-queue-runner/builder.cc at line 121
printMsg(lvlInfo, format("maybe cancelling build step ‘%1%’") % step->drvPath);printMsg(lvlInfo, "maybe cancelling build step ‘%s’", localStore->printStorePath(step->drvPath)); - replacement in src/hydra-queue-runner/builder.cc at line 143
buildDrvPath = build->drvPath;buildDrvPath = build->drvPath.clone(); - replacement in src/hydra-queue-runner/builder.cc at line 148
step->drvPath, repeats + 1, machine->sshName, buildId, (dependents.size() - 1));localStore->printStorePath(step->drvPath), repeats + 1, machine->sshName, buildId, (dependents.size() - 1)); - replacement in src/hydra-queue-runner/builder.cc at line 151
bool quit = buildId == buildOne && step->drvPath == buildDrvPath;bool quit = buildId == buildOne && step->drvPath == *buildDrvPath; - replacement in src/hydra-queue-runner/builder.cc at line 171
store->upsertFile("log/" + baseNameOf(step->drvPath), readFile(result.logFile), "text/plain; charset=utf-8");store->upsertFile("log/" + std::string(step->drvPath.to_string()), readFile(result.logFile), "text/plain; charset=utf-8"); - replacement in src/hydra-queue-runner/builder.cc at line 223
res = getBuildOutput(destStore, ref<FSAccessor>(result.accessor), step->drv);res = getBuildOutput(destStore, ref<FSAccessor>(result.accessor), *step->drv); - replacement in src/hydra-queue-runner/builder.cc at line 260
printMsg(lvlError, format("possibly transient failure building ‘%1%’ on ‘%2%’: %3%")% step->drvPath % machine->sshName % result.errorMsg);printMsg(lvlError, "possibly transient failure building ‘%s’ on ‘%s’: %s",localStore->printStorePath(step->drvPath), machine->sshName, result.errorMsg); - replacement in src/hydra-queue-runner/builder.cc at line 280
for (auto & path : step->drv.outputPaths())for (auto & path : step->drv->outputPaths()) - replacement in src/hydra-queue-runner/builder.cc at line 313
printMsg(lvlDebug, format("finishing build step ‘%1%’") % step->drvPath);printMsg(lvlDebug, "finishing build step ‘%s’",localStore->printStorePath(step->drvPath)); - replacement in src/hydra-queue-runner/builder.cc at line 399
printMsg(lvlDebug, format("finishing build step ‘%1%’") % s->drvPath);printMsg(lvlDebug, "finishing build step ‘%s’",localStore->printStorePath(s->drvPath)); - replacement in src/hydra-queue-runner/builder.cc at line 444[18.3818]→[18.695:759](∅→∅),[18.13251]→[18.695:759](∅→∅),[18.759]→[18.13314:13409](∅→∅),[18.13314]→[18.13314:13409](∅→∅)
for (auto & path : step->drv.outputPaths())txn.parameterized("insert into FailedPaths values ($1)")(path).exec();for (auto & path : step->drv->outputPaths())txn.parameterized("insert into FailedPaths values ($1)")(localStore->printStorePath(path)).exec(); - replacement in src/hydra-queue-runner/builder.cc at line 485
void State::addRoot(const Path & storePath)void State::addRoot(const StorePath & storePath) - replacement in src/hydra-queue-runner/builder.cc at line 487
auto root = rootsDir + "/" + baseNameOf(storePath);auto root = rootsDir + "/" + std::string(storePath.to_string()); - replacement in src/hydra-queue-runner/dispatcher.cc at line 13
printMsg(lvlChatty, format("step ‘%1%’ is now runnable") % step->drvPath);printMsg(lvlChatty, "step ‘%s’ is now runnable", localStore->printStorePath(step->drvPath)); - replacement in src/hydra-queue-runner/dispatcher.cc at line 251
mi.machine->sshName, step->drvPath, step->drv.platform);mi.machine->sshName, localStore->printStorePath(step->drvPath), step->drv->platform); - replacement in src/hydra-queue-runner/hydra-queue-runner.cc at line 40
char * value = getenv(key.c_str());auto value = getEnv(key); - replacement in src/hydra-queue-runner/hydra-queue-runner.cc at line 42
return value;return *value; - replacement in src/hydra-queue-runner/hydra-queue-runner.cc at line 162
getEnv("NIX_REMOTE_SYSTEMS", pathExists(defaultMachinesFile) ? defaultMachinesFile : ""), ":");getEnv("NIX_REMOTE_SYSTEMS").value_or(pathExists(defaultMachinesFile) ? defaultMachinesFile : ""), ":"); - replacement in src/hydra-queue-runner/hydra-queue-runner.cc at line 254
(step->drvPath)(localStore->printStorePath(step->drvPath)) - replacement in src/hydra-queue-runner/hydra-queue-runner.cc at line 257
(step->drv.platform)(step->drv->platform) - replacement in src/hydra-queue-runner/hydra-queue-runner.cc at line 266
for (auto & output : step->drv.outputs)for (auto & output : step->drv->outputs) - replacement in src/hydra-queue-runner/hydra-queue-runner.cc at line 269
(buildId)(stepNr)(output.first)(output.second.path).exec();(buildId)(stepNr)(output.first)(localStore->printStorePath(output.second.path)).exec(); - replacement in src/hydra-queue-runner/hydra-queue-runner.cc at line 312
Build::ptr build, const Path & drvPath, const string & outputName, const Path & storePath)Build::ptr build, const StorePath & drvPath, const string & outputName, const StorePath & storePath) - replacement in src/hydra-queue-runner/hydra-queue-runner.cc at line 322
(drvPath)(localStore->printStorePath(drvPath)) - replacement in src/hydra-queue-runner/hydra-queue-runner.cc at line 332
(build->id)(stepNr)(outputName)(storePath).exec();(build->id)(stepNr)(outputName)(localStore->printStorePath(storePath)).exec(); - replacement in src/hydra-queue-runner/hydra-queue-runner.cc at line 455
for (auto & path : step->drv.outputPaths())if (!txn.parameterized("select 1 from FailedPaths where path = $1")(path).exec().empty())for (auto & path : step->drv->outputPaths())if (!txn.parameterized("select 1 from FailedPaths where path = $1")(localStore->printStorePath(path)).exec().empty()) - replacement in src/hydra-queue-runner/hydra-queue-runner.cc at line 768
localStore = openStore(getEnv("NIX_REMOTE"), localParams);localStore = openStore(getEnv("NIX_REMOTE").value_or(""), localParams); - replacement in src/hydra-queue-runner/queue-monitor.cc at line 86
std::multimap<Path, BuildID> newBuildsByPath;std::multimap<StorePath, BuildID> newBuildsByPath; - replacement in src/hydra-queue-runner/queue-monitor.cc at line 107
build->drvPath = row["drvPath"].as<string>();build->drvPath = localStore->parseStorePath(row["drvPath"].as<string>()); - replacement in src/hydra-queue-runner/queue-monitor.cc at line 120
newBuildsByPath.emplace(std::make_pair(build->drvPath, id));newBuildsByPath.emplace(std::make_pair(build->drvPath.clone(), id)); - replacement in src/hydra-queue-runner/queue-monitor.cc at line 127
std::set<Path> finishedDrvs;std::set<StorePath> finishedDrvs; - replacement in src/hydra-queue-runner/queue-monitor.cc at line 163
printMsg(lvlError, format("marking build %d as cached failure due to ‘%s’") % build->id % ex.step->drvPath);printMsg(lvlError, "marking build %d as cached failure due to ‘%s’",build->id, localStore->printStorePath(ex.step->drvPath)); - replacement in src/hydra-queue-runner/queue-monitor.cc at line 175
(ex.step->drvPath).exec();(localStore->printStorePath(ex.step->drvPath)).exec(); - replacement in src/hydra-queue-runner/queue-monitor.cc at line 179
for (auto & output : ex.step->drv.outputs) {for (auto & output : ex.step->drv->outputs) { - replacement in src/hydra-queue-runner/queue-monitor.cc at line 182
(output.second.path).exec();(localStore->printStorePath(output.second.path)).exec(); - replacement in src/hydra-queue-runner/queue-monitor.cc at line 221
Derivation drv = readDerivation(build->drvPath);Derivation drv = readDerivation(*localStore, localStore->printStorePath(build->drvPath)); - replacement in src/hydra-queue-runner/queue-monitor.cc at line 231
printMsg(lvlInfo, format("marking build %1% as succeeded (cached)") % build->id);printMsg(lvlInfo, "marking build %1% as succeeded (cached)", build->id); - replacement in src/hydra-queue-runner/queue-monitor.cc at line 254
printMsg(lvlChatty, format("added build %1% (top-level step %2%, %3% new steps)")% build->id % step->drvPath % newSteps.size());printMsg(lvlChatty, "added build %1% (top-level step %2%, %3% new steps)",build->id, localStore->printStorePath(step->drvPath), newSteps.size()); - replacement in src/hydra-queue-runner/queue-monitor.cc at line 275
e.addPrefix(format("while loading build %1%: ") % build->id);e.addPrefix(fmt("while loading build %1%: ", build->id)); - replacement in src/hydra-queue-runner/queue-monitor.cc at line 362
activeStepState->pid, activeStep->step->drvPath);activeStepState->pid,localStore->printStorePath(activeStep->step->drvPath)); - replacement in src/hydra-queue-runner/queue-monitor.cc at line 366
activeStep->step->drvPath, strerror(errno));localStore->printStorePath(activeStep->step->drvPath),strerror(errno)); - replacement in src/hydra-queue-runner/queue-monitor.cc at line 376[18.949]→[18.1464:1527](∅→∅),[18.12870]→[18.1464:1527](∅→∅),[18.1464]→[18.1464:1527](∅→∅),[18.1527]→[18.29485:29572](∅→∅),[18.29485]→[18.29485:29572](∅→∅)
Connection & conn, Build::ptr build, const Path & drvPath,Build::ptr referringBuild, Step::ptr referringStep, std::set<Path> & finishedDrvs,Connection & conn, Build::ptr build, const StorePath & drvPath,Build::ptr referringBuild, Step::ptr referringStep, std::set<StorePath> & finishedDrvs, - replacement in src/hydra-queue-runner/queue-monitor.cc at line 406
step->drvPath = drvPath;step->drvPath = drvPath.clone(); - replacement in src/hydra-queue-runner/queue-monitor.cc at line 420
(*steps_)[drvPath] = step;steps_->insert_or_assign(drvPath.clone(), step); - replacement in src/hydra-queue-runner/queue-monitor.cc at line 425
printMsg(lvlDebug, format("considering derivation ‘%1%’") % drvPath);printMsg(lvlDebug, "considering derivation ‘%1%’", localStore->printStorePath(drvPath)); - replacement in src/hydra-queue-runner/queue-monitor.cc at line 431
step->drv = readDerivation(drvPath);step->parsedDrv = std::make_unique<ParsedDerivation>(drvPath, step->drv);step->drv = std::make_unique<Derivation>(readDerivation(*localStore, localStore->printStorePath(drvPath)));step->parsedDrv = std::make_unique<ParsedDerivation>(drvPath.clone(), *step->drv); - replacement in src/hydra-queue-runner/queue-monitor.cc at line 435
step->isDeterministic = get(step->drv.env, "isDetermistic", "0") == "1";step->isDeterministic = get(step->drv->env, "isDetermistic").value_or("0") == "1"; - replacement in src/hydra-queue-runner/queue-monitor.cc at line 437
step->systemType = step->drv.platform;step->systemType = step->drv->platform; - replacement in src/hydra-queue-runner/queue-monitor.cc at line 439
auto i = step->drv.env.find("requiredSystemFeatures");auto i = step->drv->env.find("requiredSystemFeatures"); - replacement in src/hydra-queue-runner/queue-monitor.cc at line 441
if (i != step->drv.env.end())if (i != step->drv->env.end()) - replacement in src/hydra-queue-runner/queue-monitor.cc at line 457
PathSet outputs = step->drv.outputPaths();auto outputs = step->drv->outputPaths(); - replacement in src/hydra-queue-runner/queue-monitor.cc at line 459
for (auto & i : step->drv.outputs)for (auto & i : step->drv->outputs) - replacement in src/hydra-queue-runner/queue-monitor.cc at line 462
missing[i.first] = i.second;missing.insert_or_assign(i.first,DerivationOutput(i.second.path.clone(), std::string(i.second.hashAlgo), std::string(i.second.hash))); - replacement in src/hydra-queue-runner/queue-monitor.cc at line 476
localStore->querySubstitutablePathInfos({i.second.path}, infos);localStore->querySubstitutablePathInfos(singleton(i.second.path), infos); - replacement in src/hydra-queue-runner/queue-monitor.cc at line 489
printInfo("copying output ‘%1%’ of ‘%2%’ from local store", i.second.path, drvPath);printInfo("copying output ‘%1%’ of ‘%2%’ from local store",localStore->printStorePath(i.second.path),localStore->printStorePath(drvPath)); - replacement in src/hydra-queue-runner/queue-monitor.cc at line 493
printInfo("substituting output ‘%1%’ of ‘%2%’", i.second.path, drvPath);printInfo("substituting output ‘%1%’ of ‘%2%’",localStore->printStorePath(i.second.path),localStore->printStorePath(drvPath)); - replacement in src/hydra-queue-runner/queue-monitor.cc at line 500
copyClosure(ref<Store>(localStore), destStore, {i.second.path});copyClosure(ref<Store>(localStore), destStore, singleton(i.second.path)); - replacement in src/hydra-queue-runner/queue-monitor.cc at line 512
printError("while copying/substituting output ‘%s’ of ‘%s’: %s", i.second.path, drvPath, e.what());printError("while copying/substituting output ‘%s’ of ‘%s’: %s",localStore->printStorePath(i.second.path),localStore->printStorePath(drvPath),e.what()); - replacement in src/hydra-queue-runner/queue-monitor.cc at line 525
finishedDrvs.insert(drvPath);finishedDrvs.insert(drvPath.clone()); - replacement in src/hydra-queue-runner/queue-monitor.cc at line 530
printMsg(lvlDebug, format("creating build step ‘%1%’") % drvPath);printMsg(lvlDebug, "creating build step ‘%1%’", localStore->printStorePath(drvPath)); - replacement in src/hydra-queue-runner/queue-monitor.cc at line 533
for (auto & i : step->drv.inputDrvs) {for (auto & i : step->drv->inputDrvs) { - replacement in src/hydra-queue-runner/queue-monitor.cc at line 621
(output.second.path).exec();(localStore->printStorePath(output.second.path)).exec(); - replacement in src/hydra-queue-runner/state.hh at line 126
nix::Path drvPath;std::map<std::string, nix::Path> outputs;nix::StorePath drvPath;std::map<std::string, nix::StorePath> outputs; - replacement in src/hydra-queue-runner/state.hh at line 153
nix::Path drvPath;nix::Derivation drv;nix::StorePath drvPath;std::unique_ptr<nix::Derivation> drv; - replacement in src/hydra-queue-runner/state.hh at line 255
if (!systemTypes.count(step->drv.platform == "builtin" ? nix::settings.thisSystem : step->drv.platform))if (!systemTypes.count(step->drv->platform == "builtin" ? nix::settings.thisSystem : step->drv->platform)) - replacement in src/hydra-queue-runner/state.hh at line 316
typedef std::map<nix::Path, Step::wptr> Steps;typedef std::map<nix::StorePath, Step::wptr> Steps; - replacement in src/hydra-queue-runner/state.hh at line 457
Build::ptr build, const nix::Path & drvPath, const std::string & outputName, const nix::Path & storePath);Build::ptr build, const nix::StorePath & drvPath, const std::string & outputName, const nix::StorePath & storePath); - replacement in src/hydra-queue-runner/state.hh at line 476[18.1213]→[18.3400:3472](∅→∅),[18.3400]→[18.3400:3472](∅→∅),[18.3472]→[18.966:1062](∅→∅),[18.966]→[18.966:1062](∅→∅)
Connection & conn, Build::ptr build, const nix::Path & drvPath,Build::ptr referringBuild, Step::ptr referringStep, std::set<nix::Path> & finishedDrvs,Connection & conn, Build::ptr build, const nix::StorePath & drvPath,Build::ptr referringBuild, Step::ptr referringStep, std::set<nix::StorePath> & finishedDrvs, - replacement in src/hydra-queue-runner/state.hh at line 526
void addRoot(const nix::Path & storePath);void addRoot(const nix::StorePath & storePath); - replacement in src/hydra-queue-runner/token-server.hh at line 10
MakeError(NoTokens, Error)MakeError(NoTokens, Error); - replacement in src/libhydra/db.hh at line 15
auto s = getEnv("HYDRA_DBI", "dbi:Pg:dbname=hydra;");auto s = getEnv("HYDRA_DBI").value_or("dbi:Pg:dbname=hydra;"); - replacement in src/libhydra/hydra-config.hh at line 17
if (pathExists(hydraConfigFile)) {if (hydraConfigFile && pathExists(*hydraConfigFile)) { - replacement in src/libhydra/hydra-config.hh at line 19
for (auto line : tokenizeString<Strings>(readFile(hydraConfigFile), "\n")) {for (auto line : tokenizeString<Strings>(readFile(*hydraConfigFile), "\n")) {