cPanel-APIClient v0.10 Perl 5 v5.28.3 x86_64-linux

Status
Pass
From
Slaven Rezić
Dist
cPanel-APIClient v0.10
Platform
Perl 5 v5.28.3 x86_64-linux
Date
2022-11-01 21:32:16
ID
a7fa4a48-5a2c-11ed-8135-f7106e8775ea
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 cPanel, L. L. C.,

This is a computer-generated report for cPanel-APIClient-0.10
on perl 5.28.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:

none provided

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

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

PERL_DL_NONLAZY=1 "/opt/perl-5.28.3/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(1, 'blib/lib', 'blib/arch')" t/*.t
t/cPanel-APIClient-Request-WHM1.t .... 
1..1
ok 1 - get_cli_command() output
ok
# PID 855765 listening on port 49355 …
# Forked handler PID 855766
# Got request: /execute/Doomed/forbidden
# Expecting 0 content bytes …
# Handler PID 855766 sent response
# Handler PID 855766 socket is done.
# Handler PID 855766 exit (ok? 1)
# Forked handler PID 855767
# Got request: /execute/Email/fail_errors_warnings_messages
# Expecting 0 content bytes …
# Handler PID 855767 sent response
# Handler PID 855767 socket is done.
# Handler PID 855767 exit (ok? 1)
# Forked handler PID 855768
# Got request: /execute/Doomed/noanswer
# Handler PID 855768 self-terminating per request
# Forked handler PID 855769
# Got request: /execute/Email/list_forwarders
# Expecting 0 content bytes …
# Handler PID 855769 sent response
# Handler PID 855769 socket is done.
# Handler PID 855769 exit (ok? 1)
# Forked handler PID 855770
# Got request: /login
# Expecting 54 content bytes …
# Got 54 content bytes …
# Handler PID 855770 sent response
# Handler PID 855770 socket is done.
# Handler PID 855770 exit (ok? 1)
# Forked handler PID 855771
# Got request: /cpses123123123/execute/Email/list_forwarders
# Expecting 0 content bytes …
# Handler PID 855771 sent response
# Handler PID 855771 socket is done.
# Handler PID 855771 exit (ok? 1)
# Forked handler PID 855772
# Got request: /execute/Email/list_forwarders
# Expecting 0 content bytes …
# Handler PID 855772 sent response
# Handler PID 855772 socket is done.
# Handler PID 855772 exit (ok? 1)
# Forked handler PID 855773
# Got request: /execute/Email/list_forwarders
# Expecting 38 content bytes …
# Got 38 content bytes …
# Handler PID 855773 sent response
# Handler PID 855773 socket is done.
# Handler PID 855773 exit (ok? 1)
# Tearing down server (MockCpsrvd::cpanel) on port 49355 …
t/http_sync.t ........................ 
1..13
ok 1 - expected error object
ok 2 - response properties as expected
ok 3 - expected error object
ok 4 - UAPI response
ok 5 - headers
ok 6 - UAPI response
ok 7 - headers
ok 8 - session cookie sent
ok 9 - login parameters
ok 10 - UAPI response
ok 11 - headers
ok 12 - UAPI response - content
ok 13 - “bar” args are in correct order
ok
# PID 855775 listening on port 36893 …
accept() failed: (SSL accept attempt failed error:0A000418:SSL routines::tlsv1 alert unknown ca)
# Tearing down server (MockCpsrvd::cpanel) on port 36893 …
t/http_sync_tls_verify_by_default.t .. 
1..1
ok 1 - expected error object
ok
t/local.t ............................ 
1..1
ok 1 # skip This server does not appear to run cPanel & WHM.
# 
ok
# Using Mojolicious 9.27
# PID 855778 listening on port 44835 …
# PID 855779 listening on port 34729 …
# Using Mojolicious 9.27
# Forked handler PID 855780
# Got request: /json-api/cpanel
# Expecting 127 content bytes …
# Got 127 content bytes …
# Handler PID 855780 sent response
# Handler PID 855780 socket is done.
# Handler PID 855780 exit (ok? 1)
# Forked handler PID 855781
# Got request: /json-api/cpanel
# Expecting 124 content bytes …
# Got 124 content bytes …
# Handler PID 855781 sent response
# Handler PID 855781 socket is done.
# Handler PID 855781 exit (ok? 1)
# Forked handler PID 855782
# Got request: /execute/Doomed/forbidden
# Expecting 0 content bytes …
# Handler PID 855782 sent response
# Handler PID 855782 socket is done.
# Handler PID 855782 exit (ok? 1)
# Forked handler PID 855783
# Got request: /execute/Email/fail_errors_warnings_messages
# Expecting 0 content bytes …
# Handler PID 855783 sent response
# Handler PID 855783 socket is done.
# Handler PID 855783 exit (ok? 1)
# Forked handler PID 855784
# Got request: /execute/Doomed/noanswer
# Handler PID 855784 self-terminating per request
# Forked handler PID 855785
# Got request: /json-api/do_something_warnings2_messages2
# Expecting 13 content bytes …
# Got 13 content bytes …
# Handler PID 855785 sent response
# Handler PID 855785 socket is done.
# Handler PID 855785 exit (ok? 1)
# Forked handler PID 855786
# Got request: /json-api/do_something_warnings1_messages1
# Expecting 13 content bytes …
# Got 13 content bytes …
# Handler PID 855786 sent response
# Handler PID 855786 socket is done.
# Handler PID 855786 exit (ok? 1)
# Forked handler PID 855787
# Got request: /execute/Email/list_forwarders
# Expecting 0 content bytes …
# Handler PID 855787 sent response
# Handler PID 855787 socket is done.
# Handler PID 855787 exit (ok? 1)
# Forked handler PID 855788
# Got request: /login
# Expecting 54 content bytes …
# Got 54 content bytes …
# Handler PID 855788 sent response
# Handler PID 855788 socket is done.
# Handler PID 855788 exit (ok? 1)
# Forked handler PID 855789
# Got request: /cpses123123123/execute/Email/list_forwarders
# Expecting 0 content bytes …
# Handler PID 855789 sent response
# Handler PID 855789 socket is done.
# Handler PID 855789 exit (ok? 1)
# Forked handler PID 855790
# Got request: /execute/Email/list_forwarders
# Expecting 0 content bytes …
# Handler PID 855790 sent response
# Handler PID 855790 socket is done.
# Handler PID 855790 exit (ok? 1)
# Forked handler PID 855791
# Got request: /execute/Email/list_forwarders
# Expecting 38 content bytes …
# Got 38 content bytes …
# Handler PID 855791 sent response
# Handler PID 855791 socket is done.
# Handler PID 855791 exit (ok? 1)
# Tearing down server (MockCpsrvd::cpanel) on port 44835 …
# Tearing down server (MockCpsrvd::whm) on port 34729 …
t/mojouseragent.t .................... 
1..20
ok 1 - thrown error
ok 2 - UAPI response
ok 3 - headers
ok 4 - expected error object
ok 5 - response properties as expected
ok 6 - expected error object
ok 7 - WHM1 response
ok 8 - headers
ok 9 - WHM1 response
ok 10 - headers
ok 11 - UAPI response
ok 12 - headers
ok 13 - UAPI response
ok 14 - headers
ok 15 - session cookie sent
ok 16 - login parameters
ok 17 - UAPI response
ok 18 - headers
ok 19 - UAPI response - content
ok 20 - “bar” args are in correct order
ok
t/net_curl_promiser__anyevent.t ...... 
1..1
ok 1 # skip Can't locate Net/Curl/Promiser/AnyEvent.pm in @INC (you may need to install the Net::Curl::Promiser::AnyEvent module) (@INC contains: /home/cpansand/.cpan/build/2022110118/cPanel-APIClient-0.10-3/t/lib /home/cpansand/.cpan/build/2022110118/cPanel-APIClient-0.10-3/blib/lib /home/cpansand/.cpan/build/2022110118/cPanel-APIClient-0.10-3/blib/arch /home/cpansand/.cpan/build/2022110118/X-Tiny-0.22-8/blib/arch /home/cpansand/.cpan/build/2022110118/X-Tiny-0.22-8/blib/lib /home/cpansand/.cpan/build/2022110118/Promise-ES6-0.25-8/blib/arch /home/cpansand/.cpan/build/2022110118/Promise-ES6-0.25-8/blib/lib /home/cpansand/.cpan/build/2022110118/Call-Context-0.03-8/blib/arch /home/cpansand/.cpan/build/2022110118/Call-Context-0.03-8/blib/lib /opt/perl-5.28.3/lib/site_perl/5.28.3/x86_64-linux /opt/perl-5.28.3/lib/site_perl/5.28.3 /opt/perl-5.28.3/lib/5.28.3/x86_64-linux /opt/perl-5.28.3/lib/5.28.3 .) at (eval 20) line 1.
# BEGIN failed--compilation aborted at (eval 20) line 1.
# 
ok
t/net_curl_promiser__ioasync.t ....... 
1..1
ok 1 # skip Can't locate Net/Curl/Promiser/IOAsync.pm in @INC (you may need to install the Net::Curl::Promiser::IOAsync module) (@INC contains: /home/cpansand/.cpan/build/2022110118/cPanel-APIClient-0.10-3/t/lib /home/cpansand/.cpan/build/2022110118/cPanel-APIClient-0.10-3/blib/lib /home/cpansand/.cpan/build/2022110118/cPanel-APIClient-0.10-3/blib/arch /home/cpansand/.cpan/build/2022110118/X-Tiny-0.22-8/blib/arch /home/cpansand/.cpan/build/2022110118/X-Tiny-0.22-8/blib/lib /home/cpansand/.cpan/build/2022110118/Promise-ES6-0.25-8/blib/arch /home/cpansand/.cpan/build/2022110118/Promise-ES6-0.25-8/blib/lib /home/cpansand/.cpan/build/2022110118/Call-Context-0.03-8/blib/arch /home/cpansand/.cpan/build/2022110118/Call-Context-0.03-8/blib/lib /opt/perl-5.28.3/lib/site_perl/5.28.3/x86_64-linux /opt/perl-5.28.3/lib/site_perl/5.28.3 /opt/perl-5.28.3/lib/5.28.3/x86_64-linux /opt/perl-5.28.3/lib/5.28.3 .) at (eval 9) line 1.
# BEGIN failed--compilation aborted at (eval 9) line 1.
# 
ok
All tests successful.
Files=7, Tests=38,  2 wallclock secs ( 0.03 usr  0.01 sys +  1.52 cusr  0.20 csys =  1.76 CPU)
Result: PASS

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

Prerequisite modules loaded:

requires:

    Module                        Need  Have    
    ----------------------------- ----- --------
    Call::Context                 0     0.03    
    JSON                          0     4.09    
    parent                        0     0.236   
    perl                          5.010 5.028003
    URI::Escape                   0     5.12    
    X::Tiny                       0     0.22    

build_requires:

    Module                        Need  Have    
    ----------------------------- ----- --------
    autodie                       0     2.29    
    ExtUtils::MakeMaker           0     7.64    
    FindBin                       0     1.51    
    mro                           0     1.22    
    Promise::ES6                  0.23  0.25    
    Test::Class                   0     0.52    
    Test::Deep                    0     1.130   
    Test::FailWarnings            0     0.008   
    Test::Fatal                   0     0.016   
    Test::MockModule              0.170 0.177.0 
    Test::More                    0     1.302191

configure_requires:

    Module                        Need  Have    
    ----------------------------- ----- --------
    ExtUtils::MakeMaker::CPANfile 0.09  0.09    


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

Environment variables:

    LANG = en_US.UTF-8
    PATH = /usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/cpansand/bin/linux-gnu:/home/cpansand/bin/sh:/home/cpansand/bin:/usr/games:/home/cpansand/devel:/home/eserte/src/srezic-misc/scripts
    PERL5LIB = /home/cpansand/.cpan/build/2022110118/X-Tiny-0.22-8/blib/arch:/home/cpansand/.cpan/build/2022110118/X-Tiny-0.22-8/blib/lib:/home/cpansand/.cpan/build/2022110118/Promise-ES6-0.25-8/blib/arch:/home/cpansand/.cpan/build/2022110118/Promise-ES6-0.25-8/blib/lib:/home/cpansand/.cpan/build/2022110118/Call-Context-0.03-8/blib/arch:/home/cpansand/.cpan/build/2022110118/Call-Context-0.03-8/blib/lib
    PERL5OPT = 
    PERL5_CPANPLUS_IS_RUNNING = 855375
    PERL5_CPAN_IS_RUNNING = 855375
    PERL5_CPAN_IS_RUNNING_IN_RECURSION = 853970,855375
    PERLDOC = -MPod::Perldoc::ToTextOverstrike
    PERL_BATCH = yes
    PERL_CANARY_STABILITY_NOPROMPT = 1
    PERL_CPAN_REPORTER_CONFIG = /var/tmp/cpansmoker-1023/2022110118/cpanreporter_000_config.ini
    PERL_EXTUTILS_AUTOINSTALL = --defaultdeps
    PERL_USE_UNSAFE_INC = 1
    SHELL = /usr/bin/zsh
    TERM = screen
    TMPDIR = /var/tmp/cpansmoker-1023/2022110118

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

    $^X = /opt/perl-5.28.3/bin/perl
    $UID/$EUID = 1023 / 1023
    $GID = 1023 1023
    $EGID = 1023 1023

Perl module toolchain versions installed:

    Module              Have    
    ------------------- --------
    CPAN                2.20    
    CPAN::Meta          2.150010
    Cwd                 3.74    
    ExtUtils::CBuilder  0.280236
    ExtUtils::Command   7.64    
    ExtUtils::Install   2.14    
    ExtUtils::MakeMaker 7.64    
    ExtUtils::Manifest  1.70    
    ExtUtils::ParseXS   3.39    
    File::Spec          3.74    
    JSON                4.09    
    JSON::PP            4.12    
    Module::Build       0.4231  
    Module::Signature   n/a     
    Parse::CPAN::Meta   2.150010
    Test::Harness       3.42    
    Test::More          1.302191
    YAML                1.30    
    YAML::Syck          1.34    
    version             0.9923  


--

Summary of my perl5 (revision 5 version 28 subversion 3) configuration:
   
  Platform:
    osname=linux
    osvers=5.19.9-200.fc36.x86_64
    archname=x86_64-linux
    uname='linux cloud4.bbbike.org 5.19.9-200.fc36.x86_64 #1 smp preempt_dynamic thu sep 15 09:49:52 utc 2022 x86_64 x86_64 x86_64 gnulinux '
    config_args='-ds -e -Dprefix=/opt/perl-5.28.3 -Dcf_email=srezic@cpan.org'
    hint=recommended
    useposix=true
    d_sigaction=define
    useithreads=undef
    usemultiplicity=undef
    use64bitint=define
    use64bitall=define
    uselongdouble=undef
    usemymalloc=n
    default_inc_excludes_dot=define
    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='12.2.1 20220819 (Red Hat 12.2.1-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 /lib/../lib64 /usr/lib/../lib64 /lib /lib64 /usr/lib64 /usr/local/lib64
    libs=-lpthread -ldb -ldl -lm -lcrypt -lutil -lc
    perllibs=-lpthread -ldl -lm -lcrypt -lutil -lc
    libc=/lib/../lib64/libc.so.6
    so=so
    useshrplib=false
    libperl=libperl.a
    gnulibc_version='2.35'
  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_MALLOC_WRAP
    PERL_OP_PARENT
    PERL_PRESERVE_IVUV
    USE_64_BIT_ALL
    USE_64_BIT_INT
    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 2.08
  Built under linux
  Compiled at Sep 24 2022 07:25:13
  %ENV:
    PERL5LIB="/home/cpansand/.cpan/build/2022110118/X-Tiny-0.22-8/blib/arch:/home/cpansand/.cpan/build/2022110118/X-Tiny-0.22-8/blib/lib:/home/cpansand/.cpan/build/2022110118/Promise-ES6-0.25-8/blib/arch:/home/cpansand/.cpan/build/2022110118/Promise-ES6-0.25-8/blib/lib:/home/cpansand/.cpan/build/2022110118/Call-Context-0.03-8/blib/arch:/home/cpansand/.cpan/build/2022110118/Call-Context-0.03-8/blib/lib"
    PERL5OPT=""
    PERL5_CPANPLUS_IS_RUNNING="855375"
    PERL5_CPAN_IS_RUNNING="855375"
    PERL5_CPAN_IS_RUNNING_IN_RECURSION="853970,855375"
    PERLDOC="-MPod::Perldoc::ToTextOverstrike"
    PERL_BATCH="yes"
    PERL_CANARY_STABILITY_NOPROMPT="1"
    PERL_CPAN_REPORTER_CONFIG="/var/tmp/cpansmoker-1023/2022110118/cpanreporter_000_config.ini"
    PERL_EXTUTILS_AUTOINSTALL="--defaultdeps"
    PERL_USE_UNSAFE_INC="1"
  @INC:
    /home/cpansand/.cpan/build/2022110118/X-Tiny-0.22-8/blib/arch
    /home/cpansand/.cpan/build/2022110118/X-Tiny-0.22-8/blib/lib
    /home/cpansand/.cpan/build/2022110118/Promise-ES6-0.25-8/blib/arch
    /home/cpansand/.cpan/build/2022110118/Promise-ES6-0.25-8/blib/lib
    /home/cpansand/.cpan/build/2022110118/Call-Context-0.03-8/blib/arch
    /home/cpansand/.cpan/build/2022110118/Call-Context-0.03-8/blib/lib
    /opt/perl-5.28.3/lib/site_perl/5.28.3/x86_64-linux
    /opt/perl-5.28.3/lib/site_perl/5.28.3
    /opt/perl-5.28.3/lib/5.28.3/x86_64-linux
    /opt/perl-5.28.3/lib/5.28.3
    .