Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(173)

Side by Side Diff: Tools/GardeningServer/ui/ct-unexpected-failures.html

Issue 555263004: Add hung bots to sheriff-o-matic view (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add a basic test Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <!-- 1 <!--
2 Copyright 2014 The Chromium Authors. All rights reserved. 2 Copyright 2014 The Chromium Authors. All rights reserved.
3 Use of this source code is governed by a BSD-style license that can be 3 Use of this source code is governed by a BSD-style license that can be
4 found in the LICENSE file. 4 found in the LICENSE file.
5 --> 5 -->
6 6
7 <link rel="import" href="../bower_components/paper-button/paper-button.html"> 7 <link rel="import" href="../bower_components/paper-button/paper-button.html">
8 <link rel="import" href="../model/tree-status.html"> 8 <link rel="import" href="../model/tree-status.html">
9 <link rel="import" href="ct-builder-alerts.html">
9 <link rel="import" href="ct-failure-stream.html"> 10 <link rel="import" href="ct-failure-stream.html">
10 <link rel="import" href="ct-last-updated.html"> 11 <link rel="import" href="ct-last-updated.html">
11 <link rel="import" href="ct-party-time.html"> 12 <link rel="import" href="ct-party-time.html">
12 <link rel="import" href="ct-revision-details.html">
13 <link rel="import" href="ct-tree-status.html"> 13 <link rel="import" href="ct-tree-status.html">
14 14
15 <polymer-element name="ct-unexpected-failures" attributes="tree commitLog failur es"> 15 <polymer-element name="ct-unexpected-failures" attributes="tree commitLog failur es">
16 <template> 16 <template>
17 <style> 17 <style>
18 ct-tree-status { 18 ct-tree-status {
19 white-space: nowrap; 19 white-space: nowrap;
20 overflow: hidden; 20 overflow: hidden;
21 text-overflow: ellipsis; 21 text-overflow: ellipsis;
22 margin: 5px; 22 margin: 5px;
23 padding: 3px; 23 padding: 3px;
24 } 24 }
25 25
26 ct-tree-status[state=open] { 26 ct-tree-status[state=open] {
27 margin: 0; 27 margin: 0;
28 padding: 0; 28 padding: 0;
29 } 29 }
30 30
31 .toolbar { 31 .toolbar {
32 display: flex; 32 display: flex;
33 justify-content: space-between; 33 justify-content: space-between;
34 align-items: baseline; 34 align-items: baseline;
35 padding: 0 5px; 35 padding: 0 5px;
36 } 36 }
37 37
38 .failure-group-header { 38 .failure-group-header {
39 background-color: papayawhip;
ojan 2014/09/10 00:40:03 <3 papayawhip
40 border: 1px solid black;
39 padding: 0 5px; 41 padding: 0 5px;
42 display: block;
40 } 43 }
41 </style> 44 </style>
42 <div class="toolbar"> 45 <div class="toolbar">
43 <ct-revision-details id="revisionDetails" builderLatestRevisions="{{ failu res.builderLatestRevisions }}" commitLog="{{ commitLog }}" tree="{{ tree }}"></c t-revision-details>
44 <a href="https://code.google.com/p/chromium/wiki/UsefulURLs">Useful URLs</ a> 46 <a href="https://code.google.com/p/chromium/wiki/UsefulURLs">Useful URLs</ a>
45 </div> 47 </div>
46 <ct-tree-status status="{{ treeStatuses['chromium'] }}" state="{{ treeStatus es['chromium'].status }}"></ct-tree-status> 48 <ct-tree-status status="{{ treeStatuses['chromium'] }}" state="{{ treeStatus es['chromium'].status }}"></ct-tree-status>
47 <ct-tree-status status="{{ treeStatuses['blink'] }}" state="{{ treeStatuses[ 'blink'].status }}"></ct-tree-status> 49 <ct-tree-status status="{{ treeStatuses['blink'] }}" state="{{ treeStatuses[ 'blink'].status }}"></ct-tree-status>
48 <template if="{{ failures && failures.failures && (!failures.failures[tree] || !failures.failures[tree].length) }}"> 50 <template if="{{ failures && failures.failures && (!failures.failures[tree] || !failures.failures[tree].length) }}">
49 <ct-party-time></ct-party-time> 51 <ct-party-time></ct-party-time>
50 </template> 52 </template>
53 <ct-failure-stream title="Probably-hung bots" category="builders" groups="{{ failures.failures[tree] }}" commitLog="{{ commitLog }}" tree="{{ tree }}"></ct- failure-stream>
51 <ct-failure-stream title="Reliable failures" category="default" groups="{{ f ailures && failures.failures[tree] }}" commitLog="{{ commitLog }}" tree="{{ tree }}"></ct-failure-stream> 54 <ct-failure-stream title="Reliable failures" category="default" groups="{{ f ailures && failures.failures[tree] }}" commitLog="{{ commitLog }}" tree="{{ tree }}"></ct-failure-stream>
52 <ct-failure-stream title="Failures that have only happened once (on one bot) " category="failedOnce" groups="{{ failures && failures.failures[tree] }}" commi tLog="{{ commitLog }}" tree="{{ tree }}"></ct-failure-stream> 55 <ct-failure-stream title="Failures that have only happened once (on one bot) " category="failedOnce" groups="{{ failures && failures.failures[tree] }}" commi tLog="{{ commitLog }}" tree="{{ tree }}"></ct-failure-stream>
53 <ct-failure-stream title="Snoozed failures" category="snoozed" groups="{{ fa ilures && failures.failures[tree] }}" commitLog="{{ commitLog }}" tree="{{ tree }}"></ct-failure-stream> 56 <ct-failure-stream title="Snoozed failures" category="snoozed" groups="{{ fa ilures && failures.failures[tree] }}" commitLog="{{ commitLog }}" tree="{{ tree }}"></ct-failure-stream>
54 </template> 57 </template>
55 <script> 58 <script>
56 (function() { 59 (function() {
57 Polymer({ 60 Polymer({
58 tree: '', 61 tree: '',
59 62
60 created: function() { 63 created: function() {
(...skipping 11 matching lines...) Expand all
72 update: function() { 75 update: function() {
73 // FIXME: These shouldn't update if there's already an update in progres s. 76 // FIXME: These shouldn't update if there's already an update in progres s.
74 Object.keys(this.treeStatuses, function(tree, status) { 77 Object.keys(this.treeStatuses, function(tree, status) {
75 status.update(); 78 status.update();
76 }); 79 });
77 }, 80 },
78 }); 81 });
79 })(); 82 })();
80 </script> 83 </script>
81 </polymer-element> 84 </polymer-element>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698