Bug 2772

Summary: frysk.proc.TestTaskObserverDetach may have race condition passes and failiures
Product: frysk Reporter: Mike Cvet <mcvet>
Component: generalAssignee: Andrew Cagney <cagney>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: P2    
Version: unspecified   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:
Bug Depends on:    
Bug Blocks: 1553    

Description Mike Cvet 2006-06-14 20:36:08 UTC
The following tests may fail or pass depending on the position of the sun:

testDetachClone(frysk.proc.TestTaskObserverDetach)java.lang.RuntimeException:
{frysk.proc.LinuxTask@8d0c0,pid=21790,tid=21790,state=running} in state
"running" did not handle handleStoppedEvent
   at frysk.proc.State.unhandled(TestRunner)
   at frysk.proc.TaskState.handleStoppedEvent(TestRunner)
   at frysk.proc.Task.processStoppedEvent(TestRunner)
   at frysk.proc.LinuxHost$PollWaitOnSigChld$2.stopped(TestRunner)
   at frysk.sys.Wait.waitAllNoHang(TestRunner)
   at frysk.proc.LinuxHost$PollWaitOnSigChld.execute(TestRunner)
   at frysk.event.EventLoop.runEventLoop(TestRunner)
   at frysk.event.EventLoop.runPolling(TestRunner)
   at frysk.proc.TestLib.assertRunUntilStop(TestRunner)
   at frysk.proc.TestLib.assertRunUntilStop(TestRunner)
   at frysk.proc.TestTaskObserverDetach$Detach.assertDetach(TestRunner)
   at frysk.proc.TestTaskObserverDetach.testDetachClone(TestRunner)
   at frysk.junit.Runner.<init>(TestRunner)
   at TestRunner.main(TestRunner)

testDetachClone(frysk.proc.TestTaskObserverDetach)java.lang.RuntimeException:
{frysk.proc.LinuxTask@41e0c0,pid=25608,tid=25608,state=running} in state
"running" did not handle handleStoppedEvent
   at frysk.proc.State.unhandled(TestRunner)
   at frysk.proc.TaskState.handleStoppedEvent(TestRunner)
   at frysk.proc.Task.processStoppedEvent(TestRunner)
   at frysk.proc.LinuxHost$PollWaitOnSigChld$2.stopped(TestRunner)
   at frysk.sys.Wait.waitAllNoHang(TestRunner)
   at frysk.proc.LinuxHost$PollWaitOnSigChld.execute(TestRunner)
   at frysk.event.EventLoop.runEventLoop(TestRunner)
   at frysk.event.EventLoop.runPolling(TestRunner)
   at frysk.proc.TestLib.assertRunUntilStop(TestRunner)
   at frysk.proc.TestLib.assertRunUntilStop(TestRunner)
   at frysk.proc.TestTaskObserverDetach$Detach.assertDetach(TestRunner)
   at frysk.proc.TestTaskObserverDetach.testDetachClone(TestRunner)
   at frysk.junit.Runner.<init>(TestRunner)
   at TestRunner.main(TestRunner)

testTerm(frysk.proc.TestTaskTerminateObserver)junit.framework.AssertionFailedError:
Number terminating processes
   at frysk.proc.TestTaskTerminateObserver.testTerm(TestRunner)
   at frysk.junit.Runner.<init>(TestRunner)
   at TestRunner.main(TestRunner)
Comment 1 Mike Cvet 2006-08-29 14:36:54 UTC
No longer happens on the arch reported - i386. Closing!