Re: [openssl-dev] Some tests fail on the current/latest SNAP

2015-09-18 Thread Matt Caswell


On 18/09/15 23:23, Blumenthal, Uri - 0553 - MITLL wrote:
> I compiled with
> 
>   ./config threads shared zlib
> 
> Should I drop zlib and try again...?

Yes please.

Thanks

Matt
___
openssl-dev mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev


Re: [openssl-dev] Some tests fail on the current/latest SNAP

2015-09-18 Thread Blumenthal, Uri - 0553 - MITLL
I compiled with

  ./config threads shared zlib

Should I drop zlib and try again...?

Sent from my BlackBerry 10 smartphone on the Verizon Wireless 4G LTE network.
  Original Message  
From: Matt Caswell
Sent: Friday, September 18, 2015 18:01
To: Blumenthal, Uri - 0553 - MITLL; Richard Levitte
Cc: openssl-dev@openssl.org
Subject: Re: [openssl-dev] Some tests fail on the current/latest SNAP



On 18/09/15 21:24, Blumenthal, Uri - 0553 - MITLL wrote:
> On 9/18/15, 15:54 , "Matt Caswell"  wrote:
> Received server packet
> Packet length = 1113
> Processing flight 1
> Record 1 (server -> client)
> Content type: HANDSHAKE
> Version: TLS1.2
> Length: 81
> About to run unpack()...
> Message length: 77
> Message type: ServerHello (2)
> Message Length: 77
> Server Version:771
> Session ID Len:32
> Ciphersuite:47

> Compression Method:1

You have compiled in compression support? Can you try it without?

Thanks

Matt



smime.p7s
Description: S/MIME cryptographic signature
___
openssl-dev mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev


Re: [openssl-dev] Some tests fail on the current/latest SNAP

2015-09-18 Thread Matt Caswell


On 18/09/15 21:24, Blumenthal, Uri - 0553 - MITLL wrote:
> On 9/18/15, 15:54 , "Matt Caswell"  wrote:
> Received server packet
> Packet length = 1113
> Processing flight 1
>  Record 1 (server -> client)
>   Content type: HANDSHAKE
>   Version: TLS1.2
>   Length: 81
>   About to run unpack()...
>   Message length: 77
>   Message type: ServerHello (2)
>   Message Length: 77
> Server Version:771
> Session ID Len:32
> Ciphersuite:47

> Compression Method:1

You have compiled in compression support? Can you try it without?

Thanks

Matt
___
openssl-dev mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev


Re: [openssl-dev] Some tests fail on the current/latest SNAP

2015-09-18 Thread Blumenthal, Uri - 0553 - MITLL
On 9/18/15, 15:54 , "Matt Caswell"  wrote:

>>You can look for yourself, $proxy should be assigned like this:
>> 
>> my $proxy = TLSProxy::Proxy->new(
>> \&extension_filter,
>> cmdstr(app(["openssl"])),
>> top_file("apps", "server.pem"),
>> 1# <= This is what turns on the debugging output
>> );
>> 
>
>I encountered a problem with this the other day. Something in the
>translation to the new test framework has borked debugging output. It
>only seems to have affected stdout.
>
>I had to additionally add this after the above line:
>open(STDOUT, ">&STDERR");

Yes! Adding this line got the debugging output. Log file is attached, and
appended here (“About to run unpack()...” is my print/addition):

testing...
make[1]: Entering directory `/media/uri/Src/openssl/test'
make[2]: Entering directory `/media/uri/Src/openssl'
making all in apps...
make[3]: Entering directory `/media/uri/Src/openssl/apps'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/media/uri/Src/openssl/apps'
make[2]: Leaving directory `/media/uri/Src/openssl'
TOP=.. PERL=/usr/bin/perl /usr/bin/perl run_tests.pl alltests
../test/recipes/00-check_testexes.t ... ok
../test/recipes/05-test_bf.t .. ok
../test/recipes/05-test_cast.t  ok
../test/recipes/05-test_des.t . ok
../test/recipes/05-test_hmac.t  ok
../test/recipes/05-test_idea.t  ok
../test/recipes/05-test_md2.t . ok
../test/recipes/05-test_md4.t . ok
../test/recipes/05-test_md5.t . ok
../test/recipes/05-test_mdc2.t  ok
../test/recipes/05-test_rand.t  ok
../test/recipes/05-test_rc2.t . ok
../test/recipes/05-test_rc4.t . ok
../test/recipes/05-test_rc5.t . ok
../test/recipes/05-test_rmd.t . ok
../test/recipes/05-test_sha1.t  ok
../test/recipes/05-test_sha256.t .. ok
../test/recipes/05-test_sha512.t .. ok
../test/recipes/05-test_wp.t .. ok
../test/recipes/10-test_bn.t .. ok
../test/recipes/10-test_exp.t . ok
../test/recipes/15-test_dh.t .. ok
../test/recipes/15-test_dsa.t . ok
../test/recipes/15-test_ec.t .. ok
../test/recipes/15-test_ecdh.t  ok
../test/recipes/15-test_ecdsa.t ... ok
../test/recipes/15-test_rsa.t . ok
../test/recipes/20-test_enc.t . ok
../test/recipes/25-test_crl.t . ok
../test/recipes/25-test_gen.t . ok
../test/recipes/25-test_pkcs7.t ... ok
../test/recipes/25-test_req.t . ok
../test/recipes/25-test_sid.t . ok
../test/recipes/25-test_verify.t .. ok
../test/recipes/25-test_x509.t  ok
../test/recipes/30-test_engine.t .. ok
../test/recipes/30-test_evp.t . ok
../test/recipes/30-test_evp_extra.t ... ok
../test/recipes/30-test_pbelu.t ... ok
../test/recipes/40-test_rehash.t .. ok
../test/recipes/70-test_clienthello.t . ok
../test/recipes/70-test_packet.t .. ok
Proxy started on port 4453
Connection opened
Received client packet
Packet length = 374
Processing flight 0
 Record 1 (client -> server)
  Content type: HANDSHAKE
  Version: TLS1.0
  Length: 369
  About to run unpack()...
  Message length: 365
  Message type: ClientHello (1)
  Message Length: 365
