Skip Menu |

This queue is for tickets about the SOAP-Lite CPAN distribution.

Report information
The Basics
Id: 47233
Status: resolved
Priority: 0/
Queue: SOAP-Lite

People
Owner: Nobody in particular
Requestors: alois.wiedenhofer [...] culturall.com
Cc:
AdminCc:

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



Subject: make Test ends up with Error on t/SOAP/Transport/HTTP/CGI.t UTF8
Hello, make Test ends up with Error on t/SOAP/Transport/HTTP/CGI.t UTF8 (root@web1:NODB) $ cd SOAP-Lite-0.710.08-fNSgEp (root@web1:NODB) $ make test PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "- e" "test_harness(0, 'blib/lib', 'blib/arch')" t/099_pod_coverage.t t/010-serializer.t t/098_pod.t t/04-attach.t t/05-customxml.t t/012- cloneable.t t/08-schema.t t/06-modules.t t/015_UNIVERSAL_can.t t/01- core.t t/02-payload.t t/097_kwalitee.t t/07-xmlrpc_payload.t t/03- server.t t/096_characters.t t/013-array-deserialization.t t/014_UNIVERSAL_use.t t/XML/Parser/Lite.t t/XMLRPC/Lite.t t/IO/SessionSet.t t/IO/SessionData.t t/SOAP/Serializer.t t/SOAP/Data.t t/SOAP/Schema/WSDL.t t/SOAP/Transport/FTP.t t/SOAP/Transport/POP3.t t/SOAP/Transport/HTTP.t t/SOAP/Transport/IO.t t/SOAP/Transport/MAILTO.t t/SOAP/Transport/LOCAL.t t/SOAP/Transport/MQ.t t/SOAP/Transport/HTTP/CGI.t t/SOAP/Lite/Packager.t t/SOAP/Lite/Deserializer/XMLSchemaSOAP1_1.t t/SOAP/Lite/Deserializer/XMLSchema1999.t t/SOAP/Lite/Deserializer/XMLSchema2001.t t/SOAP/Lite/Deserializer/XMLSchemaSOAP1_2.t t/01-core.t .................................. ok t/010-serializer.t ........................... ok t/012-cloneable.t ............................ ok t/013-array-deserialization.t ................ ok t/014_UNIVERSAL_use.t ........................ ok t/015_UNIVERSAL_can.t ........................ ok t/02-payload.t ............................... ok t/03-server.t ................................ ok t/04-attach.t ................................ skipped: Could not find MIME::Parser - is MIME::Tools installed? Aborting. t/05-customxml.t ............................. ok t/06-modules.t ............................... ok t/07-xmlrpc_payload.t ........................ ok t/08-schema.t ................................ ok t/096_characters.t ........................... skipped: (no reason given) t/097_kwalitee.t ............................. skipped: (no reason given) t/098_pod.t .................................. skipped: (no reason given) t/099_pod_coverage.t ......................... skipped: (no reason given) t/IO/SessionData.t ........................... ok t/IO/SessionSet.t ............................ ok t/SOAP/Data.t ................................ ok t/SOAP/Lite/Deserializer/XMLSchema1999.t ..... ok t/SOAP/Lite/Deserializer/XMLSchema2001.t ..... ok t/SOAP/Lite/Deserializer/XMLSchemaSOAP1_1.t .. ok t/SOAP/Lite/Deserializer/XMLSchemaSOAP1_2.t .. ok t/SOAP/Lite/Packager.t ....................... ok t/SOAP/Schema/WSDL.t ......................... ok t/SOAP/Serializer.t .......................... 1/12 Use of uninitialized value $values[0] in join or string at /.cpan/build/SOAP- Lite-0.710.08-fNSgEp/blib/lib/SOAP/Lite.pm line 1376. Use of uninitialized value $values[0] in join or string at /.cpan/build/SOAP-Lite-0.710.08-fNSgEp/blib/lib/SOAP/Lite.pm line 1376. Use of uninitialized value $values[0] in join or string at /.cpan/build/SOAP-Lite-0.710.08-fNSgEp/blib/lib/SOAP/Lite.pm line 1376. Use of uninitialized value $values[0] in join or string at /.cpan/build/SOAP-Lite-0.710.08-fNSgEp/blib/lib/SOAP/Lite.pm line 1376. t/SOAP/Serializer.t .......................... ok t/SOAP/Transport/FTP.t ....................... 1/7 Use of uninitialized value in split at /.cpan/build/SOAP-Lite-0.710.08- fNSgEp/blib/lib/SOAP/Transport/FTP.pm line 55. substr outside of string at /.cpan/build/SOAP-Lite-0.710.08- fNSgEp/blib/lib/SOAP/Transport/FTP.pm line 56. Use of uninitialized value $_[1] in join or string at /usr/local/lib/perl5/5.10.0/i86pc-solaris/IO/Socket/INET.pm line 117. Use of uninitialized value $server in concatenation (.) or string at /.cpan/build/SOAP-Lite-0.710.08- fNSgEp/blib/lib/SOAP/Transport/FTP.pm line 60. t/SOAP/Transport/FTP.t ....................... ok t/SOAP/Transport/HTTP.t ...................... ok t/SOAP/Transport/HTTP/CGI.t .................. 1/? # Failed test 'return utf8 string' # at t/SOAP/Transport/HTTP/CGI.t line 57. # Failed test 'utf8 content: Ã�berall' # at t/SOAP/Transport/HTTP/CGI.t line 59. # got: 'Ã�berall' # expected: 'Überall' # Looks like you failed 2 tests of 2. t/SOAP/Transport/HTTP/CGI.t .................. Dubious, test returned 2 (wstat 512, 0x200) Failed 2/2 subtests t/SOAP/Transport/IO.t ........................ ok t/SOAP/Transport/LOCAL.t ..................... ok t/SOAP/Transport/MAILTO.t .................... skipped: Cannot test without Test::MockObject t/SOAP/Transport/MQ.t ........................ skipped: Cannot test without Test__MockObject t/SOAP/Transport/POP3.t ...................... ok t/XML/Parser/Lite.t .......................... 1/38 Use of uninitialized value in string eq at /.cpan/build/SOAP-Lite-0.710.08- fNSgEp/blib/lib/XML/Parser/Lite.pm line 185. t/XML/Parser/Lite.t .......................... ok t/XMLRPC/Lite.t .............................. ok Test Summary Report ------------------- t/SOAP/Transport/HTTP/CGI.t (Wstat: 512 Tests: 2 Failed: 2) Failed tests: 1-2 Non-zero exit status: 2 Files=37, Tests=874, 3 wallclock secs ( 0.20 usr 0.10 sys + 1.63 cusr 0.15 csys = 2.08 CPU) Result: FAIL Failed 1/37 test programs. 2/874 subtests failed. *** Error code 255 make: Fatal error: Command failed for target `test_dynamic' (root@web1:NODB) $ prove -vb t/SOAP/Transport/HTTP/CGI.t t/SOAP/Transport/HTTP/CGI.t .. not ok 1 - return utf8 string not ok 2 - utf8 content: Ã�berall # Failed test 'return utf8 string' # at t/SOAP/Transport/HTTP/CGI.t line 57. # Failed test 'utf8 content: Ã�berall' # at t/SOAP/Transport/HTTP/CGI.t line 59. # got: 'Ã�berall' # expected: 'Überall' 1..2 # Looks like you failed 2 tests of 2. Dubious, test returned 2 (wstat 512, 0x200) Failed 2/2 subtests Test Summary Report ------------------- t/SOAP/Transport/HTTP/CGI.t (Wstat: 512 Tests: 2 Failed: 2) Failed tests: 1-2 Non-zero exit status: 2 Files=1, Tests=2, 0 wallclock secs ( 0.02 usr 0.00 sys + 0.16 cusr 0.02 csys = 0.20 CPU) Result: FAIL (root@web1:NODB) $ pwd /.cpan/build/SOAP-Lite-0.710.08-fNSgEp (root@web1:NODB) $ Locales on machne are as follows, so UTF8 should work (root@web1:NODB) $ locale LANG=de_DE.UTF-8@euro LC_CTYPE=de_DE.UTF-8@euro LC_NUMERIC=de_DE.UTF-8@euro LC_TIME=de_DE.UTF-8@euro LC_COLLATE=de_DE.UTF-8@euro LC_MONETARY=de_DE.UTF-8@euro LC_MESSAGES=C LC_ALL= (root@web1:NODB) $ (root@web1:NODB) $ regards Alois Wiedenhofer alois.wiedenhofer@culturall.com
Hi, sorry for the long delay. What platform are you on? What perl version were you using? Martoin Am Mo 22. Jun 2009, 05:04:04, Alois schrieb: Show quoted text
> Hello, > > make Test ends up with Error on t/SOAP/Transport/HTTP/CGI.t UTF8 > > (root@web1:NODB) $ cd SOAP-Lite-0.710.08-fNSgEp > (root@web1:NODB) $ make test > PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "- > e" "test_harness(0, 'blib/lib', 'blib/arch')" t/099_pod_coverage.t > t/010-serializer.t t/098_pod.t t/04-attach.t t/05-customxml.t t/012- > cloneable.t t/08-schema.t t/06-modules.t t/015_UNIVERSAL_can.t t/01- > core.t t/02-payload.t t/097_kwalitee.t t/07-xmlrpc_payload.t t/03- > server.t t/096_characters.t t/013-array-deserialization.t > t/014_UNIVERSAL_use.t t/XML/Parser/Lite.t t/XMLRPC/Lite.t > t/IO/SessionSet.t t/IO/SessionData.t t/SOAP/Serializer.t t/SOAP/Data.t > t/SOAP/Schema/WSDL.t t/SOAP/Transport/FTP.t t/SOAP/Transport/POP3.t > t/SOAP/Transport/HTTP.t t/SOAP/Transport/IO.t t/SOAP/Transport/MAILTO.t > t/SOAP/Transport/LOCAL.t t/SOAP/Transport/MQ.t > t/SOAP/Transport/HTTP/CGI.t t/SOAP/Lite/Packager.t > t/SOAP/Lite/Deserializer/XMLSchemaSOAP1_1.t > t/SOAP/Lite/Deserializer/XMLSchema1999.t > t/SOAP/Lite/Deserializer/XMLSchema2001.t > t/SOAP/Lite/Deserializer/XMLSchemaSOAP1_2.t > t/01-core.t .................................. ok > t/010-serializer.t ........................... ok > t/012-cloneable.t ............................ ok > t/013-array-deserialization.t ................ ok > t/014_UNIVERSAL_use.t ........................ ok > t/015_UNIVERSAL_can.t ........................ ok > t/02-payload.t ............................... ok > t/03-server.t ................................ ok > t/04-attach.t ................................ skipped: Could not find > MIME::Parser - is MIME::Tools installed? Aborting. > t/05-customxml.t ............................. ok > t/06-modules.t ............................... ok > t/07-xmlrpc_payload.t ........................ ok > t/08-schema.t ................................ ok > t/096_characters.t ........................... skipped: (no reason > given) > t/097_kwalitee.t ............................. skipped: (no reason > given) > t/098_pod.t .................................. skipped: (no reason > given) > t/099_pod_coverage.t ......................... skipped: (no reason > given) > t/IO/SessionData.t ........................... ok > t/IO/SessionSet.t ............................ ok > t/SOAP/Data.t ................................ ok > t/SOAP/Lite/Deserializer/XMLSchema1999.t ..... ok > t/SOAP/Lite/Deserializer/XMLSchema2001.t ..... ok > t/SOAP/Lite/Deserializer/XMLSchemaSOAP1_1.t .. ok > t/SOAP/Lite/Deserializer/XMLSchemaSOAP1_2.t .. ok > t/SOAP/Lite/Packager.t ....................... ok > t/SOAP/Schema/WSDL.t ......................... ok > t/SOAP/Serializer.t .......................... 1/12 Use of > uninitialized value $values[0] in join or string at /.cpan/build/SOAP- > Lite-0.710.08-fNSgEp/blib/lib/SOAP/Lite.pm line 1376. > Use of uninitialized value $values[0] in join or string > at /.cpan/build/SOAP-Lite-0.710.08-fNSgEp/blib/lib/SOAP/Lite.pm line > 1376. > Use of uninitialized value $values[0] in join or string > at /.cpan/build/SOAP-Lite-0.710.08-fNSgEp/blib/lib/SOAP/Lite.pm line > 1376. > Use of uninitialized value $values[0] in join or string > at /.cpan/build/SOAP-Lite-0.710.08-fNSgEp/blib/lib/SOAP/Lite.pm line > 1376. > t/SOAP/Serializer.t .......................... ok > t/SOAP/Transport/FTP.t ....................... 1/7 Use of uninitialized > value in split at /.cpan/build/SOAP-Lite-0.710.08- > fNSgEp/blib/lib/SOAP/Transport/FTP.pm line 55. > substr outside of string at /.cpan/build/SOAP-Lite-0.710.08- > fNSgEp/blib/lib/SOAP/Transport/FTP.pm line 56. > Use of uninitialized value $_[1] in join or string > at /usr/local/lib/perl5/5.10.0/i86pc-solaris/IO/Socket/INET.pm line 117. > Use of uninitialized value $server in concatenation (.) or string > at /.cpan/build/SOAP-Lite-0.710.08- > fNSgEp/blib/lib/SOAP/Transport/FTP.pm line 60. > t/SOAP/Transport/FTP.t ....................... ok > t/SOAP/Transport/HTTP.t ...................... ok > t/SOAP/Transport/HTTP/CGI.t .................. 1/? > # Failed test 'return utf8 string' > # at t/SOAP/Transport/HTTP/CGI.t line 57. > > # Failed test 'utf8 content: Ã�berall' > # at t/SOAP/Transport/HTTP/CGI.t line 59. > # got: 'Ã�berall' > # expected: 'Überall' > # Looks like you failed 2 tests of 2. > t/SOAP/Transport/HTTP/CGI.t .................. Dubious, test returned 2 > (wstat 512, 0x200) > Failed 2/2 subtests > t/SOAP/Transport/IO.t ........................ ok > t/SOAP/Transport/LOCAL.t ..................... ok > t/SOAP/Transport/MAILTO.t .................... skipped: Cannot test > without Test::MockObject > t/SOAP/Transport/MQ.t ........................ skipped: Cannot test > without Test__MockObject > t/SOAP/Transport/POP3.t ...................... ok > t/XML/Parser/Lite.t .......................... 1/38 Use of > uninitialized value in string eq at /.cpan/build/SOAP-Lite-0.710.08- > fNSgEp/blib/lib/XML/Parser/Lite.pm line 185. > t/XML/Parser/Lite.t .......................... ok > t/XMLRPC/Lite.t .............................. ok > > Test Summary Report > ------------------- > t/SOAP/Transport/HTTP/CGI.t (Wstat: 512 Tests: 2 Failed: > 2) > Failed tests: 1-2 > Non-zero exit status: 2 > Files=37, Tests=874, 3 wallclock secs ( 0.20 usr 0.10 sys + 1.63 > cusr 0.15 csys = 2.08 CPU) > Result: FAIL > Failed 1/37 test programs. 2/874 subtests failed. > *** Error code 255 > make: Fatal error: Command failed for target `test_dynamic' > (root@web1:NODB) $ prove -vb t/SOAP/Transport/HTTP/CGI.t > t/SOAP/Transport/HTTP/CGI.t .. > not ok 1 - return utf8 string > not ok 2 - utf8 content: Ã�berall > > # Failed test 'return utf8 string' > # at t/SOAP/Transport/HTTP/CGI.t line 57. > > # Failed test 'utf8 content: Ã�berall' > # at t/SOAP/Transport/HTTP/CGI.t line 59. > # got: 'Ã�berall' > # expected: 'Überall' > 1..2 > # Looks like you failed 2 tests of 2. > Dubious, test returned 2 (wstat 512, 0x200) > Failed 2/2 subtests > > Test Summary Report > ------------------- > t/SOAP/Transport/HTTP/CGI.t (Wstat: 512 Tests: 2 Failed: 2) > Failed tests: 1-2 > Non-zero exit status: 2 > Files=1, Tests=2, 0 wallclock secs ( 0.02 usr 0.00 sys + 0.16 cusr > 0.02 csys = 0.20 CPU) > Result: FAIL > (root@web1:NODB) $ pwd > /.cpan/build/SOAP-Lite-0.710.08-fNSgEp > (root@web1:NODB) $ > > Locales on machne are as follows, so UTF8 should work > (root@web1:NODB) $ locale > LANG=de_DE.UTF-8@euro > LC_CTYPE=de_DE.UTF-8@euro > LC_NUMERIC=de_DE.UTF-8@euro > LC_TIME=de_DE.UTF-8@euro > LC_COLLATE=de_DE.UTF-8@euro > LC_MONETARY=de_DE.UTF-8@euro > LC_MESSAGES=C > LC_ALL= > (root@web1:NODB) $ > (root@web1:NODB) $ > > regards > Alois Wiedenhofer > alois.wiedenhofer@culturall.com
Should be fixed in 0.712