Mock Version: 1.4.7 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-markdown2.spec'], chrootPath='/var/lib/mock/680004-epel-7-x86_64-1511800340.111015/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '8a5dfd7f920b4315a05b1f3afa71a1e8', '-D', '/var/lib/mock/680004-epel-7-x86_64-1511800340.111015/root', '-a', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-markdown2.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False sh: /usr/bin/python2: No such file or directory sh: /usr/bin/python2: No such file or directory sh: /usr/bin/python2: No such file or directory sh: /usr/bin/python2: No such file or directory sh: /usr/bin/python2: No such file or directory sh: /usr/bin/python2: No such file or directory warning: Could not canonicalize hostname: 8a5dfd7f920b4315a05b1f3afa71a1e8 Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/python-markdown2-2.3.1-1.el7.centos.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-markdown2.spec'], chrootPath='/var/lib/mock/680004-epel-7-x86_64-1511800340.111015/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '66fb04a271f24d938ea847f84fe49b46', '-D', '/var/lib/mock/680004-epel-7-x86_64-1511800340.111015/root', '-a', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-markdown2.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.iWssGS + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf markdown2-2.3.1 + /usr/bin/mkdir -p markdown2-2.3.1 + cd markdown2-2.3.1 + /usr/bin/unzip -qq /builddir/build/SOURCES/markdown2-2.3.1.zip + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + mv markdown2-2.3.1 python2 + cp -a python2 python3 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.8cXoFG + umask 022 + cd /builddir/build/BUILD + cd markdown2-2.3.1 + pushd python2 ~/build/BUILD/markdown2-2.3.1/python2 ~/build/BUILD/markdown2-2.3.1 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + /usr/bin/python2 setup.py build '--executable=/usr/bin/python2 -s' running build running build_py creating build creating build/lib copying lib/markdown2.py -> build/lib running build_scripts creating build/scripts-2.7 copying and adjusting bin/markdown2 -> build/scripts-2.7 changing mode of build/scripts-2.7/markdown2 from 644 to 755 + sleep 1 + popd + pushd python3 ~/build/BUILD/markdown2-2.3.1 ~/build/BUILD/markdown2-2.3.1/python3 ~/build/BUILD/markdown2-2.3.1 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + /usr/bin/python3.4 setup.py build '--executable=/usr/bin/python3.4 -s' running build running build_py creating build creating build/lib copying lib/markdown2.py -> build/lib running build_scripts creating build/scripts-3.4 copying and adjusting bin/markdown2 -> build/scripts-3.4 changing mode of build/scripts-3.4/markdown2 from 644 to 755 + sleep 1 + popd + exit 0 ~/build/BUILD/markdown2-2.3.1 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.sN060C + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-markdown2-2.3.1-1.el7.centos.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-markdown2-2.3.1-1.el7.centos.x86_64 ++ dirname /builddir/build/BUILDROOT/python-markdown2-2.3.1-1.el7.centos.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-markdown2-2.3.1-1.el7.centos.x86_64 + cd markdown2-2.3.1 + pushd python2 ~/build/BUILD/markdown2-2.3.1/python2 ~/build/BUILD/markdown2-2.3.1 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + /usr/bin/python2 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-markdown2-2.3.1-1.el7.centos.x86_64 running install running install_lib creating /builddir/build/BUILDROOT/python-markdown2-2.3.1-1.el7.centos.x86_64/usr creating /builddir/build/BUILDROOT/python-markdown2-2.3.1-1.el7.centos.x86_64/usr/lib creating /builddir/build/BUILDROOT/python-markdown2-2.3.1-1.el7.centos.x86_64/usr/lib/python2.7 creating /builddir/build/BUILDROOT/python-markdown2-2.3.1-1.el7.centos.x86_64/usr/lib/python2.7/site-packages copying build/lib/markdown2.py -> /builddir/build/BUILDROOT/python-markdown2-2.3.1-1.el7.centos.x86_64/usr/lib/python2.7/site-packages byte-compiling /builddir/build/BUILDROOT/python-markdown2-2.3.1-1.el7.centos.x86_64/usr/lib/python2.7/site-packages/markdown2.py to markdown2.pyc writing byte-compilation script '/tmp/tmpf5Yf10.py' /usr/bin/python2 -O /tmp/tmpf5Yf10.py removing /tmp/tmpf5Yf10.py running install_scripts creating /builddir/build/BUILDROOT/python-markdown2-2.3.1-1.el7.centos.x86_64/usr/bin copying build/scripts-2.7/markdown2 -> /builddir/build/BUILDROOT/python-markdown2-2.3.1-1.el7.centos.x86_64/usr/bin changing mode of /builddir/build/BUILDROOT/python-markdown2-2.3.1-1.el7.centos.x86_64/usr/bin/markdown2 to 755 running install_egg_info Writing /builddir/build/BUILDROOT/python-markdown2-2.3.1-1.el7.centos.x86_64/usr/lib/python2.7/site-packages/markdown2-2.3.1-py2.7.egg-info + find /builddir/build/BUILDROOT/python-markdown2-2.3.1-1.el7.centos.x86_64/usr/lib/python2.7/site-packages '(' -name '*.py' -o -name 'py.*' ')' -exec sed -i '1{/^#!/d}' '{}' ';' -exec chmod u=rw,go=r '{}' ';' + mv /builddir/build/BUILDROOT/python-markdown2-2.3.1-1.el7.centos.x86_64/usr/bin/markdown2 /builddir/build/BUILDROOT/python-markdown2-2.3.1-1.el7.centos.x86_64/usr/bin/markdown2-2.7 + ln -s markdown2-2.7 /builddir/build/BUILDROOT/python-markdown2-2.3.1-1.el7.centos.x86_64/usr/bin/markdown2-2 + popd ~/build/BUILD/markdown2-2.3.1 ~/build/BUILD/markdown2-2.3.1/python3 ~/build/BUILD/markdown2-2.3.1 + pushd python3 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + /usr/bin/python3.4 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-markdown2-2.3.1-1.el7.centos.x86_64 running install running install_lib creating /builddir/build/BUILDROOT/python-markdown2-2.3.1-1.el7.centos.x86_64/usr/lib/python3.4 creating /builddir/build/BUILDROOT/python-markdown2-2.3.1-1.el7.centos.x86_64/usr/lib/python3.4/site-packages copying build/lib/markdown2.py -> /builddir/build/BUILDROOT/python-markdown2-2.3.1-1.el7.centos.x86_64/usr/lib/python3.4/site-packages byte-compiling /builddir/build/BUILDROOT/python-markdown2-2.3.1-1.el7.centos.x86_64/usr/lib/python3.4/site-packages/markdown2.py to markdown2.cpython-34.pyc writing byte-compilation script '/tmp/tmp9hi2z_jj.py' /usr/bin/python3.4 -O /tmp/tmp9hi2z_jj.py removing /tmp/tmp9hi2z_jj.py running install_scripts copying build/scripts-3.4/markdown2 -> /builddir/build/BUILDROOT/python-markdown2-2.3.1-1.el7.centos.x86_64/usr/bin changing mode of /builddir/build/BUILDROOT/python-markdown2-2.3.1-1.el7.centos.x86_64/usr/bin/markdown2 to 755 running install_egg_info Writing /builddir/build/BUILDROOT/python-markdown2-2.3.1-1.el7.centos.x86_64/usr/lib/python3.4/site-packages/markdown2-2.3.1-py3.4.egg-info + find /builddir/build/BUILDROOT/python-markdown2-2.3.1-1.el7.centos.x86_64/usr/lib/python3.4/site-packages '(' -name '*.py' -o -name 'py.*' ')' -exec sed -i '1{/^#!/d}' '{}' ';' -exec chmod u=rw,go=r '{}' ';' + mv /builddir/build/BUILDROOT/python-markdown2-2.3.1-1.el7.centos.x86_64/usr/bin/markdown2 /builddir/build/BUILDROOT/python-markdown2-2.3.1-1.el7.centos.x86_64/usr/bin/markdown2-3.4 + ln -s markdown2-3.4 /builddir/build/BUILDROOT/python-markdown2-2.3.1-1.el7.centos.x86_64/usr/bin/markdown2-3 + popd ~/build/BUILD/markdown2-2.3.1 + ln -s markdown2-2.7 /builddir/build/BUILDROOT/python-markdown2-2.3.1-1.el7.centos.x86_64/usr/bin/markdown2 + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 /builddir/build/BUILD/markdown2-2.3.1 /usr/lib/rpm/sepdebugcrcfix: Updated 0 CRC32s, 0 CRC32s did match. find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 Bytecompiling .py files below /builddir/build/BUILDROOT/python-markdown2-2.3.1-1.el7.centos.x86_64/usr/lib/python3.4 using /usr/bin/python3.4 Bytecompiling .py files below /builddir/build/BUILDROOT/python-markdown2-2.3.1-1.el7.centos.x86_64/usr/lib/python2.7 using /usr/bin/python2.7 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.ExUUMB + umask 022 + cd /builddir/build/BUILD + cd markdown2-2.3.1 + pushd python2/test ~/build/BUILD/markdown2-2.3.1/python2/test ~/build/BUILD/markdown2-2.3.1 + /usr/bin/python2 test.py -- -knownfailure markdown2/tm/auto_link ... ok markdown2/tm/auto_link_email_with_underscore [issue26] ... ok markdown2/tm/auto_link_safe_mode [issue7, safe_mode] ... ok markdown2/tm/basic_safe_mode [safe_mode] ... ok markdown2/tm/basic_safe_mode_escape [safe_mode] ... ok markdown2/tm/blockquote ... ok markdown2/tm/blockquote_with_pre ... ok markdown2/tm/break_on_newline ... ok markdown2/tm/code_block_with_tabs [fromphpmarkdown] ... ok markdown2/tm/code_blocks_leading_line ... ok markdown2/tm/code_safe_emphasis [code_friendly] ... ok markdown2/tm/codeblock ... ok markdown2/tm/codespans ... ok markdown2/tm/codespans_safe_mode [issue9, safe_mode] ... ok markdown2/tm/cuddled_list_indented [smedberg, issue36, extra, cuddle-lists] ... ok markdown2/tm/cuddled_para_and_list [smedberg, issue33, extra, cuddle-lists] ... ok markdown2/tm/cuddled_with_para ... ok markdown2/tm/demote_headers ... ok markdown2/tm/emacs_head_vars [emacs] ... ok markdown2/tm/emacs_tail_vars [emacs] ... ok markdown2/tm/emphasis ... ok markdown2/tm/escapes [issue15] ... ok markdown2/tm/fenced_code_blocks_issue113 [extra, fenced-code-blocks, issue113] ... ok markdown2/tm/fenced_code_blocks_issue127 [extra, fenced-code-blocks, issue127] ... ok markdown2/tm/fenced_code_blocks_issue135 [extra, fenced-code-blocks, issue135] ... ok markdown2/tm/fenced_code_blocks_issue161 [extra, fenced-code-blocks] ... ok markdown2/tm/fenced_code_blocks_issue86 [extra, fenced-code-blocks, issue86, issue84, issue87] ... ok markdown2/tm/fenced_code_blocks_leading_line [extra, fenced-code-blocks] ... ok markdown2/tm/fenced_code_blocks_safe_highlight [extra, fenced-code-blocks, pygments] ... ok markdown2/tm/fenced_code_blocks_simple [extra, fenced-code-blocks] ... ok markdown2/tm/fenced_code_blocks_syntax_highlighting [extra, fenced-code-blocks, pygments] ... ok markdown2/tm/fenced_code_blocks_syntax_indentation [extra, fenced-code-blocks, pygments, indentation] ... ok markdown2/tm/footnotes ... ok markdown2/tm/footnotes_letters [footnotes] ... ok markdown2/tm/footnotes_markup [footnotes] ... ok markdown2/tm/footnotes_safe_mode_escape [safe_mode, footnotes] ... ok markdown2/tm/footnotes_underscores [issue27] ... ok markdown2/tm/header ... ok markdown2/tm/header_atx_no_preceeding_space ... ok markdown2/tm/header_ids_1 [extra, header-ids] ... ok markdown2/tm/header_ids_2 [extra, header-ids] ... ok markdown2/tm/header_ids_3 [extra, header-ids] ... ok markdown2/tm/header_ids_4 [extra, header-ids, unicode] ... ok markdown2/tm/header_ids_5 [extra, header-ids] ... ok markdown2/tm/headers_tag_friendly [extra, tag-friendly] ... ok markdown2/tm/hr ... ok markdown2/tm/hr_length ... ok markdown2/tm/hr_spaces ... ok markdown2/tm/html5_block_tags [issue57] ... ok markdown2/tm/img_in_link ... ok markdown2/tm/incorrect_list_parse [issue165] ... ok markdown2/tm/inline_links ... ok markdown2/tm/issue21_gt_escaping [issue21, escape] ... ok markdown2/tm/issue2_safe_mode_borks_markup [safe_mode] ... ok markdown2/tm/issue3_bad_code_color_hack [extra, code-color, unicode, pygments, issue3] ... ok markdown2/tm/issue54_escape_link_title [issue54] ... ok markdown2/tm/link_defn_alt_title_delims ... ok markdown2/tm/link_defn_spaces_in_url [issue18] ... ok markdown2/tm/link_nofollow [extras, issue74, issue104] ... ok markdown2/tm/link_patterns ... ok markdown2/tm/link_patterns_double_hit [link_patterns] ... ok markdown2/tm/link_patterns_edge_cases [link_patterns] ... ok markdown2/tm/lists ... ok markdown2/tm/lists2 [issue16] ... ok markdown2/tm/long_link [issue24] ... ok markdown2/tm/markdown_in_html [markdown-in-html, toc, extra] ... ok markdown2/tm/metadata [extra, metadata, issue78] ... ok markdown2/tm/mismatched_footnotes ... ok markdown2/tm/missing_link_defn ... ok markdown2/tm/nested_list ... ok markdown2/tm/nested_list_safe_mode [issue9, safe_mode] ... ok markdown2/tm/not_quite_a_list ... ok markdown2/tm/parens_in_url_4 [fromphpmarkdown] ... ok markdown2/tm/pi_and_xinclude [xml, pi, xinclude] ... ok markdown2/tm/pyshell ... ok markdown2/tm/raw_html ... ok markdown2/tm/ref_links ... ok markdown2/tm/smarty_pants [smarty-pants, issue42] ... ok markdown2/tm/smarty_pants_image_links [smarty-pants, issue76] ... ok markdown2/tm/spoiler ... ok markdown2/tm/strike [extras, strike] ... ok markdown2/tm/sublist-ordered-para [issue67] ... ok markdown2/tm/sublist-para [questionable] ... ok markdown2/tm/syntax_color [extra, code-color, pygments] ... ok markdown2/tm/syntax_color_opts [extra, code-color, pygments] ... ok markdown2/tm/tables [extra, tables] ... ok markdown2/tm/toc_1 [toc, extra] ... ok markdown2/tm/toc_2 [toc, extra] ... ok markdown2/tm/toc_3 [toc, extra] ... ok markdown2/tm/tricky_anchors ... ok markdown2/tm/two_comments ... ok markdown2/tm/underline_in_autolink ... ok markdown2/tm/wiki_tables [extra, wiki-tables, issue66] ... ok markdown2/tm/xss_quotes [issue30] ... ok markdown2/direct/code_in_strong [code, strong] ... ok markdown2/direct/pre ... ok markdown2/direct/russian [unicode, issue3] ... ok markdown2/direct/slow_hr [perf] ... ok markdown2/direct/starter_pre [pre, recipes] ... ok markdown2/doctests/api ... ok markdown2/doctests/internal ... ok ---------------------------------------------------------------------- Ran 101 tests in 0.279s OK + popd ~/build/BUILD/markdown2-2.3.1 ~/build/BUILD/markdown2-2.3.1/python3/test ~/build/BUILD/markdown2-2.3.1 + pushd python3/test + /usr/bin/python3.4 test.py -- -knownfailure markdown2/tm/auto_link ... ok markdown2/tm/auto_link_email_with_underscore [issue26] ... ok markdown2/tm/auto_link_safe_mode [issue7, safe_mode] ... ok markdown2/tm/basic_safe_mode [safe_mode] ... ok markdown2/tm/basic_safe_mode_escape [safe_mode] ... ok markdown2/tm/blockquote ... ok markdown2/tm/blockquote_with_pre ... ok markdown2/tm/break_on_newline ... ok markdown2/tm/code_block_with_tabs [fromphpmarkdown] ... ok markdown2/tm/code_blocks_leading_line ... ok markdown2/tm/code_safe_emphasis [code_friendly] ... ok markdown2/tm/codeblock ... ok markdown2/tm/codespans ... ok markdown2/tm/codespans_safe_mode [issue9, safe_mode] ... ok markdown2/tm/cuddled_list_indented [smedberg, issue36, extra, cuddle-lists] ... ok markdown2/tm/cuddled_para_and_list [smedberg, issue33, extra, cuddle-lists] ... ok markdown2/tm/cuddled_with_para ... ok markdown2/tm/demote_headers ... ok markdown2/tm/emacs_head_vars [emacs] ... ok markdown2/tm/emacs_tail_vars [emacs] ... ok markdown2/tm/emphasis ... ok markdown2/tm/escapes [issue15] ... ok markdown2/tm/fenced_code_blocks_issue113 [extra, fenced-code-blocks, issue113] ... ok markdown2/tm/fenced_code_blocks_issue127 [extra, fenced-code-blocks, issue127] ... ok markdown2/tm/fenced_code_blocks_issue135 [extra, fenced-code-blocks, issue135] ... ok markdown2/tm/fenced_code_blocks_issue161 [extra, fenced-code-blocks] ... ok markdown2/tm/fenced_code_blocks_issue86 [extra, fenced-code-blocks, issue86, issue84, issue87] ... ok markdown2/tm/fenced_code_blocks_leading_line [extra, fenced-code-blocks] ... ok markdown2/tm/fenced_code_blocks_safe_highlight [extra, fenced-code-blocks, pygments] ... FAIL markdown2/tm/fenced_code_blocks_simple [extra, fenced-code-blocks] ... ok markdown2/tm/fenced_code_blocks_syntax_highlighting [extra, fenced-code-blocks, pygments] ... FAIL markdown2/tm/fenced_code_blocks_syntax_indentation [extra, fenced-code-blocks, pygments, indentation] ... FAIL markdown2/tm/footnotes ... ok markdown2/tm/footnotes_letters [footnotes] ... ok markdown2/tm/footnotes_markup [footnotes] ... ok markdown2/tm/footnotes_safe_mode_escape [safe_mode, footnotes] ... ok markdown2/tm/footnotes_underscores [issue27] ... ok markdown2/tm/header ... ok markdown2/tm/header_atx_no_preceeding_space ... ok markdown2/tm/header_ids_1 [extra, header-ids] ... ok markdown2/tm/header_ids_2 [extra, header-ids] ... ok markdown2/tm/header_ids_3 [extra, header-ids] ... ok markdown2/tm/header_ids_4 [extra, header-ids, unicode] ... ok markdown2/tm/header_ids_5 [extra, header-ids] ... ok markdown2/tm/headers_tag_friendly [extra, tag-friendly] ... ok markdown2/tm/hr ... ok markdown2/tm/hr_length ... ok markdown2/tm/hr_spaces ... ok markdown2/tm/html5_block_tags [issue57] ... ok markdown2/tm/img_in_link ... ok markdown2/tm/incorrect_list_parse [issue165] ... ok markdown2/tm/inline_links ... ok markdown2/tm/issue21_gt_escaping [issue21, escape] ... ok markdown2/tm/issue2_safe_mode_borks_markup [safe_mode] ... ok markdown2/tm/issue3_bad_code_color_hack [extra, code-color, unicode, pygments, issue3] ... FAIL markdown2/tm/issue54_escape_link_title [issue54] ... ok markdown2/tm/link_defn_alt_title_delims ... ok markdown2/tm/link_defn_spaces_in_url [issue18] ... ok markdown2/tm/link_nofollow [extras, issue74, issue104] ... ok markdown2/tm/link_patterns ... ok markdown2/tm/link_patterns_double_hit [link_patterns] ... ok markdown2/tm/link_patterns_edge_cases [link_patterns] ... ok markdown2/tm/lists ... ok markdown2/tm/lists2 [issue16] ... ok markdown2/tm/long_link [issue24] ... ok markdown2/tm/markdown_in_html [markdown-in-html, toc, extra] ... ok markdown2/tm/metadata [extra, metadata, issue78] ... ok markdown2/tm/mismatched_footnotes ... ok markdown2/tm/missing_link_defn ... ok markdown2/tm/nested_list ... ok markdown2/tm/nested_list_safe_mode [issue9, safe_mode] ... ok markdown2/tm/not_quite_a_list ... ok markdown2/tm/parens_in_url_4 [fromphpmarkdown] ... ok markdown2/tm/pi_and_xinclude [xml, pi, xinclude] ... ok markdown2/tm/pyshell ... ok markdown2/tm/raw_html ... ok markdown2/tm/ref_links ... ok markdown2/tm/smarty_pants [smarty-pants, issue42] ... ok markdown2/tm/smarty_pants_image_links [smarty-pants, issue76] ... ok markdown2/tm/spoiler ... ok markdown2/tm/strike [extras, strike] ... ok markdown2/tm/sublist-ordered-para [issue67] ... ok markdown2/tm/sublist-para [questionable] ... ok markdown2/tm/syntax_color [extra, code-color, pygments] ... FAIL markdown2/tm/syntax_color_opts [extra, code-color, pygments] ... FAIL markdown2/tm/tables [extra, tables] ... ok markdown2/tm/toc_1 [toc, extra] ... ok markdown2/tm/toc_2 [toc, extra] ... ok markdown2/tm/toc_3 [toc, extra] ... ok markdown2/tm/tricky_anchors ... ok markdown2/tm/two_comments ... ok markdown2/tm/underline_in_autolink ... ok markdown2/tm/wiki_tables [extra, wiki-tables, issue66] ... ok markdown2/tm/xss_quotes [issue30] ... ok markdown2/direct/code_in_strong [code, strong] ... ok markdown2/direct/pre ... ok markdown2/direct/russian [unicode, issue3] ... ok markdown2/direct/slow_hr [perf] ... ok markdown2/direct/starter_pre [pre, recipes] ... ok markdown2/doctests/api ... ok ====================================================================== FAIL: markdown2/tm/fenced_code_blocks_safe_highlight [extra, fenced-code-blocks, pygments] ---------------------------------------------------------------------- Traceback (most recent call last): File "./test_markdown2.py", line 202, in metadata_path=m) File "./test_markdown2.py", line 94, in _assertMarkdownPath **extra) File "./test_markdown2.py", line 144, in _assertMarkdown self.assertEqual(python_norm_html, norm_html, errmsg) AssertionError: 'if\n' != 'if \n' -
if True:
?                               -------------
+ 
if True:
-     print "hi"
?                                                -
+     print "hi"
  

