Skip to content

Commit d22b047

Browse files
committed
fix: remove misleading error about docker-worker artifacts
We're no longer using docker-worker, so this error message is misleading. Update it with actual useful advice.
1 parent af90e99 commit d22b047

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

src/scriptworker/cot/verify.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -728,12 +728,12 @@ async def download_cot_artifact(chain, task_id, path):
728728
return
729729

730730
if path not in link.cot["artifacts"]:
731+
cot_url = get_artifact_url(chain.context, link.task_id, "public/chain-of-trust.json")
731732
raise CoTError(
732-
"path {path} not in {link_name} {task_id} chain of trust artifacts! This is likely "
733-
"a bug in {task_id}: docker-worker does not fail if a declared artifact was never "
734-
"generated by the task. Please download and make sure the artifact {path} is the "
735-
"one you expect. If it is, then please reach out to the Release Engineering "
736-
"team. For more information: https://github.com/taskcluster/taskgraph/issues/47".format(path=path, link_name=link.name, task_id=link.task_id)
733+
"path {path} not in {link_name} {task_id} chain of trust artifacts! Verify {path} "
734+
"is correct, was produced by task {task_id}, and is listed in {cot_url}".format(
735+
path=path, link_name=link.name, task_id=link.task_id, cot_url=cot_url
736+
)
737737
)
738738
url = get_artifact_url(chain.context, task_id, path)
739739
loggable_url = get_loggable_url(url)

0 commit comments

Comments
 (0)