Source: haskell-hakyll
Version: 4.16.7.1-2
Severity: serious

Hello, I found hakyll to be failing tests against the sid packages
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/haskell-hakyll.html

Also Ubuntu is showing same behaviour, or at least very similar
https://launchpadlibrarian.net/852129562/buildlog_ubuntu-resolute-amd64.haskell-hakyll_4.16.7.1-2build1_BUILDING.txt.gz

 isMembertest . set: OK
Hakyll.Core.UnixFilter.Tests
unixFilter rev: OK
unixFilter false: OK
unixFilter error: FAIL
tests/TestSuite/Util.hs:95:
Expecting 'option' error
Use -p '/unixFilter error/' to rerun this test only.
Hakyll.Core.Util.String.Tests
01_trim: OK



 07_runRoutes: OK
08_runRoutes: OK
09_runRoutes: OK
Hakyll.Core.Rules.Tests
01_runRules: OK
Hakyll.Core.Runtime.Tests
01_run: [ERROR] russian.md: _teststore/-4635286129213074840 for 
Hakyll.Core.Compiler.Require/russian.md/raw: Store.set: invalid argument 
(cannot decode byte sequence starting from 208)
FAIL
Exception: _testsite/images/favicon.ico: withBinaryFile: does not exist (No 
such file or directory)
HasCallStack backtrace:
collectBacktraces, called at 
libraries/ghc-internal/src/GHC/Internal/Exception.hs:169:13 in 
ghc-internal:GHC.Internal.Exception
toExceptionWithBacktrace, called at 
libraries/ghc-internal/src/GHC/Internal/IO.hs:260:11 in 
ghc-internal:GHC.Internal.IO
throwIO, called at ./Control/Concurrent/Async.hs:110:7 in 
tasty-1.5.3-Cx633LXucsH6WTvNpdpDhS:Control.Concurrent.Async


Use -p '/Hakyll.Core.Runtime.Tests.01_run/' to rerun this test only.
02_run: OK
03_run: OK
04_run: OK
05_run: OK
06_run: OK
07_run: FAIL
tests/Hakyll/Core/Runtime/Tests.hs:263:
missing 'multiple writes' errors
Use -p '/Hakyll.Core.Runtime.Tests.07_run/' to rerun this test only.
08_run: OK
Hakyll.Core.Store.Tests
simple get . set: OK (0.18s)
+++ OK, passed 100 tests.
persistent get . set: OK (0.21s)
+++ OK, passed 100 tests.
WrongType get . set: OK
isMembertest . set: OK
Hakyll.Core.UnixFilter.Tests
unixFilter rev: hakyll-tests: tests/data/russian.md: hGetContents: invalid 
argument (cannot decode byte sequence starting from 208)
HasCallStack backtrace:
collectBacktraces, called at 
libraries/ghc-internal/src/GHC/Internal/Exception.hs:169:13 in 
ghc-internal:GHC.Internal.Exception
toExceptionWithBacktrace, called at 
libraries/ghc-internal/src/GHC/Internal/Exception.hs:89:42 in 
ghc-internal:GHC.Internal.Exception
throw, called at 
libraries/ghc-internal/src/GHC/Internal/IO/Handle/Text.hs:442:35 in 
ghc-internal:GHC.Internal.IO.Handle.Text


FAIL
Exception: tests/data/russian.md: hGetContents: invalid argument (cannot decode 
byte sequence starting from 208)
HasCallStack backtrace:
collectBacktraces, called at 
libraries/ghc-internal/src/GHC/Internal/Exception.hs:169:13 in 
ghc-internal:GHC.Internal.Exception
toExceptionWithBacktrace, called at 
libraries/ghc-internal/src/GHC/Internal/IO.hs:260:11 in 
ghc-internal:GHC.Internal.IO
throwIO, called at ./Control/Concurrent/Async.hs:110:7 in 
tasty-1.5.3-Cx633LXucsH6WTvNpdpDhS:Control.Concurrent.Async