Client Version:771
Session ID Len:0
Ciphersuite len:230
Compression Method Len:2
Extensions Len:93


Forwarded packet length = 281


Received server packet
Packet length = 1113
Processing flight 1
 Record 1 (server -> client)
  Content type: HANDSHAKE
  Version: TLS1.2
  Length: 81
  About to run unpack()...
  Message length: 77
  Message type: ServerHello (2)
  Message Length: 77
Server Version:771
Session ID Len:32
Ciphersuite:47
Compression Method:1
Extensions Len:5
 Record 2 (server -> client)
  Content type: HANDSHAKE
  Version: TLS1.2
  Length: 1013
  About to run unpack()...
  Message length: 1009
  Message type: Certificate (11)
  Message Length: 1009
 Record 3 (server -> client)
  Content type: HANDSHAKE
  Version: TLS1.2
  Length: 4
  About to run unpack()...
  Message length: 0
  Message type: ServerHelloDone (14)
  Message Length: 0


Forwarded packet length = 1113


Received client packet
Packet length = 342
Processing flight 2
 Record 1 (client -> server)
  Content type: HANDSHAKE
  Version: TLS1.2
  Length: 262
  About to run unpack()...
  Message length: 258
  Message type: ClientKeyExchange (16)
  Message Length: 258
 Record 2 (client -> server)
  Content type: CCS
  Version: TLS1.2
  Length: 1
 Record 3 (client -> server)
  Content type: HANDSHAKE
  Version: TLS1.2
  Length: 64
  About to run unpack()...
  Message length: 10228321
Use of uninitialized value within %message_type in concatenation (.) or
string at ../util/TLSProxy/Message.pm line 204, <> line 751.
  Message type:  (120)
  Message Lengt

Re: [openssl-dev] Some tests fail on the current/latest SNAP

2015-09-18 Thread Matt Caswell


On 18/09/15 20:46, Richard Levitte wrote:
> In message  on Fri, 18 Sep 2015 19:23:09 
> +, "Blumenthal, Uri - 0553 - MITLL"  said:
> 
> uri> On 9/18/15, 15:15 , "Richard Levitte"  wrote:
> uri> 
> uri> >Did you apply the full patch?  The was a part for
> uri> >test/recipes/70-test_sslextension.t that should have had it generate
> uri> >debugging output...
> uri> 
> uri> Yes I’m sure I did. And I’m as surprised as you are to not see the
> uri> expected output from at least “Message.pm”…
> 
> You can look for yourself, $proxy should be assigned like this:
> 
> my $proxy = TLSProxy::Proxy->new(
> \&extension_filter,
> cmdstr(app(["openssl"])),
> top_file("apps", "server.pem"),
> 1# <= This is what turns on the debugging output
> );
> 

I encountered a problem with this the other day. Something in the
translation to the new test framework has borked debugging output. It
only seems to have affected stdout.

I had to additionally add this after the above line:
open(STDOUT, ">&STDERR");

Matt
___
openssl-dev mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev


Re: [openssl-dev] Some tests fail on the current/latest SNAP

2015-09-18 Thread Blumenthal, Uri - 0553 - MITLL
Yes, it certainly is:

...

$ENV{OPENSSL_ENGINES} = top_dir("engines");
$ENV{OPENSSL_ia32cap} = '~0x202';
my $proxy = TLSProxy::Proxy->new(
\&extension_filter,
cmdstr(app(["openssl"])),
top_file("apps", "server.pem"),
1
);

plan tests => 1;

...


-- 
Regards,
Uri Blumenthal





On 9/18/15, 15:46 , "Richard Levitte"  wrote:

>In message  on Fri, 18 Sep 2015 19:23:09
>+, "Blumenthal, Uri - 0553 - MITLL"  said:
>
>uri> On 9/18/15, 15:15 , "Richard Levitte"  wrote:
>uri> 
>uri> >Did you apply the full patch?  The was a part for
>uri> >test/recipes/70-test_sslextension.t that should have had it generate
>uri> >debugging output...
>uri> 
>uri> Yes I’m sure I did. And I’m as surprised as you are to not see the
>uri> expected output from at least “Message.pm”…
>
>You can look for yourself, $proxy should be assigned like this:
>
>my $proxy = TLSProxy::Proxy->new(
>\&extension_filter,
>cmdstr(app(["openssl"])),
>top_file("apps", "server.pem"),
>1# <= This is what turns on the debugging output
>);
>
>-- 
>Richard Levitte rich...@levitte.org
>http://richard.levitte.org/
>
>"Life is a tremendous celebration - and I'm invited!"
>-- from a friend's blog, translated from Swedish


