Skip Menu |

This queue is for tickets about the Proc-ProcessTable CPAN distribution.

Report information
The Basics
Id: 65347
Status: resolved
Priority: 0/
Queue: Proc-ProcessTable

People
Owner: cpan [...] bargsten.org
Requestors: btriffault [...] gmf.fr
Cc:
AdminCc:

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



Subject: Bug Proc-ProcessTable
Date: Tue, 1 Feb 2011 17:36:57 +0100
To: <bug-Proc-ProcessTable [...] rt.cpan.org>
From: "TRIFFAULT Bertrand" <btriffault [...] gmf.fr>
hello We have a bug when testing : Perl -V Summary of my perl5 (revision 5 version 8 subversion 8) configuration: Platform: osname=aix, osvers=6.1.2.0, archname=aix uname='aix uxsar71 1 6 00cc3a024c00 ' config_args='-Dprefix=/perl/5.8.8 -d' hint=recommended, useposix=true, d_sigaction=define usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef useperlio=define d_sfio=undef uselargefiles=define usesocks=undef use64bitint=undef use64bitall=undef uselongdouble=undef usemymalloc=n, bincompat5005=undef AIX uxsar71 1 6 00CC3A024C00 Message : PERL_DL_NONLAZY=1 /perl/5.8.8/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/process.t .. 1/3 # Failed test 1 in t/process.t at line 76 # t/process.t line 76 is: ok(0); t/process.t .. Dubious, test returned 255 (wstat 65280, 0xff00) Failed 3/3 subtests Test Summary Report ------------------- t/process.t (Wstat: 65280 Tests: 1 Failed: 1) Failed test: 1 Non-zero exit status: 255 Parse errors: Bad plan. You planned 3 tests but ran 1. Files=1, Tests=1, 1 wallclock secs ( 0.02 usr 0.01 sys + 0.02 cusr 0.01 csys = 0.06 CPU) Result: FAIL Failed 1/1 test programs. 1/1 subtests failed. make : 1254-004 Code d'erreur de la dernière commande : 255. thank you Yours Bertrand TRIFFAULT Tel Port Email Direction Informatique Département SI Distribués Service JDX 02 38 65 82 87 06 08 76 02 12 btriffault@gmf.fr

Message body is not shown because it is too large.

Download image002.jpg
image/jpeg 1.5k
image002.jpg
Subject: t/process.t fails on AIX
On Tue Feb 01 08:39:25 2011, btriffault@gmf.fr wrote: Show quoted text
> hello > We have a bug when testing : > PERL_DL_NONLAZY=1 /perl/5.8.8/bin/perl "-MExtUtils::Command::MM" "-e" > "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t > t/process.t .. 1/3 # Failed test 1 in t/process.t at line 76 > # t/process.t line 76 is: ok(0); > t/process.t .. Dubious, test returned 255 (wstat 65280, 0xff00) > Failed 3/3 subtests > > Test Summary Report > ------------------- > t/process.t (Wstat: 65280 Tests: 1 Failed: 1) > Failed test: 1 > Non-zero exit status: 255 > Parse errors: Bad plan. You planned 3 tests but ran 1.
It would help enormously if you could run t/process.t in isolation, so as to show what its full test output is. Otherwise, we cannot know what the actual failure is.
From: tammer [...] tammer.net
Hello, I do see the same problem on AIX 7.1. I have already added the patch in void bless_procs(struct procsinfo64 *procs, int count). (int utime, stime, cutime, cstime; -> double utime, stime, cutime, cstime;) Test result: # gmake test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(1, 'blib/lib', 'blib/arch')" t/*.t t/process.t .. 1..3 # Running under perl version 5.010001 for aix # Current time local: Fri Feb 21 15:22:49 2014 # Current time GMT: Fri Feb 21 14:22:49 2014 # Using Test.pm version 1.25_02 not ok 1 # Failed test 1 in t/process.t at line 76 # t/process.t line 76 is: ok(0); ... --> hang Bye Rainer
From: tammer [...] tammer.net
Hello, The problem is that hints/aix.pl is used instead of a hints/aix_6.pl or aix_7.pl. Just copy the aix_5.pl to aix_6.pl,and aix_7.pl. Then you will get the following result: # gmake test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/process.t .. -------------------------------- pid: 7405568 ppid: 8454178 sess: 11272204 pgrp: 12713998 uid: 0 suid: 0 luid: 0 euid: 0 gid: 0 egid: 0 priority: 61 nice: 20 thcount: 1 stat: active flags: 2097153 flags2: 262144 adspace: -1329359744 majflt: 0 minflt: 775 utime: 1 stime: 0 cutime: 0 cstime: 0 start: 1392993247 size: 654 tsize: 1728 ttyp: 12713998 ttynum: 1900546 ttympx: 0 drss: 654 trss: 16 dvm: 654 pctmem: 0.00 pctcpu: 0.22 comm: perl5.10.1 cmndline: /usr/bin/perl -w t/process.t t/process.t .. ok All tests successful. Files=1, Tests=3, 0 wallclock secs ( 0.01 usr 0.00 sys + 0.09 cusr 0.02 csys = 0.12 CPU) Result: PASS No tests defined for Proc::ProcessTable::Process extension. Target "test" is up to date. Bye Rainer
Thanks for the fix. I've copied the files as suggested. The changes are now in the github repository and will be part of the next release.