That's using the fenced-code-blocks extra with Python syntax coloring, if pygments is installed. See http://github.github.com/github-flavored-markdown/.

-
def foo
?                               -------------
+ 
def foo
      puts "hi"
  end
  
: markdown2.py didn't produce the expected HTML: ---- text (escaping: .=space, \n=newline) ---- ```python\n if.True:\n ....print."hi"\n ```\n \n That's.using.the.*fenced-code-blocks*.extra.with.Python\n syntax.coloring,.if.`pygments`.is.installed..See\n .\n \n ```ruby\n def.foo\n ....puts."hi"\n end\n ```\n ---- Python markdown2.py HTML (escaping: .=space, \n=newline) ----
if.True:\n
    ....print."hi"\n
    
\n \n

That's.using.the.fenced-code-blocks.extra.with.Python\n syntax.coloring,.if.pygments.is.installed..See\n http://github.github.com/github-flavored-markdown/.

\n \n
def.foo\n
    ....puts."hi"\n
    end\n
    
\n ---- expected HTML (escaping: .=space, \n=newline) ----
if.True:\n
    ....print."hi"\n
    
\n \n

That's.using.the.fenced-code-blocks.extra.with.Python\n syntax.coloring,.if.pygments.is.installed..See\n http://github.github.com/github-flavored-markdown/.

