[Python-modules-team] Bug#813028: python-markdown: FTBFS: (failed test) testHighlightLinesWithColon (tests.test_extensions.TestCodeHilite)

Chris Lamb lamby at debian.org
Thu Jan 28 15:48:12 UTC 2016


Source: python-markdown
Version: 2.6.5-1
Severity: serious
Justification: fails to build from source
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org

Dear Maintainer,

python-markdown fails to build from source in unstable/amd64:

  [..]
  
  ======================================================================
  FAIL: testHighlightLinesWithColon (tests.test_extensions.TestCodeHilite)
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "/home/lamby/temp/cdt.20160128164608.xbU26qfoyC/python-markdown-2.6.5/tests/test_extensions.py", line 213, in testHighlightLinesWithColon
      '<div class="codehilite"><pre>'
  AssertionError: u'<div class="codehilite"><pre><span class="c1">#line 1</span>\n<span class="hll [truncated]... != u'<div class="codehilite"><pre><span class="c">#line 1</span>\n<span class="hll" [truncated]...
  - <div class="codehilite"><pre><span class="c1">#line 1</span>
  ?                                            -
  + <div class="codehilite"><pre><span class="c">#line 1</span>
  - <span class="hll"><span class="c1">#line 2</span>
  ?                                 -
  + <span class="hll"><span class="c">#line 2</span>
  - </span><span class="c1">#line 3</span>
  ?                      -
  + </span><span class="c">#line 3</span>
    </pre></div>
  -------------------- >> begin captured logging << --------------------
  MARKDOWN: DEBUG: Successfuly imported extension module "markdown.extensions.codehilite".
  MARKDOWN: DEBUG: Successfully loaded extension "markdown.extensions.codehilite.CodeHiliteExtension".
  --------------------- >> end captured logging << ---------------------
  
  ======================================================================
  FAIL: testLinenumsFalse (tests.test_extensions.TestCodeHilite)
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "/home/lamby/temp/cdt.20160128164608.xbU26qfoyC/python-markdown-2.6.5/tests/test_extensions.py", line 139, in testLinenumsFalse
      '<div class="codehilite">'
  AssertionError: u'<div class="codehilite"><pre><span class="c1"># A Code Comment</span>\n</pre>< [truncated]... != u'<div class="codehilite"><pre><span class="c"># A Code Comment</span>\n</pre></ [truncated]...
  - <div class="codehilite"><pre><span class="c1"># A Code Comment</span>
  ?                                            -
  + <div class="codehilite"><pre><span class="c"># A Code Comment</span>
    </pre></div>
  -------------------- >> begin captured logging << --------------------
  MARKDOWN: DEBUG: Successfully loaded extension "markdown.extensions.codehilite.CodeHiliteExtension".
  --------------------- >> end captured logging << ---------------------
  
  ======================================================================
  FAIL: testLinenumsNoneWithColon (tests.test_extensions.TestCodeHilite)
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "/home/lamby/temp/cdt.20160128164608.xbU26qfoyC/python-markdown-2.6.5/tests/test_extensions.py", line 192, in testLinenumsNoneWithColon
      '<div class="codehilite">'
  AssertionError: u'<div class="codehilite"><pre><span class="c1"># A Code Comment</span>\n</pre>< [truncated]... != u'<div class="codehilite"><pre><span class="c"># A Code Comment</span>\n</pre></ [truncated]...
  - <div class="codehilite"><pre><span class="c1"># A Code Comment</span>
  ?                                            -
  + <div class="codehilite"><pre><span class="c"># A Code Comment</span>
    </pre></div>
  -------------------- >> begin captured logging << --------------------
  MARKDOWN: DEBUG: Successfully loaded extension "markdown.extensions.codehilite.CodeHiliteExtension".
  --------------------- >> end captured logging << ---------------------
  
  ======================================================================
  FAIL: Test Fenced Code with Highlighted Lines.
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "/home/lamby/temp/cdt.20160128164608.xbU26qfoyC/python-markdown-2.6.5/tests/test_extensions.py", line 377, in testFencedLanguageAndHighlightLines
      '<div class="codehilite"><pre>'
  AssertionError: u'<div class="codehilite"><pre><span class="hll"><span class="c1">#line 1</span> [truncated]... != u'<div class="codehilite"><pre><span class="hll"><span class="c">#line 1</span>\ [truncated]...
  - <div class="codehilite"><pre><span class="hll"><span class="c1">#line 1</span>
  ?                                                              -
  + <div class="codehilite"><pre><span class="hll"><span class="c">#line 1</span>
  - </span><span class="c1">#line 2</span>
  ?                      -
  + </span><span class="c">#line 2</span>
  - <span class="hll"><span class="c1">#line 3</span>
  ?                                 -
  + <span class="hll"><span class="c">#line 3</span>
    </span></pre></div>
  -------------------- >> begin captured logging << --------------------
  MARKDOWN: DEBUG: Successfuly imported extension module "markdown.extensions.fenced_code".
  MARKDOWN: DEBUG: Successfully loaded extension "markdown.extensions.fenced_code.FencedCodeExtension".
  MARKDOWN: DEBUG: Successfully loaded extension "markdown.extensions.codehilite.CodeHiliteExtension".
  MARKDOWN: DEBUG: Successfuly imported extension module "markdown.extensions.fenced_code".
  MARKDOWN: DEBUG: Successfully loaded extension "markdown.extensions.fenced_code.FencedCodeExtension".
  --------------------- >> end captured logging << ---------------------
  
  ----------------------------------------------------------------------
  Ran 270 tests in 1.356s
  
  FAILED (SKIP=1, failures=4)
  E: pybuild pybuild:274: test: plugin custom failed with: exit code=1: python2.7 /home/lamby/temp/cdt.20160128164608.xbU26qfoyC/python-markdown-2.6.5/run-tests.py --verbose
  dh_auto_test: pybuild --test --test-nose -i python{version} -p 2.7 --dir . returned exit code 13
  debian/rules:15: recipe for target 'override_dh_auto_test' failed
  make[1]: *** [override_dh_auto_test] Error 25
  make[1]: Leaving directory '/home/lamby/temp/cdt.20160128164608.xbU26qfoyC/python-markdown-2.6.5'
  debian/rules:8: recipe for target 'build' failed
  make: *** [build] Error 2

  [..]

The full build log is attached.


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: python-markdown.2.6.5-1.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 5231 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20160128/7fcc580c/attachment-0001.obj>


More information about the Python-modules-team mailing list