Report for cPanel-APIClient-0.06

Back
From: Slaven Rezić (SREZIC) 
Subject: FAIL cPanel-APIClient-0.06 5.26.0 FreeBSD
Date: 2020-10-10T18:40:15Z

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.06
on perl 5.26.0, created by CPAN-Reporter-1.2018.

Thank you for uploading your work to CPAN.  However, there was a problem
testing your distribution.

If you think this report is invalid, please consult the CPAN Testers Wiki
for suggestions on how to avoid getting FAIL reports for missing library
or binary dependencies, unsupported operating systems, and so on:

http://wiki.cpantesters.org/wiki/CPANAuthorNotes

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 "/usr/perl5.26.0p/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 41088 listening on port 28616 …
# Forked handler PID 41089
# Got request: /execute/Doomed/forbidden
# No Content-Length sent in request; assuming empty payload …
# Handler PID 41089 sent response
# Handler PID 41089 exit (ok? 1)
# Forked handler PID 41090
# Got request: /execute/Email/fail_errors_warnings_messages
# No Content-Length sent in request; assuming empty payload …
# Handler PID 41090 sent response
# Handler PID 41090 exit (ok? 1)
# Forked handler PID 41091
# Got request: /execute/Doomed/noanswer
# Handler PID 41091 self-terminating per request
# Forked handler PID 41092
# Got request: /execute/Email/list_forwarders
# No Content-Length sent in request; assuming empty payload …
# Handler PID 41092 sent response
# Handler PID 41092 exit (ok? 1)
# Forked handler PID 41093
# Got request: /login
# Expecting 54 content bytes …
# Got 54 content bytes …
# Handler PID 41093 sent response
# Handler PID 41093 socket is done.
# Handler PID 41093 exit (ok? 1)
# Forked handler PID 41094
# Got request: /cpses123123123/execute/Email/list_forwarders
# No Content-Length sent in request; assuming empty payload …
# Handler PID 41094 sent response
# Handler PID 41094 exit (ok? 1)
# Forked handler PID 41095
# Got request: /execute/Email/list_forwarders
# No Content-Length sent in request; assuming empty payload …
# Handler PID 41095 sent response
# Handler PID 41095 exit (ok? 1)
# Forked handler PID 41096
# Got request: /execute/Email/list_forwarders
# Expecting 38 content bytes …
# Got 38 content bytes …
# Handler PID 41096 sent response
# Handler PID 41096 socket is done.
# Handler PID 41096 exit (ok? 1)
# Tearing down server on port 28616 …
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 41098 listening on port 26737 …
accept() failed: (SSL accept attempt failed because of handshake problems error:14094418:SSL routines:ssl3_read_bytes:tlsv1 alert unknown ca)
# Tearing down server on port 26737 …
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 8.61
# Using Mojolicious 8.61
# PID 41101 listening on port 24694 …
# Forked handler PID 41102
# Got request: /execute/Doomed/forbidden
# Expecting 0 content bytes …
# Handler PID 41102 sent response
# Handler PID 41102 socket is done.
# Handler PID 41102 exit (ok? 1)
# Forked handler PID 41103
# Got request: /execute/Email/fail_errors_warnings_messages
# Expecting 0 content bytes …
# Handler PID 41103 sent response
# Handler PID 41103 socket is done.
# Handler PID 41103 exit (ok? 1)
# Forked handler PID 41104
# Got request: /execute/Doomed/noanswer
# Handler PID 41104 self-terminating per request
# Forked handler PID 41105
# Got request: /execute/Email/list_forwarders
# Expecting 0 content bytes …
# Handler PID 41105 sent response
# Handler PID 41105 socket is done.
# Handler PID 41105 exit (ok? 1)
# Forked handler PID 41106
# Got request: /login
# Expecting 54 content bytes …
# Got 54 content bytes …
# Handler PID 41106 sent response
# Handler PID 41106 socket is done.
# Handler PID 41106 exit (ok? 1)
# Forked handler PID 41107
# Got request: /cpses123123123/execute/Email/list_forwarders
# Expecting 0 content bytes …
# Handler PID 41107 sent response
# Handler PID 41107 socket is done.
# Handler PID 41107 exit (ok? 1)
# Forked handler PID 41108
# Got request: /execute/Email/list_forwarders
# Expecting 0 content bytes …
# Handler PID 41108 sent response
# Handler PID 41108 socket is done.
# Handler PID 41108 exit (ok? 1)
# Forked handler PID 41109
# Got request: /execute/Email/list_forwarders
# Expecting 38 content bytes …
# Got 38 content bytes …
# Handler PID 41109 sent response
# Handler PID 41109 socket is done.
# Handler PID 41109 exit (ok? 1)
# Tearing down server on port 24694 …
t/mojouseragent.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
# Using libcurl libcurl/7.52.1 OpenSSL/1.0.1s zlib/1.2.8 nghttp2/1.18.0
# Using Net::Curl 0.44
# Using Net::Curl::Promiser 0.14
# Using AnyEvent 7.17
# PID 41111 listening on port 20628 …
# Forked handler PID 41112
# Got request: /execute/Doomed/forbidden
# Expecting 0 content bytes …
# Handler PID 41112 sent response
# Handler PID 41112 socket is done.
# Handler PID 41112 exit (ok? 1)
# Forked handler PID 41113
# Got request: /execute/Email/fail_errors_warnings_messages
# Expecting 0 content bytes …
# Handler PID 41113 sent response
# Handler PID 41113 socket is done.
# Handler PID 41113 exit (ok? 1)
# Forked handler PID 41114
# Got request: /execute/Doomed/noanswer
# Handler PID 41114 self-terminating per request
# Forked handler PID 41115
# Got request: /execute/Email/list_forwarders
# Expecting 0 content bytes …
# Handler PID 41115 sent response
# Handler PID 41115 socket is done.
# Handler PID 41115 exit (ok? 1)
# Forked handler PID 41116
# Got request: /login
# Expecting 54 content bytes …
# Got 54 content bytes …
# Handler PID 41116 sent response
# Handler PID 41116 socket is done.
# Handler PID 41116 exit (ok? 1)
# Forked handler PID 41117
# Got request: /cpses123123123/execute/Email/list_forwarders
# Expecting 0 content bytes …
# Handler PID 41117 sent response
# Handler PID 41117 socket is done.
# Handler PID 41117 exit (ok? 1)
# Forked handler PID 41118
# Got request: /execute/Email/list_forwarders
# Expecting 0 content bytes …
# Handler PID 41118 sent response
# Handler PID 41118 socket is done.
# Handler PID 41118 exit (ok? 1)
# Forked handler PID 41119
# Got request: /execute/Whatsit/heyhey
# Expecting 0 content bytes …
# Handler PID 41119 sent response
# Handler PID 41119 socket is done.
# Handler PID 41119 exit (ok? 1)
# Forked handler PID 41120
# Got request: /execute/Email/list_forwarders
# Expecting 38 content bytes …
# Got 38 content bytes …
# Handler PID 41120 sent response
# Handler PID 41120 socket is done.
# Handler PID 41120 exit (ok? 1)
# Tearing down server on port 20628 …

