NetBSD Problem Report #53631

From martin@duskware.de  Mon Sep 24 20:23:30 2018
Return-Path: <martin@duskware.de>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 96D3F7A16A
	for <gnats-bugs@gnats.NetBSD.org>; Mon, 24 Sep 2018 20:23:30 +0000 (UTC)
From: martin@NetBSD.org
Reply-To: martin@NetBSD.org
To: gnats-bugs@NetBSD.org
Subject: openssl test failures on arm
X-Send-Pr-Version: 3.95

>Number:         53631
>Category:       lib
>Synopsis:       openssl test failures on arm
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    lib-bug-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Sep 24 20:25:00 +0000 2018
>Closed-Date:    Fri Nov 05 18:31:06 +0000 2021
>Last-Modified:  Fri Nov 05 18:31:06 +0000 2021
>Originator:     Martin Husemann
>Release:        NetBSD 8.99.25
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD space-truckin.duskware.de 8.99.25 NetBSD 8.99.25 (SUNXI) #69: Mon Sep 24 15:56:45 CEST 2018 martin@night-owl.duskware.de:/usr/src/sys/arch/evbarm/compile/SUNXI evbarm
Architecture: earmv7hfeb
Machine: evbarm
>Description:

After the openssl update, lots of libcrypto tests fail:

crypto/libcrypto/t_hashes (677/760): 6 test cases
    hmac: [0.837220s] Passed.
    md2: [0.681949s] Passed.
    md4: [0.557451s] Failed: atf-check failed; see the output of the test for details
    md5: [0.567451s] Failed: atf-check failed; see the output of the test for details
    mdc2: [0.717054s] Passed.
    ripemd: [0.557522s] Failed: atf-check failed; see the output of the test for details
[3.943501s]

crypto/libcrypto/t_libcrypto (678/760): 5 test cases
    bn: [81.867298s] Passed.
    conf: [0.796839s] Passed.
    engine: [0.849213s] Passed.
    rand: [0.577380s] Failed: atf-check failed; see the output of the test for details
    threads: [0.821741s] Passed.
[84.943126s]

This is partly due to what appears to be incompatible command line parsing
changes or something:

tc-so:ok 3 - test_thread_local
tc-so:# Warning ignored command-line argument 0: -cert
tc-so:# Warning ignored command-line argument 1: /usr/tests/crypto/libcrypto/d_server.pem
tc-so:# Warning ignored command-line argument 2: -ccert
tc-so:# Warning ignored command-line argument 3: /usr/tests/crypto/libcrypto/d_client.pem

and partly due to makefile issues:

tc-se:stderr:
tc-se:execvp(/usr/tests/crypto/libcrypto/h_md4test) failed: No such file or directory


>How-To-Repeat:

 cd /usr/tests/crypto/libcrypot
 atf-run

>Fix:
n/a

>Release-Note:

>Audit-Trail:
From: christos@zoulas.com (Christos Zoulas)
To: gnats-bugs@NetBSD.org, lib-bug-people@netbsd.org, 
	gnats-admin@netbsd.org, netbsd-bugs@netbsd.org
Cc: 
Subject: Re: lib/53631: openssl test failures on arm
Date: Mon, 24 Sep 2018 17:15:28 -0400

 On Sep 24,  8:25pm, martin@NetBSD.org (martin@NetBSD.org) wrote:
 -- Subject: lib/53631: openssl test failures on arm

 | >Number:         53631
 | >Category:       lib
 | >Synopsis:       openssl test failures on arm
 | >Confidential:   no
 | >Severity:       critical
 | >Priority:       high
 | >Responsible:    lib-bug-people
 | >State:          open
 | >Class:          sw-bug
 | >Submitter-Id:   net
 | >Arrival-Date:   Mon Sep 24 20:25:00 +0000 2018
 | >Originator:     Martin Husemann
 | >Release:        NetBSD 8.99.25
 | >Organization:
 | The NetBSD Foundation, Inc.
 | >Environment:
 | System: NetBSD space-truckin.duskware.de 8.99.25 NetBSD 8.99.25 (SUNXI) #69: Mon Sep 24 15:56:45 CEST 2018 martin@night-owl.duskware.de:/usr/src/sys/arch/evbarm/compile/SUNXI evbarm
 | Architecture: earmv7hfeb
 | Machine: evbarm
 | >Description:
 | 
 | After the openssl update, lots of libcrypto tests fail:
 | 
 | crypto/libcrypto/t_hashes (677/760): 6 test cases
 |     hmac: [0.837220s] Passed.
 |     md2: [0.681949s] Passed.
 |     md4: [0.557451s] Failed: atf-check failed; see the output of the test for details
 |     md5: [0.567451s] Failed: atf-check failed; see the output of the test for details
 |     mdc2: [0.717054s] Passed.
 |     ripemd: [0.557522s] Failed: atf-check failed; see the output of the test for details
 | [3.943501s]
 | 
 | crypto/libcrypto/t_libcrypto (678/760): 5 test cases
 |     bn: [81.867298s] Passed.
 |     conf: [0.796839s] Passed.
 |     engine: [0.849213s] Passed.
 |     rand: [0.577380s] Failed: atf-check failed; see the output of the test for details
 |     threads: [0.821741s] Passed.
 | [84.943126s]
 | 
 | This is partly due to what appears to be incompatible command line parsing
 | changes or something:

 These tests have been removed since the code has been removed for those
 hash functions for security reasons..

 christos

State-Changed-From-To: open->closed
State-Changed-By: martin@NetBSD.org
State-Changed-When: Fri, 05 Nov 2021 18:31:06 +0000
State-Changed-Why:
Tests gone, nothing to see here


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.