tokuhirom / Test-TCP

Test::TCP for perl
Other
33 stars 33 forks source link

Windows - IPC Fatal Error: Not all files from hub have been collected #86

Open nponeccop opened 4 years ago

nponeccop commented 4 years ago

This seems to be related to #65 but with a more detailed message. (I'm not sure)

CPAN Testers reports for 1.20 because 1.21 has a regression:

nponeccop commented 4 years ago

Still happens with 1.22 - it's the only red point of CPAN testers so far:

genio commented 4 years ago
PS C:\Users\cwhitener\chase\is-ansible> cpanm -v Test::TCP
cpanm (App::cpanminus) 1.7044 on perl 5.030000 built for MSWin32-x64-multi-thread
Work directory is C:\Users\CWHITE~2\_psperl\_perls\PERL64~1.1\data/.cpanm/work/1577370953.15292
You have make C:\Users\cwhitener\_psperl\_perls\perl64-5.30.0.1\c\bin\gmake.exe
You have LWP 6.43
Falling back to Archive::Tar 2.32
Searching Test::TCP () on cpanmetadb ...
--> Working on Test::TCP
Fetching http://www.cpan.org/authors/id/M/MI/MIYAGAWA/Test-TCP-2.22.tar.gz ... OK
Unpacking Test-TCP-2.22.tar.gz
Entering Test-TCP-2.22
Checking configure dependencies from META.json
Checking if you have ExtUtils::MakeMaker 6.64 ... Yes (7.38)
Running Makefile.PL
Configuring Test-TCP-2.22 ... Checking if your kit is complete...
Looks good
Generating a gmake-style Makefile
Writing Makefile for Test::TCP
Writing MYMETA.yml and MYMETA.json
OK
Checking dependencies from MYMETA.json ...
Checking if you have Test::More 0.98 ... Yes (1.302170)
Checking if you have IO::Socket::IP 0 ... Yes (0.39)
Checking if you have Time::HiRes 0 ... Yes (1.9760)
Checking if you have IO::Socket::INET 0 ... Yes (1.40)
Checking if you have File::Temp 0 ... Yes (0.2309)
Checking if you have Socket 0 ... Yes (2.029)
Checking if you have Test::SharedFork 0.29 ... Yes (0.35)
Building and testing Test-TCP-2.22 ... cp lib/Test/TCP/CheckPort.pm blib\lib\Test\TCP\CheckPort.pm
cp lib/Test/TCP.pm blib\lib\Test\TCP.pm
cp lib/Net/EmptyPort.pm blib\lib\Net\EmptyPort.pm
"C:\Users\cwhitener\_psperl\_perls\perl64-5.30.0.1\perl\bin\perl.exe" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib\lib', 'blib\arch')" t/*.t
t/00_compile.t ................. 1/1 # Test::More: 1.302170
t/00_compile.t ................. ok
t/01_simple.t .................. 1/? IPC Fatal Error: Not all files from hub '20564~0~1577370958~7' have been collected! at C:\Users\CWHITE~2\_psperl\_locals\P64-5~1.30@\lib\perl5/Test2/IPC/Driver/Files.pm line 123.
        Test2::IPC::Driver::Files::drop_hub(Test2::IPC::Driver::Files=HASH(0x33eeb28), "20564~0~1577370958~7") called at C:\Users\CWHITE~2\_psperl\_locals\P64-5~1.30@\lib\perl5/Test2/Hub.pm line 532
        Test2::Hub::DESTROY(Test2::Hub::Subtest=HASH(0x6564a0)) called at C:\Users\CWHITE~2\_psperl\_locals\P64-5~1.30@\lib\perl5/Test/Builder.pm line 382
        eval {...} called at C:\Users\CWHITE~2\_psperl\_locals\P64-5~1.30@\lib\perl5/Test/Builder.pm line 382
        Test::Builder::subtest(Test::Builder=HASH(0x686a68), "v4", CODE(0x3a07a28)) called at C:\Users\CWHITE~2\_psperl\_locals\P64-5~1.30@\lib\perl5/Test/More.pm line 809
        Test::More::subtest("v4", CODE(0x3a07a28)) called at t/01_simple.t line 51
Bailout called.  Further testing stopped:  IPC Fatal Error: Not all files from hub '20564~0~1577370958~7' have been collected! at C:\Users\CWHITE~2\_psperl\_locals\P64-5~1.30@\lib\perl5/Test2/IPC/Driver/Files.pm line 123.
A context appears to have been destroyed without first calling release().
Based on $@ it does not look like an exception was thrown (this is not always
a reliable test)

This is a problem because the global error variables ($!, $@, and $?) will
not be restored. In addition some release callbacks will not work properly from
inside a DESTROY method.

Here are the context creation details, just in case a tool forgot to call
release():
  File: t/01_simple.t
  Line: 56
  Tool: Test::More::subtest

Here is a trace to the code that caused the context to be destroyed, this could
be an exit(), a goto, or simply the end of a scope:
Context destroyed at C:\Users\CWHITE~2\_psperl\_locals\P64-5~1.30@\lib\perl5/Test2/IPC/Driver/Files.pm line 292.
        eval {...} called at C:\Users\CWHITE~2\_psperl\_locals\P64-5~1.30@\lib\perl5/Test2/IPC/Driver/Files.pm line 292
        Test2::API::context("level", 2, "fudge", 1, "stack", Test2::API::Stack=ARRAY(0x2ad2590), "hub", undef, ...) called at C:\Users\CWHITE~2\_psperl\_locals\P64-5~1.30@\lib\perl5/Test/Builder.pm line 153
        Test::Builder::ctx(Test::Builder=HASH(0x686a68)) called at C:\Users\CWHITE~2\_psperl\_locals\P64-5~1.30@\lib\perl5/Test/Builder.pm line 313
        Test::Builder::subtest(Test::Builder=HASH(0x686a68), "v6", CODE(0x3a07cb0)) called at C:\Users\CWHITE~2\_psperl\_locals\P64-5~1.30@\lib\perl5/Test/More.pm line 809
        Test::More::subtest("v6", CODE(0x3a07cb0)) called at t/01_simple.t line 56

Cleaning up the CONTEXT stack...
FAILED--Further testing stopped: IPC Fatal Error: Not all files from hub '20564~0~1577370958~7' have been collected! at C:\Users\CWHITE~2\_psperl\_locals\P64-5~1.30@\lib\perl5/Test2/IPC/Driver/Files.pm line 123.
gmake: *** [Makefile:863: test_dynamic] Error 255
FAIL
! Installing Test::TCP failed. See C:\Users\CWHITE~2\_psperl\_perls\PERL64~1.1\data\.cpanm\work\1577370953.15292\build.log for details. Retry with --force to force install it.
PS C:\Users\cwhitener\chase\is-ansible>