#   Failed test 'Test::FailWarnings should catch no warnings'
#   at /usr/perl5.26.0p/lib/site_perl/5.26.0/Test/Builder.pm line 193.
# Warning was 'Net::Curl::Promiser::AnyEvent=HASH(0x803c9ba50): destroyed at global destruction; memory leak likely! at /usr/perl5.26.0p/lib/site_perl/5.26.0/Net/Curl/Promiser/LeakDetector.pm line 10 during global destruction.'

#   Failed test 'Test::FailWarnings should catch no warnings'
#   at /usr/perl5.26.0p/lib/site_perl/5.26.0/Test/Builder.pm line 193.
# Warning was 'Net::Curl::Promiser::Backend::AnyEvent=HASH(0x8080358d0): destroyed at global destruction; memory leak likely! at /usr/perl5.26.0p/lib/site_perl/5.26.0/Net/Curl/Promiser/LeakDetector.pm line 10 during global destruction.'
t/net_curl_promiser__anyevent.t ...... 
1..14
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 - promise for canceled request still doesn’t resolve
ok 13 - UAPI response - content
ok 14 - “bar” args are in correct order
not ok 15 - Test::FailWarnings should catch no warnings
not ok 16 - Test::FailWarnings should catch no warnings
All 14 subtests passed 
# Using libcurl libcurl/7.52.1 OpenSSL/1.0.1s zlib/1.2.8 nghttp2/1.18.0
# Using Net::Curl 0.44
# Using Net::Curl::Promiser 0.14
# Using IO::Async::Loop 0.77
# PID 41122 listening on port 20638 …
# Forked handler PID 41123
# Got request: /execute/Doomed/forbidden
# Expecting 0 content bytes …
# Handler PID 41123 sent response
# Handler PID 41123 socket is done.
# Handler PID 41123 exit (ok? 1)
# Forked handler PID 41124
# Got request: /execute/Email/fail_errors_warnings_messages
# Expecting 0 content bytes …
# Handler PID 41124 sent response
# Handler PID 41124 socket is done.
# Handler PID 41124 exit (ok? 1)
# Forked handler PID 41125
# Got request: /execute/Doomed/noanswer
# Handler PID 41125 self-terminating per request
# Forked handler PID 41126
# Got request: /execute/Email/list_forwarders
# Expecting 0 content bytes …
# Handler PID 41126 sent response
# Handler PID 41126 socket is done.
# Handler PID 41126 exit (ok? 1)
# Forked handler PID 41127
# Got request: /login
# Expecting 54 content bytes …
# Got 54 content bytes …
# Handler PID 41127 sent response
# Handler PID 41127 socket is done.
# Handler PID 41127 exit (ok? 1)
# Forked handler PID 41128
# Got request: /cpses123123123/execute/Email/list_forwarders
# Expecting 0 content bytes …
# Handler PID 41128 sent response
# Handler PID 41128 socket is done.
# Handler PID 41128 exit (ok? 1)
# Forked handler PID 41129
# Got request: /execute/Email/list_forwarders
# Expecting 0 content bytes …
# Handler PID 41129 sent response
# Handler PID 41129 socket is done.
# Handler PID 41129 exit (ok? 1)
# Forked handler PID 41130
# Got request: /execute/Email/list_forwarders
# Expecting 38 content bytes …
# Got 38 content bytes …
# Handler PID 41130 sent response
# Handler PID 41130 socket is done.
# Handler PID 41130 exit (ok? 1)
# Tearing down server on port 20638 …

