openssl 3 alpha 1 test failures on AIX

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

openssl 3 alpha 1 test failures on AIX

Norm Green
All tests on AIX fail like this.  Is this a known issue?  What debugging
information is needed?  Should I open an issue on github?

Also note I had to set LD_LIBRARY_PATH to the SSL build directory to get
the tests to run at all.





normg@sky>gmake test
         make depend && make _tests
         ( SRCTOP=.  BLDTOP=.
PERL="/export/localnew/RISC6000.AIX/perl-5.24.0/bin/perl" EXE_EXT= 
/export/localnew/RISC6000.AIX/perl-5.24.0/bin/perl ./test/run_tests.pl  )
01-test_abort.t ....................
# The results of this test will end up in test-runs/test_abort
1..1
Use of uninitialized value in concatenation (.) or string at
../../util/wrap.pl line 14.
Use of uninitialized value in concatenation (.) or string at
../../util/wrap.pl line 14.
Unmatched ) in regex; marked by <-- HERE in m/ '') <-- HERE  eq '' && -d
../../util/../engines;
  = ../../util/../providers
     if ( / at ../../util/wrap.pl line 14.
../../util/wrap.pl ../../test/aborttest => 255
ok 1 - Testing that abort is caught correctly
ok
01-test_sanity.t ...................
# The results of this test will end up in test-runs/test_sanity
1..1
Use of uninitialized value in concatenation (.) or string at
../../util/wrap.pl line 14.
Use of uninitialized value in concatenation (.) or string at
../../util/wrap.pl line 14.
Unmatched ) in regex; marked by <-- HERE in m/ '') <-- HERE  eq '' && -d
../../util/../engines;
  = ../../util/../providers
     if ( / at ../../util/wrap.pl line 14.
../../util/wrap.pl ../../test/sanitytest => 255
not ok 1 - running sanitytest

------------------------------------------------
Also:

normg@sky>/export/localnew/RISC6000.AIX/perl-5.24.0/bin/perl
configdata.pm --dump

Command line (with current working directory = .):

     /export/localnew/RISC6000.AIX/perl-5.24.0/bin/perl ./Configure
threads shared no-zlib
--prefix=/sky2/users/normg/gs360-openssl-300/slow9/openssl/install9
--openssldir=/usr/local/ssl debug-aix64-cc

Perl information:

     /export/localnew/RISC6000.AIX/perl-5.24.0/bin/perl
     5.24.0 for aix-thread-multi-64int

Enabled features:

     aria
     asm
     async
     autoalginit
     autoerrinit
     autoload-config
     bf
     blake2
     camellia
     capieng
     cast
     chacha
     cmac
     cmp
     cms
     comp
     ct
     deprecated
     des
     dgram
     dh
     dsa
     dso
     dtls
     dynamic-engine
     ec
     ec2m
     ecdh
     ecdsa
     engine
     err
     filenames
     fips
     gost
     idea
     legacy
     makedepend
     md4
     mdc2
     module
     multiblock
     nextprotoneg
     pinshared
     ocb
     ocsp
     padlockeng
     pic
     poly1305
     posix-io
     psk
     rc2
     rc4
     rdrand
     rfc3779
     rmd160
     scrypt
     secure-memory
     seed
     shared
     siphash
     siv
     sm2
     sm3
     sm4
     sock
     srp
     srtp
     sse2
     ssl
     static-engine
     stdio
     tests
     threads
     tls
     ts
     ui-console
     whirlpool
     tls1
     tls1-method
     tls1_1
     tls1_1-method
     tls1_2
     tls1_2-method
     tls1_3
     dtls1
     dtls1-method
     dtls1_2
     dtls1_2-method

Disabled features:

     afalgeng            [not-linux] OPENSSL_NO_AFALGENG
     asan                [default]        OPENSSL_NO_ASAN
     buildtest-c++       [default]
     crypto-mdebug       [default] OPENSSL_NO_CRYPTO_MDEBUG
     devcryptoeng        [default] OPENSSL_NO_DEVCRYPTOENG
     ec_nistp_64_gcc_128 [default] OPENSSL_NO_EC_NISTP_64_GCC_128
     egd                 [default]        OPENSSL_NO_EGD
     external-tests      [default] OPENSSL_NO_EXTERNAL_TESTS
     fuzz-libfuzzer      [default] OPENSSL_NO_FUZZ_LIBFUZZER
     fuzz-afl            [default] OPENSSL_NO_FUZZ_AFL
     ktls                [default]        OPENSSL_NO_KTLS
     md2                 [default]        OPENSSL_NO_MD2 (skip crypto/md2)
     msan                [default]        OPENSSL_NO_MSAN
     rc5                 [default]        OPENSSL_NO_RC5 (skip crypto/rc5)
     sctp                [default]        OPENSSL_NO_SCTP
     ssl-trace           [default] OPENSSL_NO_SSL_TRACE
     trace               [default]        OPENSSL_NO_TRACE
     ubsan               [default]        OPENSSL_NO_UBSAN
     unit-test           [default] OPENSSL_NO_UNIT_TEST
     uplink              [no uplink_arch] OPENSSL_NO_UPLINK
     weak-ssl-ciphers    [default] OPENSSL_NO_WEAK_SSL_CIPHERS
     zlib                [option]
     zlib-dynamic        [default]
     ssl3                [default]        OPENSSL_NO_SSL3
     ssl3-method         [default] OPENSSL_NO_SSL3_METHOD

Config target attributes:

     AR => "ar -X64",
     ARFLAGS => "r",
     CC => "cc",
     CFLAGS => "-O0 -g",
     HASHBANGPERL => "/usr/bin/env perl",
     RANLIB => "ranlib -X64",
     RC => "windres",
     asm_arch => "ppc64",
     bn_ops => "SIXTY_FOUR_BIT_LONG RC4_CHAR",
     build_file => "Makefile",
     build_scheme => [ "unified", "unix" ],
     cflags => "-q64 -qmaxmem=16384 -qro -qroconst -qthreaded",
     cppflags => "-D_THREAD_SAFE",
     defines => [ "OPENSSL_BUILDING_OPENSSL" ],
     disable => [  ],
     dso_scheme => "dlfcn",
     enable => [  ],
     ex_libs => "-lpthreads",
     includes => [  ],
     lflags => "-Wl,-bsvr4",
     lib_cflags => "",
     lib_cppflags => "-DB_ENDIAN",
     lib_defines => [  ],
     module_cflags => "-qpic",
     module_cxxflags => undef,
     module_ldflags => "-Wl,-G,-bsymbolic,-bnoentry",
     perl_platform => "AIX",
     perlasm_scheme => "aix64",
     shared_cflag => "-qpic",
     shared_defflag => "-Wl,-bE:",
     shared_defines => [  ],
     shared_extension => "64.so.\$(SHLIB_VERSION_NUMBER)",
     shared_ldflag => "-Wl,-G,-bsymbolic,-bnoentry",
     shared_rcflag => "",
     shared_target => "aix",
     sys_id => "AIX",
     thread_defines => [  ],
     thread_scheme => "pthreads",
     unistd => "<unistd.h>",

Recorded environment:

     AR =
     ARFLAGS =
     AS =
     ASFLAGS =
     BUILDFILE =
     CC = /usr/vac/bin/xlc_r
     CFLAGS =
     CPP =
     CPPDEFINES =
     CPPFLAGS =
     CPPINCLUDES =
     CROSS_COMPILE =
     CXX =
     CXXFLAGS =
     HASHBANGPERL =
     LD = /usr/vacpp/bin/xlC_r
     LDFLAGS =
     LDLIBS =
     MT =
     MTFLAGS =
     OPENSSL_LOCAL_CONFIG_DIR =
     PERL = /export/localnew/RISC6000.AIX/perl-5.24.0/bin/perl
     RANLIB =
     RC =
     RCFLAGS =
     RM =
     WINDRES =
     __CNF_CFLAGS =
     __CNF_CPPDEFINES =
     __CNF_CPPFLAGS =
     __CNF_CPPINCLUDES =
     __CNF_CXXFLAGS =
     __CNF_LDFLAGS =
     __CNF_LDLIBS =

Makevars:

     AR              = ar -X64
     ARFLAGS         = r
     CC              = /usr/vac/bin/xlc_r
     CFLAGS          = -O0 -g
     CPPDEFINES      =
     CPPFLAGS        =
     CPPINCLUDES     =
     CXXFLAGS        =
     HASHBANGPERL    = /export/localnew/RISC6000.AIX/perl-5.24.0/bin/perl
     LD              = /usr/vacpp/bin/xlC_r
     LDFLAGS         =
     LDLIBS          =
     PERL            = /export/localnew/RISC6000.AIX/perl-5.24.0/bin/perl
     RANLIB          = ranlib -X64
     RC              = windres
     RCFLAGS         =

NOTE: These variables only represent the configuration view.  The build file
template may have processed these variables further, please have a look
at the
build file for more exact data:
     Makefile

build file:

     Makefile

build file templates:

     Configurations/common0.tmpl
     Configurations/unix-Makefile.tmpl
     Configurations/common.tmpl

Reply | Threaded
Open this post in threaded view
|

Re: openssl 3 alpha 1 test failures on AIX

OpenSSL - User mailing list
On Wed, May 06, 2020 at 05:22:17PM -0700, Norm Green wrote:

> All tests on AIX fail like this.  Is this a known issue?  What debugging
> information is needed?  Should I open an issue on github?
>
> Also note I had to set LD_LIBRARY_PATH to the SSL build directory to get the
> tests to run at all.
>
>
>
>
>
> normg@sky>gmake test
>         make depend && make _tests
>         ( SRCTOP=.  BLDTOP=.
> PERL="/export/localnew/RISC6000.AIX/perl-5.24.0/bin/perl" EXE_EXT= 
> /export/localnew/RISC6000.AIX/perl-5.24.0/bin/perl ./test/run_tests.pl  )
> 01-test_abort.t ....................
> # The results of this test will end up in test-runs/test_abort
> 1..1
> Use of uninitialized value in concatenation (.) or string at
> ../../util/wrap.pl line 14.
> Use of uninitialized value in concatenation (.) or string at
> ../../util/wrap.pl line 14.
> Unmatched ) in regex; marked by <-- HERE in m/ '') <-- HERE  eq '' && -d
> ../../util/../engines;
>  = ../../util/../providers
>     if ( / at ../../util/wrap.pl line 14.
> ../../util/wrap.pl ../../test/aborttest => 255
> ok 1 - Testing that abort is caught correctly
> ok
> 01-test_sanity.t ...................
> # The results of this test will end up in test-runs/test_sanity
> 1..1
> Use of uninitialized value in concatenation (.) or string at
> ../../util/wrap.pl line 14.
> Use of uninitialized value in concatenation (.) or string at
> ../../util/wrap.pl line 14.
> Unmatched ) in regex; marked by <-- HERE in m/ '') <-- HERE  eq '' && -d
> ../../util/../engines;

That looks like your perl is unhappy about something; do you have other versions
of perl available to try?

Thanks,

Ben
Reply | Threaded
Open this post in threaded view
|

Re: openssl 3 alpha 1 test failures on AIX

Norm Green
I would have to build a new perl from source, but the perl I'm using
meets the requirements.

I built the current version (5.24.0) from a source a while back when
openssl started requiring at least 5.10.0.

Tests pass on the same machine with openssl 1.1.1 .


On 5/6/2020 5:33 PM, Benjamin Kaduk wrote:

> On Wed, May 06, 2020 at 05:22:17PM -0700, Norm Green wrote:
>> All tests on AIX fail like this.  Is this a known issue?  What debugging
>> information is needed?  Should I open an issue on github?
>>
>> Also note I had to set LD_LIBRARY_PATH to the SSL build directory to get the
>> tests to run at all.
>>
>>
>>
>>
>>
>> normg@sky>gmake test
>>          make depend && make _tests
>>          ( SRCTOP=.  BLDTOP=.
>> PERL="/export/localnew/RISC6000.AIX/perl-5.24.0/bin/perl" EXE_EXT=
>> /export/localnew/RISC6000.AIX/perl-5.24.0/bin/perl ./test/run_tests.pl  )
>> 01-test_abort.t ....................
>> # The results of this test will end up in test-runs/test_abort
>> 1..1
>> Use of uninitialized value in concatenation (.) or string at
>> ../../util/wrap.pl line 14.
>> Use of uninitialized value in concatenation (.) or string at
>> ../../util/wrap.pl line 14.
>> Unmatched ) in regex; marked by <-- HERE in m/ '') <-- HERE  eq '' && -d
>> ../../util/../engines;
>>   = ../../util/../providers
>>      if ( / at ../../util/wrap.pl line 14.
>> ../../util/wrap.pl ../../test/aborttest => 255
>> ok 1 - Testing that abort is caught correctly
>> ok
>> 01-test_sanity.t ...................
>> # The results of this test will end up in test-runs/test_sanity
>> 1..1
>> Use of uninitialized value in concatenation (.) or string at
>> ../../util/wrap.pl line 14.
>> Use of uninitialized value in concatenation (.) or string at
>> ../../util/wrap.pl line 14.
>> Unmatched ) in regex; marked by <-- HERE in m/ '') <-- HERE  eq '' && -d
>> ../../util/../engines;
> That looks like your perl is unhappy about something; do you have other versions
> of perl available to try?
>
> Thanks,
>
> Ben

