Back
From: metabase:user:a0e144f2-373b-11e6-8edd-c6848980b093
Subject: PASS Sys-CpuAffinity-1.10 v5.25.6 GNU/Linux
Date: 2016-11-08T23:37:45Z
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.10
on perl 5.25.6, created by CPAN-Reporter-1.2018.
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':
# Testing Sys::CpuAffinity 1.10, Perl 5.025006, /home/cpan3/install/bin/perl, linux
t/00-load.t .......... ok
System configuration
====================
$^O = linux; $] = 5.025006
$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
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 - 8 -
proc_stat - 8 -
prtconf - 0 -
psrinfo - 0 -
sysctl - 0 -
system_profiler - 0 -
taskset - 8 -
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 ==> 255
Win32API ==> 0
Win32Process ==> 0
xs_cpuset_getaffinity ==> 0
xs_DEBUG_sched_getaffinity ==> ---
diag CPU_SETSIZE=1024
diag sizeof(__cpu_mask)=8
diag __NCPUBITS=64
diag sizeof(cpu_set_t)=128
diag sizeof(pid_t)=4
getaffinity0
getaffinity1 pid=31943 size=1024 cpuset=0x7f6adb7d9e00
getaffinity2
getaffinity5
getaffinity6 i=0 r=0
getaffinity7
getaffinity8 add 0 to mask
getaffinity9
getaffinity6 i=1 r=1
getaffinity7
getaffinity8 add 1 to mask
getaffinity9
getaffinity6 i=2 r=1
getaffinity7
getaffinity8 add 2 to mask
getaffinity9
getaffinity6 i=3 r=1
getaffinity7
getaffinity8 add 3 to mask
getaffinity9
getaffinity6 i=4 r=1
getaffinity7
getaffinity8 add 4 to mask
getaffinity9
getaffinity6 i=5 r=1
getaffinity7
getaffinity8 add 5 to mask
getaffinity9
getaffinity6 i=6 r=1
getaffinity7
getaffinity8 add 6 to mask
getaffinity9
getaffinity6 i=7 r=1
getaffinity7
getaffinity8 add 7 to mask
getaffinity9
getaffinity6 i=8 r=1
getaffinity9
getaffinity6 i=9 r=1
getaffinity9
getaffinity6 i=10 r=1
getaffinity9
getaffinity6 i=11 r=1
getaffinity9
getaffinity6 i=12 r=1
getaffinity9
getaffinity6 i=13 r=1
getaffinity9
getaffinity6 i=14 r=1
getaffinity9
getaffinity6 i=15 r=1
getaffinity9
getaffinity6 i=16 r=1
getaffinity9
getaffinity6 i=17 r=1
getaffinity9
getaffinity6 i=18 r=1
getaffinity9
getaffinity6 i=19 r=1
getaffinity9
getaffinity6 i=20 r=1
getaffinity9
getaffinity6 i=21 r=1
getaffinity9
getaffinity6 i=22 r=1
getaffinity9
getaffinity6 i=23 r=1
getaffinity9
getaffinity6 i=24 r=1
getaffinity9
getaffinity6 i=25 r=1
getaffinity9
getaffinity6 i=26 r=1
getaffinity9
getaffinity6 i=27 r=1
getaffinity9
getaffinity6 i=28 r=1
getaffinity9
getaffinity6 i=29 r=1
getaffinity9
getaffinity6 i=30 r=1
getaffinity9
getaffinity6 i=31 r=1
getaffinity9
getaffinity6 i=32 r=1
getaffinity9
getaffinity6 i=33 r=1
getaffinity9
getaffinity6 i=34 r=1
getaffinity9
getaffinity6 i=35 r=1
getaffinity9
getaffinity6 i=36 r=1
getaffinity9
getaffinity6 i=37 r=1
getaffinity9
getaffinity6 i=38 r=1
getaffinity9
getaffinity6 i=39 r=1
getaffinity9
getaffinity6 i=40 r=1
getaffinity9
getaffinity6 i=41 r=1
getaffinity9
getaffinity6 i=42 r=1
getaffinity9
getaffinity6 i=43 r=1
getaffinity9
getaffinity6 i=44 r=1
getaffinity9
getaffinity6 i=45 r=1
getaffinity9
getaffinity6 i=46 r=1
getaffinity9
getaffinity6 i=47 r=1
getaffinity9
getaffinity6 i=48 r=1
getaffinity9
getaffinity6 i=49 r=1
getaffinity9
getaffinity6 i=50 r=1
getaffinity9
getaffinity6 i=51 r=1
getaffinity9
getaffinity6 i=52 r=1
getaffinity9
getaffinity6 i=53 r=1
getaffinity9
getaffinity6 i=54 r=1
getaffinity9
getaffinity6 i=55 r=1
getaffinity9
getaffinity6 i=56 r=1
getaffinity9
getaffinity6 i=57 r=1
getaffinity9
getaffinity6 i=58 r=1
getaffinity9
getaffinity6 i=59 r=1
getaffinity9
getaffinity6 i=60 r=1
getaffinity9
getaffinity6 i=61 r=1
getaffinity9
getaffinity6 i=62 r=1
getaffinity9
getaffinity6 i=63 r=1
getaffinity9
getaffinitya r=1
255
xs_irix_sysmp ==> 0
xs_processor_affinity ==> 0
xs_pthread_self_getaffinity ==> 0
xs_sched_getaffinity ==> 255
xs_win32 ==> 0
==================================================
Set affinity =
bindprocessor => 2 ==> 255 [FAIL]
BSD_Process_Affinity => 36 ==> 255 [FAIL]
cpuset => 200 ==> 255 [FAIL]
pbind => 20 ==> 255 [FAIL]
taskset => 145 ==> 145 [ ok ]
Win32API => 12 ==> 145 [FAIL]
Win32Process => 73 ==> 145 [FAIL]
xs_cpuset_setaffinity => 231 ==> 145 [FAIL]
xs_irix_sysmp => 205 ==> 145 [FAIL]
xs_processor_affinity => 250 ==> 145 [FAIL]
xs_pthread_self_setaffinity => 174 ==> 145 [FAIL]
xs_sched_setaffinity => 212 ==> 212 [ ok ]
xs_win32 => 167 ==> 212 [FAIL]
t/11-exercise-all.t .. ok
# This system has 8 cpus. Spoofing Sys::CpuAffinity::getNumCpus() to return 32
t/12-32cpus.t ........ ok
result: -1 3 ESRCH
result: -1 3 ESRCH
Sys::CpuAffinity: invalid mask 0 in call to setAffinty
at t/10-exercise.t line 94.
Sys::CpuAffinity: mask 256 is not valid for system with 8 processors.
at t/10-exercise.t line 95.
t/10-exercise.t ...... ok
All tests successful.
Files=5, Tests=24, 3 wallclock secs ( 0.03 usr 0.02 sys + 1.71 cusr 0.08 csys = 1.84 CPU)
Result: PASS
------------------------------
PREREQUISITES
------------------------------
Prerequisite modules loaded:
build_requires:
Module Need Have
------------------ ---- --------
Module::Build 0.25 0.4220
Test::More 0 1.302061
configure_requires:
Module Need Have
------------------ ---- --------
Module::Build 0.42 0.4220
opt_requires:
Module Need Have
------------------ ---- --------
ExtUtils::CBuilder 0.15 0.280225
------------------------------
ENVIRONMENT AND OTHER CONTEXT
------------------------------
Environment variables:
AUTOMATED_TESTING = 1
HARNESS_OPTIONS = j3
LANG = en_US.UTF-8
PATH = /usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
PERL5LIB =
PERL5OPT =
PERL5_CPANPLUS_IS_RUNNING = 24189
PERL5_CPAN_IS_RUNNING = 24189
PERL5_CPAN_IS_RUNNING_IN_RECURSION = 25063,24189
PERLBREW_BASHRC_VERSION = 0.76
PERLBREW_HOME = /home/dcollins/.perlbrew
PERLBREW_ROOT = /home/dcollins/toolchain/perl5
PERL_CR_SMOKER_CURRENT = Sys-CpuAffinity-1.10
PERL_CR_SMOKER_RUNONCE = 1
PERL_EXTUTILS_AUTOINSTALL = --defaultdeps
PERL_MM_USE_DEFAULT = 1
SHELL = /bin/bash
TERM = putty
Perl special variables (and OS-specific diagnostics, for MSWin32):
$^X = /home/cpan3/install/bin/perl
$UID/$EUID = 1004 / 1004
$GID = 1004 1004
$EGID = 1004 1004
Perl module toolchain versions installed:
Module Have
------------------- ----------
CPAN 2.14_01
CPAN::Meta 2.150010
Cwd 3.65
ExtUtils::CBuilder 0.280225
ExtUtils::Command 7.24
ExtUtils::Install 2.04
ExtUtils::MakeMaker 7.24
ExtUtils::Manifest 1.70
ExtUtils::ParseXS 3.33
File::Spec 3.65
JSON 2.90
JSON::PP 2.27400_01
Module::Build 0.4220
Module::Signature 0.81
Parse::CPAN::Meta 2.150010
Test::Harness 3.36_01
Test::More 1.302061
YAML 1.18
YAML::Syck 1.29
version 0.9917
--
Summary of my perl5 (revision 5 version 25 subversion 6) configuration:
Commit id: 11a12be6c2df2fcd9601f9fde8c7df8c7538c956
Platform:
osname=linux
osvers=3.16.0-4-amd64
archname=x86_64-linux-thread-multi
uname='linux digitalis 3.16.0-4-amd64 #1 smp debian 3.16.36-1+deb8u1 (2016-09-03) x86_64 gnulinux '
config_args='-Dusedevel -DDEBUGGING -Dusethreads -Dprefix=/home/cpan3/install -Uversiononly -des'
hint=recommended
useposix=true
d_sigaction=define
useithreads=define
usemultiplicity=define
use64bitint=define
use64bitall=define
uselongdouble=undef
usemymalloc=n
bincompat5005=undef
Compiler:
cc='cc'
ccflags ='-D_REENTRANT -D_GNU_SOURCE -fwrapv -DDEBUGGING -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 -DDEBUGGING -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include'
ccversion=''
gccversion='4.9.2'
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='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/x86_64-linux-gnu/4.9/include-fixed /usr/include/x86_64-linux-gnu /usr/lib /lib/x86_64-linux-gnu /lib/../lib /usr/lib/x86_64-linux-gnu /usr/lib/../lib /lib
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 -g -L/usr/local/lib -fstack-protector-strong'
Characteristics of this binary (from libperl):
Compile-time options:
DEBUGGING
HAS_TIMES
MULTIPLICITY
PERLIO_LAYERS
PERL_COPY_ON_WRITE
PERL_DONT_CREATE_GVSV
PERL_HASH_FUNC_ONE_AT_A_TIME_HARD
PERL_IMPLICIT_CONTEXT
PERL_MALLOC_WRAP
PERL_OP_PARENT
PERL_PRESERVE_IVUV
PERL_TRACK_MEMPOOL
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_PERLIO
USE_PERL_ATOF
USE_REENTRANT_API
Built under linux
Compiled at Oct 30 2016 10:43:21
%ENV:
PERL5LIB=""
PERL5OPT=""
PERL5_CPANPLUS_IS_RUNNING="24189"
PERL5_CPAN_IS_RUNNING="24189"
PERL5_CPAN_IS_RUNNING_IN_RECURSION="25063,24189"
PERLBREW_BASHRC_VERSION="0.76"
PERLBREW_HOME="/home/dcollins/.perlbrew"
PERLBREW_ROOT="/home/dcollins/toolchain/perl5"
PERL_CR_SMOKER_CURRENT="Sys-CpuAffinity-1.10"
PERL_CR_SMOKER_RUNONCE="1"
PERL_EXTUTILS_AUTOINSTALL="--defaultdeps"
PERL_MM_USE_DEFAULT="1"
@INC:
/home/cpan3/install/lib/perl5/site_perl/5.25.6/x86_64-linux-thread-multi
/home/cpan3/install/lib/perl5/site_perl/5.25.6
/home/cpan3/install/lib/perl5/5.25.6/x86_64-linux-thread-multi
/home/cpan3/install/lib/perl5/5.25.6
.