\n \n
def.foo\n
    ....puts."hi"\n
    end\n
    
\n ---- diff ---- --- ./tm-cases/fenced_code_blocks_safe_highlight.html +++ markdown2 ./tm-cases/fenced_code_blocks_safe_highlight.text @@ -1,12 +1,12 @@ -
if True:
    -    print "hi"
    +
if True:
    +    print "hi"
     

That's using the fenced-code-blocks extra with Python syntax coloring, if pygments is installed. See http://github.github.com/github-flavored-markdown/.

-
def foo
    +
def foo
         puts "hi"
     end
     
====================================================================== FAIL: markdown2/tm/fenced_code_blocks_syntax_highlighting [extra, fenced-code-blocks, pygments] ---------------------------------------------------------------------- Traceback (most recent call last): File "./test_markdown2.py", line 202, in metadata_path=m) File "./test_markdown2.py", line 94, in _assertMarkdownPath **extra) File "./test_markdown2.py", line 144, in _assertMarkdown self.assertEqual(python_norm_html, norm_html, errmsg) AssertionError: 'if\n' != 'if \n' -
if True:
?                               -------------
+ 
if True:
-     print "hi"
?                                                -
+     print "hi"
  

That's using the fenced-code-blocks extra with Python syntax coloring, if pygments is installed. See http://github.github.com/github-flavored-markdown/.

