Report for Sys-CpuAffinity-1.10

Back
From: metabase:user:2d7b16a6-3550-11e6-9a9d-71e3197220ed
Subject: PASS Sys-CpuAffinity-1.10 v5.22.2 GNU/Linux
Date: 2016-08-13T19:22:33Z

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.22.2, 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:

none provided

------------------------------
PROGRAM OUTPUT
------------------------------

Output from '/usr/bin/make test':

/usr/bin/perl Build --makefile_env_macros 1 test
# Testing Sys::CpuAffinity 1.10, Perl 5.022002, /usr/bin/perl, linux
t/00-load.t .......... ok


System configuration
====================
$^O = linux; $] = 5.022002
$ENV{AUTOMATED_TESTING} = 
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: /usr/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
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 16 is not valid for system with 4 processors.
 at t/10-exercise.t line 95.
t/10-exercise.t ...... ok


=================================================
Num processors =
    bindprocessor                  - 0 -
    dmesg_bsd                      - 0 -
    dmesg_solaris                  - 0 -
    ENV                            - 0 -
    hinv                           - 0 -
    hwprefs                        - 0 -
    lsdev                          - 0 -
    proc_cpuinfo                   - 4 -
    proc_stat                      - 4 -
    prtconf                        - 0 -
    psrinfo                        - 0 -
    sysctl                         - 0 -
    system_profiler                - 0 -
    taskset                        - 4 -
    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                        ==> 15
    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=32557 size=1024 cpuset=0x7ffff6496100
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
getaffinity9
getaffinity6 i=5 r=1
getaffinity9
getaffinity6 i=6 r=1
getaffinity9
getaffinity6 i=7 r=1
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
15
    xs_irix_sysmp                  ==> 0
    xs_processor_affinity          ==> 0
    xs_pthread_self_getaffinity    ==> 0
    xs_sched_getaffinity           ==> 15
    xs_win32                       ==> 0


==================================================
Set affinity =
    bindprocessor                  =>   8 ==>  15   [FAIL]
    BSD_Process_Affinity           =>   3 ==>  15   [FAIL]
    cpuset                         =>   7 ==>  15   [FAIL]
    pbind                          =>   3 ==>  15   [FAIL]
    taskset                        =>   2 ==>   2   [ ok ]
    Win32API                       =>  12 ==>   2   [FAIL]
    Win32Process                   =>  13 ==>   2   [FAIL]
    xs_cpuset_setaffinity          =>   3 ==>   2   [FAIL]
    xs_irix_sysmp                  =>  13 ==>   2   [FAIL]
    xs_processor_affinity          =>   6 ==>   2   [FAIL]
    xs_pthread_self_setaffinity    =>   8 ==>   2   [FAIL]
    xs_sched_setaffinity           =>   3 ==>   3   [ ok ]
    xs_win32                       =>   4 ==>   3   [FAIL]


t/11-exercise-all.t .. ok
# This system has 4 cpus. Spoofing Sys::CpuAffinity::getNumCpus() to return 32
t/12-32cpus.t ........ ok
All tests successful.
Files=5, Tests=24,  5 wallclock secs ( 0.04 usr  0.01 sys +  0.93 cusr  0.31 csys =  1.29 CPU)
Result: PASS

------------------------------
PREREQUISITES
------------------------------

Prerequisite modules loaded:

build_requires:

    Module             Need Have    
    ------------------ ---- --------
    Module::Build      0.25 0.4218  
    Test::More         0    1.302049

configure_requires:

    Module             Need Have    
    ------------------ ---- --------
    Module::Build      0.42 0.4218  

opt_requires:

    Module             Need Have    
    ------------------ ---- --------
    ExtUtils::CBuilder 0.15 0.280224


------------------------------
ENVIRONMENT AND OTHER CONTEXT
------------------------------

