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

Side by Side Diff: dashboard/dashboard/pinpoint/models/quest/run_test.py

Issue 3001853002: [pinpoint] Increase the Swarming execution timeout. (Closed)
Patch Set: [pinpoint] Increase the Swarming execution timeout. Created 3 years, 4 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
« no previous file with comments | « no previous file | dashboard/dashboard/pinpoint/models/quest/run_test_test.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 """Quest and Execution for running a test in Swarming. 5 """Quest and Execution for running a test in Swarming.
6 6
7 This is the only Quest/Execution where the Execution has a reference back to 7 This is the only Quest/Execution where the Execution has a reference back to
8 modify the Quest. 8 modify the Quest.
9 """ 9 """
10 10
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 dimensions = [{'key': 'pool', 'value': 'Chrome-perf-pinpoint'}] 136 dimensions = [{'key': 'pool', 'value': 'Chrome-perf-pinpoint'}]
137 if self._first_execution: 137 if self._first_execution:
138 dimensions.append({'key': 'id', 'value': self._first_execution.bot_id}) 138 dimensions.append({'key': 'id', 'value': self._first_execution.bot_id})
139 else: 139 else:
140 dimensions += self._dimensions 140 dimensions += self._dimensions
141 141
142 body = { 142 body = {
143 'name': 'Pinpoint job', 143 'name': 'Pinpoint job',
144 'user': 'Pinpoint', 144 'user': 'Pinpoint',
145 'priority': '100', 145 'priority': '100',
146 'expiration_secs': '600', 146 'expiration_secs': '36000', # 10 hours.
147 'properties': { 147 'properties': {
148 'inputs_ref': {'isolated': self._isolate_hash}, 148 'inputs_ref': {'isolated': self._isolate_hash},
149 'extra_args': self._extra_args, 149 'extra_args': self._extra_args,
150 'dimensions': dimensions, 150 'dimensions': dimensions,
151 'execution_timeout_secs': '3600', 151 'execution_timeout_secs': '7200', # 2 hours.
152 'io_timeout_secs': '3600', 152 'io_timeout_secs': '3600',
153 }, 153 },
154 } 154 }
155 response = swarming_service.Tasks().New(body) 155 response = swarming_service.Tasks().New(body)
156 156
157 self._task_id = response['task_id'] 157 self._task_id = response['task_id']
OLDNEW
« no previous file with comments | « no previous file | dashboard/dashboard/pinpoint/models/quest/run_test_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698