#   Failed test 'Test::FailWarnings should catch no warnings'
#   at /usr/perl5.26.0p/lib/site_perl/5.26.0/Test/Builder.pm line 193.
# Warning was 'Net::Curl::Promiser::IOAsync=HASH(0x803bce990): destroyed at global destruction; memory leak likely! at /usr/perl5.26.0p/lib/site_perl/5.26.0/Net/Curl/Promiser/LeakDetector.pm line 10 during global destruction.'

#   Failed test 'Test::FailWarnings should catch no warnings'
#   at /usr/perl5.26.0p/lib/site_perl/5.26.0/Test/Builder.pm line 193.
# Warning was 'Net::Curl::Promiser::Backend::IOAsync=HASH(0x8066e9648): destroyed at global destruction; memory leak likely! at /usr/perl5.26.0p/lib/site_perl/5.26.0/Net/Curl/Promiser/LeakDetector.pm line 10 during global destruction.'
t/net_curl_promiser__ioasync.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
not ok 14 - Test::FailWarnings should catch no warnings
not ok 15 - Test::FailWarnings should catch no warnings
All 13 subtests passed 

Test Summary Report
-------------------
t/net_curl_promiser__anyevent.t    (Wstat: 0 Tests: 16 Failed: 2)
  Failed tests:  15-16
  Parse errors: Bad plan.  You planned 14 tests but ran 16.
t/net_curl_promiser__ioasync.t     (Wstat: 0 Tests: 15 Failed: 2)
  Failed tests:  14-15
  Parse errors: Bad plan.  You planned 13 tests but ran 15.
Files=7, Tests=60,  5 wallclock secs ( 0.00 usr  0.08 sys +  0.34 cusr  1.72 csys =  2.14 CPU)
Result: FAIL
Failed 2/7 test programs. 4/60 subtests failed.
*** Error code 255

Stop.
make: stopped in /home/cpansand/.cpan/build/2020101012/cPanel-APIClient-0.06-0

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

Prerequisite modules loaded:

requires:

    Module              Need  Have    
    ------------------- ----- --------
    Call::Context       0     0.02    
    JSON                0     4.02    
    parent              0     0.238   
    perl                5.01  5.026000
    URI::Escape         0     3.31    
    X::Tiny             0     0.16    

build_requires:

    Module              Need  Have    
    ------------------- ----- --------
    autodie             0     2.29    
    ExtUtils::MakeMaker 0     7.48    
    FindBin             0     1.51    
    mro                 0     1.20    
    Promise::ES6        0.23  0.23    
    Test::Class         0     0.50    
    Test::Deep          0     1.130   
    Test::FailWarnings  0     0.008   
    Test::Fatal         0     0.016   
    Test::MockModule    0.170 0.171.0 
    Test::More          0     1.302181

configure_requires:

    Module              Need  Have    
    ------------------- ----- --------
    ExtUtils::MakeMaker 0     7.48    


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

