Perma documenation ./mach doc | Error: 7 new warnings have been introduced compared to the limit in docs/config.yml
Categories
(Firefox :: Translations, defect, P5)
Tracking
()
Tracking | Status | |
---|---|---|
firefox131 | --- | fixed |
People
(Reporter: intermittent-bug-filer, Assigned: standard8)
References
Details
(Keywords: intermittent-failure)
Attachments
(1 file)
Filed by: ctuns [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=470151631&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/bWQscThDQ9KztZZhWGQCqQ/runs/0/artifacts/public/logs/live_backing.log
[task 2024-08-12T17:19:17.712Z] /builds/worker/checkouts/gecko/docs-out/html/_staging/performance/memory/dominators.md:1: WARNING: duplicate label dominators, other instance in /builds/worker/checkouts/gecko/docs-out/html/_staging/devtools-user/memory/dominators/index.rst
[task 2024-08-12T17:19:17.712Z] /builds/worker/checkouts/gecko/docs-out/html/_staging/performance/memory/dominators_view.md:1: WARNING: duplicate label dominators view, other instance in /builds/worker/checkouts/gecko/docs-out/html/_staging/devtools-user/memory/dominators_view/index.rst
[task 2024-08-12T17:19:17.712Z] /builds/worker/checkouts/gecko/docs-out/html/_staging/performance/memory/tree_map_view.md:1: WARNING: duplicate label tree map view, other instance in /builds/worker/checkouts/gecko/docs-out/html/_staging/devtools-user/memory/tree_map_view/index.rst
[task 2024-08-12T17:19:17.712Z] WARNING: autodoc: failed to import module 'commandinfo' from module 'mach.commands'; the following exception was raised:
[task 2024-08-12T17:19:17.712Z] No module named 'mach.commands.commandinfo'; 'mach.commands' is not a package
[task 2024-08-12T17:19:17.712Z] WARNING: autodoc: failed to import module 'settings' from module 'mach.commands'; the following exception was raised:
[task 2024-08-12T17:19:17.712Z] No module named 'mach.commands.settings'; 'mach.commands' is not a package
[task 2024-08-12T17:19:17.712Z] WARNING: autodoc: failed to import module 'invoke_mach_command' from module 'mach.test'; the following exception was raised:
[task 2024-08-12T17:19:17.712Z] Traceback (most recent call last):
[task 2024-08-12T17:19:17.712Z] File "/builds/worker/.mozbuild/srcdirs/gecko-8a5b87fe5d69/_virtualenvs/docs/lib/python3.11/site-packages/sphinx/ext/autodoc/importer.py", line 143, in import_module
[task 2024-08-12T17:19:17.712Z] return importlib.import_module(modname)
[task 2024-08-12T17:19:17.712Z] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[task 2024-08-12T17:19:17.712Z] File "/builds/worker/fetches/python/lib/python3.11/importlib/__init__.py", line 126, in import_module
[task 2024-08-12T17:19:17.712Z] return _bootstrap._gcd_import(name[level:], package, level)
[task 2024-08-12T17:19:17.712Z] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[task 2024-08-12T17:19:17.712Z] File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
[task 2024-08-12T17:19:17.712Z] File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
[task 2024-08-12T17:19:17.712Z] File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
[task 2024-08-12T17:19:17.712Z] File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
[task 2024-08-12T17:19:17.712Z] File "<frozen importlib._bootstrap_external>", line 940, in exec_module
[task 2024-08-12T17:19:17.712Z] File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
[task 2024-08-12T17:19:17.712Z] File "/builds/worker/checkouts/gecko/python/mach/mach/test/invoke_mach_command.py", line 4, in <module>
[task 2024-08-12T17:19:17.712Z] subprocess.check_call([sys.executable] + sys.argv[1:])
[task 2024-08-12T17:19:17.712Z] File "/builds/worker/fetches/python/lib/python3.11/subprocess.py", line 413, in check_call
[task 2024-08-12T17:19:17.712Z] raise CalledProcessError(retcode, cmd)
[task 2024-08-12T17:19:17.712Z] subprocess.CalledProcessError: Command '['/builds/worker/.mozbuild/srcdirs/gecko-8a5b87fe5d69/_virtualenvs/docs/bin/python', 'doc', '--outdir', 'docs-out', '--no-open', '--no-serve', '--archive', '--fatal-warnings', '--check-num-warnings', '--dump-trees=/builds/worker/artifacts/trees.json']' returned non-zero exit status 2.
[task 2024-08-12T17:19:17.712Z]
[task 2024-08-12T17:19:17.712Z] WARNING: autodoc: failed to import module 'zero_microseconds' from module 'mach.test'; the following exception was raised:
[task 2024-08-12T17:19:17.712Z] Traceback (most recent call last):
[task 2024-08-12T17:19:17.712Z] File "/builds/worker/.mozbuild/srcdirs/gecko-8a5b87fe5d69/_virtualenvs/docs/lib/python3.11/site-packages/sphinx/ext/autodoc/importer.py", line 143, in import_module
[task 2024-08-12T17:19:17.712Z] return importlib.import_module(modname)
[task 2024-08-12T17:19:17.712Z] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[task 2024-08-12T17:19:17.712Z] File "/builds/worker/fetches/python/lib/python3.11/importlib/__init__.py", line 126, in import_module
[task 2024-08-12T17:19:17.712Z] return _bootstrap._gcd_import(name[level:], package, level)
[task 2024-08-12T17:19:17.712Z] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[task 2024-08-12T17:19:17.712Z] File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
[task 2024-08-12T17:19:17.712Z] File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
[task 2024-08-12T17:19:17.712Z] File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
[task 2024-08-12T17:19:17.712Z] File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
[task 2024-08-12T17:19:17.712Z] File "<frozen importlib._bootstrap_external>", line 940, in exec_module
[task 2024-08-12T17:19:17.712Z] File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
[task 2024-08-12T17:19:17.712Z] File "/builds/worker/checkouts/gecko/python/mach/mach/test/zero_microseconds.py", line 7, in <module>
[task 2024-08-12T17:19:17.712Z] old = self._mach_context.post_dispatch_handler
[task 2024-08-12T17:19:17.712Z] ^^^^^^^^^^^^^^^^^^
[task 2024-08-12T17:19:17.712Z] AttributeError: 'NoneType' object has no attribute '_mach_context'
[task 2024-08-12T17:19:17.712Z]
[task 2024-08-12T17:19:17.712Z] WARNING: autodoc: failed to import module 'conditions_invalid' from module 'mach.test.providers'; the following exception was raised:
[task 2024-08-12T17:19:17.712Z] Traceback (most recent call last):
[task 2024-08-12T17:19:17.712Z] File "/builds/worker/.mozbuild/srcdirs/gecko-8a5b87fe5d69/_virtualenvs/docs/lib/python3.11/site-packages/sphinx/ext/autodoc/importer.py", line 143, in import_module
[task 2024-08-12T17:19:17.712Z] return importlib.import_module(modname)
[task 2024-08-12T17:19:17.712Z] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[task 2024-08-12T17:19:17.712Z] File "/builds/worker/fetches/python/lib/python3.11/importlib/__init__.py", line 126, in import_module
[task 2024-08-12T17:19:17.712Z] return _bootstrap._gcd_import(name[level:], package, level)
[task 2024-08-12T17:19:17.712Z] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[task 2024-08-12T17:19:17.712Z] File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
[task 2024-08-12T17:19:17.712Z] File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
[task 2024-08-12T17:19:17.712Z] File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
[task 2024-08-12T17:19:17.712Z] File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
[task 2024-08-12T17:19:17.712Z] File "<frozen importlib._bootstrap_external>", line 940, in exec_module
[task 2024-08-12T17:19:17.712Z] File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
[task 2024-08-12T17:19:17.712Z] File "/builds/worker/checkouts/gecko/python/mach/mach/test/providers/conditions_invalid.py", line 8, in <module>
[task 2024-08-12T17:19:17.712Z] @Command("cmd_foo", category="testing", conditions=["invalid"])
[task 2024-08-12T17:19:17.712Z] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[task 2024-08-12T17:19:17.712Z] File "/builds/worker/checkouts/gecko/python/mach/mach/decorators.py", line 196, in __call__
[task 2024-08-12T17:19:17.712Z] func._mach_command.register(func)
[task 2024-08-12T17:19:17.712Z] File "/builds/worker/checkouts/gecko/python/mach/mach/decorators.py", line 142, in register
[task 2024-08-12T17:19:17.712Z] raise MachError(msg)
[task 2024-08-12T17:19:17.712Z] mach.base.MachError: Mach command 'cmd_foo' implemented incorrectly. Conditions argument must take a list of functions. Found <class 'str'> instead.
[task 2024-08-12T17:19:17.712Z]
[task 2024-08-12T17:19:17.712Z] /builds/worker/checkouts/gecko/testing/marionette/client/marionette_driver/marionette.py:docstring of marionette_driver.marionette.Marionette.start_session:11: WARNING: Field list ends without a blank line; unexpected unindent.
[task 2024-08-12T17:19:17.712Z] WARNING: autodoc: failed to import module 'processhandler' from module 'marionette_driver'; the following exception was raised:
[task 2024-08-12T17:19:17.712Z] No module named 'psutil'
[task 2024-08-12T17:19:17.712Z] WARNING: autodoc: failed to import module 'doctor' from module 'mozbuild'; the following exception was raised:
[task 2024-08-12T17:19:17.712Z] No module named 'psutil'
[task 2024-08-12T17:19:17.712Z] /builds/worker/checkouts/gecko/python/mozbuild/mozbuild/mozconfig.py:docstring of mozbuild.mozconfig.MozconfigLoader:1: WARNING: duplicate object description of mozbuild.mozconfig.MozconfigLoader, other instance in build/buildsystem/mozconfigs, use :no-index: for one of them
[task 2024-08-12T17:19:17.712Z] /builds/worker/checkouts/gecko/python/mozbuild/mozbuild/mozconfig.py:docstring of mozbuild.mozconfig.MozconfigLoader.read_mozconfig:1: WARNING: duplicate object description of mozbuild.mozconfig.MozconfigLoader.read_mozconfig, other instance in build/buildsystem/mozconfigs, use :no-index: for one of them
[task 2024-08-12T17:19:17.712Z] WARNING: autodoc: failed to import module 'check_binary' from module 'mozbuild.action'; the following exception was raised:
[task 2024-08-12T17:19:17.712Z] Traceback (most recent call last):
[task 2024-08-12T17:19:17.712Z] File "/builds/worker/.mozbuild/srcdirs/gecko-8a5b87fe5d69/_virtualenvs/docs/lib/python3.11/site-packages/sphinx/ext/autodoc/importer.py", line 143, in import_module
[task 2024-08-12T17:19:17.712Z] return importlib.import_module(modname)
[task 2024-08-12T17:19:17.712Z] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[task 2024-08-12T17:19:17.712Z] File "/builds/worker/fetches/python/lib/python3.11/importlib/__init__.py", line 126, in import_module
[task 2024-08-12T17:19:17.712Z] return _bootstrap._gcd_import(name[level:], package, level)
[task 2024-08-12T17:19:17.712Z] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[task 2024-08-12T17:19:17.712Z] File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
[task 2024-08-12T17:19:17.712Z] File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
[task 2024-08-12T17:19:17.712Z] File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
[task 2024-08-12T17:19:17.712Z] File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
[task 2024-08-12T17:19:17.712Z] File "<frozen importlib._bootstrap_external>", line 940, in exec_module
[task 2024-08-12T17:19:17.712Z] File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
[task 2024-08-12T17:19:17.712Z] File "/builds/worker/checkouts/gecko/python/mozbuild/mozbuild/action/check_binary.py", line 22, in <module>
[task 2024-08-12T17:19:17.712Z] PLATFORM = buildconfig.substs["OS_TARGET"]
[task 2024-08-12T17:19:17.712Z] ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
[task 2024-08-12T17:19:17.712Z] File "/builds/worker/checkouts/gecko/python/mozbuild/mozbuild/backend/configenvironment.py", line 276, in __getitem__
[task 2024-08-12T17:19:17.712Z] raise KeyError("'%s'" % key)
[task 2024-08-12T17:19:17.712Z] KeyError: "'OS_TARGET'"
[task 2024-08-12T17:19:17.712Z]
[task 2024-08-12T17:19:17.712Z] /builds/worker/checkouts/gecko/python/mozbuild/mozbuild/action/process_define_files.py:docstring of mozbuild.action.process_define_files.process_define_file:8: WARNING: Inline emphasis start-string without end-string.
[task 2024-08-12T17:19:17.712Z] WARNING: autodoc: failed to import module 'test_archive' from module 'mozbuild.action'; the following exception was raised:
[task 2024-08-12T17:19:17.712Z] Traceback (most recent call last):
[task 2024-08-12T17:19:17.712Z] File "/builds/worker/.mozbuild/srcdirs/gecko-8a5b87fe5d69/_virtualenvs/docs/lib/python3.11/site-packages/sphinx/ext/autodoc/importer.py", line 143, in import_module
[task 2024-08-12T17:19:17.712Z] return importlib.import_module(modname)
[task 2024-08-12T17:19:17.712Z] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[task 2024-08-12T17:19:17.712Z] File "/builds/worker/fetches/python/lib/python3.11/importlib/__init__.py", line 126, in import_module
[task 2024-08-12T17:19:17.712Z] return _bootstrap._gcd_import(name[level:], package, level)
[task 2024-08-12T17:19:17.712Z] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[task 2024-08-12T17:19:17.712Z] File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
[task 2024-08-12T17:19:17.712Z] File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
[task 2024-08-12T17:19:17.712Z] File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
[task 2024-08-12T17:19:17.712Z] File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
[task 2024-08-12T17:19:17.712Z] File "<frozen importlib._bootstrap_external>", line 940, in exec_module
[task 2024-08-12T17:19:17.712Z] File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
[task 2024-08-12T17:19:17.712Z] File "/builds/worker/checkouts/gecko/python/mozbuild/mozbuild/action/test_archive.py", line 189, in <module>
[task 2024-08-12T17:19:17.712Z] "patterns": [
[task 2024-08-12T17:19:17.712Z] ^
[task 2024-08-12T17:19:17.712Z] File "/builds/worker/checkouts/gecko/python/mozbuild/mozbuild/action/test_archive.py", line 190, in <listcomp>
[task 2024-08-12T17:19:17.712Z] "%s%s" % (f, buildconfig.substs["BIN_SUFFIX"])
[task 2024-08-12T17:19:17.713Z] ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^
[task 2024-08-12T17:19:17.713Z] File "/builds/worker/checkouts/gecko/python/mozbuild/mozbuild/backend/configenvironment.py", line 276, in __getitem__
[task 2024-08-12T17:19:17.713Z] raise KeyError("'%s'" % key)
[task 2024-08-12T17:19:17.713Z] KeyError: "'BIN_SUFFIX'"
[task 2024-08-12T17:19:17.713Z]
[task 2024-08-12T17:19:17.713Z] WARNING: invalid signature for automodule ('mozbuild.action.xpidl-process')
[task 2024-08-12T17:19:17.713Z] WARNING: don't know which module to import for autodocumenting 'mozbuild.action.xpidl-process' (try placing a "module" or "currentmodule" directive in the document, or giving an explicit module name)
[task 2024-08-12T17:19:17.713Z] /builds/worker/checkouts/gecko/python/mozbuild/mozbuild/backend/configenvironment.py:docstring of mozbuild.backend.configenvironment.ConfigEnvironment:17: ERROR: Unexpected indentation.
[task 2024-08-12T17:19:17.713Z] /builds/worker/checkouts/gecko/python/mozbuild/mozbuild/frontend/context.py:docstring of mozbuild.frontend.context.Path:5: ERROR: Unexpected indentation.
[task 2024-08-12T17:19:17.713Z] WARNING: autodoc: failed to import module 'snap' from module 'mozbuild.repackaging'; the following exception was raised:
[task 2024-08-12T17:19:17.713Z] No module named 'fluent.runtime'
[task 2024-08-12T17:19:17.713Z] WARNING: autodoc: failed to import module 'snapcraft_transform' from module 'mozbuild.repackaging'; the following exception was raised:
[task 2024-08-12T17:19:17.713Z] No module named 'fluent.runtime'
[task 2024-08-12T17:19:17.713Z] docstring of mozbuild.vendor.moz_yaml.VALID_SOURCE_HOSTS:89: ERROR: Unexpected indentation.
[task 2024-08-12T17:19:17.713Z] docstring of mozbuild.vendor.moz_yaml.VALID_SOURCE_HOSTS:107: ERROR: Unexpected indentation.
[task 2024-08-12T17:19:17.713Z] docstring of mozbuild.vendor.moz_yaml.VALID_SOURCE_HOSTS:109: WARNING: Inline emphasis start-string without end-string.
[task 2024-08-12T17:19:17.713Z] docstring of mozbuild.vendor.moz_yaml.VALID_SOURCE_HOSTS:119: ERROR: Unexpected indentation.
[task 2024-08-12T17:19:17.713Z] docstring of mozbuild.vendor.moz_yaml.VALID_SOURCE_HOSTS:122: WARNING: Inline emphasis start-string without end-string.
[task 2024-08-12T17:19:17.713Z] docstring of mozbuild.vendor.moz_yaml.VALID_SOURCE_HOSTS:128: ERROR: Unexpected indentation.
[task 2024-08-12T17:19:17.713Z] docstring of mozbuild.vendor.moz_yaml.VALID_SOURCE_HOSTS:132: WARNING: Inline emphasis start-string without end-string.
<...>
[task 2024-08-12T17:19:50.877Z] copying images... [ 99%] tools/try/img/treeherder-trigger-symbols.png
[task 2024-08-12T17:19:50.877Z] copying images... [ 99%] tools/try/img/phab-treeherder-link.png
[task 2024-08-12T17:19:50.877Z] copying images... [ 99%] tools/try/img/add-new-jobs.png
[task 2024-08-12T17:19:50.878Z] copying images... [ 99%] tools/try/selectors/fzf.png
[task 2024-08-12T17:19:50.878Z] copying images... [ 99%] widget/windows/windows-pointing-device/touchscreen.jpg
[task 2024-08-12T17:19:50.878Z] copying images... [ 99%] widget/windows/windows-pointing-device/wacom_tablet.png
[task 2024-08-12T17:19:50.879Z] copying images... [ 99%] widget/windows/windows-pointing-device/trackpoint.jpg
[task 2024-08-12T17:19:50.879Z] copying images... [100%] widget/windows/windows-pointing-device/touchpad.jpg
[task 2024-08-12T17:19:50.880Z] copying images... [100%] widget/windows/windows-pointing-device/vrcontroller.jpg
[task 2024-08-12T17:19:50.880Z] copying images... [100%] widget/windows/windows-pointing-device/apple_vision.jpg
[task 2024-08-12T17:19:50.880Z] copying images... [100%] widget/windows/windows-pointing-device/mouse.jpg
[task 2024-08-12T17:19:50.881Z] copying images... [100%] widget/windows/windows-pointing-device/touch_media_queries.png
[task 2024-08-12T17:19:50.881Z]
[task 2024-08-12T17:19:51.835Z] dumping search index in English (code: en)... done
[task 2024-08-12T17:19:51.938Z] dumping object inventory... done
[task 2024-08-12T17:19:51.938Z] build succeeded, 904 warnings.
[task 2024-08-12T17:19:51.938Z]
[task 2024-08-12T17:19:51.938Z] The HTML pages are in docs-out/html.
[task 2024-08-12T17:19:51.955Z] TEST-UNEXPECTED-FAILURE | ./mach doc | Error: 8 new warnings have been introduced compared to the limit in docs/config.yml
[task 2024-08-12T17:19:51.961Z]
[task 2024-08-12T17:19:51.961Z] Generated documentation:
[task 2024-08-12T17:19:51.961Z] docs-out/html
[task 2024-08-12T17:19:51.961Z] Logged 853 warnings
[task 2024-08-12T17:19:51.961Z]
[taskcluster 2024-08-12 17:20:01.199Z] === Task Finished ===
[taskcluster 2024-08-12 17:20:01.226Z] Artifact "public/docs.tar.gz" not found at "/builds/worker/checkouts/gecko/docs-out/main.tar.gz": (HTTP code 404) no such container - Could not find the file /builds/worker/checkouts/gecko/docs-out/main.tar.gz in container cc7621b3b969298abe753268dfd11b2fc6c760d0705302f32d80a9d26871150b
[taskcluster 2024-08-12 17:20:01.229Z] Artifact "public/trees.json" not found at "/builds/worker/artifacts/trees.json": (HTTP code 404) no such container - Could not find the file /builds/worker/artifacts/trees.json in container cc7621b3b969298abe753268dfd11b2fc6c760d0705302f32d80a9d26871150b
[taskcluster 2024-08-12 17:20:01.256Z] Unsuccessful task run with exit code: 1 completed in 338.514 seconds
Comment 1•2 months ago
|
||
Hi, we have multiple warnings here
Initially we had 4: https://treeherder.mozilla.org/jobs?repo=autoland&searchStr=Documentation%2Copt%2CDocumentation%2Csource-test-doc-generate%2Cgenerate&tochange=5f358cb3474220b9e03d9b89e983ded66f7c0a8a&fromchange=1c61a551fa53dace76c22f9bfe0e7694cc27b57c&selectedTaskRun=OL8R3hB_TluHzc4oht5Lqg.0 (Sylvestre can you please look into this?)
2 more were added here: https://treeherder.mozilla.org/jobs?repo=autoland&searchStr=Documentation%2Copt%2CDocumentation%2Csource-test-doc-generate%2Cgenerate&tochange=5793f198c3e840a187c4a83d1da44cfc97ef4fb8&fromchange=c2818ee4f73f4ca09972b6d92a116b24c4ab9fc0&selectedTaskRun=Gk6QWf53QemJXzyml1gPqQ.0 (Chris, can you please take a look?)
Another 2 were added here: https://treeherder.mozilla.org/jobs?repo=autoland&searchStr=Documentation%2Copt%2CDocumentation%2Csource-test-doc-generate%2Cgenerate&tochange=52a358f2061ad8f6750cfff9ddfe0d609711c4d2&fromchange=e512562ffe084361180bdcd9989cbb01ef7dd3af&selectedTaskRun=TCtuBPieQeSKBW-bZF91Eg.0 (Alexandre, can you please take a look?)
Updated•2 months ago
|
Comment 2•2 months ago
|
||
These six (actually seven)?
[task 2024-07-31T03:48:07.238Z] /builds/worker/checkouts/gecko/docs-out/html/_staging/toolkit/components/glean/dev/testing.md:1: WARNING: duplicate label testing, other instance in /builds/worker/checkouts/gecko/docs-out/html/_staging/testing/marionette/Testing.md
[task 2024-07-31T03:48:07.238Z] /builds/worker/checkouts/gecko/docs-out/html/_staging/toolkit/components/telemetry/internals/preferences.rst:2: WARNING: duplicate label preferences and defines, other instance in /builds/worker/checkouts/gecko/docs-out/html/_staging/toolkit/components/glean/dev/preferences.md
[task 2024-07-31T03:48:39.387Z] /builds/worker/checkouts/gecko/docs-out/html/_staging/toolkit/components/glean/dev/new_metric_types.md:190: WARNING: 'myst' cross-reference target not found: '/dom/webIdlBindings/index.html' [myst.xref_missing]
[task 2024-07-31T03:48:39.574Z] /builds/worker/checkouts/gecko/docs-out/html/_staging/toolkit/components/glean/user/glean_for_legacy_events.md:7: WARNING: local id not found in doc 'toolkit/components/glean/user/migration': 'events-use-glean-s-event' [myst.xref_missing]
[task 2024-07-31T03:48:39.574Z] /builds/worker/checkouts/gecko/docs-out/html/_staging/toolkit/components/glean/user/glean_for_legacy_events.md:17: WARNING: local id not found in doc 'toolkit/components/glean/user/gifft': 'the-telemetry-mirror-property-in-metrics-yaml' [myst.xref_missing]
[task 2024-07-31T03:48:39.591Z] /builds/worker/checkouts/gecko/docs-out/html/_staging/toolkit/components/glean/user/instrumentation_tests.md:49: WARNING: local id not found in doc 'toolkit/components/glean/user/gifft': 'timing-distribution-mirrors-samples-and-sums-might-be-different' [myst.xref_missing]
Those xref_missing
errors actually do properly link to inner anchors. Is there a different syntax I should be using to make myst
understand what I'm doing? (And does it matter that I'm using markdown?)
As for the duplicate labels, I believe that comes from the top-level heading in the named files. Does it not know/care that those files exist at different places in the tree? I suppose we could change them just to appease the checker, but I think we chose those headings on purpose and would prefer if there were another way to make the checker happy.
Comment 3•2 months ago
|
||
Changing the bug summary to reflect the number of warnings left. The warnings introduced by Bug 1901703 were resolved.
Updated•2 months ago
|
Comment 4•2 months ago
|
||
(In reply to Chris H-C :chutten from comment #2)
... [task 2024-07-31T03:48:39.574Z] /builds/worker/checkouts/gecko/docs-out/html/_staging/toolkit/components/glean/user/glean_for_legacy_events.md:7: WARNING: local id not found in doc 'toolkit/components/glean/user/migration': 'events-use-glean-s-event' [myst.xref_missing] [task 2024-07-31T03:48:39.574Z] /builds/worker/checkouts/gecko/docs-out/html/_staging/toolkit/components/glean/user/glean_for_legacy_events.md:17: WARNING: local id not found in doc 'toolkit/components/glean/user/gifft': 'the-telemetry-mirror-property-in-metrics-yaml' [myst.xref_missing] [task 2024-07-31T03:48:39.591Z] /builds/worker/checkouts/gecko/docs-out/html/_staging/toolkit/components/glean/user/instrumentation_tests.md:49: WARNING: local id not found in doc 'toolkit/components/glean/user/gifft': 'timing-distribution-mirrors-samples-and-sums-might-be-different' [myst.xref_missing]
Those
xref_missing
errors actually do properly link to inner anchors. Is there a different syntax I should be using to makemyst
understand what I'm doing? (And does it matter that I'm using markdown?)
There is no warning logged for links which use links to anchors generated from headers which include markdown (backticks).
Maybe Sylvestre knows if this has been observed before and how to resolve it. The myst docs don't mention any special case for this.
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment 7•1 month ago
|
||
Hi Jason! Can you please take a look at this? Your changes from Bug 1912351 have introduced a new warning in this(there are now a total of 7 new warnings, there were 6 before that). The new warning line is: /builds/worker/checkouts/gecko/docs-out/html/_staging/browser/components/asrouter/docs/targeting-attributes.md:78: WARNING: 'myst' cross-reference target not found: 'totalSearches' [myst.xref_missing]
.
Thank you!
Comment 8•1 month ago
|
||
Ah, seems like it is unhappy with my use of camelCasing in the heading links. I'll create a patch to get that fixed. Thanks Iulian!
Assignee | ||
Comment 9•1 month ago
|
||
(In reply to Sebastian Hengst [:aryx] (needinfo me if it's about an intermittent or backout) from comment #4)
(In reply to Chris H-C :chutten from comment #2)
... [task 2024-07-31T03:48:39.574Z] /builds/worker/checkouts/gecko/docs-out/html/_staging/toolkit/components/glean/user/glean_for_legacy_events.md:7: WARNING: local id not found in doc 'toolkit/components/glean/user/migration': 'events-use-glean-s-event' [myst.xref_missing] [task 2024-07-31T03:48:39.574Z] /builds/worker/checkouts/gecko/docs-out/html/_staging/toolkit/components/glean/user/glean_for_legacy_events.md:17: WARNING: local id not found in doc 'toolkit/components/glean/user/gifft': 'the-telemetry-mirror-property-in-metrics-yaml' [myst.xref_missing] [task 2024-07-31T03:48:39.591Z] /builds/worker/checkouts/gecko/docs-out/html/_staging/toolkit/components/glean/user/instrumentation_tests.md:49: WARNING: local id not found in doc 'toolkit/components/glean/user/gifft': 'timing-distribution-mirrors-samples-and-sums-might-be-different' [myst.xref_missing]
Those
xref_missing
errors actually do properly link to inner anchors. Is there a different syntax I should be using to makemyst
understand what I'm doing? (And does it matter that I'm using markdown?)There is no warning logged for links which use links to anchors generated from headers which include markdown (backticks).
Maybe Sylvestre knows if this has been observed before and how to resolve it. The myst docs don't mention any special case for this.
I did some digging and found the issue.
In the cross-referencing section of the Myst Docs, it mentions using the same implementation as GitHub for generating slugs.
I tried that module out locally, and it indeed gave different output to what was in the docs. Plugging it into the docs fixes the warnings, and everything still seems to link together correctly when I run it locally.
As I'm there, I'll put a patch up for this. Along with the fix just landed in bug 1915235, this should get us green again.
Assignee | ||
Comment 10•1 month ago
|
||
Comment 11•1 month ago
|
||
Comment 12•1 month ago
|
||
bugherder |
Comment hidden (Intermittent Failures Robot) |
Description
•