cpantestlogs/NIST::NVD::Store::SQLite3_genfailure.log
2017-05-02 18:44:36 -07:00

311 lines
12 KiB
Text

perl-blead
==========
cpanm (App::cpanminus) 1.7043 on perl 5.026000 built for x86_64-linux
Work directory is /home/ryan/.cpanm/work/1493066356.31343
You have make /usr/bin/make
You have LWP 6.26
You have /bin/tar: tar (GNU tar) 1.29
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by John Gilmore and Jay Fenlason.
You have /usr/bin/unzip
Searching NIST::NVD::Store::SQLite3 () on cpanmetadb ...
Unpacking NIST-NVD-Store-SQLite3-1.00.00.tar.gz
--> Working on NIST::NVD::Store::SQLite3
Fetching http://www.cpan.org/authors/id/C/CJ/CJCOLLIER/NIST-NVD/NIST-NVD-Store-SQLite3-1.00.00.tar.gz ... OK
NIST-NVD-Store-SQLite3-1.00.00/
NIST-NVD-Store-SQLite3-1.00.00/META.yml
NIST-NVD-Store-SQLite3-1.00.00/MANIFEST.SKIP
NIST-NVD-Store-SQLite3-1.00.00/README
NIST-NVD-Store-SQLite3-1.00.00/Changes
NIST-NVD-Store-SQLite3-1.00.00/MANIFEST
NIST-NVD-Store-SQLite3-1.00.00/TODO
NIST-NVD-Store-SQLite3-1.00.00/Makefile.PL
NIST-NVD-Store-SQLite3-1.00.00/ignore.txt
NIST-NVD-Store-SQLite3-1.00.00/META.json
NIST-NVD-Store-SQLite3-1.00.00/t/
NIST-NVD-Store-SQLite3-1.00.00/t/pod-coverage.t
NIST-NVD-Store-SQLite3-1.00.00/t/pod.t
NIST-NVD-Store-SQLite3-1.00.00/t/cwe.t
NIST-NVD-Store-SQLite3-1.00.00/t/perlcriticrc
NIST-NVD-Store-SQLite3-1.00.00/t/sqlite3.t
NIST-NVD-Store-SQLite3-1.00.00/t/update.t
NIST-NVD-Store-SQLite3-1.00.00/t/insert.t
NIST-NVD-Store-SQLite3-1.00.00/t/verify.sh
NIST-NVD-Store-SQLite3-1.00.00/t/00-load.t
NIST-NVD-Store-SQLite3-1.00.00/t/data/
NIST-NVD-Store-SQLite3-1.00.00/t/data/cwec_v2.1.xml
NIST-NVD-Store-SQLite3-1.00.00/t/critic.t
NIST-NVD-Store-SQLite3-1.00.00/t/query.t
NIST-NVD-Store-SQLite3-1.00.00/t/manifest.t
NIST-NVD-Store-SQLite3-1.00.00/t/01-load-nvdcve.t
NIST-NVD-Store-SQLite3-1.00.00/bin/
NIST-NVD-Store-SQLite3-1.00.00/bin/convert-nvdcve
NIST-NVD-Store-SQLite3-1.00.00/lib/
NIST-NVD-Store-SQLite3-1.00.00/lib/NIST/
NIST-NVD-Store-SQLite3-1.00.00/lib/NIST/NVD/
NIST-NVD-Store-SQLite3-1.00.00/lib/NIST/NVD/Store/
NIST-NVD-Store-SQLite3-1.00.00/lib/NIST/NVD/Store/SQLite3.pm
Entering NIST-NVD-Store-SQLite3-1.00.00
Checking configure dependencies from META.json
Checking if you have ExtUtils::MakeMaker 6.58 ... Yes (7.24)
Running Makefile.PL
Configuring NIST-NVD-Store-SQLite3-v1.00.00 ... Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for NIST::NVD::Store::SQLite3
Writing MYMETA.yml and MYMETA.json
Checking dependencies from MYMETA.json ...
Checking if you have Perl::Critic 0 ... Yes (1.126)
Checking if you have NIST::NVD 1 ... Yes (1.00.00)
Checking if you have Test::More 0 ... Yes (1.302078)
Checking if you have Test::Pod 0 ... Yes (1.51)
Checking if you have Time::HiRes 0 ... Yes (1.9741)
Checking if you have DBD::SQLite 0 ... Yes (1.54)
Checking if you have XML::XPath 0 ... Yes (1.25)
Checking if you have Test::Pod::Coverage 0 ... Yes (1.10)
Checking if you have XML::XPath::XMLParser 0 ... Yes (1.25)
Checking if you have DBI 0 ... Yes (1.634)
OK
Building and testing NIST-NVD-Store-SQLite3-v1.00.00 ... cp lib/NIST/NVD/Store/SQLite3.pm blib/lib/NIST/NVD/Store/SQLite3.pm
cp bin/convert-nvdcve blib/script/convert-nvdcve
"/home/ryan/perl5/perlbrew/perls/perl-blead/bin/perl5.26.0" -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/convert-nvdcve
Manifying 1 pod document
PERL_DL_NONLAZY=1 "/home/ryan/perl5/perlbrew/perls/perl-blead/bin/perl5.26.0" "-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.00.00, Perl 5.026000, /home/ryan/perl5/perlbrew/perls/perl-blead/bin/perl5.26.0
t/00-load.t ......... ok
Can't locate File/LibMagic.pm in @INC (you may need to install the File::LibMagic module) (@INC contains: /home/ryan/.cpanm/work/1493066356.31343/NIST-NVD-Store-SQLite3-1.00.00/blib/lib /home/ryan/.cpanm/work/1493066356.31343/NIST-NVD-Store-SQLite3-1.00.00/blib/arch /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/x86_64-linux /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0 /home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0/x86_64-linux /home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0) at t/01-load-nvdcve.t line 8.
BEGIN failed--compilation aborted at t/01-load-nvdcve.t line 8.
# Looks like your test exited with 2 before it could output anything.
t/01-load-nvdcve.t ..
Dubious, test returned 2 (wstat 512, 0x200)
Failed 21/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 = {
# '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
# ',
# 'id' => undef
# };
# 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 /home/ryan/.cpanm/work/1493066356.31343/NIST-NVD-Store-SQLite3-1.00.00/blib/lib/NIST/NVD/Store/SQLite3.pm line 545.
Use of uninitialized value $args{"cwe_id"} in concatenation (.) or string at /home/ryan/.cpanm/work/1493066356.31343/NIST-NVD-Store-SQLite3-1.00.00/blib/lib/NIST/NVD/Store/SQLite3.pm line 545.
cwe_id [] is malformed at /home/ryan/.cpanm/work/1493066356.31343/NIST-NVD-Store-SQLite3-1.00.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(0x56489d5e0d00)
# $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(0x56485995d408)
# $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(0x563ceb2c1ac8)
# $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: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 21 tests but ran 0.
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=57, 4 wallclock secs ( 0.03 usr 0.00 sys + 0.43 cusr 0.03 csys = 0.49 CPU)
Result: FAIL
Failed 6/11 test programs. 23/57 subtests failed.
Makefile:879: recipe for target 'test_dynamic' failed
make: *** [test_dynamic] Error 4
! Installing NIST::NVD::Store::SQLite3 failed. See /home/ryan/.cpanm/work/1493066356.31343/build.log for details. Retry with --force to force install it.
FAIL
Command [cpanm --reinstall --verbose NIST::NVD::Store::SQLite3] terminated with exit code 1 ($? = 256) under the following perl environment:
Command terminated with non-zero status.
Current perl:
Name: perl-blead
Path: /home/ryan/perl5/perlbrew/perls/perl-blead/bin/perl
Config: -de -Dprefix=/home/ryan/perl5/perlbrew/perls/perl-blead -Dusedevel -Aeval:scriptdir=/home/ryan/perl5/perlbrew/perls/perl-blead/bin
Compiled at: Mar 30 2017 03:10:09
perlbrew:
version: 0.78
ENV:
PERLBREW_ROOT: /home/ryan/perl5/perlbrew
PERLBREW_HOME: /home/ryan/.perlbrew
PERLBREW_PATH: /home/ryan/perl5/perlbrew/bin:/home/ryan/perl5/perlbrew/perls/perl-blead/bin
PERLBREW_MANPATH: /home/ryan/perl5/perlbrew/perls/perl-blead/man