python / docsbuild-scripts

scripts for building documentation on docs.python.org
64 stars 58 forks source link

Failure affecting 18 sites: "*** buffer overflow detected ***: terminated" #186

Closed hugovk closed 3 months ago

hugovk commented 3 months ago

I had a look for errors in the docs build logs on the server, and looking at yesterday's 24-hour log file, there are 22 "Badly handled exception, human, please help" lines.

19 of these are like this:

2024-08-11 23:54:56,329 DEBUG es/3.14: Run: "make -C /srv/docsbuild/cpython/Doc PYTHON=/srv/docsbuild/venv-3.14/bin/python SPHINXBUILD=/srv/docsbuild/venv-3.14/bin/sphinx-build BLURB=/srv/docsbuild/venv-3.14/bin/blurb VENVDIR=/srv/docsbuild/venv-3.14 'SPHINXOPTS=-D latex_engine=xelatex -D latex_elements.inputenc= -D latex_elements.fontenc=\\\\usepackage{fontspec} -q -D locale_dirs=/srv/docsbuild/3.14/locale -D language=es -D gettext_compact=0' SPHINXERRORHANDLING= autobuild-dev"
2024-08-11 23:59:15,348 ERROR es/3.14: Run: "make -C /srv/docsbuild/cpython/Doc PYTHON=/srv/docsbuild/venv-3.14/bin/python SPHINXBUILD=/srv/docsbuild/venv-3.14/bin/sphinx-build BLURB=/srv/docsbuild/venv-3.14/bin/blurb VENVDIR=/srv/docsbuild/venv-3.14 'SPHINXOPTS=-D latex_engine=xelatex -D latex_elements.inputenc= -D latex_elements.fontenc=\\\\usepackage{fontspec} -q -D locale_dirs=/srv/docsbuild/3.14/locale -D language=es -D gettext_compact=0' SPHINXERRORHANDLING= autobuild-dev" KO:
    mkdir -p build
    Building NEWS from Misc/NEWS.d with blurb
    /srv/docsbuild/venv-3.14/bin/sphinx-build -b html -d build/doctrees -j auto  -D latex_engine=xelatex -D latex_elements.inputenc= -D latex_elements.fontenc=\\usepackage{fontspec} -q -D locale_dirs=/srv/docsbuild/3.14/locale -D language=es -D gettext_compact=0 -Ea -A daily=1  . build/html 
    matplotlib is not installed, social cards will not be generated

    Build finished. The HTML pages are in build/html.
    make[2]: Leaving directory '/srv/docsbuild/cpython/Doc'
    cp -pPR build/html dist/python-3.14.0a0-docs-html
    tar -C dist -cf dist/python-3.14.0a0-docs-html.tar python-3.14.0a0-docs-html
    bzip2 -9 -k dist/python-3.14.0a0-docs-html.tar
    (cd dist; zip -q -r -9 python-3.14.0a0-docs-html.zip python-3.14.0a0-docs-html)
    *** buffer overflow detected ***: terminated

    zip error: Interrupted (aborting)
    make[1]: *** [Makefile:194: dist] Error 9
    make[1]: Leaving directory '/srv/docsbuild/cpython/Doc'
    make: *** [Makefile:274: autobuild-dev] Error 2
    make: Leaving directory '/srv/docsbuild/cpython/Doc'

