NetBSD Problem Report #53044

From martin@duskware.de  Wed Feb 21 15:24:43 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 88BC37A104
	for <gnats-bugs@gnats.NetBSD.org>; Wed, 21 Feb 2018 15:24:43 +0000 (UTC)
From: martin@NetBSD.org
Reply-To: martin@NetBSD.org
To: gnats-bugs@NetBSD.org
Subject: libcrypto tests failing due to missing helpers
X-Send-Pr-Version: 3.95

>Number:         53044
>Category:       lib
>Synopsis:       libcrypto tests failing due to missing helpers
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    lib-bug-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Feb 21 15:25:00 +0000 2018
>Closed-Date:    Thu Feb 22 14:26:34 +0000 2018
>Last-Modified:  Thu Feb 22 14:55:01 +0000 2018
>Originator:     Martin Husemann
>Release:        NetBSD 8.99.12
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD thirdstage.duskware.de 8.99.12 NetBSD 8.99.12 (MODULAR) #65: Wed Feb 21 07:02:47 CET 2018 martin@thirdstage.duskware.de:/usr/src/sys/arch/sparc64/compile/MODULAR sparc64
Architecture: sparc64
Machine: sparc64
>Description:

With openssl 1.1 the following tests fail:

Failed test cases:
    crypto/libcrypto/t_certs:x509v3, crypto/libcrypto/t_hashes:sha, crypto/libcrypto/t_libcrypto:lhash


due to missing helper programs:

tc-se:sh: /usr/tests/crypto/libcrypto/h_lhashtest: not found
tc-se:execvp(/usr/tests/crypto/libcrypto/h_shatest) failed: No such file or directory
tc-se:execvp(/usr/tests/crypto/libcrypto/h_x509v3test) failed: No such file or directory



>How-To-Repeat:

cd tests/crypto/libcrypto
atf-run 

>Fix:
n/a

>Release-Note:

>Audit-Trail:
From: Martin Husemann <martin@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: lib/53044: libcrypto tests failing due to missing helpers
Date: Thu, 22 Feb 2018 12:03:54 +0000

 These tests are missing in openssl 1.1.x and the subdirs are not
 visited for these builds:

 .if ${HAVE_OPENSSL} == 10
   SUBDIR += lhash sha x509v3
 .endif

 We need to conditionalize the tests with the openssl version or just
 skip them silently if the helpers are missing.

 Martin

From: "Martin Husemann" <martin@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/53044 CVS commit: src
Date: Thu, 22 Feb 2018 14:24:03 +0000

 Module Name:	src
 Committed By:	martin
 Date:		Thu Feb 22 14:24:03 UTC 2018

 Modified Files:
 	src/distrib/sets/lists/tests: mi
 	src/tests/crypto/libcrypto: Makefile t_hashes.sh t_libcrypto.sh

 Log Message:
 PR lib/53044: remove tests not provided by OpenSSL 1.1.x


 To generate a diff of this commit:
 cvs rdiff -u -r1.774 -r1.775 src/distrib/sets/lists/tests/mi
 cvs rdiff -u -r1.12 -r1.13 src/tests/crypto/libcrypto/Makefile
 cvs rdiff -u -r1.2 -r1.3 src/tests/crypto/libcrypto/t_hashes.sh
 cvs rdiff -u -r1.4 -r1.5 src/tests/crypto/libcrypto/t_libcrypto.sh

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->closed
State-Changed-By: martin@NetBSD.org
State-Changed-When: Thu, 22 Feb 2018 14:26:34 +0000
State-Changed-Why:
Fixed


From: christos@zoulas.com (Christos Zoulas)
To: gnats-bugs@NetBSD.org, lib-bug-people@netbsd.org, 
	gnats-admin@netbsd.org, netbsd-bugs@netbsd.org, martin@NetBSD.org
Cc: 
Subject: Re: PR/53044 CVS commit: src
Date: Thu, 22 Feb 2018 09:54:04 -0500

 On Feb 22,  2:25pm, martin@netbsd.org ("Martin Husemann") wrote:
 -- Subject: PR/53044 CVS commit: src

 | The following reply was made to PR lib/53044; it has been noted by GNATS.
 | 
 | From: "Martin Husemann" <martin@netbsd.org>
 | To: gnats-bugs@gnats.NetBSD.org
 | Cc: 
 | Subject: PR/53044 CVS commit: src
 | Date: Thu, 22 Feb 2018 14:24:03 +0000
 | 
 |  Module Name:	src
 |  Committed By:	martin
 |  Date:		Thu Feb 22 14:24:03 UTC 2018
 |  
 |  Modified Files:
 |  	src/distrib/sets/lists/tests: mi
 |  	src/tests/crypto/libcrypto: Makefile t_hashes.sh t_libcrypto.sh
 |  
 |  Log Message:
 |  PR lib/53044: remove tests not provided by OpenSSL 1.1.x

 Thanks.

 christos

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.