Use -p '/unixFilter rev/' to rerun this test only.
unixFilter false: hakyll-tests: tests/data/russian.md: hGetContents: invalid 
argument (cannot decode byte sequence starting from 208)
HasCallStack backtrace:
collectBacktraces, called at 
libraries/ghc-internal/src/GHC/Internal/Exception.hs:169:13 in 
ghc-internal:GHC.Internal.Exception
toExceptionWithBacktrace, called at 
libraries/ghc-internal/src/GHC/Internal/Exception.hs:89:42 in 
ghc-internal:GHC.Internal.Exception
throw, called at 
libraries/ghc-internal/src/GHC/Internal/IO/Handle/Text.hs:442:35 in 
ghc-internal:GHC.Internal.IO.Handle.Text


OK
unixFilter error: hakyll-tests: tests/data/russian.md: hGetContents: invalid 
argument (cannot decode byte sequence starting from 208)
HasCallStack backtrace:
collectBacktraces, called at 
libraries/ghc-internal/src/GHC/Internal/Exception.hs:169:13 in 
ghc-internal:GHC.Internal.Exception
toExceptionWithBacktrace, called at 
libraries/ghc-internal/src/GHC/Internal/Exception.hs:89:42 in 
ghc-internal:GHC.Internal.Exception
throw, called at 
libraries/ghc-internal/src/GHC/Internal/IO/Handle/Text.hs:442:35 in 
ghc-internal:GHC.Internal.IO.Handle.Text


