Sys-CpuAffinity v1.13_05 Perl 5 v5.22.2 MSWin32-x86-multi-thread-64int

Status
Pass
From
NONAME
Dist
Sys-CpuAffinity v1.13_05
Platform
Perl 5 v5.22.2 MSWin32-x86-multi-thread-64int
Date
2024-06-18 14:30:16
ID
d58516a9-6f13-1014-8d09-11d007c19ce6
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.13_05
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 'C:\Strawberry\perl\bin\perl.exe ./Build test':

# Testing Sys::CpuAffinity 1.13_05, Perl 5.022002, C:\Strawberry\perl\bin\perl.exe, MSWin32
t\00-load.t .......... ok


System configuration
====================
$^O = MSWin32; $] = 5.022002
$ENV{AUTOMATED_TESTING} = 
Defined XS functions:
	xs_display_system_info_alt
	xs_fortytwo
	xs_get_numcpus_from_windows_system_info_alt
	xs_win32_getAffinity_proc
	xs_win32_getAffinity_thread
	xs_win32_setAffinity_proc
	xs_win32_setAffinity_thread

module Win32::API: 1 v0.84 available
module Win32::Process: 1 v0.17 available
module BSD::Process::Affinity: not available
module Math::BigInt: 1 v2.003003 available
bindprocessor: not found
dmesg: not found
sysctl: not found
psrinfo: not found
hinv: not found
hwprefs: not found
lsdev: not found
system_profiler: not found
prtconf: not found
taskset: not found
pbind: not found
cpuset: not found

Math::BigInt sanity checks
==========================
Version 2.003003
    Check 1: 1/1
    Check 2: 1/1
    Check 3: 1/1
No issue found

t\02-available.t ..... ok
Sys::CpuAffinity: invalid mask 0 in call to setAffinty
 at t\10-exercise.t line 120.
Sys::CpuAffinity: mask 16 is not valid for system with 4 processors.
 at t\10-exercise.t line 121.
could not obtain handle for thread id 173551
t\10-exercise.t ...... ok


=================================================
Num processors =
    bindprocessor                  - 0 -
    BSD_Process_Affinity           - 0 -
    dmesg_bsd                      - 0 -
    dmesg_solaris                  - 0 -
    ENV                            - 4 -
    hinv                           - 0 -
    hwprefs                        - 0 -
    lsdev                          - 0 -
    proc_cpuinfo                   - 0 -
    proc_stat                      - 0 -
    prtconf                        - 0 -
    psrinfo                        - 0 -
    sysctl                         - 0 -
    sysctl_freebsd                 - 0 -
    system_profiler                - 0 -
    taskset                        - 0 -
    Test_Smoke_SysInfo             - 0 -
    Win32API_System_Info           - 4 -
    xs_cpusetGetCPUCount           - 0 -
    xs_solaris                     - 0 -
    xs_Win32API_System_Info        - 4 -


===============================================
Current affinity = 
    BSD_Process_Affinity           ==> 0
    cpuset                         ==> 0
    pbind                          ==> 0
    psaix                          ==> 0
    taskset                        ==> 0
    Win32API                       ==> 15
    Win32Process                   ==> 15
    xs_freebsd_getaffinity         ==> 0
    xs_irix_sysmp                  ==> 0
    xs_processor_affinity          ==> 0
    xs_processor_bind              ==> 0
    xs_pthread_self_getaffinity    ==> 0
    xs_sched_getaffinity           ==> 0
    xs_win32                       ==> 15
    xs_DEBUG_sched_getaffinity     ==> skip
    xs_freebsd_getaffinity_debug   ==> skip


==================================================
Set affinity =
    bindprocessor                  =>   2 ==>  15   [FAIL]
    BSD_Process_Affinity           =>   6 ==>  15   [FAIL]
    cpuset                         =>   2 ==>  15   [FAIL]
    pbind                          =>   2 ==>  15   [FAIL]
    taskset                        =>   5 ==>  15   [FAIL]
    Win32API                       =>   1 ==>  15   [FAIL]
    Win32Process                   =>   3 ==>  15   [FAIL]
    xs_freebsd_setaffinity         =>   8 ==>  15   [FAIL]
    xs_irix_sysmp                  =>   9 ==>  15   [FAIL]
    xs_processor_affinity          =>   7 ==>  15   [FAIL]
    xs_processor_bind              =>   9 ==>  15   [FAIL]
    xs_pthread_self_setaffinity    =>   7 ==>  15   [FAIL]
    xs_sched_setaffinity           =>   6 ==>  15   [FAIL]
    xs_win32                       =>   4 ==>   4   [ ok ]


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,  9 wallclock secs ( 0.09 usr +  0.09 sys =  0.19 CPU)
Result: PASS

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

Prerequisite modules loaded:

build_requires:

    Module        Need Have    
    ------------- ---- --------
    Module::Build 0.25 0.4234  
    Test::More    0    1.302199

configure_requires:

    Module        Need Have    
    ------------- ---- --------
    Module::Build 0.25 0.4234  


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

