QBit-Application-Model-DB-clickhouse v0.004 Perl 5 v5.22.4 x86_64-linux-ld

Status
Fail
From
Andreas J. König (ANDK)
Dist
QBit-Application-Model-DB-clickhouse v0.004
Platform
Perl 5 v5.22.4 x86_64-linux-ld
Date
2017-09-19 07:06:17
ID
07f9b7a8-9d09-11e7-945e-df749ae40bc1
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 Igor Sverdlov,

This is a computer-generated report for QBit-Application-Model-DB-clickhouse-0.004
on perl 5.22.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/sand/src/perl/repoperls/installed-perls/host/k93msid/v5.22.4/0a29/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t

#   Failed test 'Check create_sql'
#   at t/clickhouse.t line 37.
# +---+------------------------------------------------------------------------------------+---------------------------------------------------------------+
# | Ln|Got                                                                                 |Expected                                                       |
# +---+------------------------------------------------------------------------------------+---------------------------------------------------------------+
# |  1|'CREATE TABLE `stat` (                                                              |'CREATE TABLE `stat` (                                         |
# |  2|    `f_date` Date,                                                                  |    `f_date` Date,                                             |
# |  3|    `f_string` FixedString(512),                                                    |    `f_string` FixedString(512),                               |
# |  4|    `f_uint8` UInt8,                                                                |    `f_uint8` UInt8,                                           |
# |  5|    `f_uint32` UInt32,                                                              |    `f_uint32` UInt32,                                         |
# |  6|    `f_enum` Enum8(\'one\' = 1, \'two\' = 2)                                        |    `f_enum` Enum8(\'one\' = 1, \'two\' = 2)                   |
# *  7|) ENGINE = MergeTree(`stat`.`f_date`, (`stat`.`f_date` , `stat`.`f_uint8`), 8192);  |) ENGINE = MergeTree(`f_date`, (`f_date` , `f_uint8`), 8192);  *
# |  8|'                                                                                   |'                                                              |
# +---+------------------------------------------------------------------------------------+---------------------------------------------------------------+

#   Failed test 'Message is correct'
#   at t/clickhouse.t line 71.
#          got: 'Can't locate object method "dbh" via package "TestApp::ClickHouse" at /tmp/loop_over_bdir-20618-ZomgQW/QBit-Application-Model-DB-clickhouse-0.004-0/lib/QBit/Application/Model/DB/clickhouse.pm line 62.'
#     expected: 'Gateway Timeout (HTTP504)
# 1'

#   Failed test 'Message is correct'
#   at t/clickhouse.t line 93.
#          got: 'Can't locate object method "dbh" via package "TestApp::ClickHouse" at /tmp/loop_over_bdir-20618-ZomgQW/QBit-Application-Model-DB-clickhouse-0.004-0/lib/QBit/Application/Model/DB/clickhouse.pm line 62.'
#     expected: 'Can't connect to 127.0.0.1 (CH2)
# 1'

#   Failed test 'Message is correct'
#   at t/clickhouse.t line 118.
#          got: 'Can't locate object method "dbh" via package "TestApp::ClickHouse" at /tmp/loop_over_bdir-20618-ZomgQW/QBit-Application-Model-DB-clickhouse-0.004-0/lib/QBit/Application/Model/DB/clickhouse.pm line 62.'
#     expected: 'Code: 62, e.displayText() = DB::Exception: Syntax error: failed at position 19 (end of query): . Expected one of: OpeningRoundBracket, Dot, ON, ENGINE, AS, token, e.what() = DB::Exception (62)
# CREATE TABLE `bad`'
Exception::SysDie: Can't locate object method "dbh" via package "TestApp::ClickHouse" at /tmp/loop_over_bdir-20618-ZomgQW/QBit-Application-Model-DB-clickhouse-0.004-0/lib/QBit/Application/Model/DB/clickhouse.pm line 62.
    Package: Exception::SysDie
    Filename: /home/sand/src/perl/repoperls/installed-perls/host/k93msid/v5.22.4/0a29/lib/site_perl/5.22.4/qbit/Exceptions.pm (line 289)
    CallStack:
        QBit::Application::Model::DB::_sub_with_connected_dbh() called at '/home/sand/src/perl/repoperls/installed-perls/host/k93msid/v5.22.4/0a29/lib/site_perl/5.22.4/QBit/Application/Model/DB.pm' line 691
        QBit::Application::Model::DB::_sub_with_connected_dbh() called at '/home/sand/src/perl/repoperls/installed-perls/host/k93msid/v5.22.4/0a29/lib/site_perl/5.22.4/QBit/Application/Model/DB.pm' line 691
        QBit::Application::Model::DB::_sub_with_connected_dbh() called at '/home/sand/src/perl/repoperls/installed-perls/host/k93msid/v5.22.4/0a29/lib/site_perl/5.22.4/QBit/Application/Model/DB.pm' line 616
        QBit::Application::Model::DB::_get_all() called at '/tmp/loop_over_bdir-20618-ZomgQW/QBit-Application-Model-DB-clickhouse-0.004-0/lib/QBit/Application/Model/DB/clickhouse.pm' line 107
        QBit::Application::Model::DB::clickhouse::_get_all() called at '/home/sand/src/perl/repoperls/installed-perls/host/k93msid/v5.22.4/0a29/lib/site_perl/5.22.4/QBit/Application/Model/DB/Query.pm' line 756
        QBit::Application::Model::DB::Query::get_all() called at 't/clickhouse.t' line 248
        main::check_get_all() called at 't/clickhouse.t' line 27
        main::main() called at 't/clickhouse.t' line 16
