Bug 3420 - testSingleThreadedAckDaemon(frysk.util.TestFStack)junit.framework.AssertionFailedError: pending signal Sig_USR1
Summary: testSingleThreadedAckDaemon(frysk.util.TestFStack)junit.framework.AssertionFa...
Status: RESOLVED FIXED
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Nurdin Premji
URL:
Keywords:
Depends on:
Blocks: 2244
  Show dependency treegraph
 
Reported: 2006-10-24 16:12 UTC by Andrew Cagney
Modified: 2006-11-27 21:35 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Cagney 2006-10-24 16:12:49 UTC
testSingleThreadedAckDaemon(frysk.util.TestFStack)junit.framework.AssertionFailedError:
pending signal Sig_USR1
   at frysk.proc.TestLib.tearDown(TestRunner)
   at frysk.junit.Runner.runCases(TestRunner)
   at frysk.junit.Runner.runArchCases(TestRunner)
   at frysk.junit.Runner.runArchCases(TestRunner)
   at TestRunner.main(TestRunner)
Comment 1 Yao Qi 2006-10-26 17:23:10 UTC
Do you run this case on FC6 or FC5?

Here is what I get on FC5 x86,

[qiyao@GreenOnly frysk-core]$ ./TestRunner frysk.util.TestFStack
Running testSingleThreadedDetached(frysk.util.TestFStack) ...PASS
Running testSingleThreadedAckDaemon(frysk.util.TestFStack) ...PASS
Running testMultiThreadedDetached(frysk.util.TestFStack) ...PASS
Running testMultiThreadedAckDaemon(frysk.util.TestFStack) ...PASS
Running testStressMultiThreadedDetach(frysk.util.TestFStack) ...PASS

Time: 3.154

OK (5 tests)

[qiyao@GreenOnly frysk-core]$ uname -a
Linux GreenOnly 2.6.17-1.2187_FC5 #1 Mon Sep 11 01:17:06 EDT 2006 i686 i686 i386
GNU/Linux
Comment 2 Nurdin Premji 2006-10-26 18:22:41 UTC
Yup TestRunner on the specific class seems to work for the most part, but make
check and TestRunner without the class as a parameter will show failures.
Means there is probably an issue with the cleanup.

Also a TestRunner -r 1000 frysk.util.TestFstack should eventually show you this
error.
Comment 3 Nurdin Premji 2006-11-27 21:35:15 UTC
Works on fc6 and fc5.
Problem was in test that ran before it:

26-Oct-2006
 frysk-core/frysk/rt/CL
        * tests/TestStackBacktrace.java (testThreadedBacktrace): Changed to run
the eventLoop,
        not create a new one. Fixes bug causing tests after this to fail.
        (handleTask): Changed to stop eventLoop on completion.