testRefreshZombie(frysk.proc.TestRefresh)junit.framework.AssertionFailedError: Zombie child task count expected:<0> but was:<1> at frysk.proc.TestRefresh.testRefreshZombie(TestRunner) at frysk.junit.Runner.runCases(TestRunner) at frysk.junit.Runner.runArchCases(TestRunner) at frysk.junit.Runner.runTestCases(TestRunner) at TestRunner.main(TestRunner)
This is a utrace bug, block on FC 6, not FC 5.
nettle$ uname -a Linux nettle 2.6.18-1.2239.fc5 #1 Fri Nov 10 13:04:06 EST 2006 i686 i686 i386 GNU/Linux There were 2 failures: 1) testProcRefresh(frysk.proc.TestRefresh)junit.framework.AssertionFailedError: proc's task count after kills expected:<2> but was:<3> at frysk.proc.TestRefresh.testProcRefresh(TestRunner) at frysk.junit.Runner.runCases(TestRunner) at frysk.junit.Runner.runArchCases(TestRunner) at frysk.junit.Runner.runTestCases(TestRunner) at TestRunner.main(TestRunner) 2) testRefreshZombie(frysk.proc.TestRefresh)junit.framework.AssertionFailedError: Zombie child task count expected:<0> but was:<1> at frysk.proc.TestRefresh.testRefreshZombie(TestRunner) at frysk.junit.Runner.runCases(TestRunner) at frysk.junit.Runner.runArchCases(TestRunner) at frysk.junit.Runner.runTestCases(TestRunner) at TestRunner.main(TestRunner)
test passes on toadstool: Linux toadstool.toronto.redhat.com 2.6.17-1.2174_FC5 #1 Tue Aug 8 15:30:55 EDT 2006 i686 i686 i386 GNU/Linux
Test fails in isolation, ya! Running testProcRefresh(frysk.proc.TestRefresh) ...FAIL junit.framework.AssertionFailedError: proc's task count after kills expected:<2> but was:<3> Time: 0.046 There was 1 failure: 1) testProcRefresh(frysk.proc.TestRefresh)junit.framework.AssertionFailedError: proc's task count after kills expected:<2> but was:<3> at frysk.proc.TestRefresh.testProcRefresh(TestRunner) at frysk.junit.Runner.runCases(TestRunner) at frysk.junit.Runner.runArchCases(TestRunner) at frysk.junit.Runner.runTestCases(TestRunner) at TestRunner.main(TestRunner)
Previously a zombied process had no tasks, it now appears to have one: nettle$ cat /proc/32193/task/32193/status Name: funit-child State: Z (zombie) SleepAVG: 35% Tgid: 32193 Pid: 32193 PPid: 32192 TracerPid: 0 Uid: 500 500 500 500 Gid: 500 500 500 500 FDSize: 0 Groups: 500 501 Threads: 1 SigQ: 7/12157 SigPnd: 0000000000000000 ShdPnd: 0000000000000000 SigBlk: 0000000000000000 SigIgn: 0000000000000000 SigCgt: 00000001a0413ac3 CapInh: 0000000000000000 CapPrm: 0000000000000000 CapEff: 0000000000000000
Downstream bug: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=218404
frysk.proc.TestRefresh has been renamed to frysk.proc.live.TestRefresh All those tests pass now: ./TestRunner frysk.proc.live.TestRefresh Running testRepeatedHostRefresh(frysk.proc.live.TestRefresh) ...PASS Running testProcAdditionAndRemoval(frysk.proc.live.TestRefresh) ...PASS Running testDaemonAdditionAndRemoval(frysk.proc.live.TestRefresh) ...PASS Running testParentChild(frysk.proc.live.TestRefresh) ...PASS Running testRefreshDaemon(frysk.proc.live.TestRefresh) ...PASS Running testRefreshZombie(frysk.proc.live.TestRefresh) ...PASS Running testUnattachedSingleExec(frysk.proc.live.TestRefresh) ...PASS Time: 0.607 OK (7 tests) So we can probably close this one.