NetBSD Problem Report #47685

From martin@duskware.de  Fri Mar 22 14:29:46 2013
Return-Path: <martin@duskware.de>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	by www.NetBSD.org (Postfix) with ESMTP id 25D9D63E9B6
	for <gnats-bugs@gnats.NetBSD.org>; Fri, 22 Mar 2013 14:29:46 +0000 (UTC)
From: martin@NetBSD.org
Reply-To: martin@NetBSD.org
To: gnats-bugs@NetBSD.org
Subject: atf test fails to timeout
X-Send-Pr-Version: 3.95

>Number:         47685
>Category:       bin
>Synopsis:       atf test fails to timeout
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Mar 22 14:30:01 +0000 2013
>Last-Modified:  Mon May 27 12:40:00 +0000 2013
>Originator:     Martin Husemann
>Release:        NetBSD 6.99.18
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD thirdstage.duskware.de 6.99.18 NetBSD 6.99.18 (MODULAR) #65: Fri Mar 22 13:30:04 CET 2013 martin@night-porter.duskware.de:/usr/src/sys/arch/sparc64/compile/MODULAR sparc64
Architecture: sparc64
Machine: sparc64
>Description:

Todays test run on SMP sparc64 hardware does not complete.

lib/libc/sys/t_pipe (227/561): 1 test cases
    pipe_restart: [2.037220s] Passed.
[2.038290s]

lib/libc/sys/t_pipe2 (228/561): 6 test cases
    pipe2_basic: [0.013814s] Passed.
    pipe2_cloexec: [0.012803s] Passed.
    pipe2_consume: 

and then it hangs there indefinitely.

However, ps tells me the test program is gone - partly:

 5955 ?      Z    0:00.00 (t_pipe2)


>How-To-Repeat:
Dunno if it is repeatable yet.

>Fix:
n/a

>Audit-Trail:
From: Martin Husemann <martin@duskware.de>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: bin/47685: atf test fails to timeout
Date: Mon, 27 May 2013 14:38:05 +0200

 I caught it in the act again - t_pipe2 was exiting already, but atf-run
 did not collect it, but instead blocked here:

 #0  0x000000000011de50 in atf::atf_run::muxer::read_one(unsigned long, int, std::string&, bool) ()
 #1  0x000000000011e25c in atf::atf_run::muxer::flush() ()
 #2  0x0000000000129a38 in atf::atf_run::run_test_case(atf::fs::path const&, std::string const&, std::string const&, std::map<std::string, std::string, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&, std::map<std::string, std::string, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&, atf::fs::path const&, atf::fs::path const&, atf::atf_run::atf_tps_writer&) ()
 #3  0x000000000010ba98 in atf_run::run_test_program(atf::fs::path const&, atf::atf_run::atf_tps_writer&, std::map<std::string, std::string, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&) ()
 #4  0x000000000010dab4 in atf_run::run_test(atf::fs::path const&, atf::atf_run::atf_tps_writer&, std::map<std::string, std::string, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&) ()
 #5  0x000000000010e7e8 in atf_run::run_test_directory(atf::fs::path const&, atf::atf_run::atf_tps_writer&) ()
 #6  0x000000000010dae8 in atf_run::run_test(atf::fs::path const&, atf::atf_run::atf_tps_writer&, std::map<std::string, std::string, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&) ()
 #7  0x000000000010e7e8 in atf_run::run_test_directory(atf::fs::path const&, atf::atf_run::atf_tps_writer&) ()
 #8  0x000000000010dae8 in atf_run::run_test(atf::fs::path const&, atf::atf_run::atf_tps_writer&, std::map<std::string, std::string, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&) ()
 #9  0x000000000010e7e8 in atf_run::run_test_directory(atf::fs::path const&, atf::atf_run::atf_tps_writer&) ()
 #10 0x000000000010dae8 in atf_run::run_test(atf::fs::path const&, atf::atf_run::atf_tps_writer&, std::map<std::string, std::string, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&) ()
 #11 0x000000000010df0c in atf_run::main() ()
 #12 0x000000004052c9b0 in atf::application::app::run(int, char* const*) ()
    from /usr/lib/libatf-c++.so.0
 #13 0x0000000000107ea0 in main ()

 Martin

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.