2009-10-26 13:39:03 +00:00
|
|
|
|
[% WRAPPER layout.tt title="Job ‘$project.name:$jobset.name:$job.name’ build $id" %]
|
2008-11-17 23:59:20 +00:00
|
|
|
|
[% PROCESS common.tt %]
|
2008-11-27 18:27:19 +00:00
|
|
|
|
[% PROCESS "product-list.tt" %]
|
2008-11-18 14:48:40 +00:00
|
|
|
|
[% USE HTML %]
|
2010-02-05 14:48:22 +00:00
|
|
|
|
[% USE Date %]
|
2008-10-28 10:19:31 +00:00
|
|
|
|
|
2009-04-02 16:15:57 +00:00
|
|
|
|
[% project = build.project %]
|
|
|
|
|
[% jobset = build.jobset %]
|
|
|
|
|
[% job = build.job %]
|
2012-02-16 15:56:01 +00:00
|
|
|
|
[% resultInfo = build.resultInfo %]
|
2009-03-12 23:46:17 +00:00
|
|
|
|
|
2010-02-05 14:48:22 +00:00
|
|
|
|
[% BLOCK renderBuildSteps %]
|
|
|
|
|
|
2010-02-11 10:18:57 +00:00
|
|
|
|
<h2 id="buildsteps">[% type %] build steps</h2>
|
2010-02-05 14:48:22 +00:00
|
|
|
|
<table class="tablesorter">
|
|
|
|
|
<thead>
|
2010-11-29 09:10:10 +00:00
|
|
|
|
<tr><th>Nr</th><th>What</th><th>Duration</th><th>Machine</th><th>Status</th></tr>
|
2010-02-05 14:48:22 +00:00
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
[% FOREACH step IN build.buildsteps -%]
|
2010-02-11 10:18:57 +00:00
|
|
|
|
[% IF ( type == "All" ) || ( type == "Failed" && step.status != 0 ) || ( type == "Running" && step.busy == 1 ) -%]
|
2010-02-05 14:48:22 +00:00
|
|
|
|
[% log = c.uri_for('/build' build.id 'nixlog' step.stepnr) %]
|
|
|
|
|
<tr class="[% IF step.logfile %]clickable[% END %]"
|
|
|
|
|
[% IF step.logfile %] onclick="window.location = '[% log %]'" [% END %]>
|
|
|
|
|
<td>[% step.stepnr %]</td>
|
|
|
|
|
<td>
|
|
|
|
|
[% IF step.type == 0 %]
|
|
|
|
|
Build of <tt>[% step.outpath %]</tt>
|
|
|
|
|
[% ELSE %]
|
|
|
|
|
Substitution of <tt>[% step.outpath %]</tt>
|
|
|
|
|
[% END %]
|
|
|
|
|
</td>
|
|
|
|
|
<td>
|
|
|
|
|
[% IF step.busy == 0 %]
|
|
|
|
|
[% INCLUDE renderDuration duration = step.stoptime - step.starttime %]
|
|
|
|
|
[% ELSE %]
|
|
|
|
|
[% IF build.finished %]
|
2012-02-16 15:56:01 +00:00
|
|
|
|
[% INCLUDE renderDuration duration = resultInfo.stoptime - step.starttime %]
|
2010-02-05 14:48:22 +00:00
|
|
|
|
[% ELSE %]
|
|
|
|
|
[% INCLUDE renderDuration duration = curTime - step.starttime %]
|
|
|
|
|
[% END %]
|
|
|
|
|
[% END %]
|
|
|
|
|
</td>
|
2010-11-29 09:10:10 +00:00
|
|
|
|
<td>[% step.machine.split('@').1 %]</td>
|
2010-02-05 14:48:22 +00:00
|
|
|
|
<td>
|
|
|
|
|
[% IF step.busy == 1 %]
|
|
|
|
|
[% IF build.finished %]
|
|
|
|
|
<span class="error">Aborted</span>
|
|
|
|
|
[% ELSE %]
|
|
|
|
|
<strong>Building</strong>
|
|
|
|
|
[% END %]
|
|
|
|
|
[% ELSIF step.status == 0 %]
|
|
|
|
|
Succeeded
|
|
|
|
|
[% ELSE %]
|
|
|
|
|
<span class="error">Failed: [% HTML.escape(step.errormsg) %]</span>
|
|
|
|
|
[% END %]
|
|
|
|
|
[% IF step.logfile %]
|
2011-02-02 09:00:52 +00:00
|
|
|
|
(<a href="[% log %]">log</a>, <a href="[% "$log/raw" %]">raw</a>, <a href="[% "$log/tail-reload" %]">tail</a>)
|
2010-02-05 14:48:22 +00:00
|
|
|
|
[% END %]
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
[% END %]
|
|
|
|
|
[% END %]
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
|
|
|
|
|
[% END %]
|
|
|
|
|
|
|
|
|
|
|
2008-11-11 12:54:37 +00:00
|
|
|
|
<h1>
|
2009-04-02 16:15:57 +00:00
|
|
|
|
Job <tt>[% project.name %]:[% jobset.name %]:[% job.name %]</tt> build [% id %]
|
2008-11-11 12:54:37 +00:00
|
|
|
|
[% IF !build.finished %]
|
2008-11-11 14:45:33 +00:00
|
|
|
|
[% IF build.schedulingInfo.busy %]
|
|
|
|
|
(currently building)
|
|
|
|
|
[% ELSE %]
|
|
|
|
|
(scheduled)
|
|
|
|
|
[% END %]
|
2008-11-11 12:54:37 +00:00
|
|
|
|
[% END %]
|
|
|
|
|
</h1>
|
2008-10-28 10:19:31 +00:00
|
|
|
|
|
2008-11-05 06:23:41 +00:00
|
|
|
|
|
2009-03-02 16:03:41 +00:00
|
|
|
|
[% IF flashMsg %]
|
|
|
|
|
<p class="error">[% flashMsg %]</p>
|
|
|
|
|
[% END %]
|
|
|
|
|
|
2010-02-05 14:48:22 +00:00
|
|
|
|
<div id="generic-tabs">
|
|
|
|
|
<ul>
|
|
|
|
|
<li><a href="#tabs-summary">Summary</a></li>
|
|
|
|
|
<li><a href="#tabs-information">Information</a></li>
|
|
|
|
|
<li><a href="#tabs-buildinputs">Build Inputs</a></li>
|
2012-02-16 15:56:01 +00:00
|
|
|
|
[% IF relatedbuilds %]<li><a href="#tabs-relatedbuilds">Related builds</a></li>[% END %]
|
2010-02-05 14:48:22 +00:00
|
|
|
|
[% IF build.buildsteps %]<li><a href="#tabs-buildsteps">Build Steps</a></li>[% END %]
|
2010-02-10 10:15:09 +00:00
|
|
|
|
[% IF build.dependents %]<li><a href="#tabs-usedby">Used by</a></li>[% END%]
|
2010-02-23 13:47:24 +00:00
|
|
|
|
[% IF prevBuilds %]<li><a href="#tabs-history">History chart</a></li>[% END %]
|
2010-02-05 14:48:22 +00:00
|
|
|
|
</ul>
|
|
|
|
|
<div id="tabs-summary">
|
2010-02-10 10:15:09 +00:00
|
|
|
|
|
2010-02-24 15:06:20 +00:00
|
|
|
|
<table class="layoutTable">
|
2010-02-05 14:48:22 +00:00
|
|
|
|
<tr>
|
|
|
|
|
<td>
|
|
|
|
|
[% INCLUDE renderBuildStatusIcon size=128, build=build %]
|
|
|
|
|
</td>
|
|
|
|
|
<td>
|
|
|
|
|
<table class="layoutTable">
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Build ID:</th>
|
|
|
|
|
<td>[% build.id %]</td>
|
|
|
|
|
</tr>
|
2012-02-16 15:56:01 +00:00
|
|
|
|
[% IF resultInfo.releasename %]
|
2010-02-05 14:48:22 +00:00
|
|
|
|
<tr>
|
|
|
|
|
<th>Release name:</th>
|
2012-02-16 15:56:01 +00:00
|
|
|
|
<td><tt>[% HTML.escape(resultInfo.releasename) %]</tt></td>
|
2010-02-05 14:48:22 +00:00
|
|
|
|
</tr>
|
|
|
|
|
[% ELSE %]
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Nix name:</th>
|
|
|
|
|
<td><tt>[% build.nixname %]</tt></td>
|
|
|
|
|
</tr>
|
|
|
|
|
[% END %]
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Status:</th>
|
|
|
|
|
<td>
|
|
|
|
|
[% INCLUDE renderStatus build=build %]
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>System:</th>
|
|
|
|
|
<td><tt>[% build.system %]</tt></td>
|
|
|
|
|
</tr>
|
|
|
|
|
[% IF !build.schedulingInfo %]
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Duration:</th>
|
|
|
|
|
<td>
|
2012-02-16 15:56:01 +00:00
|
|
|
|
[% IF resultInfo.iscachedbuild %]
|
2010-05-18 07:19:52 +00:00
|
|
|
|
(cached[% IF cachedBuild %] from [% INCLUDE renderFullBuildLink build=cachedBuild %][% END %])
|
2010-02-05 14:48:22 +00:00
|
|
|
|
[% ELSE %]
|
2012-02-16 15:56:01 +00:00
|
|
|
|
[% INCLUDE renderDuration duration = resultInfo.stoptime - resultInfo.starttime %] <tt>finished at [% INCLUDE renderDateTime timestamp = resultInfo.stoptime %]</tt>
|
2010-02-05 14:48:22 +00:00
|
|
|
|
[% END %]
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
[% END %]
|
2012-02-16 15:56:01 +00:00
|
|
|
|
[% IF resultInfo.logfile %]
|
2010-02-05 14:48:22 +00:00
|
|
|
|
<tr>
|
|
|
|
|
<th>Logfile:</th>
|
|
|
|
|
<td>
|
|
|
|
|
<a href="[% c.uri_for('/build' build.id 'log') %]"><strong>Available</strong></a>
|
|
|
|
|
(<a href="[% c.uri_for('/build' build.id 'log' 'raw') %]">raw</a>,
|
2011-02-02 09:00:52 +00:00
|
|
|
|
<a href="[% c.uri_for('/build' build.id 'log' 'tail-reload') %]">tail</a>)
|
2010-02-05 14:48:22 +00:00
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
[% END %]
|
|
|
|
|
</table>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
|
|
|
|
|
|
|
|
|
[% IF c.user_exists && available %]
|
|
|
|
|
<form action="[% c.uri_for('/build' build.id 'add-to-release') %]" method="post">
|
|
|
|
|
<p>Add to release: <input type="text" class="string" name="name" />
|
|
|
|
|
<button type="submit"><img src="/static/images/success.gif" />Apply</button></p>
|
|
|
|
|
</form>
|
|
|
|
|
[% END %]
|
|
|
|
|
|
|
|
|
|
[% IF c.user_exists %]
|
|
|
|
|
<p>[<a href="[% c.uri_for('/build' build.id 'clone') %]">Clone this build</a>]</p>
|
|
|
|
|
[% END %]
|
|
|
|
|
|
|
|
|
|
[% IF build.buildproducts %]
|
|
|
|
|
|
|
|
|
|
<h2>Build products</h2>
|
|
|
|
|
|
|
|
|
|
[% IF !available %]
|
|
|
|
|
<p class="error">Note: this build is no longer available.</p>
|
|
|
|
|
[% END %]
|
|
|
|
|
|
|
|
|
|
[% INCLUDE renderProductList latestRoot=['/job' build.project.name build.jobset.name build.job.name 'latest'] %]
|
|
|
|
|
|
|
|
|
|
[% END %]
|
|
|
|
|
|
2010-02-22 13:21:34 +00:00
|
|
|
|
[% IF !build.finished %]
|
2010-02-23 13:08:58 +00:00
|
|
|
|
[% INCLUDE renderBuildSteps type="Running" %]
|
2010-02-11 10:18:57 +00:00
|
|
|
|
[% END %]
|
2010-02-05 14:48:22 +00:00
|
|
|
|
|
|
|
|
|
[% IF build.finished %]
|
2012-02-16 15:56:01 +00:00
|
|
|
|
[% IF build.buildsteps && resultInfo.buildstatus != 0 && resultInfo.buildstatus != 6 %]
|
2010-02-11 10:18:57 +00:00
|
|
|
|
[% INCLUDE renderBuildSteps type="Failed" %]
|
2010-02-05 14:48:22 +00:00
|
|
|
|
[% END %]
|
|
|
|
|
|
2011-10-12 12:43:31 +00:00
|
|
|
|
[% IF prevSuccessfulBuild %]
|
2011-01-14 08:11:21 +00:00
|
|
|
|
<h2>Changes</h2>
|
2011-01-14 08:27:05 +00:00
|
|
|
|
<br/>
|
2011-01-14 08:11:21 +00:00
|
|
|
|
<table>
|
|
|
|
|
<thead>
|
2011-06-10 07:36:30 +00:00
|
|
|
|
<th>Last successful build <tt>[% INCLUDE renderDateTime timestamp = prevSuccessfulBuild.timestamp %]</tt></th>
|
2011-09-26 14:47:55 +00:00
|
|
|
|
[% IF prevSuccessfulBuild && firstBrokenBuild && firstBrokenBuild.id != build.id %]
|
|
|
|
|
<th>First broken build <tt>[% INCLUDE renderDateTime timestamp = firstBrokenBuild.timestamp %]</tt><br/>
|
|
|
|
|
<tt>[ <a href="[% c.uri_for(c.controller('API').action_for('logdiff') prevSuccessfulBuild.id firstBrokenBuild.id ) %]">log diff</a> ]</tt>
|
|
|
|
|
</th>
|
|
|
|
|
[% END %]
|
|
|
|
|
<th>This build <tt>[% INCLUDE renderDateTime timestamp = build.timestamp %]</tt> <br/>
|
|
|
|
|
<tt>[ <a href="[% c.uri_for(c.controller('API').action_for('logdiff') prevSuccessfulBuild.id build.id) %]">log diff</a> ]</tt>
|
|
|
|
|
</th>
|
2011-01-14 08:11:21 +00:00
|
|
|
|
</thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<td valign="center">[% INCLUDE renderBuildStatusIcon build=prevSuccessfulBuild size=32 %] [% INCLUDE renderFullBuildLink build=prevSuccessfulBuild %]</td>
|
|
|
|
|
[% IF prevSuccessfulBuild && firstBrokenBuild && firstBrokenBuild.id != build.id %]<td valign="center">[% INCLUDE renderBuildStatusIcon build=firstBrokenBuild size=32 %] [% INCLUDE renderFullBuildLink build=firstBrokenBuild %]</td>[% END %]
|
|
|
|
|
<td>[% INCLUDE renderBuildStatusIcon build=build size=32 %] [% INCLUDE renderFullBuildLink build=build %]</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td></td>
|
|
|
|
|
[% IF prevSuccessfulBuild && firstBrokenBuild && firstBrokenBuild.id != build.id %]<td>[% INCLUDE renderInputDiff build1=prevSuccessfulBuild , build2=firstBrokenBuild %]</td>[% END %]
|
|
|
|
|
<td>[% INCLUDE renderInputDiff build1=prevSuccessfulBuild , build2=build %]</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
2011-10-12 12:43:31 +00:00
|
|
|
|
[% END %]
|
2010-02-23 13:08:58 +00:00
|
|
|
|
|
2012-02-16 15:56:01 +00:00
|
|
|
|
[% IF resultInfo.errormsg && resultInfo.buildstatus != 5 %]
|
2010-02-05 14:48:22 +00:00
|
|
|
|
|
|
|
|
|
<h2 id="nix-error">Nix error output</h2>
|
|
|
|
|
|
2012-02-16 15:56:01 +00:00
|
|
|
|
<pre class="buildlog">[% HTML.escape(resultInfo.errormsg) -%]</pre>
|
2010-02-05 14:48:22 +00:00
|
|
|
|
[% END %]
|
2010-02-05 20:32:07 +00:00
|
|
|
|
[% END %]
|
|
|
|
|
[% IF logtext %]
|
2010-02-05 14:48:22 +00:00
|
|
|
|
<h2>Log</h2>
|
|
|
|
|
|
2010-02-08 14:05:30 +00:00
|
|
|
|
<pre class="buildlog">[% HTML.escape(logtext) -%]</pre>
|
2010-02-05 14:48:22 +00:00
|
|
|
|
[% END %]
|
|
|
|
|
</div>
|
|
|
|
|
<div id="tabs-information">
|
|
|
|
|
|
|
|
|
|
<h2>Information</h2>
|
|
|
|
|
|
|
|
|
|
<table class="layoutTable">
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Build ID:</th>
|
|
|
|
|
<td>[% build.id %]</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Status:</th>
|
|
|
|
|
<td>
|
|
|
|
|
[% INCLUDE renderStatus build=build %]
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Project:</th>
|
|
|
|
|
<td>[% INCLUDE renderProjectName project=project.name %]</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Jobset:</th>
|
|
|
|
|
<td>[% INCLUDE renderJobsetName project=project.name jobset=jobset.name %]</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Job name:</th>
|
|
|
|
|
<td>[% INCLUDE renderJobName project=project.name jobset=jobset.name job=job.name %]</td>
|
|
|
|
|
</tr>
|
|
|
|
|
[% IF build.nixexprinput %]
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Nix expression:</th>
|
|
|
|
|
<td>file <tt>[% HTML.escape(build.nixexprpath) %]</tt> in input <tt>[% HTML.escape(build.nixexprinput) %]</tt></td>
|
|
|
|
|
</tr>
|
|
|
|
|
[% END %]
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Nix name:</th>
|
|
|
|
|
<td><tt>[% build.nixname %]</tt></td>
|
|
|
|
|
</tr>
|
2012-02-16 15:56:01 +00:00
|
|
|
|
[% IF resultInfo.releasename %]
|
2010-02-05 14:48:22 +00:00
|
|
|
|
<tr>
|
|
|
|
|
<th>Release name:</th>
|
2012-02-16 15:56:01 +00:00
|
|
|
|
<td><tt>[% HTML.escape(resultInfo.releasename) %]</tt></td>
|
2010-02-05 14:48:22 +00:00
|
|
|
|
</tr>
|
|
|
|
|
[% END %]
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Short description:</th>
|
|
|
|
|
<td>[% IF build.description %][% HTML.escape(build.description) %][% ELSE %]<em>(not given)</em>[% END %]</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Long description:</th>
|
|
|
|
|
<td>[% IF build.longdescription %][% HTML.escape(build.longdescription) %][% ELSE %]<em>(not given)</em>[% END %]</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>License:</th>
|
|
|
|
|
<td>[% IF build.license %][% HTML.escape(build.license) %][% ELSE %]<em>(not given)</em>[% END %]</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Homepage:</th>
|
|
|
|
|
<td>[% IF build.homepage %]<a [% HTML.attributes(href => build.homepage) %]>[% HTML.escape(build.homepage) %]</a>[% ELSE %]<em>(not given)</em>[% END %]</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Maintainer(s):</th>
|
|
|
|
|
<td>[% IF build.maintainers %]<tt>[% HTML.escape(build.maintainers) %]</tt>[% ELSE %]<em>(not given)</em>[% END %]</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>System:</th>
|
|
|
|
|
<td><tt>[% build.system %]</tt></td>
|
|
|
|
|
</tr>
|
2010-05-26 08:03:59 +00:00
|
|
|
|
<tr>
|
|
|
|
|
<th>Max silent / timeout:</th>
|
|
|
|
|
<td>[% build.maxsilent %]s / [% build.timeout %]s</td>
|
|
|
|
|
</tr>
|
2010-02-05 14:48:22 +00:00
|
|
|
|
<tr>
|
|
|
|
|
<th>Derivation store path:</th>
|
|
|
|
|
<td>
|
|
|
|
|
<tt>[% build.drvpath %]</tt>
|
|
|
|
|
[% IF drvAvailable %]
|
|
|
|
|
(build-time dependencies: <a href="[% c.uri_for('/build' build.id 'buildtime-deps') %]">graph</a> | <a href="[% c.uri_for('/build' build.id 'deps') %]#buildtime">list</a>)
|
|
|
|
|
[% END %]
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Output store path:</th>
|
|
|
|
|
<td>
|
|
|
|
|
<tt>[% build.outpath %]</tt>
|
|
|
|
|
[% IF available %]
|
|
|
|
|
(runtime dependencies: <a href="[% c.uri_for('/build' build.id 'runtime-deps') %]">graph</a> | <a href="[% c.uri_for('/build' build.id 'deps') %]#runtime">list</a>)
|
|
|
|
|
[% END %]
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
2010-04-27 07:55:19 +00:00
|
|
|
|
<tr>
|
|
|
|
|
<th>Output store path hash:</th>
|
|
|
|
|
<td>
|
|
|
|
|
<tt>[% pathHash %]</tt>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
2010-02-05 14:48:22 +00:00
|
|
|
|
<tr>
|
|
|
|
|
<th>Time added:</th>
|
|
|
|
|
<td>[% INCLUDE renderDateTime timestamp = build.timestamp %]</td>
|
|
|
|
|
</tr>
|
2012-02-16 15:56:01 +00:00
|
|
|
|
[% IF build.finished && resultInfo.buildstatus != 4 %]
|
|
|
|
|
[% IF resultInfo.iscachedbuild && cachedBuild %]
|
2010-02-05 14:48:22 +00:00
|
|
|
|
<tr>
|
|
|
|
|
<th>Cached build:</th>
|
|
|
|
|
<td>[% INCLUDE renderFullBuildLink build=cachedBuild %]</td>
|
|
|
|
|
</tr>
|
|
|
|
|
[% END %]
|
|
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Build started:</th>
|
2012-02-16 15:56:01 +00:00
|
|
|
|
<td>[% IF resultInfo.starttime %][% INCLUDE renderDateTime timestamp = resultInfo.starttime %][% ELSE %]<em>(cached build)</em>[% END %]</td>
|
2010-02-05 14:48:22 +00:00
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Build finished:</th>
|
2012-02-16 15:56:01 +00:00
|
|
|
|
<td>[% IF resultInfo.stoptime %][% INCLUDE renderDateTime timestamp = resultInfo.stoptime %][% ELSE %]<em>(cached build)</em>[% END %]</td>
|
2010-02-05 14:48:22 +00:00
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Duration:</th>
|
|
|
|
|
<td>
|
2012-02-16 15:56:01 +00:00
|
|
|
|
[% IF resultInfo.iscachedbuild %]
|
2010-02-05 14:48:22 +00:00
|
|
|
|
<em>(cached build)</em>
|
|
|
|
|
[% ELSE %]
|
2012-02-16 15:56:01 +00:00
|
|
|
|
[% INCLUDE renderDuration duration = resultInfo.stoptime - resultInfo.starttime %]
|
2010-02-05 14:48:22 +00:00
|
|
|
|
[% END %]
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
2012-02-16 15:56:01 +00:00
|
|
|
|
[% IF resultInfo.logfile %]
|
2010-02-05 14:48:22 +00:00
|
|
|
|
<tr>
|
|
|
|
|
<th>Logfile:</th>
|
|
|
|
|
<td>
|
|
|
|
|
<a href="[% c.uri_for('/build' build.id 'log') %]"><strong>Available</strong></a>
|
|
|
|
|
(<a href="[% c.uri_for('/build' build.id 'log' 'raw') %]">raw</a>,
|
2011-02-02 09:00:52 +00:00
|
|
|
|
<a href="[% c.uri_for('/build' build.id 'log' 'tail-reload') %]">tail</a>)
|
2010-02-05 14:48:22 +00:00
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
[% END %]
|
|
|
|
|
[% END %]
|
|
|
|
|
[% IF !build.finished %]
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Priority:</th>
|
|
|
|
|
<td>[% build.schedulingInfo.priority %]</td>
|
|
|
|
|
</tr>
|
|
|
|
|
[% END %]
|
|
|
|
|
[% IF build.finished && build.buildproducts %]
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Availability:</th>
|
|
|
|
|
<td>
|
|
|
|
|
[% IF !available %]
|
|
|
|
|
<em>Build output is no longer available</em>
|
2012-02-16 15:56:01 +00:00
|
|
|
|
[% ELSIF resultInfo.keep %]
|
2010-02-05 14:48:22 +00:00
|
|
|
|
<em>Build output will be kept permanently</em>
|
|
|
|
|
[% IF c.user_exists %]
|
|
|
|
|
<form action="[% c.uri_for('/build' build.id 'keep' 0) %]" method="post" class="inline">
|
|
|
|
|
<button id="unkeep" type="submit">Unkeep</button>
|
|
|
|
|
</form>
|
|
|
|
|
[% END %]
|
|
|
|
|
[% ELSE %]
|
|
|
|
|
<em>Build output is available, but may be garbage-collected</em>
|
|
|
|
|
[% IF c.user_exists %]
|
|
|
|
|
<form action="[% c.uri_for('/build' build.id 'keep' 1) %]" method="post" class="inline">
|
|
|
|
|
<button id="keep" type="submit">Keep</button>
|
|
|
|
|
</form>
|
|
|
|
|
[% END %]
|
|
|
|
|
[% END %]
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
[% END %]
|
|
|
|
|
</table>
|
|
|
|
|
</div>
|
|
|
|
|
<div id="tabs-buildinputs">
|
|
|
|
|
|
|
|
|
|
<h2>Build inputs</h2>
|
|
|
|
|
|
|
|
|
|
<table class="tablesorter">
|
|
|
|
|
<thead>
|
|
|
|
|
<tr><th>Name</th><th>Type</th><th>Value</th><th>Revision</th><th>Store path</th></tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
[% FOREACH input IN build.inputs -%]
|
|
|
|
|
<tr>
|
|
|
|
|
<td><tt>[% input.name %]</tt></td>
|
|
|
|
|
<td><tt>[% type = input.type; inputTypes.$type %]</tt></td>
|
|
|
|
|
<td>
|
|
|
|
|
[% IF input.type == "build" || input.type == "sysbuild" %]
|
|
|
|
|
[% INCLUDE renderFullBuildLink build=input.dependency %]</a>
|
|
|
|
|
[% ELSIF input.type == "string" || input.type == "boolean" %]
|
|
|
|
|
<tt>"[% input.value %]"</tt>
|
|
|
|
|
[% ELSE %]
|
|
|
|
|
<tt>[% input.uri %]</tt>
|
|
|
|
|
[% END %]
|
|
|
|
|
</td>
|
|
|
|
|
<td>[% IF input.revision %][% input.revision %][% END %]</td>
|
|
|
|
|
<td><tt>[% input.path %]</tt></td>
|
|
|
|
|
</tr>
|
|
|
|
|
[% END -%]
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
2010-02-22 13:21:34 +00:00
|
|
|
|
|
2010-02-23 13:08:58 +00:00
|
|
|
|
<p/>
|
|
|
|
|
|
2010-02-22 13:21:34 +00:00
|
|
|
|
[% IF prevBuild %]
|
2010-02-23 13:08:58 +00:00
|
|
|
|
<h3>Changes since previous build : [% INCLUDE renderFullBuildLink build=prevBuild %]</h3>
|
2010-02-22 13:21:34 +00:00
|
|
|
|
[% INCLUDE renderInputDiff build2=build , build1=prevBuild %]
|
|
|
|
|
[% END %]
|
2010-02-23 13:08:58 +00:00
|
|
|
|
|
2010-02-05 14:48:22 +00:00
|
|
|
|
</div>
|
2008-11-05 06:23:41 +00:00
|
|
|
|
|
2012-02-16 15:56:01 +00:00
|
|
|
|
[% IF relatedbuilds %]
|
|
|
|
|
<div id="tabs-relatedbuilds">
|
|
|
|
|
|
|
|
|
|
<h2>Related builds</h2>
|
2012-02-21 16:16:32 +00:00
|
|
|
|
<p>The following builds are part of the same jobset evaluation that produced this build.</p>
|
2012-02-16 15:56:01 +00:00
|
|
|
|
[% INCLUDE renderBuildList builds=relatedbuilds%]
|
|
|
|
|
</div>
|
|
|
|
|
[% END %]
|
2008-11-05 06:23:41 +00:00
|
|
|
|
|
2008-11-11 17:49:50 +00:00
|
|
|
|
[% IF build.buildsteps %]
|
2010-02-05 14:48:22 +00:00
|
|
|
|
<div id="tabs-buildsteps">
|
2010-02-11 10:18:57 +00:00
|
|
|
|
[% INCLUDE renderBuildSteps type="All" %]
|
2010-02-05 14:48:22 +00:00
|
|
|
|
</div>
|
2008-11-25 00:38:16 +00:00
|
|
|
|
[% END %]
|
2010-02-05 14:48:22 +00:00
|
|
|
|
|
2008-11-25 00:38:16 +00:00
|
|
|
|
|
2008-11-09 00:48:36 +00:00
|
|
|
|
[% IF build.dependents %]
|
2010-02-05 14:48:22 +00:00
|
|
|
|
<div id="tabs-usedby">
|
|
|
|
|
|
|
|
|
|
<h2>Used by</h2>
|
|
|
|
|
|
|
|
|
|
<p>The following builds have used this build as an input:</p>
|
|
|
|
|
|
|
|
|
|
<table class="tablesorter">
|
|
|
|
|
<thead>
|
|
|
|
|
<tr><th>Build</th><th>Input name</th><th>System</th><th>Timestamp</th></tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
[% FOREACH input IN build.dependents -%]
|
|
|
|
|
<tr>
|
|
|
|
|
<td>[% INCLUDE renderFullBuildLink build=input.build %]</td>
|
|
|
|
|
<td><tt>[% input.name %]</tt></td>
|
|
|
|
|
<td><tt>[% input.build.system %]</tt></td>
|
|
|
|
|
<td>[% INCLUDE renderDateTime timestamp = input.build.timestamp %]</td>
|
|
|
|
|
</tr>
|
|
|
|
|
[% END -%]
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
</div>
|
2008-11-06 13:40:31 +00:00
|
|
|
|
[% END %]
|
2010-02-23 13:47:24 +00:00
|
|
|
|
[% IF prevBuilds %]
|
2010-02-10 10:15:09 +00:00
|
|
|
|
<div id="tabs-history">
|
2010-02-11 09:18:30 +00:00
|
|
|
|
<h2>Build time history (in seconds)</h2>
|
|
|
|
|
<div id="placeholder" style="width:800px;height:400px;"></div>
|
|
|
|
|
<div id="overview" style="margin-left:50px;margin-top:20px;width:600px;height:50px"></div>
|
2010-02-10 10:15:09 +00:00
|
|
|
|
|
|
|
|
|
<script src="/static/js/flot/jquery.flot.js" type="text/javascript"></script>
|
2010-02-11 09:18:30 +00:00
|
|
|
|
<script src="/static/js/flot/jquery.flot.selection.js" type="text/javascript"></script>
|
2010-02-10 10:15:09 +00:00
|
|
|
|
<script type="text/javascript">
|
|
|
|
|
$(function() {
|
2010-02-11 09:18:30 +00:00
|
|
|
|
var d = [];
|
|
|
|
|
var ids = [];
|
|
|
|
|
[% FOREACH prevbuild IN prevBuilds %][% IF prevbuild.resultInfo.starttime != 0 %]
|
2012-02-16 15:56:01 +00:00
|
|
|
|
[% pbResultInfo = prevbuild.resultInfo %]
|
|
|
|
|
d.push([[% pbResultInfo.starttime * 1000 %],[% prevbuild.get_column('actualBuildTime') %]]);
|
|
|
|
|
ids[[% pbResultInfo.starttime * 1000 %]] = [% prevbuild.id %] ;
|
2010-02-11 09:18:30 +00:00
|
|
|
|
[% END %][% END %]
|
|
|
|
|
|
2010-02-10 10:15:09 +00:00
|
|
|
|
var options = {
|
2010-02-11 09:18:30 +00:00
|
|
|
|
xaxis: { mode: "time" },
|
|
|
|
|
selection: { mode: "x" },
|
2010-02-10 10:15:09 +00:00
|
|
|
|
points: { show: true },
|
|
|
|
|
lines: { show: true },
|
2010-02-11 09:18:30 +00:00
|
|
|
|
grid: {
|
|
|
|
|
clickable: true,
|
|
|
|
|
hoverable: true,
|
|
|
|
|
hoverFill: '#444',
|
|
|
|
|
hoverRadius: 4,
|
|
|
|
|
},
|
2010-02-10 10:15:09 +00:00
|
|
|
|
};
|
2010-02-11 09:18:30 +00:00
|
|
|
|
|
2010-02-10 10:15:09 +00:00
|
|
|
|
|
|
|
|
|
$('#generic-tabs').bind('tabsshow', function(event, ui) {
|
2010-02-11 09:18:30 +00:00
|
|
|
|
if (ui.panel.id == "tabs-history") {
|
|
|
|
|
|
|
|
|
|
var plot = $.plot($("#placeholder"), [d], options);
|
|
|
|
|
|
|
|
|
|
var overview = $.plot($("#overview"), [d], {
|
|
|
|
|
series: {
|
|
|
|
|
lines: { show: true, lineWidth: 1 },
|
|
|
|
|
shadowSize: 0
|
|
|
|
|
},
|
|
|
|
|
xaxis: { ticks: [], mode: "time" },
|
|
|
|
|
yaxis: { ticks: [], min: 0, autoscaleMargin: 0.1 },
|
|
|
|
|
selection: { mode: "x" }
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
// now connect the two
|
|
|
|
|
|
|
|
|
|
$("#placeholder").bind("plotselected", function (event, ranges) {
|
|
|
|
|
// do the zooming
|
|
|
|
|
plot = $.plot($("#placeholder"), [d],
|
|
|
|
|
$.extend(true, {}, options, {
|
|
|
|
|
xaxis: { min: ranges.xaxis.from, max: ranges.xaxis.to }
|
|
|
|
|
}));
|
|
|
|
|
|
|
|
|
|
// don't fire event on the overview to prevent eternal loop
|
|
|
|
|
overview.setSelection(ranges, true);
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
$("#overview").bind("plotselected", function (event, ranges) {
|
|
|
|
|
plot.setSelection(ranges);
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
$("#placeholder").bind("plotclick", function (e, pos, item) {
|
|
|
|
|
if (item) {
|
|
|
|
|
plot.highlight(item.series, item.datapoint);
|
|
|
|
|
buildid = ids[item.datapoint[0]];
|
|
|
|
|
window.location = "/build/"+buildid;
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
});
|
2010-02-10 10:15:09 +00:00
|
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
2011-03-11 08:50:42 +00:00
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<h2>Store path size history (in MB)</h2>
|
|
|
|
|
<div id="placeholder-size" style="width:800px;height:400px;"></div>
|
|
|
|
|
<div id="overview-size" style="margin-left:50px;margin-top:20px;width:600px;height:50px"></div>
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
|
$(function() {
|
|
|
|
|
var d = [];
|
|
|
|
|
var ids = [];
|
|
|
|
|
[% FOREACH prevbuild IN prevBuilds %][% IF prevbuild.resultInfo.size != 0 %]
|
|
|
|
|
d.push([[% prevbuild.resultInfo.starttime * 1000 %],[% prevbuild.resultInfo.size / (1024*1024.0) %]]);
|
|
|
|
|
ids[[% prevbuild.resultInfo.starttime * 1000 %]] = [% prevbuild.id %] ;
|
|
|
|
|
[% END %][% END %]
|
|
|
|
|
|
|
|
|
|
var options = {
|
|
|
|
|
xaxis: { mode: "time" },
|
|
|
|
|
selection: { mode: "x" },
|
|
|
|
|
points: { show: true },
|
|
|
|
|
lines: { show: true },
|
|
|
|
|
grid: {
|
|
|
|
|
clickable: true,
|
|
|
|
|
hoverable: true,
|
|
|
|
|
hoverFill: '#444',
|
|
|
|
|
hoverRadius: 4,
|
|
|
|
|
},
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$('#generic-tabs').bind('tabsshow', function(event, ui) {
|
|
|
|
|
if (ui.panel.id == "tabs-history") {
|
|
|
|
|
|
|
|
|
|
var plot = $.plot($("#placeholder-size"), [d], options);
|
|
|
|
|
|
|
|
|
|
var overview = $.plot($("#overview-size"), [d], {
|
|
|
|
|
series: {
|
|
|
|
|
lines: { show: true, lineWidth: 1 },
|
|
|
|
|
shadowSize: 0
|
|
|
|
|
},
|
|
|
|
|
xaxis: { ticks: [], mode: "time" },
|
|
|
|
|
yaxis: { ticks: [], min: 0, autoscaleMargin: 0.1 },
|
|
|
|
|
selection: { mode: "x" }
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
// now connect the two
|
|
|
|
|
|
|
|
|
|
$("#placeholder-size").bind("plotselected", function (event, ranges) {
|
|
|
|
|
// do the zooming
|
|
|
|
|
plot = $.plot($("#placeholder-size"), [d],
|
|
|
|
|
$.extend(true, {}, options, {
|
|
|
|
|
xaxis: { min: ranges.xaxis.from, max: ranges.xaxis.to }
|
|
|
|
|
}));
|
|
|
|
|
|
|
|
|
|
// don't fire event on the overview to prevent eternal loop
|
|
|
|
|
overview.setSelection(ranges, true);
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
$("#overview-size").bind("plotselected", function (event, ranges) {
|
|
|
|
|
plot.setSelection(ranges);
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
$("#placeholder-size").bind("plotclick", function (e, pos, item) {
|
|
|
|
|
if (item) {
|
|
|
|
|
plot.highlight(item.series, item.datapoint);
|
|
|
|
|
buildid = ids[item.datapoint[0]];
|
|
|
|
|
window.location = "/build/"+buildid;
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
2010-02-10 10:15:09 +00:00
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
2010-02-23 13:47:24 +00:00
|
|
|
|
[% END %]
|
2010-02-10 10:15:09 +00:00
|
|
|
|
|
2010-02-05 14:48:22 +00:00
|
|
|
|
</div>
|
2008-11-06 13:40:31 +00:00
|
|
|
|
|
2010-02-05 14:48:22 +00:00
|
|
|
|
<script type="text/javascript">
|
|
|
|
|
$("#generic-tabs").tabs();
|
|
|
|
|
</script>
|
2008-11-11 14:45:33 +00:00
|
|
|
|
|
2008-10-28 10:19:31 +00:00
|
|
|
|
|
2008-11-11 12:54:37 +00:00
|
|
|
|
|
|
|
|
|
[% END %]
|
|
|
|
|
|