Closed Bug 1773274 Opened 2 years ago Closed 2 years ago

Perma exception scriptworker.exceptions.CoTError: 'path public/build/target.normandy.json not in scriptworker:build SvDq8JQwTtqkPR8vtFxlkg chain of trust artifacts!'

Categories

(Firefox :: Normandy Client, defect)

defect

Tracking

()

RESOLVED FIXED
103 Branch
Tracking Status
firefox-esr91 --- unaffected
firefox-esr102 --- unaffected
firefox101 --- unaffected
firefox102 --- unaffected
firefox103 blocking fixed

People

(Reporter: apavel, Unassigned)

References

(Regression)

Details

(Keywords: regression)

Treeherder link: https://treeherder.mozilla.org/jobs?repo=mozilla-central&group_state=expanded&selectedTaskRun=UictFZdwQkGS1FyIj5ee9g.1&resultStatus=success%2Ctestfailed%2Cbusted%2Cexception%2Cretry%2Cusercancel

Failure log: https://firefox-ci-tc.services.mozilla.com/tasks/UictFZdwQkGS1FyIj5ee9g/runs/2/logs/public/logs/chain_of_trust.log

2022-06-08T11:39:53    DEBUG -  /app/workdir/cot/B8BbpDYRSWiAFCPX7bB9QQ/public/build/target.complete.mar matches the expected sha256 dfec184896cd73cae7cd0d03d2d64817a253746d7bdbcc0bc9ed29e88ee68eda
2022-06-08T11:39:53 CRITICAL - Chain of Trust verification error!
Traceback (most recent call last):
  File "/app/lib/python3.9/site-packages/scriptworker/cot/verify.py", line 1990, in verify_chain_of_trust
    await download_cot_artifacts(chain)
  File "/app/lib/python3.9/site-packages/scriptworker/cot/verify.py", line 764, in download_cot_artifacts
    mandatory_artifacts_paths = await raise_future_exceptions(mandatory_artifact_tasks)
  File "/app/lib/python3.9/site-packages/scriptworker/utils.py", line 409, in raise_future_exceptions
    succeeded_results, _ = await _process_future_exceptions(tasks, raise_at_first_error=True)
  File "/app/lib/python3.9/site-packages/scriptworker/utils.py", line 443, in _process_future_exceptions
    raise exc
  File "/app/lib/python3.9/site-packages/scriptworker/cot/verify.py", line 716, 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/target.normandy.json not in scriptworker:build SvDq8JQwTtqkPR8vtFxlkg chain of trust artifacts!'
2022-06-08T11:39:53    ERROR - Hit ScriptWorkerException: 'path public/build/target.normandy.json not in scriptworker:build SvDq8JQwTtqkPR8vtFxlkg chain of trust artifacts!'
2022-06-08T11:39:53    DEBUG -  "/app/artifacts/public/logs/chain_of_trust.log" is encoded with "None" and has mime/type "text/plain"
2022-06-08T11:39:53     INFO - "/app/artifacts/public/logs/chain_of_trust.log" can be gzip'd. Compressing...

Aki can you please take a look?

Flags: needinfo?(aki)
Flags: needinfo?(aki) → needinfo?(jcristau)

From the build task's log:

[task 2022-06-08T11:06:49.235Z] 11:06:49 INFO - package> # Generate a file that describes the local Normandy client.
[task 2022-06-08T11:06:49.235Z] 11:06:49 INFO - package> env LD_LIBRARY_PATH=":../../dist//bin"
[task 2022-06-08T11:06:49.235Z] 11:06:49 INFO - package> ../../dist//bin/xpcshell
[task 2022-06-08T11:06:49.235Z] 11:06:49 INFO - package> /builds/worker/checkouts/gecko/toolkit/components/normandy/metadata-script.js ../../dist//target.normandy.json
[task 2022-06-08T11:06:49.235Z] 11:06:49 INFO - package> JavaScript error: /builds/worker/checkouts/gecko/toolkit/components/normandy/metadata-script.js, line 21: OperationError: Could not parse path (../../dist//target.normandy.json): NS_ERROR_FILE_UNRECOGNIZED_PATH

That error is somehow ignored in the build task, but then breaks nightly.

Regressed by 8fc495765c2c547544b559635324530127684eae.

Component: Release Automation: Signing → Normandy Client
Flags: needinfo?(jcristau) → needinfo?(brennie)
Keywords: regression
Product: Release Engineering → Firefox
QA Contact: aki
Regressed by: 1772261
Has Regression Range: --- → yes
Status: NEW → RESOLVED
Closed: 2 years ago
Flags: needinfo?(brennie)
Resolution: --- → FIXED
Target Milestone: --- → 103 Branch

(In reply to Julien Cristau [:jcristau] from comment #2)

From the build task's log:

[task 2022-06-08T11:06:49.235Z] 11:06:49 INFO - package> # Generate a file that describes the local Normandy client.
[task 2022-06-08T11:06:49.235Z] 11:06:49 INFO - package> env LD_LIBRARY_PATH=":../../dist//bin"
[task 2022-06-08T11:06:49.235Z] 11:06:49 INFO - package> ../../dist//bin/xpcshell
[task 2022-06-08T11:06:49.235Z] 11:06:49 INFO - package> /builds/worker/checkouts/gecko/toolkit/components/normandy/metadata-script.js ../../dist//target.normandy.json
[task 2022-06-08T11:06:49.235Z] 11:06:49 INFO - package> JavaScript error: /builds/worker/checkouts/gecko/toolkit/components/normandy/metadata-script.js, line 21: OperationError: Could not parse path (../../dist//target.normandy.json): NS_ERROR_FILE_UNRECOGNIZED_PATH

That error is somehow ignored in the build task, but then breaks nightly.

Sounds like bug 1512733 again.

See Also: → 1816228
You need to log in before you can comment on or make changes to this bug.