Skip Menu |

This queue is for tickets about the Test-Net-Connect CPAN distribution.

Report information
The Basics
Id: 83527
Status: new
Priority: 0/
Queue: Test-Net-Connect

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

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



Subject: "You need to change $Test::Builder::Level"
The test suite's 00-load test fails with the error message quoted in the subject: Show quoted text
cpan> test Test::Net::Connect
Running test for module 'Test::Net::Connect' Running Build for N/NI/NIKC/Test-Net-Connect-0.03.tar.gz Has already been unwrapped into directory /home/mike/.cpan/build/Test- Net-Connect-0.03-hYXbqf CPAN.pm: Building N/NI/NIKC/Test-Net-Connect-0.03.tar.gz The automated tests need to be configured with host:port information for a connection that you expect to work, and host:port information for a connection that you expect to fail. First, a host:port that you expect to connect to. The default specifies the SSH port on the localhost. host:port : [localhost:22 ]hashbang.ca:80 Now, an IP address:port that you expect to connect to. The default specifies the SSH port on 127.0.0.1 (localhost). ip:port : [127.0.0.1:22 ]178.79.155.139:80 Finally, a host:port that you do not expect to connect to. Note that the host must exist in order for the tests to work, but it should have nothing listening on the specified port. The default specifies the telnet port on the localhost. host:port : [localhost:23 ] localhost:23 Created MYMETA.yml and MYMETA.json Creating new 'Build' script for 'Test-Net-Connect' version '0.03' (/home/mike/perl5/perlbrew/perls/perl-5.16.2/bin/perl Build.PL exited with 0) CPAN::Reporter: Build.PL result is 'pass', No errors. Building Test-Net-Connect (./Build exited with 0) CPAN::Reporter: Build result is 'pass', No errors. NIKC/Test-Net-Connect-0.03.tar.gz ./Build -- OK Running Build test # Testing Test::Net::Connect 0.03, Perl 5.008007, /local/0/usr/local/bin/perl t/00-load.t ........ ok # Failed test 'checking depth' # at t/01-connect_ok.t line 77. # got: '2' # expected: '1' # You need to change $Test::Builder::Level # Failed test 'checking depth' # at t/01-connect_ok.t line 82. # got: '2' # expected: '1' # You need to change $Test::Builder::Level # Failed test 'checking depth' # at t/01-connect_ok.t line 87. # got: '2' # expected: '1' # You need to change $Test::Builder::Level # Failed test 'checking depth' # at t/01-connect_ok.t line 92. # got: '2' # expected: '1' # You need to change $Test::Builder::Level # Failed test 'checking depth' # at t/01-connect_ok.t line 97. # got: '2' # expected: '1' # You need to change $Test::Builder::Level # Failed test 'checking depth' # at t/01-connect_ok.t line 102. # got: '2' # expected: '1' # You need to change $Test::Builder::Level # Failed test 'checking depth' # at t/01-connect_ok.t line 107. # got: '2' # expected: '1' # You need to change $Test::Builder::Level # Failed test 'checking depth' # at t/01-connect_ok.t line 77. # got: '2' # expected: '1' # You need to change $Test::Builder::Level # Failed test 'checking depth' # at t/01-connect_ok.t line 82. # got: '2' # expected: '1' # You need to change $Test::Builder::Level # Failed test 'checking depth' # at t/01-connect_ok.t line 87. # got: '2' # expected: '1' # You need to change $Test::Builder::Level # Failed test 'checking depth' # at t/01-connect_ok.t line 92. # got: '2' # expected: '1' # You need to change $Test::Builder::Level # Failed test 'checking depth' # at t/01-connect_ok.t line 97. # got: '2' # expected: '1' # You need to change $Test::Builder::Level # Failed test 'checking depth' # at t/01-connect_ok.t line 102. # got: '2' # expected: '1' # You need to change $Test::Builder::Level # Failed test 'checking depth' # at t/01-connect_ok.t line 107. # got: '2' # expected: '1' # You need to change $Test::Builder::Level # Failed test 'checking depth' # at t/01-connect_ok.t line 117. # got: '2' # expected: '1' # You need to change $Test::Builder::Level # Failed test 'checking depth' # at t/01-connect_ok.t line 124. # got: '2' # expected: '1' # You need to change $Test::Builder::Level # Failed test 'checking depth' # at t/01-connect_ok.t line 129. # got: '2' # expected: '1' # You need to change $Test::Builder::Level # Failed test 'checking depth' # at t/01-connect_ok.t line 134. # got: '2' # expected: '1' # You need to change $Test::Builder::Level # Failed test 'checking depth' # at t/01-connect_ok.t line 153. # got: '2' # expected: '1' # You need to change $Test::Builder::Level # Failed test 'checking depth' # at t/01-connect_ok.t line 162. # got: '2' # expected: '1' # You need to change $Test::Builder::Level # Failed test 'subtest 'Check host:port from user' of 'Connecting to a good host:port fails' compare diag' # at t/01-connect_ok.t line 171. # Got diag (52 bytes): # ' Connection to tcp://178.79.155.139:80 succeeded' # Expected diag (47 bytes): # ' Connection to tcp://127.0.0.1:22 succeeded' # Looks like you failed 21 tests of 201. t/01-connect_ok.t .. Dubious, test returned 21 (wstat 5376, 0x1500) Failed 21/201 subtests t/pod-coverage.t ... ok t/pod.t ............ ok Test Summary Report ------------------- t/01-connect_ok.t (Wstat: 5376 Tests: 201 Failed: 21) Failed tests: 54, 61, 68, 75, 82, 89, 96, 103, 110, 117 124, 131, 138, 145, 152, 159, 166, 173 186, 193, 201 Non-zero exit status: 21 Files=4, Tests=206, 1 wallclock secs ( 0.07 usr 0.01 sys + 0.29 cusr 0.04 csys = 0.41 CPU) Result: FAIL Failed 1/4 test programs. 21/206 subtests failed. (./Build test exited with 65280) CPAN::Reporter: Test result is 'fail', One or more tests failed. CPAN::Reporter: preparing a CPAN Testers report for Test-Net-Connect- 0.03 CPAN::Reporter: this appears to be a duplicate report for the test phase: FAIL Test-Net-Connect-0.03 x86_64-linux 3.2.0-33-generic Test report will not be sent. NIKC/Test-Net-Connect-0.03.tar.gz ./Build test -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports NIKC/Test-Net-Connect-0.03.tar.gz Failed during this command: NIKC/Test-Net-Connect-0.03.tar.gz : make_test NO