2024-08-11 23:59:15,352 ERROR es/3.14: Badly handled exception, human, please help.
Traceback (most recent call last):
  File "/srv/docsbuild/scripts/build_docs.py", line 655, in run
    self.build()
  File "/srv/docsbuild/scripts/build_docs.py", line 762, in build
    run(
  File "/srv/docsbuild/scripts/build_docs.py", line 247, in run
    result.check_returncode()
  File "/usr/lib/python3.10/subprocess.py", line 457, in check_returncode
    raise CalledProcessError(self.returncode, self.args, self.stdout,
subprocess.CalledProcessError: Command '['make', '-C', '/srv/docsbuild/cpython/Doc', 'PYTHON=/srv/docsbuild/venv-3.14/bin/python', 'SPHINXBUILD=/srv/docsbuild/venv-3.14/bin/sphinx-build', 'BLURB=/srv/docsbuild/venv-3.14/bin/blurb', 'VENVDIR=/srv/docsbuild/venv-3.14', 'SPHINXOPTS=-D latex_engine=xelatex -D latex_elements.inputenc= -D latex_elements.fontenc=\\\\usepackage{fontspec} -q -D locale_dirs=/srv/docsbuild/3.14/locale -D language=es -D gettext_compact=0', 'SPHINXERRORHANDLING=', 'autobuild-dev']' returned non-zero exit status 2.

It's affecting these builds:

2024-08-11 00:14:38,811 ERROR es/3.14: Badly handled exception, human, please help.
2024-08-11 02:06:18,372 ERROR zh-tw/3.12: Badly handled exception, human, please help.
2024-08-11 02:49:53,957 ERROR zh-cn/3.12: Badly handled exception, human, please help.
2024-08-11 05:02:21,984 ERROR pt-br/3.12: Badly handled exception, human, please help.
2024-08-11 05:44:19,272 ERROR ko/3.12: Badly handled exception, human, please help.
2024-08-11 05:49:42,837 ERROR ja/3.12: Badly handled exception, human, please help.
2024-08-11 07:56:59,347 ERROR es/3.12: Badly handled exception, human, please help.
2024-08-11 09:43:07,634 ERROR zh-tw/3.13: Badly handled exception, human, please help.
2024-08-11 10:39:09,745 ERROR zh-cn/3.13: Badly handled exception, human, please help.
2024-08-11 12:51:55,567 ERROR pt-br/3.13: Badly handled exception, human, please help.
2024-08-11 13:36:06,176 ERROR ko/3.13: Badly handled exception, human, please help.
2024-08-11 13:41:49,516 ERROR ja/3.13: Badly handled exception, human, please help.
2024-08-11 15:49:23,252 ERROR es/3.13: Badly handled exception, human, please help.
2024-08-11 17:46:49,148 ERROR zh-tw/3.14: Badly handled exception, human, please help.
2024-08-11 18:49:28,090 ERROR zh-cn/3.14: Badly handled exception, human, please help.
2024-08-11 21:05:04,704 ERROR pt-br/3.14: Badly handled exception, human, please help.
2024-08-11 21:49:21,007 ERROR ko/3.14: Badly handled exception, human, please help.
2024-08-11 21:55:11,701 ERROR ja/3.14: Badly handled exception, human, please help.
2024-08-11 23:59:15,352 ERROR es/3.14: Badly handled exception, human, please help.

es/3.14 was attempted twice, so it's affecting 18 sites = 3 versions x 6 languages. 3.12 was last updated 31st July, 3.13 and 3.14 were last updated 8th August:

URL Last updated
https://docs.python.org/es/3.12 Última actualización el Jul 31, 2024 (10:28 UTC).
https://docs.python.org/es/3.13 Última actualización el Aug 08, 2024 (18:27 UTC).
https://docs.python.org/es/3.14 Última actualización el Aug 08, 2024 (07:47 UTC).
https://docs.python.org/ja/3.12 最終更新: Jul 31, 2024 (07:07 UTC)
https://docs.python.org/ja/3.13 最終更新: Aug 08, 2024 (14:54 UTC)
https://docs.python.org/ja/3.14 最終更新: Aug 08, 2024 (04:31 UTC)
https://docs.python.org/ko/3.12 최종 업데이트: Jul 31, 2024 (06:27 UTC)
https://docs.python.org/ko/3.13 최종 업데이트: Aug 08, 2024 (14:05 UTC)
https://docs.python.org/ko/3.14 최종 업데이트: Aug 08, 2024 (03:47 UTC)
https://docs.python.org/pt-br/3.12 Última atualização em Jul 31, 2024 (05:21 UTC).
https://docs.python.org/pt-br/3.13 Última atualização em Aug 08, 2024 (12:58 UTC).
https://docs.python.org/pt-br/3.14 Última atualização em Aug 08, 2024 (02:40 UTC).
https://docs.python.org/zh-cn/3.12 最后更新于 Jul 31, 2024 (02:59 UTC).
https://docs.python.org/zh-cn/3.13 最后更新于 Aug 08, 2024 (10:46 UTC).
https://docs.python.org/zh-cn/3.14 最后更新于 Aug 08, 2024 (00:31 UTC).
https://docs.python.org/zh-tw/3.12 最後更新於 Jul 31, 2024 (01:07 UTC)。
https://docs.python.org/zh-tw/3.13 最後更新於 Aug 08, 2024 (09:09 UTC)。
https://docs.python.org/zh-tw/3.14 最後更新於 Aug 08, 2024 (19:36 UTC)。
AA-Turner commented 3 months ago

This SE post suggests that there might be internationalisation and/or quoting issues with zip?

A

hugovk commented 3 months ago

Aha! The docs server docs.nyc1.psf.io is on Ubuntu 24.04 (https://infra.psf.io/list.html) and it's likely a very recent upgrade so could coincide with some of these last updated dates.

And we do have non-ASCII filenames in the general index for these languages (for example: https://docs.python.org/ja/3/genindex.html):

hugovk@docs:/srv/docs.python.org$ ls es/3.12/genindex*
es/3.12/genindex-A.html  es/3.12/genindex-F.html  es/3.12/genindex-K.html  es/3.12/genindex-P.html         es/3.12/genindex-T.html  es/3.12/genindex-Y.html
es/3.12/genindex-B.html  es/3.12/genindex-G.html  es/3.12/genindex-L.html  es/3.12/genindex-Q.html         es/3.12/genindex-U.html  es/3.12/genindex-Z.html
es/3.12/genindex-C.html  es/3.12/genindex-H.html  es/3.12/genindex-M.html  es/3.12/genindex-R.html         es/3.12/genindex-V.html  es/3.12/genindex-_.html
es/3.12/genindex-D.html  es/3.12/genindex-I.html  es/3.12/genindex-N.html  es/3.12/genindex-S.html         es/3.12/genindex-W.html  es/3.12/genindex-all.html
es/3.12/genindex-E.html  es/3.12/genindex-J.html  es/3.12/genindex-O.html  es/3.12/genindex-Símbolos.html  es/3.12/genindex-X.html  es/3.12/genindex.html
hugovk@docs:/srv/docs.python.org$ ls ja/3.12/genindex*
ja/3.12/genindex-A.html  ja/3.12/genindex-Z.html    ja/3.12/genindex-モ.html  ja/3.12/genindex-同.html  ja/3.12/genindex-束.html  ja/3.12/genindex-繰.html
ja/3.12/genindex-B.html  ja/3.12/genindex-_.html    ja/3.12/genindex-ユ.html  ja/3.12/genindex-名.html  ja/3.12/genindex-条.html  ja/3.12/genindex-自.html
ja/3.12/genindex-C.html  ja/3.12/genindex-all.html  ja/3.12/genindex-リ.html  ja/3.12/genindex-否.html  ja/3.12/genindex-検.html  ja/3.12/genindex-虚.html
ja/3.12/genindex-D.html  ja/3.12/genindex-イ.html   ja/3.12/genindex-ロ.html  ja/3.12/genindex-型.html  ja/3.12/genindex-構.html  ja/3.12/genindex-行.html
ja/3.12/genindex-E.html  ja/3.12/genindex-エ.html   ja/3.12/genindex-三.html  ja/3.12/genindex-変.html  ja/3.12/genindex-標.html  ja/3.12/genindex-表.html
ja/3.12/genindex-F.html  ja/3.12/genindex-オ.html   ja/3.12/genindex-丸.html  ja/3.12/genindex-夏.html  ja/3.12/genindex-比.html  ja/3.12/genindex-補.html
ja/3.12/genindex-G.html  ja/3.12/genindex-カ.html   ja/3.12/genindex-乗.html  ja/3.12/genindex-外.html  ja/3.12/genindex-永.html  ja/3.12/genindex-複.html
ja/3.12/genindex-H.html  ja/3.12/genindex-キ.html   ja/3.12/genindex-予.html  ja/3.12/genindex-字.html  ja/3.12/genindex-汎.html  ja/3.12/genindex-要.html
ja/3.12/genindex-I.html  ja/3.12/genindex-ク.html   ja/3.12/genindex-代.html  ja/3.12/genindex-定.html  ja/3.12/genindex-注.html  ja/3.12/genindex-言.html
ja/3.12/genindex-J.html  ja/3.12/genindex-コ.html   ja/3.12/genindex-仮.html  ja/3.12/genindex-実.html  ja/3.12/genindex-浮.html  ja/3.12/genindex-記.html
ja/3.12/genindex-K.html  ja/3.12/genindex-サ.html   ja/3.12/genindex-位.html  ja/3.12/genindex-対.html  ja/3.12/genindex-添.html  ja/3.12/genindex-記号.html
ja/3.12/genindex-L.html  ja/3.12/genindex-シ.html   ja/3.12/genindex-例.html  ja/3.12/genindex-属.html  ja/3.12/genindex-減.html  ja/3.12/genindex-設.html
ja/3.12/genindex-M.html  ja/3.12/genindex-ス.html   ja/3.12/genindex-優.html  ja/3.12/genindex-帰.html  ja/3.12/genindex-演.html  ja/3.12/genindex-評.html
ja/3.12/genindex-N.html  ja/3.12/genindex-セ.html   ja/3.12/genindex-先.html  ja/3.12/genindex-平.html  ja/3.12/genindex-無.html  ja/3.12/genindex-認.html
ja/3.12/genindex-O.html  ja/3.12/genindex-ソ.html   ja/3.12/genindex-入.html  ja/3.12/genindex-引.html  ja/3.12/genindex-物.html  ja/3.12/genindex-論.html
ja/3.12/genindex-P.html  ja/3.12/genindex-タ.html   ja/3.12/genindex-内.html  ja/3.12/genindex-形.html  ja/3.12/genindex-特.html  ja/3.12/genindex-識.html
ja/3.12/genindex-Q.html  ja/3.12/genindex-チ.html   ja/3.12/genindex-凍.html  ja/3.12/genindex-性.html  ja/3.12/genindex-環.html  ja/3.12/genindex-連.html
ja/3.12/genindex-R.html  ja/3.12/genindex-テ.html   ja/3.12/genindex-到.html  ja/3.12/genindex-拡.html  ja/3.12/genindex-監.html  ja/3.12/genindex-関.html
ja/3.12/genindex-S.html  ja/3.12/genindex-ト.html   ja/3.12/genindex-制.html  ja/3.12/genindex-排.html  ja/3.12/genindex-直.html  ja/3.12/genindex-階.html
ja/3.12/genindex-T.html  ja/3.12/genindex-ハ.html   ja/3.12/genindex-加.html  ja/3.12/genindex-操.html  ja/3.12/genindex-真.html  ja/3.12/genindex-集.html
ja/3.12/genindex-U.html  ja/3.12/genindex-ヒ.html   ja/3.12/genindex-包.html  ja/3.12/genindex-数.html  ja/3.12/genindex-空.html  ja/3.12/genindex-難.html
ja/3.12/genindex-V.html  ja/3.12/genindex-フ.html   ja/3.12/genindex-協.html  ja/3.12/genindex-整.html  ja/3.12/genindex-算.html  ja/3.12/genindex-静.html
ja/3.12/genindex-W.html  ja/3.12/genindex-ヘ.html   ja/3.12/genindex-単.html  ja/3.12/genindex-文.html  ja/3.12/genindex-終.html  ja/3.12/genindex-順.html
ja/3.12/genindex-X.html  ja/3.12/genindex-マ.html   ja/3.12/genindex-参.html  ja/3.12/genindex-書.html  ja/3.12/genindex-組.html  ja/3.12/genindex.html
ja/3.12/genindex-Y.html  ja/3.12/genindex-メ.html   ja/3.12/genindex-反.html  ja/3.12/genindex-末.html  ja/3.12/genindex-結.html
hugovk@docs:/srv/docs.python.org$ ls ko/3.12/genindex*
ko/3.12/genindex-A.html  ko/3.12/genindex-G.html  ko/3.12/genindex-M.html  ko/3.12/genindex-S.html  ko/3.12/genindex-Y.html    ko/3.12/genindex-ᄉ.html
ko/3.12/genindex-B.html  ko/3.12/genindex-H.html  ko/3.12/genindex-N.html  ko/3.12/genindex-T.html  ko/3.12/genindex-Z.html    ko/3.12/genindex-ᄋ.html
ko/3.12/genindex-C.html  ko/3.12/genindex-I.html  ko/3.12/genindex-O.html  ko/3.12/genindex-U.html  ko/3.12/genindex-_.html    ko/3.12/genindex-ᄏ.html
ko/3.12/genindex-D.html  ko/3.12/genindex-J.html  ko/3.12/genindex-P.html  ko/3.12/genindex-V.html  ko/3.12/genindex-all.html  ko/3.12/genindex-ᄒ.html
ko/3.12/genindex-E.html  ko/3.12/genindex-K.html  ko/3.12/genindex-Q.html  ko/3.12/genindex-W.html  ko/3.12/genindex-ᄆ.html   ko/3.12/genindex-기호.html
ko/3.12/genindex-F.html  ko/3.12/genindex-L.html  ko/3.12/genindex-R.html  ko/3.12/genindex-X.html  ko/3.12/genindex-ᄇ.html   ko/3.12/genindex.html
hugovk@docs:/srv/docs.python.org$ ls pt-br/3.12/genindex*
pt-br/3.12/genindex-A.html  pt-br/3.12/genindex-F.html  pt-br/3.12/genindex-K.html  pt-br/3.12/genindex-P.html         pt-br/3.12/genindex-T.html  pt-br/3.12/genindex-Y.html
pt-br/3.12/genindex-B.html  pt-br/3.12/genindex-G.html  pt-br/3.12/genindex-L.html  pt-br/3.12/genindex-Q.html         pt-br/3.12/genindex-U.html  pt-br/3.12/genindex-Z.html
pt-br/3.12/genindex-C.html  pt-br/3.12/genindex-H.html  pt-br/3.12/genindex-M.html  pt-br/3.12/genindex-R.html         pt-br/3.12/genindex-V.html  pt-br/3.12/genindex-_.html
pt-br/3.12/genindex-D.html  pt-br/3.12/genindex-I.html  pt-br/3.12/genindex-N.html  pt-br/3.12/genindex-S.html         pt-br/3.12/genindex-W.html  pt-br/3.12/genindex-all.html
pt-br/3.12/genindex-E.html  pt-br/3.12/genindex-J.html  pt-br/3.12/genindex-O.html  pt-br/3.12/genindex-Símbolos.html  pt-br/3.12/genindex-X.html  pt-br/3.12/genindex.html
hugovk@docs:/srv/docs.python.org$ ls zh-cn/3.12/genindex*
zh-cn/3.12/genindex-A.html    zh-cn/3.12/genindex-乘.html  zh-cn/3.12/genindex-回.html  zh-cn/3.12/genindex-拷.html  zh-cn/3.12/genindex-海.html    zh-cn/3.12/genindex-设.html
zh-cn/3.12/genindex-B.html    zh-cn/3.12/genindex-事.html  zh-cn/3.12/genindex-图.html  zh-cn/3.12/genindex-拼.html  zh-cn/3.12/genindex-消.html    zh-cn/3.12/genindex-词.html
zh-cn/3.12/genindex-C.html    zh-cn/3.12/genindex-二.html  zh-cn/3.12/genindex-基.html  zh-cn/3.12/genindex-按.html  zh-cn/3.12/genindex-清.html    zh-cn/3.12/genindex-语.html
zh-cn/3.12/genindex-D.html    zh-cn/3.12/genindex-互.html  zh-cn/3.12/genindex-增.html  zh-cn/3.12/genindex-排.html  zh-cn/3.12/genindex-源.html    zh-cn/3.12/genindex-调.html
zh-cn/3.12/genindex-E.html    zh-cn/3.12/genindex-交.html  zh-cn/3.12/genindex-处.html  zh-cn/3.12/genindex-推.html  zh-cn/3.12/genindex-物.html    zh-cn/3.12/genindex-负.html
zh-cn/3.12/genindex-F.html    zh-cn/3.12/genindex-代.html  zh-cn/3.12/genindex-复.html  zh-cn/3.12/genindex-掩.html  zh-cn/3.12/genindex-特.html    zh-cn/3.12/genindex-赋.html
zh-cn/3.12/genindex-G.html    zh-cn/3.12/genindex-优.html  zh-cn/3.12/genindex-大.html  zh-cn/3.12/genindex-提.html  zh-cn/3.12/genindex-环.html    zh-cn/3.12/genindex-跟.html
zh-cn/3.12/genindex-H.html    zh-cn/3.12/genindex-作.html  zh-cn/3.12/genindex-子.html  zh-cn/3.12/genindex-插.html  zh-cn/3.12/genindex-用.html    zh-cn/3.12/genindex-路.html
zh-cn/3.12/genindex-I.html    zh-cn/3.12/genindex-保.html  zh-cn/3.12/genindex-字.html  zh-cn/3.12/genindex-搜.html  zh-cn/3.12/genindex-相.html    zh-cn/3.12/genindex-转.html
zh-cn/3.12/genindex-J.html    zh-cn/3.12/genindex-信.html  zh-cn/3.12/genindex-安.html  zh-cn/3.12/genindex-撤.html  zh-cn/3.12/genindex-真.html    zh-cn/3.12/genindex-软.html
zh-cn/3.12/genindex-K.html    zh-cn/3.12/genindex-元.html  zh-cn/3.12/genindex-定.html  zh-cn/3.12/genindex-操.html  zh-cn/3.12/genindex-矩.html    zh-cn/3.12/genindex-轻.html
zh-cn/3.12/genindex-L.html    zh-cn/3.12/genindex-八.html  zh-cn/3.12/genindex-实.html  zh-cn/3.12/genindex-数.html  zh-cn/3.12/genindex-确.html    zh-cn/3.12/genindex-输.html
zh-cn/3.12/genindex-M.html    zh-cn/3.12/genindex-共.html  zh-cn/3.12/genindex-审.html  zh-cn/3.12/genindex-整.html  zh-cn/3.12/genindex-移.html    zh-cn/3.12/genindex-运.html
zh-cn/3.12/genindex-N.html    zh-cn/3.12/genindex-关.html  zh-cn/3.12/genindex-容.html  zh-cn/3.12/genindex-文.html  zh-cn/3.12/genindex-程.html    zh-cn/3.12/genindex-进.html
zh-cn/3.12/genindex-O.html    zh-cn/3.12/genindex-内.html  zh-cn/3.12/genindex-密.html  zh-cn/3.12/genindex-断.html  zh-cn/3.12/genindex-空.html    zh-cn/3.12/genindex-迭.html
zh-cn/3.12/genindex-P.html    zh-cn/3.12/genindex-冻.html  zh-cn/3.12/genindex-对.html  zh-cn/3.12/genindex-方.html  zh-cn/3.12/genindex-符号.html  zh-cn/3.12/genindex-追.html
zh-cn/3.12/genindex-Q.html    zh-cn/3.12/genindex-减.html  zh-cn/3.12/genindex-导.html  zh-cn/3.12/genindex-无.html  zh-cn/3.12/genindex-简.html    zh-cn/3.12/genindex-逗.html
zh-cn/3.12/genindex-R.html    zh-cn/3.12/genindex-分.html  zh-cn/3.12/genindex-层.html  zh-cn/3.12/genindex-显.html  zh-cn/3.12/genindex-类.html    zh-cn/3.12/genindex-逻.html
zh-cn/3.12/genindex-S.html    zh-cn/3.12/genindex-切.html  zh-cn/3.12/genindex-已.html  zh-cn/3.12/genindex-最.html  zh-cn/3.12/genindex-粘.html    zh-cn/3.12/genindex-配.html
zh-cn/3.12/genindex-T.html    zh-cn/3.12/genindex-删.html  zh-cn/3.12/genindex-布.html  zh-cn/3.12/genindex-服.html  zh-cn/3.12/genindex-索.html    zh-cn/3.12/genindex-重.html
zh-cn/3.12/genindex-U.html    zh-cn/3.12/genindex-剪.html  zh-cn/3.12/genindex-带.html  zh-cn/3.12/genindex-末.html  zh-cn/3.12/genindex-约.html    zh-cn/3.12/genindex-钩.html
zh-cn/3.12/genindex-V.html    zh-cn/3.12/genindex-加.html  zh-cn/3.12/genindex-常.html  zh-cn/3.12/genindex-条.html  zh-cn/3.12/genindex-终.html    zh-cn/3.12/genindex-锁.html
zh-cn/3.12/genindex-W.html    zh-cn/3.12/genindex-包.html  zh-cn/3.12/genindex-开.html  zh-cn/3.12/genindex-构.html  zh-cn/3.12/genindex-绑.html    zh-cn/3.12/genindex-错.html
zh-cn/3.12/genindex-X.html    zh-cn/3.12/genindex-匿.html  zh-cn/3.12/genindex-异.html  zh-cn/3.12/genindex-标.html  zh-cn/3.12/genindex-结.html    zh-cn/3.12/genindex-键.html
zh-cn/3.12/genindex-Y.html    zh-cn/3.12/genindex-十.html  zh-cn/3.12/genindex-引.html  zh-cn/3.12/genindex-栈.html  zh-cn/3.12/genindex-继.html    zh-cn/3.12/genindex-长.html
zh-cn/3.12/genindex-Z.html    zh-cn/3.12/genindex-协.html  zh-cn/3.12/genindex-形.html  zh-cn/3.12/genindex-格.html  zh-cn/3.12/genindex-缓.html    zh-cn/3.12/genindex-集.html
zh-cn/3.12/genindex-_.html    zh-cn/3.12/genindex-单.html  zh-cn/3.12/genindex-循.html  zh-cn/3.12/genindex-模.html  zh-cn/3.12/genindex-编.html    zh-cn/3.12/genindex-静.html
zh-cn/3.12/genindex-all.html  zh-cn/3.12/genindex-原.html  zh-cn/3.12/genindex-必.html  zh-cn/3.12/genindex-正.html  zh-cn/3.12/genindex-缩.html    zh-cn/3.12/genindex-非.html
zh-cn/3.12/genindex-三.html   zh-cn/3.12/genindex-反.html  zh-cn/3.12/genindex-性.html  zh-cn/3.12/genindex-比.html  zh-cn/3.12/genindex-网.html    zh-cn/3.12/genindex-顺.html
zh-cn/3.12/genindex-上.html   zh-cn/3.12/genindex-发.html  zh-cn/3.12/genindex-成.html  zh-cn/3.12/genindex-求.html  zh-cn/3.12/genindex-自.html    zh-cn/3.12/genindex-魔.html
zh-cn/3.12/genindex-下.html   zh-cn/3.12/genindex-取.html  zh-cn/3.12/genindex-打.html  zh-cn/3.12/genindex-泛.html  zh-cn/3.12/genindex-虚.html    zh-cn/3.12/genindex-默.html
zh-cn/3.12/genindex-不.html   zh-cn/3.12/genindex-句.html  zh-cn/3.12/genindex-执.html  zh-cn/3.12/genindex-注.html  zh-cn/3.12/genindex-行.html    zh-cn/3.12/genindex.html
zh-cn/3.12/genindex-中.html   zh-cn/3.12/genindex-可.html  zh-cn/3.12/genindex-扩.html  zh-cn/3.12/genindex-测.html  zh-cn/3.12/genindex-表.html
zh-cn/3.12/genindex-临.html   zh-cn/3.12/genindex-命.html  zh-cn/3.12/genindex-扭.html  zh-cn/3.12/genindex-浮.html  zh-cn/3.12/genindex-解.html
hugovk@docs:/srv/docs.python.org$ ls zh-tw/3.12/genindex*
zh-tw/3.12/genindex-A.html  zh-tw/3.12/genindex-H.html  zh-tw/3.12/genindex-O.html  zh-tw/3.12/genindex-V.html    zh-tw/3.12/genindex-二.html    zh-tw/3.12/genindex-紀.html
zh-tw/3.12/genindex-B.html  zh-tw/3.12/genindex-I.html  zh-tw/3.12/genindex-P.html  zh-tw/3.12/genindex-W.html    zh-tw/3.12/genindex-命.html    zh-tw/3.12/genindex.html
zh-tw/3.12/genindex-C.html  zh-tw/3.12/genindex-J.html  zh-tw/3.12/genindex-Q.html  zh-tw/3.12/genindex-X.html    zh-tw/3.12/genindex-基.html
zh-tw/3.12/genindex-D.html  zh-tw/3.12/genindex-K.html  zh-tw/3.12/genindex-R.html  zh-tw/3.12/genindex-Y.html    zh-tw/3.12/genindex-性.html
zh-tw/3.12/genindex-E.html  zh-tw/3.12/genindex-L.html  zh-tw/3.12/genindex-S.html  zh-tw/3.12/genindex-Z.html    zh-tw/3.12/genindex-模.html
zh-tw/3.12/genindex-F.html  zh-tw/3.12/genindex-M.html  zh-tw/3.12/genindex-T.html  zh-tw/3.12/genindex-_.html    zh-tw/3.12/genindex-環.html
zh-tw/3.12/genindex-G.html  zh-tw/3.12/genindex-N.html  zh-tw/3.12/genindex-U.html  zh-tw/3.12/genindex-all.html  zh-tw/3.12/genindex-符號.html
hugovk commented 3 months ago

That SE answerer reported it to Launchpad, which as of 2024-08-03 says was "Fixed version is 3.0-14" in Debian. Looks like Ubuntu still pending a fix.

hugovk commented 3 months ago

https://packages.ubuntu.com/noble/zip is still 3.0-13build1.

(https://changelogs.ubuntu.com/changelogs/pool/main/z/zip/zip_3.0-13build1/changelog confirms 3.0-13build1 is from April 2024.)

hugovk commented 3 months ago

Until there's a Ubuntu fix available (and there's no timeline; give the report a +1 if you have a Launchpad account), shall we try the SE workaround of using zip from 22.04?

AA-Turner commented 3 months ago

I think it's worth a try. We could also try e.g. 7z a -tzip python-3.14.0a0-docs-html.zip python-3.14.0a0-docs-html if that doesn't work.

A

hugovk commented 3 months ago

Done, I got the 22.04 one from Docker like this on macOS:

❯ docker run --platform linux/amd64 --rm -v $(pwd):/mnt ubuntu:22.04 /bin/bash -c "apt-get update && apt-get install -y zip && cp /usr/bin/zip /mnt/ && sha256sum /mnt/zip"
Unable to find image 'ubuntu:22.04' locally
22.04: Pulling from library/ubuntu
3713021b0277: Pull complete
Digest: sha256:340d9b015b194dc6e2a13938944e0d016e57b9679963fdeb9ce021daac430221
Status: Downloaded newer image for ubuntu:22.04
Get:1 http://security.ubuntu.com/ubuntu jammy-security InRelease [129 kB]
Get:2 http://archive.ubuntu.com/ubuntu jammy InRelease [270 kB]
Get:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [128 kB]
Get:4 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [1132 kB]
Get:5 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [127 kB]
Get:6 http://security.ubuntu.com/ubuntu jammy-security/multiverse amd64 Packages [44.7 kB]
Get:7 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages [2167 kB]
Get:8 http://security.ubuntu.com/ubuntu jammy-security/restricted amd64 Packages [2861 kB]
Get:9 http://archive.ubuntu.com/ubuntu jammy/main amd64 Packages [1792 kB]
Get:10 http://archive.ubuntu.com/ubuntu jammy/multiverse amd64 Packages [266 kB]
Get:11 http://archive.ubuntu.com/ubuntu jammy/restricted amd64 Packages [164 kB]
Get:12 http://archive.ubuntu.com/ubuntu jammy/universe amd64 Packages [17.5 MB]
Get:13 http://archive.ubuntu.com/ubuntu jammy-updates/multiverse amd64 Packages [51.8 kB]
Get:14 http://archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages [2958 kB]
Get:15 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [2443 kB]
Get:16 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1421 kB]
Get:17 http://archive.ubuntu.com/ubuntu jammy-backports/universe amd64 Packages [33.7 kB]
Get:18 http://archive.ubuntu.com/ubuntu jammy-backports/main amd64 Packages [81.0 kB]
Fetched 33.5 MB in 4s (8390 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  unzip
The following NEW packages will be installed:
  unzip zip
0 upgraded, 2 newly installed, 0 to remove and 5 not upgraded.
Need to get 350 kB of archives.
After this operation, 930 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 unzip amd64 6.0-26ubuntu3.2 [175 kB]
Get:2 http://archive.ubuntu.com/ubuntu jammy/main amd64 zip amd64 3.0-12build2 [176 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 350 kB in 1s (388 kB/s)
Selecting previously unselected package unzip.
(Reading database ... 4393 files and directories currently installed.)
Preparing to unpack .../unzip_6.0-26ubuntu3.2_amd64.deb ...
Unpacking unzip (6.0-26ubuntu3.2) ...
Selecting previously unselected package zip.
Preparing to unpack .../zip_3.0-12build2_amd64.deb ...
Unpacking zip (3.0-12build2) ...
Setting up unzip (6.0-26ubuntu3.2) ...
Setting up zip (3.0-12build2) ...
7dff50f9388ab7c9458b62561626182cd15512a51a81ba49acdcb94ad2c995c8  /mnt/zip

As a test, this previously failed on the server and now works:

$ zip x.zip ä
  adding: ä (stored 0%)

It's currently running an it/3.13 build, will keep an eye out for one of the problematic ones.

hugovk commented 3 months ago

Success! https://docs.python.org/es/3.13/ published successfully!

Última actualización el Aug 13, 2024 (15:32 UTC).

2024-08-13 15:31:53,206 INFO es/3.13: Running.
2024-08-13 15:31:53,207 DEBUG es/3.13: Run: 'git -C /srv/docsbuild/cpython show-ref -s origin/3.13'
2024-08-13 15:31:53,211 DEBUG es/3.13: Run: 'git -C /srv/docsbuild/cpython reset --hard fcc7c4ea66f4d21032f37fc9c8d401f0998f3318 --'
2024-08-13 15:31:53,224 DEBUG es/3.13: https://sentry.io:443 "POST /api/1307574/store/ HTTP/1.1" 200 41
2024-08-13 15:31:53,236 DEBUG es/3.13: Run: 'git -C /srv/docsbuild/cpython clean -dfqx'
2024-08-13 15:31:53,259 DEBUG es/3.13: https://sentry.io:443 "POST /api/1307574/store/ HTTP/1.1" 200 41
2024-08-13 15:31:53,293 DEBUG es/3.13: https://sentry.io:443 "POST /api/1307574/envelope/ HTTP/1.1" 200 2
2024-08-13 15:31:53,355 DEBUG es/3.13: Run: 'git -C /srv/docsbuild/3.13/locale/es/LC_MESSAGES fetch'
2024-08-13 15:31:53,640 DEBUG es/3.13: Run: 'git -C /srv/docsbuild/3.13/locale/es/LC_MESSAGES branch -r'
2024-08-13 15:31:53,643 DEBUG es/3.13: Run: 'git -C /srv/docsbuild/3.13/locale/es/LC_MESSAGES show-ref -s origin/3.12'
2024-08-13 15:31:53,646 DEBUG es/3.13: Run: 'git -C /srv/docsbuild/3.13/locale/es/LC_MESSAGES reset --hard 63847d4e8afd74bfc318b374a04562ea9d9faec7 --'
2024-08-13 15:31:53,714 DEBUG es/3.13: Run: 'git -C /srv/docsbuild/3.13/locale/es/LC_MESSAGES clean -dfqx'
2024-08-13 15:31:53,874 DEBUG es/3.13: Run: 'git -C /srv/docsbuild/cpython rev-parse HEAD'
2024-08-13 15:31:53,877 DEBUG es/3.13: Run: 'git -C /srv/docsbuild/3.13/locale/es/LC_MESSAGES rev-parse HEAD'
2024-08-13 15:31:53,879 DEBUG es/3.13: Run: 'git -C /srv/docsbuild/cpython diff --name-only 84c8cd0f3db37e8409303bd76d6d195d3a1ba6e4 fcc7c4ea66f4d21032f37fc9c8d401f0998f3318'
2024-08-13 15:31:53,884 INFO es/3.13: Should rebuild: Doc/ has changed (from 84c8cd0f3db37e8409303bd76d6d195d3a1ba6e4 to fcc7c4ea66f4d21032f37fc9c8d401f0998f3318)
2024-08-13 15:31:53,884 DEBUG es/3.13: Run: '/srv/docsbuild/venv/bin/python -m venv /srv/docsbuild/venv-3.13'
2024-08-13 15:31:56,082 DEBUG es/3.13: Run: '/srv/docsbuild/venv-3.13/bin/python -m pip install --upgrade python-docs-theme jieba -rrequirements.txt'
2024-08-13 15:31:57,090 DEBUG es/3.13: Run: '/srv/docsbuild/venv-3.13/bin/python -m pip freeze --all'
2024-08-13 15:31:57,524 INFO es/3.13: Build start.
2024-08-13 15:31:57,524 INFO es/3.13: Running make autobuild-dev
2024-08-13 15:31:57,524 DEBUG es/3.13: Run: "sed -i 's/ *-A switchers=1//' /srv/docsbuild/cpython/Doc/Makefile"
2024-08-13 15:31:57,535 DEBUG es/3.13: Run: "make -C /srv/docsbuild/cpython/Doc PYTHON=/srv/docsbuild/venv-3.13/bin/python SPHINXBUILD=/srv/docsbuild/venv-3.13/bin/sphinx-build BLURB=/srv/docsbuild/venv-3.13/bin/blurb VENVDIR=/srv/docsbuild/venv-3.13 'SPHINXOPTS=-D latex_engine=xelatex -D latex_elements.inputenc= -D latex_elements.fontenc=\\\\usepackage{fontspec} -q -D locale_dirs=/srv/docsbuild/3.13/locale -D language=es -D gettext_compact=0' SPHINXERRORHANDLING= autobuild-dev"
2024-08-13 16:07:01,662 INFO: Another builder is running... dying...
2024-08-13 17:07:01,635 INFO: Another builder is running... dying...
2024-08-13 17:43:39,250 DEBUG es/3.13: Run: 'mkdir -p /var/log/docsbuild'
2024-08-13 17:43:39,253 DEBUG es/3.13: Run: 'chgrp -R docs /var/log/docsbuild'
2024-08-13 17:43:40,329 INFO es/3.13: Build done.
2024-08-13 17:43:40,329 INFO es/3.13: Publishing start.
2024-08-13 17:43:40,329 DEBUG es/3.13: Run: 'chgrp -R docs /srv/docs.python.org/es'
2024-08-13 17:43:40,439 DEBUG es/3.13: Run: 'chgrp -R docs /srv/docs.python.org/es/3.13'
2024-08-13 17:43:41,961 INFO es/3.13: Copying HTML files to /srv/docs.python.org/es/3.13
2024-08-13 17:43:41,961 DEBUG es/3.13: Run: 'chown -R :docs /srv/docsbuild/cpython/Doc/build/html'
2024-08-13 17:43:41,968 DEBUG es/3.13: Run: 'chmod -R o+r /srv/docsbuild/cpython/Doc/build/html'
2024-08-13 17:43:41,977 DEBUG es/3.13: Run: "find /srv/docsbuild/cpython/Doc/build/html -type d -exec chmod o+x '{}' ';'"
2024-08-13 17:43:42,019 DEBUG es/3.13: Run: "rsync -a --delete-delay --filter 'P archives/' /srv/docsbuild/cpython/Doc/build/html/ /srv/docs.python.org/es/3.13"
2024-08-13 17:43:42,362 DEBUG es/3.13: Copying dist files.
2024-08-13 17:43:42,363 DEBUG es/3.13: Run: 'chown -R :docs /srv/docsbuild/cpython/Doc/dist'
2024-08-13 17:43:42,365 DEBUG es/3.13: Run: 'chmod -R o+r /srv/docsbuild/cpython/Doc/dist'
2024-08-13 17:43:42,367 DEBUG es/3.13: Run: 'mkdir -m o+rx -p /srv/docs.python.org/es/3.13/archives'
2024-08-13 17:43:42,370 DEBUG es/3.13: Run: 'chown :docs /srv/docs.python.org/es/3.13/archives'
2024-08-13 17:43:42,372 DEBUG es/3.13: Run: 'cp -a /srv/docsbuild/cpython/Doc/dist/python-3.13.0rc1-docs-pdf-a4.tar.bz2 /srv/docsbuild/cpython/Doc/dist/python-3.13.0rc1-docs-texinfo.tar.bz2 /srv/docsbuild/cpython/Doc/dist/python-3.13.0rc1-docs-pdf-a4.zip /srv/docsbuild/cpython/Doc/dist/python-3.13.0rc1-docs-texinfo.zip /srv/docsbuild/cpython/Doc/dist/python-3.13.0rc1-docs-text.tar.bz2 /srv/docsbuild/cpython/Doc/dist/python-3.13.0rc1-docs-text.zip /srv/docsbuild/cpython/Doc/dist/python-3.13.0rc1-docs-pdf-letter.tar.bz2 /srv/docsbuild/cpython/Doc/dist/python-3.13.0rc1-docs-html.zip /srv/docsbuild/cpython/Doc/dist/python-3.13.0rc1-docs-pdf-letter.zip /srv/docsbuild/cpython/Doc/dist/python-3.13.0rc1-docs.epub /srv/docsbuild/cpython/Doc/dist/python-3.13.0rc1-docs-html.tar.bz2 /srv/docs.python.org/es/3.13/archives'
2024-08-13 17:43:42,774 INFO es/3.13: 672 files changed
2024-08-13 17:43:42,775 DEBUG es/3.13: Run: 'find -L /srv/docs.python.org -samefile /srv/docs.python.org/es/3.13'
2024-08-13 17:43:46,097 DEBUG es/3.13: Purging https://docs.python.org/es/3.13/ from CDN
2024-08-13 17:43:46,099 DEBUG es/3.13: Starting new HTTPS connection (1): docs.python.org:443
2024-08-13 17:43:46,143 DEBUG es/3.13: https://docs.python.org:443 "PURGE /es/3.13/ HTTP/1.1" 200 53
<snip 2012 lines>
2024-08-13 17:44:20,028 DEBUG es/3.13: Purging https://docs.python.org/es/3.13/archives/python-3.13.0b1-docs-text.zip from CDN
2024-08-13 17:44:20,029 DEBUG es/3.13: Starting new HTTPS connection (1): docs.python.org:443
2024-08-13 17:44:20,074 DEBUG es/3.13: https://docs.python.org:443 "PURGE /es/3.13/archives/python-3.13.0b1-docs-text.zip HTTP/1.1" 200 53
2024-08-13 17:44:20,076 INFO es/3.13: Publishing done
2024-08-13 17:44:20,217 DEBUG es/3.13: Run: 'git -C /srv/docsbuild/cpython rev-parse HEAD'
2024-08-13 17:44:20,221 DEBUG es/3.13: Run: 'git -C /srv/docsbuild/3.13/locale/es/LC_MESSAGES rev-parse HEAD'

This is the only problematic one to have finished so far, and zh-tw/3.14 is running right now.

hugovk commented 3 months ago

6/18 fixed so far:

curl --silent --location https://docs.python.org/es/3.12 | grep UTC
curl --silent --location https://docs.python.org/es/3.13 | grep UTC
curl --silent --location https://docs.python.org/es/3.14 | grep UTC
curl --silent --location https://docs.python.org/ja/3.12 | grep UTC
curl --silent --location https://docs.python.org/ja/3.13 | grep UTC
curl --silent --location https://docs.python.org/ja/3.14 | grep UTC
curl --silent --location https://docs.python.org/ko/3.12 | grep UTC
curl --silent --location https://docs.python.org/ko/3.13 | grep UTC
curl --silent --location https://docs.python.org/ko/3.14 | grep UTC
curl --silent --location https://docs.python.org/pt-br/3.12 | grep UTC
curl --silent --location https://docs.python.org/pt-br/3.13 | grep UTC
curl --silent --location https://docs.python.org/pt-br/3.14 | grep UTC
curl --silent --location https://docs.python.org/zh-cn/3.12 | grep UTC
curl --silent --location https://docs.python.org/zh-cn/3.13 | grep UTC
curl --silent --location https://docs.python.org/zh-cn/3.14 | grep UTC
curl --silent --location https://docs.python.org/zh-tw/3.12 | grep UTC
curl --silent --location https://docs.python.org/zh-tw/3.13 | grep UTC
curl --silent --location https://docs.python.org/zh-tw/3.14 | grep UTC
      Última actualización el Jul 31, 2024 (10:28 UTC).
      Última actualización el Aug 13, 2024 (15:32 UTC).
      Última actualización el Aug 08, 2024 (07:47 UTC).
      最終更新: Jul 31, 2024 (07:07 UTC)
      最終更新: Aug 08, 2024 (14:54 UTC)
      最終更新: Aug 14, 2024 (02:22 UTC)
      최종 업데이트: Jul 31, 2024 (06:27 UTC)
      최종 업데이트: Aug 08, 2024 (14:05 UTC)
      최종 업데이트: Aug 14, 2024 (01:24 UTC)
      Última atualização em Jul 31, 2024 (05:21 UTC).
      Última atualização em Aug 08, 2024 (12:58 UTC).
      Última atualização em Aug 13, 2024 (23:56 UTC).
      最后更新于 Jul 31, 2024 (02:59 UTC).
      最后更新于 Aug 08, 2024 (10:46 UTC).
      最后更新于 Aug 13, 2024 (20:11 UTC).
      最後更新於 Jul 31, 2024 (01:07 UTC)。
      最後更新於 Aug 08, 2024 (09:09 UTC)。
      最後更新於 Aug 13, 2024 (18:22 UTC)。

The only "human, please help" so far in today's log is Latexmk for fr/3.14, which is https://github.com/python/docsbuild-scripts/issues/187.

hugovk commented 3 months ago

Now at 13/16:

      Última actualización el Aug 14, 2024 (15:35 UTC).
      Última actualización el Aug 13, 2024 (15:32 UTC).
      Última actualización el Aug 14, 2024 (05:55 UTC).
      最終更新: Aug 14, 2024 (14:01 UTC)
      最終更新: Aug 08, 2024 (14:54 UTC)
      最終更新: Aug 14, 2024 (02:22 UTC)
      최종 업데이트: Aug 14, 2024 (13:03 UTC)
      최종 업데이트: Aug 08, 2024 (14:05 UTC)
      최종 업데이트: Aug 15, 2024 (07:18 UTC)
      Última atualização em Aug 14, 2024 (12:17 UTC).
      Última atualização em Aug 08, 2024 (12:58 UTC).
      Última atualização em Aug 15, 2024 (05:42 UTC).
      最后更新于 Aug 14, 2024 (10:47 UTC).
      最后更新于 Aug 14, 2024 (19:30 UTC).
      最后更新于 Aug 15, 2024 (01:59 UTC).
      最後更新於 Aug 14, 2024 (09:07 UTC)。
      最後更新於 Aug 14, 2024 (17:45 UTC)。
      最後更新於 Aug 15, 2024 (00:11 UTC)。

The 3 that were missed were attempted during last night's GitHub outage but they failed to clone and were skipped.

We'll have to wait for it do a full loop to get back to them. Let's check in again tomorrow!

hugovk commented 3 months ago

All done here!

      Última actualización el Aug 16, 2024 (03:56 UTC).
      Última actualización el Aug 16, 2024 (19:11 UTC).
      Última actualización el Aug 15, 2024 (12:10 UTC).
      最終更新: Aug 16, 2024 (00:18 UTC)
      最終更新: Aug 16, 2024 (15:16 UTC)
      最終更新: Aug 15, 2024 (08:21 UTC)
      최종 업데이트: Aug 15, 2024 (23:21 UTC)
      최종 업데이트: Aug 16, 2024 (14:13 UTC)
      최종 업데이트: Aug 15, 2024 (07:18 UTC)
      Última atualização em Aug 15, 2024 (21:56 UTC).
      Última atualização em Aug 16, 2024 (12:33 UTC).
      Última atualização em Aug 15, 2024 (05:42 UTC).
      最后更新于 Aug 15, 2024 (18:06 UTC).
      最后更新于 Aug 16, 2024 (08:40 UTC).
      最后更新于 Aug 15, 2024 (01:59 UTC).
      最後更新於 Aug 15, 2024 (16:07 UTC)。
      最後更新於 Aug 16, 2024 (06:50 UTC)。
      最後更新於 Aug 15, 2024 (00:11 UTC)。