OK
Hakyll.Core.Util.String.Tests
01_trim: OK
01_replaceAll: OK
02_replaceAll: OK
03_replaceAll: OK
04_replaceAll: OK
05_replaceAll: OK
06_replaceAll: OK
07_replaceAll: OK
01_splitAll: OK
02_splitAll: OK
03_splitAll: OK
04_splitAll: OK
05_splitAll: OK
06_splitAll: OK
07_splitAll: OK
01_needlePrefix: OK
02_needlePrefix: OK
03_needlePrefix: OK
04_needlePrefix: OK
05_needlePrefix: OK
06_needlePrefix: OK
07_needlePrefix: OK
Hakyll.Web.CompressCss.Tests
01_compressCss: OK
02_compressCss: OK
03_compressCss: OK
04_compressCss: OK
05_compressCss: OK
06_compressCss: OK
07_compressCss: OK
08_compressCss: OK
09_compressCss: OK
10_compressCss: OK
11_compressCss: OK
12_compressCss: OK
13_compressCss: OK
14_compressCss: OK
15_compressCss: OK
16_compressCss: OK
17_compressCss: OK
18_compressCss: OK
19_compressCss: OK
20_compressCss: OK
21_compressCss: OK
22_compressCss: OK
23_compressCss: OK
Hakyll.Web.Html.RelativizeUrls.Tests
01_relativizeUrls: OK
02_relativizeUrls: OK
03_relativizeUrls: OK
04_relativizeUrls: OK
05_relativizeUrls: OK
06_relativizeUrls: OK
07_relativizeUrls: OK
Hakyll.Web.Html.Tests
01_demoteHeaders: OK
02_demoteHeaders: OK
01_demoteHeadersBy: OK
02_demoteHeadersBy: OK
03_demoteHeadersBy: OK
01_getUrls: OK
02_getUrls: OK
03_getUrls: OK
01_withUrls: OK
02_withUrls: OK
03_withUrls: OK
04_withUrls: OK
05_withUrls: OK
06_withUrls: OK
07_withUrls: OK
08_withUrls: OK
09_withUrls: OK
01_toUrl: OK
02_toUrl: OK
03_toUrl: OK
04_toUrl: OK
05_toUrl: OK
06_toUrl: OK
07_toUrl: OK
08_toUrl: OK
01_toSiteRoot: OK
02_toSiteRoot: OK
03_toSiteRoot: OK
04_toSiteRoot: OK
05_toSiteRoot: OK
06_toSiteRoot: OK
01_isExternal: OK
02_isExternal: OK
03_isExternal: OK
04_isExternal: OK
05_isExternal: OK
01_stripTags: OK
02_stripTags: OK
03_stripTags: OK
01_escapeHtml: OK
02_escapeHtml: OK
Hakyll.Web.Pandoc.Biblio.Tests
biblio01: [ERROR] page.markdown: An exception was thrown when persisting the 
compiler result: _testsite/page.html: commitBuffer: invalid argument (cannot 
encode character '\8220')
FAIL (0.02s)
Test output was different from 
'tests/data/biblio/cites-meijer-pandoc-3.1.8plus.golden'. It was:
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>This page cites a paper.</title>
</head>
<body>
<h1>This page cites a paper.</h1>
<p>I would like to cite one of my favourite papers <span class="citation" 
data-cites="meijer1991functional">(Meijer, Fokkinga, and Paterson 1991)</span> 
here.</p>
<div id="refs" class="references csl-bib-body hanging-indent" 
data-entry-spacing="0" role="list">
<div id="ref-meijer1991functional" class="csl-entry" role="listitem">
Meijer, Erik, Maarten Fokkinga, and Ross Paterson. 1991. <span>
Use -p '/biblio01/' to rerun this test only.
biblio02: [ERROR] page.markdown: An exception was thrown when persisting the 
compiler result: _testsite/page.html: commitBuffer: invalid argument (cannot 
encode character '\8220')
FAIL (0.02s)
Test output was different from 
'tests/data/biblio/cites-meijer-pandoc-3.1.8plus.golden'. It was:
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>This page cites a paper.</title>
</head>
<body>
<h1>This page cites a paper.</h1>
<p>I would like to cite one of my favourite papers <span class="citation" 
data-cites="meijer1991functional">(Meijer, Fokkinga, and Paterson 1991)</span> 
here.</p>
<div id="refs" class="references csl-bib-body hanging-indent" 
data-entry-spacing="0" role="list">
<div id="ref-meijer1991functional" class="csl-entry" role="listitem">
Meijer, Erik, Maarten Fokkinga, and Ross Paterson. 1991. <span>
Use -p '/biblio02/' to rerun this test only.
biblio03: [ERROR] cites-multiple.markdown: An exception was thrown when 
persisting the compiler result: _testsite/cites-multiple.html: commitBuffer: 
invalid argument (cannot encode character '\269')
FAIL (0.05s)
Test output was different from 
'tests/data/biblio/cites-multiple-pandoc-3.1.8plus.golden'. It was:
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>This page cites a paper and a book.</title>
</head>
<body>
<h1>This page cites a paper and a book.</h1>
<p>I would like to cite one of my favourite papers <span class="citation" 
data-cites="meijer1991functional">(Meijer, Fokkinga, and Paterson 1991)</span> 
here.</p>
<p>And also a book <span class="citation" data-cites="lipovaca2012">(Lipova
Use -p '/biblio03/' to rerun this test only.
Hakyll.Web.Pandoc.FileType.Tests
01_fileType: OK
02_fileType: OK
03_fileType: OK
04_fileType: OK
05_fileType: OK
Hakyll.Web.Tags
testGetCategory: OK
Hakyll.Web.Template.Context.Tests
testDateField: OK (0.02s)
Hakyll.Web.Template.Tests
case01: OK
case02: OK
case03: OK
applyJoinTemplateList: OK
01_parseTemplate: OK
02_parseTemplate: OK
03_parseTemplate: OK
04_parseTemplate: OK
05_parseTemplate: OK
06_parseTemplate: OK
07_parseTemplate: OK
08_parseTemplate: OK
embeddedTemplate: OK
Hakyll.Web.Feed.Tests
validateSucceeds: OK
validateFails: OK

6 out of 174 tests failed (0.99s)
Test suite hakyll-tests: FAIL

(I reschedule a build on reproduble-builds, so the above output might change in 
the future)
Please have a look, thanks

G.

Reply via email to