smime.p7s
Description: S/MIME cryptographic signature
___
openssl-dev mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev


Re: [openssl-dev] Some tests fail on the current/latest SNAP

2015-09-18 Thread Richard Levitte
In message  on Fri, 18 Sep 2015 19:23:09 +, 
"Blumenthal, Uri - 0553 - MITLL"  said:

uri> On 9/18/15, 15:15 , "Richard Levitte"  wrote:
uri> 
uri> >Did you apply the full patch?  The was a part for
uri> >test/recipes/70-test_sslextension.t that should have had it generate
uri> >debugging output...
uri> 
uri> Yes I’m sure I did. And I’m as surprised as you are to not see the
uri> expected output from at least “Message.pm”…

You can look for yourself, $proxy should be assigned like this:

my $proxy = TLSProxy::Proxy->new(
\&extension_filter,
cmdstr(app(["openssl"])),
top_file("apps", "server.pem"),
1# <= This is what turns on the debugging output
);

-- 
Richard Levitte rich...@levitte.org
http://richard.levitte.org/

"Life is a tremendous celebration - and I'm invited!"
-- from a friend's blog, translated from Swedish
___
openssl-dev mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev


[openssl-dev] [openssl.org #4033] Unable to build openssl git master branch on NetBSD for > 24 hours

2015-09-18 Thread Richard Levitte via RT
Vid Fre, 18 Sep 2015 kl. 19.31.05, skrev levitte:
> Vid Fre, 18 Sep 2015 kl. 19.07.55, skrev ya...@sdf.org:
> > >>Ok, I'm having trouble reproducing
> > [...]
> > >>that should print an error message and the echo of $?
> > >>should print 1. I cannot understand why that fails for you...
> > >
> > > Maybe running test as root ?
> >
> > YES! It's a one user box that I regularly update and install on,
> > so rarely run as reduced/un-privileged user.
> >
> > If I switch to non-root, this passes.
> >
> > Sorry to take your bandwidth.
> >
> > --gene
> >
>
> No problem. This will happen again, so I've prepared a commit that has
> test_rehash compalain loudly if being run as root. Will show up in not too
> long.
>
> --
> Richard Levitte
> levi...@openssl.org

Commit pushed, e008d1b2672f0ab6d64ab1afd20a903678bd8ed2

--
Richard Levitte
levi...@openssl.org

___
openssl-dev mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev


[openssl-dev] [openssl.org #4033] Unable to build openssl git master branch on NetBSD for > 24 hours

2015-09-18 Thread Richard Levitte via RT
Vid Fre, 18 Sep 2015 kl. 19.07.55, skrev ya...@sdf.org:
> >>Ok, I'm having trouble reproducing
> [...]
> >>that should print an error message and the echo of $?
> >>should print 1. I cannot understand why that fails for you...
> >
> > Maybe running test as root ?
>
> YES! It's a one user box that I regularly update and install on,
> so rarely run as reduced/un-privileged user.
>
> If I switch to non-root, this passes.
>
> Sorry to take your bandwidth.
>
> --gene
>

No problem. This will happen again, so I've prepared a commit that has
test_rehash compalain loudly if being run as root. Will show up in not too
long.

--
Richard Levitte
levi...@openssl.org

___
openssl-dev mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev


Re: [openssl-dev] [openssl.org #4033] Unable to build openssl git master branch on NetBSD for > 24 hours

2015-09-18 Thread Salz, Rich via RT
> YES!  It's a one user box that I regularly update and install on, so rarely 
> run as
> reduced/un-privileged user.
> 
> If I switch to non-root, this passes.

Glad we got it figured out.  Perhaps we can add a warning to the test (running 
as root, expect to fail) or some such.


___
openssl-dev mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev


Re: [openssl-dev] Some tests fail on the current/latest SNAP

2015-09-18 Thread Blumenthal, Uri - 0553 - MITLL
On 9/18/15, 15:15 , "Richard Levitte"  wrote:

>Did you apply the full patch?  The was a part for
>test/recipes/70-test_sslextension.t that should have had it generate
>debugging output...

Yes I’m sure I did. And I’m as surprised as you are to not see the
expected output from at least “Message.pm”…


In message  on Fri, 18 Sep 2015 16:18:53
+, "Blumenthal, Uri - 0553 - MITLL"  said:
>uri> Richard,
>uri> 
>uri> Thank you for your help! Unfortunately, the problem persists:
>uri> 
>uri> testing...
>uri> make[1]: Entering directory `/media/uri/Src/openssl/test'
>uri> make[2]: Entering directory `/media/uri/Src/openssl'
>uri> making all in apps...
>uri> make[3]: Entering directory `/media/uri/Src/openssl/apps'
>uri> make[3]: Nothing to be done for `all'.
>uri> make[3]: Leaving directory `/media/uri/Src/openssl/apps'
>uri> make[2]: Leaving directory `/media/uri/Src/openssl'
>uri> TOP=.. PERL=/usr/bin/perl /usr/bin/perl run_tests.pl alltests
>uri> ../test/recipes/00-check_testexes.t ... ok
>uri> ../test/recipes/05-test_bf.t .. ok
>uri> ../test/recipes/05-test_cast.t  ok
>uri> ../test/recipes/05-test_des.t . ok
>uri> ../test/recipes/05-test_hmac.t  ok
>uri> ../test/recipes/05-test_idea.t  ok
>uri> ../test/recipes/05-test_md2.t . ok
>uri> ../test/recipes/05-test_md4.t . ok
>uri> ../test/recipes/05-test_md5.t . ok
>uri> ../test/recipes/05-test_mdc2.t  ok
>uri> ../test/recipes/05-test_rand.t  ok
>uri> ../test/recipes/05-test_rc2.t . ok
>uri> ../test/recipes/05-test_rc4.t . ok
>uri> ../test/recipes/05-test_rc5.t . ok
>uri> ../test/recipes/05-test_rmd.t . ok
>uri> ../test/recipes/05-test_sha1.t  ok
>uri> ../test/recipes/05-test_sha256.t .. ok
>uri> ../test/recipes/05-test_sha512.t .. ok
>uri> ../test/recipes/05-test_wp.t .. ok
>uri> ../test/recipes/10-test_bn.t .. ok
>uri> ../test/recipes/10-test_exp.t . ok
>uri> ../test/recipes/15-test_dh.t .. ok
>uri> ../test/recipes/15-test_dsa.t . ok
>uri> ../test/recipes/15-test_ec.t .. ok
>uri> ../test/recipes/15-test_ecdh.t  ok
>uri> ../test/recipes/15-test_ecdsa.t ... ok
>uri> ../test/recipes/15-test_rsa.t . ok
>uri> ../test/recipes/20-test_enc.t . ok
>uri> ../test/recipes/25-test_crl.t . ok
>uri> ../test/recipes/25-test_gen.t . ok
>uri> ../test/recipes/25-test_pkcs7.t ... ok
>uri> ../test/recipes/25-test_req.t . ok
>uri> ../test/recipes/25-test_sid.t . ok
>uri> ../test/recipes/25-test_verify.t .. ok
>uri> ../test/recipes/25-test_x509.t  ok
>uri> ../test/recipes/30-test_engine.t .. ok
>uri> ../test/recipes/30-test_evp.t . ok
>uri> ../test/recipes/30-test_evp_extra.t ... ok
>uri> ../test/recipes/30-test_pbelu.t ... ok
>uri> ../test/recipes/40-test_rehash.t .. ok
>uri> ../test/recipes/70-test_clienthello.t . ok
>uri> ../test/recipes/70-test_packet.t .. ok
>uri> Use of uninitialized value within %message_type in concatenation (.)
>or
>uri> string at ../util/TLSProxy/Message.pm line 202, <> line 751.
>uri> Changed peer, but we still have fragment data
>uri> # Looks like your test exited with 255 before it could output
>anything.
>uri> ../test/recipes/70-test_sslextension.t 
>uri> Dubious, test returned 255 (wstat 65280, 0xff00)
>uri> Failed 1/1 subtests
>uri> Use of uninitialized value within %message_type in concatenation (.)
>or
>uri> string at ../util/TLSProxy/Message.pm line 202, <> line 751.
>uri> Changed peer, but we still have fragment data
>uri> # Looks like your test exited with 255 before it could output
>anything.
>uri> ../test/recipes/70-test_sslsessiontick.t ..
>uri> Dubious, test returned 255 (wstat 65280, 0xff00)
>uri> Failed 5/5 subtests
>uri> ../test/recipes/70-test_sslskewith0p.t  ok
>uri> Use of uninitialized value within %message_type in concatenation (.)
>or
>uri> string at ../util/TLSProxy/Message.pm line 202, <> line 751.
>uri> Changed peer, but we still have fragment data
>uri> # Looks like your test exited with 255 before it could output
>anything.
>uri> ../test/recipes/70-test_sslvertol.t ...
>uri> Dubious, test returned 255 (wstat 65280, 0xff00)
>uri> Failed 2/2 subtests
>uri> ../test/recipes/70-test_verify_extra.t  ok
>uri> ../test/recipes/80-test_ca.t .. ok
>uri> # Looks like you planned 11 tests but ran 20.
>uri> 
>uri> #   Failed test 'CMS <=> CMS consistency tests, modified key
>parameters
>uri> # '
>uri> #   at ../test/recipes/80-test_cms.t line 460.
>uri> # Looks like you failed 1 test of 4.
>uri> ../test/recipes/80-test_cms.t .
>uri> Dubious, test returned 1 (wstat 256, 0x100)
>uri> Failed 1/4 subtests
>uri> ../test/recipes/80-test_ocsp.t  ok
>uri> ../

Re: [openssl-dev] Some tests fail on the current/latest SNAP

2015-09-18 Thread Richard Levitte
Did you apply the full patch?  The was a part for
test/recipes/70-test_sslextension.t that should have had it generate
debugging output...

In message  on Fri, 18 Sep 2015 16:18:53 +, 
"Blumenthal, Uri - 0553 - MITLL"  said:

uri> Richard,
uri> 
uri> Thank you for your help! Unfortunately, the problem persists:
uri> 
uri> testing...
uri> make[1]: Entering directory `/media/uri/Src/openssl/test'
uri> make[2]: Entering directory `/media/uri/Src/openssl'
uri> making all in apps...
uri> make[3]: Entering directory `/media/uri/Src/openssl/apps'
uri> make[3]: Nothing to be done for `all'.
uri> make[3]: Leaving directory `/media/uri/Src/openssl/apps'
uri> make[2]: Leaving directory `/media/uri/Src/openssl'
uri> TOP=.. PERL=/usr/bin/perl /usr/bin/perl run_tests.pl alltests
uri> ../test/recipes/00-check_testexes.t ... ok
uri> ../test/recipes/05-test_bf.t .. ok
uri> ../test/recipes/05-test_cast.t  ok
uri> ../test/recipes/05-test_des.t . ok
uri> ../test/recipes/05-test_hmac.t  ok
uri> ../test/recipes/05-test_idea.t  ok
uri> ../test/recipes/05-test_md2.t . ok
uri> ../test/recipes/05-test_md4.t . ok
uri> ../test/recipes/05-test_md5.t . ok
uri> ../test/recipes/05-test_mdc2.t  ok
uri> ../test/recipes/05-test_rand.t  ok
uri> ../test/recipes/05-test_rc2.t . ok
uri> ../test/recipes/05-test_rc4.t . ok
uri> ../test/recipes/05-test_rc5.t . ok
uri> ../test/recipes/05-test_rmd.t . ok
uri> ../test/recipes/05-test_sha1.t  ok
uri> ../test/recipes/05-test_sha256.t .. ok
uri> ../test/recipes/05-test_sha512.t .. ok
uri> ../test/recipes/05-test_wp.t .. ok
uri> ../test/recipes/10-test_bn.t .. ok
uri> ../test/recipes/10-test_exp.t . ok
uri> ../test/recipes/15-test_dh.t .. ok
uri> ../test/recipes/15-test_dsa.t . ok
uri> ../test/recipes/15-test_ec.t .. ok
uri> ../test/recipes/15-test_ecdh.t  ok
uri> ../test/recipes/15-test_ecdsa.t ... ok
uri> ../test/recipes/15-test_rsa.t . ok
uri> ../test/recipes/20-test_enc.t . ok
uri> ../test/recipes/25-test_crl.t . ok
uri> ../test/recipes/25-test_gen.t . ok
uri> ../test/recipes/25-test_pkcs7.t ... ok
uri> ../test/recipes/25-test_req.t . ok
uri> ../test/recipes/25-test_sid.t . ok
uri> ../test/recipes/25-test_verify.t .. ok
uri> ../test/recipes/25-test_x509.t  ok
uri> ../test/recipes/30-test_engine.t .. ok
uri> ../test/recipes/30-test_evp.t . ok
uri> ../test/recipes/30-test_evp_extra.t ... ok
uri> ../test/recipes/30-test_pbelu.t ... ok
uri> ../test/recipes/40-test_rehash.t .. ok
uri> ../test/recipes/70-test_clienthello.t . ok
uri> ../test/recipes/70-test_packet.t .. ok
uri> Use of uninitialized value within %message_type in concatenation (.) or
uri> string at ../util/TLSProxy/Message.pm line 202, <> line 751.
uri> Changed peer, but we still have fragment data
uri> # Looks like your test exited with 255 before it could output anything.
uri> ../test/recipes/70-test_sslextension.t 
uri> Dubious, test returned 255 (wstat 65280, 0xff00)
uri> Failed 1/1 subtests
uri> Use of uninitialized value within %message_type in concatenation (.) or
uri> string at ../util/TLSProxy/Message.pm line 202, <> line 751.
uri> Changed peer, but we still have fragment data
uri> # Looks like your test exited with 255 before it could output anything.
uri> ../test/recipes/70-test_sslsessiontick.t ..
uri> Dubious, test returned 255 (wstat 65280, 0xff00)
uri> Failed 5/5 subtests
uri> ../test/recipes/70-test_sslskewith0p.t  ok
uri> Use of uninitialized value within %message_type in concatenation (.) or
uri> string at ../util/TLSProxy/Message.pm line 202, <> line 751.
uri> Changed peer, but we still have fragment data
uri> # Looks like your test exited with 255 before it could output anything.
uri> ../test/recipes/70-test_sslvertol.t ...
uri> Dubious, test returned 255 (wstat 65280, 0xff00)
uri> Failed 2/2 subtests
uri> ../test/recipes/70-test_verify_extra.t  ok
uri> ../test/recipes/80-test_ca.t .. ok
uri> # Looks like you planned 11 tests but ran 20.
uri> 
uri> #   Failed test 'CMS <=> CMS consistency tests, modified key parameters
uri> # '
uri> #   at ../test/recipes/80-test_cms.t line 460.
uri> # Looks like you failed 1 test of 4.
uri> ../test/recipes/80-test_cms.t .
uri> Dubious, test returned 1 (wstat 256, 0x100)
uri> Failed 1/4 subtests
uri> ../test/recipes/80-test_ocsp.t  ok
uri> ../test/recipes/80-test_ssl.t . ok
uri> ../test/recipes/80-test_tsa.t . ok
uri> ../test/recipes/90-test_constant_time.t ... ok
uri> ../test/recipes/90-test_gmdiff.t .. ok
uri> ../test/recipes/90-test_gost2814789.t . ok
uri> .

Re: [openssl-dev] [openssl.org #4033] Unable to build openssl git master branch on NetBSD for > 24 hours

2015-09-18 Thread yancm via RT
>>Ok, I'm having trouble reproducing
[...]
>>that should print an error message and the echo of $?
>>should print 1. I cannot understand why that fails for you...
>
> Maybe running test as root ?

YES!  It's a one user box that I regularly update and install on,
so rarely run as reduced/un-privileged user.

If I switch to non-root, this passes.

Sorry to take your bandwidth.

--gene


___
openssl-dev mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev


Re: [openssl-dev] [openssl.org #4033] Unable to build openssl git master branch on NetBSD for > 24 hours

2015-09-18 Thread yancm via RT
> Ok, I'm having trouble reproducing
>
> with the current source (I have assume you're pull is absolutely up to
> date),

Yes, to the best of my understanding I am fully in sync with the master
branch.

> that should print an error message and the echo of $?
> should print 1. I cannot understand why that fails for you...

Yes, this is odd since it returns *zero* if I execute this command string
- no error message...  maybe a problem with the test perl code?

Here's my output:
# mkdir rehash.$$ ; ( cd rehash.$$ ; chmod 0500 . ; ../util/shlib_wrap.sh
../apps/openssl rehash . ; echo $? ; chmod 0700 . ) ; rmdir rehash.$$
0
#

--gene


___
openssl-dev mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev


Re: [openssl-dev] [openssl.org #4033] Unable to build openssl git master branch on NetBSD for > 24 hours

2015-09-18 Thread Erik Forsberg via RT

>-- Original Message --
>
>Vid Fre, 18 Sep 2015 kl. 15.21.14, skrev ya...@sdf.org:
>> > jumping in here... could you show us the content of
>> > test/test_rehash.log ?
>> >
>> > In the mean time, I'll have a go on a FreeBSD system to see if I can
>> > trigger this fault.
>>
>> # more test_rehash.log
>> ../../util/shlib_wrap.sh ../../apps/openssl rehash . => 0
>> ../../util/shlib_wrap.sh ../../apps/openssl rehash . => 0
>> ../../util/shlib_wrap.sh ../../apps/openssl rehash . => 0
>> ../../util/shlib_wrap.sh ../../apps/openssl rehash . => 0
>> #
>
>Ok, I'm having trouble reproducing
>
>What that last test really does is the equivalent of this:
>
>mkdir rehash.$$; (cd rehash.$$; chmod 0500 . ; ../util/shlib_wrap.sh
>../apps/openssl rehash . ; echo $?; chmod 0700 . ); rmdir rehash.$$
>
>with the current source (I have assume you're pull is absolutely up to date),
>that should print an error message and the echo of $? should print 1. I cannot
>understand why that fails for you...

Maybe running test as root ?


___
openssl-dev mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev


Re: [openssl-dev] [openssl.org #4033] Unable to build openssl git master branch on NetBSD for > 24 hours

2015-09-18 Thread Erik Forsberg

>-- Original Message --
>
>Vid Fre, 18 Sep 2015 kl. 15.21.14, skrev ya...@sdf.org:
>> > jumping in here... could you show us the content of
>> > test/test_rehash.log ?
>> >
>> > In the mean time, I'll have a go on a FreeBSD system to see if I can
>> > trigger this fault.
>>
>> # more test_rehash.log
>> ../../util/shlib_wrap.sh ../../apps/openssl rehash . => 0
>> ../../util/shlib_wrap.sh ../../apps/openssl rehash . => 0
>> ../../util/shlib_wrap.sh ../../apps/openssl rehash . => 0
>> ../../util/shlib_wrap.sh ../../apps/openssl rehash . => 0
>> #
>
>Ok, I'm having trouble reproducing
>
>What that last test really does is the equivalent of this:
>
>mkdir rehash.$$; (cd rehash.$$; chmod 0500 . ; ../util/shlib_wrap.sh
>../apps/openssl rehash . ; echo $?; chmod 0700 . ); rmdir rehash.$$
>
>with the current source (I have assume you're pull is absolutely up to date),
>that should print an error message and the echo of $? should print 1. I cannot
>understand why that fails for you...

Maybe running test as root ?

___
openssl-dev mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev


[openssl-dev] [openssl.org #4033] Unable to build openssl git master branch on NetBSD for > 24 hours

2015-09-18 Thread Richard Levitte via RT
Vid Fre, 18 Sep 2015 kl. 15.21.14, skrev ya...@sdf.org:
> > jumping in here... could you show us the content of
> > test/test_rehash.log ?
> >
> > In the mean time, I'll have a go on a FreeBSD system to see if I can
> > trigger this fault.
>
> # more test_rehash.log
> ../../util/shlib_wrap.sh ../../apps/openssl rehash . => 0
> ../../util/shlib_wrap.sh ../../apps/openssl rehash . => 0
> ../../util/shlib_wrap.sh ../../apps/openssl rehash . => 0
> ../../util/shlib_wrap.sh ../../apps/openssl rehash . => 0
> #

Ok, I'm having trouble reproducing

What that last test really does is the equivalent of this:

mkdir rehash.$$; (cd rehash.$$; chmod 0500 . ; ../util/shlib_wrap.sh
../apps/openssl rehash . ; echo $?; chmod 0700 . ); rmdir rehash.$$

with the current source (I have assume you're pull is absolutely up to date),
that should print an error message and the echo of $? should print 1. I cannot
understand why that fails for you...

--
Richard Levitte
levi...@openssl.org

___
openssl-dev mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev


Re: [openssl-dev] Some tests fail on the current/latest SNAP

2015-09-18 Thread Blumenthal, Uri - 0553 - MITLL
Richard,

Thank you for your help! Unfortunately, the problem persists:

testing...
make[1]: Entering directory `/media/uri/Src/openssl/test'
make[2]: Entering directory `/media/uri/Src/openssl'
making all in apps...
make[3]: Entering directory `/media/uri/Src/openssl/apps'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/media/uri/Src/openssl/apps'
make[2]: Leaving directory `/media/uri/Src/openssl'
TOP=.. PERL=/usr/bin/perl /usr/bin/perl run_tests.pl alltests
../test/recipes/00-check_testexes.t ... ok
../test/recipes/05-test_bf.t .. ok
../test/recipes/05-test_cast.t  ok
../test/recipes/05-test_des.t . ok
../test/recipes/05-test_hmac.t  ok
../test/recipes/05-test_idea.t  ok
../test/recipes/05-test_md2.t . ok
../test/recipes/05-test_md4.t . ok
../test/recipes/05-test_md5.t . ok
../test/recipes/05-test_mdc2.t  ok
../test/recipes/05-test_rand.t  ok
../test/recipes/05-test_rc2.t . ok
../test/recipes/05-test_rc4.t . ok
../test/recipes/05-test_rc5.t . ok
../test/recipes/05-test_rmd.t . ok
../test/recipes/05-test_sha1.t  ok
../test/recipes/05-test_sha256.t .. ok
../test/recipes/05-test_sha512.t .. ok
../test/recipes/05-test_wp.t .. ok
../test/recipes/10-test_bn.t .. ok
../test/recipes/10-test_exp.t . ok
../test/recipes/15-test_dh.t .. ok
../test/recipes/15-test_dsa.t . ok
../test/recipes/15-test_ec.t .. ok
../test/recipes/15-test_ecdh.t  ok
../test/recipes/15-test_ecdsa.t ... ok
../test/recipes/15-test_rsa.t . ok
../test/recipes/20-test_enc.t . ok
../test/recipes/25-test_crl.t . ok
../test/recipes/25-test_gen.t . ok
../test/recipes/25-test_pkcs7.t ... ok
../test/recipes/25-test_req.t . ok
../test/recipes/25-test_sid.t . ok
../test/recipes/25-test_verify.t .. ok
../test/recipes/25-test_x509.t  ok
../test/recipes/30-test_engine.t .. ok
../test/recipes/30-test_evp.t . ok
../test/recipes/30-test_evp_extra.t ... ok
../test/recipes/30-test_pbelu.t ... ok
../test/recipes/40-test_rehash.t .. ok
../test/recipes/70-test_clienthello.t . ok
../test/recipes/70-test_packet.t .. ok
Use of uninitialized value within %message_type in concatenation (.) or
string at ../util/TLSProxy/Message.pm line 202, <> line 751.
Changed peer, but we still have fragment data
# Looks like your test exited with 255 before it could output anything.
../test/recipes/70-test_sslextension.t 
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 1/1 subtests
Use of uninitialized value within %message_type in concatenation (.) or
string at ../util/TLSProxy/Message.pm line 202, <> line 751.
Changed peer, but we still have fragment data
# Looks like your test exited with 255 before it could output anything.
../test/recipes/70-test_sslsessiontick.t ..
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 5/5 subtests
../test/recipes/70-test_sslskewith0p.t  ok
Use of uninitialized value within %message_type in concatenation (.) or
string at ../util/TLSProxy/Message.pm line 202, <> line 751.
Changed peer, but we still have fragment data
# Looks like your test exited with 255 before it could output anything.
../test/recipes/70-test_sslvertol.t ...
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 2/2 subtests
../test/recipes/70-test_verify_extra.t  ok
../test/recipes/80-test_ca.t .. ok
# Looks like you planned 11 tests but ran 20.

#   Failed test 'CMS <=> CMS consistency tests, modified key parameters
# '
#   at ../test/recipes/80-test_cms.t line 460.
# Looks like you failed 1 test of 4.
../test/recipes/80-test_cms.t .
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/4 subtests
../test/recipes/80-test_ocsp.t  ok
../test/recipes/80-test_ssl.t . ok
../test/recipes/80-test_tsa.t . ok
../test/recipes/90-test_constant_time.t ... ok
../test/recipes/90-test_gmdiff.t .. ok
../test/recipes/90-test_gost2814789.t . ok
../test/recipes/90-test_heartbeat.t ... ok
../test/recipes/90-test_ige.t . ok
../test/recipes/90-test_jpake.t ... ok
../test/recipes/90-test_np.t .. ok
../test/recipes/90-test_p5_crpt2.t  ok
../test/recipes/90-test_secmem.t .. ok
../test/recipes/90-test_srp.t . ok
../test/recipes/90-test_v3name.t .. ok

Test Summary Report
---
../test/recipes/70-test_sslextension.t  (Wstat: 65280 Tests: 0 Failed: 0)
  Non-zero exit status: 255
  Parse errors: Bad plan.  You planned 1 tests but ran 0.
../test/recipes/70-test_sslsessiontick.t (Wstat: 65280 Tests: 0 Failed: 0)
  Non-zero exit status: 255
  Parse errors: Bad plan. 

Re: [openssl-dev] [openssl.org #4033] Unable to build openssl git master branch on NetBSD for > 24 hours

2015-09-18 Thread yancm via RT
> jumping in here... could you show us the content of
> test/test_rehash.log ?
>
> In the mean time, I'll have a go on a FreeBSD system to see if I can
> trigger this fault.

# more test_rehash.log
../../util/shlib_wrap.sh ../../apps/openssl rehash . => 0
../../util/shlib_wrap.sh ../../apps/openssl rehash . => 0
../../util/shlib_wrap.sh ../../apps/openssl rehash . => 0
../../util/shlib_wrap.sh ../../apps/openssl rehash . => 0
#



___
openssl-dev mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev


[openssl-dev] [openssl.org #4033] Unable to build openssl git master branch on NetBSD for > 24 hours

2015-09-18 Thread Richard Levitte via RT
Hi,

jumping in here... could you show us the content of test/test_rehash.log ?

In the mean time, I'll have a go on a FreeBSD system to see if I can trigger
this fault.

Vid Fre, 18 Sep 2015 kl. 09.54.40, skrev ya...@sdf.org:
> On 2015-09-17 16:49, Salz, Rich via RT wrote:
> > Since email re-opens the ticket, let's use this one :)
> >
> > What's the output of this command:
> > HARNESS_VERBOSE=yes make 'TESTS=test_rehash' test
>
> # HARNESS_VERBOSE=yes make 'TESTS=test_rehash' test
> testing...
> making all in apps...
> TOP=.. PERL=/usr/pkg/bin/perl /usr/pkg/bin/perl run_tests.pl test_rehash
> ../test/recipes/40-test_rehash.t ..
> 1..4
> ok 1 - Testing normal rehash operations
> ok 2 - Testing rehash operations on readonly files
> ok 3 - Testing rehash operations on empty directory
> not ok 4 - Testing rehash operations on readonly directory
>
> # Failed test 'Testing rehash operations on readonly directory'
> # at ../test/recipes/40-test_rehash.t line 35.
> # got: '1'
> # expected: anything else
> # Looks like you failed 1 test of 4.
> Dubious, test returned 1 (wstat 256, 0x100)
> Failed 1/4 subtests
>
> Test Summary Report
> ---
> ../test/recipes/40-test_rehash.t (Wstat: 256 Tests: 4 Failed: 1)
> Failed test: 4
> Non-zero exit status: 1
> Files=1, Tests=4, 0 wallclock secs ( 0.08 usr 0.01 sys + 0.26 cusr
> 0.18 csys = 0.53 CPU)
> Result: FAIL
> Failed 1/1 test programs. 1/4 subtests failed.
> *** Error code 1
>
> Stop.
> make: stopped in /usr/local/src/openssl/test
> *** Error code 1
>
> Stop.
> make: stopped in /usr/local/src/openssl
>


--
Richard Levitte
levi...@openssl.org

___
openssl-dev mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev


[openssl-dev] [openssl.org #4053] [PATCH] Fix typo in prime.c error message

2015-09-18 Thread Michal Bozon via RT
s/Specifiy/Specify/

regards,
Michal Bozon

--- apps/prime.c.0
+++ apps/prime.c
@@ -121,7 +121,7 @@
 char *s;
 
 if (!bits) {
-BIO_printf(bio_err, "Specifiy the number of bits.\n");
+BIO_printf(bio_err, "Specify the number of bits.\n");
 goto end;
 }
 bn = BN_new();
___
openssl-bugs-mod mailing list
openssl-bugs-...@openssl.org
https://mta.openssl.org/mailman/listinfo/openssl-bugs-mod___
openssl-dev mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev


Re: [openssl-dev] [openssl.org #4033] Unable to build openssl git master branch on NetBSD for > 24 hours

2015-09-18 Thread yancm via RT
On 2015-09-17 16:49, Salz, Rich via RT wrote:
> Since email re-opens the ticket, let's use this one :)
> 
> What's the output of this command:
> HARNESS_VERBOSE=yes make 'TESTS=test_rehash' test

# HARNESS_VERBOSE=yes make 'TESTS=test_rehash' test
testing...
making all in apps...
TOP=.. PERL=/usr/pkg/bin/perl /usr/pkg/bin/perl run_tests.pl test_rehash
../test/recipes/40-test_rehash.t ..
1..4
ok 1 - Testing normal rehash operations
ok 2 - Testing rehash operations on readonly files
ok 3 - Testing rehash operations on empty directory
not ok 4 - Testing rehash operations on readonly directory

#   Failed test 'Testing rehash operations on readonly directory'
#   at ../test/recipes/40-test_rehash.t line 35.
#  got: '1'
# expected: anything else
# Looks like you failed 1 test of 4.
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/4 subtests

Test Summary Report
---
../test/recipes/40-test_rehash.t (Wstat: 256 Tests: 4 Failed: 1)
   Failed test:  4
   Non-zero exit status: 1
Files=1, Tests=4,  0 wallclock secs ( 0.08 usr  0.01 sys +  0.26 cusr  
0.18 csys =  0.53 CPU)
Result: FAIL
Failed 1/1 test programs. 1/4 subtests failed.
*** Error code 1

Stop.
make: stopped in /usr/local/src/openssl/test
*** Error code 1

Stop.
make: stopped in /usr/local/src/openssl


___
openssl-dev mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev