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

Status
Pass
From
Slaven Rezić
Dist
cPanel-APIClient v0.10
Platform
Perl 5 v5.34.1 x86_64-linux
Date
2023-12-22 16:35:45
ID
27eedc2a-a0e8-11ee-bf9b-9e0c6e8775ea
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.34.1, 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.34.1/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 1843257 listening on port 35177 …
# Forked handler PID 1843258
# Got request: /execute/Doomed/forbidden
# Expecting 0 content bytes …
# Handler PID 1843258 sent response
# Handler PID 1843258 socket is done.
# Handler PID 1843258 exit (ok? 1)
# Forked handler PID 1843259
# Got request: /execute/Email/fail_errors_warnings_messages
# Expecting 0 content bytes …
# Handler PID 1843259 sent response
# Handler PID 1843259 socket is done.
# Handler PID 1843259 exit (ok? 1)
# Forked handler PID 1843260
# Got request: /execute/Doomed/noanswer
# Handler PID 1843260 self-terminating per request
# Forked handler PID 1843261
# Got request: /execute/Email/list_forwarders
# Expecting 0 content bytes …
# Handler PID 1843261 sent response
# Handler PID 1843261 socket is done.
# Handler PID 1843261 exit (ok? 1)
# Forked handler PID 1843262
# Got request: /login
# Expecting 54 content bytes …
# Got 54 content bytes …
# Handler PID 1843262 sent response
# Handler PID 1843262 socket is done.
# Handler PID 1843262 exit (ok? 1)
# Forked handler PID 1843263
# Got request: /cpses123123123/execute/Email/list_forwarders
# Expecting 0 content bytes …
# Handler PID 1843263 sent response
# Handler PID 1843263 socket is done.
# Handler PID 1843263 exit (ok? 1)
# Forked handler PID 1843264
# Got request: /execute/Email/list_forwarders
# Expecting 0 content bytes …
# Handler PID 1843264 sent response
# Handler PID 1843264 socket is done.
# Handler PID 1843264 exit (ok? 1)
# Forked handler PID 1843265
# Got request: /execute/Email/list_forwarders
# Expecting 38 content bytes …
# Got 38 content bytes …
# Handler PID 1843265 sent response
# Handler PID 1843265 socket is done.
# Handler PID 1843265 exit (ok? 1)
# Tearing down server (MockCpsrvd::cpanel) on port 35177 …
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 1843267 listening on port 42585 …
accept() failed: (SSL accept attempt failed error:0A000418:SSL routines::tlsv1 alert unknown ca)
# Tearing down server (MockCpsrvd::cpanel) on port 42585 …
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.34
# PID 1843270 listening on port 34717 …
# PID 1843271 listening on port 37877 …
# Using Mojolicious 9.34
# Forked handler PID 1843272
# Got request: /json-api/cpanel
# Expecting 127 content bytes …
# Got 127 content bytes …
# Handler PID 1843272 sent response
# Handler PID 1843272 socket is done.
# Handler PID 1843272 exit (ok? 1)
# Forked handler PID 1843273
# Got request: /json-api/cpanel
# Expecting 124 content bytes …
# Got 124 content bytes …
# Handler PID 1843273 sent response
# Handler PID 1843273 socket is done.
# Handler PID 1843273 exit (ok? 1)
# Forked handler PID 1843274
# Got request: /execute/Doomed/forbidden
# Expecting 0 content bytes …
# Handler PID 1843274 sent response
# Handler PID 1843274 socket is done.
# Handler PID 1843274 exit (ok? 1)
# Forked handler PID 1843275
# Got request: /execute/Email/fail_errors_warnings_messages
# Expecting 0 content bytes …
# Handler PID 1843275 sent response
# Handler PID 1843275 socket is done.
# Handler PID 1843275 exit (ok? 1)
# Forked handler PID 1843276
# Got request: /execute/Doomed/noanswer
# Handler PID 1843276 self-terminating per request
# Forked handler PID 1843277
# Got request: /json-api/do_something_warnings2_messages2
# Expecting 13 content bytes …
# Got 13 content bytes …
# Handler PID 1843277 sent response
# Handler PID 1843277 socket is done.
# Handler PID 1843277 exit (ok? 1)
# Forked handler PID 1843278
# Got request: /json-api/do_something_warnings1_messages1
# Expecting 13 content bytes …
# Got 13 content bytes …
# Handler PID 1843278 sent response
# Handler PID 1843278 socket is done.
# Handler PID 1843278 exit (ok? 1)
# Forked handler PID 1843279
# Got request: /execute/Email/list_forwarders
# Expecting 0 content bytes …
# Handler PID 1843279 sent response
# Handler PID 1843279 socket is done.
# Handler PID 1843279 exit (ok? 1)
# Forked handler PID 1843280
# Got request: /login
# Expecting 54 content bytes …
# Got 54 content bytes …
# Handler PID 1843280 sent response
# Handler PID 1843280 socket is done.
# Handler PID 1843280 exit (ok? 1)
# Forked handler PID 1843281
# Got request: /cpses123123123/execute/Email/list_forwarders
# Expecting 0 content bytes …
# Handler PID 1843281 sent response
# Handler PID 1843281 socket is done.
# Handler PID 1843281 exit (ok? 1)
# Forked handler PID 1843282
# Got request: /execute/Email/list_forwarders
# Expecting 0 content bytes …
# Handler PID 1843282 sent response
# Handler PID 1843282 socket is done.
# Handler PID 1843282 exit (ok? 1)
# Forked handler PID 1843283
# Got request: /execute/Email/list_forwarders
# Expecting 38 content bytes …
# Got 38 content bytes …
# Handler PID 1843283 sent response
# Handler PID 1843283 socket is done.
# Handler PID 1843283 exit (ok? 1)
# Tearing down server (MockCpsrvd::cpanel) on port 34717 …
# Tearing down server (MockCpsrvd::whm) on port 37877 …
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/2023122216/cPanel-APIClient-0.10-2/t/lib /home/cpansand/.cpan/build/2023122216/cPanel-APIClient-0.10-2/blib/lib /home/cpansand/.cpan/build/2023122216/cPanel-APIClient-0.10-2/blib/arch /opt/perl-5.34.1/lib/site_perl/5.34.1/x86_64-linux /opt/perl-5.34.1/lib/site_perl/5.34.1 /opt/perl-5.34.1/lib/5.34.1/x86_64-linux /opt/perl-5.34.1/lib/5.34.1 .) 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/2023122216/cPanel-APIClient-0.10-2/t/lib /home/cpansand/.cpan/build/2023122216/cPanel-APIClient-0.10-2/blib/lib /home/cpansand/.cpan/build/2023122216/cPanel-APIClient-0.10-2/blib/arch /opt/perl-5.34.1/lib/site_perl/5.34.1/x86_64-linux /opt/perl-5.34.1/lib/site_perl/5.34.1 /opt/perl-5.34.1/lib/5.34.1/x86_64-linux /opt/perl-5.34.1/lib/5.34.1 .) 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.56 cusr  0.28 csys =  1.88 CPU)
Result: PASS

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

