WWW-NHKProgram-API v0.03 Perl 5 v5.40.3 x86_64-linux

Status
Fail
From
Andreas J. König (ANDK)
Dist
WWW-NHKProgram-API v0.03
Platform
Perl 5 v5.40.3 x86_64-linux
Date
2025-08-21 03:23:52
ID
42c659c6-7e3e-11f0-9143-f7951a2303ed
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 Taiki Kawakami,

This is a computer-generated report for WWW-NHKProgram-API-0.03
on perl 5.40.3, created by CPAN-Reporter-1.2020.

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

t/00_compile.t ..... ok

        #   Failed test at t/01_list.t line 144.
        #                   '[Error] 401 Not Found: Invalid ApiKey (oauth.v2.InvalidApiKey) at /tmp/loop_over_bdir-4089981-M0ui8E/WWW-NHKProgram-API-0.03-0/blib/lib/WWW/NHKProgram/API/Provider/List.pm line 18.
        # '
        #     doesn't match '(?^:\[Error\] 401 Unauthorized: Invalid ApiKey \(oauth\.v2\.InvalidApiKey\))'
        # Looks like you failed 1 test of 1.

    #   Failed test 'Get error response as hashref certainly'
    #   at t/01_list.t line 145.
Unescaped left brace in regex is passed through in regex; marked by <-- HERE in m/{"fault":{ <-- HERE "faultstring":"Invalid ApiKey","detail":{"errorcode":"oauth.v2.InvalidApiKey"}}}/ at t/01_list.t line 152.
Unescaped left brace in regex is passed through in regex; marked by <-- HERE in m/{"fault":{"faultstring":"Invalid ApiKey","detail":{ <-- HERE "errorcode":"oauth.v2.InvalidApiKey"}}}/ at t/01_list.t line 152.
    # Looks like you failed 1 test of 2.

#   Failed test 'Error handling'
#   at t/01_list.t line 154.
# Looks like you failed 1 test of 3.
t/01_list.t ........ 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/3 subtests 

        #   Failed test at t/02_genre.t line 150.
        #                   '[Error] 401 Not Found: Invalid ApiKey (oauth.v2.InvalidApiKey) at /tmp/loop_over_bdir-4089981-M0ui8E/WWW-NHKProgram-API-0.03-0/blib/lib/WWW/NHKProgram/API/Provider/Genre.pm line 20.
        # '
        #     doesn't match '(?^:\[Error\] 401 Unauthorized: Invalid ApiKey \(oauth\.v2\.InvalidApiKey\))'
        # Looks like you failed 1 test of 1.

    #   Failed test 'Get error response as hashref certainly'
    #   at t/02_genre.t line 151.
Unescaped left brace in regex is passed through in regex; marked by <-- HERE in m/{"fault":{ <-- HERE "faultstring":"Invalid ApiKey","detail":{"errorcode":"oauth.v2.InvalidApiKey"}}}/ at t/02_genre.t line 159.
Unescaped left brace in regex is passed through in regex; marked by <-- HERE in m/{"fault":{"faultstring":"Invalid ApiKey","detail":{ <-- HERE "errorcode":"oauth.v2.InvalidApiKey"}}}/ at t/02_genre.t line 159.
    # Looks like you failed 1 test of 2.

#   Failed test 'Error handling'
#   at t/02_genre.t line 161.
# Looks like you failed 1 test of 3.
t/02_genre.t ....... 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/3 subtests 

        #   Failed test at t/03_info.t line 94.
        #                   '[Error] 401 Not Found: Invalid ApiKey (oauth.v2.InvalidApiKey) at /tmp/loop_over_bdir-4089981-M0ui8E/WWW-NHKProgram-API-0.03-0/blib/lib/WWW/NHKProgram/API/Provider/Info.pm line 17.
        # '
        #     doesn't match '(?^:\[Error\] 401 Unauthorized: Invalid ApiKey \(oauth\.v2\.InvalidApiKey\))'
        # Looks like you failed 1 test of 1.

    #   Failed test 'Get error response as hashref certainly'
    #   at t/03_info.t line 95.
