NetBSD Problem Report #57033

From gson@gson.org  Wed Sep 28 09:35:49 2022
Return-Path: <gson@gson.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))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 6AF481A921F
	for <gnats-bugs@gnats.NetBSD.org>; Wed, 28 Sep 2022 09:35:49 +0000 (UTC)
Message-Id: <20220928093543.84C6B2547A9@guava.gson.org>
Date: Wed, 28 Sep 2022 12:35:43 +0300 (EEST)
From: gson@gson.org (Andreas Gustafsson)
Reply-To: gson@gson.org (Andreas Gustafsson)
To: gnats-bugs@NetBSD.org
Subject: usr.bin/c++/t_call_once2:call_once2_profile test case fails
X-Send-Pr-Version: 3.95

>Number:         57033
>Category:       toolchain
>Synopsis:       usr.bin/c++/t_call_once2:call_once2_profile test case fails
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    toolchain-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Sep 28 09:40:00 +0000 2022
>Closed-Date:    Thu Sep 29 16:10:50 +0000 2022
>Last-Modified:  Thu Sep 29 16:10:50 +0000 2022
>Originator:     Andreas Gustafsson
>Release:        NetBSD-current, source date >= 2022.06.12.15.08.38
>Organization:

>Environment:
System: NetBSD
Architecture: i386
Machine: i386
>Description:

For the last few months, only a single test case has been consistently
failing in every run of the TNF i386 testbed.  This is the
call_once2_profile test case of the usr.bin/c++/t_call_once2 test,
which was previously marked as an "expected failure", but changed into
a plain (unexpected) failure with this commit:

  2022.06.12.15.08.38 skrll src/tests/usr.bin/c++/t_call_once.sh 1.6
  2022.06.12.15.08.38 skrll src/tests/usr.bin/c++/t_call_once2.sh 1.6
  2022.06.12.15.08.38 skrll src/tests/usr.bin/c++/t_cxxruntime.sh 1.7
  2022.06.12.15.08.38 skrll src/tests/usr.bin/c++/t_hello.sh 1.7
  2022.06.12.15.08.38 skrll src/tests/usr.bin/c++/t_pthread_once.sh 1.6
  2022.06.12.15.08.38 skrll src/tests/usr.bin/c++/t_static_destructor.sh 1.6
  2022.06.12.15.08.38 skrll src/tests/usr.bin/cc/t_hello.sh 1.12

Also, it previously failed quickly, but is now taking ten minutes to
fail, thereby significantly increasing the overall run time of the
tests.

It also fails on other architectures including amd64, and on real
hardware.

>How-To-Repeat:

Run the ATF tests.

>Fix:

>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->closed
State-Changed-By: gson@NetBSD.org
State-Changed-When: Thu, 29 Sep 2022 16:10:50 +0000
State-Changed-Why:
Fixed by skrll in src/tests/usr.bin/c++/t_call_once2.sh 1.8.  Thanks.


>Unformatted:

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-2022 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.