NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bin/49141: lib/librumpclient/t_exec/threxec test randomly fails



The following reply was made to PR bin/49141; it has been noted by GNATS.

From: David Holland <dholland-bugs%netbsd.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: bin/49141: lib/librumpclient/t_exec/threxec test randomly fails
Date: Mon, 21 Nov 2016 06:37:09 +0000

 On Fri, Aug 22, 2014 at 02:40:00PM +0000, Andreas Gustafsson wrote:
  > The lib/librumpclient/t_exec/threxec test case has been randomly
  > failing ever since it was first created.  What happens is that the 
  > h_execthr program sometimes hangs until ATF times out and kills it.
 
 I tried running it outside of atf, as follows:
 
    % setenv RUMP_SERVER unix://csock
    % rump_server -lrumpnet -lrumpnet_net -lrumpnet_netinet -lrumpdev \
         -lrumpvfs $RUMP_SERVER
    % ./obj.amd64/h_execthr
 
 It fails during initialization unless you unlimit maxthread (since it
 creates a lot of threads)... after that it was hanging every time, in
 what turned out to be the rump_sys___sysctl() call in getproc() in
 h_execthr.c... for some inexplicable rump reason, as killing and
 restarting the rump_server made it start working. Now it runs
 reliably.
 
 I'm going to make it print what it's doing in the hopes that we can
 get a line on where it's hanging when it happens in a full test run.
 
 -- 
 David A. Holland
 dholland%netbsd.org@localhost
 


Home | Main Index | Thread Index | Old Index