# Looks like your test exited with 255 just after 7.
t/clickhouse.t .. 
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 33/36 subtests 

Test Summary Report
-------------------
t/clickhouse.t (Wstat: 65280 Tests: 7 Failed: 4)
  Failed tests:  1, 3, 5, 7
  Non-zero exit status: 255
  Parse errors: Bad plan.  You planned 36 tests but ran 7.
Files=1, Tests=7,  2 wallclock secs ( 0.02 usr  0.01 sys +  0.25 cusr  0.04 csys =  0.32 CPU)
Result: FAIL
Failed 1/1 test programs. 4/7 subtests failed.
Makefile:903: recipe for target 'test_dynamic' failed
make: *** [test_dynamic] Error 255

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

Prerequisite modules loaded:

requires:

    Module                               Need Have    
    ------------------------------------ ---- --------
    base                                 0    2.22_01 
    Exception::DB                        0    0.016   
    Exception::DB::DuplicateEntry        0    0.016   
    HTTP::Request                        0    6.13    
    LWP::UserAgent                       0    6.26    
    qbit                                 0    2.4     
    QBit::Application::Model::DB         0    0.016   
    QBit::Application::Model::DB::Field  0    0.016   
    QBit::Application::Model::DB::Filter 0    0.016   
    QBit::Application::Model::DB::Query  0    0.016   
    QBit::Application::Model::DB::Table  0    0.016   
    QBit::Class                          0    0.3     
    strict                               0    1.09    

build_requires:

    Module                               Need Have    
    ------------------------------------ ---- --------
    ExtUtils::MakeMaker                  0    7.30    
    HTTP::Response                       0    6.13    
    lib::abs                             0    0.93    
    QBit::Application                    0    0.015   
    Test::Differences                    0    0.64    
    Test::More                           0    1.302096
    warnings                             0    1.34    

configure_requires:

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


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

Environment variables:

    AUTOMATED_TESTING = 1
    LANG = en_US.UTF-8
    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 = 20632
    PERL5_CPAN_IS_RUNNING = 20632
    PERL5_CPAN_IS_RUNNING_IN_RECURSION = 31873,20632
    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.22.4/0a29/bin/perl
    $UID/$EUID = 1005 / 1005
    $GID = 1005 1005
    $EGID = 1005 1005

Perl module toolchain versions installed:

    Module              Have      
    ------------------- ----------
    CPAN                2.18      
    CPAN::Meta          2.150010  
    Cwd                 3.62      
    ExtUtils::CBuilder  0.280226  
    ExtUtils::Command   7.30      
    ExtUtils::Install   2.06      
    ExtUtils::MakeMaker 7.30      
    ExtUtils::Manifest  1.70      
    ExtUtils::ParseXS   3.35      
    File::Spec          3.62      
    JSON                2.94      
    JSON::PP            2.27300_01
    Module::Build       0.4224    
    Module::Signature   0.81      
    Parse::CPAN::Meta   2.150010  
    Test::Harness       3.39      
    Test::More          1.302096  
    YAML                1.23      
    YAML::Syck          1.30      
    version             0.9909    


--

Summary of my perl5 (revision 5 version 22 subversion 4) configuration:
  Derived from: a26666a1317770d8a2228ac3657ba58020c3511f
  Platform:
    osname=linux, osvers=4.9.0-2-amd64, archname=x86_64-linux-ld
    uname='linux k93msid 4.9.0-2-amd64 #1 smp debian 4.9.18-1 (2017-03-30) x86_64 gnulinux '
    config_args='-Dprefix=/home/sand/src/perl/repoperls/installed-perls/host/k93msid/v5.22.4/0a29 -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 -Uuseithreads -Duselongdouble -DDEBUGGING=both'
    hint=recommended, useposix=true, d_sigaction=define
    useithreads=undef, usemultiplicity=undef
    use64bitint=define, use64bitall=define, uselongdouble=define
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='cc', ccflags ='-fwrapv -DDEBUGGING -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
    optimize='-O2 -g',
    cppflags='-fwrapv -DDEBUGGING -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include'
    ccversion='', gccversion='6.3.0 20170406', 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='long double', nvsize=16, Off_t='off_t', lseeksize=8
    alignbytes=16, 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/6/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.24.so, so=so, useshrplib=false, libperl=libperl.a
    gnulibc_version='2.24'
  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: DEBUGGING HAS_TIMES PERLIO_LAYERS
                        PERL_DONT_CREATE_GVSV
                        PERL_HASH_FUNC_ONE_AT_A_TIME_HARD PERL_MALLOC_WRAP
                        PERL_NEW_COPY_ON_WRITE PERL_PRESERVE_IVUV
                        PERL_USE_DEVEL 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_LONG_DOUBLE USE_PERLIO USE_PERL_ATOF
  Locally applied patches:
	uncommitted-changes
  Built under linux
  Compiled at Aug 25 2017 19:34:51
  %ENV:
    PERL5LIB=""
    PERL5OPT=""
    PERL5_CPANPLUS_IS_RUNNING="20632"
    PERL5_CPAN_IS_RUNNING="20632"
    PERL5_CPAN_IS_RUNNING_IN_RECURSION="31873,20632"
    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.22.4/0a29/lib/site_perl/5.22.4/x86_64-linux-ld
    /home/sand/src/perl/repoperls/installed-perls/host/k93msid/v5.22.4/0a29/lib/site_perl/5.22.4
    /home/sand/src/perl/repoperls/installed-perls/host/k93msid/v5.22.4/0a29/lib/5.22.4/x86_64-linux-ld
    /home/sand/src/perl/repoperls/installed-perls/host/k93msid/v5.22.4/0a29/lib/5.22.4
    .