Linux-GetPidstat v0.10 Perl 5 v5.35.5 x86_64-linux-thread-multi-ld
- Status
- Fail
- From
- Andreas J. König (ANDK)
- Dist
-
Linux-GetPidstat v0.10
- Platform
- Perl 5 v5.35.5 x86_64-linux-thread-multi-ld
- Date
- 2022-02-15 00:37:47
- ID
- 7f2aaa2e-8df7-11ec-8829-a619e2a1bdea
This distribution has been tested as part of the CPAN Testers
project, supporting the Perl programming language. See
http://wiki.cpantesters.org/ for more information or email
questions to cpan-testers-discuss@perl.org
--
Dear Yohei Yoshimuta,
This is a computer-generated report for Linux-GetPidstat-0.10
on perl 5.35.5, created by CPAN-Reporter-1.2018.
Thank you for uploading your work to CPAN. However, there was a problem
testing your distribution.
If you think this report is invalid, please consult the CPAN Testers Wiki
for suggestions on how to avoid getting FAIL reports for missing library
or binary dependencies, unsupported operating systems, and so on:
http://wiki.cpantesters.org/wiki/CPANAuthorNotes
Sections of this report:
* Tester comments
* Program output
* Prerequisites
* Environment and other context
------------------------------
TESTER COMMENTS
------------------------------
Additional comments from tester:
this report is from an automated smoke testing program
and was not reviewed by a human for accuracy
------------------------------
PROGRAM OUTPUT
------------------------------
Output from './Build test':
t/00_compile.t ........... ok
t/01_new.t ............... ok
invalid pid: one at /tmp/loop_over_bdir-3206029-Z2rTVM/Linux-GetPidstat-0.10-0/blib/lib/Linux/GetPidstat.pm line 37.
invalid pid: dummy at /tmp/loop_over_bdir-3206029-Z2rTVM/Linux-GetPidstat-0.10-0/blib/lib/Linux/GetPidstat.pm line 37.
Empty metric: name=stk_size, lines=Linux 3.13.0-83-generic (ip-10-0-1-51) 04/02/2016 _x86_64_ (4 CPU),,# Time UID PID %usr %system %guest %CPU CPU minflt/s majflt/s VSZ RSS %MEM StkSize StkRef kB_rd/s kB_wr/s kB_ccwr/s cswch/s nvcswch/s Command
Failed getting pidstat: pid=3590990, target_pids=1, program_name=target_script
Empty metric: name=cswch_per_sec, lines=Linux 3.13.0-83-generic (ip-10-0-1-51) 04/02/2016 _x86_64_ (4 CPU),,# Time UID PID %usr %system %guest %CPU CPU minflt/s majflt/s VSZ RSS %MEM StkSize StkRef kB_rd/s kB_wr/s kB_ccwr/s cswch/s nvcswch/s Command
Failed getting pidstat: pid=3590989, target_pids=2,18352,18353,18360,18366,28264, program_name=target_script2
# Failed test at t/02_basic.t line 146.
# Structures begin differing at:
# $got->[1] = '2016-06-10T00:00:00,1465484400,target_script,cswch_per_sec,19.9'
# $expected->[1] = '2016-06-10T00:00:00,1465484400,target_script,cswch_per_sec,19.87'
# 2016-06-10T00:00:00,1465484400,target_script2,memory_rss,65400000000
# 2016-06-10T00:00:00,1465484400,target_script2,nvcswch_per_sec,182.4
# 2016-06-10T00:00:00,1465484400,target_script2,cpu,127.2
# 2016-06-10T00:00:00,1465484400,target_script2,stk_ref,153000
# 2016-06-10T00:00:00,1465484400,target_script2,cswch_per_sec,119.4
# 2016-06-10T00:00:00,1465484400,target_script2,disk_write_per_sec,0
# 2016-06-10T00:00:00,1465484400,target_script2,disk_read_per_sec,0
# 2016-06-10T00:00:00,1465484400,target_script2,memory_percent,207.6
# 2016-06-10T00:00:00,1465484400,target_script2,stk_size,768000
# 2016-06-10T00:00:00,1465484400,target_script,stk_size,128000
# 2016-06-10T00:00:00,1465484400,target_script,memory_percent,34.6
# 2016-06-10T00:00:00,1465484400,target_script,disk_read_per_sec,0
# 2016-06-10T00:00:00,1465484400,target_script,disk_write_per_sec,0
# 2016-06-10T00:00:00,1465484400,target_script,cswch_per_sec,19.9
# 2016-06-10T00:00:00,1465484400,target_script,stk_ref,25500
# 2016-06-10T00:00:00,1465484400,target_script,cpu,21.2
# 2016-06-10T00:00:00,1465484400,target_script,nvcswch_per_sec,30.4
# 2016-06-10T00:00:00,1465484400,target_script,memory_rss,10900000000
# Looks like you failed 1 test of 2.
# Failed test 'output to a file'
# at t/02_basic.t line 153.
# Failed test at t/02_basic.t line 189.
# Structures begin differing at:
# $got->[1] = '2016-06-10T00:00:00,1465484400,target_script,cswch_per_sec,19.9'
# $expected->[1] = '2016-06-10T00:00:00,1465484400,target_script,cswch_per_sec,19.87'
# 2016-06-10T00:00:00,1465484400,target_script,nvcswch_per_sec,30.4
# 2016-06-10T00:00:00,1465484400,target_script,cpu,21.2
# 2016-06-10T00:00:00,1465484400,target_script,stk_ref,25500
# 2016-06-10T00:00:00,1465484400,target_script,memory_rss,10900000000
# 2016-06-10T00:00:00,1465484400,target_script,memory_percent,34.6
# 2016-06-10T00:00:00,1465484400,target_script,stk_size,128000
# 2016-06-10T00:00:00,1465484400,target_script,disk_write_per_sec,0
# 2016-06-10T00:00:00,1465484400,target_script,cswch_per_sec,19.9
# 2016-06-10T00:00:00,1465484400,target_script,disk_read_per_sec,0
# 2016-06-10T00:00:00,1465484400,target_script2,disk_write_per_sec,0
# 2016-06-10T00:00:00,1465484400,target_script2,cswch_per_sec,119.4
# 2016-06-10T00:00:00,1465484400,target_script2,disk_read_per_sec,0
# 2016-06-10T00:00:00,1465484400,target_script2,memory_percent,207.6
# 2016-06-10T00:00:00,1465484400,target_script2,stk_size,768000
# 2016-06-10T00:00:00,1465484400,target_script2,memory_rss,65400000000
# 2016-06-10T00:00:00,1465484400,target_script2,nvcswch_per_sec,182.4
# 2016-06-10T00:00:00,1465484400,target_script2,cpu,127.2
# 2016-06-10T00:00:00,1465484400,target_script2,stk_ref,153000
# Failed test at t/02_basic.t line 193.
# Structures begin differing at:
# $got->[2] = 'mackerel post: name=custom.batch_cswch_per_sec.target_script, time=1465484400, metric=19.9'
# $expected->[2] = 'mackerel post: name=custom.batch_cswch_per_sec.target_script, time=1465484400, metric=19.87'
# mackerel post: name=custom.batch_nvcswch_per_sec.target_script, time=1465484400, metric=30.4
# mackerel post: name=custom.batch_cpu.target_script, time=1465484400, metric=21.2
# mackerel post: name=custom.batch_stk_ref.target_script, time=1465484400, metric=25500
# mackerel post: name=custom.batch_memory_rss.target_script, time=1465484400, metric=10900000000
# mackerel post: name=custom.batch_memory_percent.target_script, time=1465484400, metric=34.6
# mackerel post: name=custom.batch_stk_size.target_script, time=1465484400, metric=128000
# mackerel post: name=custom.batch_disk_write_per_sec.target_script, time=1465484400, metric=0
# mackerel post: name=custom.batch_cswch_per_sec.target_script, time=1465484400, metric=19.9
# mackerel post: name=custom.batch_disk_read_per_sec.target_script, time=1465484400, metric=0
# mackerel post: name=custom.batch_disk_write_per_sec.target_script2, time=1465484400, metric=0
# mackerel post: name=custom.batch_cswch_per_sec.target_script2, time=1465484400, metric=119.4
# mackerel post: name=custom.batch_disk_read_per_sec.target_script2, time=1465484400, metric=0
# mackerel post: name=custom.batch_memory_percent.target_script2, time=1465484400, metric=207.6
# mackerel post: name=custom.batch_stk_size.target_script2, time=1465484400, metric=768000
# mackerel post: name=custom.batch_memory_rss.target_script2, time=1465484400, metric=65400000000
# mackerel post: name=custom.batch_nvcswch_per_sec.target_script2, time=1465484400, metric=182.4
# mackerel post: name=custom.batch_cpu.target_script2, time=1465484400, metric=127.2
# mackerel post: name=custom.batch_stk_ref.target_script2, time=1465484400, metric=153000
# Looks like you failed 2 tests of 2.
# Failed test 'output to a file and mackerel'
# at t/02_basic.t line 198.
# Looks like you failed 2 tests of 7.
t/02_basic.t .............
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/7 subtests
t/03_reader.t ............ ok
t/04_writer.t ............ ok
# Failed test at t/05_collector.t line 35.
# Structures begin differing at:
# $got->{backup_mysql}{nvcswch_per_sec} = '30.4'
# $expected->{backup_mysql}{nvcswch_per_sec} = '30.44'
# {
# 'backup_mysql' => {
# 'cpu' => '21.2',
# 'cswch_per_sec' => '19.9',
# 'disk_read_per_sec' => 0,
# 'disk_write_per_sec' => 0,
# 'memory_percent' => '34.6',
# 'memory_rss' => '10900000000',
# 'nvcswch_per_sec' => '30.4',
# 'stk_ref' => 25500,
# 'stk_size' => 128000
# },
# 'summarize_log' => {
# 'cpu' => '21.2',
# 'cswch_per_sec' => '19.9',
# 'disk_read_per_sec' => 0,
# 'disk_write_per_sec' => 0,
# 'memory_percent' => '34.6',
# 'memory_rss' => '10900000000',
# 'nvcswch_per_sec' => '30.4',
# 'stk_ref' => 25500,
# 'stk_size' => 128000
# }
# }
# Failed test at t/05_collector.t line 66.
# Structures begin differing at:
# $got->{backup_mysql}{memory_rss} = '10900000000'
# $expected->{backup_mysql}{memory_rss} = '10881534000'
# {
# 'backup_mysql' => {
# 'cpu' => '21.2',
# 'cswch_per_sec' => '19.9',
# 'disk_read_per_sec' => 0,
# 'disk_write_per_sec' => 0,
# 'memory_percent' => '34.6',
# 'memory_rss' => '10900000000',
# 'nvcswch_per_sec' => '30.4',
# 'stk_ref' => 25500,
# 'stk_size' => 128000
# },
# 'summarize_log' => {
# 'cpu' => '63.6',
# 'cswch_per_sec' => '59.7',
# 'disk_read_per_sec' => 0,
# 'disk_write_per_sec' => 0,
# 'memory_percent' => '103.8',
# 'memory_rss' => '32700000000',
# 'nvcswch_per_sec' => '91.2',
# 'stk_ref' => 76500,
# 'stk_size' => 384000
# }
# }
# Looks like you failed 2 tests of 14.
t/05_collector.t .........
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/14 subtests
t/06_writer_mackerel.t ... ok
t/07_writer_file.t ....... ok
# Failed test at t/08_collector_parser.t line 13.
# Structures begin differing at:
# $got->{memory_rss} = '10900000000'
# $expected->{memory_rss} = '10876916000'
# {
# 'cpu' => '2.78',
# 'cswch_per_sec' => '6.48',
# 'disk_read_per_sec' => 0,
# 'disk_write_per_sec' => -1000,
# 'memory_percent' => '34.6',
# 'memory_rss' => '10900000000',
# 'nvcswch_per_sec' => '2.78',
# 'stk_ref' => 28000,
# 'stk_size' => 116000
# }
# Failed test at t/08_collector_parser.t line 30.
# Structures begin differing at:
# $got->{memory_rss} = '10900000000'
# $expected->{memory_rss} = '10881534000'
# {
# 'cpu' => '21.2',
# 'cswch_per_sec' => '19.9',
# 'disk_read_per_sec' => 0,
# 'disk_write_per_sec' => -250,
# 'memory_percent' => '34.6',
# 'memory_rss' => '10900000000',
# 'nvcswch_per_sec' => '30.4',
# 'stk_ref' => 25500,
# 'stk_size' => 128000
# }
# Failed test at t/08_collector_parser.t line 47.
# Structures begin differing at:
# $got->{stk_size} = '189500'
# $expected->{stk_size} = '190000'
# {
# 'cpu' => '42.5',
# 'cswch_per_sec' => '33.6',
# 'disk_read_per_sec' => 500,
# 'disk_write_per_sec' => -500,
# 'memory_percent' => '42.12',
# 'memory_rss' => '13550000000',
# 'nvcswch_per_sec' => '44',
# 'stk_ref' => 39500,
# 'stk_size' => 189500
# }
# Looks like you failed 3 tests of 5.
t/08_collector_parser.t ..
Dubious, test returned 3 (wstat 768, 0x300)
Failed 3/5 subtests
Test Summary Report
-------------------
t/02_basic.t (Wstat: 512 Tests: 7 Failed: 2)
Failed tests: 4, 6
Non-zero exit status: 2
t/05_collector.t (Wstat: 512 Tests: 14 Failed: 2)
Failed tests: 2-3
Non-zero exit status: 2
t/08_collector_parser.t (Wstat: 768 Tests: 5 Failed: 3)
Failed tests: 1-3
Non-zero exit status: 3
Files=9, Tests=54, 12 wallclock secs ( 0.02 usr 0.05 sys + 1.40 cusr 0.66 csys = 2.13 CPU)
Result: FAIL
------------------------------
PREREQUISITES
------------------------------
Prerequisite modules loaded:
requires:
Module Need Have
--------------------- -------- --------
Capture::Tiny == 0.40 0.48
IO::Socket::SSL == 2.024 2.074
JSON::XS == 3.01 4.03
Parallel::ForkManager == 1.17 2.02
Path::Tiny == 0.094 0.122
perl 5.008001 5.035005
Time::Piece::MySQL == 0.06 0.06
WebService::Mackerel == 0.03 0.05
build_requires:
Module Need Have
--------------------- -------- --------
Data::Section::Simple == 0.07 0.07
Test::Fatal 0.014 0.016
Test::Mock::Guard 0.10 0.10
Test::More 0.98 1.302188
configure_requires:
Module Need Have
--------------------- -------- --------
Module::Build::Tiny 0.035 0.039
------------------------------
ENVIRONMENT AND OTHER CONTEXT
------------------------------
Environment variables:
AUTOMATED_TESTING = 1
LANG = en_US.UTF-8
PATH = /home/sand/bin:/usr/local/bin:/usr/bin:/bin:/usr/games:/usr/local/perl/bin:/usr/X11/bin:/sbin:/usr/sbin
PERL5LIB =
PERL5OPT =
PERL5_CPANPLUS_IS_RUNNING = 3580064
PERL5_CPAN_IS_RUNNING = 3580064
PERL_CANARY_STABILITY_NOPROMPT = 1
PERL_MM_USE_DEFAULT = 1
PERL_USE_UNSAFE_INC = 1
SHELL = /usr/bin/zsh
TERM = screen
Perl special variables (and OS-specific diagnostics, for MSWin32):
$^X = /home/sand/src/perl/repoperls/installed-perls/host/k93msid/v5.35.5/8854/bin/perl
$UID/$EUID = 1005 / 1005
$GID = 1005 1005
$EGID = 1005 1005
Perl module toolchain versions installed:
Module Have
------------------- --------
CPAN 2.28
CPAN::Meta 2.150010
Cwd 3.82
ExtUtils::CBuilder 0.280236
ExtUtils::Command 7.62
ExtUtils::Install 2.20
ExtUtils::MakeMaker 7.62
ExtUtils::Manifest 1.73
ExtUtils::ParseXS 3.44
File::Spec 3.81
JSON 4.03
JSON::PP 4.06
Module::Build 0.4231
Module::Signature 0.87
Parse::CPAN::Meta 2.150010
Test::Harness 3.43
Test::More 1.302188
YAML 1.30
YAML::Syck 1.34
version 0.9929
--
Summary of my perl5 (revision 5 version 35 subversion 5) configuration:
Commit id: 14713429e65eb99c419694960cf6bdb876d43270
Platform:
osname=linux
osvers=5.14.0-3-amd64
archname=x86_64-linux-thread-multi-ld
uname='linux k93msid 5.14.0-3-amd64 #1 smp debian 5.14.12-1 (2021-10-14) x86_64 gnulinux '
config_args='-Dprefix=/home/sand/src/perl/repoperls/installed-perls/host/k93msid/v5.35.5/8854 -Dmyhostname=k93msid -Dinstallusrbinperl=n -Uversiononly -Dusedevel -des -Ui_db -Dlibswanted=cl pthread socket inet nsl gdbm dbm malloc dl ld sun m crypt sec util c cposix posix ucb BSD gdbm_compat -Duseithreads -Duselongdouble -DEBUGGING=-g'
hint=recommended
useposix=true
d_sigaction=define
useithreads=define
usemultiplicity=define
use64bitint=define
use64bitall=define
uselongdouble=define
usemymalloc=n
default_inc_excludes_dot=define
Compiler:
cc='cc'
ccflags ='-D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2'
optimize='-O2 -g'
cppflags='-D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include'
ccversion=''
gccversion='11.2.0'
gccosandvers=''
intsize=4
longsize=8
ptrsize=8
doublesize=8
byteorder=12345678
doublekind=3
d_longlong=define
longlongsize=8
d_longdbl=define
longdblsize=16
longdblkind=3
ivtype='long'
ivsize=8
nvtype='long double'
nvsize=16
Off_t='off_t'
lseeksize=8
alignbytes=16
prototype=define
Linker and Libraries:
ld='cc'
ldflags =' -fstack-protector-strong -L/usr/local/lib'
libpth=/usr/local/lib /usr/lib/x86_64-linux-gnu /usr/lib /lib/x86_64-linux-gnu /lib
libs=-lpthread -lnsl -ldl -lm -lcrypt -lutil -lc
perllibs=-lpthread -lnsl -ldl -lm -lcrypt -lutil -lc
libc=libc-2.32.so
so=so
useshrplib=false
libperl=libperl.a
gnulibc_version='2.32'
Dynamic Linking:
dlsrc=dl_dlopen.xs
dlext=so
d_dlsymun=undef
ccdlflags='-Wl,-E'
cccdlflags='-fPIC'
lddlflags='-shared -O2 -g -L/usr/local/lib -fstack-protector-strong'
Characteristics of this binary (from libperl):
Compile-time options:
HAS_TIMES
MULTIPLICITY
PERLIO_LAYERS
PERL_COPY_ON_WRITE
PERL_DONT_CREATE_GVSV
PERL_MALLOC_WRAP
PERL_OP_PARENT
PERL_PRESERVE_IVUV
PERL_USE_DEVEL
USE_64_BIT_ALL
USE_64_BIT_INT
USE_ITHREADS
USE_LARGE_FILES
USE_LOCALE
USE_LOCALE_COLLATE
USE_LOCALE_CTYPE
USE_LOCALE_NUMERIC
USE_LOCALE_TIME
USE_LONG_DOUBLE
USE_PERLIO
USE_PERL_ATOF
USE_REENTRANT_API
USE_THREAD_SAFE_LOCALE
Built under linux
Compiled at Nov 15 2021 09:15:48
%ENV:
PERL5LIB=""
PERL5OPT=""
PERL5_CPANPLUS_IS_RUNNING="3580064"
PERL5_CPAN_IS_RUNNING="3580064"
PERL_CANARY_STABILITY_NOPROMPT="1"
PERL_MM_USE_DEFAULT="1"
PERL_USE_UNSAFE_INC="1"
@INC:
/home/sand/src/perl/repoperls/installed-perls/host/k93msid/v5.35.5/8854/lib/site_perl/5.35.5/x86_64-linux-thread-multi-ld
/home/sand/src/perl/repoperls/installed-perls/host/k93msid/v5.35.5/8854/lib/site_perl/5.35.5
/home/sand/src/perl/repoperls/installed-perls/host/k93msid/v5.35.5/8854/lib/5.35.5/x86_64-linux-thread-multi-ld
/home/sand/src/perl/repoperls/installed-perls/host/k93msid/v5.35.5/8854/lib/5.35.5
.