Tests fail on openssl 1.1.1b Windows 7 built with VS 2013

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

Tests fail on openssl 1.1.1b Windows 7 built with VS 2013

John Unsworth-3

I have built openssl 1.1.1b 64 bit with VS 2013 on Windows 7. It seems to build fine. However running nmake test gives some fails:

 

perl Configure VC-WIN64A no-shared --prefix=C:\Downloads\OpenSSL\openssl-1.1.1b\static

make install

make test

 

test\recipes\30-test_evp.t ...................... Dubious, test returned 4 (wstat 1024, 0x400)

Failed 4/9 subteststest\recipes\80-test_ssl_new.t .................. Dubious, test returned 2 (wstat 512, 0x200)

 

Test Summary Report

-------------------

test\recipes\30-test_evp.t                    (Wstat: 1024 Tests: 9 Failed: 4)

  Failed tests:  2, 5, 7, 9

  Non-zero exit status: 4

test\recipes\80-test_ssl_new.t                (Wstat: 512 Tests: 29 Failed: 2)

  Failed tests:  20, 28

  Non-zero exit status: 2

 

Thanks,

John Unsworth

Reply | Threaded
Open this post in threaded view
|

Re: Tests fail on openssl 1.1.1b Windows 7 built with VS 2013

Matt Caswell-2


On 11/04/2019 15:20, John Unsworth wrote:

> test\recipes\30-test_evp.t ...................... Dubious, test returned 4
> (wstat 1024, 0x400)

Can you tell us the result from :

nmake TESTS=test_evp V=1 test

Thanks

Matt

Reply | Threaded
Open this post in threaded view
|

RE: Tests fail on openssl 1.1.1b Windows 7 built with VS 2013

John Unsworth-3
Attached. This is with the debug build.

John

-----Original Message-----
From: openssl-users <[hidden email]> On Behalf Of Matt Caswell
Sent: 11 April 2019 17:40
To: [hidden email]
Subject: Re: Tests fail on openssl 1.1.1b Windows 7 built with VS 2013

CAUTION: This email originated from outside of Synchronoss.


On 11/04/2019 15:20, John Unsworth wrote:

> test\recipes\30-test_evp.t ...................... Dubious, test
> returned 4 (wstat 1024, 0x400)

Can you tell us the result from :

nmake TESTS=test_evp V=1 test

Thanks

Matt


