Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the CPAN-Reporter CPAN distribution.

Report information
The Basics
Id: 55542
Status: resolved
Priority: 0/
Queue: CPAN-Reporter

People
Owner: Nobody in particular
Requestors: John [...] WashburnResearch.org
Cc:
AdminCc:

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



Subject: Can't use an undefined value as an ARRAY reference at t/13_record_command.t line 161
Dear Sir: I get the error found in the subject line when I try to upgrade my version of CPAN::Report to version 1.1711. Attached is the text displayed within the CPAN console during the test phase of the installation/upgrade. The attached erro file also contains the distribution name Also attached is the perl version from perl -v and the OS and vendor from uname -a. The CPAN command I was using to perform the upgrade was: Show quoted text
CPAN> upgrade /.+/
which then identified CPAN::Reporter as an upgrade candidate. The erro occures during the make test portion of the upgrade. Thank you for your work on CPAN::Reporter. I hope this defect report is complete and prcise enough to be useful to you. -- In Liberty, John Washburn
Subject: CPAN Reporter Errors.txt
DAGOLDEN/CPAN-Reporter-1.1711.tar.gz t/01_CPAN_Reporter.t ................. ok t/02_config_env_vars.t ............... ok t/03_config_file.t ................... ok t/04_option_parsing.t ................ ok t/05_prompting.t ..................... ok t/06_prompt_text.t ................... ok t/10_prereq_pm.t ..................... ok t/11_env_config.t .................... ok t/12_toolchain_versions.t ............ ok t/13_record_command.t ................ 18/33 # sleeping for timeout test t/13_record_command.t ................ 22/33 # Failed test 'Timeout kills process: timeout stopped process' # at t/13_record_command.t line 156. # timeout (5) : ran (61) : sleep (60) Can't use an undefined value as an ARRAY reference at t/13_record_command.t line 161. # Looks like you planned 33 tests but ran 22. # Looks like you failed 1 test of 22 run. # Looks like your test exited with 255 just after 22. t/13_record_command.t ................ Dubious, test returned 255 (wstat 65280, 0xff00) Failed 12/33 subtests t/14_command_timeout.t ............... 1/57 # sleeping for timeout test t/14_command_timeout.t ............... 5/57 # Failed test 'regular < command < program: regular timeout' # at t/14_command_timeout.t line 222. # timeout (5) : command_timeout (30) : ran (61) : sleep (60) Can't use an undefined value as an ARRAY reference at t/14_command_timeout.t line 223. # Looks like you planned 57 tests but ran 5. # Looks like you failed 1 test of 5 run. # Looks like your test exited with 255 just after 5. t/14_command_timeout.t ............... Dubious, test returned 255 (wstat 65280, 0xff00) Failed 53/57 subtests t/15_option_validation.t ............. ok t/20_report_output.t ................. ok t/30_PL_report.t ..................... ok t/31_PL_report_discard.t ............. ok t/40_make_report.t ................... ok t/41_make_report_discard.t ........... ok t/50_test_report_pass.t .............. ok t/51_test_report_fail.t .............. ok t/52_test_report_unknown.t ........... ok t/53_test_report_na.t ................ ok t/54_test_report_split.t ............. ok t/55_test_report_discard.t ........... ok t/56_test_report_harness_versions.t .. ok t/57_hang_interrupt.t ................ 20/29 # Failed test 'saw report not sent message for PL-Hang' # at t/57_hang_interrupt.t line 105. # '/usr/local/bin/perl: symbol lookup error: /usr/local/lib/perl5/site_perl/5.10.1/i686-linux/auto/Proc/ProcessTable/ProcessTable.so: undefined symbol: pthread_once # Fail, fail, fail! at Makefile.PL line 5. # CPAN::Reporter: couldn't determine exit value for '/usr/local/bin/perl Makefile.PL' # CPAN::Reporter: had errors capturing exit value and output. Tests abandoned' # doesn't match '/report will not be sent/' t/57_hang_interrupt.t ................ 27/29 # Failed test 'saw report not sent message for t-Hang' # at t/57_hang_interrupt.t line 105. # 'Writing Makefile for Bogus::Module # cp lib/Bogus/Module.pm blib/lib/Bogus/Module.pm # PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t # /usr/local/bin/perl: symbol lookup error: /usr/local/lib/perl5/site_perl/5.10.1/i686-linux/auto/Proc/ProcessTable/ProcessTable.so: undefined symbol: pthread_once # !!! TIMER DIDNT TIMEOUT -- SHOULDNT BE HERE !!! at t/01_Bogus.t line 13. # # Looks like you planned 2 tests but ran 1. # # Looks like your test exited with 255 just after 1. # t/01_Bogus.t .. # Dubious, test returned 255 (wstat 65280, 0xff00) # Failed 1/2 subtests # # Test Summary Report # ------------------- # t/01_Bogus.t (Wstat: 65280 Tests: 1 Failed: 0) # Non-zero exit status: 255 # Parse errors: Bad plan. You planned 2 tests but ran 1. # Files=1, Tests=1, 40 wallclock secs ( 0.03 usr 0.00 sys + 22.79 cusr 14.02 csys = 36.84 CPU) # Result: FAIL # Failed 1/1 test programs. 0/1 subtests failed. # make: *** [test_dynamic] Error 255 # CPAN::Reporter: couldn't determine exit value for 'make test' # CPAN::Reporter: had errors capturing exit value and output. Tests abandoned' # doesn't match '/report will not be sent/' # Looks like you failed 2 tests of 29. t/57_hang_interrupt.t ................ Dubious, test returned 2 (wstat 512, 0x200) Failed 2/29 subtests t/60_discard_triggers.t .............. ok t/61_bad_dist_names.t ................ ok t/62_duplicate_reports.t ............. ok t/63_config_send_report.t ............ ok t/64_transport.t ..................... ok t/65_skipfile.t ...................... ok t/66_have_tested.t ................... ok t/67_distfile.t ...................... ok t/68_is_make.t ....................... ok t/70_darwin_move_config.t ............ ok t/71_missing_config.t ................ ok t/72_rename_history.t ................ ok t/73_autoflush.t ..................... ok Test Summary Report ------------------- t/13_record_command.t (Wstat: 65280 Tests: 22 Failed: 1) Failed test: 22 Non-zero exit status: 255 Parse errors: Bad plan. You planned 33 tests but ran 22. t/14_command_timeout.t (Wstat: 65280 Tests: 5 Failed: 1) Failed test: 5 Non-zero exit status: 255 Parse errors: Bad plan. You planned 57 tests but ran 5. t/57_hang_interrupt.t (Wstat: 512 Tests: 29 Failed: 2) Failed tests: 22, 29 Non-zero exit status: 2 Files=38, Tests=1770, 460 wallclock secs ( 0.47 usr 0.03 sys + 225.39 cusr 28.23 csys = 254.12 CPU) Result: FAIL Failed 3/38 test programs. 4/1770 subtests failed.
Subject: Perl Version.txt
This is perl, v5.10.1 (*) built for i686-linux Copyright 1987-2009, Larry Wall Perl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 5 source kit. Complete documentation for Perl, including FAQ lists, should be found on this system using "man perl" or "perldoc perl". If you have access to the Internet, point your browser at http://www.perl.org/, the Perl Home Page. john@Washburn-Ubuntu:~$
Subject: OS and Vendor.txt
john@Washburn-Ubuntu:~$ uname -a Linux Washburn-Ubuntu 2.6.31-20-generic #57-Ubuntu SMP Mon Feb 8 09:05:19 UTC 2010 i686 GNU/Linux john@Washburn-Ubuntu:~$
Subject: Re: [rt.cpan.org #55542] Can't use an undefined value as an ARRAY reference at t/13_record_command.t line 161
Date: Sun, 14 Mar 2010 09:50:48 -0400
To: bug-CPAN-Reporter [...] rt.cpan.org
From: David Golden <dagolden [...] cpan.org>
On Sun, Mar 14, 2010 at 12:19 AM, John Washburn via RT <bug-CPAN-> Show quoted text
> Thank you for your work on CPAN::Reporter.  I hope this defect report > is complete and prcise enough to be useful to you.
Thank you for the report. I'll look into it and see if I determine a cause. David
The method of timeouts has changed since that version of CPAN::Reporter. Does the problem still occur? (Marking ticket as stalled, pending further information.)