Home
last modified time | relevance | path

Searched refs:job (Results 1 – 25 of 2490) sorted by relevance

12345678910>>...100

/external/chromium-trace/catapult/dashboard/dashboard/
Dupdate_bug_with_results.py74 for job in jobs_to_check:
76 _CheckJob(job, issue_tracker)
86 def _CheckJob(job, issue_tracker): argument
95 if _IsStale(job):
96 job.SetStaled()
101 results_data = job.results_data
105 if job.job_type == 'perf-try':
106 _SendPerfTryJobEmail(job)
107 elif job.job_type == 'bisect-fyi':
108 _CheckFYIBisectJob(job, issue_tracker)
[all …]
Dpost_bisect_results.py69 job = _GetTryJob(data)
70 if not job:
73 _UpdateTryJob(job, data)
74 update_bug_with_results.UpdateQuickLog(job)
84 def _UpdateTryJob(job, results_data): argument
85 if not job.results_data:
86 job.results_data = {}
87 job.results_data.update(results_data)
88 job.results_data['issue_url'] = (job.results_data.get('issue_url') or
89 _IssueURL(job))
[all …]
Dbisect_report_test.py77 job = try_job.TryJob(results_data=results_data, **kwargs)
78 job.put()
79 return job
91 job = self._AddTryJob(results_data)
128 self.assertEqual(log_with_culprit, bisect_report.GetReport(job))
133 job = self._AddTryJob(results_data)
162 self.assertEqual(log_without_culprit, bisect_report.GetReport(job))
168 job = self._AddTryJob(results_data)
192 self.assertEqual(log_failed_bisect, bisect_report.GetReport(job))
199 job = self._AddTryJob(results_data)
[all …]
/external/autotest/client/bin/
Djob_unittest.py6 from autotest_lib.client.bin import job, boottool, config, sysinfo, harness
18 job_class = job.base_client_job
22 self.god.stub_with(job.base_client_job, '_get_environ_autodir',
24 self.job = self.job_class.__new__(self.job_class)
25 self.job._job_directory = base_job_unittest.stub_job_directory
37 autodir, clientdir, _ = self.job._find_base_directories()
43 _, _, serverdir = self.job._find_base_directories()
59 self.god.stub_function_to_return(job.os, 'mkdir', None)
60 self.god.stub_function_to_return(job.os.path, 'exists', True)
61 self.god.stub_function_to_return(self.job, '_load_state', None)
[all …]
/external/autotest/client/site_tests/suite_HWQual/
Dcontrol.auto16 job.run_test('power_Resume',
20 job.run_test('platform_HighResTimers')
21 job.run_test('platform_KernelVersion')
24 job.run_test('platform_AesThroughput')
27 job.run_test('firmware_RomSize',
35 # job.run_test('firmware_VbootCrypto', suite='benchmarks', tag='benchmarks')
38 job.run_test('hardware_MemoryTotalSize')
39 job.run_test('hardware_MemoryThroughput', num_iteration=2500, test_list='21')
42 job.run_test('hardware_StorageFio',
56 job.run_test('hardware_DiskSize',
[all …]
/external/chromium-trace/catapult/perf_insights/perf_insights/endpoints/cloud_mapper/
Dtask.py41 def _DispatchTracesAndWaitForResult(self, job, traces, num_instances): argument
56 if job.reducer:
57 reducer_url = '%s%s.reducer' % (bucket_path, job.key.id())
58 reducer_text = job.reducer.encode('ascii', 'ignore')
61 if job.mapper:
62 mapper_url = '%s%s.mapper' % (bucket_path, job.key.id())
63 mapper_text = job.mapper.encode('ascii', 'ignore')
77 'revision': job.revision,
81 'mapper_function': job.mapper_function,
82 'timeout': job.function_timeout,
[all …]
Dcreate.py50 job = job_info.JobInfo(id=job_uuid)
51 job.remote_addr = os.environ["REMOTE_ADDR"]
52 job.status = 'QUEUED'
53 job.mapper = mapper
54 job.reducer = reducer
55 job.mapper_function = mapper_function
56 job.reducer_function = reducer_function
57 job.query = query
58 job.corpus = corpus
59 job.revision = revision
[all …]
/external/autotest/server/cros/dynamic_suite/
Djob_status_unittest.py50 job = FakeJob(0, [])
54 self.afe.run('get_host_queue_entries', job=job.id).AndReturn(entries)
59 job)))
64 job = FakeJob(0, [])
69 self.afe.run('get_host_queue_entries', job=job.id).AndReturn(entries)
74 job)))
79 job = FakeJob(0, [])
84 self.afe.run('get_host_queue_entries', job=job.id).AndReturn(entries)
88 job_status.gather_job_hostnames(self.afe, job))
95 job = FakeJob(0, [])
[all …]
Djob_status.py62 def gather_job_hostnames(afe, job): argument
72 for e in afe.run('get_host_queue_entries', job=job.id):
80 job.name, job.id)
101 for job in jobs:
102 entries = afe.run('get_host_queue_entries', job=job.id)
110 '%s.', job.id)
131 for job in jobs:
133 job.id, timeout_mins)
134 afe.run('abort_host_queue_entries', job=job.id)
238 for job in my_jobs:
[all …]
/external/toybox/toys/pending/
Dcrond.c53 struct double_list *job, *var; member
279 dlist_add_nomalloc((struct double_list **)&cfile->job, (struct double_list *)j); in parse_line()
328 JOB *jstart, *jlist = (JOB *)list->job; in remove_completed_jobs()
347 list->job = (struct double_list *)jlist; in remove_completed_jobs()
395 if (!cfile->job) { in scan_cronfiles()
422 static void do_fork(CRONFILE *cfile, JOB *job, int fd, char *prog) in do_fork() argument
458 execlp(file, file, (prog ? "-ti" : "-c"), (prog ? NULL : job->cmd), (char *) NULL); in do_fork()
461 if (!prog) dprintf(1, "Exec failed: %s -c %s\n", file, job->cmd); in do_fork()
470 job->pid = pid; in do_fork()
474 static void sendmail(CRONFILE *cfile, JOB *job) in sendmail() argument
[all …]
/external/autotest/frontend/health/
Dutils_unittest.py62 job = models.Job(job_idx=1)
66 early_pass = models.Test(job=job, status=GOOD_STATUS,
71 late_pass = models.Test(job=job, status=GOOD_STATUS,
84 job = models.Job(job_idx=1)
88 passing_test = models.Test(job=job, status=GOOD_STATUS,
93 failing_test = models.Test(job=job, status=FAIL_STATUS,
107 job = models.Job(job_idx=1)
111 test1 = models.Test(job=job, status=GOOD_STATUS,
116 test2 = models.Test(job=job, status=GOOD_STATUS,
147 job = models.Job(job_idx=1)
[all …]
/external/autotest/tko/parsers/
Dversion_0_unittest.py22 self.god.stub_function(models.job, 'read_keyval')
23 self.god.stub_function(version_0.job, 'find_hostname')
42 models.job.read_keyval.expect_call('.').and_return(
45 job = version_0.job.load_from_dir('.')
46 self.assertEqual('janet', job['user'])
47 self.assertEqual('steeltown', job['label'])
48 self.assertEqual('abc123', job['machine'])
49 self.assertEqual('my_platform', job['machine_group'])
56 models.job.read_keyval.expect_call('.').and_return(raw_keyval)
61 version_0.job.find_hostname.expect_call('.').and_raises(
[all …]
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/glacier/
Dtest_job.py25 from boto.glacier.job import Job
36 self.job = Job(self.vault)
44 self.job.get_output(byte_range=(1, 1024), validate_checksum=True)
54 self.job.get_output(byte_range=(1, 1024), validate_checksum=True)
56 self.job.get_output(byte_range=(1, 1024), validate_checksum=False)
64 self.job.archive_size = 3
67 self.job.download_to_fileobj(fileobj)
72 self.job.archive_size = 0
73 self.assertEqual(self.job._calc_num_chunks(self.job.DefaultPartSize), 0)
74 self.job.archive_size = 1
[all …]
/external/autotest/server/
Dfrontend.py177 def get_status_counts(self, job, **data): argument
180 job_tag__startswith='%s-' % job, **data)
186 reply_debug=False, job=None): argument
187 self.job = job
296 job = Job(self, j)
298 job.testname = re.sub('\s.*', '', job.name) # arbitrary default
299 job.platform_results = {}
300 job.platform_reasons = {}
301 jobs.append(job)
438 def result_notify(self, job, email_from, email_to): argument
[all …]
/external/autotest/client/site_tests/suite_HWConfig/
Dcontrol19 job.run_test('firmware_RomSize',
24 job.run_test('platform_HighResTimers')
25 job.run_test('power_Resume')
28 job.run_test('hardware_MemoryTotalSize')
31 job.run_test('power_CPUFreq')
32 job.run_test('power_CPUIdle')
35 job.run_test('hardware_Backlight')
38 job.run_test('hardware_DiskSize',
40 job.run_test('hardware_SsdDetection')
43 job.run_test('hardware_SAT', seconds=20)
[all …]
/external/v8/src/
Doptimizing-compile-dispatcher.cc17 void DisposeOptimizedCompileJob(OptimizedCompileJob* job, in DisposeOptimizedCompileJob() argument
20 CompilationInfo* info = job->info(); in DisposeOptimizedCompileJob()
23 if (!job->IsWaitingForInstall()) { in DisposeOptimizedCompileJob()
108 OptimizedCompileJob* job = input_queue_[InputQueueIndex(0)]; in NextInput() local
109 DCHECK_NOT_NULL(job); in NextInput()
114 if (!job->info()->is_osr()) { in NextInput()
116 DisposeOptimizedCompileJob(job, true); in NextInput()
121 return job; in NextInput()
125 void OptimizingCompileDispatcher::CompileNext(OptimizedCompileJob* job) { in CompileNext() argument
126 if (!job) return; in CompileNext()
[all …]
/external/autotest/frontend/afe/doctests/
D003_misc_rpc_features.txt18 job.next_step('step0')
19 job.next_step('step1')
20 job.next_step('step2')
21 job.next_step('step3')
22 job.next_step('step4')
25 job.profilers.add('oprofile')
28 job.profilers.add('iostat')
31 job.run_test('testname')
34 job.profilers.delete('oprofile')
37 job.profilers.delete('iostat')
[all …]
/external/autotest/scheduler/
Dscheduler_models_unittest.py222 job = self._create_job(**create_job_kwargs)
224 job.dependency_labels.add(label)
225 hqes = list(scheduler_models.HostQueueEntry.fetch(where='job_id=%d' % job.id))
302 hqe.job.update_field('shard_id', 3)
307 self.assertIsNone(hqe.job.shard_id)
310 self.assertEquals(hqe.job.shard_id, 3)
332 queue_entry.job.reboot_before = reboot_before
339 job = scheduler_models.Job(django_job.id)
340 job.request_abort()
341 django_hqes = list(models.HostQueueEntry.objects.filter(job=job.id))
[all …]
Datomic_group_unittests.py80 job = self._create_job(metahosts=[self.label5.id], atomic_group=1)
116 job = self._create_job(synchronous=True, atomic_group=1)
118 self._assert_job_scheduled_on_number_of(job.id, (5, 6, 7), 2)
126 job = self._create_job(synchronous=True, metahosts=[self.label4.id],
130 self._assert_job_scheduled_on(job.id, 6)
131 self._assert_job_scheduled_on(job.id, 7)
182 job = self._create_job(metahosts=[self.label4.id], atomic_group=1)
183 models.IneligibleHostQueue.objects.create(job=job, host_id=5)
184 models.IneligibleHostQueue.objects.create(job=job, host_id=6)
185 models.IneligibleHostQueue.objects.create(job=job, host_id=7)
[all …]
/external/autotest/client/samples/
Dcontrol.oprofile_power518 job.profilers.add('oprofile')
19 job.run_test('sleeptest', seconds=5, tag='default')
20 job.profilers.delete('oprofile')
23 job.profilers.add('oprofile', '/boot/vmlinux-autotest')
24 job.run_test('sleeptest', seconds=5, tag='vmlinux')
25 job.profilers.delete('oprofile')
28 job.profilers.add('oprofile', None, ['PM_RUN_CYC_GRP153:100000'])
29 job.run_test('sleeptest', seconds=5, tag='one')
30 job.profilers.delete('oprofile')
33 job.profilers.add('oprofile', None,
[all …]
Dcontrol.kbuild_and_tests29 job.next_step([step_tests])
32 #job.config_set('local_mirror', 'http://foo/bar')
33 testkernel = job.kernel('2.6.35')
38 #testkernel = job.kernel('2.6.36-git13')
40 #testkernel = job.kernel('/path/to/kernel-source')
52 job.run_test('aiostress')
53 job.run_test('bonnie')
54 job.run_test('dbench')
55 job.run_test('fio')
56 job.run_test('fsx')
[all …]
Dcontrol.fs_options10 features of the job.partition method, such as creating loopback partitions
14 partition = job.partition(device='/tmp/looped', loop_size=1024,
15 mountpoint=job.tmpdir)
18 #partition = job.partition('/dev/sdb1', job.tmpdir)
31 job.run_test('fsx', dir=job.tmpdir, tag=tag)
32 job.run_test('iozone', dir=job.tmpdir, iterations=iters, tag=tag)
33 job.run_test('dbench', iterations=iters, dir=job.tmpdir, tag=tag)
34 job.run_test('tiobench', dir=job.tmpdir, tag=tag)
/external/autotest/client/common_lib/
Dtest.py32 def __init__(self, job, bindir, outputdir): argument
33 self.job = job
34 self.pkgmgr = job.pkgmgr
35 self.autodir = job.autodir
54 dir=job.tmpdir)
81 tap_report=self.job._tap)
159 tap_report=self.job._tap)
164 tap_report=self.job._tap)
262 if self.job.drop_caches_between_iterations:
276 if self.job.test_retry != 0:
[all …]
/external/autotest/client/site_tests/platform_CryptohomeTPMReOwn/
Dplatform_CryptohomeTPMReOwn.py30 self.job.set_state("client_status", "Success")
33 self.job.set_state("client_status", "Success")
47 self.job.set_state("client_status", error_msg)
54 self.job.set_state("client_status", error_msg)
63 self.job.set_state("client_status", error_msg)
65 self.job.set_state("client_status", "Success")
77 self.job.set_state("client_status", error_msg)
84 self.job.set_state("client_status", error_msg)
90 self.job.set_state("client_status", error_msg)
93 self.job.set_state("client_status", "Success")
[all …]
/external/autotest/contrib/
Dcompare_suite.py110 def __init__(self, job, suite_start_time=None, suite_end_time=None): argument
114 self.id = job.id
116 self.job = job
118 self.name = job.name.split('/')[-1]
135 self.log = JOB_URL % {'job_id': job.id, 'owner': job.owner,
229 for job in self.test_jobs:
230 tasks += [task for task in job.get_all_tasks()
251 for job in self.test_jobs:
252 tasks += [task for task in job.get_all_tasks()
329 parent_jobs = [job.parent_job_id for job in
[all …]

12345678910>>...100