JSON-API vv1.1.1 Perl 5 v5.38.0 x86_64-linux

Status
Fail
From
Slaven Rezić
Dist
JSON-API vv1.1.1
Platform
Perl 5 v5.38.0 x86_64-linux
Date
2023-12-26 10:22:47
ID
b6ccd7a6-a3d8-11ee-ba2a-98e56d8775ea
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 Geoff Franks,

This is a computer-generated report for JSON-API-v1.1.1
on perl 5.38.0, created by CPAN-Reporter-1.2019.

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 './Build test':

t/000_pod.t ... ok
t/001_load.t .. ok

#   Failed test 'Invalid object sent for serialization returns undef'
#   at t/core.t line 54.
#          got: '"asdf"'
#     expected: undef

#   Failed test 'Bad encode sets proper errstr'
#   at t/core.t line 55.
#          got: ''
#     expected: 'hash- or arrayref expected (not a simple scalar, use allow_nonref to allow this)'
# Looks like you failed 2 tests of 24.
t/core.t ...... 
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/24 subtests 

#   Failed test 'Scalar context for /put_invalid_json bails before request'
#   at t/requests.t line 17.
#     Structures begin differing at:
#          $got->{code} = 'success'
#     $expected->{code} = Does not exist

#   Failed test 'List context HTTP Code for /put_invalid_json bails before request should return 500'
#   at t/requests.t line 19.
#          got: '200'
#     expected: '500'

#   Failed test 'List context response for /put_invalid_json bails before request'
#   at t/requests.t line 20.
#     Structures begin differing at:
#          $got->{code} = 'success'
#     $expected->{code} = Does not exist
# Looks like you failed 3 tests of 35.
t/requests.t .. 
Dubious, test returned 3 (wstat 768, 0x300)
Failed 3/35 subtests 

Test Summary Report
-------------------
t/core.t    (Wstat: 512 (exited 2) Tests: 24 Failed: 2)
  Failed tests:  9-10
  Non-zero exit status: 2
t/requests.t (Wstat: 768 (exited 3) Tests: 35 Failed: 3)
  Failed tests:  20-22
  Non-zero exit status: 3
Files=4, Tests=70,  1 wallclock secs ( 0.02 usr  0.00 sys +  0.40 cusr  0.06 csys =  0.48 CPU)
Result: FAIL
Failed 2/4 test programs. 5/70 subtests failed.

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

Prerequisite modules loaded:

requires:

    Module              Need Have    
    ------------------- ---- --------
    JSON                0    4.10    
    LWP::UserAgent      0    6.72    
    URI::Encode         0    1.1.1   

build_requires:

    Module              Need Have    
    ------------------- ---- --------
    IO::Capture         0    0.05    
    JSON                0    4.10    
    LWP::UserAgent      0    6.72    
    Test::Fake::HTTPD   0    0.09    
    Test::More          0    1.302196
    Test::Pod::Coverage 0    1.10    

configure_requires:

    Module              Need Have    
    ------------------- ---- --------
    Module::Build       0.38 0.4234  


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

Environment variables:

    LANG = C
    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/.local/share/.cpan/build/2023122610/Test-Fake-HTTPD-0.09-3/blib/arch:/home/cpansand/.local/share/.cpan/build/2023122610/Test-Fake-HTTPD-0.09-3/blib/lib
    PERL5OPT = 
    PERL5_CPANPLUS_IS_RUNNING = 702061
    PERL5_CPAN_IS_RUNNING = 702061
    PERL5_CPAN_IS_RUNNING_IN_RECURSION = 700711,702061
    PERLDOC = -MPod::Perldoc::ToTextOverstrike
    PERL_BATCH = yes
    PERL_CANARY_STABILITY_NOPROMPT = 1
    PERL_CPAN_REPORTER_CONFIG = /var/tmp/cpansmoker-1023/2023122610/cpanreporter_000_config.ini
    PERL_EXTUTILS_AUTOINSTALL = --defaultdeps
    PERL_USE_UNSAFE_INC = 1
    SHELL = /usr/bin/zsh
    TERM = screen
    TMPDIR = /var/tmp/cpansmoker-1023/2023122610

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

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

