Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed Tests on Ubuntu 18.04 System #225

Open
toddbruner opened this issue Apr 4, 2022 · 4 comments
Open

Failed Tests on Ubuntu 18.04 System #225

toddbruner opened this issue Apr 4, 2022 · 4 comments

Comments

@toddbruner
Copy link

toddbruner commented Apr 4, 2022

t/001_declare_exchange.t ............... ok

#   Failed test 'payload matches'
#   at t/002_publish_consume.t line 57.
#     Structures begin differing at:
#          $got = undef
#     $expected = HASH(0x55978c477f80)

#   Failed test 'payload matches'
#   at t/002_publish_consume.t line 85.
#     Structures begin differing at:
#          $got->{delivery_tag} = '1'
#     $expected->{delivery_tag} = '2'

#   Failed test 'large payload matches'
#   at t/002_publish_consume.t line 111.
#     Structures begin differing at:
#          $got->{delivery_tag} = '2'
#     $expected->{delivery_tag} = '3'
# Looks like you failed 3 tests of 21.
t/002_publish_consume.t ................ 
Dubious, test returned 3 (wstat 768, 0x300)
Failed 3/21 subtests 

and later:

#   Failed test 'connected'
#   at t/030_ssl.t line 30.

#   Failed test 'channel_open'
#   at t/030_ssl.t line 31.

#   Failed test 'exchange declare'
#   at t/030_ssl.t line 33.

#   Failed test 'queue declare'
#   at t/030_ssl.t line 34.

#   Failed test 'queue bind'
#   at t/030_ssl.t line 35.

#   Failed test 'drain queue'
#   at t/030_ssl.t line 36.

#   Failed test 'consume'
#   at t/030_ssl.t line 38.

#   Failed test 'publish'
#   at t/030_ssl.t line 39.

#   Failed test 'payload matches'
#   at t/030_ssl.t line 53.
#     Structures begin differing at:
#          $got = undef
#     $expected = HASH(0x55840d218a38)
# Looks like you failed 9 tests of 9.
t/030_ssl.t ............................ 
Dubious, test returned 9 (wstat 2304, 0x900)
Failed 9/9 subtests 
dpkg -l | grep -i rabbit
ii  librabbitmq-dbg:amd64                      0.8.0-1ubuntu0.18.04.2                          amd64        AMQP client library written in C - Debug Files
ii  librabbitmq-dev:amd64                      0.8.0-1ubuntu0.18.04.2                          amd64        AMQP client library written in C - Dev Files
ii  librabbitmq4:amd64                         0.8.0-1ubuntu0.18.04.2                          amd64        AMQP client library written in C
ii  rabbitmq-server                            3.9.14-1                                        all          Multi-protocol messaging broker
perl -V
Summary of my perl5 (revision 5 version 30 subversion 3) configuration:
   
  Platform:
    osname=linux
    osvers=5.4.0-100-generic
    archname=x86_64-linux
    uname='linux devbox 5.4.0-100-generic #113~18.04.1-ubuntu smp mon feb 7 15:02:59 utc 2022 x86_64 x86_64 x86_64 gnulinux '
    config_args='-de -Dprefix=/home/tbruner/perl5/perlbrew/perls/perl-5.30.3 -Aeval:scriptdir=/home/tbruner/perl5/perlbrew/perls/perl-5.30.3/bin'
    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 ='-fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'
    optimize='-O2'
    cppflags='-fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include'
    ccversion=''
    gccversion='7.5.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/gcc/x86_64-linux-gnu/7/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.27.so
    so=so
    useshrplib=false
    libperl=libperl.a
    gnulibc_version='2.27'
  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
    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 linux
  Compiled at Feb 21 2022 20:55:15
  %ENV:
    PERLBREW_HOME="/home/tbruner/.perlbrew"
    PERLBREW_MANPATH="/home/tbruner/perl5/perlbrew/perls/perl-5.30.3/man"
    PERLBREW_PATH="/home/tbruner/perl5/perlbrew/bin:/home/tbruner/perl5/perlbrew/perls/perl-5.30.3/bin"
    PERLBREW_PERL="perl-5.30.3"
    PERLBREW_ROOT="/home/tbruner/perl5/perlbrew"
    PERLBREW_SHELLRC_VERSION="0.94"
    PERLBREW_VERSION="0.94"
  @INC:
    /home/tbruner/perl5/perlbrew/perls/perl-5.30.3/lib/site_perl/5.30.3/x86_64-linux
    /home/tbruner/perl5/perlbrew/perls/perl-5.30.3/lib/site_perl/5.30.3
    /home/tbruner/perl5/perlbrew/perls/perl-5.30.3/lib/5.30.3/x86_64-linux
    /home/tbruner/perl5/perlbrew/perls/perl-5.30.3/lib/5.30.3](`url`)
