Home
last modified time | relevance | path

Searched full:schedule (Results 1 – 25 of 55) sorted by relevance

123

/test/vti/test_serving/gae/webapp/src/endpoint/
Dschedule_info.py14 """Schedule Info APIs implemented using Google Cloud Endpoints."""
31 @endpoints.api(name="schedule", version="v1")
42 """Clears test schedule info in DB."""
58 """Sets the schedule info based on `request`."""
62 "name", "schedule_type", "schedule", "param", "timestamp",
87 schedule for schedule in duplicated_schedules
89 [not getattr(schedule, attr) for attr in empty_list_field])
93 schedule = duplicated_schedules[0]
95 schedule = model.ScheduleModel()
97 setattr(schedule, attr_name,
[all …]
/test/vti/test_serving/gae/webapp/src/scheduler/
Dschedule_worker.py116 This class pull tasks from 'queue-schedule' queue and processes in
203 schedule for schedule in schedules
204 if (schedule.timestamp >
224 for schedule in group:
226 self.logger.Println("Schedule: %s (branch: %s)" %
227 (schedule.test_name,
228 schedule.manifest_branch))
230 "Build Target: %s" % schedule.build_target)
231 self.logger.Println("Device: %s" % schedule.device)
233 result, lab = self.CreateJob(schedule, manual_job)
[all …]
Dschedule_worker_test.py61 schedule = self.GenerateScheduleModel(
63 schedule.put()
65 build_dict = self.GenerateBuildModel(schedule)
149 for schedule in schedules:
150 build_dict = self.GenerateBuildModel(schedule)
162 # medium priority schedule's priority value will be decreased.
175 # medium priority schedule's priority value will be decreased again.
184 # at last, medium priority schedule should be able to create a job.
245 for schedule in [schedule2_m, schedule2_h]:
246 build_dict = self.GenerateBuildModel(schedule)
[all …]
Djob_heartbeat_test.py67 schedule = self.GenerateScheduleModel(
69 schedule.put()
70 schedules.append(schedule)
72 for schedule in schedules:
73 build_dict = self.GenerateBuildModel(schedule)
/test/vti/test_serving/gae/webapp/src/tasks/
Dindexing_test.py46 """Asserts re-indexing links job and schedule successfully."""
48 print("\nCreating a single schedule...")
49 schedule = self.GenerateScheduleModel()
50 schedule.put()
55 print("Creating a job for stored schedule...")
56 for schedule in schedules:
58 job.priority = schedule.priority
59 job.test_name = schedule.test_name
60 job.period = schedule.period
61 job.build_storage_type = schedule.build_storage_type
[all …]
/test/vti/test_serving/gae/frontend/src/app/menu/schedule/
Dschedule.component.html29 <mat-cell *matCellDef="let schedule"> {{schedule.test_name}} </mat-cell>
35 …<mat-cell *matCellDef="let schedule"> {{schedule.device ? schedule.device.join('\n') : ""}} </mat-…
41 <mat-cell *matCellDef="let schedule"> {{schedule.manifest_branch}}</mat-cell>
47 <mat-cell *matCellDef="let schedule"> {{schedule.build_target}} </mat-cell>
53 <mat-cell *matCellDef="let schedule"> {{schedule.gsi_branch}} </mat-cell>
59 <mat-cell *matCellDef="let schedule"> {{schedule.gsi_build_target}} </mat-cell>
65 <mat-cell *matCellDef="let schedule"> {{schedule.test_branch}} </mat-cell>
71 <mat-cell *matCellDef="let schedule"> {{schedule.test_build_target}}</mat-cell>
77 <mat-cell *matCellDef="let schedule"> {{schedule.period}}</mat-cell>
83 <mat-cell *matCellDef="let schedule"
[all …]
Dschedule.component.ts24 import { Schedule, ScheduleSuspendResponse } from '../../model/schedule';
25 import { ScheduleService } from './schedule.service';
28 /** Component that handles schedule menu. */
30 selector: 'app-schedule',
31 templateUrl: './schedule.component.html',
33 styleUrls: ['./schedule.component.scss'],
57 dataSource = new MatTableDataSource<Schedule>();
70 this.filterComponent.setSelectorList(Schedule);
126 /** Toggles a schedule from suspend to resume, or vice versa. */
133 response.schedules.forEach(function(schedule) {
[all …]
/test/vti/test_serving/gae/webapp/src/utils/
Dmodel_util.py23 """Updates a parent schedule of the given job with status.
38 schedule = job.parent_schedule.get()
39 if schedule:
40 previous_suspended = schedule.suspended
41 if schedule.error_count is None:
42 schedule.error_count = 0
44 schedule.error_count = 0
45 schedule.suspended = False
51 schedule.error_count += 1
52 if schedule.error_count >= Status.NUM_ERRORS_FOR_SUSPENSION:
[all …]
Demail_util.py47 "[VTS lab] A job schedule has been {}. ({})")
48 SEND_SCHEDULE_SUSPENSION_NOTIFICATION_HEADER = ("The below job schedule has "
186 def send_schedule_suspension_notification(schedule): argument
187 """Sends notification when a schedule is suspended, or resumed.
190 schedule: a ScheduleModel entity.
192 if not schedule:
195 if not schedule.device:
203 for device in schedule.device:
228 status_text = "suspended" if schedule.suspended else "resumed"
237 message += "\n".join(schedule.device)
[all …]
Dmodel_util_test.py51 schedule = self.GenerateScheduleModel(
53 schedule.put()
55 build_dict = self.GenerateBuildModel(schedule)
98 # reset a device manually to re-schedule
128 print("Asserting a schedule's suspend status...")
129 # after three errors the schedule should be suspended.
135 # reset a device manually to re-schedule
/test/vti/test_serving/gae/webapp/src/testing/
Dunittest_base.py52 self.testbed.setup_env(app_id="vtslab-schedule-unittest")
168 required_signed_device_build: a boolean, True to schedule for signed
192 schedule = model.ScheduleModel()
193 schedule.priority = priority
194 schedule.priority_value = Status.GetPriorityValue(schedule.priority)
195 schedule.period = period
196 schedule.shards = shards
197 schedule.retry_count = retry_count
198 schedule.required_signed_device_build = required_signed_device_build
199 schedule.build_storage_type = device_storage_type
[all …]
/test/vti/dashboard/src/main/webapp/WEB-INF/
Dcron.xml21 <schedule>every day 07:30</schedule>
27 <schedule>every day 07:30</schedule>
33 <schedule>every 5 mins</schedule>
39 <schedule>every day 00:30</schedule>
/test/vti/test_serving/gae/
Dcron.yaml3 url: /tasks/schedule
4 schedule: every 5 minutes
7 schedule: every 1 minutes
10 schedule: every 1 minutes
13 schedule: every 1 hours
Dschedulev1openapi.json383 "schedule": { object
422 "description": "A message for representing an individual schedule entry.",
432 "host": "vtslab-schedule-prod.appspot.com",
435 "title": "schedule",
439 "/schedule/v1/clear": {
461 "/schedule/v1/count": {
483 "/schedule/v1/get": {
505 "/schedule/v1/set": {
544 "x-google-api-name": "schedule"
/test/vti/test_serving/gae/testing/
Dtest-endpoint.sh3 …"serial": "myserial", "status": 1}], "hostname": "hc1"}' https://vtslab-schedule-prod.appspot.com/…
5 … "build_target": "sailfish", "build_type": "userdebug"}' https://vtslab-schedule-prod.appspot.com/…
7 …POST -d '{"device": [{"index": 1}], "host_name": "hc1"}' https://vtslab-schedule-prod.appspot.com/…
9 …cation/json" -X POST -d '{"hostname": "vtslab-mtv43-2"}' https://vtslab-schedule-prod.appspot.com/…
/test/vti/test_serving/gae/frontend/src/app/model/
Dschedule_wrapper.ts16 import {Schedule} from './schedule';
19 schedules: Schedule[];
/test/vti/test_serving/gae/webapp/src/proto/
Dmodel.py49 """A model for representing a schedule control data entry."""
56 """A model for representing an individual schedule entry."""
57 # schedule name for green build schedule, optional.
85 schedule = ndb.StringProperty() variable in ScheduleModel
111 """A message for representing a schedule control data entry."""
117 """A message for representing an individual schedule entry."""
119 # schedule name for green build schedule, optional.
147 schedule = messages.StringField(18) variable in ScheduleInfoMessage
426 """A message containing schedule entities to respond to /get endpoints."""
442 """A response message to schedule endpoint API's /suspend method."""
/test/vti/test_serving/gae/script/
Dbuild.sh23 SERVICE="vtslab-schedule-prod.appspot.com"
25 SERVICE="vtslab-schedule.appspot.com"
27 SERVICE="vtslab-schedule-test.appspot.com"
/test/vti/test_serving/proto/
DGreenBuildScheduleConfigMessage.proto21 // Schedule name.
24 // Schedule description (e.g., daily/HH:MM)
25 optional bytes schedule = 2; field
/test/vti/test_serving/gae/frontend/src/app/menu/dashboard/
Ddashboard.component.ts22 import { ScheduleService } from "../schedule/schedule.service";
61 /** Fetches the most recently updated schedule and gets timestamp from it. */
/test/vti/test_serving/gae/frontend/src/app/menu/
Dmenu-items.ts21 ['schedule']: '/schedule',
/test/framework/harnesses/host_controller/command_processor/
Dcommand_release.py76 "--schedule-for",
78 help="Schedule to update HC package at the given time every day. "
79 "Example: --schedule-for=%%H:%%M")
104 """Schedule a host_constroller package release at a certain time."""
119 logging.error("The format of --schedule-for flag is %H:%M")
124 logging.error("The value of --schedule-for flag must be in "
/test/framework/harnesses/host_controller/vti_interface/
Dvti_endpoint_client.py35 # never leased within schedule period
136 """Uploads the given schedule information to VTI.
140 clear_schedule: bool, True to clear all schedule data exist on the
149 url = self._url + "schedule/v1/clear"
166 url = self._url + "schedule/v1/set"
168 schedule = {}
170 pb, schedule, url, self._headers,
/test/vts/
D.gitignore75 # celery beat schedule file
76 celerybeat-schedule
/test/vti/test_serving/
D.gitignore75 # celery beat schedule file
76 celerybeat-schedule

123