See <http://buildbot.snapframework.com/job/snap-server-portable/110/changes>
Changes:
[Gregory Collins] Add test for slowloris attack/timeouts
------------------------------------------
[...truncated 671 lines...]
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 17] Compiling Data.Concurrent.HashMap.Internal (
../src/Data/Concurrent/HashMap/Internal.hs,
dist/build/testsuite/testsuite-tmp/Data/Concurrent/HashMap/Internal.o )
[ 2 of 17] Compiling Paths_snap_server ( common/Paths_snap_server.hs,
dist/build/testsuite/testsuite-tmp/Paths_snap_server.o )
[ 3 of 17] 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 17] Compiling Snap.Internal.Http.Server.SimpleBackend (
../src/Snap/Internal/Http/Server/SimpleBackend.hs,
dist/build/testsuite/testsuite-tmp/Snap/Internal/Http/Server/SimpleBackend.o )
../src/Snap/Internal/Http/Server/SimpleBackend.hs:316:0:
Warning: Defined but not used: `cancelTimeout'
[ 5 of 17] Compiling System.FastLogger ( ../src/System/FastLogger.hs,
dist/build/testsuite/testsuite-tmp/System/FastLogger.o )
[ 6 of 17] Compiling Test.Common.Rot13 ( common/Test/Common/Rot13.hs,
dist/build/testsuite/testsuite-tmp/Test/Common/Rot13.o )
[ 7 of 17] Compiling Snap.Test.Common ( common/Snap/Test/Common.hs,
dist/build/testsuite/testsuite-tmp/Snap/Test/Common.o )
common/Snap/Test/Common.hs:19:0:
Warning: The import of `System.IO' is redundant
except perhaps to import instances from `System.IO'
To import instances alone, use: import System.IO()
[ 8 of 17] Compiling Snap.Internal.Http.Parser (
../src/Snap/Internal/Http/Parser.hs,
dist/build/testsuite/testsuite-tmp/Snap/Internal/Http/Parser.o )
[ 9 of 17] 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:195:8:
Warning: Defined but not used: `bs'
suite/Snap/Internal/Http/Parser/Tests.hs:263:8:
Warning: This binding for `iters' shadows the existing binding
bound at suite/Snap/Internal/Http/Parser/Tests.hs:251:12
suite/Snap/Internal/Http/Parser/Tests.hs:268:8:
Warning: This binding for `iter' shadows the existing binding
bound at suite/Snap/Internal/Http/Parser/Tests.hs:249:12
suite/Snap/Internal/Http/Parser/Tests.hs:303:8:
Warning: This binding for `iters' shadows the existing binding
bound at suite/Snap/Internal/Http/Parser/Tests.hs:291:12
suite/Snap/Internal/Http/Parser/Tests.hs:307:8:
Warning: This binding for `iter' shadows the existing binding
bound at suite/Snap/Internal/Http/Parser/Tests.hs:289:12
[10 of 17] Compiling Snap.Internal.Http.Server (
../src/Snap/Internal/Http/Server.hs,
dist/build/testsuite/testsuite-tmp/Snap/Internal/Http/Server.o )
../src/Snap/Internal/Http/Server.hs:702:20:
Warning: This binding for `a' shadows the existing binding
bound at ../src/Snap/Internal/Http/Server.hs:608:23
[11 of 17] 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:209:12:
Warning: Defined but not used: `z'
[12 of 17] Compiling Snap.Http.Server ( ../src/Snap/Http/Server.hs,
dist/build/testsuite/testsuite-tmp/Snap/Http/Server.o )
[13 of 17] Compiling Test.Common.TestHandler (
common/Test/Common/TestHandler.hs,
dist/build/testsuite/testsuite-tmp/Test/Common/TestHandler.o )
common/Test/Common/TestHandler.hs:15:0:
Warning: The import of `Snap.Http.Server' is redundant
except perhaps to import instances from `Snap.Http.Server'
To import instances alone, use: import Snap.Http.Server()
common/Test/Common/TestHandler.hs:17:0:
Warning: The import of `Snap.Internal.Iteratee.Debug' is redundant
except perhaps to import instances from
`Snap.Internal.Iteratee.Debug'
To import instances alone, use: import
Snap.Internal.Iteratee.Debug()
[14 of 17] Compiling Test.Blackbox ( suite/Test/Blackbox.hs,
dist/build/testsuite/testsuite-tmp/Test/Blackbox.o )
[15 of 17] Compiling Data.Concurrent.HashMap (
../src/Data/Concurrent/HashMap.hs,
dist/build/testsuite/testsuite-tmp/Data/Concurrent/HashMap.o )
Loading package ghc-prim ... linking ... done.
Loading package integer-gmp ... linking ... done.
Loading package base ... linking ... done.
Loading package extensible-exceptions-0.1.1.1 ... linking ... done.
Loading package array-0.3.0.0 ... linking ... done.
Loading package containers-0.3.0.0 ... linking ... done.
Loading package filepath-1.1.0.3 ... linking ... done.
Loading package old-locale-1.0.0.2 ... linking ... done.
Loading package old-time-1.0.0.3 ... linking ... done.
Loading package unix-2.4.0.0 ... linking ... done.
Loading package directory-1.0.1.0 ... linking ... done.
Loading package pretty-1.0.1.1 ... linking ... done.
Loading package process-1.0.1.2 ... linking ... done.
Loading package Cabal-1.8.0.2 ... linking ... done.
Loading package bytestring-0.9.1.5 ... linking ... done.
Loading package ghc-binary-0.5.0.2 ... linking ... done.
Loading package bin-package-db-0.0.0.0 ... linking ... done.
Loading package hpc-0.5.0.4 ... linking ... done.
Loading package template-haskell ... linking ... done.
Loading package ghc-6.12.1 ... linking ... done.
Loading package syb-0.1.0.2 ... linking ... done.
Loading package base-3.0.3.2 ... linking ... done.
Loading package mtl-1.1.0.2 ... linking ... done.
Loading package time-1.1.4 ... linking ... done.
Loading package random-1.0.0.2 ... linking ... done.
Loading package QuickCheck-2.1.0.3 ... linking ... done.
Loading package ansi-terminal-0.5.2 ... linking ... done.
Loading package ansi-wl-pprint-0.5.1 ... linking ... done.
Loading package hostname-1.0 ... linking ... done.
Loading package regex-base-0.93.1 ... linking ... done.
Loading package regex-posix-0.94.4 ... linking ... done.
Loading package xml-1.3.5 ... linking ... done.
Loading package test-framework-0.3.1 ... linking ... done.
Loading package test-framework-quickcheck2-0.2.7 ... linking ... done.
Loading package HUnit-1.2.2.1 ... linking ... done.
Loading package test-framework-hunit-0.2.6 ... linking ... done.
Loading package haskell98 ... linking ... done.
[16 of 17] Compiling Data.Concurrent.HashMap.Tests (
suite/Data/Concurrent/HashMap/Tests.hs,
dist/build/testsuite/testsuite-tmp/Data/Concurrent/HashMap/Tests.o )
[17 of 17] Compiling Main ( suite/TestSuite.hs,
dist/build/testsuite/testsuite-tmp/Main.o )
Linking dist/build/testsuite/testsuite ...
Loading package ListLike-1.0.1 ... linking ... done.
Loading package transformers-0.2.1.0 ... linking ... done.
Loading package MonadCatchIO-transformers-0.2.2.0 ... linking ... done.
Loading package attoparsec-0.8.1.0 ... linking ... done.
Loading package bytestring-nums-0.3.1 ... linking ... done.
Loading package cereal-0.3.0.0 ... linking ... done.
Loading package directory-tree-0.1.1 ... linking ... done.
Loading package dlist-0.5 ... linking ... done.
Loading package iteratee-0.3.5 ... linking ... done.
Loading package monads-fd-0.1.0.1 ... linking ... done.
Loading package deepseq-1.1.0.0 ... linking ... done.
Loading package text-0.7.1.0 ... linking ... done.
Loading package unix-compat-0.1.2.1 ... linking ... done.
Loading package zlib-0.5.2.0 ... linking ... done.
Loading package snap-core-0.2.12 ... linking ... done.
Loading package parsec-3.1.0 ... linking ... done.
Loading package network-2.2.1.7 ... linking ... done.
Loading package network-bytestring-0.1.3 ... linking ... done.
Loading package murmur-hash-0.1 ... linking ... done.
Loading package primitive-0.3 ... linking ... done.
Loading package vector-0.6.0.1 ... linking ... done.
Loading package mwc-random-0.5.0.0 ... linking ... done.
Loading package parallel-2.2.0.1 ... linking ... done.
Loading package erf-1.0.0.0 ... linking ... done.
Loading package vector-algorithms-0.3.2 ... linking ... done.
Loading package statistics-0.5.1.0 ... linking ... done.
Loading package criterion-0.5.0.0 ... linking ... done.
Loading package binary-0.5.0.2 ... linking ... done.
Loading package bytestring-show-0.3.3 ... linking ... done.
Loading package attoparsec-iteratee-0.1.1 ... linking ... done.
Loading package PSQueue-1.1 ... linking ... done.
Loading package HTTP-4000.0.9 ... linking ... done.
Loading package ffi-1.0 ... linking ... done.
[1 of 8] Compiling Paths_snap_server ( common/Paths_snap_server.hs,
dist/build/pongserver/pongserver-tmp/Paths_snap_server.o )
[2 of 8] Compiling Snap.Internal.Http.Server.Date (
../src/Snap/Internal/Http/Server/Date.hs,
dist/build/pongserver/pongserver-tmp/Snap/Internal/Http/Server/Date.o )
[3 of 8] Compiling Snap.Internal.Http.Server.SimpleBackend (
../src/Snap/Internal/Http/Server/SimpleBackend.hs,
dist/build/pongserver/pongserver-tmp/Snap/Internal/Http/Server/SimpleBackend.o )
../src/Snap/Internal/Http/Server/SimpleBackend.hs:316:0:
Warning: Defined but not used: `cancelTimeout'
[4 of 8] Compiling Snap.Internal.Http.Parser (
../src/Snap/Internal/Http/Parser.hs,
dist/build/pongserver/pongserver-tmp/Snap/Internal/Http/Parser.o )
[5 of 8] Compiling System.FastLogger ( ../src/System/FastLogger.hs,
dist/build/pongserver/pongserver-tmp/System/FastLogger.o )
[6 of 8] Compiling Snap.Internal.Http.Server (
../src/Snap/Internal/Http/Server.hs,
dist/build/pongserver/pongserver-tmp/Snap/Internal/Http/Server.o )
../src/Snap/Internal/Http/Server.hs:702:20:
Warning: This binding for `a' shadows the existing binding
bound at ../src/Snap/Internal/Http/Server.hs:608:23
[7 of 8] Compiling Snap.Http.Server ( ../src/Snap/Http/Server.hs,
dist/build/pongserver/pongserver-tmp/Snap/Http/Server.o )
[8 of 8] Compiling Main ( pongserver/Main.hs,
dist/build/pongserver/pongserver-tmp/Main.o )
Linking dist/build/pongserver/pongserver ...
[ 1 of 10] Compiling Paths_snap_server ( common/Paths_snap_server.hs,
dist/build/testserver/testserver-tmp/Paths_snap_server.o )
[ 2 of 10] Compiling Snap.Internal.Http.Server.Date (
../src/Snap/Internal/Http/Server/Date.hs,
dist/build/testserver/testserver-tmp/Snap/Internal/Http/Server/Date.o )
[ 3 of 10] Compiling Snap.Internal.Http.Server.SimpleBackend (
../src/Snap/Internal/Http/Server/SimpleBackend.hs,
dist/build/testserver/testserver-tmp/Snap/Internal/Http/Server/SimpleBackend.o )
../src/Snap/Internal/Http/Server/SimpleBackend.hs:316:0:
Warning: Defined but not used: `cancelTimeout'
[ 4 of 10] Compiling Snap.Internal.Http.Parser (
../src/Snap/Internal/Http/Parser.hs,
dist/build/testserver/testserver-tmp/Snap/Internal/Http/Parser.o )
[ 5 of 10] Compiling System.FastLogger ( ../src/System/FastLogger.hs,
dist/build/testserver/testserver-tmp/System/FastLogger.o )
[ 6 of 10] Compiling Snap.Internal.Http.Server (
../src/Snap/Internal/Http/Server.hs,
dist/build/testserver/testserver-tmp/Snap/Internal/Http/Server.o )
../src/Snap/Internal/Http/Server.hs:702:20:
Warning: This binding for `a' shadows the existing binding
bound at ../src/Snap/Internal/Http/Server.hs:608:23
[ 7 of 10] Compiling Test.Common.Rot13 ( common/Test/Common/Rot13.hs,
dist/build/testserver/testserver-tmp/Test/Common/Rot13.o )
[ 8 of 10] Compiling Snap.Http.Server ( ../src/Snap/Http/Server.hs,
dist/build/testserver/testserver-tmp/Snap/Http/Server.o )
[ 9 of 10] Compiling Test.Common.TestHandler (
common/Test/Common/TestHandler.hs,
dist/build/testserver/testserver-tmp/Test/Common/TestHandler.o )
common/Test/Common/TestHandler.hs:15:0:
Warning: The import of `Snap.Http.Server' is redundant
except perhaps to import instances from `Snap.Http.Server'
To import instances alone, use: import Snap.Http.Server()
common/Test/Common/TestHandler.hs:17:0:
Warning: The import of `Snap.Internal.Iteratee.Debug' is redundant
except perhaps to import instances from
`Snap.Internal.Iteratee.Debug'
To import instances alone, use: import
Snap.Internal.Iteratee.Debug()
[10 of 10] Compiling Main ( testserver/Main.hs,
dist/build/testserver/testserver-tmp/Main.o )
Linking dist/build/testserver/testserver ...
[1 of 4] Compiling Snap.Internal.Http.Parser.Data (
benchmark/Snap/Internal/Http/Parser/Data.hs,
dist/build/benchmark/benchmark-tmp/Snap/Internal/Http/Parser/Data.o )
[2 of 4] Compiling Snap.Internal.Http.Parser (
../src/Snap/Internal/Http/Parser.hs,
dist/build/benchmark/benchmark-tmp/Snap/Internal/Http/Parser.o )
[3 of 4] Compiling Snap.Internal.Http.Parser.Benchmark (
benchmark/Snap/Internal/Http/Parser/Benchmark.hs,
dist/build/benchmark/benchmark-tmp/Snap/Internal/Http/Parser/Benchmark.o )
[4 of 4] 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.Concurrent.HashMap.Tests:
HashMap/fromList/toList: [OK, passed 1000 tests]
HashMap/lookup: [OK, passed 1000 tests]
HashMap/deletes: [OK, passed 1000 tests]
HashMap/update: [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]
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]
HttpRequest3': [OK]
HttpResponse1: [OK]
HttpResponse2: [OK]
HttpResponse3: [OK]
HttpResponse4: [OK]
http session: [OK]
connection: close: [OK]
Expect: 100-continue: [OK]
Short: [OK]
method parsing: [OK]
startup/shutdown: [OK]
transfer-encoding chunked: [OK]
sendFile: [OK]
Test.Blackbox:
blackbox/pong: [OK]
blackbox/echo: [OK, passed 1000 tests]
blackbox/rot13: [OK, passed 1000 tests]
blackbox/slowloris: [Failed]
Failed: didn't catch slow loris attack
Properties Test Cases Total
Passed 10 28 38
Failed 0 1 1
Total 10 29 39
[?25hPublishing Javadoc
Recording test results
[htmlpublisher] Archiving HTML reports...
[htmlpublisher] Archiving at PROJECT level
<http://buildbot.snapframework.com/job/snap-server-portable/ws/test/dist/hpc>
to /home/hudson/data/jobs/snap-server-portable/htmlreports/HTML_Report
ERROR: Specified HTML directory
'<http://buildbot.snapframework.com/job/snap-server-portable/ws/test/dist/hpc'>
does not exist.
_______________________________________________
Snap mailing list
[email protected]
http://mailman-mail5.webfaction.com/listinfo/snap