@toddbruner toddbruner changed the title Build fails on Ubuntu 18.04 System Failed Tests on Ubuntu 18.04 System Apr 4, 2022
@evengar2008
Copy link

I can confirm this issue on Ubuntu 18.04 in docker

Here's some extra debug info with $ENV{NARDEBUG} = 1

$VAR1 = {
          'declared_exchanges' => [],
          'unique' => 'linux-v5.26.1-618-764014026-t_025_declare_exchange_with_ae.t',
          'ssl_init' => 1,
          'queue' => 'nar_queue-linux-v5.26.1-618-764014026-t_025_declare_exchange_with_ae.t',
          'password' => 'bnAo6Eba0I-fqbHcy9bFS86GxKCunKie',
          'ssl_cacert' => 't/ssl/cloudamqp.cacert.pem',
          'ssl' => 0,
          'port' => 5672,
          'mq' => bless( do{\(my $o = '93967900057648')}, 'Net::AMQP::RabbitMQ' ),
          'declared_queues' => [],
          'routekey' => 'nar_key-linux-v5.26.1-618-764014026-t_025_declare_exchange_with_ae.t',
          'admin_api_url' => 'https://mbmoajnl:bnAo6Eba0I-fqbHcy9bFS86GxKCunKie@hornet.rmq.cloudamqp.com:443/api/exchanges/mbmoajnl',
          'vhost' => 'mbmoajnl',
          'ssl_verify_host' => 1,
          'consumer_tag' => 'ctag',
          'channel' => 1,
          'host' => 'hornet.rmq.cloudamqp.com',
          'exchange' => 'nar_exchange-linux-v5.26.1-618-764014026-t_025_declare_exchange_with_ae.t',
          'username' => 'mbmoajnl',
          'ssl_verify_peer' => 1
        };

@manchicken
Copy link
Contributor

Are you still able to replicate this on 2.40010?

@evengar2008
Copy link

This was not resolved on 2.40010

cat /root/.cpanm/work/1655028702.96/build.log
cpanm (App::cpanminus) 1.7043 on perl 5.026001 built for x86_64-linux-gnu-thread-multi
Work directory is /root/.cpanm/work/1655028702.96
You have make /usr/bin/make
You have LWP 6.49
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 Net::AMQP::RabbitMQ () on cpanmetadb ...
--> Working on Net::AMQP::RabbitMQ
Fetching http://www.cpan.org/authors/id/M/MS/MSTEMLE/Net-AMQP-RabbitMQ-2.40010.tar.gz
-> OK
Unpacking Net-AMQP-RabbitMQ-2.40010.tar.gz
Entering Net-AMQP-RabbitMQ-2.40010
Checking configure dependencies from META.json
Checking if you have ExtUtils::MakeMaker 6.58 ... Yes (7.24)
Configuring Net-AMQP-RabbitMQ-2.40010
Running Makefile.PL
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for Net::AMQP::RabbitMQ
Writing MYMETA.yml and MYMETA.json
-> OK
Checking dependencies from MYMETA.json ...
Checking if you have Math::Int64 0.34 ... Yes (0.54)
Checking if you have XSLoader 0 ... Yes (0.27)
Checking if you have Sys::Hostname 0 ... Yes (1.20)
Checking if you have ExtUtils::MakeMaker 0 ... Yes (7.24)
Checking if you have Scalar::Util 0 ... Yes (1.50)
Checking if you have Test::More 0 ... Yes (1.302183)
Checking if you have Time::HiRes 0 ... Yes (1.9741)
Building and testing Net-AMQP-RabbitMQ-2.40010
cp RabbitMQ.pm blib/lib/Net/AMQP/RabbitMQ.pm
Running Mkbootstrap for RabbitMQ ()
chmod 644 "RabbitMQ.bs"
"/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- RabbitMQ.bs blib/arch/auto/Net/AMQP/RabbitMQ/RabbitMQ.bs 644
"/usr/bin/perl" "/usr/share/perl/5.26/ExtUtils/xsubpp"  -typemap '/usr/share/perl/5.26/ExtUtils/typemap' -typemap '/root/.cpanm/work/1655028702.96/Net-AMQP-RabbitMQ-2.40010/typemap'  RabbitMQ.xs > RabbitMQ.xsc
mv RabbitMQ.xsc RabbitMQ.c
x86_64-linux-gnu-gcc -c  -I. -Irabbitmq-include -Irabbitmq-include/unix -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g   -DVERSION=\"2.40010\" -DXS_VERSION=\"2.40010\" -fPIC "-I/usr/lib/x86_64-linux-gnu/perl/5.26/CORE"  -DHAVE_SOCKET -DHAVE_POLL -DAMQ_PLATFORM='"Perl_linux_v5.26.1"' -DNAR_HAVE_OPENSSL RabbitMQ.c
In file included from /usr/lib/x86_64-linux-gnu/perl/5.26/CORE/perl.h:5644:0,
                 from RabbitMQ.xs:2:
