Skip Menu |

This queue is for tickets about the Glib CPAN distribution.

Report information
The Basics
Id: 28377
Status: resolved
Priority: 0/
Queue: Glib

People
Owner: Nobody in particular
Requestors: stro [...] cpan.org
Cc:
AdminCc:

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



Subject: Problem with Win32 tests
Date: Thu, 19 Jul 2007 12:01:30 +0300
To: bug-Glib [...] rt.cpan.org
From: Serguei Trouchelle <stro [...] railways.dp.ua>
There are some failing tests and hanging timeout test when compiling under MSWin32 (Windows 2003, Visual Studio 2003, Activestate Perl 5.8.8 build 820, Glib version 2.12.12) Test 9.t hangs after $loop->run; on line 107 -- at least it runs more then 3 hours, so I suggest it just hangs. When commenting line 107 out, there's one error, "not ok 16 - 1 sec alarm handler fires before 2 sec timeout" Test 16 runs because line 115 talks about 'Win32', while it should be 'MSWin32'. When changed to 'MSWin32', there's "not ok 22", probably because of commenting $loop->run earlier. Output from "nmake test" without t/9.t is attached. Unicode string from t/filename.t line 31 is something like "Invalid node name" in Ukrainian (taken from locale, I believe). -- Serguei Trouchelle
Microsoft (R) Program Maintenance Utility Version 7.10.3077 Copyright (C) Microsoft Corporation. All rights reserved. C:\bin\dev\perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib\lib', 'blib\arch')" t/*.t t/1........................ok 1/23 t/1........................NOK 15/23# Failed test 'before any calls to anything' # at t/1.t line 47. # got: 'perl.exe' # expected: undef # Looks like you failed 1 test of 23. t/1........................dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 15 Failed 1/23 tests, 95.65% okay t/2........................ok t/3........................ok t/4........................ok t/5........................ok t/6........................ok t/64bit....................NOK 2/12 # Failed test at t/64bit.t line 25. # got: '1' # expected: '-9223372036854775807' # Failed test at t/64bit.t line 26. # got: '-1' # expected: '9223372036854775807' t/64bit....................NOK 7/12# Failed test at t/64bit.t line 35. # got: '4294967295' # expected: '18446744073709551615' t/64bit....................NOK 9/12 # Failed test at t/64bit.t line 46. # got: '1' # expected: '-9223372036854775807' t/64bit....................NOK 10/12 # Failed test at t/64bit.t line 48. # got: '-1' # expected: '9223372036854775807' t/64bit....................NOK 12/12# Failed test at t/64bit.t line 53. # got: '4294967295' # expected: '18446744073709551615' # Looks like you failed 6 tests of 12. t/64bit....................dubious Test returned status 6 (wstat 1536, 0x600) DIED. FAILED tests 2-3, 7, 9-10, 12 Failed 6/12 tests, 50.00% okay t/7........................# Looks like you failed 6 tests of 12. 02:01 t/64bit....................dubious Test returned status 6 (wstat 1536, 0x600) DIED. FAILED tests 2-3, 7, 9-10, 12 Failed 6/12 tests, 50.00% okay t/7........................ok t/8........................ok t/a........................ok t/b........................ok t/c........................ok t/d........................ok t/e........................ok t/f........................ok t/filename.................NOK 7/21 # Failed test at t/filename.t line 29. # got: 'file:///C:/prj/CPAN/builds/Glib-1.144/test' # expected: 'file://localhostC:/prj/CPAN/builds/Glib-1.144/test' t/filename.................NOK 8/21 # Failed test at t/filename.t line 30. # got: 'file:///C:/prj/CPAN/builds/Glib-1.144/test' # expected: 'file://localhostC:/prj/CPAN/builds/Glib-1.144/test' t/filename.................NOK 9/21 # Failed test at t/filename.t line 31. # got: 'file:///C:/prj/CPAN/builds/Glib-1.144/test' # expected: 'file://localhostC:/prj/CPAN/builds/Glib-1.144/test' Неправильна назва вузла в URI "file://localhostC:/prj/CPAN/builds/Glib-1.144/test" at t/filename.t line 33 . # Looks like you planned 21 tests but only ran 9. # Looks like you failed 3 tests of 9 run. # Looks like your test died just after 9. t/filename.................dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 7-21 Failed 15/21 tests, 28.57% okay t/g........................ok t/h........................ok t/signal_emission_hooks....ok t/signal_query.............ok Failed Test Stat Wstat Total Fail List of Failed ------------------------------------------------------------------------------- t/1.t 1 256 23 1 15 t/64bit.t 6 1536 12 6 2-3 7 9-10 12 t/filename.t 255 65280 21 27 7-21 Failed 3/20 test scripts. 22/692 subtests failed. Files=20, Tests=692, 17 wallclock secs ( 0.00 cusr + 0.00 csys = 0.00 CPU) Failed 3/20 test programs. 22/692 subtests failed. NMAKE : fatal error U1077: 'C:\bin\dev\perl\bin\perl.exe' : return code '0xff' Stop.
CC: undisclosed-recipients: ;
Subject: Re: [rt.cpan.org #28377] Problem with Win32 tests
Date: Fri, 20 Jul 2007 03:04:21 +0200
To: Serguei Trouchelle via RT <bug-Glib [...] rt.cpan.org>
From: Marc Lehmann <schmorp [...] schmorp.de>
On Thu, Jul 19, 2007 at 05:02:32AM -0400, Serguei Trouchelle via RT <bug-Glib@rt.cpan.org> wrote: Show quoted text
> There are some failing tests and hanging timeout test when compiling > under MSWin32 (Windows 2003, Visual Studio 2003, Activestate Perl 5.8.8 > build 820, Glib version 2.12.12)
activestate perl 5.8.8 is, last I looked, binary incompatible with visual studio 2003. you should check on activestates website, but you likely need vc6 (from 1998 or so). this might at least explain i/o-related problems, and quite possibly the 64 bit tests. but again, check with activestate. -- The choice of a -----==- _GNU_ ----==-- _ generation Marc Lehmann ---==---(_)__ __ ____ __ pcg@goof.com --==---/ / _ \/ // /\ \/ / http://schmorp.de/ -=====/_/_//_/\_,_/ /_/\_\ XX11-RIPE
Subject: Re: [rt.cpan.org #28377] Problem with Win32 tests
Date: Fri, 20 Jul 2007 20:18:21 +0300
To: bug-Glib [...] rt.cpan.org
From: Serguei Trouchelle <stro [...] railways.dp.ua>
Marc Lehmann via RT wrote: Show quoted text
> activestate perl 5.8.8 is, last I looked, binary incompatible with > visual > studio 2003. you should check on activestates website, but you likely > need > vc6 (from 1998 or so).
No, it should be binary-compatible, at least, a lot of modules compiled with MSVC2003 work fine with Activestate. Nevertheless, I've compiled Perl 5.8.8 with MSVC2003 and tried to test Glib on it, it has similar errors too (attached). Show quoted text
> this might at least explain i/o-related problems, and quite possibly > the > 64 bit tests. > > but again, check with activestate.
-- Serguei Trouchelle
Microsoft (R) Program Maintenance Utility Version 7.10.3077 Copyright (C) Microsoft Corporation. All rights reserved. C:\prj\perl\AP820_source\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib\lib', 'blib\arch')" t/*.t t/1........................ok 1/23 t/1........................NOK 15# Failed test 'before any calls to anything' # in t/1.t at line 47. # got: 'perl.exe' # expected: undef # Looks like you failed 1 test of 23. t/1........................dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 15 Failed 1/23 tests, 95.65% okay t/2........................ok t/3........................ok t/4........................ok t/5........................ok t/6........................ok t/64bit....................NOK 2 # Failed test in t/64bit.t at line 25. # got: '1' # expected: '-9223372036854775807' # Failed test in t/64bit.t at line 26. t/64bit....................NOK 3# got: '-1' # expected: '9223372036854775807' t/64bit....................NOK 7 # Failed test in t/64bit.t at line 35. # got: '4294967295' # expected: '18446744073709551615' # Failed test in t/64bit.t at line 46. # got: '1' t/64bit....................NOK 9# expected: '-9223372036854775807' t/64bit....................NOK 10 # Failed test in t/64bit.t at line 48. # got: '-1' # expected: '9223372036854775807' t/64bit....................NOK 12 # Failed test in t/64bit.t at line 53. # got: '4294967295' # expected: '18446744073709551615' # Looks like you failed 6 tests of 12. t/64bit....................dubious Test returned status 6 (wstat 1536, 0x600) DIED. FAILED tests 2-3, 7, 9-10, 12 Failed 6/12 tests, 50.00% okay t/7........................ok t/8........................ok t/a........................ok t/b........................ok t/c........................ok t/d........................ok t/e........................ok t/f........................ok t/filename.................NOK 7 # Failed test in t/filename.t at line 29. # got: 'file:///C:/prj/CPAN/builds/Glib-1.144/test' # expected: 'file://localhostC:/prj/CPAN/builds/Glib-1.144/test' t/filename.................NOK 8 # Failed test in t/filename.t at line 30. # got: 'file:///C:/prj/CPAN/builds/Glib-1.144/test' # expected: 'file://localhostC:/prj/CPAN/builds/Glib-1.144/test' t/filename.................NOK 9 # Failed test in t/filename.t at line 31. # got: 'file:///C:/prj/CPAN/builds/Glib-1.144/test' # expected: 'file://localhostC:/prj/CPAN/builds/Glib-1.144/test' ¦Ý¦¦¦¬TÀ¦-¦-¦¬¦¬Ț-¦- ¦-¦-¦¬¦-¦- ¦-T欦¬¦- ¦- URI "file://localhostC:/prj/CPAN/builds/Glib-1.144/test" at t/filename.t line 33 . # Looks like you planned 21 tests but only ran 9. # Looks like you failed 3 tests of 9 run. # Looks like your test died just after 9. t/filename.................dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 7-21 Failed 15/21 tests, 28.57% okay t/g........................ok t/h........................ok t/signal_emission_hooks....ok t/signal_query.............ok Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/1.t 1 256 23 1 4.35% 15 t/64bit.t 6 1536 12 6 50.00% 2-3 7 9-10 12 t/filename.t 255 65280 21 27 128.57% 7-21 Failed 3/20 test scripts, 85.00% okay. 22/692 subtests failed, 96.82% okay. NMAKE : fatal error U1077: 'C:\prj\perl\AP820_source\perl.exe' : return code '0xff' Stop.
Subject: Re: [rt.cpan.org #28377] Problem with Win32 tests
Date: Sun, 22 Jul 2007 14:11:21 +0200
To: bug-Glib [...] rt.cpan.org
From: Torsten Schoenfeld <kaffeetisch [...] gmx.de>
On Thu, 2007-07-19 at 05:02 -0400, Serguei Trouchelle via RT wrote: Show quoted text
> There are some failing tests and hanging timeout test when compiling > under MSWin32 (Windows 2003, Visual Studio 2003, Activestate Perl 5.8.8 > build 820, Glib version 2.12.12)
Can you try running the tests again with the attached patch applied? Show quoted text
> Test 9.t hangs after $loop->run; on line 107 -- at least it runs more > then 3 hours, so I suggest it just hangs.
Looks like the exception handler isn't called. Can you check if the callback installed on line 106 in 9.t is entered? Show quoted text
> t/64bit.................... > [...]
Hmm, the 64 bit converters aren't working for you, apparently. Can you take a look at GType.xs starting from line ~678 and see if you can fix SvGInt64, newSVGInt64 and friends and especially PORTABLE_STRTOLL and PORTABLE_STRTOULL? -- Bye, -Torsten

Message body is not shown because sender requested not to inline it.

I think these failures should be fixed in recent versions of Glib. Please re-open if you still see some.