Perl module toolchain versions installed:

    Module              Have    
    ------------------- --------
    CPAN                2.36    
    CPAN::Meta          2.150010
    Cwd                 3.89    
    ExtUtils::CBuilder  0.280238
    ExtUtils::Command   7.70    
    ExtUtils::Install   2.22    
    ExtUtils::MakeMaker 7.70    
    ExtUtils::Manifest  1.73    
    ExtUtils::ParseXS   3.51    
    File::Spec          3.88    
    JSON                4.10    
    JSON::PP            4.16    
    Module::Build       0.4234  
    Module::Signature   n/a     
    Parse::CPAN::Meta   2.150010
    Test2               1.302196
    Test::Harness       3.48    
    Test::More          1.302196
    YAML                1.30    
    YAML::Syck          1.34    
    version             0.9929  


--

Summary of my perl5 (revision 5 version 38 subversion 0) configuration:
   
  Platform:
    osname=linux
    osvers=5.15.0-76-generic
    archname=x86_64-linux
    uname='linux cloud14.bbbike.org 5.15.0-76-generic #83-ubuntu smp thu jun 15 19:16:32 utc 2023 x86_64 x86_64 x86_64 gnulinux '
    config_args='-ds -e -Dprefix=/opt/perl-5.38.0 -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'
    optimize='-O2'
    cppflags='-fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include'
    ccversion=''
    gccversion='11.3.0'
    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/x86_64-linux-gnu /usr/lib /usr/lib64
    libs=-lpthread -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc
    perllibs=-lpthread -ldl -lm -lcrypt -lutil -lc
    libc=/lib/x86_64-linux-gnu/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_LONG_DOUBLE
    HAS_STRTOLD
    HAS_TIMES
    PERLIO_LAYERS
    PERL_COPY_ON_WRITE
    PERL_DONT_CREATE_GVSV
    PERL_HASH_FUNC_SIPHASH13
    PERL_HASH_USE_SBOX32
    PERL_MALLOC_WRAP
    PERL_OP_PARENT
    PERL_PRESERVE_IVUV
    PERL_USE_SAFE_PUTENV
    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 Jul  8 2023 12:27:40
  %ENV:
    PERL5LIB="/home/cpansand/.local/share/.cpan/build/2023122610/Test-Fake-HTTPD-0.09-3/blib/arch:/home/cpansand/.local/share/.cpan/build/2023122610/Test-Fake-HTTPD-0.09-3/blib/lib"
    PERL5OPT=""
    PERL5_CPANPLUS_IS_RUNNING="702061"
    PERL5_CPAN_IS_RUNNING="702061"
    PERL5_CPAN_IS_RUNNING_IN_RECURSION="700711,702061"
    PERLDOC="-MPod::Perldoc::ToTextOverstrike"
    PERL_BATCH="yes"
    PERL_CANARY_STABILITY_NOPROMPT="1"
    PERL_CPAN_REPORTER_CONFIG="/var/tmp/cpansmoker-1023/2023122610/cpanreporter_000_config.ini"
    PERL_EXTUTILS_AUTOINSTALL="--defaultdeps"
    PERL_USE_UNSAFE_INC="1"
  @INC:
    /home/cpansand/.local/share/.cpan/build/2023122610/Test-Fake-HTTPD-0.09-3/blib/arch
    /home/cpansand/.local/share/.cpan/build/2023122610/Test-Fake-HTTPD-0.09-3/blib/lib
    /opt/perl-5.38.0/lib/site_perl/5.38.0/x86_64-linux
    /opt/perl-5.38.0/lib/site_perl/5.38.0
    /opt/perl-5.38.0/lib/5.38.0/x86_64-linux
    /opt/perl-5.38.0/lib/5.38.0
    .