Ah, just for reference - here's the output of openssl version -a for my system 
where the tests pass:

$ openssl version -a
OpenSSL 1.0.2h-fips  3 May 2016
built on: reproducible build, date unspecified
platform: linux-x86_64
options:  bn(64,64) md2(int) rc4(16x,int) des(idx,cisc,16,int) idea(int) 
blowfish(idx) 
compiler: gcc -I. -I.. -I../include  -fPIC -DOPENSSL_PIC -DZLIB 
-DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DKRB5_MIT -m64 
-DL_ENDIAN -Wall -O2 -g -pipe -Wall -Werror=format-security 
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong 
--param=ssp-buffer-size=4 -grecord-gcc-switches 
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic 
-Wa,--noexecstack -DPURIFY -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT 
-DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM 
-DSHA512_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DWHIRLPOOL_ASM 
-DGHASH_ASM -DECP_NISTZ256_ASM
OPENSSLDIR: "/etc/pki/tls"
engines:  rdrand dynamic 


----- Original Message -----
> From: "Ken Giusti" <[email protected]>
> To: [email protected]
> Sent: Friday, June 17, 2016 9:26:04 AM
> Subject: Re: [Qpid-proton] Python test failing on Regex
> 
> Adel -
> 
> I suspect it has something to do with your OpenSSL library configuration,
> though I can't be sure - I don't have access to a Solaris box.
> 
> I found this on the web, may be helpful:
> http://stackoverflow.com/questions/25282939/openssl-ssl-ctx-newsslv3-method-returns-null
> 
> Proton needs to handle this error instead of core dumping - that's a bug, but
> secondary to what you're hitting.
> 
> 
> ----- Original Message -----
> > From: "Adel Boutros" <[email protected]>
> > To: [email protected]
> > Sent: Friday, June 17, 2016 5:53:50 AM
> > Subject: RE: [Qpid-proton] Python test failing on Regex
> > 
> > After running the test command, I have a core being dumped for all tests
> > under tests/python/proton_tests/reactor.py for the class ContainerTest.
> > 
> > We tried to analyze it and it seems to be an issue related with OpenSSL
> > failing.
> > In proton-c/src/ssl/openssl.c, SSL_CTX_new(SSLv23_client_method()) is
> > returning NULL.
> > 
> > After adding the below log for SSL, we see the error message:
> > long e = ERR_get_error();
> > printf("SSL_CLIENT failed: %s\n", ERR_error_string(e, NULL));
> > 
> > Error msg: SSL_CLIENT failed: error:140A90F1:SSL
> > routines:SSL_CTX_new:unable
> > to load ssl2 md5 routines
> > 
> > PS: We are using OpenSSL-1.0.2g for Solaris
> > 
> > Regards,
> > Adel
> > 
> > > Date: Thu, 16 Jun 2016 13:47:53 -0400
> > > From: [email protected]
> > > To: [email protected]
> > > Subject: Re: [Qpid-proton] Python test failing on Regex
> > > 
> > > Adel,
> > > 
> > > That regex failure message is coming from the ctest command - it cannot
> > > find the that pattern in the test results.
> > > 
> > > This means that one of the tests probably crashed.
> > > 
> > > Try running the python tests via the command line rather than via ctest.
> > > 
> > > If you run:
> > > 
> > > ctest -VV -N -R python-test
> > > 
> > > it will output the command line used to run the test.  Try running that
> > > command line and see what happens.
> > > 
> > > -K
> > > 
> > > ----- Original Message -----
> > > > From: "Adel Boutros" <[email protected]>
> > > > To: [email protected]
> > > > Sent: Thursday, June 16, 2016 1:15:52 PM
> > > > Subject: RE: [Qpid-proton] Python test failing on Regex
> > > > 
> > > > PS: We are using Proton 0.12.2 compiled with SSL/SASL and OpenSSL 1.0.2
> > > > 
> > > > > From: [email protected]
> > > > > To: [email protected]
> > > > > Subject: [Qpid-proton] Python test failing on Regex
> > > > > Date: Thu, 16 Jun 2016 19:15:05 +0200
> > > > > 
> > > > > Hello,
> > > > > 
> > > > > On Solaris 10 u10 using Sunstudio 12.4 compiler, We have a single
> > > > > python
> > > > > test failing.
> > > > > 
> > > > > ctest -VV -R python-test
> > > > > 
> > > > > 1: proton_tests.reactor.ContainerTest.test_authentication_via_kwargs
> > > > > .......
> > > > > 1/1 Test #1: python-test ......................***Failed  Required
> > > > > regular
> > > > > expression not found.Regex=[Totals: .* 0 failed
> > > > > 
> > > > > Do you know what might be the cause of it?
> > > > > 
> > > > > Regards,
> > > > > Adel
> > > > >                                         
> > > > 
> > > 
> > > --
> > > -K
> > > 
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [email protected]
> > > For additional commands, e-mail: [email protected]
> > > 
> > 
> 
> --
> -K
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 
> 

-- 
-K

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to