-
def foo
?                               -------------
+ 
def foo
      puts "hi"
  end
  
: markdown2.py didn't produce the expected HTML: ---- text (escaping: .=space, \n=newline) ---- ```python\n if.True:\n ....print."hi"\n ```\n \n That's.using.the.*fenced-code-blocks*.extra.with.Python\n syntax.coloring,.if.`pygments`.is.installed..See\n .\n \n ```ruby\n def.foo\n ....puts."hi"\n end\n ```\n ---- Python markdown2.py HTML (escaping: .=space, \n=newline) ----
if.True:\n
    ....print."hi"\n
    
\n \n

That's.using.the.fenced-code-blocks.extra.with.Python\n syntax.coloring,.if.pygments.is.installed..See\n http://github.github.com/github-flavored-markdown/.

\n \n
def.foo\n
    ....puts."hi"\n
    end\n
    
\n ---- expected HTML (escaping: .=space, \n=newline) ----
if.True:\n
    ....print."hi"\n
    
\n \n

That's.using.the.fenced-code-blocks.extra.with.Python\n syntax.coloring,.if.pygments.is.installed..See\n http://github.github.com/github-flavored-markdown/.

\n \n
def.foo\n
    ....puts."hi"\n
    end\n
    
\n ---- diff ---- --- ./tm-cases/fenced_code_blocks_syntax_highlighting.html +++ markdown2 ./tm-cases/fenced_code_blocks_syntax_highlighting.text @@ -1,12 +1,12 @@ -
if True:
    -    print "hi"
    +
