Report for Sys-CpuAffinity-1.10

Back
From: metabase:user:30f4dfbe-2aae-11df-837a-5e0a49663a4f
Subject: PASS Sys-CpuAffinity-1.10 v5.16.3 Mac OS X
Date: 2016-10-02T23:35:28Z

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.16.3, 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':

compilet-Dlj1v.c:1:5: warning: no previous prototype for function 'boot_compilet' [-Wmissing-prototypes]
int boot_compilet() { return 1; }
    ^
1 warning generated.
ld: warning: object file (compilet-Dlj1v.o) was built for newer OSX version (10.11) than being linked (10.4)
# Testing Sys::CpuAffinity 1.10, Perl 5.016003, /Users/hornenj/perl5/perlbrew/perls/perl-5.16.3/bin/perl5.16.3, darwin
t/00-load.t .......... ok


System configuration
====================
$^O = darwin; $] = 5.016003
$ENV{AUTOMATED_TESTING} = 1
Defined XS functions:
	xs_fortytwo

module Win32::API: not available
module Win32::Process: not available
module BSD::Process::Affinity: not available
bindprocessor: not found
dmesg available at: /sbin/dmesg
sysctl available at: /usr/sbin/sysctl
psrinfo: not found
hinv: not found
hwprefs: not found
lsdev: not found
system_profiler available at: /usr/sbin/system_profiler
prtconf: not found
taskset: not found
pbind: not found
cpuset: not found

t/02-available.t ..... ok
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                   - 0 -
    proc_stat                      - 0 -
    prtconf                        - 0 -
    psrinfo                        - 0 -
    sysctl                         Sys::CpuAffinity: Program sysctl is available in /usr/sbin/sysctl
Sys::CpuAffinity: sysctl output:
hw.ncpu: 8

- 8 -
    system_profiler                Sys::CpuAffinity: Program system_profiler is available in /usr/sbin/system_profiler
- 0 -
    taskset                        - 0 -
    Test_Smoke_SysInfo             Sys::CpuAffinity: module Test::Smoke::SysInfo not available: Can't locate Test/Smoke/SysInfo.pm in @INC (@INC contains: blib/lib blib/arch /Users/hornenj/.cpan/build/Sys-CpuAffinity-1.10-73VVo8/blib/lib /Users/hornenj/.cpan/build/Sys-CpuAffinity-1.10-73VVo8/blib/arch /Users/hornenj/.cpan/build/Sys-CpuAffinity-1.10-73VVo8/_build/lib /Users/hornenj/perl5/perlbrew/perls/perl-5.16.3/lib/site_perl/5.16.3/darwin-thread-multi-2level /Users/hornenj/perl5/perlbrew/perls/perl-5.16.3/lib/site_perl/5.16.3 /Users/hornenj/perl5/perlbrew/perls/perl-5.16.3/lib/5.16.3/darwin-thread-multi-2level /Users/hornenj/perl5/perlbrew/perls/perl-5.16.3/lib/5.16.3 .) at (eval 10) line 2.

- 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                        ==> 0
    Win32API                       ==> 0
    Win32Process                   ==> 0
    xs_cpuset_getaffinity          ==> 0
    xs_DEBUG_sched_getaffinity     ==> 0
Use of uninitialized value $z in numeric gt (>) at t/11-exercise-all.t line 113.
    xs_irix_sysmp                  ==> 0
    xs_processor_affinity          ==> 0
    xs_pthread_self_getaffinity    ==> 0
    xs_sched_getaffinity           ==> 0
    xs_win32                       ==> 0


==========================================

The function 'Sys::CpuAffinity::getAffinity' does
not seem to work on this system.

The Mac OS does not provide (as far as I can tell)
a way to manipulate the CPU affinities of processes.


==========================================




==================================================
Set affinity =
   bindprocessor                  => no affinity ==> FAIL
   BSD_Process_Affinity           => no affinity ==> FAIL
   cpuset                         => no affinity ==> FAIL
   pbind                          => no affinity ==> FAIL
   taskset                        => no affinity ==> FAIL
   Win32API                       => no affinity ==> FAIL
   Win32Process                   => no affinity ==> FAIL
   xs_cpuset_setaffinity          => no affinity ==> FAIL
   xs_irix_sysmp                  => no affinity ==> FAIL
   xs_processor_affinity          => no affinity ==> FAIL
   xs_pthread_self_setaffinity    => no affinity ==> FAIL
   xs_sched_setaffinity           => no affinity ==> FAIL
   xs_win32                       => no affinity ==> FAIL


