Page MenuHomePhabricator

CI rstcheck fails on jenkins
Closed, InvalidPublicBUG REPORT

Description

Steps to replicate the issue:

rstcheck -r --report-level WARNING --ignore-roles api,phab .

What happens?:

18:03:12 rstcheck installed: alabaster==0.7.13,Babel==2.12.1,beautifulsoup4==4.12.0,certifi==2022.12.7,charset-normalizer==3.1.0,click==8.1.3,colorama==0.4.6,commonmark==0.9.1,cycler==0.11.0,docutils==0.19,fonttools==4.38.0,furo==2023.3.23,google==3.0.0,idna==3.4,imagesize==1.4.1,importlib-metadata==4.13.0,Jinja2==3.1.2,kiwisolver==1.4.4,MarkupSafe==2.1.2,matplotlib==3.5.3,memento-client==0.6.1,mwoauth==0.3.8,mwparserfromhell==0.6.4,numpy==1.21.6,oauthlib==3.2.2,packaging==23.0,Pillow==9.4.0,pydantic==1.10.7,pydot==1.4.2,Pygments==2.14.0,PyJWT==2.6.0,PyMySQL==1.0.2,pyparsing==3.0.9,python-dateutil==2.8.2,python-stdnum==1.18,pytz==2023.2,# Editable Git install with no remote (pywikibot==8.1.0.dev2),-e /src,requests==2.28.2,requests-oauthlib==1.3.1,rich==12.6.0,rstcheck==6.1.2,rstcheck-core==1.0.3,shellingham==1.5.0.post1,six==1.16.0,snowballstemmer==2.2.0,soupsieve==2.4,Sphinx==5.3.0,sphinx-basic-ng==1.0.0b1,sphinxcontrib-applehelp==1.0.2,sphinxcontrib-devhelp==1.0.2,sphinxcontrib-htmlhelp==2.0.0,sphinxcontrib-jsmath==1.0.1,sphinxcontrib-qthelp==1.0.3,sphinxcontrib-serializinghtml==1.1.5,sphinxext-opengraph==0.8.1,sseclient==0.0.22,typer==0.7.0,types-docutils==0.19.1.6,typing_extensions==4.5.0,urllib3==1.26.15,zipp==3.15.0
18:03:12 rstcheck run-test-pre: PYTHONHASHSEED='702268367'
18:03:12 rstcheck run-test: commands[0] | rstcheck --version
18:03:12 [170] /src$ /src/.tox/rstcheck/bin/rstcheck --version
18:03:12 rstcheck CLI Version: 6.1.2
18:03:12 rstcheck-core Version: 1.0.3
18:03:12 rstcheck run-test: commands[1] | rstcheck -r --report-level WARNING --ignore-roles api,phab .
18:03:12 [173] /src$ /src/.tox/rstcheck/bin/rstcheck -r --report-level WARNING --ignore-roles api,phab .
18:03:13 CRITICAL:rstcheck_core.checker:An `AttributeError` error occured. This is most propably due to a code block directive (code/code-block/sourcecode) without a specified language. This may result in a false negative for source: 'docs/introduction.rst'. See https://rstcheck-core.readthedocs.io/en/latest/faq/#code-blocks-without-language-sphinx for more information.
18:03:13 CRITICAL:rstcheck_core.checker:An `AttributeError` error occured. This is most propably due to a code block directive (code/code-block/sourcecode) without a specified language. This may result in a false negative for source: 'docs/licenses.rst'. See https://rstcheck-core.readthedocs.io/en/latest/faq/#code-blocks-without-language-sphinx for more information.
18:03:13 CRITICAL:rstcheck_core.checker:An `AttributeError` error occured. This is most propably due to a code block directive (code/code-block/sourcecode) without a specified language. This may result in a false negative for source: 'docs/changelog.rst'. See https://rstcheck-core.readthedocs.io/en/latest/faq/#code-blocks-without-language-sphinx for more information.
18:03:13 CRITICAL:rstcheck_core.checker:An `AttributeError` error occured. This is most propably due to a code block directive (code/code-block/sourcecode) without a specified language. This may result in a false negative for source: 'docs/credits.rst'. See https://rstcheck-core.readthedocs.io/en/latest/faq/#code-blocks-without-language-sphinx for more information.
18:03:13 CRITICAL:rstcheck_core.checker:An `AttributeError` error occured. This is most propably due to a code block directive (code/code-block/sourcecode) without a specified language. This may result in a false negative for source: 'docs/scripts/index.rst'. See https://rstcheck-core.readthedocs.io/en/latest/faq/#code-blocks-without-language-sphinx for more information.
18:03:14 CRITICAL:rstcheck_core.checker:An `AttributeError` error occured. This is most propably due to a code block directive (code/code-block/sourcecode) without a specified language. This may result in a false negative for source: 'README.rst'. See https://rstcheck-core.readthedocs.io/en/latest/faq/#code-blocks-without-language-sphinx for more information.
18:03:14 CRITICAL:rstcheck_core.checker:An `AttributeError` error occured. This is most propably due to a code block directive (code/code-block/sourcecode) without a specified language. This may result in a false negative for source: 'docs/tests_ref/index.rst'. See https://rstcheck-core.readthedocs.io/en/latest/faq/#code-blocks-without-language-sphinx for more information.
18:03:14 CRITICAL:rstcheck_core.checker:An `AttributeError` error occured. This is most propably due to a code block directive (code/code-block/sourcecode) without a specified language. This may result in a false negative for source: 'pywikibot/README.rst'. See https://rstcheck-core.readthedocs.io/en/latest/faq/#code-blocks-without-language-sphinx for more information.
18:03:14 HISTORY.rst:6: (WARNING/2) Inline emphasis start-string without end-string.
18:03:14 Error! Issues detected.
18:03:14 ERROR: InvocationError for command /src/.tox/rstcheck/bin/rstcheck -r --report-level WARNING --ignore-roles api,phab . (exited with code 1)
1

https://integration.wikimedia.org/ci/job/pywikibot-core-tox-rstcheck-docker/754/console

It still worked few minutes ago.