WebService-HMRC-HelloWorld v0.01 Perl 5 v5.29.4 x86_64-linux-thread-multi
- Status
- Fail
- From
- Serguei Trouchelle (STRO)
- Dist
-
WebService-HMRC-HelloWorld v0.01
- Platform
- Perl 5 v5.29.4 x86_64-linux-thread-multi
- Date
- 2018-11-18 17:26:41
- ID
- 1d3ab89a-eb57-11e8-9d22-c12a8c7c0682
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 Nicholas Prater,
This is a computer-generated report for WebService-HMRC-HelloWorld-0.01
on perl 5.29.4, 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/stro/perl/5.29.4t/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
# Testing WebService::HMRC::HelloWorld 0.01, Perl 5.029004, /home/stro/perl/5.29.4t/bin/perl
t/00-load.t ......... ok
unable to parse api response as json: malformed JSON string, neither tag, array, object, number, string or atom, at character offset 0 (before "Can't connect to tes...") at /home/stro/perl/5.29.4t/lib/site_perl/5.29.4/WebService/HMRC/Response.pm line 119.
at /home/stro/perl/5.29.4t/lib/site_perl/5.29.4/WebService/HMRC/Response.pm line 132.
Error calling api endpoint: 500 Can't connect to test-api.service.hmrc.gov.uk:443 (Name or service not known) at t/01-hello_world.t line 19.
code: INVALID_RESPONSE at t/01-hello_world.t line 19.
message: No valid JSON data received from api call. 500 Can't connect to test-api.service.hmrc.gov.uk:443 (Name or service not known) at t/01-hello_world.t line 19.
# Failed test '/hello/world endpoint returned OK response'
# at t/01-hello_world.t line 21.
# Failed test '/hello/world endpoint returned "Hello World" message'
# at t/01-hello_world.t line 22.
# got: 'No valid JSON data received from api call. 500 Can't connect to test-api.service.hmrc.gov.uk:443 (Name or service not known)'
# expected: 'Hello World'
unable to parse api response as json: malformed JSON string, neither tag, array, object, number, string or atom, at character offset 0 (before "Can't connect to inv...") at /home/stro/perl/5.29.4t/lib/site_perl/5.29.4/WebService/HMRC/Response.pm line 119.
at /home/stro/perl/5.29.4t/lib/site_perl/5.29.4/WebService/HMRC/Response.pm line 132.
Error calling api endpoint: 500 Can't connect to invalid:443 (Name or service not known) at t/01-hello_world.t line 27.
code: INVALID_RESPONSE at t/01-hello_world.t line 27.
message: No valid JSON data received from api call. 500 Can't connect to invalid:443 (Name or service not known) at t/01-hello_world.t line 27.
Error calling api endpoint: 401 Unauthorized at t/01-hello_world.t line 48.
code: INVALID_CREDENTIALS at t/01-hello_world.t line 48.
message: Invalid Authentication information provided at t/01-hello_world.t line 48.
# Looks like you failed 2 tests of 21.
t/01-hello_world.t ..
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/21 subtests
(less 8 skipped subtests: 11 okay)
Test Summary Report
-------------------
t/01-hello_world.t (Wstat: 512 Tests: 21 Failed: 2)
Failed tests: 3-4
Non-zero exit status: 2
Files=2, Tests=22, 12 wallclock secs ( 0.01 usr 0.01 sys + 0.58 cusr 0.04 csys = 0.64 CPU)
Result: FAIL
Failed 1/2 test programs. 2/22 subtests failed.
Makefile:867: recipe for target 'test_dynamic' failed
make: *** [test_dynamic] Error 2
------------------------------
PREREQUISITES
------------------------------
Prerequisite modules loaded:
requires:
Module Need Have
-------------------- ----- --------
Moose 0 2.2011
namespace::autoclean 0 0.28
perl 5.006 5.029004
WebService::HMRC 0 0.01
build_requires:
Module Need Have
-------------------- ----- --------
ExtUtils::MakeMaker 0 7.34
Test::Exception 0 0.43
Test::More 0 1.302140
configure_requires:
Module Need Have
-------------------- ----- --------
ExtUtils::MakeMaker 0 7.34
------------------------------
ENVIRONMENT AND OTHER CONTEXT
------------------------------
Environment variables:
AUTOMATED_TESTING = 1
LANG = en_US.UTF-8
PATH = /usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
PERL5LIB =
PERL5OPT =
PERL5_CPANPLUS_IS_RUNNING = 3133
PERL5_CPAN_IS_RUNNING = 3133
PERL5_CPAN_IS_RUNNING_IN_RECURSION = 6859,3133
PERL_CR_SMOKER_CURRENT = WebService-HMRC-HelloWorld-0.01
PERL_EXTUTILS_AUTOINSTALL = --defaultdeps
PERL_MM_USE_DEFAULT = 1
PERL_USE_UNSAFE_INC = 1
SHELL = /bin/bash
TERM = xterm
Perl special variables (and OS-specific diagnostics, for MSWin32):
$^X = /home/stro/perl/5.29.4t/bin/perl
$UID/$EUID = 1000 / 1000
$GID = 1000 24 25 29 30 44 46 108 114 1000
$EGID = 1000 24 25 29 30 44 46 108 114 1000
Perl module toolchain versions installed:
Module Have
------------------- --------
CPAN 2.21
CPAN::Meta 2.150010
Cwd 3.75
ExtUtils::CBuilder 0.280230
ExtUtils::Command 7.34
ExtUtils::Install 2.14
ExtUtils::MakeMaker 7.34
ExtUtils::Manifest 1.71
ExtUtils::ParseXS 3.39
File::Spec 3.75
JSON 2.97001
JSON::PP 2.97001
Module::Build 0.4224
Module::Signature n/a
Parse::CPAN::Meta 2.150010
Test::Harness 3.42
Test::More 1.302140
YAML 1.26
YAML::Syck 1.31
version 0.9924
--
Summary of my perl5 (revision 5 version 29 subversion 4) configuration:
Platform:
osname=linux
osvers=3.16.0-4-amd64
archname=x86_64-linux-thread-multi
uname='linux vm-debian-001 3.16.0-4-amd64 #1 smp debian 3.16.7-ckt11-1 (2015-05-24) x86_64 gnulinux '
config_args=''
hint=recommended
useposix=true
d_sigaction=define
useithreads=define
usemultiplicity=define
use64bitint=define
use64bitall=define
uselongdouble=undef
usemymalloc=n
default_inc_excludes_dot=define
bincompat5005=undef
Compiler:
cc='cc'
ccflags ='-D_REENTRANT -D_GNU_SOURCE -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='-D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include'
ccversion=''
gccversion='4.9.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/gcc/x86_64-linux-gnu/4.9/include-fixed /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.19.so
so=so
useshrplib=false
libperl=libperl.a
gnulibc_version='2.19'
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
MULTIPLICITY
PERLIO_LAYERS
PERL_COPY_ON_WRITE
PERL_DONT_CREATE_GVSV
PERL_IMPLICIT_CONTEXT
PERL_MALLOC_WRAP
PERL_OP_PARENT
PERL_PRESERVE_IVUV
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_LOCALE_TIME
USE_PERLIO
USE_PERL_ATOF
USE_REENTRANT_API
Built under linux
Compiled at Oct 24 2018 10:21:25
%ENV:
PERL5LIB=""
PERL5OPT=""
PERL5_CPANPLUS_IS_RUNNING="3133"
PERL5_CPAN_IS_RUNNING="3133"
PERL5_CPAN_IS_RUNNING_IN_RECURSION="6859,3133"
PERL_CR_SMOKER_CURRENT="WebService-HMRC-HelloWorld-0.01"
PERL_EXTUTILS_AUTOINSTALL="--defaultdeps"
PERL_MM_USE_DEFAULT="1"
PERL_USE_UNSAFE_INC="1"
@INC:
/home/stro/perl/5.29.4t/lib/site_perl/5.29.4/x86_64-linux-thread-multi
/home/stro/perl/5.29.4t/lib/site_perl/5.29.4
/home/stro/perl/5.29.4t/lib/5.29.4/x86_64-linux-thread-multi
/home/stro/perl/5.29.4t/lib/5.29.4
.