RabbitMQ.xs: In function ‘XS_Net__AMQP__RabbitMQ_get_rpc_timeout’:
RabbitMQ.xs:1960:29: warning: passing argument 2 of ‘Perl_newRV_noinc’ from incompatible pointer type [-Wincompatible-pointer-types]
       RETVAL = newRV_noinc( output );
                             ^
/usr/lib/x86_64-linux-gnu/perl/5.26/CORE/embed.h:405:48: note: in definition of macro ‘newRV_noinc’
 #define newRV_noinc(a)  Perl_newRV_noinc(aTHX_ a)
                                                ^
In file included from /usr/lib/x86_64-linux-gnu/perl/5.26/CORE/perl.h:5609:0,
                 from RabbitMQ.xs:2:
/usr/lib/x86_64-linux-gnu/perl/5.26/CORE/proto.h:2257:19: note: expected ‘SV * const {aka struct sv * const}’ but argument is of type ‘HV * {aka struct hv *}’
 PERL_CALLCONV SV* Perl_newRV_noinc(pTHX_ SV *const tmpRef)
                   ^~~~~~~~~~~~~~~~
In file included from /usr/lib/x86_64-linux-gnu/perl/5.26/CORE/perl.h:5644:0,
                 from RabbitMQ.xs:2:
RabbitMQ.xs: In function ‘XS_Net__AMQP__RabbitMQ__set_rpc_timeout’:
/usr/lib/x86_64-linux-gnu/perl/5.26/CORE/hv.h:488:31: warning: passing argument 2 of ‘Perl_hv_common_key_len’ from incompatible pointer type [-Wincompatible-pointer-types]
     ((SV**) hv_common_key_len((hv), (key), (klen), (lval)  \
                               ^
/usr/lib/x86_64-linux-gnu/perl/5.26/CORE/embed.h:228:69: note: in definition of macro ‘hv_common_key_len’
 #define hv_common_key_len(a,b,c,d,e,f) Perl_hv_common_key_len(aTHX_ a,b,c,d,e,f)
                                                                     ^
/usr/lib/x86_64-linux-gnu/perl/5.26/CORE/hv.h:503:5: note: in expansion of macro ‘hv_fetch’
     hv_fetch((hv), ("" key ""), (sizeof(key)-1), (lval))
     ^~~~~~~~
RabbitMQ.xs:96:31: note: in expansion of macro ‘hv_fetchs’
  do { SV **v; if(NULL != (v = hv_fetchs(hv, #name, 0))) name = SvIV(*v); } while(0)
                               ^~~~~~~~~
RabbitMQ.xs:1989:7: note: in expansion of macro ‘int_from_hv’
       int_from_hv(SvRV(args), tv_sec);
       ^~~~~~~~~~~
In file included from /usr/lib/x86_64-linux-gnu/perl/5.26/CORE/perl.h:5609:0,
                 from RabbitMQ.xs:2:
/usr/lib/x86_64-linux-gnu/perl/5.26/CORE/proto.h:1172:21: note: expected ‘HV * {aka struct hv *}’ but argument is of type ‘SV * {aka struct sv *}’
 PERL_CALLCONV void* Perl_hv_common_key_len(pTHX_ HV *hv, const char *key, I32 klen_i32, const int action, SV *val, const U32 hash);
                     ^~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/lib/x86_64-linux-gnu/perl/5.26/CORE/perl.h:5644:0,
                 from RabbitMQ.xs:2:
/usr/lib/x86_64-linux-gnu/perl/5.26/CORE/hv.h:488:31: warning: passing argument 2 of ‘Perl_hv_common_key_len’ from incompatible pointer type [-Wincompatible-pointer-types]
     ((SV**) hv_common_key_len((hv), (key), (klen), (lval)  \
                               ^
/usr/lib/x86_64-linux-gnu/perl/5.26/CORE/embed.h:228:69: note: in definition of macro ‘hv_common_key_len’
 #define hv_common_key_len(a,b,c,d,e,f) Perl_hv_common_key_len(aTHX_ a,b,c,d,e,f)
                                                                     ^
/usr/lib/x86_64-linux-gnu/perl/5.26/CORE/hv.h:503:5: note: in expansion of macro ‘hv_fetch’
     hv_fetch((hv), ("" key ""), (sizeof(key)-1), (lval))
     ^~~~~~~~
RabbitMQ.xs:96:31: note: in expansion of macro ‘hv_fetchs’
  do { SV **v; if(NULL != (v = hv_fetchs(hv, #name, 0))) name = SvIV(*v); } while(0)
                               ^~~~~~~~~
RabbitMQ.xs:1990:7: note: in expansion of macro ‘int_from_hv’
       int_from_hv(SvRV(args), tv_usec);
       ^~~~~~~~~~~
In file included from /usr/lib/x86_64-linux-gnu/perl/5.26/CORE/perl.h:5609:0,
                 from RabbitMQ.xs:2:
/usr/lib/x86_64-linux-gnu/perl/5.26/CORE/proto.h:1172:21: note: expected ‘HV * {aka struct hv *}’ but argument is of type ‘SV * {aka struct sv *}’
 PERL_CALLCONV void* Perl_hv_common_key_len(pTHX_ HV *hv, const char *key, I32 klen_i32, const int action, SV *val, const U32 hash);
                     ^~~~~~~~~~~~~~~~~~~~~~
x86_64-linux-gnu-gcc -c  -I. -Irabbitmq-include -Irabbitmq-include/unix -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g   -DVERSION=\"2.40010\" -DXS_VERSION=\"2.40010\" -fPIC "-I/usr/lib/x86_64-linux-gnu/perl/5.26/CORE"  -DHAVE_SOCKET -DHAVE_POLL -DAMQ_PLATFORM='"Perl_linux_v5.26.1"' -DNAR_HAVE_OPENSSL amqp_api.c
x86_64-linux-gnu-gcc -c  -I. -Irabbitmq-include -Irabbitmq-include/unix -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g   -DVERSION=\"2.40010\" -DXS_VERSION=\"2.40010\" -fPIC "-I/usr/lib/x86_64-linux-gnu/perl/5.26/CORE"  -DHAVE_SOCKET -DHAVE_POLL -DAMQ_PLATFORM='"Perl_linux_v5.26.1"' -DNAR_HAVE_OPENSSL amqp_connection.c
x86_64-linux-gnu-gcc -c  -I. -Irabbitmq-include -Irabbitmq-include/unix -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g   -DVERSION=\"2.40010\" -DXS_VERSION=\"2.40010\" -fPIC "-I/usr/lib/x86_64-linux-gnu/perl/5.26/CORE"  -DHAVE_SOCKET -DHAVE_POLL -DAMQ_PLATFORM='"Perl_linux_v5.26.1"' -DNAR_HAVE_OPENSSL amqp_consumer.c
x86_64-linux-gnu-gcc -c  -I. -Irabbitmq-include -Irabbitmq-include/unix -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g   -DVERSION=\"2.40010\" -DXS_VERSION=\"2.40010\" -fPIC "-I/usr/lib/x86_64-linux-gnu/perl/5.26/CORE"  -DHAVE_SOCKET -DHAVE_POLL -DAMQ_PLATFORM='"Perl_linux_v5.26.1"' -DNAR_HAVE_OPENSSL amqp_framing.c
x86_64-linux-gnu-gcc -c  -I. -Irabbitmq-include -Irabbitmq-include/unix -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g   -DVERSION=\"2.40010\" -DXS_VERSION=\"2.40010\" -fPIC "-I/usr/lib/x86_64-linux-gnu/perl/5.26/CORE"  -DHAVE_SOCKET -DHAVE_POLL -DAMQ_PLATFORM='"Perl_linux_v5.26.1"' -DNAR_HAVE_OPENSSL amqp_hostcheck.c
x86_64-linux-gnu-gcc -c  -I. -Irabbitmq-include -Irabbitmq-include/unix -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g   -DVERSION=\"2.40010\" -DXS_VERSION=\"2.40010\" -fPIC "-I/usr/lib/x86_64-linux-gnu/perl/5.26/CORE"  -DHAVE_SOCKET -DHAVE_POLL -DAMQ_PLATFORM='"Perl_linux_v5.26.1"' -DNAR_HAVE_OPENSSL amqp_mem.c
x86_64-linux-gnu-gcc -c  -I. -Irabbitmq-include -Irabbitmq-include/unix -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g   -DVERSION=\"2.40010\" -DXS_VERSION=\"2.40010\" -fPIC "-I/usr/lib/x86_64-linux-gnu/perl/5.26/CORE"  -DHAVE_SOCKET -DHAVE_POLL -DAMQ_PLATFORM='"Perl_linux_v5.26.1"' -DNAR_HAVE_OPENSSL amqp_openssl.c
x86_64-linux-gnu-gcc -c  -I. -Irabbitmq-include -Irabbitmq-include/unix -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g   -DVERSION=\"2.40010\" -DXS_VERSION=\"2.40010\" -fPIC "-I/usr/lib/x86_64-linux-gnu/perl/5.26/CORE"  -DHAVE_SOCKET -DHAVE_POLL -DAMQ_PLATFORM='"Perl_linux_v5.26.1"' -DNAR_HAVE_OPENSSL amqp_openssl_bio.c
x86_64-linux-gnu-gcc -c  -I. -Irabbitmq-include -Irabbitmq-include/unix -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g   -DVERSION=\"2.40010\" -DXS_VERSION=\"2.40010\" -fPIC "-I/usr/lib/x86_64-linux-gnu/perl/5.26/CORE"  -DHAVE_SOCKET -DHAVE_POLL -DAMQ_PLATFORM='"Perl_linux_v5.26.1"' -DNAR_HAVE_OPENSSL amqp_openssl_hostname_validation.c
x86_64-linux-gnu-gcc -c  -I. -Irabbitmq-include -Irabbitmq-include/unix -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g   -DVERSION=\"2.40010\" -DXS_VERSION=\"2.40010\" -fPIC "-I/usr/lib/x86_64-linux-gnu/perl/5.26/CORE"  -DHAVE_SOCKET -DHAVE_POLL -DAMQ_PLATFORM='"Perl_linux_v5.26.1"' -DNAR_HAVE_OPENSSL amqp_socket.c
x86_64-linux-gnu-gcc -c  -I. -Irabbitmq-include -Irabbitmq-include/unix -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g   -DVERSION=\"2.40010\" -DXS_VERSION=\"2.40010\" -fPIC "-I/usr/lib/x86_64-linux-gnu/perl/5.26/CORE"  -DHAVE_SOCKET -DHAVE_POLL -DAMQ_PLATFORM='"Perl_linux_v5.26.1"' -DNAR_HAVE_OPENSSL amqp_table.c
x86_64-linux-gnu-gcc -c  -I. -Irabbitmq-include -Irabbitmq-include/unix -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g   -DVERSION=\"2.40010\" -DXS_VERSION=\"2.40010\" -fPIC "-I/usr/lib/x86_64-linux-gnu/perl/5.26/CORE"  -DHAVE_SOCKET -DHAVE_POLL -DAMQ_PLATFORM='"Perl_linux_v5.26.1"' -DNAR_HAVE_OPENSSL amqp_tcp_socket.c
x86_64-linux-gnu-gcc -c  -I. -Irabbitmq-include -Irabbitmq-include/unix -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g   -DVERSION=\"2.40010\" -DXS_VERSION=\"2.40010\" -fPIC "-I/usr/lib/x86_64-linux-gnu/perl/5.26/CORE"  -DHAVE_SOCKET -DHAVE_POLL -DAMQ_PLATFORM='"Perl_linux_v5.26.1"' -DNAR_HAVE_OPENSSL amqp_time.c
x86_64-linux-gnu-gcc -c  -I. -Irabbitmq-include -Irabbitmq-include/unix -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g   -DVERSION=\"2.40010\" -DXS_VERSION=\"2.40010\" -fPIC "-I/usr/lib/x86_64-linux-gnu/perl/5.26/CORE"  -DHAVE_SOCKET -DHAVE_POLL -DAMQ_PLATFORM='"Perl_linux_v5.26.1"' -DNAR_HAVE_OPENSSL amqp_url.c
x86_64-linux-gnu-gcc -c  -I. -Irabbitmq-include -Irabbitmq-include/unix -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g   -DVERSION=\"2.40010\" -DXS_VERSION=\"2.40010\" -fPIC "-I/usr/lib/x86_64-linux-gnu/perl/5.26/CORE"  -DHAVE_SOCKET -DHAVE_POLL -DAMQ_PLATFORM='"Perl_linux_v5.26.1"' -DNAR_HAVE_OPENSSL perl_math_int64.c
rm -f blib/arch/auto/Net/AMQP/RabbitMQ/RabbitMQ.so
x86_64-linux-gnu-gcc  -shared -L/usr/local/lib -fstack-protector-strong RabbitMQ.o amqp_api.o amqp_connection.o amqp_consumer.o amqp_framing.o amqp_hostcheck.o amqp_mem.o amqp_openssl.o amqp_openssl_bio.o amqp_openssl_hostname_validation.o amqp_socket.o amqp_table.o amqp_tcp_socket.o amqp_time.o amqp_url.o perl_math_int64.o   -o blib/arch/auto/Net/AMQP/RabbitMQ/RabbitMQ.so  \
   -lrt -lssl -lcrypto   \
  
chmod 755 blib/arch/auto/Net/AMQP/RabbitMQ/RabbitMQ.so
Manifying 1 pod document
"/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- RabbitMQ.bs blib/arch/auto/Net/AMQP/RabbitMQ/RabbitMQ.bs 644
PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/000_use_ok.t ......................... ok
t/001_declare_exchange.t ............... ok
t/002_publish_consume.t ................ ok
t/005_noack.t .......................... ok
t/006_txn.t ............................ ok
t/007_get.t ............................ ok
t/008_queue_declare.t .................. ok
t/009_no_route.t ....................... ok
t/010_qos.t ............................ ok

#   Failed test 'publish fails'
#   at t/011_hearbeat.t line 40.
# Looks like you failed 1 test of 18.
t/011_hearbeat.t ....................... 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/18 subtests 

#   Failed test 'timeout'
#   at t/012_timeout.t line 26.
#     '0.724836'
#         <
#     '0.5'
# Looks like you failed 1 test of 2.
t/012_timeout.t ........................ 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/2 subtests 
t/013_headers.t ........................ ok
t/014_bind_with_headers.t .............. ok
t/015_declare_queue_with_headers.t ..... ok
t/016_reject.t ......................... ok
t/018_is_connected.t ................... ok
t/019_utf8_safety.t .................... ok
t/020_dead_channel_close.t ............. ok
t/021_json_utf8_in_and_out.t ........... ok
t/022_array_headers.t .................. ok
t/023_numeric_header_fields.t .......... ok
t/024_boolean_header_fields.t .......... ok
t/025_declare_exchange_with_ae.t ....... ok
t/026_getsockfd_and_get_channel_max.t .. ok
t/027_bad_socket_detection.t ........... ok
t/028_exchange_to_exchange.t ........... ok
t/029_amqp_properties.t ................ ok
t/030_ssl.t ............................ ok
t/031_magic_header_fields.t ............ ok
t/032_cancel_consume_ack_exception.t ... ok
t/033_fork.t ........................... ok
t/034_connect_client_properties.t ...... ok
t/035_rpc-timeouts.t ................... ok

Test Summary Report
-------------------
t/011_hearbeat.t                     (Wstat: 256 Tests: 18 Failed: 1)
  Failed test:  18
  Non-zero exit status: 1
t/012_timeout.t                      (Wstat: 256 Tests: 2 Failed: 1)
  Failed test:  2
  Non-zero exit status: 1
Files=33, Tests=367, 170 wallclock secs ( 0.65 usr  0.32 sys + 15.35 cusr  5.50 csys = 21.82 CPU)
Result: FAIL
Failed 2/33 test programs. 2/367 subtests failed.
Makefile:1091: recipe for target 'test_dynamic' failed
make: *** [test_dynamic] Error 255
-> FAIL Installing Net::AMQP::RabbitMQ failed. 

@manchicken
Copy link
Contributor

Which openssl version are you using? Also, could you run the two tests which failed individually and give me the output?

Also, @evengar2008, could you give me a copy of that Dockerfile so I can test it locally?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants