NetBSD Problem Report #55770

From gson@gson.org  Sat Oct 31 12:41:53 2020
Return-Path: <gson@gson.org>
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 6882E1A923D
	for <gnats-bugs@gnats.NetBSD.org>; Sat, 31 Oct 2020 12:41:53 +0000 (UTC)
Message-Id: <20201031124147.AF89F253EDE@guava.gson.org>
Date: Sat, 31 Oct 2020 14:41:47 +0200 (EET)
From: gson@gson.org (Andreas Gustafsson)
Reply-To: gson@gson.org (Andreas Gustafsson)
To: gnats-bugs@NetBSD.org
Subject: Some tsan tests fail randomly on real hardware
X-Send-Pr-Version: 3.95

>Number:         55770
>Category:       toolchain
>Synopsis:       Some tsan tests fail randomly on real hardware
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    toolchain-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Oct 31 12:45:00 +0000 2020
>Originator:     Andreas Gustafsson
>Release:        NetBSD-current
>Organization:
>Environment:
System: NetBSD
Architecture: x86_64
Machine: amd64
>Description:

In addition to the tsan test cases failing in every run on real amd64
hardware as reported in PR 55760, others are failing randomly.

The following have failed in the last 40 runs on my bare metal testbed:

X--XX-XXXX--X----X-XX--X-XX---X-----XX-X   usr.bin/c++/t_tsan_data_race:data_race
---X-X-XX-X---X--XX-X----XX---X-XX--X---   usr.bin/c++/t_tsan_data_race:data_race_pic
XXXXX-XX-XX-X-X-X---------------------X-   usr.bin/c++/t_tsan_data_race:data_race_pie
-----X----------------------------------   usr.bin/c++/t_tsan_vptr_race:vptr_race
-------------------------------------X-X   usr.bin/c++/t_tsan_vptr_race:vptr_race_pie
-----------------X----X------X------X---   usr.bin/cc/t_tsan_data_race:data_race
------------X---X-X---------------------   usr.bin/cc/t_tsan_data_race:data_race_pic
--X-------------------------------------   usr.bin/cc/t_tsan_data_race:data_race_pie

In the table to the left, each successful run is represented by "-",
and each failure by "X", with CVS time increasing towards the right.
Logs from the most recent run can be found at:

  http://www.gson.org/netbsd/bugs/build/amd64-baremetal/commits-2020.10.html#2020.10.30.22.03.35

>How-To-Repeat:

>Fix:

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.