Unescaped left brace in regex is passed through in regex; marked by <-- HERE in m/{"fault":{ <-- HERE "faultstring":"Invalid ApiKey","detail":{"errorcode":"oauth.v2.InvalidApiKey"}}}/ at t/03_info.t line 102.
Unescaped left brace in regex is passed through in regex; marked by <-- HERE in m/{"fault":{"faultstring":"Invalid ApiKey","detail":{ <-- HERE "errorcode":"oauth.v2.InvalidApiKey"}}}/ at t/03_info.t line 102.
    # Looks like you failed 1 test of 2.

#   Failed test 'Error handling'
#   at t/03_info.t line 104.
# Looks like you failed 1 test of 3.
t/03_info.t ........ 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/3 subtests 

        #   Failed test at t/04_now_on_air.t line 157.
        #                   '[Error] 401 Not Found: Invalid ApiKey (oauth.v2.InvalidApiKey) at /tmp/loop_over_bdir-4089981-M0ui8E/WWW-NHKProgram-API-0.03-0/blib/lib/WWW/NHKProgram/API/Provider/Now.pm line 16.
        # '
        #     doesn't match '(?^:\[Error\] 401 Unauthorized: Invalid ApiKey \(oauth\.v2\.InvalidApiKey\))'
        # Looks like you failed 1 test of 1.

    #   Failed test 'Get error response as hashref certainly'
    #   at t/04_now_on_air.t line 158.
Unescaped left brace in regex is passed through in regex; marked by <-- HERE in m/{"fault":{ <-- HERE "faultstring":"Invalid ApiKey","detail":{"errorcode":"oauth.v2.InvalidApiKey"}}}/ at t/04_now_on_air.t line 164.
Unescaped left brace in regex is passed through in regex; marked by <-- HERE in m/{"fault":{"faultstring":"Invalid ApiKey","detail":{ <-- HERE "errorcode":"oauth.v2.InvalidApiKey"}}}/ at t/04_now_on_air.t line 164.
    # Looks like you failed 1 test of 2.

#   Failed test 'Error handling'
#   at t/04_now_on_air.t line 166.
# Looks like you failed 1 test of 3.
t/04_now_on_air.t .. 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/3 subtests 
t/10_area.t ........ ok
t/11_date.t ........ ok
t/12_service.t ..... ok

Test Summary Report
-------------------
t/01_list.t      (Wstat: 256 (exited 1) Tests: 3 Failed: 1)
  Failed test:  3
  Non-zero exit status: 1
t/02_genre.t     (Wstat: 256 (exited 1) Tests: 3 Failed: 1)
  Failed test:  3
  Non-zero exit status: 1
t/03_info.t      (Wstat: 256 (exited 1) Tests: 3 Failed: 1)
  Failed test:  3
  Non-zero exit status: 1
t/04_now_on_air.t (Wstat: 256 (exited 1) Tests: 3 Failed: 1)
  Failed test:  3
  Non-zero exit status: 1
Files=8, Tests=25,  6 wallclock secs ( 0.04 usr  0.02 sys +  0.66 cusr  0.18 csys =  0.90 CPU)
Result: FAIL
Failed 4/8 test programs. 4/25 subtests failed.

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

Prerequisite modules loaded:

requires:

    Module                      Need     Have    
    --------------------------- -------- --------
    Class::Accessor::Lite::Lazy 0        0.03    
    Encode                      2.57     3.21    
    Furl                        0        3.14    
    JSON                        0        4.10    
    parent                      0        0.244   
    perl                        5.008005 5.040003
    Text::Sprintf::Named        0        0.0405  
    TV::ARIB::ProgramGenre      0        0.01    

build_requires:

    Module                      Need     Have    
    --------------------------- -------- --------
    Scope::Guard                0        0.21    
    Test::Deep                  0        1.205   
    Test::More                  0.98     1.302214

configure_requires:

    Module                      Need     Have    
    --------------------------- -------- --------
    CPAN::Meta                  0        2.150010
    CPAN::Meta::Prereqs         0        2.150010
    Module::Build               0.38     0.4234  


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