if True:
    +    print "hi"
     

That's using the fenced-code-blocks extra with Python syntax coloring, if pygments is installed. See http://github.github.com/github-flavored-markdown/.

-
def foo
    +
def foo
         puts "hi"
     end
     
====================================================================== FAIL: markdown2/tm/fenced_code_blocks_syntax_indentation [extra, fenced-code-blocks, pygments, indentation] ---------------------------------------------------------------------- Traceback (most recent call last): File "./test_markdown2.py", line 202, in metadata_path=m) File "./test_markdown2.py", line 94, in _assertMarkdownPath **extra) File "./test_markdown2.py", line 144, in _assertMarkdown self.assertEqual(python_norm_html, norm_html, errmsg) AssertionError: 'def\n' != 'def \n' -
def foo():
?                               -------------
+ 
def foo():
-     print "foo"
?                                                -
+     print "foo"
  
-     print "bar"
?                                                -
+     print "bar"
  
: markdown2.py didn't produce the expected HTML: ---- text (escaping: .=space, \n=newline) ---- ```python\n def.foo():\n ....print."foo"\n \n ....print."bar"\n ```\n ---- Python markdown2.py HTML (escaping: .=space, \n=newline) ----
def.foo():\n
    ....print."foo"\n
    \n
    ....print."bar"\n
    
