Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[openssl-dev] [openssl.org #4584] Self test failures under X32

198 views
Skip to first unread message

noloader@gmail.com via RT

unread,
Jun 23, 2016, 7:10:40 AM6/23/16
to
I'm working on a Debian X32 system (http://wiki.debian.org/X32Port),
and working from HEAD:

# git rev-parse HEAD
b58614d7f5f98571b2c0bb2fb3df48f4b48a7e92

Running 'make test' under a machine configured with './Configure
linux-x32 enable-ec_nistp_64_gcc_128' results in two failed self
tests:

make[1]: Leaving directory '/openssl'
( cd test; \
SRCTOP=../. \
BLDTOP=../. \
PERL="perl" \
EXE_EXT= \
OPENSSL_ENGINES=.././engines \
perl .././test/run_tests.pl )
../test/recipes/01-test_abort.t ............ ok
../test/recipes/01-test_ordinals.t ......... ok
../test/recipes/01-test_symbol_presence.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 .............. skipped: md2 is not
supported by this OpenSSL build
../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 .............. skipped: rc5 is not
supported by this OpenSSL build
../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_d2i.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_afalg.t ............ 1/1
# Failed test 'running afalgtest'
# at ../test/recipes/30-test_afalg.t line 23.
# Looks like you failed 1 test of 1.
../test/recipes/30-test_afalg.t ............ Dubious, test returned 1
(wstat 256, 0x100)
Failed 1/1 subtests
../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 ........... 1/5
# Failed test 'Testing that we aren't running as a privileged user,
such as root'
# at ../test/recipes/40-test_rehash.t line 49.
# Looks like you failed 1 test of 5.
../test/recipes/40-test_rehash.t ........... Dubious, test returned 1
(wstat 256, 0x100)
Failed 1/5 subtests
(less 1 skipped subtest: 3 okay)
../test/recipes/70-test_asyncio.t .......... ok
../test/recipes/70-test_clienthello.t ...... ok
../test/recipes/70-test_packet.t ........... ok
../test/recipes/70-test_sslcertstatus.t .... ok
../test/recipes/70-test_sslextension.t ..... ok
../test/recipes/70-test_sslrecords.t ....... ok
../test/recipes/70-test_sslsessiontick.t ... ok
../test/recipes/70-test_sslskewith0p.t ..... ok
../test/recipes/70-test_sslvertol.t ........ ok
../test/recipes/70-test_tlsextms.t ......... ok
../test/recipes/70-test_verify_extra.t ..... ok
../test/recipes/80-test_ca.t ............... ok
../test/recipes/80-test_cipherlist.t ....... ok
../test/recipes/80-test_cms.t .............. ok
../test/recipes/80-test_ct.t ............... ok
../test/recipes/80-test_dane.t ............. ok
../test/recipes/80-test_dtlsv1listen.t ..... ok
../test/recipes/80-test_ocsp.t ............. ok
../test/recipes/80-test_ssl_new.t .......... ok
../test/recipes/80-test_ssl_old.t .......... ok
../test/recipes/80-test_ssl_test_ctx.t ..... ok
../test/recipes/80-test_tsa.t .............. ok
../test/recipes/80-test_x509aux.t .......... ok
../test/recipes/90-test_async.t ............ ok
../test/recipes/90-test_bioprint.t ......... ok
../test/recipes/90-test_constant_time.t .... ok
../test/recipes/90-test_gmdiff.t ........... ok
../test/recipes/90-test_heartbeat.t ........ skipped: heartbeats is
not supported by this OpenSSL build
../test/recipes/90-test_ige.t .............. ok
../test/recipes/90-test_memleak.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_sslapi.t ........... ok
../test/recipes/90-test_threads.t .......... ok
../test/recipes/90-test_v3name.t ........... ok
Test Summary Report
-------------------
../test/recipes/30-test_afalg.t (Wstat: 256 Tests: 1 Failed: 1)
Failed test: 1
Non-zero exit status: 1
../test/recipes/40-test_rehash.t (Wstat: 256 Tests: 5 Failed: 1)
Failed test: 4
Non-zero exit status: 1
Files=80, Tests=422, 44 wallclock secs ( 0.34 usr 0.11 sys + 25.08
cusr 2.64 csys = 28.17 CPU)
Result: FAIL
Failed 2/80 test programs. 2/422 subtests failed.
Makefile:130: recipe for target 'tests' failed
make: *** [tests] Error 255


--
Ticket here: http://rt.openssl.org/Ticket/Display.html?id=4584
Please log in as guest with password guest if prompted

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

Richard Levitte via RT

unread,
Jul 19, 2016, 9:41:58 AM7/19/16
to
Hi Jeff,

I'm going to assume that a newer checkout of the master branch won't change
much, so if you please, try this command and send mack the result:

make test TESTS='test_afalg test_rehash'

Cheers,
Richard
Richard Levitte
lev...@openssl.org

Matt Caswell

unread,
Jul 19, 2016, 10:01:38 AM7/19/16
to


On 19/07/16 14:41, Richard Levitte via RT wrote:
> Hi Jeff,
>
> I'm going to assume that a newer checkout of the master branch won't change
> much, so if you please, try this command and send mack the result:

Who is Mack? ;-)