Environment variables:

    AUTOMATED_TESTING = 1
    LANG = en_US.UTF-8
    LC_ADDRESS = de_DE.UTF-8
    LC_IDENTIFICATION = de_DE.UTF-8
    LC_MEASUREMENT = de_DE.UTF-8
    LC_MONETARY = de_DE.UTF-8
    LC_NAME = de_DE.UTF-8
    LC_NUMERIC = de_DE.UTF-8
    LC_PAPER = de_DE.UTF-8
    LC_TELEPHONE = de_DE.UTF-8
    LC_TIME = de_DE.UTF-8
    PATH = /home/sand/bin:/usr/local/bin:/usr/local/sbin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/perl/bin:/usr/X11/bin
    PERL = /tmp/basesmoker-reloperl-9cIS/bin/perl
    PERL5LIB = /tmp/loop_over_bdir-4089981-M0ui8E/Devel-Required-0.17-0/blib/arch:/tmp/loop_over_bdir-4089981-M0ui8E/Devel-Required-0.17-0/blib/lib:/tmp/loop_over_bdir-4089981-M0ui8E/Debian-Packages-0.03-0/blib/arch:/tmp/loop_over_bdir-4089981-M0ui8E/Debian-Packages-0.03-0/blib/lib:/tmp/loop_over_bdir-4089981-M0ui8E/Dpkg-1.22.21-0/blib/arch:/tmp/loop_over_bdir-4089981-M0ui8E/Dpkg-1.22.21-0/blib/lib:/tmp/loop_over_bdir-4089981-M0ui8E/Business-Shipping-DataFiles-1.02-0/blib/arch:/tmp/loop_over_bdir-4089981-M0ui8E/Business-Shipping-DataFiles-1.02-0/blib/lib:/tmp/loop_over_bdir-4089981-M0ui8E/ProjectBuilder-0.14.1-0/blib/arch:/tmp/loop_over_bdir-4089981-M0ui8E/ProjectBuilder-0.14.1-0/blib/lib:/tmp/loop_over_bdir-4089981-M0ui8E/perl-Hardware-UPS-Perl-0.43-0/blib/arch:/tmp/loop_over_bdir-4089981-M0ui8E/perl-Hardware-UPS-Perl-0.43-0/blib/lib:/tmp/loop_over_bdir-4089981-M0ui8E/Linux-InitFS-0.2-0/blib/arch:/tmp/loop_over_bdir-4089981-M0ui8E/Linux-InitFS-0.2-0/blib/lib
    PERL5OPT = 
    PERL5_CPANPLUS_IS_RUNNING = 4089989
    PERL5_CPAN_IS_RUNNING = 4089989
    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 = /tmp/basesmoker-reloperl-9cIS/bin/perl
    $UID/$EUID = 1005 / 1005
    $GID = 1005 1005
    $EGID = 1005 1005

Perl module toolchain versions installed:

    Module              Have    
    ------------------- --------
    CPAN                2.38    
    CPAN::Meta          2.150010
    Cwd                 3.91    
    ExtUtils::CBuilder  0.280240
    ExtUtils::Command   7.76    
    ExtUtils::Install   2.22    
    ExtUtils::MakeMaker 7.76    
    ExtUtils::Manifest  1.75    
    ExtUtils::ParseXS   3.51    
    File::Spec          3.91    
    JSON                4.10    
    JSON::PP            4.16    
    Module::Build       0.4234  
    Module::Signature   0.93    
    Parse::CPAN::Meta   2.150010
    Test2               1.302214
    Test::Harness       3.52    
    Test::More          1.302214
    YAML                1.31    
    YAML::Syck          1.34    
    version             0.9933  


--