Environment variables:

    COMSPEC = C:\windows\system32\cmd.exe
    NONINTERACTIVE_TESTING = 1
    NUMBER_OF_PROCESSORS = 4
    PATH = C:\home\wind\perl5\bin;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;C:\Strawberry\c\bin;C:\Strawberry\perl\site\bin;C:\Strawberry\perl\bin
    PERL5LIB = C:\home\wind\perl5\lib\perl5
    PERL5OPT = 
    PERL5_CPANPLUS_IS_RUNNING = 6048
    PERL5_CPAN_IS_RUNNING = 6048
    PERL_LOCAL_LIB_ROOT = C:\home\wind\perl5
    PERL_MB_OPT = --install_base "C:\\home\\wind\\perl5"
    PERL_MM_OPT = INSTALL_BASE=C:\\home\\wind\\perl5
    PERL_MM_USE_DEFAULT = 1
    PERL_USE_UNSAFE_INC = 1
    PROCESSOR_IDENTIFIER = x86 Family 6 Model 37 Stepping 5, GenuineIntel
    TEMP = C:\Users\user\AppData\Local\Temp
    TERM = dumb

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

    $^X = C:\Strawberry\perl\bin\perl.exe
    $UID/$EUID = 0 / 0
    $GID = 0
    $EGID = 0
    Win32::GetOSName = Win7
    Win32::GetOSVersion = Service Pack 1, 6, 1, 7601, 2, 1, 0, 256, 1
    Win32::FsType = NTFS
    Win32::IsAdminUser = 0

Perl module toolchain versions installed:

    Module              Have    
    ------------------- --------
    CPAN                2.34    
    CPAN::Meta          2.150010
    Cwd                 3.75    
    ExtUtils::CBuilder  0.280236
    ExtUtils::Command   7.70    
    ExtUtils::Install   2.22    
    ExtUtils::MakeMaker 7.70    
    ExtUtils::Manifest  1.75    
    ExtUtils::ParseXS   3.51    
    File::Spec          3.75    
    JSON                4.10    
    JSON::PP            4.17_01 
    Module::Build       0.4234  
    Module::Signature   0.88    
    Parse::CPAN::Meta   2.150010
    Test::Harness       3.49_02 
    Test::More          1.302199
    YAML                1.31    
    YAML::Syck          1.34    
    version             0.9932  


--

Summary of my perl5 (revision 5 version 22 subversion 2) configuration:
   
  Platform:
    osname=MSWin32, osvers=6.3, archname=MSWin32-x86-multi-thread-64int
    uname='Win32 strawberry-perl 5.22.2.1 #1 Sat Apr 30 11:51:13 2016 i386'
    config_args='undef'
    hint=recommended, useposix=true, d_sigaction=undef
    useithreads=define, usemultiplicity=define
    use64bitint=define, use64bitall=undef, uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='gcc', ccflags =' -s -O2 -DWIN32  -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fwrapv -fno-strict-aliasing -mms-bitfields',
    optimize='-s -O2',
    cppflags='-DWIN32'
    ccversion='', gccversion='4.9.2', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=12345678, doublekind=3
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12, longdblkind=3
    ivtype='long long', ivsize=8, nvtype='double', nvsize=8, Off_t='long long', lseeksize=8
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='g++', ldflags ='-s -L"C:\Strawberry\perl\lib\CORE" -L"C:\Strawberry\c\lib"'
    libpth=C:\Strawberry\c\lib C:\Strawberry\c\i686-w64-mingw32\lib C:\Strawberry\c\lib\gcc\i686-w64-mingw32\4.9.2
    libs=-lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 -lcomctl32
    perllibs=-lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 -lcomctl32
    libc=, so=dll, useshrplib=true, libperl=libperl522.a
    gnulibc_version=''
  Dynamic Linking:
    dlsrc=dl_win32.xs, dlext=xs.dll, d_dlsymun=undef, ccdlflags=' '
    cccdlflags=' ', lddlflags='-mdll -s -L"C:\Strawberry\perl\lib\CORE" -L"C:\Strawberry\c\lib"'


Characteristics of this binary (from libperl): 
  Compile-time options: HAS_TIMES HAVE_INTERP_INTERN MULTIPLICITY
                        PERLIO_LAYERS PERL_DONT_CREATE_GVSV
                        PERL_HASH_FUNC_ONE_AT_A_TIME_HARD
                        PERL_IMPLICIT_CONTEXT PERL_IMPLICIT_SYS
                        PERL_MALLOC_WRAP PERL_NEW_COPY_ON_WRITE
                        PERL_PRESERVE_IVUV 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
  Built under MSWin32
  Compiled at Apr 30 2016 11:56:07
  %ENV:
    PERL5LIB="C:\home\wind\perl5\lib\perl5"
    PERL5_CPANPLUS_IS_RUNNING="6048"
    PERL5_CPAN_IS_RUNNING="6048"
    PERL_LOCAL_LIB_ROOT="C:\home\wind\perl5"
    PERL_MB_OPT="--install_base "C:\\home\\wind\\perl5""
    PERL_MM_OPT="INSTALL_BASE=C:\\home\\wind\\perl5"
    PERL_MM_USE_DEFAULT="1"
    PERL_USE_UNSAFE_INC="1"
  @INC:
    C:\home\wind\perl5\lib\perl5/MSWin32-x86-multi-thread-64int
    C:\home\wind\perl5\lib\perl5
    C:/Strawberry/perl/site/lib
    C:/Strawberry/perl/vendor/lib
    C:/Strawberry/perl/lib
    .