==========================================

The function 'Sys::CpuAffinity::setAffinity' does
not seem to work on this system.

The Mac OS does not provide (as far as I can tell)
a way to manipulate the CPU affinities of processes.


==========================================




t/11-exercise-all.t .. ok
t/12-32cpus.t ........ ok
All tests successful.
Files=5, Tests=24,  2 wallclock secs ( 0.02 usr  0.01 sys +  0.49 cusr  0.27 csys =  0.79 CPU)
Result: PASS

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

Prerequisite modules loaded:

build_requires:

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

configure_requires:

    Module        Need Have    
    ------------- ---- --------
    Module::Build 0.42 0.4214  


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

Environment variables:

    AUTOMATED_TESTING = 1
    LANG = en_US.UTF-8
    LC_ALL = POSIX
    LDFLAGS = 
    PATH = /Users/hornenj/perl5/perlbrew/bin:/Users/hornenj/perl5/perlbrew/perls/perl-5.16.3/bin:/Users/hornenj/perl5/perlbrew/bin:/Users/hornenj/bin:/sw/lib/perl5/ExtUtils:/sw/bin:/am/ncbiapdata/bin:/usr/bin:/bin:/usr/X11R6/bin:/netopt/ncbi_tools/bin:/usr/local/ncbi/blast/bin:/net/traces01.be-md.ncbi.nlm.nih.gov/trace_software/vdb/mac/release/x86_64/bin
    PERL5LIB = 
    PERL5OPT = 
    PERL5_CPANPLUS_IS_RUNNING = 11101
    PERL5_CPAN_IS_RUNNING = 11101
    PERL5_MINISMOKEBOX = 0.58
    PERLBREW_BASHRC_VERSION = 0.76
    PERLBREW_HOME = /Users/hornenj/.perlbrew
    PERLBREW_LIB = 
    PERLBREW_MANPATH = /Users/hornenj/perl5/perlbrew/perls/perl-5.16.3/man
    PERLBREW_PATH = /Users/hornenj/perl5/perlbrew/bin:/Users/hornenj/perl5/perlbrew/perls/perl-5.16.3/bin
    PERLBREW_PERL = perl-5.16.3
    PERLBREW_ROOT = /Users/hornenj/perl5/perlbrew
    PERLBREW_VERSION = 0.76
    PERL_EXTUTILS_AUTOINSTALL = --defaultdeps
    PERL_LOCAL_LIB_ROOT = 
    PERL_MM_USE_DEFAULT = 1
    SHELL = /bin/bash
    TERM = xterm-256color
    TMPDIR = /var/folders/pz/pd7y1qjs6s3cbk170cw50fjc000c61/T/
    ac_cv_path_INTLTOOL_PERL = /usr/bin/perl

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

    $^X = /Users/hornenj/perl5/perlbrew/perls/perl-5.16.3/bin/perl5.16.3
    $UID/$EUID = 12481 / 12481
    $GID = 14 14 5344 37191 527 37223 241
    $EGID = 14 14 5344 37191 527 37223 241

Perl module toolchain versions installed:

    Module              Have    
    ------------------- --------
    CPAN                2.10    
    CPAN::Meta          2.150005
    Cwd                 3.47    
    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.47    
    JSON                2.90    
    JSON::PP            2.27400 
    Module::Build       0.4214  
    Module::Signature   n/a     
    Parse::CPAN::Meta   1.4422  
    Test::Harness       3.36    
    Test::More          1.302049
    YAML                1.15    
    YAML::Syck          1.29    
    version             0.9912  


--

