blob: c30160d3b6051be0797c17f047ef6ed7d4625fd6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
|
{% extends "base.html" %}
{% block content %}
<div class="row-fluid">
{% if detail == None %}
<div class="alert"><p>Build id not found</p></div>
{% else %}
<div class="page-header">
<a class="btn pull-left back-btn" style="margin-top:7px;" href="#">
<i class="icon-arrow-left"></i>
</a>
<h1 style="margin-left:60px;">
{% if detail.BUILD.ERROR_TYPE == error_types.RECIPE %}
{{detail.RECIPE}}-{{detail.RECIPE_VERSION}}
{% endif %}
{{detail.TASK}} </h1>
</div>
<div class="row span8">
<pre>{{detail.ERROR_DETAILS}}</pre>
</div>
<div class="row span3">
<div class="well build-details">
<h2>Error details</h2>
<dl class="dl-vertical">
<dt>Submitted on:</dt>
<dd>{{ detail.BUILD.DATE|date:"d/m/y H:i"}}</dd>
<dt>Error type:</dt>
<dd>{{ detail.BUILD.get_ERROR_TYPE_display }}</dd>
{% if detail.BUILD.ERROR_TYPE == error_types.RECIPE %}
<dt>Task:</dt>
<dd>{{ detail.TASK }}</dd>
<dt>Recipe:</dt>
<dd>{{detail.RECIPE }} </dd>
<dt>Recipe version:</dt>
<dd>{{ detail.RECIPE_VERSION }}</dd>
{% else %}
<dt>Command:</dt>
<dd>{{ detail.TASK }}</dd>
{% endif %}
<dt>Machine:</dt>
<dd>{{ detail.BUILD.MACHINE }}</dd>
<dt>Distro:</dt>
<dd>{{detail.BUILD.DISTRO}}</dd>
<dt>Build system:</dt>
<dd>{{ detail.BUILD.BUILD_SYS }}</dd>
<dt>Target system:</dt>
<dd>{{ detail.BUILD.TARGET_SYS }}</dd>
<dt>Host distro:</dt>
<dd>{{ detail.BUILD.NATIVELSBSTRING }}</dd>
<dt>Branch:</dt>
<dd>{{ detail.BUILD.BRANCH }}</dd>
<dt>Commit:</dt>
<dd class = "commit">{{ detail.BUILD.COMMIT }}</dd>
{% if "yocto-autobuilder" in detail.BUILD.NAME and "master" in detail.BUILD.BRANCH %}
<dd><a target="_blank" href="http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id={{detail.BUILD.COMMIT}}">View commit</a></dd>
{% endif %}
<dt>Build:</dt>
<dd><a href="{%url 'build_errors' detail.BUILD.id %}">#{{detail.BUILD.id}}</a></dd>
<dt>Submitter:</dt>
{% if "@" in detail.BUILD.EMAIL %}
<dd> <a href="mailto:{{detail.BUILD.EMAIL}}">{{detail.BUILD.EMAIL}}</a> </dd>
{% else %}
<dd>{{ detail.BUILD.NAME }}</dd>
{% endif %}
{% if detail.BUILD.LINK_BACK %}
<dt>Link back:</dt>
<dd><a href="{{detail.BUILD.LINK_BACK}}" target="_blank">{{detail.BUILD.LINK_BACK}}</a></dd>
{% endif %}
<dt></a>Similar errors:</dt>
<dd>
{% with detail.get_similar_fails_count as similar_count %}
{% if similar_count %}
<a href="{% url 'similar' detail.id %}">{{similar_count}}</a>
{% else %}
{{similar_count|default_if_none:0}}
{% endif %}
{% endwith %}
</dd>
</dl>
<div>
<a class="btn btn-block" target="_blank" href="https://bugzilla.yoctoproject.org/enter_bug.cgi?classification=__all" >Open a bug</a>
</div>
</div>
</div>
</div>
{% endif %}
{% endblock %}
|