NetBSD Problem Report #55178
From gson@gson.org Wed Apr 15 07:16:18 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 32D971A9219
for <gnats-bugs@gnats.NetBSD.org>; Wed, 15 Apr 2020 07:16:18 +0000 (UTC)
Message-Id: <20200415071613.57196253F8C@guava.gson.org>
Date: Wed, 15 Apr 2020 10:16:13 +0300 (EEST)
From: gson@gson.org (Andreas Gustafsson)
Reply-To: gson@gson.org (Andreas Gustafsson)
To: gnats-bugs@NetBSD.org
Subject: kernel/t_pty:pty_queue test case fails
X-Send-Pr-Version: 3.95
>Number: 55178
>Category: kern
>Synopsis: kernel/t_pty:pty_queue test case fails
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: kern-bug-people
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Apr 15 07:20:00 +0000 2020
>Closed-Date: Mon Aug 17 07:58:14 +0000 2020
>Last-Modified: Mon Aug 17 07:58:14 +0000 2020
>Originator: Andreas Gustafsson
>Release: NetBSD-current, source date >= 2020.04.05.00.36.25
>Organization:
>Environment:
System: NetBSD
Architecture: i386
Machine: i386
>Description:
The kernel/t_pty:pty_queue test case is currently failing on the
qemu-based TNF i386 testbed:
http://releng.netbsd.org/b5reports/i386/2020/2020.04.14.05.43.57/test.html#kernel_t_pty_pty_queue
Like the file system test failures of PR 55146, this started during
the period of build breakage that ended with
2020.04.05.00.36.25 christos src/etc/Makefile 1.443
but unlike those, this one is still failing.
It also fails on amd64 under "qemu -accel nvmm":
http://www.gson.org/netbsd/bugs/build/amd64/2020/2020.04.12.12.13.52/test.html#kernel_t_pty_pty_queue
I have not seen it fail on real hardware.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
From: Andreas Gustafsson <gson@gson.org>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: kern/55178: kernel/t_pty:pty_queue test case fails
Date: Sat, 9 May 2020 18:18:29 +0300
In the PR, I said:
> I have not seen it fail on real hardware.
Now I have, thanks to Martin's testbeds:
http://www.netbsd.org/~martin/evbarm-atf/306_atf.html#kernel_t_pty_pty_queue
http://www.netbsd.org/~martin/landisk-atf/42_atf.html#kernel_t_pty_pty_queue
--
Andreas Gustafsson, gson@gson.org
From: Andreas Gustafsson <gson@gson.org>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: kern/55178: kernel/t_pty:pty_queue test case fails
Date: Mon, 17 Aug 2020 10:45:56 +0300
The test is no longer failing since this commit:
2020.06.24.06.15.40 rin src/tests/kernel/t_pty.c 1.4
Fix random failures for pty_queue test.
Setting queue size by TIOCSQSIZE ioctl does not guarantee that data of
that size can be read by single shot of read(2).
Remove assertion based on this assertion, while total amount of data
read from child process is still checked appropriately.
--
Andreas Gustafsson, gson@gson.org
State-Changed-From-To: open->closed
State-Changed-By: gson@NetBSD.org
State-Changed-When: Mon, 17 Aug 2020 07:58:14 +0000
State-Changed-Why:
Test no longer fails.
>Unformatted:
(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.