{"action":"created","issue":{"url":"https://api.github.com/repos/tokuhirom/Test-TCP/issues/37","labels_url":"https://api.github.com/repos/tokuhirom/Test-TCP/issues/37/labels{/name}","comments_url":"https://api.github.com/repos/tokuhirom/Test-TCP/issues/37/comments","events_url":"https://api.github.com/repos/tokuhirom/Test-TCP/issues/37/events","html_url":"https://github.com/tokuhirom/Test-TCP/issues/37","id":68995445,"number":37,"title":"Tests fail in Strawberry Perl 5.20.2 on Windows 7","user":{"login":"maxwellhaydn","id":142725,"avatar_url":"https://avatars.githubusercontent.com/u/142725?v=3","gravatar_id":"","url":"https://api.github.com/users/maxwellhaydn","html_url":"https://github.com/maxwellhaydn","followers_url":"https://api.github.com/users/maxwellhaydn/followers","following_url":"https://api.github.com/users/maxwellhaydn/following{/other_user}","gists_url":"https://api.github.com/users/maxwellhaydn/gists{/gist_id}","starred_url":"https://api.github.com/users/maxwellhaydn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxwellhaydn/subscriptions","organizations_url":"https://api.github.com/users/maxwellhaydn/orgs","repos_url":"https://api.github.com/users/maxwellhaydn/repos","events_url":"https://api.github.com/users/maxwellhaydn/events{/privacy}","received_events_url":"https://api.github.com/users/maxwellhaydn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-16T19:39:23Z","updated_at":"2015-05-26T09:46:06Z","closed_at":null,"body":"Tests fail in 64-bit Strawberry Perl 5.20.2 on Windows 7 Professional. Here is the build log generated by `cpanm --test-only Test::TCP`, run as administrator:\r\n\r\n```\r\ncpanm (App::cpanminus) 1.7027 on perl 5.020002 built for MSWin32-x64-multi-thread\r\nWork directory is C:\\Users\\cgdadmin/.cpanm/work/1429212415.6136\r\nYou have make C:\\Strawberry\\c\\bin\\dmake.exe\r\nYou have LWP 6.13\r\nFalling back to Archive::Tar 2.04\r\nSearching Test::TCP on cpanmetadb ...\r\n--> Working on Test::TCP\r\nFetching http://www.cpan.org/authors/id/K/KA/KAZUHO/Test-TCP-2.11.tar.gz\r\n-> OK\r\nUnpacking Test-TCP-2.11.tar.gz\r\nEntering Test-TCP-2.11\r\nChecking configure dependencies from META.json\r\nChecking if you have ExtUtils::MakeMaker 6.64 ... Yes (7.04)\r\nConfiguring Test-TCP-2.11\r\nRunning Makefile.PL\r\ncp META.json MYMETA.json\r\ncp META.yml MYMETA.yml\r\nChecking if your kit is complete...\r\nLooks good\r\nGenerating a dmake-style Makefile\r\nWriting Makefile for Test::TCP\r\n-> OK\r\nChecking dependencies from MYMETA.json ...\r\nChecking if you have Time::HiRes 0 ... Yes (1.9726)\r\nChecking if you have Socket 0 ... Yes (2.018)\r\nChecking if you have Test::More 0.98 ... Yes (1.001014)\r\nChecking if you have IO::Socket::INET 0 ... Yes (1.35)\r\nChecking if you have File::Temp 0 ... Yes (0.2304)\r\nChecking if you have Test::SharedFork 0.29 ... Yes (0.29)\r\nChecking if you have IO::Socket::IP 0 ... Yes (0.36)\r\nBuilding and testing Test-TCP-2.11\r\ncp lib/Net/EmptyPort.pm blib\\lib\\Net\\EmptyPort.pm\r\ncp lib/Test/TCP/CheckPort.pm blib\\lib\\Test\\TCP\\CheckPort.pm\r\ncp lib/Test/TCP.pm blib\\lib\\Test\\TCP.pm\r\n\"C:\\Strawberry\\perl\\bin\\perl.exe\" \"-MExtUtils::Command::MM\" \"-MTest::Harness\" \"-e\" \"undef *Test::Harness::Switches; test_harness(0, 'blib\\lib', 'blib\\arch')\" t/*.t\r\n# Test::More: 1.001014\r\nt/00_compile.t ................. ok\r\ncannot open port: ::1:51112 at C:\\Users\\cgdadmin\\.cpanm\\work\\1429212415.6136\\Test-TCP-2.11\\blib\\lib/Test/TCP.pm line 54.\r\n    # Child (v6) exited without calling finalize()\r\n\r\n#   Failed test 'v6'\r\n#   at C:/Strawberry/perl/lib/Test/Builder.pm line 279.\r\n# Tests were run but no plan was declared and done_testing() was not seen.\r\n# Looks like your test exited with 255 just after 2.\r\nt/01_simple.t .................. \r\nDubious, test returned 255 (wstat 65280, 0xff00)\r\nFailed 1/2 subtests \r\nt/02_abrt.t .................... skipped: win32 doesn't support embedded function named dump()\r\nt/03_return_when_sigterm.t ..... ok\r\nt/04_die.t ..................... ok\r\nt/05_sigint.t .................. skipped: this test requires SIGUSR1\r\nt/06_nest.t .................... ok\r\nt/07_optional.t ................ ok\r\nt/08_exit.t .................... ok\r\nt/09_fork.t .................... ok\r\nt/10_oo.t ...................... ok\r\n    \r\n    #   Failed test 'port is open'\r\n    #   at t/11_net_empty_port.t line 22.\r\n    # Looks like you failed 1 test of 4.\r\n\r\n#   Failed test 'v6'\r\n#   at t/11_net_empty_port.t line 37.\r\n# Looks like you failed 1 test of 4.\r\nt/11_net_empty_port.t .......... \r\nDubious, test returned 1 (wstat 256, 0x100)\r\nFailed 1/4 subtests \r\nt/12_pass_wait_port_options.t .. ok\r\nt/13_undef_port.t .............. ok\r\n\r\nTest Summary Report\r\n-------------------\r\nt/01_simple.t                (Wstat: 65280 Tests: 2 Failed: 1)\r\n  Failed test:  2\r\n  Non-zero exit status: 255\r\n  Parse errors: No plan found in TAP output\r\nt/11_net_empty_port.t        (Wstat: 256 Tests: 4 Failed: 1)\r\n  Failed test:  4\r\n  Non-zero exit status: 1\r\nFiles=14, Tests=117, 87 wallclock secs ( 0.11 usr +  0.02 sys =  0.13 CPU)\r\nResult: FAIL\r\nFailed 2/14 test programs. 2/117 subtests failed.\r\ndmake.exe:  Error code 255, while making 'test_dynamic'\r\n-> FAIL Testing Test::TCP failed. See C:\\Users\\cgdadmin\\.cpanm\\work\\1429212415.6136\\build.log for details. Retry with --force to force install it.\r\n```\r\n\r\nPerl version details:\r\n\r\n```\r\nSummary of my perl5 (revision 5 version 20 subversion 2) configuration:\r\n   \r\n  Platform:\r\n    osname=MSWin32, osvers=6.3, archname=MSWin32-x64-multi-thread\r\n    uname='Win32 strawberry-perl 5.20.2.1 #1 Sat Feb 21 18:04:11 2015 x64'\r\n    config_args='undef'\r\n    hint=recommended, useposix=true, d_sigaction=undef\r\n    useithreads=define, usemultiplicity=define\r\n    use64bitint=define, use64bitall=undef, uselongdouble=undef\r\n    usemymalloc=n, bincompat5005=undef\r\n  Compiler:\r\n    cc='gcc', ccflags =' -s -O2 -DWIN32 -DWIN64 -DCONSERVATIVE  -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLI\r\nCIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -fwrapv -fno-strict-aliasing -mms-bitfields',\r\n    optimize='-s -O2',\r\n    cppflags='-DWIN32'\r\n    ccversion='', gccversion='4.8.3', gccosandvers=''\r\n    intsize=4, longsize=4, ptrsize=8, doublesize=8, byteorder=12345678\r\n    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12\r\n    ivtype='long long', ivsize=8, nvtype='double', nvsize=8, Off_t='long long', lseeksize=8\r\n    alignbytes=8, prototype=define\r\n  Linker and Libraries:\r\n    ld='g++.exe', ldflags ='-s -L\"C:\\strawberry\\perl\\lib\\CORE\" -L\"C:\\strawberry\\c\\lib\"'\r\n    libpth=C:\\strawberry\\c\\lib C:\\strawberry\\c\\x86_64-w64-mingw32\\lib C:\\strawberry\\c\\lib\\gcc\\x86_64\r\n-w64-mingw32\\4.8.3\r\n    libs=-lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -\r\nloleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 -lcomctl32\r\n    perllibs=-lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole\r\n32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 -lcomctl32\r\n    libc=, so=dll, useshrplib=true, libperl=libperl520.a\r\n    gnulibc_version=''\r\n  Dynamic Linking:\r\n    dlsrc=dl_win32.xs, dlext=xs.dll, d_dlsymun=undef, ccdlflags=' '\r\n    cccdlflags=' ', lddlflags='-mdll -s -L\"C:\\strawberry\\perl\\lib\\CORE\" -L\"C:\\strawberry\\c\\lib\"'\r\n\r\n\r\nCharacteristics of this binary (from libperl): \r\n  Compile-time options: HAS_TIMES HAVE_INTERP_INTERN MULTIPLICITY\r\n                        PERLIO_LAYERS PERL_DONT_CREATE_GVSV\r\n                        PERL_HASH_FUNC_ONE_AT_A_TIME_HARD\r\n                        PERL_IMPLICIT_CONTEXT PERL_IMPLICIT_SYS\r\n                        PERL_MALLOC_WRAP PERL_NEW_COPY_ON_WRITE\r\n                        PERL_PRESERVE_IVUV USE_64_BIT_INT USE_ITHREADS\r\n                        USE_LARGE_FILES USE_LOCALE USE_LOCALE_COLLATE\r\n                        USE_LOCALE_CTYPE USE_LOCALE_NUMERIC USE_PERLIO\r\n                        USE_PERL_ATOF\r\n  Built under MSWin32\r\n  Compiled at Feb 21 2015 18:08:23\r\n  %ENV:\r\n    PERL_MM_USE_DEFAULT=\"0\"\r\n  @INC:\r\n    C:/strawberry/perl/site/lib\r\n    C:/strawberry/perl/vendor/lib\r\n    C:/strawberry/perl/lib\r\n    .\r\n```"},"comment":{"url":"https://api.github.com/repos/tokuhirom/Test-TCP/issues/comments/105469457","html_url":"https://github.com/tokuhirom/Test-TCP/issues/37#issuecomment-105469457","issue_url":"https://api.github.com/repos/tokuhirom/Test-TCP/issues/37","id":105469457,"user":{"login":"clarkc2","id":12608289,"avatar_url":"https://avatars.githubusercontent.com/u/12608289?v=3","gravatar_id":"","url":"https://api.github.com/users/clarkc2","html_url":"https://github.com/clarkc2","followers_url":"https://api.github.com/users/clarkc2/followers","following_url":"https://api.github.com/users/clarkc2/following{/other_user}","gists_url":"https://api.github.com/users/clarkc2/gists{/gist_id}","starred_url":"https://api.github.com/users/clarkc2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clarkc2/subscriptions","organizations_url":"https://api.github.com/users/clarkc2/orgs","repos_url":"https://api.github.com/users/clarkc2/repos","events_url":"https://api.github.com/users/clarkc2/events{/privacy}","received_events_url":"https://api.github.com/users/clarkc2/received_events","type":"User","site_admin":false},"created_at":"2015-05-26T09:46:06Z","updated_at":"2015-05-26T09:46:06Z","body":"Same errors in Windows Server 2008 64-bit, Strawberry Perl 5.20.2:\r\n\r\n<pre>\r\ncpanm (App::cpanminus) 1.7027 on perl 5.020002 built for MSWin32-x64-multi-thread\r\nWork directory is C:\\Users\\dbadmin/.cpanm/work/1432632296.9976\r\nYou have make C:\\Strawberry\\c\\bin\\dmake.exe\r\nYou have LWP 6.13\r\nFalling back to Archive::Tar 2.04\r\nYou have C:\\app\\oracle\\product\\10.2.0\\client_1\\bin\\unzip.exe\r\nSearching Test::TCP on cpanmetadb ...\r\n--> Working on Test::TCP\r\nFetching http://www.cpan.org/authors/id/T/TO/TOKUHIROM/Test-TCP-2.12.tar.gz\r\n-> OK\r\nUnpacking Test-TCP-2.12.tar.gz\r\nEntering Test-TCP-2.12\r\nChecking configure dependencies from META.json\r\nChecking if you have ExtUtils::MakeMaker 0 ... Yes (7.04)\r\nConfiguring Test-TCP-2.12\r\nRunning Makefile.PL\r\nChecking if your kit is complete...\r\nLooks good\r\nGenerating a dmake-style Makefile\r\nWriting Makefile for Test::TCP\r\nWriting MYMETA.yml and MYMETA.json\r\n-> OK\r\nChecking dependencies from MYMETA.json ...\r\nChecking if you have Time::HiRes 0 ... Yes (1.9726)\r\nChecking if you have Test::More 0.98 ... Yes (1.001014)\r\nChecking if you have IO::Socket::IP 0 ... Yes (0.36)\r\nChecking if you have Test::SharedFork 0.29 ... Yes (0.31)\r\nChecking if you have IO::Socket::INET 0 ... Yes (1.35)\r\nChecking if you have Socket 0 ... Yes (2.018)\r\nChecking if you have File::Temp 0 ... Yes (0.2304)\r\nBuilding and testing Test-TCP-2.12\r\ncp lib/Net/EmptyPort.pm blib\\lib\\Net\\EmptyPort.pm\r\ncp lib/Test/TCP.pm blib\\lib\\Test\\TCP.pm\r\ncp lib/Test/TCP/CheckPort.pm blib\\lib\\Test\\TCP\\CheckPort.pm\r\n\"C:\\Strawberry\\perl\\bin\\perl.exe\" \"-MExtUtils::Command::MM\" \"-MTest::Harness\" \"-e\" \"undef *Test::Harness::Switches; test_harness(0, 'blib\\lib', 'blib\\arch')\" t/*.t\r\n# Test::More: 1.001014\r\nt/00_compile.t ................. ok\r\ncannot open port: ::1:50953 at C:\\Users\\dbadmin\\.cpanm\\work\\1432632296.9976\\Test-TCP-2.12\\blib\\lib/Test/TCP.pm line 54.\r\n    # Child (v6) exited without calling finalize()\r\n\r\n#   Failed test 'v6'\r\n#   at C:/Strawberry/perl/lib/Test/Builder.pm line 279.\r\n# Tests were run but no plan was declared and done_testing() was not seen.\r\n# Looks like your test exited with 255 just after 2.\r\nt/01_simple.t .................. \r\nDubious, test returned 255 (wstat 65280, 0xff00)\r\nFailed 1/2 subtests \r\nt/02_abrt.t .................... skipped: win32 doesn't support embedded function named dump()\r\nt/03_return_when_sigterm.t ..... ok\r\nt/04_die.t ..................... ok\r\nt/05_sigint.t .................. skipped: this test requires SIGUSR1\r\nt/06_nest.t .................... ok\r\nt/07_optional.t ................ ok\r\nt/08_exit.t .................... ok\r\nt/09_fork.t .................... ok\r\nt/10_oo.t ...................... ok\r\n    \r\n    #   Failed test 'port is open'\r\n    #   at t/11_net_empty_port.t line 22.\r\n    # Looks like you failed 1 test of 4.\r\n\r\n#   Failed test 'v6'\r\n#   at t/11_net_empty_port.t line 37.\r\n# Looks like you failed 1 test of 4.\r\nt/11_net_empty_port.t .......... \r\nDubious, test returned 1 (wstat 256, 0x100)\r\nFailed 1/4 subtests \r\nt/12_pass_wait_port_options.t .. ok\r\nt/13_undef_port.t .............. ok\r\n\r\nTest Summary Report\r\n-------------------\r\nt/01_simple.t                (Wstat: 65280 Tests: 2 Failed: 1)\r\n  Failed test:  2\r\n  Non-zero exit status: 255\r\n  Parse errors: No plan found in TAP output\r\nt/11_net_empty_port.t        (Wstat: 256 Tests: 4 Failed: 1)\r\n  Failed test:  4\r\n  Non-zero exit status: 1\r\nFiles=14, Tests=117, 87 wallclock secs ( 0.09 usr +  0.03 sys =  0.13 CPU)\r\nResult: FAIL\r\nFailed 2/14 test programs. 2/117 subtests failed.\r\ndmake.exe:  Error code 255, while making 'test_dynamic'\r\n-> FAIL Testing Test::TCP failed. See C:\\Users\\dbadmin\\.cpanm\\work\\1432632296.9976\\build.log for details. Retry with --force to force install it.\r\n</pre>"}}