Closed Bug 1499610 Opened 11 months ago Closed 11 months ago

Build signing fails with scriptworker.exceptions.CoTError: 'path public/build/setup-stub.exe not in signing:build PminrMWDTMq4TAhWEdAmYg chain of trust artifacts!'

Categories

(Release Engineering :: Release Automation: Signing, defect)

defect
Not set

Tracking

(firefox-esr60 fixed, firefox64 fixed)

RESOLVED FIXED
Tracking Status
firefox-esr60 --- fixed
firefox64 --- fixed

People

(Reporter: nataliaCs, Assigned: tomprince)

Details

Attachments

(1 file)

Push with failures: https://treeherder.mozilla.org/#/jobs?repo=mozilla-beta&revision=07406e9a0d2ee6389d52b519ea87b6202f24e7cc&group_state=expanded&searchStr=windows%2C2012%2Copt%2Cbuild-signing-win32%2Fopt%2C%28bs%29

Task details: https://tools.taskcluster.net/groups/dKgwbStvT5quZwGvYgkicQ/tasks/LOP2y9gcT2SDQPfAkW_qMw/details

Failure log: https://taskcluster-artifacts.net/LOP2y9gcT2SDQPfAkW_qMw/0/public/logs/chain_of_trust.log

2018-10-16T16:36:11     INFO - Downloading Chain of Trust artifact:
https://queue.taskcluster.net/v1/task/PminrMWDTMq4TAhWEdAmYg/artifacts/public%2Fbuild%2Ftarget.zip
2018-10-16T16:36:11     INFO - Downloading https://queue.taskcluster.net/v1/task/dKgwbStvT5quZwGvYgkicQ/artifacts/public%2Ftask-graph.json
2018-10-16T16:36:11     INFO - Downloading https://queue.taskcluster.net/v1/task/dKgwbStvT5quZwGvYgkicQ/artifacts/public%2Factions.json
2018-10-16T16:36:11     INFO - Downloading https://queue.taskcluster.net/v1/task/dKgwbStvT5quZwGvYgkicQ/artifacts/public%2Fparameters.yml
2018-10-16T16:36:11     INFO - Downloading https://queue.taskcluster.net/v1/task/PminrMWDTMq4TAhWEdAmYg/artifacts/public%2Fbuild%2Fsetup.exe
2018-10-16T16:36:11     INFO - Downloading https://queue.taskcluster.net/v1/task/PminrMWDTMq4TAhWEdAmYg/artifacts/public%2Fbuild%2Ftarget.zip
2018-10-16T16:36:11     INFO - Done
2018-10-16T16:36:11    DEBUG -   /builds/scriptworker/work/cot/dKgwbStvT5quZwGvYgkicQ/public/actions.json matches the expected sha256 a011130e470e8284196015b344886f1ef918480509e6e430ea21060aaffc43d4
2018-10-16T16:36:11    DEBUG -   makedirs(/builds/scriptworker/work/cot/PminrMWDTMq4TAhWEdAmYg/public/build)
2018-10-16T16:36:11     INFO - Done
2018-10-16T16:36:11    DEBUG -   /builds/scriptworker/work/cot/dKgwbStvT5quZwGvYgkicQ/public/parameters.yml matches the expected sha256 7687fb1875252d1e16714f1d40651738165009f6f2494fd3cd5da568da1c73bb
2018-10-16T16:36:11     INFO - Done
2018-10-16T16:36:11    DEBUG -   /builds/scriptworker/work/cot/PminrMWDTMq4TAhWEdAmYg/public/build/setup.exe matches the expected sha256 bac2f452ab30978f7b8e8ad2d4a7e1dbd72bb848d83db5f51205f2fe1ce24d0f
2018-10-16T16:36:11     INFO - Done
2018-10-16T16:36:11    DEBUG -   /builds/scriptworker/work/cot/dKgwbStvT5quZwGvYgkicQ/public/task-graph.json matches the expected sha256 cae287d34f8bc87d56ee82a9814a567f51617cb9753c44b7c52b98177241df35
2018-10-16T16:36:14     INFO - Done
2018-10-16T16:36:14    DEBUG -   /builds/scriptworker/work/cot/PminrMWDTMq4TAhWEdAmYg/public/build/target.zip matches the expected sha256 5973a033644d2d7b16669fbd2a09d4f31799633a34fdfeac944410d90a67152a
2018-10-16T16:36:14 CRITICAL - Chain of Trust verification error!
Traceback (most recent call last):
  File "/builds/scriptworker/lib/python3.6/site-packages/scriptworker/cot/verify.py", line 1831, in verify_chain_of_trust
    await download_cot_artifacts(chain)
  File "/builds/scriptworker/lib/python3.6/site-packages/scriptworker/cot/verify.py", line 707, in download_cot_artifacts
    mandatory_artifacts_paths = await raise_future_exceptions(mandatory_artifact_tasks)
  File "/builds/scriptworker/lib/python3.6/site-packages/scriptworker/utils.py", line 326, in raise_future_exceptions
    succeeded_results, _ = await _process_future_exceptions(tasks, raise_at_first_error=True)
  File "/builds/scriptworker/lib/python3.6/site-packages/scriptworker/utils.py", line 360, in _process_future_exceptions
    raise exc
  File "/builds/scriptworker/lib/python3.6/site-packages/scriptworker/cot/verify.py", line 655, in download_cot_artifact
    raise CoTError("path {} not in {} {} chain of trust artifacts!".format(path, link.name, link.task_id))
scriptworker.exceptions.CoTError: 'path public/build/setup-stub.exe not in signing:build PminrMWDTMq4TAhWEdAmYg chain of trust artifacts!'
2018-10-16T16:36:14    ERROR - Hit ScriptWorkerException: 'path public/build/setup-stub.exe not in signing:build PminrMWDTMq4TAhWEdAmYg chain of trust artifacts!'
2018-10-16T16:36:14    DEBUG -   "/builds/scriptworker/artifacts/public/logs/chain_of_trust.log" is encoded with "None" and has mime/type "text/plain"
2018-10-16T16:36:14     INFO - "/builds/scriptworker/artifacts/public/logs/chain_of_trust.log" can be gzip'd. Compressing...
Component: General → Release Automation: Signing
Product: Taskcluster → Release Engineering
QA Contact: aki
Something turned off the stub installer generation in the central->beta merge, so this is a build configuration bug that shows itself when the signing scriptworker tries to download the missing artifact.
These were originally enabled becuase the opt builds on mozilla-beta and
mozilla-release had the update channel set. Since Bug 1498028, only the nightly
(i.e. shippable) builds have the update channel set, the build system no longer
honors the request to enable stubs. This was causing failures in downstream tasks
that expected stub installers to be built.
Assignee: nobody → mozilla
Pushed by mozilla@hocat.ca:
https://hg.mozilla.org/integration/autoland/rev/7fc565646f9f
Don't try to enable stub installer on opt builds; r=aki
https://hg.mozilla.org/mozilla-central/rev/7fc565646f9f
Status: NEW → RESOLVED
Closed: 11 months ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.