Searched refs:jobdir (Results 1 – 8 of 8) sorted by relevance
/external/autotest/tko/ |
D | utils_unittest.py | 55 jobdir = "/results/job1" 57 jobdir + "/.autoserv_execute").and_return(True) 58 self.assertEqual(utils.find_toplevel_job_dir(jobdir), jobdir) 62 jobdir = "/results/job2" 64 jobdir + "/sub/.autoserv_execute").and_return(False) 66 jobdir + "/.autoserv_execute").and_return(True) 67 self.assertEqual(utils.find_toplevel_job_dir(jobdir + "/sub"), jobdir) 71 jobdir = "/results/job3" 73 jobdir + "/sub/sub/.autoserv_execute").and_return(False) 75 jobdir + "/sub/.autoserv_execute").and_return(False) [all …]
|
/external/autotest/venv/lucifer/cmd/ |
D | job_aborter.py | 51 _main_loop(jobdir=args.jobdir) 55 def _main_loop(jobdir): argument 68 _main_loop_body(metrics, jobdir) 73 def _main_loop_body(metrics, jobdir): argument 75 lease.id: lease for lease in leasing.leases_iter(jobdir) 82 _clean_up_expired_leases(jobdir) 139 def _clean_up_expired_leases(jobdir): argument 145 for lease in leasing.leases_iter(jobdir):
|
D | job_reporter.py | 43 with leasing.obtain_lease(_lease_path(args.jobdir, args.job_id)): 140 '-abortsock', _abort_sock_path(args.jobdir, args.job_id), 200 def _abort_sock_path(jobdir, job_id): argument 201 return _lease_path(jobdir, job_id) + '.sock' 204 def _lease_path(jobdir, job_id): argument 205 return os.path.join(jobdir, str(job_id))
|
/external/autotest/utils/ |
D | tko_publish.py | 49 def publish_job(jobdir): argument 50 cmd = RSYNC_COMMAND % (jobdir, options.dest) 54 fd = open(os.path.join(jobdir, PUBLISH_FLAGFILE), 'w') 56 print 'Published', jobdir 74 for jobdir in jobdirs: 75 job_id = int(os.path.basename(jobdir).split('-')[0]) 90 publish_job(jobdir)
|
/external/autotest/venv/lucifer/ |
D | leasing_unittest.py | 244 def _leases_dict(jobdir): argument 247 in leasing.leases_iter(jobdir)} 254 def _make_lease_file(jobdir, job_id): argument 260 path = os.path.join(jobdir, str(job_id))
|
D | leasing.py | 47 def leases_iter(jobdir): argument 53 for entry in scandir(jobdir):
|
/external/autotest/site_utils/ |
D | gs_offloader_unittest.py | 436 def make_job(self, jobdir): argument 443 os.mkdir(jobdir) 444 return _MockJobDirectory(jobdir) 1165 def _add_job(self, jobdir): argument 1167 j = self.make_job(jobdir)
|
/external/autotest/ |
D | global_config.ini | 468 jobdir: /usr/local/autotest/leases key
|