[1m[32m==>[m[1m Building on ledyba[m [1m[32m==>[m[1m Checking for remote environment...[m [1m[32m==>[m[1m Syncing package to remote host...[m sending incremental file list created directory packages/python-mdit_py_plugins ./ PKGBUILD 1,052 100% 0.00kB/s 0:00:00 1,052 100% 0.00kB/s 0:00:00 (xfr#1, to-chk=1/3) python-mdit_py_plugins-0.4.0-1.log 366 100% 357.42kB/s 0:00:00 366 100% 357.42kB/s 0:00:00 (xfr#2, to-chk=0/3) sent 1,010 bytes received 111 bytes 2,242.00 bytes/sec total size is 1,245 speedup is 1.11 [1m[32m==>[m[1m Running extra-riscv64-build -- -d /home/felix/packages/riscv64-pkg-cache:/var/cache/pacman/pkg -l root2 on remote host...[m [?25l:: Synchronizing package databases... core downloading... extra downloading... :: Starting full system upgrade... there is nothing to do [?25h[1m[32m==>[m[1m Building in chroot for [extra] (riscv64)...[m [1m[32m==>[m[1m Synchronizing chroot copy [/var/lib/archbuild/extra-riscv64/root] -> [root2]...[m[1mdone[m [1m[32m==>[m[1m Making package: python-mdit_py_plugins 0.4.0-1 (Sat Sep 9 14:01:45 2023)[m [1m[32m==>[m[1m Retrieving sources...[m [1m[34m ->[m[1m Downloading python-mdit_py_plugins-0.4.0.tar.gz...[m % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 62199 0 62199 0 0 66712 0 --:--:-- --:--:-- --:--:-- 66712 [1m[32m==>[m[1m Validating source files with sha512sums...[m python-mdit_py_plugins-0.4.0.tar.gz ... Passed [1m[32m==>[m[1m Making package: python-mdit_py_plugins 0.4.0-1 (Sat Sep 9 14:02:00 2023)[m [1m[32m==>[m[1m Checking runtime dependencies...[m [1m[32m==>[m[1m Installing missing dependencies...[m [?25lresolving dependencies... looking for conflicting packages... Package (5) New Version Net Change Download Size core/libnsl 2.0.0-3 0.06 MiB core/python 3.11.3-2 107.17 MiB extra/python-mdurl 0.1.2-4 0.06 MiB 0.02 MiB extra/python-uc-micro-py 1.0.2-1 0.02 MiB 0.01 MiB extra/python-markdown-it-py 2.2.0-3 0.67 MiB 0.14 MiB Total Download Size: 0.17 MiB Total Installed Size: 107.98 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... python-markdown-it-py-2.2.0-3-any downloading... python-mdurl-0.1.2-4-any downloading... python-uc-micro-py-1.0.2-1-any downloading... checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing libnsl... installing python... Optional dependencies for python python-setuptools python-pip sqlite [installed] mpdecimal: for decimal xz: for lzma [installed] tk: for tkinter installing python-uc-micro-py... installing python-mdurl... installing python-markdown-it-py... Optional dependencies for python-markdown-it-py python-mdit_py_plugins: core plugins [?25h[1m[32m==>[m[1m Checking buildtime dependencies...[m [1m[32m==>[m[1m Installing missing dependencies...[m [?25lresolving dependencies... looking for conflicting packages... Package (12) New Version Net Change Download Size extra/libyaml 0.2.5-2 0.15 MiB 0.06 MiB extra/python-iniconfig 2.0.0-4 0.04 MiB extra/python-packaging 23.1-1 0.47 MiB extra/python-pluggy 1.3.0-1 0.20 MiB extra/python-pyproject-hooks 1.0.0-5 0.09 MiB extra/python-pytest-datadir 1.4.1-2 0.01 MiB 0.01 MiB extra/python-yaml 6.0.1-2 0.91 MiB 0.18 MiB extra/python-build 0.10.0-4 0.68 MiB extra/python-flit-core 3.9.0-1 0.26 MiB 0.06 MiB extra/python-installer 0.7.0-3 0.82 MiB extra/python-pytest 7.4.2-1 4.01 MiB 0.68 MiB extra/python-pytest-regressions 2.4.2-2 0.21 MiB 0.04 MiB Total Download Size: 1.03 MiB Total Installed Size: 7.85 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... python-pytest-7.4.2-1-any downloading... python-yaml-6.0.1-2-riscv64 downloading... libyaml-0.2.5-2-riscv64 downloading... python-flit-core-3.9.0-1-any downloading... python-pytest-regressions-2.4.2-2-any downloading... python-pytest-datadir-1.4.1-2-any downloading... checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing python-packaging... installing python-pyproject-hooks... installing python-build... Optional dependencies for python-build python-virtualenv: Use virtualenv for build isolation installing python-installer... installing python-flit-core... installing python-iniconfig... installing python-pluggy... installing python-pytest... installing python-pytest-datadir... installing libyaml... installing python-yaml... installing python-pytest-regressions... [?25h[1m[32m==>[m[1m Retrieving sources...[m [1m[34m ->[m[1m Found python-mdit_py_plugins-0.4.0.tar.gz[m [1m[33m==> WARNING:[m[1m Skipping all source file integrity checks.[m [1m[32m==>[m[1m Extracting sources...[m [1m[34m ->[m[1m Extracting python-mdit_py_plugins-0.4.0.tar.gz with bsdtar[m [1m[32m==>[m[1m Starting build()...[m * Getting build dependencies for wheel... * Building wheel... Successfully built mdit_py_plugins-0.4.0-py3-none-any.whl [1m[32m==>[m[1m Starting check()...[m ============================= test session starts ============================== platform linux -- Python 3.11.3, pytest-7.4.2, pluggy-1.3.0 rootdir: /build/python-mdit_py_plugins/src/mdit-py-plugins-0.4.0 plugins: regressions-2.4.2, datadir-1.4.1 collected 410 items tests/test_admon.py .....................F... [ 6%] tests/test_amsmath.py ...................F [ 10%] tests/test_anchors.py ........ [ 12%] tests/test_attrs.py ...............................F [ 20%] tests/test_colon_fence.py ................................F. [ 29%] tests/test_container.py ......................F [ 34%] tests/test_deflist.py ...............F [ 38%] tests/test_dollarmath.py ............................................... [ 50%] ................F [ 54%] tests/test_field_list.py ................F [ 58%] tests/test_footnote.py ......................F [ 63%] tests/test_front_matter.py ......... [ 66%] tests/test_myst_block.py ..............F.. [ 70%] tests/test_myst_role.py ............... [ 73%] tests/test_substitution.py .......... [ 76%] tests/test_tasklists.py ....... [ 78%] tests/test_texmath.py .................................................. [ 90%] ..................................... [ 99%] tests/test_wordcount.py ... [100%] =================================== FAILURES =================================== _ test_all[306-Indented by 4 spaces, DISABLE-CODEBLOCKS- ??? note\n content\n-
Note
\ncontent
\nNote
\ncontent
\n??? note\ncontent
' == 'Note
E -content
E ? --- - E + content E -??? note content
_ test_fixtures[237-Indented by 4 spaces, DISABLE-CODEBLOCKS- \\begin{equation}\n a = 1\n \\end{equation}\n-\\begin{e...equation}
' == '\begin{equation} E ? +++ E - a = 1 E ? ---- E + a = 1... E E ...Full output truncated (5 lines hidden), use '-vv' to show tests/test_amsmath.py:58: AssertionError ----------------------------- Captured stdout call -----------------------------
\begin{equation} a = 1 \end{equation}
_ test_attrs[254-Indented by 4 spaces, DISABLE-CODEBLOCKS- {#a .a b=c}\n # head\n-{#a .a b=c}\n# head
' == '{#a .a b=c} E + # head
tests/test_attrs.py:22: AssertionError ----------------------------- Captured stdout call -----------------------------{#a .a b=c} # head
_ test_fixtures[438-Indented by 4 spaces, DISABLE-CODEBLOCKS- :::name\n foo\n :::\n-foo\n
\n] _
line = 438, title = 'Indented by 4 spaces, DISABLE-CODEBLOCKS'
input = ' :::name\n foo\n :::\n'
expected = 'foo\n
\n'
@pytest.mark.parametrize("line,title,input,expected", read_fixture_file(FIXTURE_PATH))
def test_fixtures(line, title, input, expected):
md = MarkdownIt("commonmark").use(colon_fence_plugin)
if "DISABLE-CODEBLOCKS" in title:
md.disable("code")
md.options["xhtmlOut"] = False
text = md.render(input)
try:
> assert text.rstrip() == expected.rstrip()
E assert ':::name\nfoo\n:::
' == '
'
E - foo
E -
E + :::name E + foo E + :::
tests/test_colon_fence.py:21: AssertionError ----------------------------- Captured stdout call -----------------------------:::name foo :::
_ test_all[301-Indented by 4 spaces, DISABLE-CODEBLOCKS- ::: name\n content\n :::\n-content
\ncontent
\n::: name\...tent\n:::
' == 'content
E -::: name E + content E + :::
tests/test_container.py:50: AssertionError ----------------------------- Captured stdout call -----------------------------::: name content :::
_ test_all[261-Indented by 4 spaces, DISABLE-CODEBLOCKS- Term 1\n\n : Definition 1\n-Term 1' == '
Term 1
E ? ^ ^ E -Term 1
: Definition 1
_ test_dollarmath_fixtures[575-Indented by 4 spaces, DISABLE-CODEBLOCKS- $$a$$\n-text\nindented
\n:name: text\nindented
' == 'text E - indented
E ? -... E E ...Full output truncated (3 lines hidden), use '-vv' to show tests/test_field_list.py:41: AssertionError ----------------------------- Captured stdout call -----------------------------:name: text indented
_ test_all[360-Indented by 4 spaces, DISABLE-CODEBLOCKS- [^1]\n\n [^1]: footnote\n-\nfootnote \u21a9\ufe0e
\nfootnote ↩︎
\n\n\n[^1]
\... footnote' == '\n'
E + [^1] [^1]: footnote footnote <- [^1] [^1]: footnote +++ (a)= +++ % abc (a)= +++ % abc (a)= Note content content footnote \u21a9\ufe0e
E -
E -
\n\n] _
line = 168, title = 'Indented by 4 spaces, DISABLE-CODEBLOCKS'
input = ' +++\n\n % abc\n\n (a)=\n'
expected = '
\n\n'
@pytest.mark.parametrize("line,title,input,expected", read_fixture_file(FIXTURE_PATH))
def test_all(line, title, input, expected):
md = MarkdownIt("commonmark").use(myst_block_plugin)
if "DISABLE-CODEBLOCKS" in title:
md.disable("code")
md.options["xhtmlOut"] = False
text = md.render(input)
print(text)
> assert text.rstrip() == expected.rstrip()
E assert '
E -
E + head
\n]
FAILED tests/test_colon_fence.py::test_fixtures[438-Indented by 4 spaces, DISABLE-CODEBLOCKS- :::name\n foo\n :::\n-
\n]
FAILED tests/test_container.py::test_all[301-Indented by 4 spaces, DISABLE-CODEBLOCKS- ::: name\n content\n :::\n-foo\n
\n
\n]
FAILED tests/test_dollarmath.py::test_dollarmath_fixtures[575-Indented by 4 spaces, DISABLE-CODEBLOCKS- $$a$$\n-
\n\n
\n
\n\n]
======================== 10 failed, 400 passed in 6.25s ========================
[1m[31m==> ERROR:[m[1m A failure occurred in check().[m
[1m Aborting...[m
[1m[31m==> ERROR:[m[1m Build failed, check /var/lib/archbuild/extra-riscv64/root2/build[m
receiving incremental file list
python-mdit_py_plugins-0.4.0-1-riscv64-build.log
python-mdit_py_plugins-0.4.0-1-riscv64-check.log
sent 62 bytes received 3,053 bytes 6,230.00 bytes/sec
total size is 17,429 speedup is 5.60