Crypt-JWT v0.036 Perl 5 v5.20.0 x86_64-linux-thread-multi

Status
Fail
From
Andreas J. König (ANDK)
Dist
Crypt-JWT v0.036
Platform
Perl 5 v5.20.0 x86_64-linux-thread-multi
Date
2025-02-11 14:03:08
ID
ec2a0cdc-e880-11ef-80a7-b7e53bbe6bc4
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 Karel Miko,

This is a computer-generated report for Crypt-JWT-0.036
on perl 5.20.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:

this report is from an automated smoke testing program
and was not reviewed by a human for accuracy

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

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

PERL_DL_NONLAZY=1 "/home/sand/src/perl/repoperls/installed-perls/host/k93msid/v5.20.0/29fb/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/compile.t ............ ok
t/flattened.t .......... ok
t/jws_empty_payload.t .. ok
t/jws_no_key.t ......... ok
FATAL: rsa_decrypt_key_ex failed: Invalid input packet. at /tmp/loop_over_bdir-3226407-z2gEOb/Crypt-JWT-0.036-0/blib/lib/Crypt/KeyWrap.pm line 226.

#   Failed test 'RSA_OAEP_256_A128CBC_HS256'
#   at t/jwt_decode_tv.t line 236.
#          got: undef
#     expected: '{"exp":1392553211,"sub":"alice","nbf":1392552611,"aud":["https:\/\/app-one.com","https:\/\/app-two.com"],"iss":"https:\/\/openid.net","jti":"586dd129-a29f-49c8-9de7-454af1155e27","iat":1392552611}'
FATAL: rsa_decrypt_key_ex failed: Invalid input packet. at /tmp/loop_over_bdir-3226407-z2gEOb/Crypt-JWT-0.036-0/blib/lib/Crypt/KeyWrap.pm line 226.

#   Failed test 'RSA_OAEP_256_A192CBC_HS384'
#   at t/jwt_decode_tv.t line 243.
#          got: undef
#     expected: '{"exp":1392553211,"sub":"alice","nbf":1392552611,"aud":["https:\/\/app-one.com","https:\/\/app-two.com"],"iss":"https:\/\/openid.net","jti":"586dd129-a29f-49c8-9de7-454af1155e27","iat":1392552611}'
FATAL: rsa_decrypt_key_ex failed: Invalid input packet. at /tmp/loop_over_bdir-3226407-z2gEOb/Crypt-JWT-0.036-0/blib/lib/Crypt/KeyWrap.pm line 226.

#   Failed test 'RSA_OAEP_256_A256CBC_HS512'
#   at t/jwt_decode_tv.t line 250.
#          got: undef
#     expected: '{"exp":1392553211,"sub":"alice","nbf":1392552611,"aud":["https:\/\/app-one.com","https:\/\/app-two.com"],"iss":"https:\/\/openid.net","jti":"586dd129-a29f-49c8-9de7-454af1155e27","iat":1392552611}'
# Looks like you failed 3 tests of 57.
t/jwt_decode_tv.t ...... 
Dubious, test returned 3 (wstat 768, 0x300)
Failed 3/57 subtests 
t/jwt_encode_decode.t .. ok
t/jwt_params.t ......... ok
t/kw_aes.t ............. ok
t/kw_ecdh.t ............ ok
t/kw_ecdhaes.t ......... ok
t/kw_gcm.t ............. ok
t/kw_pbes2.t ........... ok
t/kw_rsa.t ............. ok

Test Summary Report
-------------------
t/jwt_decode_tv.t    (Wstat: 768 (exited 3) Tests: 57 Failed: 3)
  Failed tests:  19-21
  Non-zero exit status: 3
Files=13, Tests=624,  5 wallclock secs ( 0.13 usr  0.05 sys +  3.00 cusr  0.39 csys =  3.57 CPU)
Result: FAIL
Failed 1/13 test programs. 3/624 subtests failed.
make: *** [Makefile:872: test_dynamic] Error 255

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

Prerequisite modules loaded:

requires:

    Module              Need  Have     
    ------------------- ----- ---------
    Compress::Raw::Zlib 0     2.213    
    CryptX              0.067 0.080_005
    Exporter            5.57  5.78     
    JSON                0     4.10     
    perl                5.006 5.020000 
    Scalar::Util        0     1.68     
    Test::More          0.88  1.302204 

build_requires:

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

configure_requires:

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


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

Environment variables:

    AUTOMATED_TESTING = 1
    LANG = en_US.UTF-8
    LANGUAGE = en_US:en
    PATH = /home/sand/bin:/usr/local/bin:/usr/bin:/bin:/usr/games:/usr/local/perl/bin:/usr/X11/bin:/sbin:/usr/sbin
    PERL5LIB = 
    PERL5OPT = 
    PERL5_CPANPLUS_IS_RUNNING = 1232573
    PERL5_CPAN_IS_RUNNING = 1232573
    PERL_CANARY_STABILITY_NOPROMPT = 1
    PERL_MM_USE_DEFAULT = 1
    PERL_USE_UNSAFE_INC = 1
    SHELL = /usr/bin/zsh
    TERM = screen

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

    $^X = /home/sand/src/perl/repoperls/installed-perls/host/k93msid/v5.20.0/29fb/bin/perl
    $UID/$EUID = 1005 / 1005
    $GID = 1005 1005
    $EGID = 1005 1005