testoutput.txt (97K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Tests fail on openssl 1.1.1b Windows 7 built with VS 2013

Matt Caswell-2


On 11/04/2019 17:43, John Unsworth wrote:
> Attached. This is with the debug build.

Hmmm, this seems to suggest failures in SHA3 and X448 code. Perhaps assembler
issues?

Try compiling with "no-asm" as a Configure option. That's not really a viable
option for production code but it at least rules assembler issues in or out.

Matt



>
> John
>
> -----Original Message-----
> From: openssl-users <[hidden email]> On Behalf Of Matt Caswell
> Sent: 11 April 2019 17:40
> To: [hidden email]
> Subject: Re: Tests fail on openssl 1.1.1b Windows 7 built with VS 2013
>
> CAUTION: This email originated from outside of Synchronoss.
>
>
> On 11/04/2019 15:20, John Unsworth wrote:
>
>> test\recipes\30-test_evp.t ...................... Dubious, test
>> returned 4 (wstat 1024, 0x400)
>
> Can you tell us the result from :
>
> nmake TESTS=test_evp V=1 test
>
> Thanks
>
> Matt
>
Reply | Threaded
Open this post in threaded view
|

RE: Tests fail on openssl 1.1.1b Windows 7 built with VS 2013

John Unsworth-3
Seems OK. nmake TESTS=test_evp V=1 test results attached.

C:\Downloads\OpenSSL\openssl-1.1.1b>perl Configure VC-WIN64A no-asm no-shared --prefix=C:\Downloads\OpenSSL\openssl-1.1.1b\static
nmake install
nmake test
All tests successful.
Files=155, Tests=1163, 163 wallclock secs ( 0.73 usr +  0.19 sys =  0.92 CPU)
Result: PASS

Regards,
John

-----Original Message-----
From: openssl-users <[hidden email]> On Behalf Of Matt Caswell
Sent: 12 April 2019 14:16
To: [hidden email]
Subject: Re: Tests fail on openssl 1.1.1b Windows 7 built with VS 2013

CAUTION: This email originated from outside of Synchronoss.


On 11/04/2019 17:43, John Unsworth wrote:
> Attached. This is with the debug build.

Hmmm, this seems to suggest failures in SHA3 and X448 code. Perhaps assembler issues?

Try compiling with "no-asm" as a Configure option. That's not really a viable option for production code but it at least rules assembler issues in or out.

Matt



>
> John
>
> -----Original Message-----
> From: openssl-users <[hidden email]> On Behalf Of
> Matt Caswell
> Sent: 11 April 2019 17:40
> To: [hidden email]
> Subject: Re: Tests fail on openssl 1.1.1b Windows 7 built with VS 2013
>
> CAUTION: This email originated from outside of Synchronoss.
>
>
> On 11/04/2019 15:20, John Unsworth wrote:
>
>> test\recipes\30-test_evp.t ...................... Dubious, test
>> returned 4 (wstat 1024, 0x400)
>
> Can you tell us the result from :
>
> nmake TESTS=test_evp V=1 test
>
> Thanks
>
> Matt
>

no-asm.txt (21K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

RE: Tests fail on openssl 1.1.1b Windows 7 built with VS 2013

John Unsworth-3
Good news. I upgraded nasm to the latest for win64 and everything now works OK.

nasm-2.14.02-win64.zip

C:\Downloads\OpenSSL\openssl-1.1.1b>nasm -v
NASM version 2.14.02 compiled on Dec 26 2018

C:\Downloads\OpenSSL\openssl-1.1.1b>perl Configure VC-WIN64A no-shared --prefix=C:\Downloads\OpenSSL\openssl-1.1.1b\static

C:\Downloads\OpenSSL\openssl-1.1.1b>nmake install

C:\Downloads\OpenSSL\openssl-1.1.1b>nmake test
All tests successful.
Files=155, Tests=1163, 103 wallclock secs ( 0.55 usr +  0.27 sys =  0.81 CPU)
Result: PASS

C:\Downloads\OpenSSL\openssl-1.1.1b>nmake TESTS=test_evp V=1 test
All tests successful.
Files=1, Tests=9,  1 wallclock secs ( 0.02 usr +  0.00 sys =  0.02 CPU)
Result: PASS

Regards,
John

-----Original Message-----
From: openssl-users <[hidden email]> On Behalf Of John Unsworth
Sent: 13 April 2019 15:28
To: [hidden email]
Subject: RE: Tests fail on openssl 1.1.1b Windows 7 built with VS 2013

CAUTION: This email originated from outside of Synchronoss.


Seems OK. nmake TESTS=test_evp V=1 test results attached.

C:\Downloads\OpenSSL\openssl-1.1.1b>perl Configure VC-WIN64A no-asm no-shared --prefix=C:\Downloads\OpenSSL\openssl-1.1.1b\static
nmake install
nmake test
All tests successful.
Files=155, Tests=1163, 163 wallclock secs ( 0.73 usr +  0.19 sys =  0.92 CPU)
Result: PASS

Regards,
John

-----Original Message-----
From: openssl-users <[hidden email]> On Behalf Of Matt Caswell
Sent: 12 April 2019 14:16
To: [hidden email]
Subject: Re: Tests fail on openssl 1.1.1b Windows 7 built with VS 2013

CAUTION: This email originated from outside of Synchronoss.


On 11/04/2019 17:43, John Unsworth wrote:
> Attached. This is with the debug build.

Hmmm, this seems to suggest failures in SHA3 and X448 code. Perhaps assembler issues?

Try compiling with "no-asm" as a Configure option. That's not really a viable option for production code but it at least rules assembler issues in or out.

Matt



>
> John
>
> -----Original Message-----
> From: openssl-users <[hidden email]> On Behalf Of
> Matt Caswell
> Sent: 11 April 2019 17:40
> To: [hidden email]
> Subject: Re: Tests fail on openssl 1.1.1b Windows 7 built with VS 2013
>
> CAUTION: This email originated from outside of Synchronoss.
>
>
> On 11/04/2019 15:20, John Unsworth wrote:
>
>> test\recipes\30-test_evp.t ...................... Dubious, test
>> returned 4 (wstat 1024, 0x400)
>
> Can you tell us the result from :
>
> nmake TESTS=test_evp V=1 test
>
> Thanks
>
> Matt
>