Skip Menu |

This queue is for tickets about the Unix-Statgrab CPAN distribution.

Report information
The Basics
Id: 107241
Status: resolved
Priority: 0/
Queue: Unix-Statgrab

People
Owner: Nobody in particular
Requestors: contyk [...] cpan.org
Cc: MOTOTIMO [...] cpan.org
wiz [...] netbsd.org
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.109
Fixed in: (no value)



Subject: user_data test failures with libstatgrab-0.91
I'm packaging Unix::Stagrab for Fedora and ran into some issues with the latest release. Namely all the user_data tests in 01_methods.t and 03_leaks.t failing. # Testing Unix::Statgrab 0.109, Perl 5.022000, /usr/bin/perl t/00-load.t ...... ok # Failed test 'Unix::Statgrab::sg_user_stats->entries' # at t/01-methods.t line 101. # Failed test 'Unix::Statgrab::sg_user_stats->login_name' # at t/01-methods.t line 105. # Failed test 'Unix::Statgrab::sg_user_stats->record_id' # at t/01-methods.t line 105. # Failed test 'Unix::Statgrab::sg_user_stats->device' # at t/01-methods.t line 105. # Failed test 'Unix::Statgrab::sg_user_stats->hostname' # at t/01-methods.t line 105. # Failed test 'Unix::Statgrab::sg_user_stats->pid' # at t/01-methods.t line 105. # Failed test 'Unix::Statgrab::sg_user_stats->login_time' # at t/01-methods.t line 105. # Failed test 'Unix::Statgrab::sg_user_stats->systime' # at t/01-methods.t line 105. # Looks like you failed 8 tests of 457. t/01-methods.t ... Dubious, test returned 8 (wstat 2048, 0x800) Failed 8/457 subtests t/02-hashlist.t .. ok t/03-leak.t ...... All 320 subtests passed Test Summary Report ------------------- t/01-methods.t (Wstat: 2048 Tests: 457 Failed: 8) Failed tests: 449, 451-457 Non-zero exit status: 8 t/03-leak.t (Wstat: 139 Tests: 320 Failed: 0) Non-zero wait status: 139 Parse errors: No plan found in TAP output Files=4, Tests=4631, 1 wallclock secs ( 0.31 usr 0.02 sys + 0.50 cusr 0.05 csys = 0.88 CPU) Result: FAIL Failed 2/4 test programs. 8/4631 subtests failed. Makefile:1032: recipe for target 'test_dynamic' failed make: *** [test_dynamic] Error 255
I tried to reproduce without success. Maybe some additional information will be helpful: * arch: i386/amd64 * n-cpu's * load * shell-login / unattended run of test in something like a sandbox Output of "statgrab user." In directory with failing test: $ perl -Mblib -MData::Dumper -MUnix::Statgrab=get_user_stats,get_error -le 'my $us = get_user_stats; if( $us ) { print Dumper $us->fetchall_hashref } else { my $er = get_error; print $er->strperror }' Currently the Unix::Statgrab tests don't deal with errors from libstatgrab - maybe it should, but more information what happens will help to fix the issue causing the error
I think it's resolve in 0.110_001 - please rerun testst and re-open, if still occures.