Environment variables:

    LC_ALL = de_DE.ISO8859-1
    PATH = /usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/cpansand/bin/freebsd10.3:/home/cpansand/bin/sh:/home/cpansand/bin:/usr/games:/home/cpansand/devel:/home/eserte/src/srezic-misc/scripts
    PERL5LIB = 
    PERL5OPT = 
    PERL5_CPANPLUS_IS_RUNNING = 37625
    PERL5_CPAN_IS_RUNNING = 37625
    PERL5_CPAN_IS_RUNNING_IN_RECURSION = 71734,37625
    PERLDOC = -MPod::Perldoc::ToTextOverstrike
    PERL_BATCH = yes
    PERL_CANARY_STABILITY_NOPROMPT = 1
    PERL_CPAN_REPORTER_CONFIG = /var/tmp/cpansmoker-1023/2020101000/cpanreporter_000_config.ini
    PERL_EXTUTILS_AUTOINSTALL = --defaultdeps
    PERL_USE_UNSAFE_INC = 1
    SHELL = /usr/local/bin/zsh
    TERM = screen
    TMPDIR = /var/tmp/cpansmoker-1023/2020101000

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

    $^X = /usr/perl5.26.0p/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.75    
    ExtUtils::CBuilder  0.280231
    ExtUtils::Command   7.48    
    ExtUtils::Install   2.16    
    ExtUtils::MakeMaker 7.48    
    ExtUtils::Manifest  1.70    
    ExtUtils::ParseXS   3.35    
    File::Spec          3.75    
    JSON                4.02    
    JSON::PP            4.05    
    Module::Build       0.4229  
    Module::Signature   0.83    
    Parse::CPAN::Meta   2.150010
    Test::Harness       3.42    
    Test::More          1.302181
    YAML                1.29    
    YAML::Syck          1.31    
    version             0.9928  


--

Summary of my perl5 (revision 5 version 26 subversion 0) configuration:
   
  Platform:
    osname=freebsd
    osvers=10.3-release-p11
    archname=amd64-freebsd
    uname='freebsd cvrsnica-freebsd-101.herceg.de 10.3-release-p11 freebsd 10.3-release-p11 #0: mon oct 24 18:49:24 utc 2016 root@amd64-builder.daemonology.net:usrobjusrsrcsysgeneric amd64 '
    config_args='-ds -e -Dprefix=/usr/perl5.26.0p -Dcf_email=srezic@cpan.org -Doptimize=-O2 -pipe'
    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 ='-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_FORTIFY_SOURCE=2'
    optimize='-O2 -pipe'
    cppflags='-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include'
    ccversion=''
    gccversion='4.2.1 Compatible FreeBSD Clang 3.4.1 (tags/RELEASE_34/dot1-final 208032)'
    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 ='-pthread -Wl,-E  -fstack-protector -L/usr/local/lib'
    libpth=/usr/lib /usr/local/lib /usr/include/clang/3.4.1 /usr/lib
    libs=-lpthread -lgdbm -lm -lcrypt -lutil -lc -lelf
    perllibs=-lpthread -lm -lcrypt -lutil -lc -lelf
    libc=
    so=so
    useshrplib=false
    libperl=libperl.a
    gnulibc_version=''
  Dynamic Linking:
    dlsrc=dl_dlopen.xs
    dlext=so
    d_dlsymun=undef
    ccdlflags=' '
    cccdlflags='-DPIC -fPIC'
    lddlflags='-shared  -L/usr/local/lib -fstack-protector'


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 freebsd
  Compiled at Jun  3 2017 22:58:33
  %ENV:
    PERL5LIB=""
    PERL5OPT=""
    PERL5_CPANPLUS_IS_RUNNING="37625"
    PERL5_CPAN_IS_RUNNING="37625"
    PERL5_CPAN_IS_RUNNING_IN_RECURSION="71734,37625"
    PERLDOC="-MPod::Perldoc::ToTextOverstrike"
    PERL_BATCH="yes"
    PERL_CANARY_STABILITY_NOPROMPT="1"
    PERL_CPAN_REPORTER_CONFIG="/var/tmp/cpansmoker-1023/2020101000/cpanreporter_000_config.ini"
    PERL_EXTUTILS_AUTOINSTALL="--defaultdeps"
    PERL_USE_UNSAFE_INC="1"
  @INC:
    /usr/perl5.26.0p/lib/site_perl/5.26.0/amd64-freebsd
    /usr/perl5.26.0p/lib/site_perl/5.26.0
    /usr/perl5.26.0p/lib/5.26.0/amd64-freebsd
    /usr/perl5.26.0p/lib/5.26.0
    .