[% WRAPPER layout.tt title="Build $id of job $project.name:$jobset.name:$job.name" %] [% PROCESS common.tt %] [% PROCESS "product-list.tt" %] [% USE HTML %] [% USE Date %] [% isAggregate = constituents.size > 0 %] [% BLOCK renderOutputs %] [% start=1; FOREACH output IN outputs %] [% IF !start %],
[% END; start=0; output.path %] [% END %] [% END %] [% BLOCK renderBuildSteps %] [% FOREACH step IN build.buildsteps %] [% IF ( type == "All" ) || ( type == "Failed" && step.status != 0 ) || ( type == "Running" && step.busy == 1 ) %] [% has_log = buildStepLogExists(step); log = c.uri_for('/build' build.id 'nixlog' step.stepnr); %] [% END %] [% END %]
NrWhatDurationMachineStatus
[% step.stepnr %] [% IF step.type == 0 %] Build of [% INCLUDE renderOutputs outputs=step.buildstepoutputs %] [% ELSE %] Substitution of [% INCLUDE renderOutputs outputs=step.buildstepoutputs %] [% END %] [% IF step.busy == 0; INCLUDE renderDuration duration = step.stoptime - step.starttime; ELSIF build.finished; INCLUDE renderDuration duration = build.stoptime - step.starttime; ELSE; INCLUDE renderDuration duration = curTime - step.starttime; END %] [% step.machine.split('@').1 %] [% IF step.busy == 1 %] Building [% ELSIF step.status == 0 %] Succeeded [% ELSIF step.status == 4 %] Aborted [% ELSIF step.status == 7 %] Timed out [% ELSIF step.status == 8 %] Cached failure [% ELSE %] Failed: [% HTML.escape(step.errormsg) %] [% END %] [%%] [%+ IF has_log; INCLUDE renderLogLinks url=log inRow=1; END %]
[% END %]
[% INCLUDE renderBuildStatusIcon size=128, build=build %] [% IF build.releasename %] [% ELSE %] [% END %] [% IF eval %] [% END %] [% IF build.iscachedbuild %] [% END %] [% IF !isAggregate && build.finished %] [% END %] [% IF !isAggregate && buildLogExists(build) %] [% END %]
Build ID: [% build.id %]
Status: [% INCLUDE renderStatus build=build icon=0 %] [% IF isAggregate; nrConstituents = 0; nrFinished = 0; nrFailedConstituents = 0; FOREACH b IN constituents; nrConstituents = nrConstituents + 1; IF b.finished; nrFinished = nrFinished + 1; END; IF b.finished && b.buildstatus != 0; nrFailedConstituents = nrFailedConstituents + 1; END; END; %]; [%+ IF nrFinished == nrMembers && nrFailedConstituents == 0 %] all [% nrConstituents %] constituent builds succeeded [% ELSE %] [% nrFailedConstituents %] out of [% nrConstituents %] constituent builds failed [% IF nrFinished < nrConstituents %] ([% nrConstituents - nrFinished %] still pending) [% END %] [% END %] [% END %]
System: [% build.system %]
Release name: [% HTML.escape(build.releasename) %]
Nix name: [% build.nixname %]
Part of: evaluation [% eval.id %] [% IF nrEvals > 1 +%] (and [% nrEvals - 1 %] others)[% END %]
Cached from: [% IF cachedBuild; INCLUDE renderFullBuildLink build=cachedBuild; ELSE %]unknown[% END %]
Duration: [% actualBuild = build.iscachedbuild ? cachedBuild : build; INCLUDE renderDuration duration = actualBuild.stoptime - actualBuild.starttime %]; finished at [% INCLUDE renderDateTime timestamp = actualBuild.stoptime %]
Logfile: pretty raw tail
[% IF build.buildproducts && !isAggregate %]

Build products

[% IF !available %]

Note: this build is no longer available.

[% END %] [% INCLUDE renderProductList latestRoot=['/job' build.project.name build.jobset.name build.job.name 'latest'] %] [% END %] [% IF build.busy %]

Running build steps

[% INCLUDE renderBuildSteps type="Running" %] [% END %] [% IF build.finished %] [% IF build.buildsteps && build.buildstatus != 0 && build.buildstatus != 6 %]

Failed build steps

[% INCLUDE renderBuildSteps type="Failed" %] [% END %] [% IF prevSuccessfulBuild %]

Changes