Environment variables:

    LANG = C
    LC_ADDRESS = en_US.iso88591
    LC_ALL = C
    LC_COLLATE = en_US.iso88591
    LC_CTYPE = en_US.iso88591
    LC_IDENTIFICATION = en_US.iso88591
    LC_MEASUREMENT = en_US.iso88591
    LC_MESSAGES = C
    LC_MONETARY = en_US.iso88591
    LC_NAME = en_US.iso88591
    LC_NUMERIC = en_US.iso88591
    LC_PAPER = A4
    LC_TELEPHONE = en_US.iso88591
    LC_TIME = POSIX
    NONINTERACTIVE_TESTING = 1
    PATH = /usr/local/bin:/usr/bin
    PERL5LIB = 
    PERL5OPT = 
    PERL5_CPANPLUS_IS_RUNNING = 29198
    PERL5_CPAN_IS_RUNNING = 29198
    PERL_MM_USE_DEFAULT = 1
    SHELL = /bin/zsh
    TERM = screen

Perl special variables (and OS-specific diagnostics, for MSWin32):

    $^X = /usr/bin/perl
    $UID/$EUID = 1000 / 1000
    $GID = 1000 10 18 48 964 965 967 979 985 1000 1001
    $EGID = 1000 10 18 48 964 965 967 979 985 1000 1001

Perl module toolchain versions installed:

    Module              Have    
    ------------------- --------
    CPAN                2.14    
    CPAN::Meta          2.150005
    Cwd                 3.62    
    ExtUtils::CBuilder  0.280224
    ExtUtils::Command   7.22    
    ExtUtils::Install   2.04    
    ExtUtils::MakeMaker 7.22    
    ExtUtils::Manifest  1.70    
    ExtUtils::ParseXS   3.30    
    File::Spec          3.62    
    JSON                2.90    
    JSON::PP            2.27400 
    Module::Build       0.4218  
    Module::Signature   0.80    
    Parse::CPAN::Meta   1.4422  
    Test::Harness       3.36    
    Test::More          1.302049
    YAML                1.18    
    YAML::Syck          1.29    
    version             0.9917  


--

Summary of my perl5 (revision 5 version 22 subversion 2) configuration:
   
  Platform:
    osname=linux, osvers=4.6.3-300.fc24.x86_64, archname=x86_64-linux-thread-multi
    uname='linux buildvm-05.phx2.fedoraproject.org 4.6.3-300.fc24.x86_64 #1 smp fri jun 24 20:52:41 utc 2016 x86_64 x86_64 x86_64 gnulinux '
    config_args='-des -Doptimize=none -Dccflags=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches  -m64 -mtune=generic -Dldflags=-Wl,-z,relro  -Dccdlflags=-Wl,--enable-new-dtags -Wl,-z,relro  -Dlddlflags=-shared -Wl,-z,relro  -Dshrpdir=/usr/lib64 -DDEBUGGING=-g -Dversion=5.22.2 -Dmyhostname=localhost -Dperladmin=root@localhost -Dcc=gcc -Dcf_by=Red Hat, Inc. -Dprefix=/usr -Dvendorprefix=/usr -Dsiteprefix=/usr/local -Dsitelib=/usr/local/share/perl5 -Dsitearch=/usr/local/lib64/perl5 -Dprivlib=/usr/share/perl5 -Dvendorlib=/usr/share/perl5/vendor_perl -Darchlib=/usr/lib64/perl5 -Dvendorarch=/usr/lib64/perl5/vendor_perl -Darchname=x86_64-linux-thread-multi -Dlibpth=/usr/local/lib64 /lib64 /usr/lib64 -Duseshrplib -Dusethreads -Duseithreads -Dusedtrace=/usr/bin/dtrace -Duselargefiles -Dd_semctl_semun -Di_db -Ui_ndbm -Di_gdbm -Di_shadow -Di_syslog -Dman3ext=3pm -Duseperlio -Dinstallusrbinperl=n -Ubincompat5005 -Uversiononly -Dpager=/usr/bin/less -isr -Dd_gethostent_r_proto -Ud_endhostent_r_proto -Ud_sethostent_r_proto -Ud_endprotoent_r_proto -Ud_setprotoent_r_proto -Ud_endservent_r_proto -Ud_setservent_r_proto -Dscriptdir=/usr/bin -Dusesitecustomize'
    hint=recommended, useposix=true, d_sigaction=define
    useithreads=define, usemultiplicity=define
    use64bitint=define, use64bitall=define, uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='gcc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
    optimize='  -g',
    cppflags='-D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fwrapv -fno-strict-aliasing -I/usr/local/include'
    ccversion='', gccversion='6.1.1 20160621 (Red Hat 6.1.1-3)', 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='gcc', ldflags ='-Wl,-z,relro  -fstack-protector-strong -L/usr/local/lib'
    libpth=/usr/local/lib64 /lib64 /usr/lib64 /usr/local/lib /usr/lib /lib/../lib64 /usr/lib/../lib64 /lib
    libs=-lpthread -lresolv -lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc -lgdbm_compat
    perllibs=-lpthread -lresolv -lnsl -ldl -lm -lcrypt -lutil -lc
    libc=libc-2.23.so, so=so, useshrplib=true, libperl=libperl.so
    gnulibc_version='2.23'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,--enable-new-dtags -Wl,-z,relro '
    cccdlflags='-fPIC', lddlflags='-shared -Wl,-z,relro  -L/usr/local/lib -fstack-protector-strong'