Summary of my perl5 (revision 5 version 16 subversion 3) configuration:
   
  Platform:
    osname=darwin, osvers=13.4.0, archname=darwin-thread-multi-2level
    uname='darwin ncbimac2008.ncbi.nlm.nih.gov 13.4.0 darwin kernel version 13.4.0: sun aug 17 19:50:11 pdt 2014; root:xnu-2422.115.4~1release_x86_64 x86_64 '
    config_args='-de -Dprefix=/Users/hornenj/perl5/perlbrew/perls/perl-5.16.3 -Duseithreads -Dusemultiplicity -Dusedevel -Accflags=-O2 -W -Wformat=2 -Wswitch -Wshadow -Wwrite-strings -Wuninitialized -Wall -pipe -mtune=native -march=native -fomit-frame-pointer -msse2 -msse -mmmx -pedantic -D_FORTIFY_SOURCE=2 -Wpointer-arith -Wstrict-prototypes -fstack-protector -Wstack-protector -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual -Wdisabled-optimization -Wendif-labels -Wfloat-equal -Wformat-nonliteral -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wundef -Wformat-security -fassociative-math -Acc=cc -Aeval:scriptdir=/Users/hornenj/perl5/perlbrew/perls/perl-5.16.3/bin'
    hint=recommended, useposix=true, d_sigaction=define
    useithreads=define, usemultiplicity=define
    useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
    use64bitint=define, use64bitall=define, uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc=' cc', ccflags ='-fno-common -DPERL_DARWIN -O2 -W -Wformat=2 -Wswitch -Wshadow -Wwrite-strings -Wuninitialized -Wall -pipe -mtune=native -march=native -fomit-frame-pointer -msse2 -msse -mmmx -pedantic -D_FORTIFY_SOURCE=2 -Wpointer-arith -Wstrict-prototypes -fstack-protector -Wstack-protector -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual -Wdisabled-optimization -Wendif-labels -Wfloat-equal -Wformat-nonliteral -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wundef -Wformat-security -fassociative-math -fno-strict-aliasing -I/usr/local/include',
    optimize='-O3',
    cppflags='-fno-common -DPERL_DARWIN -O2 -W -Wformat=2 -Wswitch -Wshadow -Wwrite-strings -Wuninitialized -Wall -pipe -mtune=native -march=native -fomit-frame-pointer -msse2 -msse -mmmx -pedantic -D_FORTIFY_SOURCE=2 -Wpointer-arith -Wstrict-prototypes -fstack-protector -Wstack-protector -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual -Wdisabled-optimization -Wendif-labels -Wfloat-equal -Wformat-nonliteral -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wundef -Wformat-security -fassociative-math -fno-strict-aliasing -I/usr/local/include'
    ccversion='', gccversion='4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.51)', gccosandvers=''
    intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
    ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='env MACOSX_DEPLOYMENT_TARGET=10.3 cc', ldflags =' -fstack-protector -L/usr/local/lib'
    libpth=/usr/local/lib /usr/lib
    libs=-ldbm -ldl -lm -lutil -lc
    perllibs=-ldl -lm -lutil -lc
    libc=, so=dylib, useshrplib=false, libperl=libperl.a
    gnulibc_version=''
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' '
    cccdlflags=' ', lddlflags=' -bundle -undefined dynamic_lookup -L/usr/local/lib -fstack-protector'


Characteristics of this binary (from libperl): 
  Compile-time options: HAS_TIMES MULTIPLICITY PERLIO_LAYERS
                        PERL_DONT_CREATE_GVSV PERL_IMPLICIT_CONTEXT
                        PERL_MALLOC_WRAP 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_PERLIO
                        USE_PERL_ATOF USE_REENTRANT_API
  Built under darwin
  Compiled at Nov  6 2014 09:32:39
  %ENV:
    PERL5LIB=""
    PERL5OPT=""
    PERL5_CPANPLUS_IS_RUNNING="11101"
    PERL5_CPAN_IS_RUNNING="11101"
    PERL5_MINISMOKEBOX="0.58"
    PERLBREW_BASHRC_VERSION="0.76"
    PERLBREW_HOME="/Users/hornenj/.perlbrew"
    PERLBREW_LIB=""
    PERLBREW_MANPATH="/Users/hornenj/perl5/perlbrew/perls/perl-5.16.3/man"
    PERLBREW_PATH="/Users/hornenj/perl5/perlbrew/bin:/Users/hornenj/perl5/perlbrew/perls/perl-5.16.3/bin"
    PERLBREW_PERL="perl-5.16.3"
    PERLBREW_ROOT="/Users/hornenj/perl5/perlbrew"
    PERLBREW_VERSION="0.76"
    PERL_EXTUTILS_AUTOINSTALL="--defaultdeps"
    PERL_LOCAL_LIB_ROOT=""
    PERL_MM_USE_DEFAULT="1"
  @INC:
    /Users/hornenj/perl5/perlbrew/perls/perl-5.16.3/lib/site_perl/5.16.3/darwin-thread-multi-2level
    /Users/hornenj/perl5/perlbrew/perls/perl-5.16.3/lib/site_perl/5.16.3
    /Users/hornenj/perl5/perlbrew/perls/perl-5.16.3/lib/5.16.3/darwin-thread-multi-2level
    /Users/hornenj/perl5/perlbrew/perls/perl-5.16.3/lib/5.16.3
    .