Prerequisite modules loaded:

requires:

    Module                        Need  Have    
    ----------------------------- ----- --------
    Call::Context                 0     0.03    
    JSON                          0     4.10    
    parent                        0     0.238   
    perl                          5.010 5.034001
    URI::Escape                   0     5.21    
    X::Tiny                       0     0.22    

build_requires:

    Module                        Need  Have    
    ----------------------------- ----- --------
    autodie                       0     2.36    
    ExtUtils::MakeMaker           0     7.70    
    FindBin                       0     1.53    
    mro                           0     1.25_001
    Promise::ES6                  0.23  0.26    
    Test::Class                   0     0.52    
    Test::Deep                    0     1.204   
    Test::FailWarnings            0     0.008   
    Test::Fatal                   0     0.017   
    Test::MockModule              0.170 0.177.0 
    Test::More                    0     1.302196

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 = 
    PERL5OPT = 
    PERL5_CPANPLUS_IS_RUNNING = 1843153
    PERL5_CPAN_IS_RUNNING = 1843153
    PERL5_CPAN_IS_RUNNING_IN_RECURSION = 1842830,1843153
    PERLDOC = -MPod::Perldoc::ToTextOverstrike
    PERL_BATCH = yes
    PERL_CANARY_STABILITY_NOPROMPT = 1
    PERL_CPAN_REPORTER_CONFIG = /var/tmp/cpansmoker-1023/2023122216/cpanreporter_000_config.ini
    PERL_EXTUTILS_AUTOINSTALL = --defaultdeps
    PERL_USE_UNSAFE_INC = 1
    SHELL = /usr/bin/zsh
    TERM = screen
    TMPDIR = /var/tmp/cpansmoker-1023/2023122216

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

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

Perl module toolchain versions installed:

    Module              Have    
    ------------------- --------
    CPAN                2.28    
    CPAN::Meta          2.150010
    Cwd                 3.80    
    ExtUtils::CBuilder  0.280236
    ExtUtils::Command   7.70    
    ExtUtils::Install   2.20    
    ExtUtils::MakeMaker 7.70    
    ExtUtils::Manifest  1.75    
    ExtUtils::ParseXS   3.51    
    File::Spec          3.80    
    JSON                4.10    
    JSON::PP            4.13    
    Module::Build       0.4234  
    Module::Signature   0.88    
    Parse::CPAN::Meta   2.150010
    Test::Harness       3.48    
    Test::More          1.302196
    YAML                1.30    
    YAML::Syck          1.34    
    version             0.9930  


--

Summary of my perl5 (revision 5 version 34 subversion 1) configuration:
   
  Platform:
    osname=linux
    osvers=6.0.5-200.fc36.x86_64
    archname=x86_64-linux
    uname='linux cloud4.bbbike.org 6.0.5-200.fc36.x86_64 #1 smp preempt_dynamic wed oct 26 15:55:21 utc 2022 x86_64 x86_64 x86_64 gnulinux '
    config_args='-ds -e -Dprefix=/opt/perl-5.34.1 -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
  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 /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
  Built under linux
  Compiled at Nov  6 2022 19:39:26
  %ENV:
    PERL5LIB=""
    PERL5OPT=""
    PERL5_CPANPLUS_IS_RUNNING="1843153"
    PERL5_CPAN_IS_RUNNING="1843153"
    PERL5_CPAN_IS_RUNNING_IN_RECURSION="1842830,1843153"
    PERLDOC="-MPod::Perldoc::ToTextOverstrike"
    PERL_BATCH="yes"
    PERL_CANARY_STABILITY_NOPROMPT="1"
    PERL_CPAN_REPORTER_CONFIG="/var/tmp/cpansmoker-1023/2023122216/cpanreporter_000_config.ini"
    PERL_EXTUTILS_AUTOINSTALL="--defaultdeps"
    PERL_USE_UNSAFE_INC="1"
  @INC:
    /opt/perl-5.34.1/lib/site_perl/5.34.1/x86_64-linux
    /opt/perl-5.34.1/lib/site_perl/5.34.1
    /opt/perl-5.34.1/lib/5.34.1/x86_64-linux
    /opt/perl-5.34.1/lib/5.34.1
    .