Home
last modified time | relevance | path

Searched refs:taskhash (Results 1 – 15 of 15) sorted by relevance

/openbmc/openbmc/poky/bitbake/lib/hashserv/
H A Dtests.py137 return taskhash, outhash, unihash
303 taskhash = hashlib.sha256()
305 taskhash = taskhash.hexdigest()
307 if result != taskhash:
314 taskhash = hashlib.sha256()
315 taskhash.update(str(i).encode('utf-8'))
316 taskhash = taskhash.hexdigest()
317 self.client.report_unihash(taskhash, self.METHOD, taskhash, taskhash)
371 check_hash(taskhash, unihash, None)
379 check_hash(taskhash, unihash, unihash)
[all …]
H A Dsqlalchemy.py45 taskhash = Column(Text, nullable=False) variable in UnihashesV3
60 taskhash = Column(Text, nullable=False) variable in OuthashesV2
252 UnihashesV3.taskhash == OuthashesV2.taskhash,
257 OuthashesV2.taskhash == taskhash,
274 UnihashesV3.taskhash == OuthashesV2.taskhash,
322 UnihashesV3.taskhash == OuthashesV2.taskhash,
328 OuthashesV2.taskhash != taskhash,
346 UnihashesV3.taskhash == taskhash,
431 UnihashesV3.taskhash == OuthashesV2.taskhash,
447 taskhash=taskhash,
[all …]
H A Dclient.py91 async def get_unihash(self, method, taskhash): argument
97 async def report_unihash(self, taskhash, method, outhash, unihash, extra={}): argument
99 m["taskhash"] = taskhash
105 async def report_unihash_equiv(self, taskhash, method, unihash, extra={}): argument
107 m["taskhash"] = taskhash
112 async def get_taskhash(self, method, taskhash, all_properties=False): argument
114 {"get": {"taskhash": taskhash, "method": method, "all": all_properties}}
121 async def get_outhash(self, method, outhash, taskhash, with_unihash=True): argument
126 "taskhash": taskhash,
326 method, taskhash = args
[all …]
H A Dserver.py324 taskhash = request["taskhash"]
327 return await self.get_unihash(method, taskhash, fetch_all)
340 row = await self.db.get_equivalent(method, taskhash)
354 taskhash = request["taskhash"]
415 (method, taskhash) = l.split()
417 row = await self.db.get_equivalent(method, taskhash)
450 taskhash = data["taskhash"]
452 info = await self.get_outhash(method, outhash, taskhash)
459 "taskhash": taskhash,
859 method, taskhash = item
[all …]
H A Dsqlite.py227 async def get_unihash_by_taskhash_full(self, method, taskhash): argument
239 "taskhash": taskhash,
290 async def get_equivalent_for_outhash(self, method, outhash, taskhash): argument
305 "taskhash": taskhash,
310 async def get_equivalent(self, method, taskhash): argument
316 "taskhash": taskhash,
417 async def insert_unihash(self, method, taskhash, unihash): argument
432 "taskhash": taskhash,
/openbmc/openbmc/poky/bitbake/lib/bb/
H A Dsiggen.py78 self.taskhash = {}
121 return self.taskhash[tid]
131 return self.taskhash[tid]
225 self.taskhash = {}
405 self.taskhash[tid] = h
503 if tid in self.taskhash:
623 if tid in self.taskhash:
654 taskhash = self.taskhash[tid]
659 return taskhash
751 taskhash = self.taskhash[tid]
[all …]
H A Dcache.py230 for task, taskhash in self.basetaskhashes.items():
232 cachedata.basetaskhash[identifier] = taskhash
H A Drunqueue.py2444 taskhash = self.rqdata.runtaskentries[task].hash
2448 taskdepdata_cache[task] = [pn, taskname, fn, deps, provides, taskhash, unihash, hashfn]
2812 taskhash = self.rqdata.runtaskentries[revdep].hash
2815 taskdepdata[revdep] = [pn, taskname, fn, deps, provides, taskhash, unihash, hashfn]
3147 self.taskhash = rq.rqdata.get_task_hash(task)
3160 self.taskhash = rq.rqdata.get_task_hash(task)
/openbmc/openbmc/poky/bitbake/bin/
H A Dbitbake-hashclient56 result = client.get_taskhash(args.method, args.taskhash, all_properties=True)
64 result = client.get_outhash(args.method, args.outhash, args.taskhash)
87 taskhash = hashlib.sha256()
88 taskhash.update(args.taskhash_seed.encode('utf-8'))
89 taskhash.update(str(i).encode('utf-8'))
92 l = client.get_unihash(METHOD, taskhash.hexdigest())
128 taskhash = hashlib.sha256()
129 taskhash.update(args.taskhash_seed.encode('utf-8'))
130 taskhash.update(str(i).encode('utf-8'))
136 … client.report_unihash(taskhash.hexdigest(), METHOD, outhash.hexdigest(), taskhash.hexdigest())
H A Dbitbake-worker151 taskhash = runtask['taskhash']
269 the_data.setVar('BB_TASKHASH', taskhash)
/openbmc/openbmc/poky/meta/lib/oe/
H A Dsstatesig.py244 if tid not in self.taskhash:
264 for taskitem in self.taskhash:
267 tasks.append((pn, task, strip_fn(fn), self.taskhash[taskitem]))
268 for (pn, task, fn, taskhash) in sorted(tasks):
269 f.write('%s:%s %s %s\n' % (pn, task, fn, taskhash))
395 for taskhash in taskhashlist:
396 if fullpath.endswith('.%s' % taskhash):
397 … hashfiles[taskhash] = {'path':fullpath, 'sstate':False, 'time':get_time(fullpath)}
/openbmc/openbmc/poky/meta/recipes-core/meta/
H A Dmeta-extsdk-toolchain.bb19 # If a taskhash changes we need to use the latest hash changes. With unihash we may not rebuild.
/openbmc/openbmc/poky/meta/classes-global/
H A Dstaging.bbclass506 taskhash = setscenedeps[dep][5]
507 taskmanifest = depdir + "/" + c + "." + taskhash
511 if lnk == c + "." + taskhash and os.path.exists(depdir + "/" + c + ".complete"):
514 …bb.note("%s exists in sysroot, but is stale (%s vs. %s), removing." % (c, lnk, c + "." + taskhash))
528 taskhash = setscenedeps[dep][5]
529 taskmanifest = depdir + "/" + c + "." + taskhash
533 if lnk == c + "." + taskhash and os.path.exists(depdir + "/" + c + ".complete"):
539 os.symlink(c + "." + taskhash, depdir + "/" + c)
H A Dsstate.bbclass1339 # it is stable (e.g. taskhash doesn't match). With that list we can go through
/openbmc/openbmc/poky/bitbake/lib/bb/ui/
H A Dbuildinfohelper.py867 self.taskhash = None
975 task_information['sstate_checksum'] = event.taskhash
1308 … for (fn, taskname, taskhash, sstatefile) in BuildInfoHelper._get_data_from_event(event)['missed']:
1315 mevent.taskhash = taskhash
1320 task_information['sstate_checksum'] = taskhash
1326 … for (fn, taskname, taskhash, sstatefile) in BuildInfoHelper._get_data_from_event(event)['found']:
1333 mevent.taskhash = taskhash