\n ---- expected HTML (escaping: .=space, \n=newline) ----
def.foo():\n
    ....print."foo"\n
    \n
    ....print."bar"\n
    
\n ---- diff ---- --- ./tm-cases/fenced_code_blocks_syntax_indentation.html +++ markdown2 ./tm-cases/fenced_code_blocks_syntax_indentation.text @@ -1,5 +1,5 @@ -
def foo():
    -    print "foo"
    +
def foo():
    +    print "foo"
     
    -    print "bar"
    +    print "bar"
     
====================================================================== FAIL: markdown2/tm/issue3_bad_code_color_hack [extra, code-color, unicode, pygments, issue3] ---------------------------------------------------------------------- Traceback (most recent call last): File "test.py", line 47, in default_tags=default_tags) File "/builddir/build/BUILD/markdown2-2.3.1/python3/test/testlib.py", line 714, in harness result = test(testdir_from_ns, tags, setup_func=setup_func) File "/builddir/build/BUILD/markdown2-2.3.1/python3/test/testlib.py", line 407, in test result = runner.run(suite) File "/builddir/build/BUILD/markdown2-2.3.1/python3/test/testlib.py", line 550, in run result.printSummary() File "/builddir/build/BUILD/markdown2-2.3.1/python3/test/testlib.py", line 517, in printSummary self.printErrorList('FAIL', self.failures) File "/builddir/build/BUILD/markdown2-2.3.1/python3/test/testlib.py", line 525, in printErrorList self.stream.write("%s\n" % err) UnicodeEncodeError: 'ascii' codec can't encode characters in position 374-377: ordinal not in range(128) + : + popd + exit 0 ~/build/BUILD/markdown2-2.3.1 Processing files: python2-markdown2-2.3.1-1.el7.centos.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.WNFoYF + umask 022 + cd /builddir/build/BUILD + cd markdown2-2.3.1 + DOCDIR=/builddir/build/BUILDROOT/python-markdown2-2.3.1-1.el7.centos.x86_64/usr/share/doc/python2-markdown2-2.3.1 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-markdown2-2.3.1-1.el7.centos.x86_64/usr/share/doc/python2-markdown2-2.3.1 + cp -pr python2/CHANGES.md /builddir/build/BUILDROOT/python-markdown2-2.3.1-1.el7.centos.x86_64/usr/share/doc/python2-markdown2-2.3.1 + cp -pr python2/CONTRIBUTORS.txt /builddir/build/BUILDROOT/python-markdown2-2.3.1-1.el7.centos.x86_64/usr/share/doc/python2-markdown2-2.3.1 + cp -pr python2/TODO.txt /builddir/build/BUILDROOT/python-markdown2-2.3.1-1.el7.centos.x86_64/usr/share/doc/python2-markdown2-2.3.1 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.MlOedK + umask 022 + cd /builddir/build/BUILD + cd markdown2-2.3.1 + LICENSEDIR=/builddir/build/BUILDROOT/python-markdown2-2.3.1-1.el7.centos.x86_64/usr/share/licenses/python2-markdown2-2.3.1 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-markdown2-2.3.1-1.el7.centos.x86_64/usr/share/licenses/python2-markdown2-2.3.1 + cp -pr python2/LICENSE.txt /builddir/build/BUILDROOT/python-markdown2-2.3.1-1.el7.centos.x86_64/usr/share/licenses/python2-markdown2-2.3.1 + exit 0 Provides: python-markdown2 = 2.3.1-1.el7.centos python2-markdown2 = 2.3.1-1.el7.centos Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/python2 python(abi) = 2.7 Obsoletes: python-markdown2 < 2.3.1-1.el7.centos Processing files: python34-markdown2-2.3.1-1.el7.centos.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.CATZLO + umask 022 + cd /builddir/build/BUILD + cd markdown2-2.3.1 + DOCDIR=/builddir/build/BUILDROOT/python-markdown2-2.3.1-1.el7.centos.x86_64/usr/share/doc/python34-markdown2-2.3.1 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-markdown2-2.3.1-1.el7.centos.x86_64/usr/share/doc/python34-markdown2-2.3.1 + cp -pr python3/CHANGES.md /builddir/build/BUILDROOT/python-markdown2-2.3.1-1.el7.centos.x86_64/usr/share/doc/python34-markdown2-2.3.1 + cp -pr python3/CONTRIBUTORS.txt /builddir/build/BUILDROOT/python-markdown2-2.3.1-1.el7.centos.x86_64/usr/share/doc/python34-markdown2-2.3.1 + cp -pr python3/TODO.txt /builddir/build/BUILDROOT/python-markdown2-2.3.1-1.el7.centos.x86_64/usr/share/doc/python34-markdown2-2.3.1 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.czTenT + umask 022 + cd /builddir/build/BUILD + cd markdown2-2.3.1 + LICENSEDIR=/builddir/build/BUILDROOT/python-markdown2-2.3.1-1.el7.centos.x86_64/usr/share/licenses/python34-markdown2-2.3.1 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-markdown2-2.3.1-1.el7.centos.x86_64/usr/share/licenses/python34-markdown2-2.3.1 + cp -pr python3/LICENSE.txt /builddir/build/BUILDROOT/python-markdown2-2.3.1-1.el7.centos.x86_64/usr/share/licenses/python34-markdown2-2.3.1 + exit 0 Provides: python34-markdown2 = 2.3.1-1.el7.centos Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/python3.4 python(abi) = 3.4 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-markdown2-2.3.1-1.el7.centos.x86_64 warning: Could not canonicalize hostname: 66fb04a271f24d938ea847f84fe49b46 Wrote: /builddir/build/RPMS/python2-markdown2-2.3.1-1.el7.centos.noarch.rpm Wrote: /builddir/build/RPMS/python34-markdown2-2.3.1-1.el7.centos.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.OXEp4s + umask 022 + cd /builddir/build/BUILD + cd markdown2-2.3.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-markdown2-2.3.1-1.el7.centos.x86_64 + exit 0 Child return code was: 0