Skip Menu |

This queue is for tickets about the Math-BigInt CPAN distribution.

Report information
The Basics
Id: 32053
Status: resolved
Worked: 10 min
Priority: 0/
Queue: Math-BigInt

People
Owner: TELS [...] cpan.org
Requestors: alastair [...] alastair-munro.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 1.87
Fixed in: 1.88



Subject: V1.87 has test failures under Tru64 UNIX V5.1B
Date: Thu, 3 Jan 2008 00:44:04 +0000
To: bug-Math-BigInt [...] rt.cpan.org
From: Alastair Munro <alastair [...] alastair-munro.com>
Hi, # sizer -v HP Tru64 UNIX V5.1B (Rev. 2650); Wed May 9 13:17:21 BST 2007 # make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t t/_e_math...........ok t/bare_mbf..........ok t/bare_mbi..........NOK 1338/3257# Test 1338 got: "100000000000000-1900000000000000000" (../t/bigintpm.inc at line 206 fail #729) # Expected: "9999999999999999900000000000000000" # Test 1339 got: "1" (../t/bigintpm.inc at line 710) # Expected: "Illegal part '-1' at pos 2 (tested: =~ /^[\\+]?[0-9]+\\$/; (ARRAY(0x1403d0da0), -1)) after op 'bmul'" t/bare_mbi..........NOK 1339/3257# Test 1398 got: "3,9990000000000000000-1" (../t/bigintpm.inc at line 206 fail #786) # Expected: "3,999999999999999999999" t/bare_mbi..........NOK 1398/3257# Test 1399 got: "3,10000000000000000000000000-1" (../t/bigintpm.inc at line 206 fail #787) # Expected: "3,999999999999999999999999999" t/bare_mbi..........NOK 1399/3257# Test 1400 got: "4,10000000000000000000000000-1" (../t/bigintpm.inc at line 206 fail #788) # Expected: "4,1999999999999999999999999999" t/bare_mbi..........NOK 1400/3257# Test 1401 got: "9,10000000000000000000000000-1" (../t/bigintpm.inc at line 206 fail #789) # Expected: "9,999999999999999999999999999" t/bare_mbi..........NOK 3224/3257# Test 3224 got: "123456790000000000000000000000000-1987654321000000000" (../t/bigintpm.inc at line 598) # Expected: "12345678999999999999999999999999999987654321000000000" t/bare_mbi..........FAILED tests 1338-1339, 1398-1401, 3224 Failed 7/3257 tests, 99.79% okay t/bare_mif..........ok t/big_pi_e..........ok t/bigfltpm..........ok t/bigintc...........ok t/bigintpm..........NOK 1338/3257# Test 1338 got: "100000000000000-1900000000000000000" (bigintpm.inc at line 206 fail #729) # Expected: "9999999999999999900000000000000000" # Test 1339 got: "1" (bigintpm.inc at line 710) # Expected: "Illegal part '-1' at pos 2 (tested: =~ /^[\\+]?[0-9]+\\$/; (ARRAY(0x14039f3b0), -1)) after op 'bmul'" t/bigintpm..........NOK 1339/3257# Test 1398 got: "3,9990000000000000000-1" (bigintpm.inc at line 206 fail #786) # Expected: "3,999999999999999999999" t/bigintpm..........NOK 1398/3257# Test 1399 got: "3,10000000000000000000000000-1" (bigintpm.inc at line 206 fail #787) # Expected: "3,999999999999999999999999999" t/bigintpm..........NOK 1399/3257# Test 1400 got: "4,10000000000000000000000000-1" (bigintpm.inc at line 206 fail #788) # Expected: "4,1999999999999999999999999999" t/bigintpm..........NOK 1400/3257# Test 1401 got: "9,10000000000000000000000000-1" (bigintpm.inc at line 206 fail #789) # Expected: "9,999999999999999999999999999" t/bigintpm..........NOK 3224/3257# Test 3224 got: "123456790000000000000000000000000-1987654321000000000" (bigintpm.inc at line 598) # Expected: "12345678999999999999999999999999999987654321000000000" t/bigintpm..........FAILED tests 1338-1339, 1398-1401, 3224 Failed 7/3257 tests, 99.79% okay t/bigints...........ok t/biglog............ok t/bigroot...........ok t/calling...........ok t/config............ok t/const_mbf.........ok t/constant..........ok t/downgrade.........ok t/inf_nan...........ok t/isa...............ok t/lib_load..........ok t/mbf_ali...........ok t/mbi_ali...........ok t/mbi_rand..........ok 1/512 # Failed test 'ADB * B + 2 * AMB - AMB == A' t/mbi_rand..........NOK 49/512# at t/mbi_rand.t line 70. # got: '313187878787878787898989898989898989898990000000000000-5656565656565656565635353535353535353535353535' # expected: '31318787878787878789898989898989898989898999999999999995656565656565656565635353535353535353535353535' # Failed test 'ADB * B / B == ADB' # at t/mbi_rand.t line 73. t/mbi_rand..........NOK 170/512# got: '5454545454545454545454545454555440771349866969696969696938' # expected: '5454545454545454545454545454555440771349866969696969696939' # Failed test 'ADB * B / B == ADB' # at t/mbi_rand.t line 73. t/mbi_rand..........NOK 238/512# got: '61016949576271191525423618644128813559745763767796610059332264406780083' # expected: '61016949576271191525423618644128813559745763767796610059332264406780084' t/mbi_rand..........ok 299/512 # Failed test 'ADB * A/A == ADB' # at t/mbi_rand.t line 90. t/mbi_rand..........NOK 300/512# got: '133333333333333333333340000466798833333333460000000006667124798833333333459' # expected: '133333333333333333333340000466798833333333460000000006667124798833333333460' # Failed test 'ADB * A/A == ADB' # at t/mbi_rand.t line 90. t/mbi_rand..........NOK 364/512# got: '13984534910170570843756' # expected: '13984534910170570843757' # Failed test 'ADB * A/A == ADB' # at t/mbi_rand.t line 90. t/mbi_rand..........NOK 396/512# got: '679006790123457333333333333332450843026706316' # expected: '679006790123457333333333333332450843026706317' # Looks like you failed 6 tests of 512. t/mbi_rand..........dubious Test returned status 6 (wstat 1536, 0x600) DIED. FAILED tests 49, 170, 238, 300, 364, 396 Failed 6/512 tests, 98.83% okay t/mbimbf............ok t/nan_cmp...........ok t/new_overloaded....ok t/pod...............ok t/pod_cov...........ok 2/2 skipped: various reasons t/req_mbf0..........ok t/req_mbf1..........ok t/req_mbfa..........ok t/req_mbfi..........ok t/req_mbfn..........ok t/req_mbfw..........ok t/require...........ok t/sub_ali...........ok t/sub_mbf...........ok t/sub_mbi...........NOK 1338/3262# Test 1338 got: "100000000000000-1900000000000000000" (../t/bigintpm.inc at line 206 fail #729) # Expected: "9999999999999999900000000000000000" # Test 1339 got: "1" (../t/bigintpm.inc at line 710) # Expected: "Illegal part '-1' at pos 2 (tested: =~ /^[\\+]?[0-9]+\\$/; (ARRAY(0x140458770), -1)) after op 'bmul'" t/sub_mbi...........NOK 1339/3262# Test 1398 got: "3,9990000000000000000-1" (../t/bigintpm.inc at line 206 fail #786) # Expected: "3,999999999999999999999" t/sub_mbi...........NOK 1398/3262# Test 1399 got: "3,10000000000000000000000000-1" (../t/bigintpm.inc at line 206 fail #787) # Expected: "3,999999999999999999999999999" t/sub_mbi...........NOK 1399/3262# Test 1400 got: "4,10000000000000000000000000-1" (../t/bigintpm.inc at line 206 fail #788) # Expected: "4,1999999999999999999999999999" t/sub_mbi...........NOK 1400/3262# Test 1401 got: "9,10000000000000000000000000-1" (../t/bigintpm.inc at line 206 fail #789) # Expected: "9,999999999999999999999999999" t/sub_mbi...........NOK 3224/3262# Test 3224 got: "123456790000000000000000000000000-1987654321000000000" (../t/bigintpm.inc at line 598) # Expected: "12345678999999999999999999999999999987654321000000000" t/sub_mbi...........FAILED tests 1338-1339, 1398-1401, 3224 Failed 7/3262 tests, 99.79% okay t/sub_mif...........ok t/trap..............ok t/upgrade...........NOK 935/2114# Test 935 got: "100000000000000-1900000000000000000" (../t/upgrade.inc at line 205 fail #508) # Expected: "9999999999999999900000000000000000" t/upgrade...........FAILED test 935 Failed 1/2114 tests, 99.95% okay t/upgradef..........ok t/use...............ok t/use_lib1..........ok t/use_lib2..........ok t/use_lib3..........ok t/use_lib4..........ok t/use_mbfw..........ok t/with_sub..........ok Failed Test Stat Wstat Total Fail List of Failed ------------------------------------------------------------------------------- t/bare_mbi.t 3257 7 1338-1339 1398-1401 3224 t/bigintpm.t 3257 7 1338-1339 1398-1401 3224 t/mbi_rand.t 6 1536 512 6 49 170 238 300 364 396 t/sub_mbi.t 3262 7 1338-1339 1398-1401 3224 t/upgrade.t 2114 1 935 2 subtests skipped. Failed 5/48 test scripts. 28/26584 subtests failed. Files=48, Tests=26584, 47 wallclock secs (33.63 cusr + 4.62 csys = 38.25 CPU) Failed 5/48 test programs. 28/26584 subtests failed. *** Exit 255 Stop. However, V1.77 tests fine, but this isnt any good for Math-BigInt-GMP-1.24. V1.77 testing: # make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/_e_math......ok t/bare_mbf.....ok t/bare_mbi.....ok t/bare_mif.....ok t/bigfltpm.....ok t/bigintc......ok t/bigintpm.....ok t/bigints......ok t/biglog.......ok t/bigroot......ok t/calling......ok t/config.......ok t/const_mbf....ok t/constant.....ok t/downgrade....ok t/fallback.....ok t/inf_nan......ok t/isa..........ok t/lib_load.....ok t/mbf_ali......ok t/mbi_ali......ok t/mbi_rand.....ok t/mbimbf.......ok t/req_mbf0.....ok t/req_mbf1.....ok t/req_mbfa.....ok t/req_mbfi.....ok t/req_mbfn.....ok t/req_mbfw.....ok t/require......ok t/sub_ali......ok t/sub_mbf......ok t/sub_mbi......ok t/sub_mif......ok t/trap.........ok t/upgrade......ok t/upgradef.....ok t/use..........ok t/use_lib1.....ok t/use_lib2.....ok t/use_lib3.....ok t/use_lib4.....ok t/use_mbfw.....ok t/with_sub.....ok All tests successful. Files=44, Tests=24602, 32 wallclock secs (21.05 cusr + 3.82 csys = 24.87 CPU) V1.87 test fine under Redhat Linux V4 x86_64. :) Alastair
On Wed Jan 02 19:44:12 2008, alastair@alastair-munro.com wrote: Show quoted text
> Hi, >
Oh well :/ Sorry for the long delay, I will try to send you a link to v1.88 so you can test it.
On Fri Mar 28 17:57:47 2008, TELS wrote: Show quoted text
> On Wed Jan 02 19:44:12 2008, alastair@alastair-munro.com wrote:
> > Hi, > >
> > Oh well :/ > > Sorry for the long delay, I will try to send you a link to v1.88 so you > can test it.
v1.88 just hit CPAN, can you please download it and test and report back whether it solves the issue or not? Thank you in advance, Tels
Though there isn't specifically a HP Tru64 test in CPAN Testers, there's around 1100 PASSes on the latest version, so this shouldn't be a problem any more. Please close this ticket.
Confirmed (still) fixed with bleadperl and with 5.22.1-RC1 in Tru64 5.1B.