NetBSD-Bugs archive

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

Re: kern/53884: fs/vfs/t_rmdirrace:lfs_race test case fails randomly on real hardware



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

From: Andreas Gustafsson <gson%gson.org@localhost>
To: Martin Husemann <martin%duskware.de@localhost>, dholland%NetBSD.org@localhost
Cc: gnats-bugs%NetBSD.org@localhost
Subject: Re: kern/53884: fs/vfs/t_rmdirrace:lfs_race test case fails randomly
 on real hardware
Date: Fri, 18 Jan 2019 18:41:33 +0200

 Martin wrote:
 >  But I am confused: are we talking about a cleaner process inside rump,
 >  and would the host ps show that?
 
 Good question.  I had a look at the code, and apparently the test is running
 entirely within the rump kernel process and creating a cleaner thread rather
 than a cleaner process, so it would not show up in the host ps.
 See lfs_fstest_mount() and cleaner() in src/tests/fs/common/fstest_lfs.c.
 
 I also managed to reproduce the failure on 8.0 by manually running just the
 t_rmdirrace test program rather than the full ATF test suite, as in
 
  cd /usr/tests/fs/vfs
  atf-run t_rmdirrace | tee /tmp/log.tps | atf-report
 
 It failed on the 3rd or 4th run.
 
 I also tried
 
   cd /usr/tests/fs/vfs
   chown -r gson .
   ./t_rmdirrace lfs_race
 
 and it failed the first time, leaving a t_rmdirrace.core that I can
 examine using gdb, with symbols even.  What should I look for?
 -- 
 Andreas Gustafsson, gson%gson.org@localhost
 


Home | Main Index | Thread Index | Old Index