Perl module toolchain versions installed:

    Module              Have    
    ------------------- --------
    CPAN                2.36    
    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.70    
    ExtUtils::ParseXS   3.51    
    File::Spec          3.75    
    JSON                4.10    
    JSON::PP            4.11    
    Module::Build       0.4234  
    Module::Signature   0.88    
    Parse::CPAN::Meta   2.150010
    Test::Harness       3.44    
    Test::More          1.302204
    YAML                1.30    
    YAML::Syck          1.34    
    version             0.9929  


--

Summary of my perl5 (revision 5 version 20 subversion 0) configuration:
  Derived from: d7d4eceb184d8fc54797d661a6d5ff9a4a7048c3
  Platform:
    osname=linux, osvers=5.17.0-1-amd64, archname=x86_64-linux-thread-multi
    uname='linux k93msid 5.17.0-1-amd64 #1 smp preempt debian 5.17.3-1 (2022-04-18) x86_64 gnulinux '
    config_args='-Dprefix=/home/sand/src/perl/repoperls/installed-perls/host/k93msid/v5.20.0/29fb -Dmyhostname=k93msid -Dinstallusrbinperl=n -Uversiononly -Dusedevel -des -Ui_db -Dlibswanted=cl pthread socket inet nsl gdbm dbm malloc dl ld sun m crypt sec util c cposix posix ucb BSD gdbm_compat -Duseithreads -Uuselongdouble -DEBUGGING=both'
    hint=recommended, useposix=true, d_sigaction=define
    useithreads=define, usemultiplicity=define
    use64bitint=define, use64bitall=define, uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -fwrapv -DDEBUGGING -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
    optimize='-O2 -g',
    cppflags='-D_REENTRANT -D_GNU_SOURCE -fwrapv -DDEBUGGING -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include'
    ccversion='', gccversion='11.3.0', gccosandvers=''
    intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
    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 -L/usr/local/lib'
    libpth=/usr/local/lib /usr/include/x86_64-linux-gnu /usr/lib /lib/x86_64-linux-gnu /lib/../lib /usr/lib/x86_64-linux-gnu /usr/lib/../lib /lib
    libs=-lpthread -lnsl -ldl -lm -lcrypt -lutil -lc
    perllibs=-lpthread -lnsl -ldl -lm -lcrypt -lutil -lc
    libc=libc-2.33.so, so=so, useshrplib=false, libperl=libperl.a
    gnulibc_version='2.33'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
    cccdlflags='-fPIC', lddlflags='-shared -O2 -g -L/usr/local/lib -fstack-protector'


Characteristics of this binary (from libperl): 
  Compile-time options: DEBUGGING HAS_TIMES MULTIPLICITY PERLIO_LAYERS
                        PERL_DONT_CREATE_GVSV
                        PERL_HASH_FUNC_ONE_AT_A_TIME_HARD
                        PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP
                        PERL_NEW_COPY_ON_WRITE PERL_PRESERVE_IVUV
                        PERL_TRACK_MEMPOOL PERL_USE_DEVEL USE_64_BIT_ALL
                        USE_64_BIT_INT USE_ITHREADS USE_LARGE_FILES
                        USE_LOCALE USE_LOCALE_COLLATE USE_LOCALE_CTYPE
                        USE_LOCALE_NUMERIC USE_PERLIO USE_PERL_ATOF
                        USE_REENTRANT_API
  Locally applied patches:
	uncommitted-changes
  Built under linux
  Compiled at May  8 2022 06:17:38
  %ENV:
    PERL5LIB=""
    PERL5OPT=""
    PERL5_CPANPLUS_IS_RUNNING="1232573"
    PERL5_CPAN_IS_RUNNING="1232573"
    PERL_CANARY_STABILITY_NOPROMPT="1"
    PERL_MM_USE_DEFAULT="1"
    PERL_USE_UNSAFE_INC="1"
  @INC:
    /home/sand/src/perl/repoperls/installed-perls/host/k93msid/v5.20.0/29fb/lib/site_perl/5.20.0/x86_64-linux-thread-multi
    /home/sand/src/perl/repoperls/installed-perls/host/k93msid/v5.20.0/29fb/lib/site_perl/5.20.0
    /home/sand/src/perl/repoperls/installed-perls/host/k93msid/v5.20.0/29fb/lib/5.20.0/x86_64-linux-thread-multi
    /home/sand/src/perl/repoperls/installed-perls/host/k93msid/v5.20.0/29fb/lib/5.20.0
    .