Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI: Documentation Build (HTML) is failing for many PRs (again) #73235

Closed
ajarmouni-st opened this issue May 23, 2024 · 2 comments
Closed

CI: Documentation Build (HTML) is failing for many PRs (again) #73235

ajarmouni-st opened this issue May 23, 2024 · 2 comments
Labels

Comments

@ajarmouni-st
Copy link
Collaborator

Describe the bug
Documentation Build (HTML) is failing in CI (ex: 73229)

Expected behavior
Build w/t errors

Impact
showstopper

Logs and console output

make: Entering directory '/home/runner/_work/zephyr/zephyr/doc'
make html DT_TURBO_MODE=1
make[1]: Entering directory '/home/runner/_work/zephyr/zephyr/doc'
cmake \
	-GNinja \
	-B_build \
	-S. \
	-DDOC_TAG=development \
	-DSPHINXOPTS="-j auto -W --keep-going -T" \
	-DSPHINXOPTS_EXTRA="-q -t publish" \
	-DLATEXMKOPTS="-halt-on-error -no-shell-escape" \
	-DDT_TURBO_MODE=1
Loading Zephyr module(s) (Zephyr repository): doc
-- Found Python3: /usr/bin/python3 (found suitable version "3.10.12", minimum required is "3.8") found components: Interpreter 
-- Cache files will be written to: /home/runner/.cache/zephyr
-- Found west (found suitable version "1.2.0", minimum required is "1.0.0")
-- Zephyr base: /home/runner/_work/zephyr/zephyr
-- Found Doxygen: /opt/doxygen-1.9.6/bin/doxygen (found version "1.9.6 (4586b5cfaa3d46d51f6a5188[29](https://github.com/zephyrproject-rtos/zephyr/actions/runs/9209546502/job/25334440605?pr=73229#step:9:30)51d15644c49edf)") found components: doxygen dot 
-- Could NOT find LATEX (missing: LATEX_COMPILER PDFLATEX) 
CMake Warning at CMakeLists.txt:39 (message):
  LaTeX components not found.  PDF build will not be available.


-- Configuring done
-- Generating done
-- Build files have been written to: /home/runner/_work/zephyr/zephyr/doc/_build
cmake --build _build --target html
[0/2] Generating Devicetree bindings documentation...
[1/2] Running Sphinx HTML build...
/home/runner/.local/lib/python3.10/site-packages/breathe/project.py:116: RemovedInSphinx80Warning: Sphinx 8 will drop support for representing paths as strings. Use "pathlib.Path" or "os.fspath" instead.
  self._default_build_dir = os.path.dirname(app.doctreedir.rstrip(os.sep))
WARNING: autodoc: failed to import class 'DeviceAdapter' from module 'twister_harness'; the following exception was raised:
No module named 'serial'
WARNING: autodoc: failed to import class 'Shell' from module 'twister_harness'; the following exception was raised:
No module named 'serial'
WARNING:root:Unused expression: .*Duplicate C declaration.*\n.*'\.\. c:.*:: zsock_fd_set'.*
FAILED: CMakeFiles/html 
cd /home/runner/_work/zephyr/zephyr/doc/_build && /home/runner/.local/lib/python3.10/site-packages/cmake/data/bin/cmake -E env DOXYGEN_EXECUTABLE=/opt/doxygen-1.9.6/bin/doxygen DOT_EXECUTABLE=/usr/bin/dot /home/runner/.local/bin/sphinx-build -b html -c /home/runner/_work/zephyr/zephyr/doc -d /home/runner/_work/zephyr/zephyr/doc/_build/doctrees -w /home/runner/_work/zephyr/zephyr/doc/_build/html.log -t development -j auto -W --keep-going -T -q -t publish /home/runner/_work/zephyr/zephyr/doc/_build/src /home/runner/_work/zephyr/zephyr/doc/_build/html
ninja: build stopped: subcommand failed.
make[1]: *** [Makefile:21: html] Error 1
make[1]: Leaving directory '/home/runner/_work/zephyr/zephyr/doc'
make: *** [Makefile:18: html-fast] Error 2
make: Leaving directory '/home/runner/_work/zephyr/zephyr/doc'
Error: Process completed with exit code 2.

Environment (please complete the following information):
CI

Additional context
N/A

@jukkar
Copy link
Member

jukkar commented May 24, 2024

WARNING:root:Unused expression: .Duplicate C declaration.\n.'.. c:.:: zsock_fd_set'.*

I have fix for this in #73212

@aescolar
Copy link
Member

@jukkar @ajarmouni-st Wasnt this fixed by 8c8e2f6 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants