NetBSD Problem Report #59311

From www@netbsd.org  Thu Apr 17 13:26:07 2025
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits)
	 client-signature RSA-PSS (2048 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id E2A261A9239
	for <gnats-bugs@gnats.NetBSD.org>; Thu, 17 Apr 2025 13:26:06 +0000 (UTC)
Message-Id: <20250417132605.ED3EB1A923D@mollari.NetBSD.org>
Date: Thu, 17 Apr 2025 13:26:05 +0000 (UTC)
From: campbell+netbsd@mumble.net
Reply-To: campbell+netbsd@mumble.net
To: gnats-bugs@NetBSD.org
Subject: t_opencrypto:ioctl test is failing
X-Send-Pr-Version: www-1.0

>Number:         59311
>Category:       port-sparc
>Synopsis:       t_opencrypto:ioctl test is failing
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-sparc-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Apr 17 13:30:00 +0000 2025
>Last-Modified:  Fri Apr 18 23:40:01 +0000 2025
>Originator:     Taylor R Campbell
>Release:        current
>Organization:
The OpenSPARCRYPTO32 Foundation
>Environment:
>Description:
The test crypto/opencrypto/t_opencrypto:ioctl is failing -- but no other tests in the t_opencrypto program:

Test case: crypto/opencrypto/t_opencrypto/ioctl

Duration: 0.833187 seconds
Termination reason

FAILED: h_ioctl returned non-zero status, check output/error
Standard output stream

kern.cryptodevallowsoft: 1 -> -1

Standard error stream

h_ioctl: failed: kern.userasymcrypto=1: No such file or directory
h_ioctl: test_asymfeat: No such file or directory

https://releng.netbsd.org/b5reports/sparc/2025/2025.04.16.12.05.52/test.html#crypto_opencrypto_t_opencrypto_ioctl
>How-To-Repeat:
cd /usr/tests/crypto/opencrypto
atf-run t_opencrypto:ioctl | atf-report
>Fix:
Yes, please!

>Audit-Trail:
From: "Taylor R Campbell" <riastradh@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/59311 CVS commit: src/tests/crypto/opencrypto
Date: Thu, 17 Apr 2025 13:46:02 +0000

 Module Name:	src
 Committed By:	riastradh
 Date:		Thu Apr 17 13:46:02 UTC 2025

 Modified Files:
 	src/tests/crypto/opencrypto: t_opencrypto.sh

 Log Message:
 t_opencrypto: Mark ioctl test xfail on sparc.

 PR port-sparc/59311: t_opencrypto:ioctl test is failing


 To generate a diff of this commit:
 cvs rdiff -u -r1.9 -r1.10 src/tests/crypto/opencrypto/t_opencrypto.sh

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

From: "Taylor R Campbell" <riastradh@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/59311 CVS commit: src/tests/crypto/opencrypto
Date: Fri, 18 Apr 2025 23:35:31 +0000

 Module Name:	src
 Committed By:	riastradh
 Date:		Fri Apr 18 23:35:31 UTC 2025

 Modified Files:
 	src/tests/crypto/opencrypto: t_opencrypto.sh

 Log Message:
 t_opencrypto: Fix thinko in previous xfail.

 atf_tc_expect_fail is for C; atf_expect_fail is for sh.

 PR port-sparc/59311: t_opencrypto:ioctl test is failing


 To generate a diff of this commit:
 cvs rdiff -u -r1.10 -r1.11 src/tests/crypto/opencrypto/t_opencrypto.sh

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

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2025 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.