[% IF prevSuccessfulBuild && firstBrokenBuild && firstBrokenBuild.id != build.id %] [% END %] [% IF prevSuccessfulBuild && firstBrokenBuild && firstBrokenBuild.id != build.id %] [% END %] [% IF prevSuccessfulBuild && firstBrokenBuild && firstBrokenBuild.id != build.id %] [% END %]
Last successful build [% INCLUDE renderDateTime timestamp = prevSuccessfulBuild.timestamp %]First broken build [% INCLUDE renderDateTime timestamp = firstBrokenBuild.timestamp %] log diff This build [% INCLUDE renderDateTime timestamp = build.timestamp %] log diff
[% INCLUDE renderBuildStatusIcon build=prevSuccessfulBuild size=32 %] [% INCLUDE renderBuildLink build=prevSuccessfulBuild %][% INCLUDE renderBuildStatusIcon build=firstBrokenBuild size=32 %] [% INCLUDE renderBuildLink build=firstBrokenBuild %][% INCLUDE renderBuildStatusIcon build=build size=32 %] [% INCLUDE renderBuildLink build=build %]
[% INCLUDE renderInputDiff inputs1=prevSuccessfulBuild.inputs inputs2=firstBrokenBuild.inputs %][% INCLUDE renderInputDiff inputs1=prevSuccessfulBuild.inputs inputs2=build.inputs %]
[% END %] [% IF build.errormsg && build.buildstatus != 5 %]

Nix error output

[% HTML.escape(build.errormsg) %]
[% END %] [% END %] [% IF logtext %]

Log

[% HTML.escape(logtext) %]
[% END %]
[% IF isAggregate %]

This build is an aggregate of the following builds:

[% INCLUDE renderBuildList builds=constituents hideProjectName=1 hideJobsetName=1 %]
[% END %]
[% IF build.nixexprinput %] [% END %] [% IF build.finished && !build.iscachedbuild %] [% END %] [% IF !build.finished %] [% END %] [% IF build.finished && build.buildproducts %] [% END %]
Nix expression: file [% HTML.escape(build.nixexprpath) %] in input [% HTML.escape(build.nixexprinput) %]
Nix name: [% build.nixname %]
Short description: [% IF build.description %][% HTML.escape(build.description) %][% ELSE %]not given[% END %]
License: [% IF build.license %][% HTML.escape(build.license) %][% ELSE %]not given[% END %]
Homepage: [% IF build.homepage %] build.homepage) %]>[% HTML.escape(build.homepage) %][% ELSE %]not given[% END %]
Maintainer(s): [% IF build.maintainers %][% HTML.escape(build.maintainers) %][% ELSE %]not given[% END %]
System: [% build.system %]
Derivation store path: [% build.drvpath %]
Output store paths: [% INCLUDE renderOutputs outputs=build.buildoutputs %]
Queued: [% INCLUDE renderDateTime timestamp = build.timestamp %]
Build started: [% INCLUDE renderDateTime timestamp = build.starttime %]
Build finished: [% INCLUDE renderDateTime timestamp = build.stoptime %]
Priority: [% build.priority %]
Availability: [% IF !available %] Build output is no longer available [% ELSIF build.keep %] Build output will be kept permanently [% ELSE %] Build output is available, but may be garbage-collected [% END %]
[% IF build.inputs.size > 0 %] [% INCLUDE renderInputs inputs=build.inputs %] [% IF prevBuild %]

Changes since previous [% INCLUDE renderBuildLink build=prevBuild %]

[% INCLUDE renderInputDiff inputs2=build.inputs inputs1=prevBuild.inputs %] [% END %] [% ELSIF eval %] [% INCLUDE renderInputs inputs=eval.jobsetevalinputs %] [% END %]
[% IF build.buildsteps %]
[% INCLUDE renderBuildSteps type="All" %]
[% END %] [% IF build.dependents %]

The following builds have used this build as an input:

[% FOREACH input IN build.dependents %] [% END %]
BuildInput nameSystemTimestamp
[% INCLUDE renderFullBuildLink build=input.build %] [% input.name %] [% input.build.system %] [% INCLUDE renderDateTime timestamp = input.build.timestamp %]
[% END %] [% IF drvAvailable %] [% INCLUDE makeLazyTab tabName="tabs-build-deps" uri=c.uri_for('/build' build.id 'build-deps') %] [% END %] [% IF available %] [% INCLUDE makeLazyTab tabName="tabs-runtime-deps" uri=c.uri_for('/build' build.id 'runtime-deps') %] [% END %]
[% IF c.user_exists && available && project.releases %] [% END %] [% END %]