NIST-NVD-Store-SQLite3 v1.02.00 Perl 5 v5.32.0 amd64-freebsd
- Status
- Fail
- From
- Chris Williams (BINGOS)
- Dist
-
NIST-NVD-Store-SQLite3 v1.02.00
- Platform
- Perl 5 v5.32.0 amd64-freebsd
- Date
- 2022-03-27 17:14:32
- ID
- 5e7583ac-adf1-11ec-bc66-57723b537541
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 CJCOLLIER,
This is a computer-generated error report created automatically by
CPANPLUS, version 0.9914. Testers personal comments may appear
at the end of this report.
Thank you for uploading your work to CPAN. However, it appears that
there were some problems testing your distribution.
TEST RESULTS:
Below is the error stack from stage 'make test':
PERL_DL_NONLAZY=1 "/usr/home/cpan/pit/bare/perl-5.32.0/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
# Testing NIST::NVD::Store::SQLite3 1.02.00, Perl 5.032000, /usr/home/cpan/pit/bare/perl-5.32.0/bin/perl
t/00-load.t ......... ok
# Failed test '[/usr/home/cpan/pit/bare/conf/perl-5.32.0/.cpanplus/5.32.0/build/3E5BKlHi7r/NIST-NVD-Store-SQLite3-1.02.00/t/data/nvdcve-2.0-test.xml] is a file'
# at t/01-load-nvdcve.t line 38.
# running /usr/home/cpan/pit/bare/conf/perl-5.32.0/.cpanplus/5.32.0/build/3E5BKlHi7r/NIST-NVD-Store-SQLite3-1.02.00/blib/script/convert-nvdcve --nvd /usr/home/cpan/pit/bare/conf/perl-5.32.0/.cpanplus/5.32.0/build/3E5BKlHi7r/NIST-NVD-Store-SQLite3-1.02.00/t/data/nvdcve-2.0-test.xml --cwe /usr/home/cpan/pit/bare/conf/perl-5.32.0/.cpanplus/5.32.0/build/3E5BKlHi7r/NIST-NVD-Store-SQLite3-1.02.00/t/data/cwec_v2.1.xml --store SQLite3 2>&1
# Failed test 'conversion script returned cleanly'
# at t/01-load-nvdcve.t line 67.
# got: '512'
# expected: '0'
# using store [SQLite3]
# reading NVDs from file: /usr/home/cpan/pit/bare/conf/perl-5.32.0/.cpanplus/5.32.0/build/3E5BKlHi7r/NIST-NVD-Store-SQLite3-1.02.00/t/data/nvdcve-2.0-test.xml...couldn't open "/usr/home/cpan/pit/bare/conf/perl-5.32.0/.cpanplus/5.32.0/build/3E5BKlHi7r/NIST-NVD-Store-SQLite3-1.02.00/t/data/nvdcve-2.0-test.xml": No such file or directory at /usr/home/cpan/pit/bare/conf/perl-5.32.0/.cpanplus/5.32.0/build/3E5BKlHi7r/NIST-NVD-Store-SQLite3-1.02.00/blib/script/convert-nvdcve line 154.
file_writeable_ok is now file_writable_ok at t/01-load-nvdcve.t line 71.
# Looks like you failed 2 tests of 21.
t/01-load-nvdcve.t ..
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/21 subtests
t/critic.t .......... skipped: Author test. Set $ENV{RELEASE_TESTING} to a true value to run.
# Failed test 'cpe pk id is defined'
# at t/cwe.t line 40.
# Failed test 'cpe pk id is an integer for cpe urn [cpe:/a:apple:safari:4.0]'
# at t/cwe.t line 42.
# undef
# doesn't match '(?^:^\d+$)'
# Failed test 'one and only one result for the query'
# at t/cwe.t line 76.
# got: '0'
# expected: '1'
# $VAR1 = {
# 'id' => 'cpe:/a:apple:safari:4.0',
# 'query' => '
# SELECT id FROM cpe WHERE cpe.urn=?
# '
# };
# Failed test 'direct query returned > 0 results'
# at t/cwe.t line 113.
# $VAR1 = {
# 'id' => undef,
# 'query' => '
# SELECT cve.cve_id
# FROM cpe_cve_map,cve
# WHERE cpe_cve_map.cpe_id=?
# AND cpe_cve_map.cve_id=cve.id
# ORDER BY cve.cve_id
# '
# };
# Failed test 'more than 0 results for method [cve_for_cpe]'
# at t/cwe.t line 122.
# $->cve_for_cpe( cpe => cpe:/a:apple:safari:4.0 )
# Failed test 'direct query returned > 0 results'
# at t/cwe.t line 113.
# $VAR1 = {
# 'id' => undef,
# 'query' => '
# SELECT cwe.cwe_id
# FROM cpe_cwe_map,cwe
# WHERE cpe_cwe_map.cpe_id=?
# AND cpe_cwe_map.cwe_id=cwe.id
# ORDER BY cwe.cwe_id
# '
# };
# Failed test 'more than 0 results for method [cwe_for_cpe]'
# at t/cwe.t line 122.
# $->cwe_for_cpe( cpe => cpe:/a:apple:safari:4.0 )
Use of uninitialized value $args{"cwe_id"} in pattern match (m//) at /usr/home/cpan/pit/bare/conf/perl-5.32.0/.cpanplus/5.32.0/build/3E5BKlHi7r/NIST-NVD-Store-SQLite3-1.02.00/blib/lib/NIST/NVD/Store/SQLite3.pm line 545.
Use of uninitialized value $args{"cwe_id"} in concatenation (.) or string at /usr/home/cpan/pit/bare/conf/perl-5.32.0/.cpanplus/5.32.0/build/3E5BKlHi7r/NIST-NVD-Store-SQLite3-1.02.00/blib/lib/NIST/NVD/Store/SQLite3.pm line 545.
cwe_id [] is malformed at /usr/home/cpan/pit/bare/conf/perl-5.32.0/.cpanplus/5.32.0/build/3E5BKlHi7r/NIST-NVD-Store-SQLite3-1.02.00/blib/lib/NIST/NVD/Store/SQLite3.pm line 545.
# Looks like your test exited with 2 just after 20.
t/cwe.t .............
Dubious, test returned 2 (wstat 512, 0x200)
Failed 9/22 subtests
# Failed test 'correct number of CVEs returned for this CPE: [cpe:/a:opera:opera_browser:7.0:beta1_v2]'
# at t/insert.t line 39.
# got: '0'
# expected: '7'
# Failed test 'Correct list of CVE IDs'
# at t/insert.t line 48.
# Structures begin differing at:
# $got->[0] = Does not exist
# $expected->[0] = 'CVE-2011-4681'
# $VAR1 = [];
# Failed test 'CVE entry is a HASH ref'
# at t/insert.t line 57.
# got: ''
# expected: 'HASH'
# $VAR1 = undef;
# Failed test 'extracting cvss worked'
# at t/insert.t line 62.
# Structures begin differing at:
# $got = undef
# $expected = HASH(0x801dc0c48)
# $VAR1 = undef;
# Looks like you planned 15 tests but ran 8.
# Looks like you failed 4 tests of 8 run.
t/insert.t ..........
Dubious, test returned 4 (wstat 1024, 0x400)
Failed 11/15 subtests
t/manifest.t ........ skipped: Author test. Set $ENV{RELEASE_TESTING} to a true value to run.
t/pod-coverage.t .... ok
t/pod.t ............. ok
# Failed test 'correct number of CVEs returned for this CPE'
# at t/query.t line 39.
# got: '0'
# expected: '2'
# cve_for_cpe( cpe => cpe:/a:microsoft:ie:7.0.5730.11 )
# Failed test 'Correct list of CVE IDs'
# at t/query.t line 47.
# Structures begin differing at:
# $got->[0] = Does not exist
# $expected->[0] = 'CVE-2002-2435'
# $VAR1 = [];
# Failed test 'CVE entry is a HASH ref'
# at t/query.t line 56.
# got: ''
# expected: 'HASH'
# Failed test 'extracting cvss worked'
# at t/query.t line 60.
# Structures begin differing at:
# $got = undef
# $expected = HASH(0x801dd92a0)
# $VAR1 = undef;
# Looks like you planned 10 tests but ran 8.
# Looks like you failed 4 tests of 8 run.
t/query.t ...........
Dubious, test returned 4 (wstat 1024, 0x400)
Failed 6/10 subtests
# Failed test 'return value is defined'
# at t/sqlite3.t line 29.
# Failed test 'cpe primary key is numeric'
# at t/sqlite3.t line 31.
# undef
# doesn't match '(?^:\d+)'
# Failed test 'cve list has correct number of elements'
# at t/sqlite3.t line 38.
# got: '0'
# expected: '7'
# Failed test 'cve list contains the right elements'
# at t/sqlite3.t line 40.
# Structures begin differing at:
# $got->[0] = Does not exist
# $expected->[0] = 'CVE-2011-4681'
# $VAR1 = [];
# Looks like you failed 4 tests of 9.
t/sqlite3.t .........
Dubious, test returned 4 (wstat 1024, 0x400)
Failed 4/9 subtests
# Failed test 'correct number of CVEs returned for this CPE'
# at t/update.t line 37.
# got: '0'
# expected: '2'
# Failed test 'Correct list of CVE IDs'
# at t/update.t line 44.
# Structures begin differing at:
# $got->[0] = Does not exist
# $expected->[0] = 'CVE-2002-2435'
# $VAR1 = [];
# Failed test 'CVE entry is a HASH ref'
# at t/update.t line 51.
# got: ''
# expected: 'HASH'
# Failed test 'extracting cvss worked'
# at t/update.t line 55.
# Structures begin differing at:
# $got = undef
# $expected = HASH(0x801dbb588)
# $VAR1 = undef;
# Looks like you planned 10 tests but ran 8.
# Looks like you failed 4 tests of 8 run.
t/update.t ..........
Dubious, test returned 4 (wstat 1024, 0x400)
Failed 6/10 subtests
Test Summary Report
-------------------
t/01-load-nvdcve.t (Wstat: 512 Tests: 21 Failed: 2)
Failed tests: 5, 8
Non-zero exit status: 2
t/cwe.t (Wstat: 512 Tests: 20 Failed: 7)
Failed tests: 4-5, 7, 11, 13, 17, 19
Non-zero exit status: 2
Parse errors: Bad plan. You planned 22 tests but ran 20.
t/insert.t (Wstat: 1024 Tests: 8 Failed: 4)
Failed tests: 5-8
Non-zero exit status: 4
Parse errors: Bad plan. You planned 15 tests but ran 8.
t/query.t (Wstat: 1024 Tests: 8 Failed: 4)
Failed tests: 5-8
Non-zero exit status: 4
Parse errors: Bad plan. You planned 10 tests but ran 8.
t/sqlite3.t (Wstat: 1024 Tests: 9 Failed: 4)
Failed tests: 4-5, 8-9
Non-zero exit status: 4
t/update.t (Wstat: 1024 Tests: 8 Failed: 4)
Failed tests: 5-8
Non-zero exit status: 4
Parse errors: Bad plan. You planned 10 tests but ran 8.
Files=11, Tests=78, 6 wallclock secs ( 0.20 usr 0.06 sys + 4.16 cusr 0.95 csys = 5.37 CPU)
Result: FAIL
Failed 6/11 test programs. 25/78 subtests failed.
*** Error code 4
Stop.
make: stopped in /usr/home/cpan/pit/bare/conf/perl-5.32.0/.cpanplus/5.32.0/build/3E5BKlHi7r/NIST-NVD-Store-SQLite3-1.02.00
PREREQUISITES:
Here is a list of prerequisites you specified and versions we
managed to load:
Module Name Have Want
DBD::SQLite 1.70 0
DBI 1.643 0
File::LibMagic 1.23 0
File::MMagic 1.30 0
NIST::NVD 1.02.00 1
Perl::Critic 1.140 0
Test::More 1.302190 0
Test::Pod 1.52 0
Test::Pod::Coverage 1.10 0
Time::HiRes 1.9764 0
XML::XPath 1.44 0
XML::XPath::XMLParser 1.44 0
Perl module toolchain versions installed:
Module Name Have
CPANPLUS 0.9914
CPANPLUS::Dist::Build 0.90
Cwd 3.78
ExtUtils::CBuilder 0.280236
ExtUtils::Command 7.64
ExtUtils::Install 2.20
ExtUtils::MakeMaker 7.64
ExtUtils::Manifest 1.73
ExtUtils::ParseXS 3.44
File::Spec 3.78
Module::Build 0.4231
Pod::Parser 1.63
Pod::Simple 3.40
Test2 1.302190
Test::Harness 3.42
Test::More 1.302190
version 0.9929
******************************** NOTE ********************************
The comments above are created mechanically, possibly without manual
checking by the sender. As there are many people performing automatic
tests on each upload to CPAN, it is likely that you will receive
identical messages about the same problem.
If you believe that the message is mistaken, please reply to the first
one with correction and/or additional informations, and do not take
it personally. We appreciate your patience. :)
**********************************************************************
Additional comments:
This report was machine-generated by CPANPLUS::Dist::YACSmoke 1.08.
Powered by minismokebox version 0.68
CPANPLUS is prefering Build.PL
------------------------------
ENVIRONMENT AND OTHER CONTEXT
------------------------------
Environment variables:
AUTOMATED_TESTING = 1
LANG = C.UTF-8
NONINTERACTIVE_TESTING = 1
PATH = /usr/home/cpan/pit/bare/conf/perl-5.32.0/.cpanplus/5.32.0/build/3E5BKlHi7r/NIST-NVD-Store-SQLite3-1.02.00/blib/script:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/home/cpan/bin
PERL5LIB = /usr/home/cpan/pit/jail/Eqwzd9oVzF/lib/perl5:/usr/home/cpan/pit/bare/conf/perl-5.32.0/.cpanplus/5.32.0/build/3E5BKlHi7r/NIST-NVD-Store-SQLite3-1.02.00/blib/lib:/usr/home/cpan/pit/bare/conf/perl-5.32.0/.cpanplus/5.32.0/build/3E5BKlHi7r/NIST-NVD-Store-SQLite3-1.02.00/blib/arch
PERL5_CPANPLUS_IS_RUNNING = 50378
PERL5_CPANPLUS_IS_VERSION = 0.9914
PERL5_MINISMOKEBOX = 0.68
PERL5_YACSMOKE_BASE = /usr/home/cpan/pit/bare/conf/perl-5.32.0
PERL_EXTUTILS_AUTOINSTALL = --defaultdeps
PERL_LOCAL_LIB_ROOT = /usr/home/cpan/pit/jail/Eqwzd9oVzF
PERL_MB_OPT = --install_base "/usr/home/cpan/pit/jail/Eqwzd9oVzF"
PERL_MM_OPT = INSTALL_BASE=/usr/home/cpan/pit/jail/Eqwzd9oVzF
PERL_MM_USE_DEFAULT = 1
SHELL = /usr/local/bin/bash
TERM = screen
Perl special variables (and OS-specific diagnostics, for MSWin32):
Perl: $^X = /usr/home/cpan/pit/bare/perl-5.32.0/bin/perl
UID: $< = 1002
EUID: $> = 1002
GID: $( = 1002 1002
EGID: $) = 1002 1002
-------------------------------
--
Summary of my perl5 (revision 5 version 32 subversion 0) configuration:
Platform:
osname=freebsd
osvers=13.0-release
archname=amd64-freebsd
uname='freebsd fever 13.0-release freebsd 13.0-release #0 releng13.0-n244733-ea31abc261f: fri apr 9 04:24:09 utc 2021 root@releng1.nyi.freebsd.org:usrobjusrsrcamd64.amd64sysgeneric amd64 '
config_args='-des -Dprefix=/usr/home/cpan/pit/bare/perl-5.32.0'
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-strong -I/usr/local/include'
optimize='-O2'
cppflags='-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include'
ccversion=''
gccversion='FreeBSD Clang 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe)'
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 ='-Wl,-E -fstack-protector-strong -L/usr/local/lib'
libpth=/usr/lib /usr/local/lib /usr/lib/clang/11.0.1/lib /usr/lib
libs=-lpthread -lgdbm -ldl -lm -lcrypt -lutil -lc
perllibs=-lpthread -ldl -lm -lcrypt -lutil -lc
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-strong'
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
Locally applied patches:
Devel::PatchPerl 2.08
Built under freebsd
Compiled at Apr 15 2021 04:27:46
%ENV:
PERL5LIB="/usr/home/cpan/pit/jail/Eqwzd9oVzF/lib/perl5:/usr/home/cpan/pit/bare/conf/perl-5.32.0/.cpanplus/5.32.0/build/3E5BKlHi7r/NIST-NVD-Store-SQLite3-1.02.00/blib/lib:/usr/home/cpan/pit/bare/conf/perl-5.32.0/.cpanplus/5.32.0/build/3E5BKlHi7r/NIST-NVD-Store-SQLite3-1.02.00/blib/arch"
PERL5_CPANPLUS_IS_RUNNING="50378"
PERL5_CPANPLUS_IS_VERSION="0.9914"
PERL5_MINISMOKEBOX="0.68"
PERL5_YACSMOKE_BASE="/usr/home/cpan/pit/bare/conf/perl-5.32.0"
PERL_EXTUTILS_AUTOINSTALL="--defaultdeps"
PERL_LOCAL_LIB_ROOT="/usr/home/cpan/pit/jail/Eqwzd9oVzF"
PERL_MB_OPT="--install_base "/usr/home/cpan/pit/jail/Eqwzd9oVzF""
PERL_MM_OPT="INSTALL_BASE=/usr/home/cpan/pit/jail/Eqwzd9oVzF"
PERL_MM_USE_DEFAULT="1"
@INC:
/usr/home/cpan/pit/jail/Eqwzd9oVzF/lib/perl5/5.32.0/amd64-freebsd
/usr/home/cpan/pit/jail/Eqwzd9oVzF/lib/perl5/5.32.0
/usr/home/cpan/pit/jail/Eqwzd9oVzF/lib/perl5/amd64-freebsd
/usr/home/cpan/pit/jail/Eqwzd9oVzF/lib/perl5
/usr/home/cpan/pit/bare/conf/perl-5.32.0/.cpanplus/5.32.0/build/3E5BKlHi7r/NIST-NVD-Store-SQLite3-1.02.00/blib/lib
/usr/home/cpan/pit/bare/conf/perl-5.32.0/.cpanplus/5.32.0/build/3E5BKlHi7r/NIST-NVD-Store-SQLite3-1.02.00/blib/arch
/usr/home/cpan/pit/bare/perl-5.32.0/lib/site_perl/5.32.0/amd64-freebsd
/usr/home/cpan/pit/bare/perl-5.32.0/lib/site_perl/5.32.0
/usr/home/cpan/pit/bare/perl-5.32.0/lib/5.32.0/amd64-freebsd
/usr/home/cpan/pit/bare/perl-5.32.0/lib/5.32.0