>
> make test TESTS='test_afalg test_rehash'

Did you mean to include "VERBOSE=1"?

VERBOSE=1 make TESTS='test_afalg test_rehash' test

Matt

Matt Caswell via RT

unread,
Jul 19, 2016, 10:02:07 AM7/19/16
to
Ticket here: http://rt.openssl.org/Ticket/Display.html?id=4584
Please log in as guest with password guest if prompted

Richard Levitte via RT

unread,
Jul 19, 2016, 10:11:58 AM7/19/16
to
On Tue Jul 19 14:01:17 2016, matt wrote:
>
>
> On 19/07/16 14:41, Richard Levitte via RT wrote:
> > Hi Jeff,
> >
> > I'm going to assume that a newer checkout of the master branch won't
> > change
> > much, so if you please, try this command and send mack the result:
>
> Who is Mack? ;-)

Mack is back ;-)

> > make test TESTS='test_afalg test_rehash'
>
> Did you mean to include "VERBOSE=1"?
>
> VERBOSE=1 make TESTS='test_afalg test_rehash' test

Ah, yes, of course...

Cheers,
Richard

Matt Caswell via RT

unread,
Jul 25, 2016, 4:50:01 AM7/25/16
to
Ping Jeff?

Matt Caswell via RT

unread,
Aug 1, 2016, 12:50:41 PM8/1/16
to
On Mon Jul 25 08:49:27 2016, matt wrote:
> Ping Jeff?

Ping again?

Matt

Richard Levitte via RT

unread,
Aug 1, 2016, 12:53:41 PM8/1/16
to
On Mon Aug 01 16:50:21 2016, matt wrote:
> On Mon Jul 25 08:49:27 2016, matt wrote:
> > Ping Jeff?
>
> Ping again?
>
> Matt

It's worth mentioning that time is getting short, next beta in a few days, final in 3 weeks.

--
Richard Levitte
lev...@openssl.org

noloader@gmail.com via RT

unread,
Aug 1, 2016, 8:27:10 PM8/1/16
to
On Tue, Jul 19, 2016 at 10:01 AM, Matt Caswell <ma...@openssl.org> wrote:
>
>
> On 19/07/16 14:41, Richard Levitte via RT wrote:
>> Hi Jeff,
>>
>> I'm going to assume that a newer checkout of the master branch won't change
>> much, so if you please, try this command and send mack the result:
>
> Who is Mack? ;-)
>
>>
>> make test TESTS='test_afalg test_rehash'
>
> Did you mean to include "VERBOSE=1"?
>
> VERBOSE=1 make TESTS='test_afalg test_rehash' test

The tests run as root because its a Debian Chroot, I did not bother
with rehash because it would fail.

Here is the result from afalg:

# VERBOSE=1 make TESTS='test_afalg' test
make depend && make _tests
make[1]: Entering directory '/openssl'
make[1]: Leaving directory '/openssl'
make[1]: Entering directory '/openssl'
( cd test; \
SRCTOP=../. \
BLDTOP=../. \
PERL="perl" \
EXE_EXT= \
OPENSSL_ENGINES=.././engines \
perl .././test/run_tests.pl test_afalg )
../test/recipes/30-test_afalg.t ..
1..1
ALG_PERR: afalg_fin_cipher_aio: io_read failed : Bad address
test_afalg_aes_128_cbc() failed encryption
../util/shlib_wrap.sh ./afalgtest => 1
not ok 1 - running afalgtest

# Failed test 'running afalgtest'
# at ../test/recipes/30-test_afalg.t line 23.
# Looks like you failed 1 test of 1.
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests

Test Summary Report
-------------------
../test/recipes/30-test_afalg.t (Wstat: 256 Tests: 1 Failed: 1)
Failed test: 1
Non-zero exit status: 1
Files=1, Tests=1, 0 wallclock secs ( 0.02 usr 0.01 sys + 0.03 cusr
0.00 csys = 0.06 CPU)
Result: FAIL
Failed 1/1 test programs. 1/1 subtests failed.
Makefile:148: recipe for target '_tests' failed
make[1]: *** [_tests] Error 1
make[1]: Leaving directory '/openssl'
Makefile:146: recipe for target 'tests' failed
make: *** [tests] Error 2


Matt Caswell via RT

unread,
Aug 3, 2016, 10:33:22 AM8/3/16
to
Hmmm. I'm thinking there is perhaps some alignment issue in the aio_read
call? In any case I think pushing this out to beyond 1.1.0 might be
appropriate.

Matt
0 new messages