Test results on svn trunk - FYI

Brad Fitzpatrick brad at danga.com
Sat Aug 26 18:38:55 UTC 2006


Mike,

On Fri, 25 Aug 2006, Mike Whitaker wrote:

> A couple that fail, or grumble, at least
>
> new Debian testing install
>
> > t/35-reproxy.............ok 17/0        (in cleanup) Can't coerce
> > array into hash at /root/Perlbal-1.48/blib/lib/Perlbal/Cache.pm
> > line 58, <GEN2> line 1 during global destruction.
>
> looks like set_maxsize is getting passed an array ref via DESTROY? odd

$ svn info | grep ^Rev
Revision: 548

$ perl -Ilib t/35-reproxy.t
ok 1 - web servers started
beginning run
ok 2 - perlbal started
ok 3 - status response ok
ok 4 - file good via disk
ok 5 - file good via network
ok 6 - reproxy file
ok 7 - reproxy file
ok 8 - 2 on same conn
ok 9 - reproxy URL
ok 10 - reproxy URL
ok 11 - 4 on same conn
ok 12 - Prior to first hit, counter should be zero.
ok 13 - reproxy with cache: One
ok 14 - First hit to populate the cache.
ok 15 - reproxy with cache: Two
ok 16 - Second hit should be cached.
ok 17 - Prior to third hit, counter should still be 1.
ok 18 - reproxy with cache: Three
ok 19 - Third hit isn't cached, now 2.
ok 20 - reproxy with cache: Four
ok 21 - Forth hit should be cached again, still 2.
ok 22 - status ok
ok 23 - status ok
ok 24 - reproxy file
ok 25 - reproxy URL
ok 26 - status ok
ok 27 - reproxy URL
ok 28 - reproxy URL
ok 29 - reproxy file
ok 30 - reproxy file
ok 31 - reproxy URL
ok 32 - reproxy file
ok 33 - status ok
ok 34 - AIO mode none: 9 transitions
ok 35 - status ok
ok 36 - status ok
ok 37 - reproxy file
ok 38 - reproxy URL
ok 39 - status ok
ok 40 - reproxy URL
ok 41 - reproxy URL
ok 42 - reproxy file
ok 43 - reproxy file
ok 44 - reproxy URL
ok 45 - reproxy file
ok 46 - status ok
ok 47 - AIO mode linux: 9 transitions
ok 48 - status ok
ok 49 - status ok
ok 50 - reproxy file
ok 51 - reproxy URL
ok 52 - status ok
ok 53 - reproxy URL
ok 54 - reproxy URL
ok 55 - reproxy file
ok 56 - reproxy file
ok 57 - reproxy URL
ok 58 - reproxy file
ok 59 - status ok
ok 60 - AIO mode ioaio: 9 transitions
ok 61 - reproxy URL w/ dead one first
1..61

No errors.  What's it say for you?

> > t/40-ranges..............ok
> >         24/47 skipped: various reasons
>
> good ones, I assume? :)

You don't have certain optional modules installed.  We work with IO::AIO
and Linux::AIO, and you need either or neither.  We test both:

$ perl -Ilib t/40-ranges.t
1..47
beginning run
ok 1 - perlbal started
ok 2 - backend port added
ok 3 - status response ok
ok 4 - file good via disk
ok 5 - file good via network
ok 6 - http/none: range bytes=0-6
ok 7 - is partial
ok 8 - http/none: range bytes=31-
ok 9 - is partial
ok 10 - http/none: can't satisify
ok 11 - http/none: can't satisify
ok 12 - http/linux: range bytes=0-6
ok 13 - is partial
ok 14 - http/linux: range bytes=31-
ok 15 - is partial
ok 16 - http/linux: can't satisify
ok 17 - http/linux: can't satisify
ok 18 - http/ioaio: range bytes=0-6
ok 19 - is partial
ok 20 - http/ioaio: range bytes=31-
ok 21 - is partial
ok 22 - http/ioaio: can't satisify
ok 23 - http/ioaio: can't satisify
ok 24 - rp_file/none: range bytes=0-6
ok 25 - is partial
ok 26 - rp_file/none: range bytes=31-
ok 27 - is partial
ok 28 - rp_file/none: can't satisify
ok 29 - rp_file/none: can't satisify
ok 30 - rp_file/linux: range bytes=0-6
ok 31 - is partial
ok 32 - rp_file/linux: range bytes=31-
ok 33 - is partial
ok 34 - rp_file/linux: can't satisify
ok 35 - rp_file/linux: can't satisify
ok 36 - rp_file/ioaio: range bytes=0-6
ok 37 - is partial
ok 38 - rp_file/ioaio: range bytes=31-
ok 39 - is partial
ok 40 - rp_file/ioaio: can't satisify
ok 41 - rp_file/ioaio: can't satisify
ok 42 - rp_url/-: range bytes=0-6
ok 43 - is partial
ok 44 - rp_url/-: range bytes=31-
ok 45 - is partial
ok 46 - rp_url/-: can't satisify
ok 47 - rp_url/-: can't satisify




More information about the perlbal mailing list