Source: golang-github-alecthomas-chroma, golang-github-yuin-goldmark-highlighting
Control: found -1 golang-github-alecthomas-chroma/0.10.0-1
Control: found -1 golang-github-yuin-goldmark-highlighting/0.0~git20210516.9216f9c-1
Severity: serious
Tags: sid bookworm
User: debian...@lists.debian.org
Usertags: breaks needs-update

Dear maintainer(s),

With a recent upload of golang-github-alecthomas-chroma the autopkgtest of golang-github-yuin-goldmark-highlighting fails in testing when that autopkgtest is run with the binary packages of golang-github-alecthomas-chroma from unstable. It passes when run with only packages from testing. In tabular form:

                                         pass            fail
golang-github-alecthomas-chroma          from testing    0.10.0-1
golang-github-yuin-goldmark-highlighting from testing 0.0~git20210516.9216f9c-1
all others                               from testing    from testing

I copied some of the output at the bottom of this report.

Currently this regression is blocking the migration of golang-github-alecthomas-chroma to testing [1]. Due to the nature of this issue, I filed this bug report against both packages. Can you please investigate the situation and reassign the bug to the right package?

More information about this bug and the reason for filing it can be found on
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation

Paul

[1] https://qa.debian.org/excuses.php?package=golang-github-alecthomas-chroma

https://ci.debian.net/data/autopkgtest/testing/amd64/g/golang-github-yuin-goldmark-highlighting/19989387/log.gz

=== RUN   TestHighlighting
    highlighting_test.go:76: failed to render HTML
    highlighting_test.go:145: incorrect CSS.
