Bug: Perma tier2 mozlint.errors.LinterParseError: tools/lint/rejected-words.yml: The exclude directive contains the following paths that don't exist:
Status: RESOLVED
Priority: P5
Resolution: FIXED
Created: 2024-10-11 23:42:03+00:00
Resolved: 2024-10-14 14:19:58+00:00

**Filed by:** nerli [at] mozilla.com
**Parsed log:** https://treeherder.mozilla.org/logviewer?job_id=477947975&repo=autoland
**Full log:** https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/Y_MjWnDKTYWKkiY3p-C-_Q/runs/0/artifacts/public/logs/live_backing.log

---
```
[task 2024-10-11T23:22:54.223Z] The error occurred in code that was called by the mach command. This is either
[task 2024-10-11T23:22:54.223Z] a bug in the called code itself or in the way that mach is calling it.
[task 2024-10-11T23:22:54.223Z] You can invoke ``./mach busted`` to check if this issue is already on file. If it
[task 2024-10-11T23:22:54.223Z] isn't, please use ``./mach busted file lint`` to report it. If ``./mach busted`` is
[task 2024-10-11T23:22:54.223Z] misbehaving, you can also inspect the dependencies of bug 1543241.
[task 2024-10-11T23:22:54.223Z] 
[task 2024-10-11T23:22:54.223Z] If filing a bug, please include the full output of mach, including this error
[task 2024-10-11T23:22:54.223Z] message.
[task 2024-10-11T23:22:54.223Z] 
[task 2024-10-11T23:22:54.223Z] The details of the failure are as follows:
[task 2024-10-11T23:22:54.223Z] 
[task 2024-10-11T23:22:54.223Z] mozlint.errors.LinterParseError: tools/lint/rejected-words.yml: The exclude directive contains the following paths that don't exist:
[task 2024-10-11T23:22:54.223Z]   browser/base/content/test/general/browser_tab_drag_drop_perwindow.js
[task 2024-10-11T23:22:54.223Z] 
[task 2024-10-11T23:22:54.223Z]   File "/builds/worker/checkouts/gecko/tools/lint/mach_commands.py", line 106, in lint
[task 2024-10-11T23:22:54.223Z]     return cli.run(*runargs, setupargs=setupargs, **lintargs)
[task 2024-10-11T23:22:54.223Z]   File "/builds/worker/checkouts/gecko/python/mozlint/mozlint/cli.py", line 360, in run
[task 2024-10-11T23:22:54.223Z]     lint.read(linters_info["lint_paths"])
[task 2024-10-11T23:22:54.223Z]   File "/builds/worker/checkouts/gecko/python/mozlint/mozlint/roller.py", line 208, in read
[task 2024-10-11T23:22:54.223Z]     for linter in chain(*[self.parse(p) for p in paths]):
[task 2024-10-11T23:22:54.223Z]   File "/builds/worker/checkouts/gecko/python/mozlint/mozlint/roller.py", line 208, in <listcomp>
[task 2024-10-11T23:22:54.223Z]     for linter in chain(*[self.parse(p) for p in paths]):
[task 2024-10-11T23:22:54.223Z]   File "/builds/worker/checkouts/gecko/python/mozlint/mozlint/parser.py", line 29, in __call__
[task 2024-10-11T23:22:54.223Z]     return self.parse(path)
[task 2024-10-11T23:22:54.223Z]   File "/builds/worker/checkouts/gecko/python/mozlint/mozlint/parser.py", line 130, in parse
[task 2024-10-11T23:22:54.223Z]     self._validate(linter)
[task 2024-10-11T23:22:54.223Z]   File "/builds/worker/checkouts/gecko/python/mozlint/mozlint/parser.py", line 78, in _validate
[task 2024-10-11T23:22:54.223Z]     raise LinterParseError(
[taskcluster 2024-10-11 23:22:54.655Z] === Task Finished ===
[taskcluster 2024-10-11 23:22:54.790Z] Artifact "public/code-review/mozlint.json" not found at "/builds/worker/mozlint.json"
[taskcluster 2024-10-11 23:22:54.854Z] Unsuccessful task run with exit code: 1 completed in 175.627 seconds
```