Reply | Threaded
Open this post in threaded view
|

Re: openssl 3 alpha 1 test failures on AIX

Matt Caswell-2
In reply to this post by Norm Green


On 07/05/2020 01:22, Norm Green wrote:
> All tests on AIX fail like this.  Is this a known issue?  What debugging
> information is needed?  Should I open an issue on github?

Yes - please open an issue on github.

>
> Also note I had to set LD_LIBRARY_PATH to the SSL build directory to get
> the tests to run at all.

Do you have any other OPENSSL relevant environment variables set, such
as OPENSSL_ENGINES or OPENSSL_CONF (if so please mention this in the
github issue)?

Matt

>
>
>
>
>
> normg@sky>gmake test
>         make depend && make _tests
>         ( SRCTOP=.  BLDTOP=.
> PERL="/export/localnew/RISC6000.AIX/perl-5.24.0/bin/perl" EXE_EXT= 
> /export/localnew/RISC6000.AIX/perl-5.24.0/bin/perl ./test/run_tests.pl  )
> 01-test_abort.t ....................
> # The results of this test will end up in test-runs/test_abort
> 1..1
> Use of uninitialized value in concatenation (.) or string at
> ../../util/wrap.pl line 14.
> Use of uninitialized value in concatenation (.) or string at
> ../../util/wrap.pl line 14.
> Unmatched ) in regex; marked by <-- HERE in m/ '') <-- HERE  eq '' && -d
> ../../util/../engines;
>  = ../../util/../providers
>     if ( / at ../../util/wrap.pl line 14.
> ../../util/wrap.pl ../../test/aborttest => 255
> ok 1 - Testing that abort is caught correctly
> ok
> 01-test_sanity.t ...................
> # The results of this test will end up in test-runs/test_sanity
> 1..1
> Use of uninitialized value in concatenation (.) or string at
> ../../util/wrap.pl line 14.
> Use of uninitialized value in concatenation (.) or string at
> ../../util/wrap.pl line 14.
> Unmatched ) in regex; marked by <-- HERE in m/ '') <-- HERE  eq '' && -d
> ../../util/../engines;
>  = ../../util/../providers
>     if ( / at ../../util/wrap.pl line 14.
> ../../util/wrap.pl ../../test/sanitytest => 255
> not ok 1 - running sanitytest
>
> ------------------------------------------------
> Also:
>
> normg@sky>/export/localnew/RISC6000.AIX/perl-5.24.0/bin/perl
> configdata.pm --dump
>
> Command line (with current working directory = .):
>
>     /export/localnew/RISC6000.AIX/perl-5.24.0/bin/perl ./Configure
> threads shared no-zlib
> --prefix=/sky2/users/normg/gs360-openssl-300/slow9/openssl/install9
> --openssldir=/usr/local/ssl debug-aix64-cc
>
> Perl information:
>
>     /export/localnew/RISC6000.AIX/perl-5.24.0/bin/perl
>     5.24.0 for aix-thread-multi-64int
>
> Enabled features:
>
>     aria
>     asm
>     async
>     autoalginit
>     autoerrinit
>     autoload-config
>     bf
>     blake2
>     camellia
>     capieng
>     cast
>     chacha
>     cmac
>     cmp
>     cms
>     comp
>     ct
>     deprecated
>     des
>     dgram
>     dh
>     dsa
>     dso
>     dtls
>     dynamic-engine
>     ec
>     ec2m
>     ecdh
>     ecdsa
>     engine
>     err
>     filenames
>     fips
>     gost
>     idea
>     legacy
>     makedepend
>     md4
>     mdc2
>     module
>     multiblock
>     nextprotoneg
>     pinshared
>     ocb
>     ocsp
>     padlockeng
>     pic
>     poly1305
>     posix-io
>     psk
>     rc2
>     rc4
>     rdrand
>     rfc3779
>     rmd160
>     scrypt
>     secure-memory
>     seed
>     shared
>     siphash
>     siv
>     sm2
>     sm3
>     sm4
>     sock
>     srp
>     srtp
>     sse2
>     ssl
>     static-engine
>     stdio
>     tests
>     threads
>     tls
>     ts
>     ui-console
>     whirlpool
>     tls1
>     tls1-method
>     tls1_1
>     tls1_1-method
>     tls1_2
>     tls1_2-method
>     tls1_3
>     dtls1
>     dtls1-method
>     dtls1_2
>     dtls1_2-method
>
> Disabled features:
>
>     afalgeng            [not-linux] OPENSSL_NO_AFALGENG
>     asan                [default]        OPENSSL_NO_ASAN
>     buildtest-c++       [default]
>     crypto-mdebug       [default] OPENSSL_NO_CRYPTO_MDEBUG
>     devcryptoeng        [default] OPENSSL_NO_DEVCRYPTOENG
>     ec_nistp_64_gcc_128 [default] OPENSSL_NO_EC_NISTP_64_GCC_128
>     egd                 [default]        OPENSSL_NO_EGD
>     external-tests      [default] OPENSSL_NO_EXTERNAL_TESTS
>     fuzz-libfuzzer      [default] OPENSSL_NO_FUZZ_LIBFUZZER
>     fuzz-afl            [default] OPENSSL_NO_FUZZ_AFL
>     ktls                [default]        OPENSSL_NO_KTLS
>     md2                 [default]        OPENSSL_NO_MD2 (skip crypto/md2)
>     msan                [default]        OPENSSL_NO_MSAN
>     rc5                 [default]        OPENSSL_NO_RC5 (skip crypto/rc5)
>     sctp                [default]        OPENSSL_NO_SCTP
>     ssl-trace           [default] OPENSSL_NO_SSL_TRACE
>     trace               [default]        OPENSSL_NO_TRACE
>     ubsan               [default]        OPENSSL_NO_UBSAN
>     unit-test           [default] OPENSSL_NO_UNIT_TEST
>     uplink              [no uplink_arch] OPENSSL_NO_UPLINK
>     weak-ssl-ciphers    [default] OPENSSL_NO_WEAK_SSL_CIPHERS
>     zlib                [option]
>     zlib-dynamic        [default]
>     ssl3                [default]        OPENSSL_NO_SSL3
>     ssl3-method         [default] OPENSSL_NO_SSL3_METHOD
>
> Config target attributes:
>
>     AR => "ar -X64",
>     ARFLAGS => "r",
>     CC => "cc",
>     CFLAGS => "-O0 -g",
>     HASHBANGPERL => "/usr/bin/env perl",
>     RANLIB => "ranlib -X64",
>     RC => "windres",
>     asm_arch => "ppc64",
>     bn_ops => "SIXTY_FOUR_BIT_LONG RC4_CHAR",
>     build_file => "Makefile",
>     build_scheme => [ "unified", "unix" ],
>     cflags => "-q64 -qmaxmem=16384 -qro -qroconst -qthreaded",
>     cppflags => "-D_THREAD_SAFE",
>     defines => [ "OPENSSL_BUILDING_OPENSSL" ],
>     disable => [  ],
>     dso_scheme => "dlfcn",
>     enable => [  ],
>     ex_libs => "-lpthreads",
>     includes => [  ],
>     lflags => "-Wl,-bsvr4",
>     lib_cflags => "",
>     lib_cppflags => "-DB_ENDIAN",
>     lib_defines => [  ],
>     module_cflags => "-qpic",
>     module_cxxflags => undef,
>     module_ldflags => "-Wl,-G,-bsymbolic,-bnoentry",
>     perl_platform => "AIX",
>     perlasm_scheme => "aix64",
>     shared_cflag => "-qpic",
>     shared_defflag => "-Wl,-bE:",
>     shared_defines => [  ],
>     shared_extension => "64.so.\$(SHLIB_VERSION_NUMBER)",
>     shared_ldflag => "-Wl,-G,-bsymbolic,-bnoentry",
>     shared_rcflag => "",
>     shared_target => "aix",
>     sys_id => "AIX",
>     thread_defines => [  ],
>     thread_scheme => "pthreads",
>     unistd => "<unistd.h>",
>
> Recorded environment:
>
>     AR =
>     ARFLAGS =
>     AS =
>     ASFLAGS =
>     BUILDFILE =
>     CC = /usr/vac/bin/xlc_r
>     CFLAGS =
>     CPP =
>     CPPDEFINES =
>     CPPFLAGS =
>     CPPINCLUDES =
>     CROSS_COMPILE =
>     CXX =
>     CXXFLAGS =
>     HASHBANGPERL =
>     LD = /usr/vacpp/bin/xlC_r
>     LDFLAGS =
>     LDLIBS =
>     MT =
>     MTFLAGS =
>     OPENSSL_LOCAL_CONFIG_DIR =
>     PERL = /export/localnew/RISC6000.AIX/perl-5.24.0/bin/perl
>     RANLIB =
>     RC =
>     RCFLAGS =
>     RM =
>     WINDRES =
>     __CNF_CFLAGS =
>     __CNF_CPPDEFINES =
>     __CNF_CPPFLAGS =
>     __CNF_CPPINCLUDES =
>     __CNF_CXXFLAGS =
>     __CNF_LDFLAGS =
>     __CNF_LDLIBS =
>
> Makevars:
>
>     AR              = ar -X64
>     ARFLAGS         = r
>     CC              = /usr/vac/bin/xlc_r
>     CFLAGS          = -O0 -g
>     CPPDEFINES      =
>     CPPFLAGS        =
>     CPPINCLUDES     =
>     CXXFLAGS        =
>     HASHBANGPERL    = /export/localnew/RISC6000.AIX/perl-5.24.0/bin/perl
>     LD              = /usr/vacpp/bin/xlC_r
>     LDFLAGS         =
>     LDLIBS          =
>     PERL            = /export/localnew/RISC6000.AIX/perl-5.24.0/bin/perl
>     RANLIB          = ranlib -X64
>     RC              = windres
>     RCFLAGS         =
>
> NOTE: These variables only represent the configuration view.  The build
> file
> template may have processed these variables further, please have a look
> at the
> build file for more exact data:
>     Makefile
>
> build file:
>
>     Makefile
>
> build file templates:
>
>     Configurations/common0.tmpl
>     Configurations/unix-Makefile.tmpl
>     Configurations/common.tmpl
>