See <http://buildbot.snapframework.com/job/snap-server/103/changes>
Changes:
[Shu-yu Guo] Fix file descriptor leak with sendfile stuff
[Shu-yu Guo] Merge branch 'master' of git.snapframework.com:snap-server
------------------------------------------
[...truncated 470 lines...]
Warning: A do-notation statement discarded a result of type Char.
Suppress this warning by saying "_ <- char '"'",
or by using the flag -fno-warn-unused-do-bind
Network/HTTP/Auth.hs:215:9:
Warning: A do-notation statement discarded a result of type Char.
Suppress this warning by saying "_ <- char '"'",
or by using the flag -fno-warn-unused-do-bind
[14 of 18] Compiling Network.HTTP.Proxy ( Network/HTTP/Proxy.hs,
dist/build/Network/HTTP/Proxy.o )
Network/HTTP/Proxy.hs:1:0:
Warning: Module `Prelude' is deprecated:
You are using the old package `base' version 3.x.
Future GHC versions will not support base version 3.x. You
should update your code to use the new base version 4.x.
[15 of 18] Compiling Network.HTTP.HandleStream ( Network/HTTP/HandleStream.hs,
dist/build/Network/HTTP/HandleStream.o )
Network/HTTP/HandleStream.hs:1:0:
Warning: Module `Prelude' is deprecated:
You are using the old package `base' version 3.x.
Future GHC versions will not support base version 3.x. You
should update your code to use the new base version 4.x.
Network/HTTP/HandleStream.hs:113:2:
Warning: A do-notation statement discarded a result of type Result
().
Suppress this warning by saying "_ <- writeBlock
conn (($) buf_fromStr
bufferOps show rqst)",
or by using the flag -fno-warn-unused-do-bind
Network/HTTP/HandleStream.hs:115:2:
Warning: A do-notation statement discarded a result of type Result
().
Suppress this warning by saying "_ <- writeBlock
conn (rqBody rqst)",
or by using the flag -fno-warn-unused-do-bind
Network/HTTP/HandleStream.hs:151:8:
Warning: A do-notation statement discarded a result of type Result
().
Suppress this warning by saying "_ <- writeBlock
conn
((buf_append bufferOps)
(buf_fromStr bufferOps
(show rqst))
(rqBody rqst))",
or by using the flag -fno-warn-unused-do-bind
Network/HTTP/HandleStream.hs:229:2:
Warning: A do-notation statement discarded a result of type Result
().
Suppress this warning by saying "_ <- writeBlock
conn (($) buf_fromStr
bufferOps show rsp)",
or by using the flag -fno-warn-unused-do-bind
Network/HTTP/HandleStream.hs:231:2:
Warning: A do-notation statement discarded a result of type Result
().
Suppress this warning by saying "_ <- writeBlock
conn (rspBody rsp)",
or by using the flag -fno-warn-unused-do-bind
[16 of 18] Compiling Network.HTTP ( Network/HTTP.hs,
dist/build/Network/HTTP.o )
Network/HTTP.hs:1:0:
Warning: Module `Prelude' is deprecated:
You are using the old package `base' version 3.x.
Future GHC versions will not support base version 3.x. You
should update your code to use the new base version 4.x.
[17 of 18] Compiling Network.HTTP.Stream ( Network/HTTP/Stream.hs,
dist/build/Network/HTTP/Stream.o )
Network/HTTP/Stream.hs:1:0:
Warning: Module `Prelude' is deprecated:
You are using the old package `base' version 3.x.
Future GHC versions will not support base version 3.x. You
should update your code to use the new base version 4.x.
Network/HTTP/Stream.hs:109:3:
Warning: A do-notation statement discarded a result of type Result
().
Suppress this warning by saying "_ <- writeBlock conn (show rqst)",
or by using the flag -fno-warn-unused-do-bind
Network/HTTP/Stream.hs:111:3:
Warning: A do-notation statement discarded a result of type Result
().
Suppress this warning by saying "_ <- writeBlock
conn (rqBody rqst)",
or by using the flag -fno-warn-unused-do-bind
Network/HTTP/Stream.hs:156:25:
Warning: A do-notation statement discarded a result of type Result
().
Suppress this warning by saying "_ <- writeBlock
conn ((++) show rqst
rqBody rqst)",
or by using the flag -fno-warn-unused-do-bind
Network/HTTP/Stream.hs:227:26:
Warning: A do-notation statement discarded a result of type Result
().
Suppress this warning by saying "_ <- writeBlock conn (show rsp)",
or by using the flag -fno-warn-unused-do-bind
Network/HTTP/Stream.hs:229:26:
Warning: A do-notation statement discarded a result of type Result
().
Suppress this warning by saying "_ <- writeBlock
conn (rspBody rsp)",
or by using the flag -fno-warn-unused-do-bind
[18 of 18] Compiling Network.Browser ( Network/Browser.hs,
dist/build/Network/Browser.o )
Network/Browser.hs:1:0:
Warning: Module `Prelude' is deprecated:
You are using the old package `base' version 3.x.
Future GHC versions will not support base version 3.x. You
should update your code to use the new base version 4.x.
Network/Browser.hs:963:2:
Warning: A do-notation statement discarded a result of type (BrowserState
t,
()).
Suppress this warning by saying "_ <- (lift (evh x)) st",
or by using the flag -fno-warn-unused-do-bind
Registering HTTP-4000.0.9...
Installing library in /home/hudson/.cabal/lib/HTTP-4000.0.9/ghc-6.12.1
Registering HTTP-4000.0.9...
Configuring hlibev-0.2.3...
Preprocessing library hlibev-0.2.3...
Building hlibev-0.2.3...
[1 of 1] Compiling Network.Libev ( dist/build/Network/Libev.hs,
dist/build/Network/Libev.o )
Network/Libev.hsc:132:5:
Warning: Defined but not used:
type constructor or class `EvWatcherPtr'
Registering hlibev-0.2.3...
Installing library in /home/hudson/.cabal/lib/hlibev-0.2.3/ghc-6.12.1
Registering hlibev-0.2.3...
[1 of 1] Compiling Main (
/tmp/network-bytestring-0.1.330284/network-bytestring-0.1.3/Setup.hs,
/tmp/network-bytestring-0.1.330284/network-bytestring-0.1.3/dist/setup/Main.o )
Linking
/tmp/network-bytestring-0.1.330284/network-bytestring-0.1.3/dist/setup/setup ...
Configuring network-bytestring-0.1.3...
Preprocessing library network-bytestring-0.1.3...
Building network-bytestring-0.1.3...
[1 of 5] Compiling Network.Socket.ByteString.IOVec (
dist/build/Network/Socket/ByteString/IOVec.hs,
dist/build/Network/Socket/ByteString/IOVec.o )
[2 of 5] Compiling Network.Socket.ByteString.MsgHdr (
dist/build/Network/Socket/ByteString/MsgHdr.hs,
dist/build/Network/Socket/ByteString/MsgHdr.o )
[3 of 5] Compiling Network.Socket.ByteString.Internal (
Network/Socket/ByteString/Internal.hs,
dist/build/Network/Socket/ByteString/Internal.o )
[4 of 5] Compiling Network.Socket.ByteString ( Network/Socket/ByteString.hs,
dist/build/Network/Socket/ByteString.o )
[5 of 5] Compiling Network.Socket.ByteString.Lazy (
dist/build/Network/Socket/ByteString/Lazy.hs,
dist/build/Network/Socket/ByteString/Lazy.o )
Registering network-bytestring-0.1.3...
Installing library in
/home/hudson/.cabal/lib/network-bytestring-0.1.3/ghc-6.12.1
Registering network-bytestring-0.1.3...
Configuring snap-server-testsuite-0.1.1...
Warning: 'hs-source-dirs: ../src' is a relative path outside of the source
tree. This will not work when generating a tarball with 'sdist'.
Warning: 'hs-source-dirs: ../src' is a relative path outside of the source
tree. This will not work when generating a tarball with 'sdist'.
Warning: 'hs-source-dirs: ../src' is a relative path outside of the source
tree. This will not work when generating a tarball with 'sdist'.
Preprocessing executables for snap-server-testsuite-0.1.1...
Building snap-server-testsuite-0.1.1...
[ 1 of 10] Compiling Snap.Test.Common ( suite/Snap/Test/Common.hs,
dist/build/testsuite/testsuite-tmp/Snap/Test/Common.o )
suite/Snap/Test/Common.hs:10:0:
Warning: The import of `Test.QuickCheck.Gen' is redundant
except perhaps to import instances from `Test.QuickCheck.Gen'
To import instances alone, use: import Test.QuickCheck.Gen()
[ 2 of 10] Compiling Paths_snap_server ( suite/Paths_snap_server.hs,
dist/build/testsuite/testsuite-tmp/Paths_snap_server.o )
[ 3 of 10] Compiling Snap.Internal.Http.Server.Date (
../src/Snap/Internal/Http/Server/Date.hs,
dist/build/testsuite/testsuite-tmp/Snap/Internal/Http/Server/Date.o )
[ 4 of 10] Compiling Snap.Internal.Http.Server.LibevBackend (
../src/Snap/Internal/Http/Server/LibevBackend.hs,
dist/build/testsuite/testsuite-tmp/Snap/Internal/Http/Server/LibevBackend.o )
[ 5 of 10] Compiling System.FastLogger ( ../src/System/FastLogger.hs,
dist/build/testsuite/testsuite-tmp/System/FastLogger.o )
[ 6 of 10] Compiling Snap.Internal.Http.Parser (
../src/Snap/Internal/Http/Parser.hs,
dist/build/testsuite/testsuite-tmp/Snap/Internal/Http/Parser.o )
[ 7 of 10] Compiling Snap.Internal.Http.Parser.Tests (
suite/Snap/Internal/Http/Parser/Tests.hs,
dist/build/testsuite/testsuite-tmp/Snap/Internal/Http/Parser/Tests.o )
suite/Snap/Internal/Http/Parser/Tests.hs:181:8:
Warning: Defined but not used: `buf'
suite/Snap/Internal/Http/Parser/Tests.hs:220:8:
Warning: Defined but not used: `buf'
suite/Snap/Internal/Http/Parser/Tests.hs:261:8:
Warning: Defined but not used: `buf'
suite/Snap/Internal/Http/Parser/Tests.hs:302:8:
Warning: Defined but not used: `buf'
[ 8 of 10] Compiling Snap.Internal.Http.Server (
../src/Snap/Internal/Http/Server.hs,
dist/build/testsuite/testsuite-tmp/Snap/Internal/Http/Server.o )
[ 9 of 10] Compiling Snap.Internal.Http.Server.Tests (
suite/Snap/Internal/Http/Server/Tests.hs,
dist/build/testsuite/testsuite-tmp/Snap/Internal/Http/Server/Tests.o )
suite/Snap/Internal/Http/Server/Tests.hs:195:12:
Warning: Defined but not used: `z'
[10 of 10] Compiling Main ( suite/TestSuite.hs,
dist/build/testsuite/testsuite-tmp/Main.o )
Linking dist/build/testsuite/testsuite ...
[ 1 of 10] Compiling System.SendFile.Linux (
dist/build/pongserver/pongserver-tmp/System/SendFile/Linux.hs,
dist/build/pongserver/pongserver-tmp/System/SendFile/Linux.o )
[ 2 of 10] Compiling System.SendFile ( ../src/System/SendFile.hs,
dist/build/pongserver/pongserver-tmp/System/SendFile.o )
[ 3 of 10] Compiling Paths_snap_server ( pongserver/Paths_snap_server.hs,
dist/build/pongserver/pongserver-tmp/Paths_snap_server.o )
[ 4 of 10] Compiling Snap.Internal.Http.Server.Date (
../src/Snap/Internal/Http/Server/Date.hs,
dist/build/pongserver/pongserver-tmp/Snap/Internal/Http/Server/Date.o )
[ 5 of 10] Compiling Snap.Internal.Http.Server.LibevBackend (
../src/Snap/Internal/Http/Server/LibevBackend.hs,
dist/build/pongserver/pongserver-tmp/Snap/Internal/Http/Server/LibevBackend.o )
[ 6 of 10] Compiling Snap.Internal.Http.Parser (
../src/Snap/Internal/Http/Parser.hs,
dist/build/pongserver/pongserver-tmp/Snap/Internal/Http/Parser.o )
[ 7 of 10] Compiling System.FastLogger ( ../src/System/FastLogger.hs,
dist/build/pongserver/pongserver-tmp/System/FastLogger.o )
[ 8 of 10] Compiling Snap.Internal.Http.Server (
../src/Snap/Internal/Http/Server.hs,
dist/build/pongserver/pongserver-tmp/Snap/Internal/Http/Server.o )
[ 9 of 10] Compiling Snap.Http.Server ( ../src/Snap/Http/Server.hs,
dist/build/pongserver/pongserver-tmp/Snap/Http/Server.o )
[10 of 10] Compiling Main ( pongserver/Main.hs,
dist/build/pongserver/pongserver-tmp/Main.o )
Linking dist/build/pongserver/pongserver ...
[1 of 3] Compiling Snap.Internal.Http.Parser (
../src/Snap/Internal/Http/Parser.hs,
dist/build/benchmark/benchmark-tmp/Snap/Internal/Http/Parser.o )
[2 of 3] Compiling Snap.Internal.Http.Parser.Benchmark (
benchmark/Snap/Internal/Http/Parser/Benchmark.hs,
dist/build/benchmark/benchmark-tmp/Snap/Internal/Http/Parser/Benchmark.o )
[3 of 3] Compiling Main ( benchmark/Benchmark.hs,
dist/build/benchmark/benchmark-tmp/Main.o )
Linking dist/build/benchmark/benchmark ...
Installing executable(s) in /home/hudson/.cabal/bin
+ ./runTestsAndCoverage.sh --jxml=junit.xml --plain
[?25lSnap.Internal.Http.Parser.Tests:
show: [OK]
parseCookie: [OK]
chunked transfer encoding: [OK, passed 1000 tests]
chunk . unchunk == id: [OK, passed 1000 tests]
testBothChunkedBuffered1: [OK, passed 1000 tests]
testBothChunkedBuffered2: [OK, passed 1000 tests]
testBothChunkedPipelined: [OK, passed 1000 tests]
testBothChunkedEmpty: [OK]
parserToIteratee: [OK]
short parse: [OK]
partial parse: [OK]
iteratee error: [OK]
iteratee error 2: [OK]
parse error: [OK]
formEncoded: [OK]
Snap.Internal.Http.Server.Tests:
HttpRequest1: [OK]
MultiRequest: [OK]
HttpRequest2: [OK]
HttpRequest3: [OK]
HttpResponse1: [OK]
HttpResponse2: [OK]
HttpResponse3: [OK]
http session: [OK]
connection: close: [OK]
Short: [OK]
method parsing: [OK]
startup/shutdown: [Failed]
Failed: expected exception, didn't get it
transfer-encoding chunked: [OK]
sendFile: [OK]
Properties Test Cases Total
Passed 5 23 28
Failed 0 1 1
Total 5 24 29
[?25hPublishing Javadoc
Recording test results
[htmlpublisher] Archiving HTML reports...
[htmlpublisher] Archiving at PROJECT level
<http://buildbot.snapframework.com/job/snap-server/ws/test/dist/hpc> to
/home/hudson/data/jobs/snap-server/htmlreports/HTML_Report
ERROR: Specified HTML directory
'<http://buildbot.snapframework.com/job/snap-server/ws/test/dist/hpc'> does not
exist.
_______________________________________________
Snap mailing list
[email protected]
http://mailman-mail5.webfaction.com/listinfo/snap