Bug#560643: libbsd-resource-perl: FTBFS: tests failed

gregor herrmann gregoa at debian.org
Sun Jan 24 17:14:08 UTC 2010


On Sat, 09 Jan 2010 20:30:38 +0100, Lucas Nussbaum wrote:

> > If it is possible, when you are dooing the next run of the archive
> > rebuild, could you sent this to the bugreport?
> Hi,
> here is the log (two build attempts, both failed).

Thanks alot!


And now for the interesting aspect: 

> t/getrusage.t ..... 
> 1..2
> # getrusage
> # ru = 1.356084 0.008 0 0 0 0 1001 0 0 0 0 0 0 0 0 71
> # times
> # tsu = 1.35, tss = 0
> # sleep(6)
> # real = 9
> # ruu = 1.356084, tsu = 1.35
> # rus = 0.008, tss = 0
> # ruc = 1.364084, tsc = 1.35
> # real = 9
> # far: a = 1.356084, b = 1.35, r = 0.2
> # far: abs(a/b-1) = 0.00450666666666666
> # far: a = 0.008, b = 0, r = 0.4
> # far: abs(a/b-1) = -
> ok 1
> # @ru = (2.708169 0.008 0 0 0 0 1056 0 0 0 0 0 0 0 1 152)
> # far: a = 2.708169, b = 2.708169, r = 0.2
> # far: abs(a/b-1) = 0
> # far: a = 0.008, b = 0.008, r = 0.4
> # far: abs(a/b-1) = 0
> ok 2
> ok

> t/times.t ......... 
> 1..2
> # CORE::times()          = 2.69 0.01 0 0
> # times                  = 2.692168 0.016001 0 0
> # BSD::Resource::times() = 2.692168 0.016001 0 0
> # far: a = 2.692168, b = 2.69, r = 0.1
> # far: abs(a/b-1) = 0.000805947955390351
> # far: a = 0.016001, b = 0.01, r = 0.5
> # far: abs(a/b-1) = 0.6001
> not ok 1
> # far: a = 2.692168, b = 2.692168, r = 0.1
> # far: abs(a/b-1) = 0
> # far: a = 0.016001, b = 0.016001, r = 0.1
> # far: abs(a/b-1) = 0
> # far: a = 0, b = 0, r = 0.1
> # far: abs(a/b-1) = -
> # far: a = 0, b = 0, r = 0.1
> # far: abs(a/b-1) = -
> ok 2
> Failed 1/2 subtests 
> 
> Test Summary Report
> -------------------
> t/times.t       (Wstat: 0 Tests: 2 Failed: 1)
>   Failed test:  1
> Files=8, Tests=41, 20 wallclock secs ( 0.04 usr  0.00 sys +  5.54 cusr  0.06 csys =  5.64 CPU)
> Result: FAIL

> t/getrusage.t ..... 
> 1..2
> # getrusage
> # ru = 3.336208 0.024001 0 0 0 0 1002 0 0 0 0 0 0 0 1 58
> # times
> # tsu = 3.33, tss = 0.02
> # sleep(6)
> # real = 9
> # ruu = 3.336208, tsu = 3.33
> # rus = 0.024001, tss = 0.02
> # ruc = 3.360209, tsc = 3.35
> # real = 9
> # far: a = 3.336208, b = 3.33, r = 0.2
> # far: abs(a/b-1) = 0.00186426426426434
> # far: a = 0.024001, b = 0.02, r = 0.4
> # far: abs(a/b-1) = 0.20005
> ok 1
> # @ru = (6.008375 0.028001 0 0 0 0 1057 0 0 0 0 0 0 0 2 99)
> # far: a = 6.008375, b = 6.008375, r = 0.2
> # far: abs(a/b-1) = 0
> # far: a = 0.028001, b = 0.028001, r = 0.4
> # far: abs(a/b-1) = 0
> ok 2
> ok

> t/times.t ......... 
> 1..2
> # CORE::times()          = 5.34 0.01 0 0
> # times                  = 5.344334 0.016001 0 0
> # BSD::Resource::times() = 5.344334 0.016001 0 0
> # far: a = 5.344334, b = 5.34, r = 0.1
> # far: abs(a/b-1) = 0.000811610486891379
> # far: a = 0.016001, b = 0.01, r = 0.5
> # far: abs(a/b-1) = 0.6001
> not ok 1
> # far: a = 5.344334, b = 5.344334, r = 0.1
> # far: abs(a/b-1) = 0
> # far: a = 0.016001, b = 0.016001, r = 0.1
> # far: abs(a/b-1) = 0
> # far: a = 0, b = 0, r = 0.1
> # far: abs(a/b-1) = -
> # far: a = 0, b = 0, r = 0.1
> # far: abs(a/b-1) = -
> ok 2
> Failed 1/2 subtests 
> 
> Test Summary Report
> -------------------
> t/times.t       (Wstat: 0 Tests: 2 Failed: 1)
>   Failed test:  1
> Files=8, Tests=41, 19 wallclock secs ( 0.03 usr  0.02 sys + 11.50 cusr  0.07 csys = 11.62 CPU)
> Result: FAIL

So this time t/getrusage.t passes twice, but now t/times.t fails
twice. *sigh*

I'm thinking more and more that these tests are broken by design, and
I'm inclined to skip them.

Cheers,
gregor
-- 
 .''`.   http://info.comodo.priv.at/ -- GPG Key IDs: 0x00F3CFE4, 0x8649AA06
 : :' :  Debian GNU/Linux user, admin, & developer - http://www.debian.org/
 `. `'   Member of VIBE!AT & SPI, fellow of Free Software Foundation Europe
   `-    NP: Bob Dylan: Visions of Johanna
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20100124/0485b8e2/attachment.pgp>


More information about the pkg-perl-maintainers mailing list