Summary of my perl5 (revision 5 version 40 subversion 3) configuration:
  Commit id: f0594ea45aebda152be29d14a09562adcb5b00c0
  Platform:
    osname=linux
    osvers=6.8.0-64-generic
    archname=x86_64-linux
    uname='linux k93jammy 6.8.0-64-generic #67~22.04.1-ubuntu smp preempt_dynamic tue jun 24 15:19:46 utc 2 x86_64 x86_64 x86_64 gnulinux '
    config_args='-Dprefix=/home/sand/src/perl/repoperls/installed-perls/host/k93jammy/v5.40.3/6567 -Dmyhostname=k93jammy -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 -Uuseithreads -Uuselongdouble -DEBUGGING=-g'
    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 -g'
    cppflags='-fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include'
    ccversion=''
    gccversion='11.4.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 -lnsl -ldl -lm -lcrypt -lutil -lc
    perllibs=-lpthread -lnsl -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 -g -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_DEVEL
    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 Aug  4 2025 08:11:34
  %ENV:
    PERL="/tmp/basesmoker-reloperl-9cIS/bin/perl"
    PERL5LIB="/tmp/loop_over_bdir-4089981-M0ui8E/Devel-Required-0.17-0/blib/arch:/tmp/loop_over_bdir-4089981-M0ui8E/Devel-Required-0.17-0/blib/lib:/tmp/loop_over_bdir-4089981-M0ui8E/Debian-Packages-0.03-0/blib/arch:/tmp/loop_over_bdir-4089981-M0ui8E/Debian-Packages-0.03-0/blib/lib:/tmp/loop_over_bdir-4089981-M0ui8E/Dpkg-1.22.21-0/blib/arch:/tmp/loop_over_bdir-4089981-M0ui8E/Dpkg-1.22.21-0/blib/lib:/tmp/loop_over_bdir-4089981-M0ui8E/Business-Shipping-DataFiles-1.02-0/blib/arch:/tmp/loop_over_bdir-4089981-M0ui8E/Business-Shipping-DataFiles-1.02-0/blib/lib:/tmp/loop_over_bdir-4089981-M0ui8E/ProjectBuilder-0.14.1-0/blib/arch:/tmp/loop_over_bdir-4089981-M0ui8E/ProjectBuilder-0.14.1-0/blib/lib:/tmp/loop_over_bdir-4089981-M0ui8E/perl-Hardware-UPS-Perl-0.43-0/blib/arch:/tmp/loop_over_bdir-4089981-M0ui8E/perl-Hardware-UPS-Perl-0.43-0/blib/lib:/tmp/loop_over_bdir-4089981-M0ui8E/Linux-InitFS-0.2-0/blib/arch:/tmp/loop_over_bdir-4089981-M0ui8E/Linux-InitFS-0.2-0/blib/lib"
    PERL5OPT=""
    PERL5_CPANPLUS_IS_RUNNING="4089989"
    PERL5_CPAN_IS_RUNNING="4089989"
    PERL_CANARY_STABILITY_NOPROMPT="1"
    PERL_MM_USE_DEFAULT="1"
    PERL_USE_UNSAFE_INC="1"
  @INC:
    /tmp/loop_over_bdir-4089981-M0ui8E/Devel-Required-0.17-0/blib/arch
    /tmp/loop_over_bdir-4089981-M0ui8E/Devel-Required-0.17-0/blib/lib
    /tmp/loop_over_bdir-4089981-M0ui8E/Debian-Packages-0.03-0/blib/arch
    /tmp/loop_over_bdir-4089981-M0ui8E/Debian-Packages-0.03-0/blib/lib
    /tmp/loop_over_bdir-4089981-M0ui8E/Dpkg-1.22.21-0/blib/arch
    /tmp/loop_over_bdir-4089981-M0ui8E/Dpkg-1.22.21-0/blib/lib
    /tmp/loop_over_bdir-4089981-M0ui8E/Business-Shipping-DataFiles-1.02-0/blib/arch
    /tmp/loop_over_bdir-4089981-M0ui8E/Business-Shipping-DataFiles-1.02-0/blib/lib
    /tmp/loop_over_bdir-4089981-M0ui8E/ProjectBuilder-0.14.1-0/blib/arch
    /tmp/loop_over_bdir-4089981-M0ui8E/ProjectBuilder-0.14.1-0/blib/lib
    /tmp/loop_over_bdir-4089981-M0ui8E/perl-Hardware-UPS-Perl-0.43-0/blib/arch
    /tmp/loop_over_bdir-4089981-M0ui8E/perl-Hardware-UPS-Perl-0.43-0/blib/lib
    /tmp/loop_over_bdir-4089981-M0ui8E/Linux-InitFS-0.2-0/blib/arch
    /tmp/loop_over_bdir-4089981-M0ui8E/Linux-InitFS-0.2-0/blib/lib
    /home/sand/src/perl/repoperls/installed-perls/host/k93jammy/v5.40.3/6567/lib/site_perl/5.40.3/x86_64-linux
    /home/sand/src/perl/repoperls/installed-perls/host/k93jammy/v5.40.3/6567/lib/site_perl/5.40.3
    /home/sand/src/perl/repoperls/installed-perls/host/k93jammy/v5.40.3/6567/lib/5.40.3/x86_64-linux
    /home/sand/src/perl/repoperls/installed-perls/host/k93jammy/v5.40.3/6567/lib/5.40.3
    .