Back
From: metabase:user:3c0d75b6-029c-11e5-90b1-5b610b895903
Subject: PASS Sys-CpuAffinity-1.11_02 v5.24.0 GNU/Linux
Date: 2016-11-16T07:04:37Z
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 Marty O'Brien,
This is a computer-generated report for Sys-CpuAffinity-1.11_02
on perl 5.24.0, created by CPAN-Reporter-1.2017.
Thank you for uploading your work to CPAN. Congratulations!
All tests were successful.
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':
System configuration
====================
$^O = linux; $] = 5.024000
$ENV{AUTOMATED_TESTING} = 1
Defined XS functions:
xs_fortytwo
xs_sched_getaffinity_get_affinity
xs_sched_setaffinity_set_affinity
module Win32::API: not available
module Win32::Process: not available
module BSD::Process::Affinity: not available
bindprocessor: not found
dmesg available at: /bin/dmesg
sysctl available at: /sbin/sysctl
psrinfo: not found
hinv: not found
hwprefs: not found
lsdev: not found
system_profiler: not found
prtconf: not found
taskset available at: /usr/bin/taskset
pbind: not found
cpuset: not found
# Testing Sys::CpuAffinity 1.11_02, Perl 5.024000, /home/fperrad/perl5/perlbrew/perls/perl-5.24.0/bin/perl, linux
t/00-load.t .......... ok
t/02-available.t ..... ok
=================================================
Num processors =
bindprocessor - 0 -
dmesg_bsd - 0 -
dmesg_solaris - 0 -
ENV - 0 -
hinv - 0 -
hwprefs - 0 -
lsdev - 0 -
proc_cpuinfo - 2 -
proc_stat - 2 -
prtconf - 0 -
psrinfo - 0 -
sysctl - 0 -
system_profiler - 0 -
taskset - 2 -
Test_Smoke_SysInfo - 0 -
Win32API_System_Info - 0 -
xs_cpusetGetCPUCount - 0 -
xs_solaris - 0 -
xs_Win32API_System_Info - 0 -
===============================================
Current affinity =
BSD_Process_Affinity ==> 0
cpuset ==> 0
pbind ==> 0
psaix ==> 0
taskset ==> 3
Win32API ==> 0
Win32Process ==> 0
xs_cpuset_getaffinity ==> 0
xs_DEBUG_sched_getaffinity ==> ---
diag CPU_SETSIZE=1024
diag sizeof(__cpu_mask)=4
diag __NCPUBITS=32
diag sizeof(cpu_set_t)=128
diag sizeof(pid_t)=4
getaffinity0
getaffinity1 pid=17381 size=1024 128 cpuset=0x20
getaffinity2 ncpus=2
getaffinity5
getaffinity6 i=0 r=0
getaffinity8 add 0 to mask
getaffinity6 i=1 r=1
getaffinity8 add 1 to mask
getaffinitya r=1
3
xs_irix_sysmp ==> 0
xs_processor_affinity ==> 0
xs_processor_bind ==> 0
xs_pthread_self_getaffinity ==> 0
xs_sched_getaffinity ==> 3
xs_win32 ==> 0
result: -1 3 ESRCH
result: -1 3 ESRCH
Sys::CpuAffinity: invalid mask 0 in call to setAffinty
at t/10-exercise.t line 110.
Sys::CpuAffinity: mask 4 is not valid for system with 2 processors.
at t/10-exercise.t line 111.
==================================================
Set affinity =
bindprocessor => 1 ==> 3 [FAIL]
BSD_Process_Affinity => 1 ==> 3 [FAIL]
cpuset => 2 ==> 3 [FAIL]
pbind => 1 ==> 3 [FAIL]
taskset => 2 ==> 2 [ ok ]
Win32API => 3 ==> 2 [FAIL]
Win32Process => 3 ==> 2 [FAIL]
xs_cpuset_setaffinity => 3 ==> 2 [FAIL]
xs_irix_sysmp => 1 ==> 2 [FAIL]
xs_processor_affinity => 3 ==> 2 [FAIL]
xs_processor_bind => 1 ==> 2 [FAIL]
xs_pthread_self_setaffinity => 3 ==> 2 [FAIL]
xs_sched_setaffinity => 1 ==> 1 [ ok ]
xs_win32 => 3 ==> 1 [FAIL]
t/10-exercise.t ...... ok
t/11-exercise-all.t .. ok
# This system has 2 cpus. Spoofing Sys::CpuAffinity::getNumCpus() to return 32
t/12-32cpus.t ........ ok
All tests successful.
Files=5, Tests=24, 8 wallclock secs ( 0.25 usr 0.04 sys + 6.87 cusr 0.65 csys = 7.81 CPU)
Result: PASS
------------------------------
PREREQUISITES
------------------------------
Prerequisite modules loaded:
build_requires:
Module Need Have
------------------ ---- --------
Module::Build 0.25 0.4218
Test::More 0 1.001014
configure_requires:
Module Need Have
------------------ ---- --------
Module::Build 0.42 0.4218
opt_requires:
Module Need Have
------------------ ---- --------
ExtUtils::CBuilder 0.15 0.280225
------------------------------
ENVIRONMENT AND OTHER CONTEXT
------------------------------
Environment variables:
AUTOMATED_TESTING = 1
HARNESS_OPTIONS = j2
LANG = C.UTF-8
PATH = /home/fperrad/perl5/perlbrew/bin:/home/fperrad/perl5/perlbrew/perls/perl-5.24.0/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
PERL5LIB =
PERL5OPT =
PERL5_CPANPLUS_IS_RUNNING = 17184
PERL5_CPAN_IS_RUNNING = 17184
PERL5_CPAN_IS_RUNNING_IN_RECURSION = 1353,17184
PERLBREW_BASHRC_VERSION = 0.76
PERLBREW_HOME = /home/fperrad/.perlbrew
PERLBREW_MANPATH = /home/fperrad/perl5/perlbrew/perls/perl-5.24.0/man
PERLBREW_PATH = /home/fperrad/perl5/perlbrew/bin:/home/fperrad/perl5/perlbrew/perls/perl-5.24.0/bin
PERLBREW_PERL = perl-5.24.0
PERLBREW_ROOT = /home/fperrad/perl5/perlbrew
PERLBREW_VERSION = 0.76
PERL_CR_SMOKER_CURRENT = Sys-CpuAffinity-1.11_02
PERL_EXTUTILS_AUTOINSTALL = --defaultdeps
PERL_MM_USE_DEFAULT = 1
SHELL = /bin/bash
TERM = xterm-256color
Perl special variables (and OS-specific diagnostics, for MSWin32):
$^X = /home/fperrad/perl5/perlbrew/perls/perl-5.24.0/bin/perl
$UID/$EUID = 1001 / 1001
$GID = 1001 27 1001
$EGID = 1001 27 1001
Perl module toolchain versions installed:
Module Have
------------------- --------
CPAN 2.11
CPAN::Meta 2.150005
Cwd 3.63
ExtUtils::CBuilder 0.280225
ExtUtils::Command 7.10
ExtUtils::Install 2.04
ExtUtils::MakeMaker 7.10_01
ExtUtils::Manifest 1.70
ExtUtils::ParseXS 3.31
File::Spec 3.63
JSON n/a
JSON::PP 2.27300
Module::Build 0.4218
Module::Signature n/a
Parse::CPAN::Meta 1.4417
Test::Harness 3.36
Test::More 1.001014
YAML n/a
YAML::Syck n/a
version 0.9916
--
Summary of my perl5 (revision 5 version 24 subversion 0) configuration:
Platform:
osname=linux, osvers=3.4.107-lime, archname=armv7l-linux
uname='linux lime 3.4.107-lime #15 smp preempt fri may 22 11:36:49 cest 2015 armv7l gnulinux '
config_args='-de -Dprefix=/home/fperrad/perl5/perlbrew/perls/perl-5.24.0 -Aeval:scriptdir=/home/fperrad/perl5/perlbrew/perls/perl-5.24.0/bin'
hint=recommended, useposix=true, d_sigaction=define
useithreads=undef, usemultiplicity=undef
use64bitint=undef, use64bitall=undef, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-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',
cppflags='-fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include'
ccversion='', gccversion='4.9.2', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234, doublekind=3
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8, longdblkind=0
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='cc', ldflags =' -fstack-protector-strong -L/usr/local/lib'
libpth=/usr/local/lib /usr/lib/gcc/arm-linux-gnueabihf/4.9/include-fixed /usr/include/arm-linux-gnueabihf /usr/lib /lib/arm-linux-gnueabihf /lib /usr/lib/arm-linux-gnueabihf
libs=-lpthread -lnsl -ldl -lm -lcrypt -lutil -lc
perllibs=-lpthread -lnsl -ldl -lm -lcrypt -lutil -lc
libc=libc-2.19.so, so=so, useshrplib=false, libperl=libperl.a
gnulibc_version='2.19'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
cccdlflags='-fPIC', lddlflags='-shared -O2 -L/usr/local/lib -fstack-protector-strong'
Characteristics of this binary (from libperl):
Compile-time options: HAS_TIMES PERLIO_LAYERS PERL_COPY_ON_WRITE
PERL_DONT_CREATE_GVSV
PERL_HASH_FUNC_ONE_AT_A_TIME_HARD PERL_MALLOC_WRAP
PERL_PRESERVE_IVUV USE_LARGE_FILES USE_LOCALE
USE_LOCALE_COLLATE USE_LOCALE_CTYPE
USE_LOCALE_NUMERIC USE_LOCALE_TIME USE_PERLIO
USE_PERL_ATOF
Locally applied patches:
Devel::PatchPerl 1.38
Built under linux
Compiled at May 9 2016 21:01:38
%ENV:
PERL5LIB=""
PERL5OPT=""
PERL5_CPANPLUS_IS_RUNNING="17184"
PERL5_CPAN_IS_RUNNING="17184"
PERL5_CPAN_IS_RUNNING_IN_RECURSION="1353,17184"
PERLBREW_BASHRC_VERSION="0.76"
PERLBREW_HOME="/home/fperrad/.perlbrew"
PERLBREW_MANPATH="/home/fperrad/perl5/perlbrew/perls/perl-5.24.0/man"
PERLBREW_PATH="/home/fperrad/perl5/perlbrew/bin:/home/fperrad/perl5/perlbrew/perls/perl-5.24.0/bin"
PERLBREW_PERL="perl-5.24.0"
PERLBREW_ROOT="/home/fperrad/perl5/perlbrew"
PERLBREW_VERSION="0.76"
PERL_CR_SMOKER_CURRENT="Sys-CpuAffinity-1.11_02"
PERL_EXTUTILS_AUTOINSTALL="--defaultdeps"
PERL_MM_USE_DEFAULT="1"
@INC:
/home/fperrad/perl5/perlbrew/perls/perl-5.24.0/lib/site_perl/5.24.0/armv7l-linux
/home/fperrad/perl5/perlbrew/perls/perl-5.24.0/lib/site_perl/5.24.0
/home/fperrad/perl5/perlbrew/perls/perl-5.24.0/lib/5.24.0/armv7l-linux
/home/fperrad/perl5/perlbrew/perls/perl-5.24.0/lib/5.24.0
.