See <http://buildbot.snapframework.com/job/snap-server/133/changes>
Changes:
[Mighty Byte] Added 304 test. Created new testserver executable for black box
testing.
------------------------------------------
[...truncated 506 lines...]
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.8...
Preprocessing library hlibev-0.2.8...
Building hlibev-0.2.8...
[1 of 1] Compiling Network.Libev ( dist/build/Network/Libev.hs,
dist/build/Network/Libev.o )
Network/Libev.hsc:212:5:
Warning: Defined but not used:
type constructor or class `EvWatcherPtr'
Network/Libev.hsc:339:44:
Warning: Defined but not used: `evTimerSet'
Registering hlibev-0.2.8...
Installing library in /home/hudson/.cabal/lib/hlibev-0.2.8/ghc-6.12.1
Registering hlibev-0.2.8...
[1 of 1] Compiling Main (
/tmp/network-bytestring-0.1.33879/network-bytestring-0.1.3/Setup.hs,
/tmp/network-bytestring-0.1.33879/network-bytestring-0.1.3/dist/setup/Main.o )
Linking
/tmp/network-bytestring-0.1.33879/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'.
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 12] Compiling Snap.Test.Common ( suite/Snap/Test/Common.hs,
dist/build/testsuite/testsuite-tmp/Snap/Test/Common.o )
[ 2 of 12] Compiling Paths_snap_server ( suite/Paths_snap_server.hs,
dist/build/testsuite/testsuite-tmp/Paths_snap_server.o )
[ 3 of 12] 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 12] Compiling System.FastLogger ( ../src/System/FastLogger.hs,
dist/build/testsuite/testsuite-tmp/System/FastLogger.o )
[ 5 of 12] Compiling Snap.Internal.Http.Parser (
../src/Snap/Internal/Http/Parser.hs,
dist/build/testsuite/testsuite-tmp/Snap/Internal/Http/Parser.o )
[ 6 of 12] 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'
[ 7 of 12] Compiling Data.HashMap.Concurrent (
../src/Data/HashMap/Concurrent.hs,
dist/build/testsuite/testsuite-tmp/Data/HashMap/Concurrent.o )
[ 8 of 12] Compiling Data.HashMap.Concurrent.Tests (
suite/Data/HashMap/Concurrent/Tests.hs,
dist/build/testsuite/testsuite-tmp/Data/HashMap/Concurrent/Tests.o )
[ 9 of 12] Compiling Snap.Internal.Http.Server.LibevBackend (
../src/Snap/Internal/Http/Server/LibevBackend.hs,
dist/build/testsuite/testsuite-tmp/Snap/Internal/Http/Server/LibevBackend.o )
[10 of 12] Compiling Snap.Internal.Http.Server (
../src/Snap/Internal/Http/Server.hs,
dist/build/testsuite/testsuite-tmp/Snap/Internal/Http/Server.o )
[11 of 12] 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:196:12:
Warning: Defined but not used: `z'
[12 of 12] Compiling Main ( suite/TestSuite.hs,
dist/build/testsuite/testsuite-tmp/Main.o )
Linking dist/build/testsuite/testsuite ...
[ 1 of 11] Compiling System.SendFile.Linux (
dist/build/pongserver/pongserver-tmp/System/SendFile/Linux.hs,
dist/build/pongserver/pongserver-tmp/System/SendFile/Linux.o )
[ 2 of 11] Compiling System.SendFile ( ../src/System/SendFile.hs,
dist/build/pongserver/pongserver-tmp/System/SendFile.o )
[ 3 of 11] Compiling Data.HashMap.Concurrent (
../src/Data/HashMap/Concurrent.hs,
dist/build/pongserver/pongserver-tmp/Data/HashMap/Concurrent.o )
[ 4 of 11] Compiling Paths_snap_server ( pongserver/Paths_snap_server.hs,
dist/build/pongserver/pongserver-tmp/Paths_snap_server.o )
[ 5 of 11] Compiling Snap.Internal.Http.Server.Date (
../src/Snap/Internal/Http/Server/Date.hs,
dist/build/pongserver/pongserver-tmp/Snap/Internal/Http/Server/Date.o )
[ 6 of 11] Compiling Snap.Internal.Http.Server.LibevBackend (
../src/Snap/Internal/Http/Server/LibevBackend.hs,
dist/build/pongserver/pongserver-tmp/Snap/Internal/Http/Server/LibevBackend.o )
[ 7 of 11] Compiling Snap.Internal.Http.Parser (
../src/Snap/Internal/Http/Parser.hs,
dist/build/pongserver/pongserver-tmp/Snap/Internal/Http/Parser.o )
[ 8 of 11] Compiling System.FastLogger ( ../src/System/FastLogger.hs,
dist/build/pongserver/pongserver-tmp/System/FastLogger.o )
[ 9 of 11] Compiling Snap.Internal.Http.Server (
../src/Snap/Internal/Http/Server.hs,
dist/build/pongserver/pongserver-tmp/Snap/Internal/Http/Server.o )
[10 of 11] Compiling Snap.Http.Server ( ../src/Snap/Http/Server.hs,
dist/build/pongserver/pongserver-tmp/Snap/Http/Server.o )
[11 of 11] Compiling Main ( pongserver/Main.hs,
dist/build/pongserver/pongserver-tmp/Main.o )
Linking dist/build/pongserver/pongserver ...
[ 1 of 11] Compiling System.SendFile.Linux (
dist/build/testserver/testserver-tmp/System/SendFile/Linux.hs,
dist/build/testserver/testserver-tmp/System/SendFile/Linux.o )
[ 2 of 11] Compiling System.SendFile ( ../src/System/SendFile.hs,
dist/build/testserver/testserver-tmp/System/SendFile.o )
[ 3 of 11] Compiling Data.HashMap.Concurrent (
../src/Data/HashMap/Concurrent.hs,
dist/build/testserver/testserver-tmp/Data/HashMap/Concurrent.o )
[ 4 of 11] Compiling Paths_snap_server ( testserver/Paths_snap_server.hs,
dist/build/testserver/testserver-tmp/Paths_snap_server.o )
[ 5 of 11] Compiling Snap.Internal.Http.Server.Date (
../src/Snap/Internal/Http/Server/Date.hs,
dist/build/testserver/testserver-tmp/Snap/Internal/Http/Server/Date.o )
[ 6 of 11] Compiling Snap.Internal.Http.Server.LibevBackend (
../src/Snap/Internal/Http/Server/LibevBackend.hs,
dist/build/testserver/testserver-tmp/Snap/Internal/Http/Server/LibevBackend.o )
[ 7 of 11] Compiling Snap.Internal.Http.Parser (
../src/Snap/Internal/Http/Parser.hs,
dist/build/testserver/testserver-tmp/Snap/Internal/Http/Parser.o )
[ 8 of 11] Compiling System.FastLogger ( ../src/System/FastLogger.hs,
dist/build/testserver/testserver-tmp/System/FastLogger.o )
[ 9 of 11] Compiling Snap.Internal.Http.Server (
../src/Snap/Internal/Http/Server.hs,
dist/build/testserver/testserver-tmp/Snap/Internal/Http/Server.o )
[10 of 11] Compiling Snap.Http.Server ( ../src/Snap/Http/Server.hs,
dist/build/testserver/testserver-tmp/Snap/Http/Server.o )
[11 of 11] Compiling Main ( testserver/Main.hs,
dist/build/testserver/testserver-tmp/Main.o )
testserver/Main.hs:31:0:
Warning: Definition but no type signature for `responseHandler'
Inferred type: responseHandler :: forall b. Snap b
testserver/Main.hs:35:13:
Warning: This binding for `code' shadows the existing binding
bound at testserver/Main.hs:32:4
testserver/Main.hs:37:4:
Warning: Pattern match(es) are non-exhaustive
In the definition of `f':
Patterns not matched: #x with #x `notElem` ["300"#, "304"#]
Linking dist/build/testserver/testserver ...
[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
[?25lData.HashMap.Concurrent.Tests:
HashMap/fromList/toList: [OK, passed 1000 tests]
Snap.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]
HttpResponse4: [Failed]
Failed: http response
expected: Chunk "HTTP/1.0 304 Test\r\n" (Chunk "Transfer-Encoding:
chunked\r\n\r\n" (Chunk "Content-Length: 0\r\n\r\n" Empty))
but got: Chunk "HTTP/1.0 304 Test\r\nContent-Length: 0\r\n\r\n" Empty
http session: [OK]
connection: close: [OK]
Short: [OK]
method parsing: [OK]
startup/shutdown: [OK]
transfer-encoding chunked: [OK]
sendFile: [OK]
Properties Test Cases Total
Passed 6 24 30
Failed 0 1 1
Total 6 25 31
[?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