Characteristics of this binary (from libperl): 
  Compile-time options: HAS_TIMES MULTIPLICITY PERLIO_LAYERS
                        PERL_DONT_CREATE_GVSV
                        PERL_HASH_FUNC_ONE_AT_A_TIME_HARD
                        PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP
                        PERL_NEW_COPY_ON_WRITE PERL_PRESERVE_IVUV
                        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
                        USE_SITECUSTOMIZE
  Locally applied patches:
	Fedora Patch1: Removes date check, Fedora/RHEL specific
	Fedora Patch3: support for libdir64
	Fedora Patch4: use libresolv instead of libbind
	Fedora Patch5: USE_MM_LD_RUN_PATH
	Fedora Patch6: Skip hostname tests, due to builders not being network capable
	Fedora Patch7: Dont run one io test due to random builder failures
	Fedora Patch15: Define SONAME for libperl.so
	Fedora Patch16: Install libperl.so to -Dshrpdir value
	Fedora Patch22: Document Math::BigInt::CalcEmu requires Math::BigInt (CPAN RT#85015)
	Fedora Patch26: Make *DBM_File desctructors thread-safe (RT#61912)
	Fedora Patch27: Make PadlistNAMES() lvalue again (CPAN RT#101063)
	Fedora Patch28: Make magic vtable writable as a work-around for Coro (CPAN RT#101063)
	Fedora Patch29: Fix duplicating PerlIO::encoding when spawning threads (RT#31923)
	Fedora Patch30: Do not let XSLoader load relative paths (CVE-2016-6185)
	Fedora Patch31: Avoid loading optional modules from default . (CVE-2016-1238)
	Fedora Patch200: Link XS modules to libperl.so with EU::CBuilder on Linux
	Fedora Patch201: Link XS modules to libperl.so with EU::MM on Linux
  Built under linux
  Compiled at Aug  3 2016 13:39:13
  %ENV:
    PERL5LIB=""
    PERL5OPT=""
    PERL5_CPANPLUS_IS_RUNNING="29198"
    PERL5_CPAN_IS_RUNNING="29198"
    PERL_MM_USE_DEFAULT="1"
  @INC:
    /usr/local/lib64/perl5
    /usr/local/share/perl5
    /usr/lib64/perl5/vendor_perl
    /usr/share/perl5/vendor_perl
    /usr/lib64/perl5
    /usr/share/perl5
    .