- | /*[SPACE]Background[SPACE]*/[SPACE].chroma[SPACE]{[SPACE]color:[SPACE]#f8f8f2;[SPACE]background-color:[SPACE]#272822[SPACE]} + | /*[SPACE]Background[SPACE]*/[SPACE].bg[SPACE]{[SPACE]color:[SPACE]#f8f8f2;[SPACE]background-color:[SPACE]#272822[SPACE]} + | /*[SPACE]PreWrapper[SPACE]*/[SPACE].chroma[SPACE]{[SPACE]color:[SPACE]#f8f8f2;[SPACE]background-color:[SPACE]#272822;[SPACE]} | /* LineNumbers targeted by URL anchor */ .chroma .ln:target { color: #f8f8f2; background-color: #3c3d38 } | /* LineNumbersTable targeted by URL anchor */ .chroma .lnt:target { color: #f8f8f2; background-color: #3c3d38 } | /* Error */ .chroma .err { color: #960050; background-color: #1e0010 } | /* LineTableTD */ .chroma .lntd { vertical-align: top; padding: 0; margin: 0; border: 0; } - | /*[SPACE]LineTable[SPACE]*/[SPACE].chroma[SPACE].lntable[SPACE]{[SPACE]border-spacing:[SPACE]0;[SPACE]padding:[SPACE]0;[SPACE]margin:[SPACE]0;[SPACE]border:[SPACE]0;[SPACE]width:[SPACE]auto;[SPACE]overflow:[SPACE]auto;[SPACE]display:[SPACE]block;[SPACE]} - | /*[SPACE]LineHighlight[SPACE]*/[SPACE].chroma[SPACE].hl[SPACE]{[SPACE]display:[SPACE]block;[SPACE]width:[SPACE]100%;background-color:[SPACE]#3c3d38[SPACE]} - | /*[SPACE]LineNumbersTable[SPACE]*/[SPACE].chroma[SPACE].lnt[SPACE]{[SPACE]margin-right:[SPACE]0.4em;[SPACE]padding:[SPACE]0[SPACE]0.4em[SPACE]0[SPACE]0.4em;color:[SPACE]#7f7f7f[SPACE]} - | /*[SPACE]LineNumbers[SPACE]*/[SPACE].chroma[SPACE].ln[SPACE]{[SPACE]margin-right:[SPACE]0.4em;[SPACE]padding:[SPACE]0[SPACE]0.4em[SPACE]0[SPACE]0.4em;color:[SPACE]#7f7f7f[SPACE]} + | /*[SPACE]LineTable[SPACE]*/[SPACE].chroma[SPACE].lntable[SPACE]{[SPACE]border-spacing:[SPACE]0;[SPACE]padding:[SPACE]0;[SPACE]margin:[SPACE]0;[SPACE]border:[SPACE]0;[SPACE]} + | /*[SPACE]LineHighlight[SPACE]*/[SPACE].chroma[SPACE].hl[SPACE]{[SPACE]background-color:[SPACE]#3c3d38[SPACE]} + | /*[SPACE]LineNumbersTable[SPACE]*/[SPACE].chroma[SPACE].lnt[SPACE]{[SPACE]white-space:[SPACE]pre;[SPACE]user-select:[SPACE]none;[SPACE]margin-right:[SPACE]0.4em;[SPACE]padding:[SPACE]0[SPACE]0.4em[SPACE]0[SPACE]0.4em;color:[SPACE]#7f7f7f[SPACE]} + | /*[SPACE]LineNumbers[SPACE]*/[SPACE].chroma[SPACE].ln[SPACE]{[SPACE]white-space:[SPACE]pre;[SPACE]user-select:[SPACE]none;[SPACE]margin-right:[SPACE]0.4em;[SPACE]padding:[SPACE]0[SPACE]0.4em[SPACE]0[SPACE]0.4em;color:[SPACE]#7f7f7f[SPACE]} + | /*[SPACE]Line[SPACE]*/[SPACE].chroma[SPACE].line[SPACE]{[SPACE]display:[SPACE]flex;[SPACE]}
          | /* Keyword */ .chroma .k { color: #66d9ef }
          | /* KeywordConstant */ .chroma .kc { color: #66d9ef }
          | /* KeywordDeclaration */ .chroma .kd { color: #66d9ef }
          | /* KeywordNamespace */ .chroma .kn { color: #f92672 }
          | /* KeywordPseudo */ .chroma .kp { color: #66d9ef }
          | /* KeywordReserved */ .chroma .kr { color: #66d9ef }
          | /* KeywordType */ .chroma .kt { color: #66d9ef }
          | /* NameAttribute */ .chroma .na { color: #a6e22e }
          | /* NameClass */ .chroma .nc { color: #a6e22e }
          | /* NameConstant */ .chroma .no { color: #66d9ef }
          | /* NameDecorator */ .chroma .nd { color: #a6e22e }
          | /* NameException */ .chroma .ne { color: #a6e22e }
          | /* NameFunction */ .chroma .nf { color: #a6e22e }
          | /* NameOther */ .chroma .nx { color: #a6e22e }
          | /* NameTag */ .chroma .nt { color: #f92672 }
          | /* Literal */ .chroma .l { color: #ae81ff }
          | /* LiteralDate */ .chroma .ld { color: #e6db74 }
          | /* LiteralString */ .chroma .s { color: #e6db74 }
          | /* LiteralStringAffix */ .chroma .sa { color: #e6db74 }
          | /* LiteralStringBacktick */ .chroma .sb { color: #e6db74 }
          | /* LiteralStringChar */ .chroma .sc { color: #e6db74 }
          | /* LiteralStringDelimiter */ .chroma .dl { color: #e6db74 }
          | /* LiteralStringDoc */ .chroma .sd { color: #e6db74 }
          | /* LiteralStringDouble */ .chroma .s2 { color: #e6db74 }
          | /* LiteralStringEscape */ .chroma .se { color: #ae81ff }
          | /* LiteralStringHeredoc */ .chroma .sh { color: #e6db74 }
          | /* LiteralStringInterpol */ .chroma .si { color: #e6db74 }
          | /* LiteralStringOther */ .chroma .sx { color: #e6db74 }
          | /* LiteralStringRegex */ .chroma .sr { color: #e6db74 }
          | /* LiteralStringSingle */ .chroma .s1 { color: #e6db74 }
          | /* LiteralStringSymbol */ .chroma .ss { color: #e6db74 }
          | /* LiteralNumber */ .chroma .m { color: #ae81ff }
          | /* LiteralNumberBin */ .chroma .mb { color: #ae81ff }
          | /* LiteralNumberFloat */ .chroma .mf { color: #ae81ff }
          | /* LiteralNumberHex */ .chroma .mh { color: #ae81ff }
          | /* LiteralNumberInteger */ .chroma .mi { color: #ae81ff }
          | /* LiteralNumberIntegerLong */ .chroma .il { color: #ae81ff }
          | /* LiteralNumberOct */ .chroma .mo { color: #ae81ff }
          | /* Operator */ .chroma .o { color: #f92672 }
          | /* OperatorWord */ .chroma .ow { color: #f92672 }
          | /* Comment */ .chroma .c { color: #75715e }
          | /* CommentHashbang */ .chroma .ch { color: #75715e }
          | /* CommentMultiline */ .chroma .cm { color: #75715e }
          | /* CommentSingle */ .chroma .c1 { color: #75715e }
          | /* CommentSpecial */ .chroma .cs { color: #75715e }
          | /* CommentPreproc */ .chroma .cp { color: #75715e }
          | /* CommentPreprocFile */ .chroma .cpf { color: #75715e }
          | /* GenericDeleted */ .chroma .gd { color: #f92672 }
          | /* GenericEmph */ .chroma .ge { font-style: italic }
          | /* GenericInserted */ .chroma .gi { color: #a6e22e }
          | /* GenericStrong */ .chroma .gs { font-weight: bold }
          | /* GenericSubheading */ .chroma .gu { color: #75715e }
--- FAIL: TestHighlighting (0.00s)

=== RUN   TestHighlighting3
    highlighting_test.go:207: failed to render HTML
--- FAIL: TestHighlighting3 (0.02s)
=== RUN   TestHighlightingCustom
    highlighting_test.go:304: failed to render HTML
    highlighting_test.go:374: incorrect CSS.
- | /*[SPACE]Background[SPACE]*/[SPACE].chroma[SPACE]{[SPACE]color:[SPACE]#cccccc;[SPACE]background-color:[SPACE]#1d1d1d[SPACE]} + | /*[SPACE]Background[SPACE]*/[SPACE].bg[SPACE]{[SPACE]color:[SPACE]#cccccc;[SPACE]background-color:[SPACE]#1d1d1d[SPACE]} + | /*[SPACE]PreWrapper[SPACE]*/[SPACE].chroma[SPACE]{[SPACE]color:[SPACE]#cccccc;[SPACE]background-color:[SPACE]#1d1d1d;[SPACE]} | /* LineNumbers targeted by URL anchor */ .chroma .ln:target { color: #cccccc; background-color: #333333 } | /* LineNumbersTable targeted by URL anchor */ .chroma .lnt:target { color: #cccccc; background-color: #333333 }
          | /* Error */ .chroma .err {  }
| /* LineTableTD */ .chroma .lntd { vertical-align: top; padding: 0; margin: 0; border: 0; } - | /*[SPACE]LineTable[SPACE]*/[SPACE].chroma[SPACE].lntable[SPACE]{[SPACE]border-spacing:[SPACE]0;[SPACE]padding:[SPACE]0;[SPACE]margin:[SPACE]0;[SPACE]border:[SPACE]0;[SPACE]width:[SPACE]auto;[SPACE]overflow:[SPACE]auto;[SPACE]display:[SPACE]block;[SPACE]} - | /*[SPACE]LineHighlight[SPACE]*/[SPACE].chroma[SPACE].hl[SPACE]{[SPACE]display:[SPACE]block;[SPACE]width:[SPACE]100%;background-color:[SPACE]#333333[SPACE]} - | /*[SPACE]LineNumbersTable[SPACE]*/[SPACE].chroma[SPACE].lnt[SPACE]{[SPACE]margin-right:[SPACE]0.4em;[SPACE]padding:[SPACE]0[SPACE]0.4em[SPACE]0[SPACE]0.4em;color:[SPACE]#666666[SPACE]} - | /*[SPACE]LineNumbers[SPACE]*/[SPACE].chroma[SPACE].ln[SPACE]{[SPACE]margin-right:[SPACE]0.4em;[SPACE]padding:[SPACE]0[SPACE]0.4em[SPACE]0[SPACE]0.4em;color:[SPACE]#666666[SPACE]} + | /*[SPACE]LineTable[SPACE]*/[SPACE].chroma[SPACE].lntable[SPACE]{[SPACE]border-spacing:[SPACE]0;[SPACE]padding:[SPACE]0;[SPACE]margin:[SPACE]0;[SPACE]border:[SPACE]0;[SPACE]} + | /*[SPACE]LineHighlight[SPACE]*/[SPACE].chroma[SPACE].hl[SPACE]{[SPACE]background-color:[SPACE]#333333[SPACE]} + | /*[SPACE]LineNumbersTable[SPACE]*/[SPACE].chroma[SPACE].lnt[SPACE]{[SPACE]white-space:[SPACE]pre;[SPACE]user-select:[SPACE]none;[SPACE]margin-right:[SPACE]0.4em;[SPACE]padding:[SPACE]0[SPACE]0.4em[SPACE]0[SPACE]0.4em;color:[SPACE]#666666[SPACE]} + | /*[SPACE]LineNumbers[SPACE]*/[SPACE].chroma[SPACE].ln[SPACE]{[SPACE]white-space:[SPACE]pre;[SPACE]user-select:[SPACE]none;[SPACE]margin-right:[SPACE]0.4em;[SPACE]padding:[SPACE]0[SPACE]0.4em[SPACE]0[SPACE]0.4em;color:[SPACE]#666666[SPACE]} + | /*[SPACE]Line[SPACE]*/[SPACE].chroma[SPACE].line[SPACE]{[SPACE]display:[SPACE]flex;[SPACE]}
          | /* Keyword */ .chroma .k { color: #cc99cd }
          | /* KeywordConstant */ .chroma .kc { color: #cc99cd }
          | /* KeywordDeclaration */ .chroma .kd { color: #cc99cd }
          | /* KeywordNamespace */ .chroma .kn { color: #cc99cd }
          | /* KeywordPseudo */ .chroma .kp { color: #cc99cd }
          | /* KeywordReserved */ .chroma .kr { color: #cc99cd }
          | /* KeywordType */ .chroma .kt { color: #cc99cd }
          | /* NameBuiltin */ .chroma .nb { color: #f08d49 }
          | /* NameClass */ .chroma .nc { color: #f08d49 }
| /* NameException */ .chroma .ne { color: #666699; font-weight: bold }
          | /* NameFunction */ .chroma .nf { color: #f08d49 }
          | /* NameVariable */ .chroma .nv { color: #00cdcd }
          | /* LiteralString */ .chroma .s { color: #7ec699 }
          | /* LiteralStringAffix */ .chroma .sa { color: #7ec699 }
          | /* LiteralStringBacktick */ .chroma .sb { color: #7ec699 }
          | /* LiteralStringChar */ .chroma .sc { color: #7ec699 }
          | /* LiteralStringDelimiter */ .chroma .dl { color: #7ec699 }
          | /* LiteralStringDoc */ .chroma .sd { color: #7ec699 }
          | /* LiteralStringDouble */ .chroma .s2 { color: #7ec699 }
          | /* LiteralStringEscape */ .chroma .se { color: #7ec699 }
          | /* LiteralStringHeredoc */ .chroma .sh { color: #7ec699 }
          | /* LiteralStringInterpol */ .chroma .si { color: #7ec699 }
          | /* LiteralStringOther */ .chroma .sx { color: #7ec699 }
          | /* LiteralStringRegex */ .chroma .sr { color: #7ec699 }
          | /* LiteralStringSingle */ .chroma .s1 { color: #7ec699 }
          | /* LiteralStringSymbol */ .chroma .ss { color: #7ec699 }
          | /* LiteralNumber */ .chroma .m { color: #f08d49 }
          | /* LiteralNumberBin */ .chroma .mb { color: #f08d49 }
          | /* LiteralNumberFloat */ .chroma .mf { color: #f08d49 }
          | /* LiteralNumberHex */ .chroma .mh { color: #f08d49 }
          | /* LiteralNumberInteger */ .chroma .mi { color: #f08d49 }
          | /* LiteralNumberIntegerLong */ .chroma .il { color: #f08d49 }
          | /* LiteralNumberOct */ .chroma .mo { color: #f08d49 }
          | /* Operator */ .chroma .o { color: #67cdcc }
          | /* OperatorWord */ .chroma .ow { color: #cdcd00 }
          | /* Comment */ .chroma .c { color: #999999 }
          | /* CommentHashbang */ .chroma .ch { color: #999999 }
          | /* CommentMultiline */ .chroma .cm { color: #999999 }
          | /* CommentSingle */ .chroma .c1 { color: #999999 }
          | /* CommentSpecial */ .chroma .cs { color: #cd0000 }
          | /* CommentPreproc */ .chroma .cp { color: #999999 }
          | /* CommentPreprocFile */ .chroma .cpf { color: #999999 }
          | /* GenericDeleted */ .chroma .gd { color: #e2777a }
          | /* GenericEmph */ .chroma .ge { font-style: italic }
          | /* GenericError */ .chroma .gr { color: #e2777a }
| /* GenericHeading */ .chroma .gh { color: #000080; font-weight: bold }
          | /* GenericInserted */ .chroma .gi { color: #cc99cd }
          | /* GenericOutput */ .chroma .go { color: #888888 }
| /* GenericPrompt */ .chroma .gp { color: #000080; font-weight: bold }
          | /* GenericStrong */ .chroma .gs { font-weight: bold }
| /* GenericSubheading */ .chroma .gu { color: #800080; font-weight: bold }
          | /* GenericTraceback */ .chroma .gt { color: #0044dd }
| /* GenericUnderline */ .chroma .gl { text-decoration: underline }
--- FAIL: TestHighlightingCustom (0.00s)
=== RUN   TestHighlightingHlLines
=== RUN   TestHighlightingHlLines/0
    highlighting_test.go:419: got
<pre tabindex="0" class="chroma"><code><span class="line"><span class="cl">LINE1
        </span></span><span class="line hl"><span class="cl">LINE2
        </span></span><span class="line"><span class="cl">LINE3
        </span></span><span class="line"><span class="cl">LINE4
        </span></span><span class="line"><span class="cl">LINE5
        </span></span><span class="line"><span class="cl">LINE6
        </span></span><span class="line"><span class="cl">LINE7
        </span></span><span class="line"><span class="cl">LINE8
        </span></span></code></pre>         expected
         <span class="hl">LINE2
        </span>
=== RUN   TestHighlightingHlLines/1
    highlighting_test.go:419: got
<pre tabindex="0" class="chroma"><code><span class="line"><span class="cl">LINE1
        </span></span><span class="line hl"><span class="cl">LINE2
        </span></span><span class="line hl"><span class="cl">LINE3
        </span></span><span class="line"><span class="cl">LINE4
        </span></span><span class="line hl"><span class="cl">LINE5
        </span></span><span class="line"><span class="cl">LINE6
        </span></span><span class="line"><span class="cl">LINE7
        </span></span><span class="line"><span class="cl">LINE8
        </span></span></code></pre>         expected
         <span class="hl">LINE2
        </span>
=== RUN   TestHighlightingHlLines/2
    highlighting_test.go:419: got
<pre tabindex="0" class="chroma"><code><span class="line"><span class="cl">LINE1
        </span></span><span class="line hl"><span class="cl">LINE2
        </span></span><span class="line hl"><span class="cl">LINE3
        </span></span><span class="line"><span class="cl">LINE4
        </span></span><span class="line"><span class="cl">LINE5
        </span></span><span class="line"><span class="cl">LINE6
        </span></span><span class="line"><span class="cl">LINE7
        </span></span><span class="line"><span class="cl">LINE8
        </span></span></code></pre>         expected
         <span class="hl">LINE2
        </span>
--- FAIL: TestHighlightingHlLines (0.00s)
    --- FAIL: TestHighlightingHlLines/0 (0.00s)
    --- FAIL: TestHighlightingHlLines/1 (0.00s)
    --- FAIL: TestHighlightingHlLines/2 (0.00s)
=== RUN   TestHighlightingLinenos
=== RUN   TestHighlightingLinenos/0
    highlighting_test.go:478: got
         <span class="line"><span class="ln">1</span><span class="cl">LINE1
        </span></span>         expected
         <span class="ln">1</span>LINE1
=== RUN   TestHighlightingLinenos/1
    highlighting_test.go:478: got
         <span class="line"><span class="cl">LINE1
        </span></span>         expected
         LINE1
=== RUN   TestHighlightingLinenos/2
    highlighting_test.go:478: got
         <span class="line"><span class="ln">1</span><span class="cl">LINE1
        </span></span>         expected
         <span class="ln">1</span>LINE1
=== RUN   TestHighlightingLinenos/3
    highlighting_test.go:478: got
         <div class="chroma">
        <table class="lntable"><tr><td class="lntd">
        <span class="lnt">1
        </span></td>
        <td class="lntd">
        <span class="line"><span class="cl">LINE1
        </span></span></td></tr></table>
        </div>         expected
         <div class="chroma">
        <table class="lntable"><tr><td class="lntd">
        <span class="lnt">1
        </span></td>
        <td class="lntd">
        LINE1
        </td></tr></table>
        </div>
=== RUN   TestHighlightingLinenos/4
    highlighting_test.go:478: got
         <span class="line"><span class="ln">1</span><span class="cl">LINE1
        </span></span>         expected
         <span class="ln">1</span>LINE1
=== RUN   TestHighlightingLinenos/5
    highlighting_test.go:478: got
         <span class="line"><span class="ln">1</span><span class="cl">LINE1
        </span></span>         expected
         <span class="ln">1</span>LINE1
=== RUN   TestHighlightingLinenos/6
    highlighting_test.go:478: got
         <div class="chroma">
        <table class="lntable"><tr><td class="lntd">
        <span class="lnt">1
        </span></td>
        <td class="lntd">
        <span class="line"><span class="cl">LINE1
        </span></span></td></tr></table>
        </div>         expected
         <div class="chroma">
        <table class="lntable"><tr><td class="lntd">
        <span class="lnt">1
        </span></td>
        <td class="lntd">
        LINE1
        </td></tr></table>
        </div>
--- FAIL: TestHighlightingLinenos (0.00s)
    --- FAIL: TestHighlightingLinenos/0 (0.00s)
    --- FAIL: TestHighlightingLinenos/1 (0.00s)
    --- FAIL: TestHighlightingLinenos/2 (0.00s)
    --- FAIL: TestHighlightingLinenos/3 (0.00s)
    --- FAIL: TestHighlightingLinenos/4 (0.00s)
    --- FAIL: TestHighlightingLinenos/5 (0.00s)
    --- FAIL: TestHighlightingLinenos/6 (0.00s)
=== RUN   TestHighlightingGuessLanguage
    highlighting_test.go:506: render mismatch, got
<pre tabindex="0" class="chroma"><code><span class="line"><span class="ln">1</span><span class="cl">LINE
        </span></span></code></pre>
--- FAIL: TestHighlightingGuessLanguage (0.00s)
=== RUN   TestCoalesceNeeded
    highlighting_test.go:544: render mismatch, got
<pre tabindex="0" class="chroma"><code><span class="line"><span class="ln">1</span><span class="cl"><span class="nf">GET</span> <span class="nn">/foo</span> <span class="kr">HTTP</span><span class="o">/</span><span class="m">1.1</span> </span></span><span class="line"><span class="ln">2</span><span class="cl"><span class="n">Content-Type</span><span class="o">:</span> <span class="l">application/json</span> </span></span><span class="line"><span class="ln">3</span><span class="cl"><span class="n">User-Agent</span><span class="o">:</span> <span class="l">foo</span> </span></span><span class="line"><span class="ln">4</span><span class="cl"> </span></span><span class="line"><span class="ln">5</span><span class="cl"><span class="p">{</span> </span></span><span class="line"><span class="ln">6</span><span class="cl"> <span class="nt">&#34;hello&#34;</span><span class="p">:</span> <span class="s2">&#34;world&#34;</span> </span></span><span class="line"><span class="ln">7</span><span class="cl"><span class="p">}</span>
        </span></span></code></pre>
--- FAIL: TestCoalesceNeeded (0.00s)
FAIL
FAIL    github.com/yuin/goldmark-highlighting   0.043s
FAIL
dh_auto_test: error: cd obj-x86_64-linux-gnu && go test -vet=off -v -p 56 github.com/yuin/goldmark-highlighting returned exit code 1
make: *** [debian/rules:4: build] Error 25
autopkgtest [07:16:54]: test dh-golang-autopkgtest

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to